purecloud-platform-client-v2 253.0.0 → 255.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 +1886 -311
- package/dist/web-amd/purecloud-platform-client-v2.js +1887 -311
- package/dist/web-amd/purecloud-platform-client-v2.min.js +1 -1
- package/dist/web-cjs/bundle.js +635 -310
- package/dist/web-cjs/purecloud-platform-client-v2.js +642 -3129
- package/dist/web-cjs/purecloud-platform-client-v2.min.js +1 -1
- package/index.d.ts +1030 -65
- package/package.json +1 -2
- package/src/purecloud-platform-client-v2/ApiClient.js +5 -5
- package/src/purecloud-platform-client-v2/PureCloudRegionHosts.js +1 -0
- 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 -62
- package/src/purecloud-platform-client-v2/api/ArchitectApi.js +64 -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 +435 -1
- package/src/purecloud-platform-client-v2/api/CarrierServicesApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/CaseManagementApi.js +207 -125
- 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 +2 -6
- 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 +2 -2
- package/src/purecloud-platform-client-v2/api/FaxApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/FlowsApi.js +1 -5
- 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 -5
- package/src/purecloud-platform-client-v2/api/KnowledgeApi.js +1 -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 +1 -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 +1 -1
- 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 -9
- package/src/purecloud-platform-client-v2/api/RecordingApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/ResponseManagementApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/RoutingApi.js +155 -3
- 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 +2 -2
- 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 +268 -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 -5
- 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 +719 -57
- package/src/purecloud-platform-client-v2/index.js +1 -1
package/dist/web-cjs/bundle.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
'use strict';function asyncGeneratorStep(n,t,e,r,o,a,c){try{var i=n[a](c),u=i.value;}catch(n){return void e(n);}i.done?t(u):Promise.resolve(u).then(r,o);}function _asyncToGenerator(n){return function(){var t=this,e=arguments;return new Promise(function(r,o){var a=n.apply(t,e);function _next(n){asyncGeneratorStep(a,r,o,_next,_throw,"next",n);}function _throw(n){asyncGeneratorStep(a,r,o,_next,_throw,"throw",n);}_next(void 0);});};}function _regeneratorValues(e){if(null!=e){var t=e["function"==typeof Symbol&&Symbol.iterator||"@@iterator"],r=0;if(t)return t.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length))return{next:function next(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e};}};}throw new TypeError(_typeof(e)+" is not iterable");}function _regenerator(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/babel/babel/blob/main/packages/babel-helpers/LICENSE */var e,t,r="function"==typeof Symbol?Symbol:{},n=r.iterator||"@@iterator",o=r.toStringTag||"@@toStringTag";function i(r,n,o,i){var c=n&&n.prototype instanceof Generator?n:Generator,u=Object.create(c.prototype);return _regeneratorDefine2(u,"_invoke",function(r,n,o){var i,c,u,f=0,p=o||[],y=!1,G={p:0,n:0,v:e,a:d,f:d.bind(e,4),d:function d(t,r){return i=t,c=0,u=e,G.n=r,a;}};function d(r,n){for(c=r,u=n,t=0;!y&&f&&!o&&t<p.length;t++){var o,i=p[t],d=G.p,l=i[2];r>3?(o=l===n)&&(u=i[(c=i[4])?5:(c=3,3)],i[4]=i[5]=e):i[0]<=d&&((o=r<2&&d<i[1])?(c=0,G.v=n,G.n=i[1]):d<l&&(o=r<3||i[0]>n||n>l)&&(i[4]=r,i[5]=n,G.n=l,c=0));}if(o||r>1)return a;throw y=!0,n;}return function(o,p,l){if(f>1)throw TypeError("Generator is already running");for(y&&1===p&&d(p,l),c=p,u=l;(t=c<2?e:u)||!y;){i||(c?c<3?(c>1&&(G.n=-1),d(c,u)):G.n=u:G.v=u);try{if(f=2,i){if(c||(o="next"),t=i[o]){if(!(t=t.call(i,u)))throw TypeError("iterator result is not an object");if(!t.done)return t;u=t.value,c<2&&(c=0);}else 1===c&&(t=i["return"])&&t.call(i),c<2&&(u=TypeError("The iterator does not provide a '"+o+"' method"),c=1);i=e;}else if((t=(y=G.n<0)?u:r.call(n,G))!==a)break;}catch(t){i=e,c=1,u=t;}finally{f=1;}}return{value:t,done:y};};}(r,o,i),!0),u;}var a={};function Generator(){}function GeneratorFunction(){}function GeneratorFunctionPrototype(){}t=Object.getPrototypeOf;var c=[][n]?t(t([][n]())):(_regeneratorDefine2(t={},n,function(){return this;}),t),u=GeneratorFunctionPrototype.prototype=Generator.prototype=Object.create(c);function f(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,GeneratorFunctionPrototype):(e.__proto__=GeneratorFunctionPrototype,_regeneratorDefine2(e,o,"GeneratorFunction")),e.prototype=Object.create(u),e;}return GeneratorFunction.prototype=GeneratorFunctionPrototype,_regeneratorDefine2(u,"constructor",GeneratorFunctionPrototype),_regeneratorDefine2(GeneratorFunctionPrototype,"constructor",GeneratorFunction),GeneratorFunction.displayName="GeneratorFunction",_regeneratorDefine2(GeneratorFunctionPrototype,o,"GeneratorFunction"),_regeneratorDefine2(u),_regeneratorDefine2(u,o,"Generator"),_regeneratorDefine2(u,n,function(){return this;}),_regeneratorDefine2(u,"toString",function(){return"[object Generator]";}),(_regenerator=function _regenerator(){return{w:i,m:f};})();}function _regeneratorDefine2(e,r,n,t){var i=Object.defineProperty;try{i({},"",{});}catch(e){i=0;}_regeneratorDefine2=function _regeneratorDefine(e,r,n,t){function o(r,n){_regeneratorDefine2(e,r,function(e){return this._invoke(r,n,e);});}r?i?i(e,r,{value:n,enumerable:!t,configurable:!t,writable:!t}):e[r]=n:(o("next",0),o("throw",1),o("return",2));},_regeneratorDefine2(e,r,n,t);}function 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 _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 _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 _classCallCheck(a,n){if(!(a instanceof n))throw new TypeError("Cannot call a class as a function");}function _defineProperties(e,r){for(var t=0;t<r.length;t++){var o=r[t];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,_toPropertyKey(o.key),o);}}function _createClass(e,r,t){return r&&_defineProperties(e.prototype,r),t&&_defineProperties(e,t),Object.defineProperty(e,"prototype",{writable:!1}),e;}function _toPropertyKey(t){var i=_toPrimitive(t,"string");return"symbol"==_typeof(i)?i:i+"";}function _toPrimitive(t,r){if("object"!=_typeof(t)||!t)return t;var e=t[Symbol.toPrimitive];if(void 0!==e){var i=e.call(t,r||"default");if("object"!=_typeof(i))return i;throw new TypeError("@@toPrimitive must return a primitive value.");}return("string"===r?String:Number)(t);}function _slicedToArray(r,e){return _arrayWithHoles(r)||_iterableToArrayLimit(r,e)||_unsupportedIterableToArray(r,e)||_nonIterableRest();}function _nonIterableRest(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");}function _unsupportedIterableToArray(r,a){if(r){if("string"==typeof r)return _arrayLikeToArray(r,a);var t={}.toString.call(r).slice(8,-1);return"Object"===t&&r.constructor&&(t=r.constructor.name),"Map"===t||"Set"===t?Array.from(r):"Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)?_arrayLikeToArray(r,a):void 0;}}function _arrayLikeToArray(r,a){(null==a||a>r.length)&&(a=r.length);for(var e=0,n=Array(a);e<a;e++)n[e]=r[e];return n;}function _iterableToArrayLimit(r,l){var t=null==r?null:"undefined"!=typeof Symbol&&r[Symbol.iterator]||r["@@iterator"];if(null!=t){var e,n,i,u,a=[],f=!0,o=!1;try{if(i=(t=t.call(r)).next,0===l){if(Object(t)!==t)return;f=!1;}else for(;!(f=(e=i.call(t)).done)&&(a.push(e.value),a.length!==l);f=!0);}catch(r){o=!0,n=r;}finally{try{if(!f&&null!=t["return"]&&(u=t["return"](),Object(u)!==u))return;}finally{if(o)throw n;}}return a;}}function _arrayWithHoles(r){if(Array.isArray(r))return r;}function _typeof(o){"@babel/helpers - typeof";return _typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(o){return typeof o;}:function(o){return o&&"function"==typeof Symbol&&o.constructor===Symbol&&o!==Symbol.prototype?"symbol":typeof o;},_typeof(o);}function _wrapAsyncGenerator(e){return function(){return new AsyncGenerator(e.apply(this,arguments));};}function AsyncGenerator(e){var 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
|
|
1
|
+
'use strict';function asyncGeneratorStep(n,t,e,r,o,a,c){try{var i=n[a](c),u=i.value;}catch(n){return void e(n);}i.done?t(u):Promise.resolve(u).then(r,o);}function _asyncToGenerator(n){return function(){var t=this,e=arguments;return new Promise(function(r,o){var a=n.apply(t,e);function _next(n){asyncGeneratorStep(a,r,o,_next,_throw,"next",n);}function _throw(n){asyncGeneratorStep(a,r,o,_next,_throw,"throw",n);}_next(void 0);});};}function _regeneratorValues(e){if(null!=e){var t=e["function"==typeof Symbol&&Symbol.iterator||"@@iterator"],r=0;if(t)return t.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length))return{next:function next(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e};}};}throw new TypeError(_typeof(e)+" is not iterable");}function _regenerator(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/babel/babel/blob/main/packages/babel-helpers/LICENSE */var e,t,r="function"==typeof Symbol?Symbol:{},n=r.iterator||"@@iterator",o=r.toStringTag||"@@toStringTag";function i(r,n,o,i){var c=n&&n.prototype instanceof Generator?n:Generator,u=Object.create(c.prototype);return _regeneratorDefine2(u,"_invoke",function(r,n,o){var i,c,u,f=0,p=o||[],y=!1,G={p:0,n:0,v:e,a:d,f:d.bind(e,4),d:function d(t,r){return i=t,c=0,u=e,G.n=r,a;}};function d(r,n){for(c=r,u=n,t=0;!y&&f&&!o&&t<p.length;t++){var o,i=p[t],d=G.p,l=i[2];r>3?(o=l===n)&&(u=i[(c=i[4])?5:(c=3,3)],i[4]=i[5]=e):i[0]<=d&&((o=r<2&&d<i[1])?(c=0,G.v=n,G.n=i[1]):d<l&&(o=r<3||i[0]>n||n>l)&&(i[4]=r,i[5]=n,G.n=l,c=0));}if(o||r>1)return a;throw y=!0,n;}return function(o,p,l){if(f>1)throw TypeError("Generator is already running");for(y&&1===p&&d(p,l),c=p,u=l;(t=c<2?e:u)||!y;){i||(c?c<3?(c>1&&(G.n=-1),d(c,u)):G.n=u:G.v=u);try{if(f=2,i){if(c||(o="next"),t=i[o]){if(!(t=t.call(i,u)))throw TypeError("iterator result is not an object");if(!t.done)return t;u=t.value,c<2&&(c=0);}else 1===c&&(t=i["return"])&&t.call(i),c<2&&(u=TypeError("The iterator does not provide a '"+o+"' method"),c=1);i=e;}else if((t=(y=G.n<0)?u:r.call(n,G))!==a)break;}catch(t){i=e,c=1,u=t;}finally{f=1;}}return{value:t,done:y};};}(r,o,i),!0),u;}var a={};function Generator(){}function GeneratorFunction(){}function GeneratorFunctionPrototype(){}t=Object.getPrototypeOf;var c=[][n]?t(t([][n]())):(_regeneratorDefine2(t={},n,function(){return this;}),t),u=GeneratorFunctionPrototype.prototype=Generator.prototype=Object.create(c);function f(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,GeneratorFunctionPrototype):(e.__proto__=GeneratorFunctionPrototype,_regeneratorDefine2(e,o,"GeneratorFunction")),e.prototype=Object.create(u),e;}return GeneratorFunction.prototype=GeneratorFunctionPrototype,_regeneratorDefine2(u,"constructor",GeneratorFunctionPrototype),_regeneratorDefine2(GeneratorFunctionPrototype,"constructor",GeneratorFunction),GeneratorFunction.displayName="GeneratorFunction",_regeneratorDefine2(GeneratorFunctionPrototype,o,"GeneratorFunction"),_regeneratorDefine2(u),_regeneratorDefine2(u,o,"Generator"),_regeneratorDefine2(u,n,function(){return this;}),_regeneratorDefine2(u,"toString",function(){return"[object Generator]";}),(_regenerator=function _regenerator(){return{w:i,m:f};})();}function _regeneratorDefine2(e,r,n,t){var i=Object.defineProperty;try{i({},"",{});}catch(e){i=0;}_regeneratorDefine2=function _regeneratorDefine(e,r,n,t){function o(r,n){_regeneratorDefine2(e,r,function(e){return this._invoke(r,n,e);});}r?i?i(e,r,{value:n,enumerable:!t,configurable:!t,writable:!t}):e[r]=n:(o("next",0),o("throw",1),o("return",2));},_regeneratorDefine2(e,r,n,t);}function 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 _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 _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 _classCallCheck(a,n){if(!(a instanceof n))throw new TypeError("Cannot call a class as a function");}function _defineProperties(e,r){for(var t=0;t<r.length;t++){var o=r[t];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,_toPropertyKey(o.key),o);}}function _createClass(e,r,t){return r&&_defineProperties(e.prototype,r),t&&_defineProperties(e,t),Object.defineProperty(e,"prototype",{writable:!1}),e;}function _toPropertyKey(t){var i=_toPrimitive(t,"string");return"symbol"==_typeof(i)?i:i+"";}function _toPrimitive(t,r){if("object"!=_typeof(t)||!t)return t;var e=t[Symbol.toPrimitive];if(void 0!==e){var i=e.call(t,r||"default");if("object"!=_typeof(i))return i;throw new TypeError("@@toPrimitive must return a primitive value.");}return("string"===r?String:Number)(t);}function _slicedToArray(r,e){return _arrayWithHoles(r)||_iterableToArrayLimit(r,e)||_unsupportedIterableToArray(r,e)||_nonIterableRest();}function _nonIterableRest(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");}function _unsupportedIterableToArray(r,a){if(r){if("string"==typeof r)return _arrayLikeToArray(r,a);var t={}.toString.call(r).slice(8,-1);return"Object"===t&&r.constructor&&(t=r.constructor.name),"Map"===t||"Set"===t?Array.from(r):"Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)?_arrayLikeToArray(r,a):void 0;}}function _arrayLikeToArray(r,a){(null==a||a>r.length)&&(a=r.length);for(var e=0,n=Array(a);e<a;e++)n[e]=r[e];return n;}function _iterableToArrayLimit(r,l){var t=null==r?null:"undefined"!=typeof Symbol&&r[Symbol.iterator]||r["@@iterator"];if(null!=t){var e,n,i,u,a=[],f=!0,o=!1;try{if(i=(t=t.call(r)).next,0===l){if(Object(t)!==t)return;f=!1;}else for(;!(f=(e=i.call(t)).done)&&(a.push(e.value),a.length!==l);f=!0);}catch(r){o=!0,n=r;}finally{try{if(!f&&null!=t["return"]&&(u=t["return"](),Object(u)!==u))return;}finally{if(o)throw n;}}return a;}}function _arrayWithHoles(r){if(Array.isArray(r))return r;}function _typeof(o){"@babel/helpers - typeof";return _typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(o){return typeof o;}:function(o){return o&&"function"==typeof Symbol&&o.constructor===Symbol&&o!==Symbol.prototype?"symbol":typeof o;},_typeof(o);}function _wrapAsyncGenerator(e){return function(){return new AsyncGenerator(e.apply(this,arguments));};}function AsyncGenerator(e){var 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 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',eusc_de_east_1:'edee1.eusc-pure.cloud'};var global$1=typeof global!=="undefined"?global:typeof self!=="undefined"?self:typeof window!=="undefined"?window:{};// shim for using process in browser
|
|
2
2
|
// based off https://github.com/defunctzombie/node-process/blob/master/browser.js
|
|
3
3
|
function defaultSetTimout(){throw new Error('setTimeout has not been defined');}function defaultClearTimeout(){throw new Error('clearTimeout has not been defined');}var cachedSetTimeout=defaultSetTimout;var cachedClearTimeout=defaultClearTimeout;if(typeof global$1.setTimeout==='function'){cachedSetTimeout=setTimeout;}if(typeof global$1.clearTimeout==='function'){cachedClearTimeout=clearTimeout;}function runTimeout(fun){if(cachedSetTimeout===setTimeout){//normal enviroments in sane situations
|
|
4
4
|
return setTimeout(fun,0);}// if setTimeout wasn't available but was latter defined
|
|
@@ -1082,7 +1082,7 @@ if(env)this.environment=env;else this.environment=this.host?this.host:'mypureclo
|
|
|
1082
1082
|
this.environment=this.environment.replace(/\/+$/,'');// Strip protocol and subdomain
|
|
1083
1083
|
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];}}}]);}();/**
|
|
1084
1084
|
* @module purecloud-platform-client-v2/ApiClient
|
|
1085
|
-
* @version
|
|
1085
|
+
* @version 255.0.0
|
|
1086
1086
|
*/var ApiClient=/*#__PURE__*/function(){/**
|
|
1087
1087
|
* Manages low level client-server communications, parameter marshalling, etc. There should not be any need for an
|
|
1088
1088
|
* application to use this class directly - the *Api and model classes provide the public API for the service. The
|
|
@@ -1237,7 +1237,7 @@ if(error.response){_this8.config.logger.log('error',error.response.status,'POST'
|
|
|
1237
1237
|
* @param {string} codeVerifier - code verifier used to generate the code challenge
|
|
1238
1238
|
* @param {string} authCode - Authorization code
|
|
1239
1239
|
* @param {string} redirectUri - Authorized redirect URI for your Code Authorization client
|
|
1240
|
-
*/},{key:"authorizePKCEGrant",value:function authorizePKCEGrant(clientId,codeVerifier,authCode,redirectUri){var _this9=this;this.clientId=clientId;var loginBasePath=this.config.getConfUrl('login',"https://login.".concat(this.config.environment));return new Promise(function(resolve,reject){var headers={'Content-Type':'application/x-www-form-urlencoded'};var data=
|
|
1240
|
+
*/},{key:"authorizePKCEGrant",value:function authorizePKCEGrant(clientId,codeVerifier,authCode,redirectUri){var _this9=this;this.clientId=clientId;var loginBasePath=this.config.getConfUrl('login',"https://login.".concat(this.config.environment));return new Promise(function(resolve,reject){var headers={'Content-Type':'application/x-www-form-urlencoded'};var data=new URLSearchParams({grant_type:'authorization_code',code:authCode,code_verifier:codeVerifier,client_id:clientId,redirect_uri:redirectUri}).toString();var requestOptions=new HttpRequestOptions("".concat(loginBasePath,"/oauth/token"),"POST",headers,null,data,_this9.timeout);var httpClient=_this9.getHttpClient();var bodyParam={grant_type:'authorization_code',code:authCode,code_verifier:codeVerifier,client_id:clientId,redirect_uri:redirectUri};// Handle response
|
|
1241
1241
|
httpClient.request(requestOptions).then(function(response){// Logging
|
|
1242
1242
|
_this9.config.logger.log('trace',response.status,'POST',"".concat(loginBasePath,"/oauth/token"),requestOptions.headers,response.headers,bodyParam,undefined);_this9.config.logger.log('debug',response.status,'POST',"".concat(loginBasePath,"/oauth/token"),requestOptions.headers,undefined,bodyParam,undefined);// Get access token from response
|
|
1243
1243
|
var access_token=response.data.access_token;var optsSettings={accessToken:access_token};if(response.data['expires_in']!==null&&response.data['expires_in']!==undefined){optsSettings.tokenExpiryTime=new Date().getTime()+response.data['expires_in']*1000;optsSettings.tokenExpiryTimeString=new Date(optsSettings.tokenExpiryTime).toUTCString();}_this9._saveSettings(optsSettings);// Return auth data
|
|
@@ -1317,7 +1317,7 @@ if(error.response){_this11.config.logger.log('error',error.response.status,'POST
|
|
|
1317
1317
|
* @description Utility function to create the request for auth requests
|
|
1318
1318
|
* @param {string} encodedData - Base64 encoded client and clientSecret pair
|
|
1319
1319
|
* @param {object} data - data to url form encode
|
|
1320
|
-
*/},{key:"_formAuthRequest",value:function _formAuthRequest(encodedData,data){var loginBasePath=this.config.getConfUrl('login',"https://login.".concat(this.config.environment));var headers={'Authorization':'Basic '+encodedData,'Content-Type':'application/x-www-form-urlencoded'};var requestOptions=new HttpRequestOptions("".concat(loginBasePath,"/oauth/token"),"POST",headers,null,
|
|
1320
|
+
*/},{key:"_formAuthRequest",value:function _formAuthRequest(encodedData,data){var loginBasePath=this.config.getConfUrl('login',"https://login.".concat(this.config.environment));var headers={'Authorization':'Basic '+encodedData,'Content-Type':'application/x-www-form-urlencoded'};var queryData=new URLSearchParams(data).toString();var requestOptions=new HttpRequestOptions("".concat(loginBasePath,"/oauth/token"),"POST",headers,null,queryData,this.timeout);var httpClient=this.getHttpClient();return httpClient.request(requestOptions);}/**
|
|
1321
1321
|
* @description Handles an expired access token. Only available in node apps.
|
|
1322
1322
|
* @param {string} statusCode - The status code of a request
|
|
1323
1323
|
*/},{key:"_handleExpiredAccessToken",value:function _handleExpiredAccessToken(){var _this12=this;return new Promise(function(resolve,reject){if(typeof window!=='undefined'){reject(new Error('This method is not supported in a browser.'));return;}if(!_this12.refreshInProgress){_this12.refreshInProgress=true;_this12.refreshCodeAuthorizationGrant(_this12.clientId,_this12.clientSecret,_this12.authData.refreshToken).then(function(){_this12.refreshInProgress=false;resolve();})["catch"](function(err){// Handle failure response
|
|
@@ -1451,7 +1451,7 @@ resolve(data);})["catch"](function(error){var data=error;if(error.response&&erro
|
|
|
1451
1451
|
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(){/**
|
|
1452
1452
|
* AIStudio service.
|
|
1453
1453
|
* @module purecloud-platform-client-v2/api/AIStudioApi
|
|
1454
|
-
* @version
|
|
1454
|
+
* @version 255.0.0
|
|
1455
1455
|
*//**
|
|
1456
1456
|
* Constructs a new AIStudioApi.
|
|
1457
1457
|
* @alias module:purecloud-platform-client-v2/api/AIStudioApi
|
|
@@ -1642,7 +1642,7 @@ if(summarySettingId===undefined||summarySettingId===null||summarySettingId==='')
|
|
|
1642
1642
|
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'],opts['customHeaders']);}}]);}();var AgentAssistantsApi=/*#__PURE__*/function(){/**
|
|
1643
1643
|
* AgentAssistants service.
|
|
1644
1644
|
* @module purecloud-platform-client-v2/api/AgentAssistantsApi
|
|
1645
|
-
* @version
|
|
1645
|
+
* @version 255.0.0
|
|
1646
1646
|
*//**
|
|
1647
1647
|
* Constructs a new AgentAssistantsApi.
|
|
1648
1648
|
* @alias module:purecloud-platform-client-v2/api/AgentAssistantsApi
|
|
@@ -1868,7 +1868,7 @@ if(agentChecklistId===undefined||agentChecklistId===null||agentChecklistId==='')
|
|
|
1868
1868
|
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'],opts['customHeaders']);}}]);}();var AgentCopilotApi=/*#__PURE__*/function(){/**
|
|
1869
1869
|
* AgentCopilot service.
|
|
1870
1870
|
* @module purecloud-platform-client-v2/api/AgentCopilotApi
|
|
1871
|
-
* @version
|
|
1871
|
+
* @version 255.0.0
|
|
1872
1872
|
*//**
|
|
1873
1873
|
* Constructs a new AgentCopilotApi.
|
|
1874
1874
|
* @alias module:purecloud-platform-client-v2/api/AgentCopilotApi
|
|
@@ -1900,7 +1900,7 @@ if(assistantId===undefined||assistantId===null||assistantId===''){throw'Missing
|
|
|
1900
1900
|
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'],opts['customHeaders']);}}]);}();var AgentUIApi=/*#__PURE__*/function(){/**
|
|
1901
1901
|
* AgentUI service.
|
|
1902
1902
|
* @module purecloud-platform-client-v2/api/AgentUIApi
|
|
1903
|
-
* @version
|
|
1903
|
+
* @version 255.0.0
|
|
1904
1904
|
*//**
|
|
1905
1905
|
* Constructs a new AgentUIApi.
|
|
1906
1906
|
* @alias module:purecloud-platform-client-v2/api/AgentUIApi
|
|
@@ -1942,7 +1942,7 @@ if(agentId===undefined||agentId===null||agentId===''){throw'Missing the required
|
|
|
1942
1942
|
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'],opts['customHeaders']);}}]);}();var AlertingApi=/*#__PURE__*/function(){/**
|
|
1943
1943
|
* Alerting service.
|
|
1944
1944
|
* @module purecloud-platform-client-v2/api/AlertingApi
|
|
1945
|
-
* @version
|
|
1945
|
+
* @version 255.0.0
|
|
1946
1946
|
*//**
|
|
1947
1947
|
* Constructs a new AlertingApi.
|
|
1948
1948
|
* @alias module:purecloud-platform-client-v2/api/AlertingApi
|
|
@@ -2056,7 +2056,7 @@ if(ruleId===undefined||ruleId===null||ruleId===''){throw'Missing the required pa
|
|
|
2056
2056
|
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'],opts['customHeaders']);}}]);}();var AnalyticsApi=/*#__PURE__*/function(){/**
|
|
2057
2057
|
* Analytics service.
|
|
2058
2058
|
* @module purecloud-platform-client-v2/api/AnalyticsApi
|
|
2059
|
-
* @version
|
|
2059
|
+
* @version 255.0.0
|
|
2060
2060
|
*//**
|
|
2061
2061
|
* Constructs a new AnalyticsApi.
|
|
2062
2062
|
* @alias module:purecloud-platform-client-v2/api/AnalyticsApi
|
|
@@ -2069,7 +2069,6 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
2069
2069
|
* @param {String} jobId jobId
|
|
2070
2070
|
* @param {Object} opts Optional parameters
|
|
2071
2071
|
* @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
|
|
2072
|
-
* deleteAnalyticsActionsAggregatesJob is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
2073
2072
|
*/return _createClass(AnalyticsApi,[{key:"deleteAnalyticsActionsAggregatesJob",value:function deleteAnalyticsActionsAggregatesJob(jobId,opts){opts=opts||{};// verify the required parameter 'jobId' is set
|
|
2074
2073
|
if(jobId===undefined||jobId===null||jobId===''){throw'Missing the required parameter "jobId" when calling deleteAnalyticsActionsAggregatesJob';}return this.apiClient.callApi('/api/v2/analytics/actions/aggregates/jobs/{jobId}','DELETE',{'jobId':jobId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json'],opts['customHeaders']);}/**
|
|
2075
2074
|
* Delete/cancel an async request for agent copilot aggregates
|
|
@@ -2093,7 +2092,6 @@ if(jobId===undefined||jobId===null||jobId===''){throw'Missing the required param
|
|
|
2093
2092
|
* @param {String} jobId jobId
|
|
2094
2093
|
* @param {Object} opts Optional parameters
|
|
2095
2094
|
* @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
|
|
2096
|
-
* deleteAnalyticsBotsAggregatesJob is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
2097
2095
|
*/},{key:"deleteAnalyticsBotsAggregatesJob",value:function deleteAnalyticsBotsAggregatesJob(jobId,opts){opts=opts||{};// verify the required parameter 'jobId' is set
|
|
2098
2096
|
if(jobId===undefined||jobId===null||jobId===''){throw'Missing the required parameter "jobId" when calling deleteAnalyticsBotsAggregatesJob';}return this.apiClient.callApi('/api/v2/analytics/bots/aggregates/jobs/{jobId}','DELETE',{'jobId':jobId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json'],opts['customHeaders']);}/**
|
|
2099
2097
|
* Delete/cancel an async request for case management aggregates
|
|
@@ -2101,7 +2099,6 @@ if(jobId===undefined||jobId===null||jobId===''){throw'Missing the required param
|
|
|
2101
2099
|
* @param {String} jobId jobId
|
|
2102
2100
|
* @param {Object} opts Optional parameters
|
|
2103
2101
|
* @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
|
|
2104
|
-
* deleteAnalyticsCasemanagementAggregatesJob is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
2105
2102
|
*/},{key:"deleteAnalyticsCasemanagementAggregatesJob",value:function deleteAnalyticsCasemanagementAggregatesJob(jobId,opts){opts=opts||{};// verify the required parameter 'jobId' is set
|
|
2106
2103
|
if(jobId===undefined||jobId===null||jobId===''){throw'Missing the required parameter "jobId" when calling deleteAnalyticsCasemanagementAggregatesJob';}return this.apiClient.callApi('/api/v2/analytics/casemanagement/aggregates/jobs/{jobId}','DELETE',{'jobId':jobId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json'],opts['customHeaders']);}/**
|
|
2107
2104
|
* Delete/cancel an async request for conversation aggregates
|
|
@@ -2109,7 +2106,6 @@ if(jobId===undefined||jobId===null||jobId===''){throw'Missing the required param
|
|
|
2109
2106
|
* @param {String} jobId jobId
|
|
2110
2107
|
* @param {Object} opts Optional parameters
|
|
2111
2108
|
* @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
|
|
2112
|
-
* deleteAnalyticsConversationsAggregatesJob is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
2113
2109
|
*/},{key:"deleteAnalyticsConversationsAggregatesJob",value:function deleteAnalyticsConversationsAggregatesJob(jobId,opts){opts=opts||{};// verify the required parameter 'jobId' is set
|
|
2114
2110
|
if(jobId===undefined||jobId===null||jobId===''){throw'Missing the required parameter "jobId" when calling deleteAnalyticsConversationsAggregatesJob';}return this.apiClient.callApi('/api/v2/analytics/conversations/aggregates/jobs/{jobId}','DELETE',{'jobId':jobId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json'],opts['customHeaders']);}/**
|
|
2115
2111
|
* Delete/cancel an async details job
|
|
@@ -2132,7 +2128,6 @@ if(jobId===undefined||jobId===null||jobId===''){throw'Missing the required param
|
|
|
2132
2128
|
* @param {String} jobId jobId
|
|
2133
2129
|
* @param {Object} opts Optional parameters
|
|
2134
2130
|
* @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
|
|
2135
|
-
* deleteAnalyticsEvaluationsAggregatesJob is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
2136
2131
|
*/},{key:"deleteAnalyticsEvaluationsAggregatesJob",value:function deleteAnalyticsEvaluationsAggregatesJob(jobId,opts){opts=opts||{};// verify the required parameter 'jobId' is set
|
|
2137
2132
|
if(jobId===undefined||jobId===null||jobId===''){throw'Missing the required parameter "jobId" when calling deleteAnalyticsEvaluationsAggregatesJob';}return this.apiClient.callApi('/api/v2/analytics/evaluations/aggregates/jobs/{jobId}','DELETE',{'jobId':jobId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json'],opts['customHeaders']);}/**
|
|
2138
2133
|
* Delete/cancel an async request for flow execution aggregates
|
|
@@ -2140,7 +2135,6 @@ if(jobId===undefined||jobId===null||jobId===''){throw'Missing the required param
|
|
|
2140
2135
|
* @param {String} jobId jobId
|
|
2141
2136
|
* @param {Object} opts Optional parameters
|
|
2142
2137
|
* @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
|
|
2143
|
-
* deleteAnalyticsFlowexecutionsAggregatesJob is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
2144
2138
|
*/},{key:"deleteAnalyticsFlowexecutionsAggregatesJob",value:function deleteAnalyticsFlowexecutionsAggregatesJob(jobId,opts){opts=opts||{};// verify the required parameter 'jobId' is set
|
|
2145
2139
|
if(jobId===undefined||jobId===null||jobId===''){throw'Missing the required parameter "jobId" when calling deleteAnalyticsFlowexecutionsAggregatesJob';}return this.apiClient.callApi('/api/v2/analytics/flowexecutions/aggregates/jobs/{jobId}','DELETE',{'jobId':jobId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json'],opts['customHeaders']);}/**
|
|
2146
2140
|
* Delete/cancel an async request for flow aggregates
|
|
@@ -2148,7 +2142,6 @@ if(jobId===undefined||jobId===null||jobId===''){throw'Missing the required param
|
|
|
2148
2142
|
* @param {String} jobId jobId
|
|
2149
2143
|
* @param {Object} opts Optional parameters
|
|
2150
2144
|
* @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
|
|
2151
|
-
* deleteAnalyticsFlowsAggregatesJob is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
2152
2145
|
*/},{key:"deleteAnalyticsFlowsAggregatesJob",value:function deleteAnalyticsFlowsAggregatesJob(jobId,opts){opts=opts||{};// verify the required parameter 'jobId' is set
|
|
2153
2146
|
if(jobId===undefined||jobId===null||jobId===''){throw'Missing the required parameter "jobId" when calling deleteAnalyticsFlowsAggregatesJob';}return this.apiClient.callApi('/api/v2/analytics/flows/aggregates/jobs/{jobId}','DELETE',{'jobId':jobId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json'],opts['customHeaders']);}/**
|
|
2154
2147
|
* Delete/cancel an async request for journey aggregates
|
|
@@ -2156,7 +2149,6 @@ if(jobId===undefined||jobId===null||jobId===''){throw'Missing the required param
|
|
|
2156
2149
|
* @param {String} jobId jobId
|
|
2157
2150
|
* @param {Object} opts Optional parameters
|
|
2158
2151
|
* @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
|
|
2159
|
-
* deleteAnalyticsJourneysAggregatesJob is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
2160
2152
|
*/},{key:"deleteAnalyticsJourneysAggregatesJob",value:function deleteAnalyticsJourneysAggregatesJob(jobId,opts){opts=opts||{};// verify the required parameter 'jobId' is set
|
|
2161
2153
|
if(jobId===undefined||jobId===null||jobId===''){throw'Missing the required parameter "jobId" when calling deleteAnalyticsJourneysAggregatesJob';}return this.apiClient.callApi('/api/v2/analytics/journeys/aggregates/jobs/{jobId}','DELETE',{'jobId':jobId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json'],opts['customHeaders']);}/**
|
|
2162
2154
|
* Delete/cancel an async request for knowledge aggregates
|
|
@@ -2164,7 +2156,6 @@ if(jobId===undefined||jobId===null||jobId===''){throw'Missing the required param
|
|
|
2164
2156
|
* @param {String} jobId jobId
|
|
2165
2157
|
* @param {Object} opts Optional parameters
|
|
2166
2158
|
* @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
|
|
2167
|
-
* deleteAnalyticsKnowledgeAggregatesJob is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
2168
2159
|
*/},{key:"deleteAnalyticsKnowledgeAggregatesJob",value:function deleteAnalyticsKnowledgeAggregatesJob(jobId,opts){opts=opts||{};// verify the required parameter 'jobId' is set
|
|
2169
2160
|
if(jobId===undefined||jobId===null||jobId===''){throw'Missing the required parameter "jobId" when calling deleteAnalyticsKnowledgeAggregatesJob';}return this.apiClient.callApi('/api/v2/analytics/knowledge/aggregates/jobs/{jobId}','DELETE',{'jobId':jobId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json'],opts['customHeaders']);}/**
|
|
2170
2161
|
* Delete/cancel an async request for resolution aggregates
|
|
@@ -2172,7 +2163,6 @@ if(jobId===undefined||jobId===null||jobId===''){throw'Missing the required param
|
|
|
2172
2163
|
* @param {String} jobId jobId
|
|
2173
2164
|
* @param {Object} opts Optional parameters
|
|
2174
2165
|
* @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
|
|
2175
|
-
* deleteAnalyticsResolutionsAggregatesJob is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
2176
2166
|
*/},{key:"deleteAnalyticsResolutionsAggregatesJob",value:function deleteAnalyticsResolutionsAggregatesJob(jobId,opts){opts=opts||{};// verify the required parameter 'jobId' is set
|
|
2177
2167
|
if(jobId===undefined||jobId===null||jobId===''){throw'Missing the required parameter "jobId" when calling deleteAnalyticsResolutionsAggregatesJob';}return this.apiClient.callApi('/api/v2/analytics/resolutions/aggregates/jobs/{jobId}','DELETE',{'jobId':jobId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json'],opts['customHeaders']);}/**
|
|
2178
2168
|
* Delete/cancel an async request for summary aggregates
|
|
@@ -2180,7 +2170,6 @@ if(jobId===undefined||jobId===null||jobId===''){throw'Missing the required param
|
|
|
2180
2170
|
* @param {String} jobId jobId
|
|
2181
2171
|
* @param {Object} opts Optional parameters
|
|
2182
2172
|
* @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
|
|
2183
|
-
* deleteAnalyticsSummariesAggregatesJob is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
2184
2173
|
*/},{key:"deleteAnalyticsSummariesAggregatesJob",value:function deleteAnalyticsSummariesAggregatesJob(jobId,opts){opts=opts||{};// verify the required parameter 'jobId' is set
|
|
2185
2174
|
if(jobId===undefined||jobId===null||jobId===''){throw'Missing the required parameter "jobId" when calling deleteAnalyticsSummariesAggregatesJob';}return this.apiClient.callApi('/api/v2/analytics/summaries/aggregates/jobs/{jobId}','DELETE',{'jobId':jobId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json'],opts['customHeaders']);}/**
|
|
2186
2175
|
* Delete/cancel an async request for survey aggregates
|
|
@@ -2188,7 +2177,6 @@ if(jobId===undefined||jobId===null||jobId===''){throw'Missing the required param
|
|
|
2188
2177
|
* @param {String} jobId jobId
|
|
2189
2178
|
* @param {Object} opts Optional parameters
|
|
2190
2179
|
* @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
|
|
2191
|
-
* deleteAnalyticsSurveysAggregatesJob is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
2192
2180
|
*/},{key:"deleteAnalyticsSurveysAggregatesJob",value:function deleteAnalyticsSurveysAggregatesJob(jobId,opts){opts=opts||{};// verify the required parameter 'jobId' is set
|
|
2193
2181
|
if(jobId===undefined||jobId===null||jobId===''){throw'Missing the required parameter "jobId" when calling deleteAnalyticsSurveysAggregatesJob';}return this.apiClient.callApi('/api/v2/analytics/surveys/aggregates/jobs/{jobId}','DELETE',{'jobId':jobId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json'],opts['customHeaders']);}/**
|
|
2194
2182
|
* Delete/cancel an async request for task management aggregates
|
|
@@ -2196,7 +2184,6 @@ if(jobId===undefined||jobId===null||jobId===''){throw'Missing the required param
|
|
|
2196
2184
|
* @param {String} jobId jobId
|
|
2197
2185
|
* @param {Object} opts Optional parameters
|
|
2198
2186
|
* @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
|
|
2199
|
-
* deleteAnalyticsTaskmanagementAggregatesJob is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
2200
2187
|
*/},{key:"deleteAnalyticsTaskmanagementAggregatesJob",value:function deleteAnalyticsTaskmanagementAggregatesJob(jobId,opts){opts=opts||{};// verify the required parameter 'jobId' is set
|
|
2201
2188
|
if(jobId===undefined||jobId===null||jobId===''){throw'Missing the required parameter "jobId" when calling deleteAnalyticsTaskmanagementAggregatesJob';}return this.apiClient.callApi('/api/v2/analytics/taskmanagement/aggregates/jobs/{jobId}','DELETE',{'jobId':jobId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json'],opts['customHeaders']);}/**
|
|
2202
2189
|
* Delete/cancel an async request for transcript aggregates
|
|
@@ -2204,7 +2191,6 @@ if(jobId===undefined||jobId===null||jobId===''){throw'Missing the required param
|
|
|
2204
2191
|
* @param {String} jobId jobId
|
|
2205
2192
|
* @param {Object} opts Optional parameters
|
|
2206
2193
|
* @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
|
|
2207
|
-
* deleteAnalyticsTranscriptsAggregatesJob is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
2208
2194
|
*/},{key:"deleteAnalyticsTranscriptsAggregatesJob",value:function deleteAnalyticsTranscriptsAggregatesJob(jobId,opts){opts=opts||{};// verify the required parameter 'jobId' is set
|
|
2209
2195
|
if(jobId===undefined||jobId===null||jobId===''){throw'Missing the required parameter "jobId" when calling deleteAnalyticsTranscriptsAggregatesJob';}return this.apiClient.callApi('/api/v2/analytics/transcripts/aggregates/jobs/{jobId}','DELETE',{'jobId':jobId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json'],opts['customHeaders']);}/**
|
|
2210
2196
|
* Delete/cancel an async request for user aggregates
|
|
@@ -2212,7 +2198,6 @@ if(jobId===undefined||jobId===null||jobId===''){throw'Missing the required param
|
|
|
2212
2198
|
* @param {String} jobId jobId
|
|
2213
2199
|
* @param {Object} opts Optional parameters
|
|
2214
2200
|
* @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
|
|
2215
|
-
* deleteAnalyticsUsersAggregatesJob is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
2216
2201
|
*/},{key:"deleteAnalyticsUsersAggregatesJob",value:function deleteAnalyticsUsersAggregatesJob(jobId,opts){opts=opts||{};// verify the required parameter 'jobId' is set
|
|
2217
2202
|
if(jobId===undefined||jobId===null||jobId===''){throw'Missing the required parameter "jobId" when calling deleteAnalyticsUsersAggregatesJob';}return this.apiClient.callApi('/api/v2/analytics/users/aggregates/jobs/{jobId}','DELETE',{'jobId':jobId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json'],opts['customHeaders']);}/**
|
|
2218
2203
|
* Delete/cancel an async request
|
|
@@ -2227,7 +2212,6 @@ if(jobId===undefined||jobId===null||jobId===''){throw'Missing the required param
|
|
|
2227
2212
|
* @param {String} jobId jobId
|
|
2228
2213
|
* @param {Object} opts Optional parameters
|
|
2229
2214
|
* @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
|
|
2230
|
-
* getAnalyticsActionsAggregatesJob is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
2231
2215
|
*/},{key:"getAnalyticsActionsAggregatesJob",value:function getAnalyticsActionsAggregatesJob(jobId,opts){opts=opts||{};// verify the required parameter 'jobId' is set
|
|
2232
2216
|
if(jobId===undefined||jobId===null||jobId===''){throw'Missing the required parameter "jobId" when calling getAnalyticsActionsAggregatesJob';}return this.apiClient.callApi('/api/v2/analytics/actions/aggregates/jobs/{jobId}','GET',{'jobId':jobId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json'],opts['customHeaders']);}/**
|
|
2233
2217
|
* Fetch a page of results for an async aggregates query
|
|
@@ -2236,7 +2220,6 @@ if(jobId===undefined||jobId===null||jobId===''){throw'Missing the required param
|
|
|
2236
2220
|
* @param {Object} opts Optional parameters
|
|
2237
2221
|
* @param {String} opts.cursor Cursor token to retrieve next page
|
|
2238
2222
|
* @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
|
|
2239
|
-
* getAnalyticsActionsAggregatesJobResults is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
2240
2223
|
*/},{key:"getAnalyticsActionsAggregatesJobResults",value:function getAnalyticsActionsAggregatesJobResults(jobId,opts){opts=opts||{};// verify the required parameter 'jobId' is set
|
|
2241
2224
|
if(jobId===undefined||jobId===null||jobId===''){throw'Missing the required parameter "jobId" when calling getAnalyticsActionsAggregatesJobResults';}return this.apiClient.callApi('/api/v2/analytics/actions/aggregates/jobs/{jobId}/results','GET',{'jobId':jobId},{'cursor':opts['cursor']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json'],opts['customHeaders']);}/**
|
|
2242
2225
|
* Get an agent and their active sessions by user ID
|
|
@@ -2326,7 +2309,6 @@ if(botFlowId===undefined||botFlowId===null||botFlowId===''){throw'Missing the re
|
|
|
2326
2309
|
* @param {String} jobId jobId
|
|
2327
2310
|
* @param {Object} opts Optional parameters
|
|
2328
2311
|
* @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
|
|
2329
|
-
* getAnalyticsBotsAggregatesJob is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
2330
2312
|
*/},{key:"getAnalyticsBotsAggregatesJob",value:function getAnalyticsBotsAggregatesJob(jobId,opts){opts=opts||{};// verify the required parameter 'jobId' is set
|
|
2331
2313
|
if(jobId===undefined||jobId===null||jobId===''){throw'Missing the required parameter "jobId" when calling getAnalyticsBotsAggregatesJob';}return this.apiClient.callApi('/api/v2/analytics/bots/aggregates/jobs/{jobId}','GET',{'jobId':jobId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json'],opts['customHeaders']);}/**
|
|
2332
2314
|
* Fetch a page of results for an async aggregates query
|
|
@@ -2335,7 +2317,6 @@ if(jobId===undefined||jobId===null||jobId===''){throw'Missing the required param
|
|
|
2335
2317
|
* @param {Object} opts Optional parameters
|
|
2336
2318
|
* @param {String} opts.cursor Cursor token to retrieve next page
|
|
2337
2319
|
* @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
|
|
2338
|
-
* getAnalyticsBotsAggregatesJobResults is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
2339
2320
|
*/},{key:"getAnalyticsBotsAggregatesJobResults",value:function getAnalyticsBotsAggregatesJobResults(jobId,opts){opts=opts||{};// verify the required parameter 'jobId' is set
|
|
2340
2321
|
if(jobId===undefined||jobId===null||jobId===''){throw'Missing the required parameter "jobId" when calling getAnalyticsBotsAggregatesJobResults';}return this.apiClient.callApi('/api/v2/analytics/bots/aggregates/jobs/{jobId}/results','GET',{'jobId':jobId},{'cursor':opts['cursor']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json'],opts['customHeaders']);}/**
|
|
2341
2322
|
* Get status for async query for case management aggregates
|
|
@@ -2343,7 +2324,6 @@ if(jobId===undefined||jobId===null||jobId===''){throw'Missing the required param
|
|
|
2343
2324
|
* @param {String} jobId jobId
|
|
2344
2325
|
* @param {Object} opts Optional parameters
|
|
2345
2326
|
* @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
|
|
2346
|
-
* getAnalyticsCasemanagementAggregatesJob is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
2347
2327
|
*/},{key:"getAnalyticsCasemanagementAggregatesJob",value:function getAnalyticsCasemanagementAggregatesJob(jobId,opts){opts=opts||{};// verify the required parameter 'jobId' is set
|
|
2348
2328
|
if(jobId===undefined||jobId===null||jobId===''){throw'Missing the required parameter "jobId" when calling getAnalyticsCasemanagementAggregatesJob';}return this.apiClient.callApi('/api/v2/analytics/casemanagement/aggregates/jobs/{jobId}','GET',{'jobId':jobId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json'],opts['customHeaders']);}/**
|
|
2349
2329
|
* Fetch a page of results for an async case management query
|
|
@@ -2352,7 +2332,6 @@ if(jobId===undefined||jobId===null||jobId===''){throw'Missing the required param
|
|
|
2352
2332
|
* @param {Object} opts Optional parameters
|
|
2353
2333
|
* @param {String} opts.cursor Cursor token to retrieve next page
|
|
2354
2334
|
* @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
|
|
2355
|
-
* getAnalyticsCasemanagementAggregatesJobResults is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
2356
2335
|
*/},{key:"getAnalyticsCasemanagementAggregatesJobResults",value:function getAnalyticsCasemanagementAggregatesJobResults(jobId,opts){opts=opts||{};// verify the required parameter 'jobId' is set
|
|
2357
2336
|
if(jobId===undefined||jobId===null||jobId===''){throw'Missing the required parameter "jobId" when calling getAnalyticsCasemanagementAggregatesJobResults';}return this.apiClient.callApi('/api/v2/analytics/casemanagement/aggregates/jobs/{jobId}/results','GET',{'jobId':jobId},{'cursor':opts['cursor']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json'],opts['customHeaders']);}/**
|
|
2358
2337
|
* Get a conversation by id
|
|
@@ -2367,7 +2346,6 @@ if(conversationId===undefined||conversationId===null||conversationId===''){throw
|
|
|
2367
2346
|
* @param {String} jobId jobId
|
|
2368
2347
|
* @param {Object} opts Optional parameters
|
|
2369
2348
|
* @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
|
|
2370
|
-
* getAnalyticsConversationsAggregatesJob is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
2371
2349
|
*/},{key:"getAnalyticsConversationsAggregatesJob",value:function getAnalyticsConversationsAggregatesJob(jobId,opts){opts=opts||{};// verify the required parameter 'jobId' is set
|
|
2372
2350
|
if(jobId===undefined||jobId===null||jobId===''){throw'Missing the required parameter "jobId" when calling getAnalyticsConversationsAggregatesJob';}return this.apiClient.callApi('/api/v2/analytics/conversations/aggregates/jobs/{jobId}','GET',{'jobId':jobId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json'],opts['customHeaders']);}/**
|
|
2373
2351
|
* Fetch a page of results for an async aggregates query
|
|
@@ -2376,7 +2354,6 @@ if(jobId===undefined||jobId===null||jobId===''){throw'Missing the required param
|
|
|
2376
2354
|
* @param {Object} opts Optional parameters
|
|
2377
2355
|
* @param {String} opts.cursor Cursor token to retrieve next page
|
|
2378
2356
|
* @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
|
|
2379
|
-
* getAnalyticsConversationsAggregatesJobResults is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
2380
2357
|
*/},{key:"getAnalyticsConversationsAggregatesJobResults",value:function getAnalyticsConversationsAggregatesJobResults(jobId,opts){opts=opts||{};// verify the required parameter 'jobId' is set
|
|
2381
2358
|
if(jobId===undefined||jobId===null||jobId===''){throw'Missing the required parameter "jobId" when calling getAnalyticsConversationsAggregatesJobResults';}return this.apiClient.callApi('/api/v2/analytics/conversations/aggregates/jobs/{jobId}/results','GET',{'jobId':jobId},{'cursor':opts['cursor']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json'],opts['customHeaders']);}/**
|
|
2382
2359
|
* Gets multiple conversations by id
|
|
@@ -2453,7 +2430,6 @@ if(downloadId===undefined||downloadId===null||downloadId===''){throw'Missing the
|
|
|
2453
2430
|
* @param {String} jobId jobId
|
|
2454
2431
|
* @param {Object} opts Optional parameters
|
|
2455
2432
|
* @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
|
|
2456
|
-
* getAnalyticsEvaluationsAggregatesJob is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
2457
2433
|
*/},{key:"getAnalyticsEvaluationsAggregatesJob",value:function getAnalyticsEvaluationsAggregatesJob(jobId,opts){opts=opts||{};// verify the required parameter 'jobId' is set
|
|
2458
2434
|
if(jobId===undefined||jobId===null||jobId===''){throw'Missing the required parameter "jobId" when calling getAnalyticsEvaluationsAggregatesJob';}return this.apiClient.callApi('/api/v2/analytics/evaluations/aggregates/jobs/{jobId}','GET',{'jobId':jobId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json'],opts['customHeaders']);}/**
|
|
2459
2435
|
* Fetch a page of results for an async aggregates query
|
|
@@ -2462,7 +2438,6 @@ if(jobId===undefined||jobId===null||jobId===''){throw'Missing the required param
|
|
|
2462
2438
|
* @param {Object} opts Optional parameters
|
|
2463
2439
|
* @param {String} opts.cursor Cursor token to retrieve next page
|
|
2464
2440
|
* @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
|
|
2465
|
-
* getAnalyticsEvaluationsAggregatesJobResults is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
2466
2441
|
*/},{key:"getAnalyticsEvaluationsAggregatesJobResults",value:function getAnalyticsEvaluationsAggregatesJobResults(jobId,opts){opts=opts||{};// verify the required parameter 'jobId' is set
|
|
2467
2442
|
if(jobId===undefined||jobId===null||jobId===''){throw'Missing the required parameter "jobId" when calling getAnalyticsEvaluationsAggregatesJobResults';}return this.apiClient.callApi('/api/v2/analytics/evaluations/aggregates/jobs/{jobId}/results','GET',{'jobId':jobId},{'cursor':opts['cursor']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json'],opts['customHeaders']);}/**
|
|
2468
2443
|
* Get status for async query for flow execution aggregates
|
|
@@ -2470,7 +2445,6 @@ if(jobId===undefined||jobId===null||jobId===''){throw'Missing the required param
|
|
|
2470
2445
|
* @param {String} jobId jobId
|
|
2471
2446
|
* @param {Object} opts Optional parameters
|
|
2472
2447
|
* @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
|
|
2473
|
-
* getAnalyticsFlowexecutionsAggregatesJob is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
2474
2448
|
*/},{key:"getAnalyticsFlowexecutionsAggregatesJob",value:function getAnalyticsFlowexecutionsAggregatesJob(jobId,opts){opts=opts||{};// verify the required parameter 'jobId' is set
|
|
2475
2449
|
if(jobId===undefined||jobId===null||jobId===''){throw'Missing the required parameter "jobId" when calling getAnalyticsFlowexecutionsAggregatesJob';}return this.apiClient.callApi('/api/v2/analytics/flowexecutions/aggregates/jobs/{jobId}','GET',{'jobId':jobId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json'],opts['customHeaders']);}/**
|
|
2476
2450
|
* Fetch a page of results for an async aggregates query
|
|
@@ -2479,7 +2453,6 @@ if(jobId===undefined||jobId===null||jobId===''){throw'Missing the required param
|
|
|
2479
2453
|
* @param {Object} opts Optional parameters
|
|
2480
2454
|
* @param {String} opts.cursor Cursor token to retrieve next page
|
|
2481
2455
|
* @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
|
|
2482
|
-
* getAnalyticsFlowexecutionsAggregatesJobResults is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
2483
2456
|
*/},{key:"getAnalyticsFlowexecutionsAggregatesJobResults",value:function getAnalyticsFlowexecutionsAggregatesJobResults(jobId,opts){opts=opts||{};// verify the required parameter 'jobId' is set
|
|
2484
2457
|
if(jobId===undefined||jobId===null||jobId===''){throw'Missing the required parameter "jobId" when calling getAnalyticsFlowexecutionsAggregatesJobResults';}return this.apiClient.callApi('/api/v2/analytics/flowexecutions/aggregates/jobs/{jobId}/results','GET',{'jobId':jobId},{'cursor':opts['cursor']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json'],opts['customHeaders']);}/**
|
|
2485
2458
|
* Get status for async query for Flow aggregates
|
|
@@ -2487,7 +2460,6 @@ if(jobId===undefined||jobId===null||jobId===''){throw'Missing the required param
|
|
|
2487
2460
|
* @param {String} jobId jobId
|
|
2488
2461
|
* @param {Object} opts Optional parameters
|
|
2489
2462
|
* @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
|
|
2490
|
-
* getAnalyticsFlowsAggregatesJob is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
2491
2463
|
*/},{key:"getAnalyticsFlowsAggregatesJob",value:function getAnalyticsFlowsAggregatesJob(jobId,opts){opts=opts||{};// verify the required parameter 'jobId' is set
|
|
2492
2464
|
if(jobId===undefined||jobId===null||jobId===''){throw'Missing the required parameter "jobId" when calling getAnalyticsFlowsAggregatesJob';}return this.apiClient.callApi('/api/v2/analytics/flows/aggregates/jobs/{jobId}','GET',{'jobId':jobId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json'],opts['customHeaders']);}/**
|
|
2493
2465
|
* Fetch a page of results for an async aggregates query
|
|
@@ -2496,7 +2468,6 @@ if(jobId===undefined||jobId===null||jobId===''){throw'Missing the required param
|
|
|
2496
2468
|
* @param {Object} opts Optional parameters
|
|
2497
2469
|
* @param {String} opts.cursor Cursor token to retrieve next page
|
|
2498
2470
|
* @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
|
|
2499
|
-
* getAnalyticsFlowsAggregatesJobResults is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
2500
2471
|
*/},{key:"getAnalyticsFlowsAggregatesJobResults",value:function getAnalyticsFlowsAggregatesJobResults(jobId,opts){opts=opts||{};// verify the required parameter 'jobId' is set
|
|
2501
2472
|
if(jobId===undefined||jobId===null||jobId===''){throw'Missing the required parameter "jobId" when calling getAnalyticsFlowsAggregatesJobResults';}return this.apiClient.callApi('/api/v2/analytics/flows/aggregates/jobs/{jobId}/results','GET',{'jobId':jobId},{'cursor':opts['cursor']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json'],opts['customHeaders']);}/**
|
|
2502
2473
|
* Get status for async query for journey aggregates
|
|
@@ -2504,7 +2475,6 @@ if(jobId===undefined||jobId===null||jobId===''){throw'Missing the required param
|
|
|
2504
2475
|
* @param {String} jobId jobId
|
|
2505
2476
|
* @param {Object} opts Optional parameters
|
|
2506
2477
|
* @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
|
|
2507
|
-
* getAnalyticsJourneysAggregatesJob is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
2508
2478
|
*/},{key:"getAnalyticsJourneysAggregatesJob",value:function getAnalyticsJourneysAggregatesJob(jobId,opts){opts=opts||{};// verify the required parameter 'jobId' is set
|
|
2509
2479
|
if(jobId===undefined||jobId===null||jobId===''){throw'Missing the required parameter "jobId" when calling getAnalyticsJourneysAggregatesJob';}return this.apiClient.callApi('/api/v2/analytics/journeys/aggregates/jobs/{jobId}','GET',{'jobId':jobId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json'],opts['customHeaders']);}/**
|
|
2510
2480
|
* Fetch a page of results for an async aggregates query
|
|
@@ -2513,7 +2483,6 @@ if(jobId===undefined||jobId===null||jobId===''){throw'Missing the required param
|
|
|
2513
2483
|
* @param {Object} opts Optional parameters
|
|
2514
2484
|
* @param {String} opts.cursor Cursor token to retrieve next page
|
|
2515
2485
|
* @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
|
|
2516
|
-
* getAnalyticsJourneysAggregatesJobResults is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
2517
2486
|
*/},{key:"getAnalyticsJourneysAggregatesJobResults",value:function getAnalyticsJourneysAggregatesJobResults(jobId,opts){opts=opts||{};// verify the required parameter 'jobId' is set
|
|
2518
2487
|
if(jobId===undefined||jobId===null||jobId===''){throw'Missing the required parameter "jobId" when calling getAnalyticsJourneysAggregatesJobResults';}return this.apiClient.callApi('/api/v2/analytics/journeys/aggregates/jobs/{jobId}/results','GET',{'jobId':jobId},{'cursor':opts['cursor']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json'],opts['customHeaders']);}/**
|
|
2519
2488
|
* Get status for async query for knowledge aggregates
|
|
@@ -2521,7 +2490,6 @@ if(jobId===undefined||jobId===null||jobId===''){throw'Missing the required param
|
|
|
2521
2490
|
* @param {String} jobId jobId
|
|
2522
2491
|
* @param {Object} opts Optional parameters
|
|
2523
2492
|
* @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
|
|
2524
|
-
* getAnalyticsKnowledgeAggregatesJob is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
2525
2493
|
*/},{key:"getAnalyticsKnowledgeAggregatesJob",value:function getAnalyticsKnowledgeAggregatesJob(jobId,opts){opts=opts||{};// verify the required parameter 'jobId' is set
|
|
2526
2494
|
if(jobId===undefined||jobId===null||jobId===''){throw'Missing the required parameter "jobId" when calling getAnalyticsKnowledgeAggregatesJob';}return this.apiClient.callApi('/api/v2/analytics/knowledge/aggregates/jobs/{jobId}','GET',{'jobId':jobId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json'],opts['customHeaders']);}/**
|
|
2527
2495
|
* Fetch a page of results for an async aggregates query
|
|
@@ -2530,7 +2498,6 @@ if(jobId===undefined||jobId===null||jobId===''){throw'Missing the required param
|
|
|
2530
2498
|
* @param {Object} opts Optional parameters
|
|
2531
2499
|
* @param {String} opts.cursor Cursor token to retrieve next page
|
|
2532
2500
|
* @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
|
|
2533
|
-
* getAnalyticsKnowledgeAggregatesJobResults is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
2534
2501
|
*/},{key:"getAnalyticsKnowledgeAggregatesJobResults",value:function getAnalyticsKnowledgeAggregatesJobResults(jobId,opts){opts=opts||{};// verify the required parameter 'jobId' is set
|
|
2535
2502
|
if(jobId===undefined||jobId===null||jobId===''){throw'Missing the required parameter "jobId" when calling getAnalyticsKnowledgeAggregatesJobResults';}return this.apiClient.callApi('/api/v2/analytics/knowledge/aggregates/jobs/{jobId}/results','GET',{'jobId':jobId},{'cursor':opts['cursor']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json'],opts['customHeaders']);}/**
|
|
2536
2503
|
* Get dashboards summary for a user
|
|
@@ -2601,7 +2568,6 @@ if(userId===undefined||userId===null||userId===''){throw'Missing the required pa
|
|
|
2601
2568
|
* @param {String} jobId jobId
|
|
2602
2569
|
* @param {Object} opts Optional parameters
|
|
2603
2570
|
* @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
|
|
2604
|
-
* getAnalyticsResolutionsAggregatesJob is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
2605
2571
|
*/},{key:"getAnalyticsResolutionsAggregatesJob",value:function getAnalyticsResolutionsAggregatesJob(jobId,opts){opts=opts||{};// verify the required parameter 'jobId' is set
|
|
2606
2572
|
if(jobId===undefined||jobId===null||jobId===''){throw'Missing the required parameter "jobId" when calling getAnalyticsResolutionsAggregatesJob';}return this.apiClient.callApi('/api/v2/analytics/resolutions/aggregates/jobs/{jobId}','GET',{'jobId':jobId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json'],opts['customHeaders']);}/**
|
|
2607
2573
|
* Fetch a page of results for an async aggregates query
|
|
@@ -2610,7 +2576,6 @@ if(jobId===undefined||jobId===null||jobId===''){throw'Missing the required param
|
|
|
2610
2576
|
* @param {Object} opts Optional parameters
|
|
2611
2577
|
* @param {String} opts.cursor Cursor token to retrieve next page
|
|
2612
2578
|
* @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
|
|
2613
|
-
* getAnalyticsResolutionsAggregatesJobResults is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
2614
2579
|
*/},{key:"getAnalyticsResolutionsAggregatesJobResults",value:function getAnalyticsResolutionsAggregatesJobResults(jobId,opts){opts=opts||{};// verify the required parameter 'jobId' is set
|
|
2615
2580
|
if(jobId===undefined||jobId===null||jobId===''){throw'Missing the required parameter "jobId" when calling getAnalyticsResolutionsAggregatesJobResults';}return this.apiClient.callApi('/api/v2/analytics/resolutions/aggregates/jobs/{jobId}/results','GET',{'jobId':jobId},{'cursor':opts['cursor']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json'],opts['customHeaders']);}/**
|
|
2616
2581
|
* Get status for async query for summary aggregates
|
|
@@ -2618,7 +2583,6 @@ if(jobId===undefined||jobId===null||jobId===''){throw'Missing the required param
|
|
|
2618
2583
|
* @param {String} jobId jobId
|
|
2619
2584
|
* @param {Object} opts Optional parameters
|
|
2620
2585
|
* @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
|
|
2621
|
-
* getAnalyticsSummariesAggregatesJob is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
2622
2586
|
*/},{key:"getAnalyticsSummariesAggregatesJob",value:function getAnalyticsSummariesAggregatesJob(jobId,opts){opts=opts||{};// verify the required parameter 'jobId' is set
|
|
2623
2587
|
if(jobId===undefined||jobId===null||jobId===''){throw'Missing the required parameter "jobId" when calling getAnalyticsSummariesAggregatesJob';}return this.apiClient.callApi('/api/v2/analytics/summaries/aggregates/jobs/{jobId}','GET',{'jobId':jobId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json'],opts['customHeaders']);}/**
|
|
2624
2588
|
* Fetch a page of results for an async aggregates query
|
|
@@ -2627,7 +2591,6 @@ if(jobId===undefined||jobId===null||jobId===''){throw'Missing the required param
|
|
|
2627
2591
|
* @param {Object} opts Optional parameters
|
|
2628
2592
|
* @param {String} opts.cursor Cursor token to retrieve next page
|
|
2629
2593
|
* @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
|
|
2630
|
-
* getAnalyticsSummariesAggregatesJobResults is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
2631
2594
|
*/},{key:"getAnalyticsSummariesAggregatesJobResults",value:function getAnalyticsSummariesAggregatesJobResults(jobId,opts){opts=opts||{};// verify the required parameter 'jobId' is set
|
|
2632
2595
|
if(jobId===undefined||jobId===null||jobId===''){throw'Missing the required parameter "jobId" when calling getAnalyticsSummariesAggregatesJobResults';}return this.apiClient.callApi('/api/v2/analytics/summaries/aggregates/jobs/{jobId}/results','GET',{'jobId':jobId},{'cursor':opts['cursor']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json'],opts['customHeaders']);}/**
|
|
2633
2596
|
* Get status for async query for survey aggregates
|
|
@@ -2635,7 +2598,6 @@ if(jobId===undefined||jobId===null||jobId===''){throw'Missing the required param
|
|
|
2635
2598
|
* @param {String} jobId jobId
|
|
2636
2599
|
* @param {Object} opts Optional parameters
|
|
2637
2600
|
* @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
|
|
2638
|
-
* getAnalyticsSurveysAggregatesJob is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
2639
2601
|
*/},{key:"getAnalyticsSurveysAggregatesJob",value:function getAnalyticsSurveysAggregatesJob(jobId,opts){opts=opts||{};// verify the required parameter 'jobId' is set
|
|
2640
2602
|
if(jobId===undefined||jobId===null||jobId===''){throw'Missing the required parameter "jobId" when calling getAnalyticsSurveysAggregatesJob';}return this.apiClient.callApi('/api/v2/analytics/surveys/aggregates/jobs/{jobId}','GET',{'jobId':jobId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json'],opts['customHeaders']);}/**
|
|
2641
2603
|
* Fetch a page of results for an async aggregates query
|
|
@@ -2644,7 +2606,6 @@ if(jobId===undefined||jobId===null||jobId===''){throw'Missing the required param
|
|
|
2644
2606
|
* @param {Object} opts Optional parameters
|
|
2645
2607
|
* @param {String} opts.cursor Cursor token to retrieve next page
|
|
2646
2608
|
* @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
|
|
2647
|
-
* getAnalyticsSurveysAggregatesJobResults is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
2648
2609
|
*/},{key:"getAnalyticsSurveysAggregatesJobResults",value:function getAnalyticsSurveysAggregatesJobResults(jobId,opts){opts=opts||{};// verify the required parameter 'jobId' is set
|
|
2649
2610
|
if(jobId===undefined||jobId===null||jobId===''){throw'Missing the required parameter "jobId" when calling getAnalyticsSurveysAggregatesJobResults';}return this.apiClient.callApi('/api/v2/analytics/surveys/aggregates/jobs/{jobId}/results','GET',{'jobId':jobId},{'cursor':opts['cursor']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json'],opts['customHeaders']);}/**
|
|
2650
2611
|
* Get status for async query for task management aggregates
|
|
@@ -2652,7 +2613,6 @@ if(jobId===undefined||jobId===null||jobId===''){throw'Missing the required param
|
|
|
2652
2613
|
* @param {String} jobId jobId
|
|
2653
2614
|
* @param {Object} opts Optional parameters
|
|
2654
2615
|
* @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
|
|
2655
|
-
* getAnalyticsTaskmanagementAggregatesJob is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
2656
2616
|
*/},{key:"getAnalyticsTaskmanagementAggregatesJob",value:function getAnalyticsTaskmanagementAggregatesJob(jobId,opts){opts=opts||{};// verify the required parameter 'jobId' is set
|
|
2657
2617
|
if(jobId===undefined||jobId===null||jobId===''){throw'Missing the required parameter "jobId" when calling getAnalyticsTaskmanagementAggregatesJob';}return this.apiClient.callApi('/api/v2/analytics/taskmanagement/aggregates/jobs/{jobId}','GET',{'jobId':jobId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json'],opts['customHeaders']);}/**
|
|
2658
2618
|
* Fetch a page of results for an async task management query
|
|
@@ -2661,7 +2621,6 @@ if(jobId===undefined||jobId===null||jobId===''){throw'Missing the required param
|
|
|
2661
2621
|
* @param {Object} opts Optional parameters
|
|
2662
2622
|
* @param {String} opts.cursor Cursor token to retrieve next page
|
|
2663
2623
|
* @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
|
|
2664
|
-
* getAnalyticsTaskmanagementAggregatesJobResults is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
2665
2624
|
*/},{key:"getAnalyticsTaskmanagementAggregatesJobResults",value:function getAnalyticsTaskmanagementAggregatesJobResults(jobId,opts){opts=opts||{};// verify the required parameter 'jobId' is set
|
|
2666
2625
|
if(jobId===undefined||jobId===null||jobId===''){throw'Missing the required parameter "jobId" when calling getAnalyticsTaskmanagementAggregatesJobResults';}return this.apiClient.callApi('/api/v2/analytics/taskmanagement/aggregates/jobs/{jobId}/results','GET',{'jobId':jobId},{'cursor':opts['cursor']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json'],opts['customHeaders']);}/**
|
|
2667
2626
|
* Get status for async query for transcript aggregates
|
|
@@ -2669,7 +2628,6 @@ if(jobId===undefined||jobId===null||jobId===''){throw'Missing the required param
|
|
|
2669
2628
|
* @param {String} jobId jobId
|
|
2670
2629
|
* @param {Object} opts Optional parameters
|
|
2671
2630
|
* @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
|
|
2672
|
-
* getAnalyticsTranscriptsAggregatesJob is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
2673
2631
|
*/},{key:"getAnalyticsTranscriptsAggregatesJob",value:function getAnalyticsTranscriptsAggregatesJob(jobId,opts){opts=opts||{};// verify the required parameter 'jobId' is set
|
|
2674
2632
|
if(jobId===undefined||jobId===null||jobId===''){throw'Missing the required parameter "jobId" when calling getAnalyticsTranscriptsAggregatesJob';}return this.apiClient.callApi('/api/v2/analytics/transcripts/aggregates/jobs/{jobId}','GET',{'jobId':jobId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json'],opts['customHeaders']);}/**
|
|
2675
2633
|
* Fetch a page of results for an async aggregates query
|
|
@@ -2678,7 +2636,6 @@ if(jobId===undefined||jobId===null||jobId===''){throw'Missing the required param
|
|
|
2678
2636
|
* @param {Object} opts Optional parameters
|
|
2679
2637
|
* @param {String} opts.cursor Cursor token to retrieve next page
|
|
2680
2638
|
* @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
|
|
2681
|
-
* getAnalyticsTranscriptsAggregatesJobResults is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
2682
2639
|
*/},{key:"getAnalyticsTranscriptsAggregatesJobResults",value:function getAnalyticsTranscriptsAggregatesJobResults(jobId,opts){opts=opts||{};// verify the required parameter 'jobId' is set
|
|
2683
2640
|
if(jobId===undefined||jobId===null||jobId===''){throw'Missing the required parameter "jobId" when calling getAnalyticsTranscriptsAggregatesJobResults';}return this.apiClient.callApi('/api/v2/analytics/transcripts/aggregates/jobs/{jobId}/results','GET',{'jobId':jobId},{'cursor':opts['cursor']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json'],opts['customHeaders']);}/**
|
|
2684
2641
|
* Get status for async query for user aggregates
|
|
@@ -2686,7 +2643,6 @@ if(jobId===undefined||jobId===null||jobId===''){throw'Missing the required param
|
|
|
2686
2643
|
* @param {String} jobId jobId
|
|
2687
2644
|
* @param {Object} opts Optional parameters
|
|
2688
2645
|
* @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
|
|
2689
|
-
* getAnalyticsUsersAggregatesJob is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
2690
2646
|
*/},{key:"getAnalyticsUsersAggregatesJob",value:function getAnalyticsUsersAggregatesJob(jobId,opts){opts=opts||{};// verify the required parameter 'jobId' is set
|
|
2691
2647
|
if(jobId===undefined||jobId===null||jobId===''){throw'Missing the required parameter "jobId" when calling getAnalyticsUsersAggregatesJob';}return this.apiClient.callApi('/api/v2/analytics/users/aggregates/jobs/{jobId}','GET',{'jobId':jobId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json'],opts['customHeaders']);}/**
|
|
2692
2648
|
* Fetch a page of results for an async aggregates query
|
|
@@ -2695,7 +2651,6 @@ if(jobId===undefined||jobId===null||jobId===''){throw'Missing the required param
|
|
|
2695
2651
|
* @param {Object} opts Optional parameters
|
|
2696
2652
|
* @param {String} opts.cursor Cursor token to retrieve next page
|
|
2697
2653
|
* @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
|
|
2698
|
-
* getAnalyticsUsersAggregatesJobResults is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
2699
2654
|
*/},{key:"getAnalyticsUsersAggregatesJobResults",value:function getAnalyticsUsersAggregatesJobResults(jobId,opts){opts=opts||{};// verify the required parameter 'jobId' is set
|
|
2700
2655
|
if(jobId===undefined||jobId===null||jobId===''){throw'Missing the required parameter "jobId" when calling getAnalyticsUsersAggregatesJobResults';}return this.apiClient.callApi('/api/v2/analytics/users/aggregates/jobs/{jobId}/results','GET',{'jobId':jobId},{'cursor':opts['cursor']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json'],opts['customHeaders']);}/**
|
|
2701
2656
|
* Get status for async query for user details
|
|
@@ -2731,7 +2686,6 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
2731
2686
|
* @param {Object} body query
|
|
2732
2687
|
* @param {Object} opts Optional parameters
|
|
2733
2688
|
* @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
|
|
2734
|
-
* postAnalyticsActionsAggregatesJobs is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
2735
2689
|
*/},{key:"postAnalyticsActionsAggregatesJobs",value:function postAnalyticsActionsAggregatesJobs(body,opts){opts=opts||{};// verify the required parameter 'body' is set
|
|
2736
2690
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postAnalyticsActionsAggregatesJobs';}return this.apiClient.callApi('/api/v2/analytics/actions/aggregates/jobs','POST',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json'],opts['customHeaders']);}/**
|
|
2737
2691
|
* Query for action aggregates
|
|
@@ -2792,7 +2746,6 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
2792
2746
|
* @param {Object} body query
|
|
2793
2747
|
* @param {Object} opts Optional parameters
|
|
2794
2748
|
* @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
|
|
2795
|
-
* postAnalyticsBotsAggregatesJobs is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
2796
2749
|
*/},{key:"postAnalyticsBotsAggregatesJobs",value:function postAnalyticsBotsAggregatesJobs(body,opts){opts=opts||{};// verify the required parameter 'body' is set
|
|
2797
2750
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postAnalyticsBotsAggregatesJobs';}return this.apiClient.callApi('/api/v2/analytics/bots/aggregates/jobs','POST',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json'],opts['customHeaders']);}/**
|
|
2798
2751
|
* Query for bot aggregates
|
|
@@ -2807,7 +2760,6 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
2807
2760
|
* @param {Object} body query
|
|
2808
2761
|
* @param {Object} opts Optional parameters
|
|
2809
2762
|
* @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
|
|
2810
|
-
* postAnalyticsCasemanagementAggregatesJobs is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
2811
2763
|
*/},{key:"postAnalyticsCasemanagementAggregatesJobs",value:function postAnalyticsCasemanagementAggregatesJobs(body,opts){opts=opts||{};// verify the required parameter 'body' is set
|
|
2812
2764
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postAnalyticsCasemanagementAggregatesJobs';}return this.apiClient.callApi('/api/v2/analytics/casemanagement/aggregates/jobs','POST',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json'],opts['customHeaders']);}/**
|
|
2813
2765
|
* Query for case management aggregates
|
|
@@ -2815,7 +2767,6 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
2815
2767
|
* @param {Object} body query
|
|
2816
2768
|
* @param {Object} opts Optional parameters
|
|
2817
2769
|
* @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
|
|
2818
|
-
* postAnalyticsCasemanagementAggregatesQuery is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
2819
2770
|
*/},{key:"postAnalyticsCasemanagementAggregatesQuery",value:function postAnalyticsCasemanagementAggregatesQuery(body,opts){opts=opts||{};// verify the required parameter 'body' is set
|
|
2820
2771
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postAnalyticsCasemanagementAggregatesQuery';}return this.apiClient.callApi('/api/v2/analytics/casemanagement/aggregates/query','POST',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json'],opts['customHeaders']);}/**
|
|
2821
2772
|
* Index conversation properties
|
|
@@ -2841,7 +2792,6 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
2841
2792
|
* @param {Object} body query
|
|
2842
2793
|
* @param {Object} opts Optional parameters
|
|
2843
2794
|
* @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
|
|
2844
|
-
* postAnalyticsConversationsAggregatesJobs is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
2845
2795
|
*/},{key:"postAnalyticsConversationsAggregatesJobs",value:function postAnalyticsConversationsAggregatesJobs(body,opts){opts=opts||{};// verify the required parameter 'body' is set
|
|
2846
2796
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postAnalyticsConversationsAggregatesJobs';}return this.apiClient.callApi('/api/v2/analytics/conversations/aggregates/jobs','POST',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json'],opts['customHeaders']);}/**
|
|
2847
2797
|
* Query for conversation aggregates
|
|
@@ -2894,7 +2844,6 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
2894
2844
|
* @param {Object} body query
|
|
2895
2845
|
* @param {Object} opts Optional parameters
|
|
2896
2846
|
* @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
|
|
2897
|
-
* postAnalyticsEvaluationsAggregatesJobs is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
2898
2847
|
*/},{key:"postAnalyticsEvaluationsAggregatesJobs",value:function postAnalyticsEvaluationsAggregatesJobs(body,opts){opts=opts||{};// verify the required parameter 'body' is set
|
|
2899
2848
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postAnalyticsEvaluationsAggregatesJobs';}return this.apiClient.callApi('/api/v2/analytics/evaluations/aggregates/jobs','POST',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json'],opts['customHeaders']);}/**
|
|
2900
2849
|
* Query for evaluation aggregates
|
|
@@ -2909,7 +2858,6 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
2909
2858
|
* @param {Object} body query
|
|
2910
2859
|
* @param {Object} opts Optional parameters
|
|
2911
2860
|
* @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
|
|
2912
|
-
* postAnalyticsFlowexecutionsAggregatesJobs is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
2913
2861
|
*/},{key:"postAnalyticsFlowexecutionsAggregatesJobs",value:function postAnalyticsFlowexecutionsAggregatesJobs(body,opts){opts=opts||{};// verify the required parameter 'body' is set
|
|
2914
2862
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postAnalyticsFlowexecutionsAggregatesJobs';}return this.apiClient.callApi('/api/v2/analytics/flowexecutions/aggregates/jobs','POST',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json'],opts['customHeaders']);}/**
|
|
2915
2863
|
* Query for flow execution aggregates
|
|
@@ -2933,7 +2881,6 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
2933
2881
|
* @param {Object} body query
|
|
2934
2882
|
* @param {Object} opts Optional parameters
|
|
2935
2883
|
* @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
|
|
2936
|
-
* postAnalyticsFlowsAggregatesJobs is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
2937
2884
|
*/},{key:"postAnalyticsFlowsAggregatesJobs",value:function postAnalyticsFlowsAggregatesJobs(body,opts){opts=opts||{};// verify the required parameter 'body' is set
|
|
2938
2885
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postAnalyticsFlowsAggregatesJobs';}return this.apiClient.callApi('/api/v2/analytics/flows/aggregates/jobs','POST',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json'],opts['customHeaders']);}/**
|
|
2939
2886
|
* Query for flow aggregates
|
|
@@ -2955,7 +2902,6 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
2955
2902
|
* @param {Object} body query
|
|
2956
2903
|
* @param {Object} opts Optional parameters
|
|
2957
2904
|
* @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
|
|
2958
|
-
* postAnalyticsJourneysAggregatesJobs is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
2959
2905
|
*/},{key:"postAnalyticsJourneysAggregatesJobs",value:function postAnalyticsJourneysAggregatesJobs(body,opts){opts=opts||{};// verify the required parameter 'body' is set
|
|
2960
2906
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postAnalyticsJourneysAggregatesJobs';}return this.apiClient.callApi('/api/v2/analytics/journeys/aggregates/jobs','POST',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json'],opts['customHeaders']);}/**
|
|
2961
2907
|
* Query for journey aggregates
|
|
@@ -2970,7 +2916,6 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
2970
2916
|
* @param {Object} body query
|
|
2971
2917
|
* @param {Object} opts Optional parameters
|
|
2972
2918
|
* @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
|
|
2973
|
-
* postAnalyticsKnowledgeAggregatesJobs is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
2974
2919
|
*/},{key:"postAnalyticsKnowledgeAggregatesJobs",value:function postAnalyticsKnowledgeAggregatesJobs(body,opts){opts=opts||{};// verify the required parameter 'body' is set
|
|
2975
2920
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postAnalyticsKnowledgeAggregatesJobs';}return this.apiClient.callApi('/api/v2/analytics/knowledge/aggregates/jobs','POST',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json'],opts['customHeaders']);}/**
|
|
2976
2921
|
* Query for knowledge aggregates
|
|
@@ -3027,7 +2972,6 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
3027
2972
|
* @param {Object} body query
|
|
3028
2973
|
* @param {Object} opts Optional parameters
|
|
3029
2974
|
* @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
|
|
3030
|
-
* postAnalyticsResolutionsAggregatesJobs is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
3031
2975
|
*/},{key:"postAnalyticsResolutionsAggregatesJobs",value:function postAnalyticsResolutionsAggregatesJobs(body,opts){opts=opts||{};// verify the required parameter 'body' is set
|
|
3032
2976
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postAnalyticsResolutionsAggregatesJobs';}return this.apiClient.callApi('/api/v2/analytics/resolutions/aggregates/jobs','POST',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json'],opts['customHeaders']);}/**
|
|
3033
2977
|
* Query for resolution aggregates
|
|
@@ -3051,7 +2995,6 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
3051
2995
|
* @param {Object} body query
|
|
3052
2996
|
* @param {Object} opts Optional parameters
|
|
3053
2997
|
* @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
|
|
3054
|
-
* postAnalyticsSummariesAggregatesJobs is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
3055
2998
|
*/},{key:"postAnalyticsSummariesAggregatesJobs",value:function postAnalyticsSummariesAggregatesJobs(body,opts){opts=opts||{};// verify the required parameter 'body' is set
|
|
3056
2999
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postAnalyticsSummariesAggregatesJobs';}return this.apiClient.callApi('/api/v2/analytics/summaries/aggregates/jobs','POST',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json'],opts['customHeaders']);}/**
|
|
3057
3000
|
* Query for summary aggregates
|
|
@@ -3066,7 +3009,6 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
3066
3009
|
* @param {Object} body query
|
|
3067
3010
|
* @param {Object} opts Optional parameters
|
|
3068
3011
|
* @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
|
|
3069
|
-
* postAnalyticsSurveysAggregatesJobs is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
3070
3012
|
*/},{key:"postAnalyticsSurveysAggregatesJobs",value:function postAnalyticsSurveysAggregatesJobs(body,opts){opts=opts||{};// verify the required parameter 'body' is set
|
|
3071
3013
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postAnalyticsSurveysAggregatesJobs';}return this.apiClient.callApi('/api/v2/analytics/surveys/aggregates/jobs','POST',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json'],opts['customHeaders']);}/**
|
|
3072
3014
|
* Query for survey aggregates
|
|
@@ -3081,7 +3023,6 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
3081
3023
|
* @param {Object} body query
|
|
3082
3024
|
* @param {Object} opts Optional parameters
|
|
3083
3025
|
* @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
|
|
3084
|
-
* postAnalyticsTaskmanagementAggregatesJobs is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
3085
3026
|
*/},{key:"postAnalyticsTaskmanagementAggregatesJobs",value:function postAnalyticsTaskmanagementAggregatesJobs(body,opts){opts=opts||{};// verify the required parameter 'body' is set
|
|
3086
3027
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postAnalyticsTaskmanagementAggregatesJobs';}return this.apiClient.callApi('/api/v2/analytics/taskmanagement/aggregates/jobs','POST',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json'],opts['customHeaders']);}/**
|
|
3087
3028
|
* Query for task management aggregates
|
|
@@ -3114,7 +3055,6 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
3114
3055
|
* @param {Object} body query
|
|
3115
3056
|
* @param {Object} opts Optional parameters
|
|
3116
3057
|
* @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
|
|
3117
|
-
* postAnalyticsTranscriptsAggregatesJobs is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
3118
3058
|
*/},{key:"postAnalyticsTranscriptsAggregatesJobs",value:function postAnalyticsTranscriptsAggregatesJobs(body,opts){opts=opts||{};// verify the required parameter 'body' is set
|
|
3119
3059
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postAnalyticsTranscriptsAggregatesJobs';}return this.apiClient.callApi('/api/v2/analytics/transcripts/aggregates/jobs','POST',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json'],opts['customHeaders']);}/**
|
|
3120
3060
|
* Query for transcript aggregates
|
|
@@ -3138,7 +3078,6 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
3138
3078
|
* @param {Object} body query
|
|
3139
3079
|
* @param {Object} opts Optional parameters
|
|
3140
3080
|
* @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
|
|
3141
|
-
* postAnalyticsUsersAggregatesJobs is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
3142
3081
|
*/},{key:"postAnalyticsUsersAggregatesJobs",value:function postAnalyticsUsersAggregatesJobs(body,opts){opts=opts||{};// verify the required parameter 'body' is set
|
|
3143
3082
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postAnalyticsUsersAggregatesJobs';}return this.apiClient.callApi('/api/v2/analytics/users/aggregates/jobs','POST',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json'],opts['customHeaders']);}/**
|
|
3144
3083
|
* Query for user aggregates
|
|
@@ -3178,7 +3117,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
3178
3117
|
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'],opts['customHeaders']);}}]);}();var ArchitectApi=/*#__PURE__*/function(){/**
|
|
3179
3118
|
* Architect service.
|
|
3180
3119
|
* @module purecloud-platform-client-v2/api/ArchitectApi
|
|
3181
|
-
* @version
|
|
3120
|
+
* @version 255.0.0
|
|
3182
3121
|
*//**
|
|
3183
3122
|
* Constructs a new ArchitectApi.
|
|
3184
3123
|
* @alias module:purecloud-platform-client-v2/api/ArchitectApi
|
|
@@ -4084,6 +4023,15 @@ if(flowOutcomeId===undefined||flowOutcomeId===null||flowOutcomeId===''){throw'Mi
|
|
|
4084
4023
|
* @param {Array.<String>} opts.divisionId division ID(s)
|
|
4085
4024
|
* @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
|
|
4086
4025
|
*/},{key:"getFlowsOutcomesDivisionviews",value:function getFlowsOutcomesDivisionviews(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/flows/outcomes/divisionviews','GET',{},{'pageNumber':opts['pageNumber'],'pageSize':opts['pageSize'],'sortBy':opts['sortBy'],'sortOrder':opts['sortOrder'],'id':this.apiClient.buildCollectionParam(opts['id'],'multi'),'name':opts['name'],'divisionId':this.apiClient.buildCollectionParam(opts['divisionId'],'multi')},{},{},null,['PureCloud OAuth'],['application/json'],['application/json'],opts['customHeaders']);}/**
|
|
4026
|
+
* Fetch Architect Validate Job Status
|
|
4027
|
+
*
|
|
4028
|
+
* @param {String} jobId Job ID
|
|
4029
|
+
* @param {Object} opts Optional parameters
|
|
4030
|
+
* @param {Array.<String>} opts.expand Which fields, if any, to expand.
|
|
4031
|
+
* @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
|
|
4032
|
+
* getFlowsValidateJob is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
4033
|
+
*/},{key:"getFlowsValidateJob",value:function getFlowsValidateJob(jobId,opts){opts=opts||{};// verify the required parameter 'jobId' is set
|
|
4034
|
+
if(jobId===undefined||jobId===null||jobId===''){throw'Missing the required parameter "jobId" when calling getFlowsValidateJob';}return this.apiClient.callApi('/api/v2/flows/validate/jobs/{jobId}','GET',{'jobId':jobId},{'expand':this.apiClient.buildCollectionParam(opts['expand'],'multi')},{},{},null,['PureCloud OAuth'],['application/json'],['application/json'],opts['customHeaders']);}/**
|
|
4087
4035
|
* Updates a grammar
|
|
4088
4036
|
*
|
|
4089
4037
|
* @param {String} grammarId grammar ID
|
|
@@ -4407,6 +4355,14 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
4407
4355
|
* @param {Object} opts.body
|
|
4408
4356
|
* @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
|
|
4409
4357
|
*/},{key:"postFlowsOutcomes",value:function postFlowsOutcomes(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/flows/outcomes','POST',{},{},{},{},opts['body'],['PureCloud OAuth'],['application/json'],['application/json'],opts['customHeaders']);}/**
|
|
4358
|
+
* Register Architect Validate Job
|
|
4359
|
+
*
|
|
4360
|
+
* @param {Object} body
|
|
4361
|
+
* @param {Object} opts Optional parameters
|
|
4362
|
+
* @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
|
|
4363
|
+
* postFlowsValidateJobs is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
4364
|
+
*/},{key:"postFlowsValidateJobs",value:function postFlowsValidateJobs(body,opts){opts=opts||{};// verify the required parameter 'body' is set
|
|
4365
|
+
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postFlowsValidateJobs';}return this.apiClient.callApi('/api/v2/flows/validate/jobs','POST',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json'],opts['customHeaders']);}/**
|
|
4410
4366
|
* Updates a emergency group by ID
|
|
4411
4367
|
*
|
|
4412
4368
|
* @param {String} emergencyGroupId Emergency group ID
|
|
@@ -4548,7 +4504,7 @@ if(milestoneId===undefined||milestoneId===null||milestoneId===''){throw'Missing
|
|
|
4548
4504
|
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'],opts['customHeaders']);}}]);}();var AssistantCopilotVariationsApi=/*#__PURE__*/function(){/**
|
|
4549
4505
|
* AssistantCopilotVariations service.
|
|
4550
4506
|
* @module purecloud-platform-client-v2/api/AssistantCopilotVariationsApi
|
|
4551
|
-
* @version
|
|
4507
|
+
* @version 255.0.0
|
|
4552
4508
|
*//**
|
|
4553
4509
|
* Constructs a new AssistantCopilotVariationsApi.
|
|
4554
4510
|
* @alias module:purecloud-platform-client-v2/api/AssistantCopilotVariationsApi
|
|
@@ -4603,7 +4559,7 @@ if(variationId===undefined||variationId===null||variationId===''){throw'Missing
|
|
|
4603
4559
|
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'],opts['customHeaders']);}}]);}();var AuditApi=/*#__PURE__*/function(){/**
|
|
4604
4560
|
* Audit service.
|
|
4605
4561
|
* @module purecloud-platform-client-v2/api/AuditApi
|
|
4606
|
-
* @version
|
|
4562
|
+
* @version 255.0.0
|
|
4607
4563
|
*//**
|
|
4608
4564
|
* Constructs a new AuditApi.
|
|
4609
4565
|
* @alias module:purecloud-platform-client-v2/api/AuditApi
|
|
@@ -4664,7 +4620,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
4664
4620
|
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'],opts['customHeaders']);}}]);}();var AuthorizationApi=/*#__PURE__*/function(){/**
|
|
4665
4621
|
* Authorization service.
|
|
4666
4622
|
* @module purecloud-platform-client-v2/api/AuthorizationApi
|
|
4667
|
-
* @version
|
|
4623
|
+
* @version 255.0.0
|
|
4668
4624
|
*//**
|
|
4669
4625
|
* Constructs a new AuthorizationApi.
|
|
4670
4626
|
* @alias module:purecloud-platform-client-v2/api/AuthorizationApi
|
|
@@ -5182,7 +5138,7 @@ if(subjectId===undefined||subjectId===null||subjectId===''){throw'Missing the re
|
|
|
5182
5138
|
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'],opts['customHeaders']);}}]);}();var BackgroundAssistantApi=/*#__PURE__*/function(){/**
|
|
5183
5139
|
* BackgroundAssistant service.
|
|
5184
5140
|
* @module purecloud-platform-client-v2/api/BackgroundAssistantApi
|
|
5185
|
-
* @version
|
|
5141
|
+
* @version 255.0.0
|
|
5186
5142
|
*//**
|
|
5187
5143
|
* Constructs a new BackgroundAssistantApi.
|
|
5188
5144
|
* @alias module:purecloud-platform-client-v2/api/BackgroundAssistantApi
|
|
@@ -5205,7 +5161,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
5205
5161
|
*/},{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'],opts['customHeaders']);}}]);}();var BillingApi=/*#__PURE__*/function(){/**
|
|
5206
5162
|
* Billing service.
|
|
5207
5163
|
* @module purecloud-platform-client-v2/api/BillingApi
|
|
5208
|
-
* @version
|
|
5164
|
+
* @version 255.0.0
|
|
5209
5165
|
*//**
|
|
5210
5166
|
* Constructs a new BillingApi.
|
|
5211
5167
|
* @alias module:purecloud-platform-client-v2/api/BillingApi
|
|
@@ -5294,7 +5250,7 @@ if(endDate===undefined||endDate===null){throw'Missing the required parameter "en
|
|
|
5294
5250
|
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'],opts['customHeaders']);}}]);}();var BusinessRulesApi=/*#__PURE__*/function(){/**
|
|
5295
5251
|
* BusinessRules service.
|
|
5296
5252
|
* @module purecloud-platform-client-v2/api/BusinessRulesApi
|
|
5297
|
-
* @version
|
|
5253
|
+
* @version 255.0.0
|
|
5298
5254
|
*//**
|
|
5299
5255
|
* Constructs a new BusinessRulesApi.
|
|
5300
5256
|
* @alias module:purecloud-platform-client-v2/api/BusinessRulesApi
|
|
@@ -5310,6 +5266,24 @@ if(trustorOrgId===undefined||trustorOrgId===null||trustorOrgId===''){throw'Missi
|
|
|
5310
5266
|
* @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
|
|
5311
5267
|
*/return _createClass(BusinessRulesApi,[{key:"deleteBusinessrulesDecisiontable",value:function deleteBusinessrulesDecisiontable(tableId,opts){opts=opts||{};// verify the required parameter 'tableId' is set
|
|
5312
5268
|
if(tableId===undefined||tableId===null||tableId===''){throw'Missing the required parameter "tableId" when calling deleteBusinessrulesDecisiontable';}return this.apiClient.callApi('/api/v2/businessrules/decisiontables/{tableId}','DELETE',{'tableId':tableId},{'forceDelete':opts['forceDelete']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json'],opts['customHeaders']);}/**
|
|
5269
|
+
* Delete an export job for a decision table
|
|
5270
|
+
*
|
|
5271
|
+
* @param {String} tableId Table ID
|
|
5272
|
+
* @param {String} exportJobId Export Job ID
|
|
5273
|
+
* @param {Object} opts Optional parameters
|
|
5274
|
+
* @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
|
|
5275
|
+
*/},{key:"deleteBusinessrulesDecisiontableExport",value:function deleteBusinessrulesDecisiontableExport(tableId,exportJobId,opts){opts=opts||{};// verify the required parameter 'tableId' is set
|
|
5276
|
+
if(tableId===undefined||tableId===null||tableId===''){throw'Missing the required parameter "tableId" when calling deleteBusinessrulesDecisiontableExport';}// verify the required parameter 'exportJobId' is set
|
|
5277
|
+
if(exportJobId===undefined||exportJobId===null||exportJobId===''){throw'Missing the required parameter "exportJobId" when calling deleteBusinessrulesDecisiontableExport';}return this.apiClient.callApi('/api/v2/businessrules/decisiontables/{tableId}/exports/{exportJobId}','DELETE',{'tableId':tableId,'exportJobId':exportJobId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json'],opts['customHeaders']);}/**
|
|
5278
|
+
* Delete decision table row import job
|
|
5279
|
+
*
|
|
5280
|
+
* @param {String} tableId Table ID
|
|
5281
|
+
* @param {String} importJobId Import job ID
|
|
5282
|
+
* @param {Object} opts Optional parameters
|
|
5283
|
+
* @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
|
|
5284
|
+
*/},{key:"deleteBusinessrulesDecisiontableImport",value:function deleteBusinessrulesDecisiontableImport(tableId,importJobId,opts){opts=opts||{};// verify the required parameter 'tableId' is set
|
|
5285
|
+
if(tableId===undefined||tableId===null||tableId===''){throw'Missing the required parameter "tableId" when calling deleteBusinessrulesDecisiontableImport';}// verify the required parameter 'importJobId' is set
|
|
5286
|
+
if(importJobId===undefined||importJobId===null||importJobId===''){throw'Missing the required parameter "importJobId" when calling deleteBusinessrulesDecisiontableImport';}return this.apiClient.callApi('/api/v2/businessrules/decisiontables/{tableId}/imports/{importJobId}','DELETE',{'tableId':tableId,'importJobId':importJobId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json'],opts['customHeaders']);}/**
|
|
5313
5287
|
* Delete a decision table version
|
|
5314
5288
|
*
|
|
5315
5289
|
* @param {String} tableId Table ID
|
|
@@ -5344,6 +5318,42 @@ if(schemaId===undefined||schemaId===null||schemaId===''){throw'Missing the requi
|
|
|
5344
5318
|
* @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
|
|
5345
5319
|
*/},{key:"getBusinessrulesDecisiontable",value:function getBusinessrulesDecisiontable(tableId,opts){opts=opts||{};// verify the required parameter 'tableId' is set
|
|
5346
5320
|
if(tableId===undefined||tableId===null||tableId===''){throw'Missing the required parameter "tableId" when calling getBusinessrulesDecisiontable';}return this.apiClient.callApi('/api/v2/businessrules/decisiontables/{tableId}','GET',{'tableId':tableId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json'],opts['customHeaders']);}/**
|
|
5321
|
+
* Get an export job for a decision table
|
|
5322
|
+
*
|
|
5323
|
+
* @param {String} tableId Table ID
|
|
5324
|
+
* @param {String} exportJobId Export Job ID
|
|
5325
|
+
* @param {Object} opts Optional parameters
|
|
5326
|
+
* @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
|
|
5327
|
+
*/},{key:"getBusinessrulesDecisiontableExport",value:function getBusinessrulesDecisiontableExport(tableId,exportJobId,opts){opts=opts||{};// verify the required parameter 'tableId' is set
|
|
5328
|
+
if(tableId===undefined||tableId===null||tableId===''){throw'Missing the required parameter "tableId" when calling getBusinessrulesDecisiontableExport';}// verify the required parameter 'exportJobId' is set
|
|
5329
|
+
if(exportJobId===undefined||exportJobId===null||exportJobId===''){throw'Missing the required parameter "exportJobId" when calling getBusinessrulesDecisiontableExport';}return this.apiClient.callApi('/api/v2/businessrules/decisiontables/{tableId}/exports/{exportJobId}','GET',{'tableId':tableId,'exportJobId':exportJobId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json'],opts['customHeaders']);}/**
|
|
5330
|
+
* List export jobs for a decision table
|
|
5331
|
+
*
|
|
5332
|
+
* @param {String} tableId Table ID
|
|
5333
|
+
* @param {Object} opts Optional parameters
|
|
5334
|
+
* @param {String} opts.after The cursor that points to the end of the set of entities that has been returned.
|
|
5335
|
+
* @param {String} opts.pageSize Number of entities to return. Maximum of 100.
|
|
5336
|
+
* @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
|
|
5337
|
+
*/},{key:"getBusinessrulesDecisiontableExports",value:function getBusinessrulesDecisiontableExports(tableId,opts){opts=opts||{};// verify the required parameter 'tableId' is set
|
|
5338
|
+
if(tableId===undefined||tableId===null||tableId===''){throw'Missing the required parameter "tableId" when calling getBusinessrulesDecisiontableExports';}return this.apiClient.callApi('/api/v2/businessrules/decisiontables/{tableId}/exports','GET',{'tableId':tableId},{'after':opts['after'],'pageSize':opts['pageSize']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json'],opts['customHeaders']);}/**
|
|
5339
|
+
* Get decision table row import job
|
|
5340
|
+
*
|
|
5341
|
+
* @param {String} tableId Table ID
|
|
5342
|
+
* @param {String} importJobId Import job ID
|
|
5343
|
+
* @param {Object} opts Optional parameters
|
|
5344
|
+
* @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
|
|
5345
|
+
*/},{key:"getBusinessrulesDecisiontableImport",value:function getBusinessrulesDecisiontableImport(tableId,importJobId,opts){opts=opts||{};// verify the required parameter 'tableId' is set
|
|
5346
|
+
if(tableId===undefined||tableId===null||tableId===''){throw'Missing the required parameter "tableId" when calling getBusinessrulesDecisiontableImport';}// verify the required parameter 'importJobId' is set
|
|
5347
|
+
if(importJobId===undefined||importJobId===null||importJobId===''){throw'Missing the required parameter "importJobId" when calling getBusinessrulesDecisiontableImport';}return this.apiClient.callApi('/api/v2/businessrules/decisiontables/{tableId}/imports/{importJobId}','GET',{'tableId':tableId,'importJobId':importJobId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json'],opts['customHeaders']);}/**
|
|
5348
|
+
* List decision table row import jobs
|
|
5349
|
+
*
|
|
5350
|
+
* @param {String} tableId Table ID
|
|
5351
|
+
* @param {Object} opts Optional parameters
|
|
5352
|
+
* @param {String} opts.after The cursor that points to the end of the set of entities that has been returned.
|
|
5353
|
+
* @param {String} opts.pageSize Number of entities to return. Maximum of 100.
|
|
5354
|
+
* @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
|
|
5355
|
+
*/},{key:"getBusinessrulesDecisiontableImports",value:function getBusinessrulesDecisiontableImports(tableId,opts){opts=opts||{};// verify the required parameter 'tableId' is set
|
|
5356
|
+
if(tableId===undefined||tableId===null||tableId===''){throw'Missing the required parameter "tableId" when calling getBusinessrulesDecisiontableImports';}return this.apiClient.callApi('/api/v2/businessrules/decisiontables/{tableId}/imports','GET',{'tableId':tableId},{'after':opts['after'],'pageSize':opts['pageSize']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json'],opts['customHeaders']);}/**
|
|
5347
5357
|
* Get a decision table version
|
|
5348
5358
|
*
|
|
5349
5359
|
* @param {String} tableId Table ID
|
|
@@ -5438,6 +5448,17 @@ if(coreTypeName===undefined||coreTypeName===null||coreTypeName===''){throw'Missi
|
|
|
5438
5448
|
*/},{key:"patchBusinessrulesDecisiontable",value:function patchBusinessrulesDecisiontable(tableId,body,opts){opts=opts||{};// verify the required parameter 'tableId' is set
|
|
5439
5449
|
if(tableId===undefined||tableId===null||tableId===''){throw'Missing the required parameter "tableId" when calling patchBusinessrulesDecisiontable';}// verify the required parameter 'body' is set
|
|
5440
5450
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling patchBusinessrulesDecisiontable';}return this.apiClient.callApi('/api/v2/businessrules/decisiontables/{tableId}','PATCH',{'tableId':tableId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json'],opts['customHeaders']);}/**
|
|
5451
|
+
* Update decision table row import job
|
|
5452
|
+
*
|
|
5453
|
+
* @param {String} tableId Table ID
|
|
5454
|
+
* @param {String} importJobId Import job ID
|
|
5455
|
+
* @param {Object} body Import job update request
|
|
5456
|
+
* @param {Object} opts Optional parameters
|
|
5457
|
+
* @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
|
|
5458
|
+
*/},{key:"patchBusinessrulesDecisiontableImport",value:function patchBusinessrulesDecisiontableImport(tableId,importJobId,body,opts){opts=opts||{};// verify the required parameter 'tableId' is set
|
|
5459
|
+
if(tableId===undefined||tableId===null||tableId===''){throw'Missing the required parameter "tableId" when calling patchBusinessrulesDecisiontableImport';}// verify the required parameter 'importJobId' is set
|
|
5460
|
+
if(importJobId===undefined||importJobId===null||importJobId===''){throw'Missing the required parameter "importJobId" when calling patchBusinessrulesDecisiontableImport';}// verify the required parameter 'body' is set
|
|
5461
|
+
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling patchBusinessrulesDecisiontableImport';}return this.apiClient.callApi('/api/v2/businessrules/decisiontables/{tableId}/imports/{importJobId}','PATCH',{'tableId':tableId,'importJobId':importJobId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json'],opts['customHeaders']);}/**
|
|
5441
5462
|
* Update a decision table version
|
|
5442
5463
|
*
|
|
5443
5464
|
* @param {String} tableId Table ID
|
|
@@ -5458,6 +5479,24 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
5458
5479
|
*/},{key:"postBusinessrulesDecisiontableExecute",value:function postBusinessrulesDecisiontableExecute(tableId,body,opts){opts=opts||{};// verify the required parameter 'tableId' is set
|
|
5459
5480
|
if(tableId===undefined||tableId===null||tableId===''){throw'Missing the required parameter "tableId" when calling postBusinessrulesDecisiontableExecute';}// verify the required parameter 'body' is set
|
|
5460
5481
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postBusinessrulesDecisiontableExecute';}return this.apiClient.callApi('/api/v2/businessrules/decisiontables/{tableId}/execute','POST',{'tableId':tableId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json'],opts['customHeaders']);}/**
|
|
5482
|
+
* Create an export job for a decision table version
|
|
5483
|
+
*
|
|
5484
|
+
* @param {String} tableId Table ID
|
|
5485
|
+
* @param {Object} body Export job request
|
|
5486
|
+
* @param {Object} opts Optional parameters
|
|
5487
|
+
* @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
|
|
5488
|
+
*/},{key:"postBusinessrulesDecisiontableExports",value:function postBusinessrulesDecisiontableExports(tableId,body,opts){opts=opts||{};// verify the required parameter 'tableId' is set
|
|
5489
|
+
if(tableId===undefined||tableId===null||tableId===''){throw'Missing the required parameter "tableId" when calling postBusinessrulesDecisiontableExports';}// verify the required parameter 'body' is set
|
|
5490
|
+
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postBusinessrulesDecisiontableExports';}return this.apiClient.callApi('/api/v2/businessrules/decisiontables/{tableId}/exports','POST',{'tableId':tableId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json'],opts['customHeaders']);}/**
|
|
5491
|
+
* Create a decision table row import job
|
|
5492
|
+
*
|
|
5493
|
+
* @param {String} tableId Table ID
|
|
5494
|
+
* @param {Object} body Import job create request
|
|
5495
|
+
* @param {Object} opts Optional parameters
|
|
5496
|
+
* @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
|
|
5497
|
+
*/},{key:"postBusinessrulesDecisiontableImports",value:function postBusinessrulesDecisiontableImports(tableId,body,opts){opts=opts||{};// verify the required parameter 'tableId' is set
|
|
5498
|
+
if(tableId===undefined||tableId===null||tableId===''){throw'Missing the required parameter "tableId" when calling postBusinessrulesDecisiontableImports';}// verify the required parameter 'body' is set
|
|
5499
|
+
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postBusinessrulesDecisiontableImports';}return this.apiClient.callApi('/api/v2/businessrules/decisiontables/{tableId}/imports','POST',{'tableId':tableId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json'],opts['customHeaders']);}/**
|
|
5461
5500
|
* Copy a decision table version
|
|
5462
5501
|
*
|
|
5463
5502
|
* @param {String} tableId Table ID
|
|
@@ -5491,6 +5530,39 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
5491
5530
|
if(tableId===undefined||tableId===null||tableId===''){throw'Missing the required parameter "tableId" when calling postBusinessrulesDecisiontableVersionRows';}// verify the required parameter 'tableVersion' is set
|
|
5492
5531
|
if(tableVersion===undefined||tableVersion===null){throw'Missing the required parameter "tableVersion" when calling postBusinessrulesDecisiontableVersionRows';}// verify the required parameter 'body' is set
|
|
5493
5532
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postBusinessrulesDecisiontableVersionRows';}return this.apiClient.callApi('/api/v2/businessrules/decisiontables/{tableId}/versions/{tableVersion}/rows','POST',{'tableId':tableId,'tableVersion':tableVersion},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json'],opts['customHeaders']);}/**
|
|
5533
|
+
* Bulk add decision table rows
|
|
5534
|
+
* 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.
|
|
5535
|
+
* @param {String} tableId Table ID
|
|
5536
|
+
* @param {Number} tableVersion Table Version
|
|
5537
|
+
* @param {Object} body Bulk add decision table rows request
|
|
5538
|
+
* @param {Object} opts Optional parameters
|
|
5539
|
+
* @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
|
|
5540
|
+
*/},{key:"postBusinessrulesDecisiontableVersionRowsBulkAdd",value:function postBusinessrulesDecisiontableVersionRowsBulkAdd(tableId,tableVersion,body,opts){opts=opts||{};// verify the required parameter 'tableId' is set
|
|
5541
|
+
if(tableId===undefined||tableId===null||tableId===''){throw'Missing the required parameter "tableId" when calling postBusinessrulesDecisiontableVersionRowsBulkAdd';}// verify the required parameter 'tableVersion' is set
|
|
5542
|
+
if(tableVersion===undefined||tableVersion===null){throw'Missing the required parameter "tableVersion" when calling postBusinessrulesDecisiontableVersionRowsBulkAdd';}// verify the required parameter 'body' is set
|
|
5543
|
+
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postBusinessrulesDecisiontableVersionRowsBulkAdd';}return this.apiClient.callApi('/api/v2/businessrules/decisiontables/{tableId}/versions/{tableVersion}/rows/bulk/add','POST',{'tableId':tableId,'tableVersion':tableVersion},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json'],opts['customHeaders']);}/**
|
|
5544
|
+
* Bulk delete decision table rows
|
|
5545
|
+
* 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.
|
|
5546
|
+
* @param {String} tableId Table ID
|
|
5547
|
+
* @param {Number} tableVersion Table Version
|
|
5548
|
+
* @param {Object} body
|
|
5549
|
+
* @param {Object} opts Optional parameters
|
|
5550
|
+
* @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
|
|
5551
|
+
*/},{key:"postBusinessrulesDecisiontableVersionRowsBulkRemove",value:function postBusinessrulesDecisiontableVersionRowsBulkRemove(tableId,tableVersion,body,opts){opts=opts||{};// verify the required parameter 'tableId' is set
|
|
5552
|
+
if(tableId===undefined||tableId===null||tableId===''){throw'Missing the required parameter "tableId" when calling postBusinessrulesDecisiontableVersionRowsBulkRemove';}// verify the required parameter 'tableVersion' is set
|
|
5553
|
+
if(tableVersion===undefined||tableVersion===null){throw'Missing the required parameter "tableVersion" when calling postBusinessrulesDecisiontableVersionRowsBulkRemove';}// verify the required parameter 'body' is set
|
|
5554
|
+
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postBusinessrulesDecisiontableVersionRowsBulkRemove';}return this.apiClient.callApi('/api/v2/businessrules/decisiontables/{tableId}/versions/{tableVersion}/rows/bulk/remove','POST',{'tableId':tableId,'tableVersion':tableVersion},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json'],opts['customHeaders']);}/**
|
|
5555
|
+
* Bulk update decision table rows
|
|
5556
|
+
* 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.
|
|
5557
|
+
* @param {String} tableId Table ID
|
|
5558
|
+
* @param {Number} tableVersion Table Version
|
|
5559
|
+
* @param {Object} body Bulk update decision table rows request
|
|
5560
|
+
* @param {Object} opts Optional parameters
|
|
5561
|
+
* @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
|
|
5562
|
+
*/},{key:"postBusinessrulesDecisiontableVersionRowsBulkUpdate",value:function postBusinessrulesDecisiontableVersionRowsBulkUpdate(tableId,tableVersion,body,opts){opts=opts||{};// verify the required parameter 'tableId' is set
|
|
5563
|
+
if(tableId===undefined||tableId===null||tableId===''){throw'Missing the required parameter "tableId" when calling postBusinessrulesDecisiontableVersionRowsBulkUpdate';}// verify the required parameter 'tableVersion' is set
|
|
5564
|
+
if(tableVersion===undefined||tableVersion===null){throw'Missing the required parameter "tableVersion" when calling postBusinessrulesDecisiontableVersionRowsBulkUpdate';}// verify the required parameter 'body' is set
|
|
5565
|
+
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postBusinessrulesDecisiontableVersionRowsBulkUpdate';}return this.apiClient.callApi('/api/v2/businessrules/decisiontables/{tableId}/versions/{tableVersion}/rows/bulk/update','POST',{'tableId':tableId,'tableVersion':tableVersion},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json'],opts['customHeaders']);}/**
|
|
5494
5566
|
* Search for decision table rows
|
|
5495
5567
|
*
|
|
5496
5568
|
* @param {String} tableId Table ID
|
|
@@ -5567,7 +5639,7 @@ if(schemaId===undefined||schemaId===null||schemaId===''){throw'Missing the requi
|
|
|
5567
5639
|
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'],opts['customHeaders']);}}]);}();var CarrierServicesApi=/*#__PURE__*/function(){/**
|
|
5568
5640
|
* CarrierServices service.
|
|
5569
5641
|
* @module purecloud-platform-client-v2/api/CarrierServicesApi
|
|
5570
|
-
* @version
|
|
5642
|
+
* @version 255.0.0
|
|
5571
5643
|
*//**
|
|
5572
5644
|
* Constructs a new CarrierServicesApi.
|
|
5573
5645
|
* @alias module:purecloud-platform-client-v2/api/CarrierServicesApi
|
|
@@ -5590,7 +5662,7 @@ if(phoneNumber===undefined||phoneNumber===null){throw'Missing the required param
|
|
|
5590
5662
|
*/},{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'],opts['customHeaders']);}}]);}();var CaseManagementApi=/*#__PURE__*/function(){/**
|
|
5591
5663
|
* CaseManagement service.
|
|
5592
5664
|
* @module purecloud-platform-client-v2/api/CaseManagementApi
|
|
5593
|
-
* @version
|
|
5665
|
+
* @version 255.0.0
|
|
5594
5666
|
*//**
|
|
5595
5667
|
* Constructs a new CaseManagementApi.
|
|
5596
5668
|
* @alias module:purecloud-platform-client-v2/api/CaseManagementApi
|
|
@@ -5600,167 +5672,160 @@ if(phoneNumber===undefined||phoneNumber===null){throw'Missing the required param
|
|
|
5600
5672
|
*/function CaseManagementApi(apiClient){_classCallCheck(this,CaseManagementApi);this.apiClient=apiClient||ApiClient.instance;}/**
|
|
5601
5673
|
* Delete a Case.
|
|
5602
5674
|
*
|
|
5603
|
-
* @param {String} caseId Case
|
|
5675
|
+
* @param {String} caseId Case identifier.
|
|
5604
5676
|
* @param {Object} opts Optional parameters
|
|
5605
5677
|
* @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
|
|
5606
|
-
* deleteCasemanagementCase is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
5607
5678
|
*/return _createClass(CaseManagementApi,[{key:"deleteCasemanagementCase",value:function deleteCasemanagementCase(caseId,opts){opts=opts||{};// verify the required parameter 'caseId' is set
|
|
5608
5679
|
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'],opts['customHeaders']);}/**
|
|
5609
5680
|
* Delete a Caseplan.
|
|
5610
5681
|
*
|
|
5611
|
-
* @param {String} caseplanId Caseplan
|
|
5682
|
+
* @param {String} caseplanId Caseplan identifier.
|
|
5612
5683
|
* @param {Object} opts Optional parameters
|
|
5613
5684
|
* @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
|
|
5614
|
-
* deleteCasemanagementCaseplan is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
5615
5685
|
*/},{key:"deleteCasemanagementCaseplan",value:function deleteCasemanagementCaseplan(caseplanId,opts){opts=opts||{};// verify the required parameter 'caseplanId' is set
|
|
5616
5686
|
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'],opts['customHeaders']);}/**
|
|
5687
|
+
* Remove a data schema from a draft Caseplan.
|
|
5688
|
+
*
|
|
5689
|
+
* @param {String} caseplanId Caseplan identifier.
|
|
5690
|
+
* @param {String} schemaKeyName Schema key (for example default).
|
|
5691
|
+
* @param {Object} opts Optional parameters
|
|
5692
|
+
* @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
|
|
5693
|
+
*/},{key:"deleteCasemanagementCaseplanDataschema",value:function deleteCasemanagementCaseplanDataschema(caseplanId,schemaKeyName,opts){opts=opts||{};// verify the required parameter 'caseplanId' is set
|
|
5694
|
+
if(caseplanId===undefined||caseplanId===null||caseplanId===''){throw'Missing the required parameter "caseplanId" when calling deleteCasemanagementCaseplanDataschema';}// verify the required parameter 'schemaKeyName' is set
|
|
5695
|
+
if(schemaKeyName===undefined||schemaKeyName===null||schemaKeyName===''){throw'Missing the required parameter "schemaKeyName" when calling deleteCasemanagementCaseplanDataschema';}return this.apiClient.callApi('/api/v2/casemanagement/caseplans/{caseplanId}/dataschemas/{schemaKeyName}','DELETE',{'caseplanId':caseplanId,'schemaKeyName':schemaKeyName},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json'],opts['customHeaders']);}/**
|
|
5617
5696
|
* Get a Case.
|
|
5618
5697
|
*
|
|
5619
|
-
* @param {String} caseId Case
|
|
5698
|
+
* @param {String} caseId Case identifier.
|
|
5620
5699
|
* @param {Object} opts Optional parameters
|
|
5621
|
-
* @param {Object} opts.expands
|
|
5700
|
+
* @param {Object} opts.expands Fields to expand.
|
|
5622
5701
|
* @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
|
|
5623
|
-
* getCasemanagementCase is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
5624
5702
|
*/},{key:"getCasemanagementCase",value:function getCasemanagementCase(caseId,opts){opts=opts||{};// verify the required parameter 'caseId' is set
|
|
5625
5703
|
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'],opts['customHeaders']);}/**
|
|
5626
5704
|
* Get a Case Association.
|
|
5627
5705
|
*
|
|
5628
|
-
* @param {String} caseId Case
|
|
5629
|
-
* @param {String} associationId Case
|
|
5706
|
+
* @param {String} caseId Case identifier.
|
|
5707
|
+
* @param {String} associationId Case association identifier.
|
|
5630
5708
|
* @param {Object} opts Optional parameters
|
|
5631
5709
|
* @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
|
|
5632
|
-
* getCasemanagementCaseAssociation is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
5633
5710
|
*/},{key:"getCasemanagementCaseAssociation",value:function getCasemanagementCaseAssociation(caseId,associationId,opts){opts=opts||{};// verify the required parameter 'caseId' is set
|
|
5634
5711
|
if(caseId===undefined||caseId===null||caseId===''){throw'Missing the required parameter "caseId" when calling getCasemanagementCaseAssociation';}// verify the required parameter 'associationId' is set
|
|
5635
5712
|
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'],opts['customHeaders']);}/**
|
|
5636
|
-
* Get a list of
|
|
5713
|
+
* Get a list of Case associations for the Case.
|
|
5637
5714
|
*
|
|
5638
|
-
* @param {String} caseId Case
|
|
5715
|
+
* @param {String} caseId Case identifier.
|
|
5639
5716
|
* @param {Object} opts Optional parameters
|
|
5640
5717
|
* @param {String} opts.before The cursor that points to the start of the set of entities that has been returned.
|
|
5641
5718
|
* @param {String} opts.after The cursor that points to the end of the set of entities that has been returned.
|
|
5642
5719
|
* @param {String} opts.pageSize Number of entities to return. Maximum of 200.
|
|
5643
5720
|
* @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
|
|
5644
|
-
* getCasemanagementCaseAssociations is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
5645
5721
|
*/},{key:"getCasemanagementCaseAssociations",value:function getCasemanagementCaseAssociations(caseId,opts){opts=opts||{};// verify the required parameter 'caseId' is set
|
|
5646
5722
|
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'],opts['customHeaders']);}/**
|
|
5647
5723
|
* Get a Stage.
|
|
5648
5724
|
*
|
|
5649
|
-
* @param {String} caseId Case
|
|
5650
|
-
* @param {String} stageId Stage
|
|
5725
|
+
* @param {String} caseId Case identifier.
|
|
5726
|
+
* @param {String} stageId Stage identifier.
|
|
5651
5727
|
* @param {Object} opts Optional parameters
|
|
5652
5728
|
* @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
|
|
5653
|
-
* getCasemanagementCaseStage is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
5654
5729
|
*/},{key:"getCasemanagementCaseStage",value:function getCasemanagementCaseStage(caseId,stageId,opts){opts=opts||{};// verify the required parameter 'caseId' is set
|
|
5655
5730
|
if(caseId===undefined||caseId===null||caseId===''){throw'Missing the required parameter "caseId" when calling getCasemanagementCaseStage';}// verify the required parameter 'stageId' is set
|
|
5656
5731
|
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'],opts['customHeaders']);}/**
|
|
5657
5732
|
* Get a Step.
|
|
5658
5733
|
*
|
|
5659
|
-
* @param {String} caseId Case
|
|
5660
|
-
* @param {String} stageId Stage
|
|
5661
|
-
* @param {String} stepId Step
|
|
5734
|
+
* @param {String} caseId Case identifier.
|
|
5735
|
+
* @param {String} stageId Stage identifier.
|
|
5736
|
+
* @param {String} stepId Step identifier.
|
|
5662
5737
|
* @param {Object} opts Optional parameters
|
|
5663
5738
|
* @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
|
|
5664
|
-
* getCasemanagementCaseStageStep is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
5665
5739
|
*/},{key:"getCasemanagementCaseStageStep",value:function getCasemanagementCaseStageStep(caseId,stageId,stepId,opts){opts=opts||{};// verify the required parameter 'caseId' is set
|
|
5666
5740
|
if(caseId===undefined||caseId===null||caseId===''){throw'Missing the required parameter "caseId" when calling getCasemanagementCaseStageStep';}// verify the required parameter 'stageId' is set
|
|
5667
5741
|
if(stageId===undefined||stageId===null||stageId===''){throw'Missing the required parameter "stageId" when calling getCasemanagementCaseStageStep';}// verify the required parameter 'stepId' is set
|
|
5668
5742
|
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'],opts['customHeaders']);}/**
|
|
5669
5743
|
* Get a list of Steps.
|
|
5670
5744
|
*
|
|
5671
|
-
* @param {String} caseId Case
|
|
5672
|
-
* @param {String} stageId Stage
|
|
5745
|
+
* @param {String} caseId Case identifier.
|
|
5746
|
+
* @param {String} stageId Stage identifier.
|
|
5673
5747
|
* @param {Object} opts Optional parameters
|
|
5674
5748
|
* @param {String} opts.before The cursor that points to the start of the set of entities that has been returned.
|
|
5675
5749
|
* @param {String} opts.after The cursor that points to the end of the set of entities that has been returned.
|
|
5676
5750
|
* @param {String} opts.pageSize Number of entities to return. Maximum of 200.
|
|
5677
5751
|
* @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
|
|
5678
|
-
* getCasemanagementCaseStageSteps is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
5679
5752
|
*/},{key:"getCasemanagementCaseStageSteps",value:function getCasemanagementCaseStageSteps(caseId,stageId,opts){opts=opts||{};// verify the required parameter 'caseId' is set
|
|
5680
5753
|
if(caseId===undefined||caseId===null||caseId===''){throw'Missing the required parameter "caseId" when calling getCasemanagementCaseStageSteps';}// verify the required parameter 'stageId' is set
|
|
5681
5754
|
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'],opts['customHeaders']);}/**
|
|
5682
5755
|
* Get a list of Stages.
|
|
5683
5756
|
*
|
|
5684
|
-
* @param {String} caseId Case
|
|
5757
|
+
* @param {String} caseId Case identifier.
|
|
5685
5758
|
* @param {Object} opts Optional parameters
|
|
5686
5759
|
* @param {String} opts.before The cursor that points to the start of the set of entities that has been returned.
|
|
5687
5760
|
* @param {String} opts.after The cursor that points to the end of the set of entities that has been returned.
|
|
5688
5761
|
* @param {String} opts.pageSize Number of entities to return. Maximum of 200.
|
|
5689
5762
|
* @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
|
|
5690
|
-
* getCasemanagementCaseStages is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
5691
5763
|
*/},{key:"getCasemanagementCaseStages",value:function getCasemanagementCaseStages(caseId,opts){opts=opts||{};// verify the required parameter 'caseId' is set
|
|
5692
5764
|
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'],opts['customHeaders']);}/**
|
|
5693
5765
|
* Get a Terminate Job for a Case.
|
|
5694
5766
|
*
|
|
5695
|
-
* @param {String} caseId Case
|
|
5696
|
-
* @param {String} jobId Job
|
|
5767
|
+
* @param {String} caseId Case identifier.
|
|
5768
|
+
* @param {String} jobId Terminate Job identifier.
|
|
5697
5769
|
* @param {Object} opts Optional parameters
|
|
5698
5770
|
* @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
|
|
5699
|
-
* getCasemanagementCaseTerminateJob is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
5700
5771
|
*/},{key:"getCasemanagementCaseTerminateJob",value:function getCasemanagementCaseTerminateJob(caseId,jobId,opts){opts=opts||{};// verify the required parameter 'caseId' is set
|
|
5701
5772
|
if(caseId===undefined||caseId===null||caseId===''){throw'Missing the required parameter "caseId" when calling getCasemanagementCaseTerminateJob';}// verify the required parameter 'jobId' is set
|
|
5702
5773
|
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'],opts['customHeaders']);}/**
|
|
5703
5774
|
* Get a Caseplan.
|
|
5704
5775
|
*
|
|
5705
|
-
* @param {String} caseplanId Caseplan
|
|
5776
|
+
* @param {String} caseplanId Caseplan identifier.
|
|
5706
5777
|
* @param {Object} opts Optional parameters
|
|
5707
5778
|
* @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
|
|
5708
|
-
* getCasemanagementCaseplan is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
5709
5779
|
*/},{key:"getCasemanagementCaseplan",value:function getCasemanagementCaseplan(caseplanId,opts){opts=opts||{};// verify the required parameter 'caseplanId' is set
|
|
5710
5780
|
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'],opts['customHeaders']);}/**
|
|
5711
5781
|
* Get a Caseplan version.
|
|
5712
5782
|
*
|
|
5713
|
-
* @param {String} caseplanId Caseplan
|
|
5714
|
-
* @param {String} versionId
|
|
5783
|
+
* @param {String} caseplanId Caseplan identifier.
|
|
5784
|
+
* @param {String} versionId Caseplan version identifier.
|
|
5715
5785
|
* @param {Object} opts Optional parameters
|
|
5716
5786
|
* @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
|
|
5717
|
-
* getCasemanagementCaseplanVersion is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
5718
5787
|
*/},{key:"getCasemanagementCaseplanVersion",value:function getCasemanagementCaseplanVersion(caseplanId,versionId,opts){opts=opts||{};// verify the required parameter 'caseplanId' is set
|
|
5719
5788
|
if(caseplanId===undefined||caseplanId===null||caseplanId===''){throw'Missing the required parameter "caseplanId" when calling getCasemanagementCaseplanVersion';}// verify the required parameter 'versionId' is set
|
|
5720
5789
|
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'],opts['customHeaders']);}/**
|
|
5721
|
-
* Get the
|
|
5790
|
+
* Get the data schemas for a Caseplan version.
|
|
5722
5791
|
*
|
|
5723
|
-
* @param {String} caseplanId Caseplan
|
|
5724
|
-
* @param {String} versionId
|
|
5792
|
+
* @param {String} caseplanId Caseplan identifier.
|
|
5793
|
+
* @param {String} versionId Caseplan version identifier.
|
|
5725
5794
|
* @param {Object} opts Optional parameters
|
|
5726
5795
|
* @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
|
|
5727
|
-
* getCasemanagementCaseplanVersionDataschemas is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
5728
5796
|
*/},{key:"getCasemanagementCaseplanVersionDataschemas",value:function getCasemanagementCaseplanVersionDataschemas(caseplanId,versionId,opts){opts=opts||{};// verify the required parameter 'caseplanId' is set
|
|
5729
5797
|
if(caseplanId===undefined||caseplanId===null||caseplanId===''){throw'Missing the required parameter "caseplanId" when calling getCasemanagementCaseplanVersionDataschemas';}// verify the required parameter 'versionId' is set
|
|
5730
5798
|
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'],opts['customHeaders']);}/**
|
|
5731
5799
|
* Get the intake settings for a Caseplan version.
|
|
5732
5800
|
*
|
|
5733
|
-
* @param {String} caseplanId Caseplan
|
|
5734
|
-
* @param {String} versionId
|
|
5801
|
+
* @param {String} caseplanId Caseplan identifier.
|
|
5802
|
+
* @param {String} versionId Caseplan version identifier.
|
|
5735
5803
|
* @param {Object} opts Optional parameters
|
|
5736
5804
|
* @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
|
|
5737
|
-
* getCasemanagementCaseplanVersionIntakesettings is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
5738
5805
|
*/},{key:"getCasemanagementCaseplanVersionIntakesettings",value:function getCasemanagementCaseplanVersionIntakesettings(caseplanId,versionId,opts){opts=opts||{};// verify the required parameter 'caseplanId' is set
|
|
5739
5806
|
if(caseplanId===undefined||caseplanId===null||caseplanId===''){throw'Missing the required parameter "caseplanId" when calling getCasemanagementCaseplanVersionIntakesettings';}// verify the required parameter 'versionId' is set
|
|
5740
5807
|
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'],opts['customHeaders']);}/**
|
|
5741
5808
|
* Get a Stageplan.
|
|
5742
5809
|
*
|
|
5743
|
-
* @param {String} caseplanId Caseplan
|
|
5744
|
-
* @param {String} versionId
|
|
5745
|
-
* @param {String} stageplanId Stageplan
|
|
5810
|
+
* @param {String} caseplanId Caseplan identifier.
|
|
5811
|
+
* @param {String} versionId Caseplan version identifier.
|
|
5812
|
+
* @param {String} stageplanId Stageplan identifier.
|
|
5746
5813
|
* @param {Object} opts Optional parameters
|
|
5747
|
-
* @param {Array.<String>} opts.expands
|
|
5814
|
+
* @param {Array.<String>} opts.expands Fields to expand.
|
|
5748
5815
|
* @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
|
|
5749
|
-
* getCasemanagementCaseplanVersionStageplan is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
5750
5816
|
*/},{key:"getCasemanagementCaseplanVersionStageplan",value:function getCasemanagementCaseplanVersionStageplan(caseplanId,versionId,stageplanId,opts){opts=opts||{};// verify the required parameter 'caseplanId' is set
|
|
5751
5817
|
if(caseplanId===undefined||caseplanId===null||caseplanId===''){throw'Missing the required parameter "caseplanId" when calling getCasemanagementCaseplanVersionStageplan';}// verify the required parameter 'versionId' is set
|
|
5752
5818
|
if(versionId===undefined||versionId===null||versionId===''){throw'Missing the required parameter "versionId" when calling getCasemanagementCaseplanVersionStageplan';}// verify the required parameter 'stageplanId' is set
|
|
5753
5819
|
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'],opts['customHeaders']);}/**
|
|
5754
5820
|
* Get a Stepplan.
|
|
5755
5821
|
*
|
|
5756
|
-
* @param {String} caseplanId Caseplan
|
|
5757
|
-
* @param {String} versionId
|
|
5758
|
-
* @param {String} stageplanId Stageplan
|
|
5759
|
-
* @param {String} stepplanId Stepplan
|
|
5822
|
+
* @param {String} caseplanId Caseplan identifier.
|
|
5823
|
+
* @param {String} versionId Caseplan version identifier.
|
|
5824
|
+
* @param {String} stageplanId Stageplan identifier.
|
|
5825
|
+
* @param {String} stepplanId Stepplan identifier.
|
|
5760
5826
|
* @param {Object} opts Optional parameters
|
|
5761
|
-
* @param {Array.<String>} opts.expands
|
|
5827
|
+
* @param {Array.<String>} opts.expands Fields to expand.
|
|
5762
5828
|
* @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
|
|
5763
|
-
* getCasemanagementCaseplanVersionStageplanStepplan is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
5764
5829
|
*/},{key:"getCasemanagementCaseplanVersionStageplanStepplan",value:function getCasemanagementCaseplanVersionStageplanStepplan(caseplanId,versionId,stageplanId,stepplanId,opts){opts=opts||{};// verify the required parameter 'caseplanId' is set
|
|
5765
5830
|
if(caseplanId===undefined||caseplanId===null||caseplanId===''){throw'Missing the required parameter "caseplanId" when calling getCasemanagementCaseplanVersionStageplanStepplan';}// verify the required parameter 'versionId' is set
|
|
5766
5831
|
if(versionId===undefined||versionId===null||versionId===''){throw'Missing the required parameter "versionId" when calling getCasemanagementCaseplanVersionStageplanStepplan';}// verify the required parameter 'stageplanId' is set
|
|
@@ -5768,208 +5833,210 @@ if(stageplanId===undefined||stageplanId===null||stageplanId===''){throw'Missing
|
|
|
5768
5833
|
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'],opts['customHeaders']);}/**
|
|
5769
5834
|
* Get a list of Stepplans.
|
|
5770
5835
|
*
|
|
5771
|
-
* @param {String} caseplanId Caseplan
|
|
5772
|
-
* @param {String} versionId
|
|
5773
|
-
* @param {String} stageplanId Stageplan
|
|
5836
|
+
* @param {String} caseplanId Caseplan identifier.
|
|
5837
|
+
* @param {String} versionId Caseplan version identifier.
|
|
5838
|
+
* @param {String} stageplanId Stageplan identifier.
|
|
5774
5839
|
* @param {Object} opts Optional parameters
|
|
5775
5840
|
* @param {String} opts.before The cursor that points to the start of the set of entities that has been returned.
|
|
5776
5841
|
* @param {String} opts.after The cursor that points to the end of the set of entities that has been returned.
|
|
5777
5842
|
* @param {String} opts.pageSize Number of entities to return. Maximum of 200.
|
|
5778
|
-
* @param {Array.<String>} opts.expands
|
|
5843
|
+
* @param {Array.<String>} opts.expands Fields to expand.
|
|
5779
5844
|
* @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
|
|
5780
|
-
* getCasemanagementCaseplanVersionStageplanStepplans is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
5781
5845
|
*/},{key:"getCasemanagementCaseplanVersionStageplanStepplans",value:function getCasemanagementCaseplanVersionStageplanStepplans(caseplanId,versionId,stageplanId,opts){opts=opts||{};// verify the required parameter 'caseplanId' is set
|
|
5782
5846
|
if(caseplanId===undefined||caseplanId===null||caseplanId===''){throw'Missing the required parameter "caseplanId" when calling getCasemanagementCaseplanVersionStageplanStepplans';}// verify the required parameter 'versionId' is set
|
|
5783
5847
|
if(versionId===undefined||versionId===null||versionId===''){throw'Missing the required parameter "versionId" when calling getCasemanagementCaseplanVersionStageplanStepplans';}// verify the required parameter 'stageplanId' is set
|
|
5784
5848
|
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'],opts['customHeaders']);}/**
|
|
5785
5849
|
* Get a list of Stageplans.
|
|
5786
5850
|
*
|
|
5787
|
-
* @param {String} caseplanId Caseplan
|
|
5788
|
-
* @param {String} versionId
|
|
5851
|
+
* @param {String} caseplanId Caseplan identifier.
|
|
5852
|
+
* @param {String} versionId Caseplan version identifier.
|
|
5789
5853
|
* @param {Object} opts Optional parameters
|
|
5790
5854
|
* @param {String} opts.before The cursor that points to the start of the set of entities that has been returned.
|
|
5791
5855
|
* @param {String} opts.after The cursor that points to the end of the set of entities that has been returned.
|
|
5792
5856
|
* @param {String} opts.pageSize Number of entities to return. Maximum of 200.
|
|
5793
|
-
* @param {Array.<String>} opts.expands
|
|
5857
|
+
* @param {Array.<String>} opts.expands Fields to expand.
|
|
5794
5858
|
* @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
|
|
5795
|
-
* getCasemanagementCaseplanVersionStageplans is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
5796
5859
|
*/},{key:"getCasemanagementCaseplanVersionStageplans",value:function getCasemanagementCaseplanVersionStageplans(caseplanId,versionId,opts){opts=opts||{};// verify the required parameter 'caseplanId' is set
|
|
5797
5860
|
if(caseplanId===undefined||caseplanId===null||caseplanId===''){throw'Missing the required parameter "caseplanId" when calling getCasemanagementCaseplanVersionStageplans';}// verify the required parameter 'versionId' is set
|
|
5798
5861
|
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'],opts['customHeaders']);}/**
|
|
5799
5862
|
* Get a list of Caseplans.
|
|
5800
5863
|
*
|
|
5801
5864
|
* @param {Object} opts Optional parameters
|
|
5802
|
-
* @param {String} opts.after
|
|
5803
|
-
* @param {Number} opts.pageSize Number of
|
|
5804
|
-
* @param {String} opts.customerIntentId Filter by
|
|
5805
|
-
* @param {String} opts.divisionIds Filter by
|
|
5865
|
+
* @param {String} opts.after Cursor that points to the end of the previously returned set of Caseplans.
|
|
5866
|
+
* @param {Number} opts.pageSize Number of Caseplans to return. Maximum is 200.
|
|
5867
|
+
* @param {String} opts.customerIntentId Filter by customer intent.
|
|
5868
|
+
* @param {String} opts.divisionIds Filter by divisions.
|
|
5806
5869
|
* @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
|
|
5807
|
-
* getCasemanagementCaseplans is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
5808
5870
|
*/},{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'],opts['customHeaders']);}/**
|
|
5809
|
-
* Get a list of
|
|
5871
|
+
* Get a list of Cases for an External Contact.
|
|
5810
5872
|
*
|
|
5811
|
-
* @param {String} externalContactId External
|
|
5873
|
+
* @param {String} externalContactId External contact identifier.
|
|
5812
5874
|
* @param {Object} opts Optional parameters
|
|
5813
|
-
* @param {String} opts.after
|
|
5814
|
-
* @param {Number} opts.pageSize Number of
|
|
5815
|
-
* @param {String} opts.divisionIds Filter by
|
|
5816
|
-
* @param {Array.<String>} opts.expands
|
|
5875
|
+
* @param {String} opts.after Cursor pointing to the end of the previously returned page of Cases.
|
|
5876
|
+
* @param {Number} opts.pageSize Number of Cases to return (maximum 200).
|
|
5877
|
+
* @param {String} opts.divisionIds Filter by divisions.
|
|
5878
|
+
* @param {Array.<String>} opts.expands Fields to expand.
|
|
5817
5879
|
* @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
|
|
5818
|
-
* getCasemanagementCasesExternalcontact is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
5819
5880
|
*/},{key:"getCasemanagementCasesExternalcontact",value:function getCasemanagementCasesExternalcontact(externalContactId,opts){opts=opts||{};// verify the required parameter 'externalContactId' is set
|
|
5820
5881
|
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'],opts['customHeaders']);}/**
|
|
5821
5882
|
* Get a Case by reference.
|
|
5822
5883
|
*
|
|
5823
|
-
* @param {String} referenceId
|
|
5884
|
+
* @param {String} referenceId Case reference.
|
|
5824
5885
|
* @param {Object} opts Optional parameters
|
|
5825
|
-
* @param {Object} opts.expands
|
|
5886
|
+
* @param {Object} opts.expands Fields to expand.
|
|
5826
5887
|
* @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
|
|
5827
|
-
* getCasemanagementCasesReference is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
5828
5888
|
*/},{key:"getCasemanagementCasesReference",value:function getCasemanagementCasesReference(referenceId,opts){opts=opts||{};// verify the required parameter 'referenceId' is set
|
|
5829
5889
|
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'],opts['customHeaders']);}/**
|
|
5830
|
-
* Update
|
|
5890
|
+
* Update the due date of a Case.
|
|
5831
5891
|
*
|
|
5832
|
-
* @param {String} caseId Case
|
|
5833
|
-
* @param {Object} body
|
|
5892
|
+
* @param {String} caseId Case identifier.
|
|
5893
|
+
* @param {Object} body Due date update.
|
|
5834
5894
|
* @param {Object} opts Optional parameters
|
|
5835
5895
|
* @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
|
|
5836
|
-
* patchCasemanagementCaseDatedue is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
5837
5896
|
*/},{key:"patchCasemanagementCaseDatedue",value:function patchCasemanagementCaseDatedue(caseId,body,opts){opts=opts||{};// verify the required parameter 'caseId' is set
|
|
5838
5897
|
if(caseId===undefined||caseId===null||caseId===''){throw'Missing the required parameter "caseId" when calling patchCasemanagementCaseDatedue';}// verify the required parameter 'body' is set
|
|
5839
5898
|
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'],opts['customHeaders']);}/**
|
|
5840
5899
|
* Update priority of a Case.
|
|
5841
5900
|
*
|
|
5842
|
-
* @param {String} caseId Case
|
|
5843
|
-
* @param {Object} body Priority
|
|
5901
|
+
* @param {String} caseId Case identifier.
|
|
5902
|
+
* @param {Object} body Priority update.
|
|
5844
5903
|
* @param {Object} opts Optional parameters
|
|
5845
5904
|
* @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
|
|
5846
|
-
* patchCasemanagementCasePriority is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
5847
5905
|
*/},{key:"patchCasemanagementCasePriority",value:function patchCasemanagementCasePriority(caseId,body,opts){opts=opts||{};// verify the required parameter 'caseId' is set
|
|
5848
5906
|
if(caseId===undefined||caseId===null||caseId===''){throw'Missing the required parameter "caseId" when calling patchCasemanagementCasePriority';}// verify the required parameter 'body' is set
|
|
5849
5907
|
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'],opts['customHeaders']);}/**
|
|
5850
5908
|
* Update summary of a Case.
|
|
5851
5909
|
*
|
|
5852
|
-
* @param {String} caseId Case
|
|
5853
|
-
* @param {Object} body Summary
|
|
5910
|
+
* @param {String} caseId Case identifier.
|
|
5911
|
+
* @param {Object} body Summary update.
|
|
5854
5912
|
* @param {Object} opts Optional parameters
|
|
5855
5913
|
* @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
|
|
5856
|
-
* patchCasemanagementCaseSummary is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
5857
5914
|
*/},{key:"patchCasemanagementCaseSummary",value:function patchCasemanagementCaseSummary(caseId,body,opts){opts=opts||{};// verify the required parameter 'caseId' is set
|
|
5858
5915
|
if(caseId===undefined||caseId===null||caseId===''){throw'Missing the required parameter "caseId" when calling patchCasemanagementCaseSummary';}// verify the required parameter 'body' is set
|
|
5859
5916
|
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'],opts['customHeaders']);}/**
|
|
5860
5917
|
* Update the attributes of a Caseplan.
|
|
5861
5918
|
*
|
|
5862
|
-
* @param {String} caseplanId Caseplan
|
|
5863
|
-
* @param {Object} body Caseplan
|
|
5919
|
+
* @param {String} caseplanId Caseplan identifier.
|
|
5920
|
+
* @param {Object} body Caseplan update.
|
|
5864
5921
|
* @param {Object} opts Optional parameters
|
|
5865
5922
|
* @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
|
|
5866
|
-
* patchCasemanagementCaseplan is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
5867
5923
|
*/},{key:"patchCasemanagementCaseplan",value:function patchCasemanagementCaseplan(caseplanId,body,opts){opts=opts||{};// verify the required parameter 'caseplanId' is set
|
|
5868
5924
|
if(caseplanId===undefined||caseplanId===null||caseplanId===''){throw'Missing the required parameter "caseplanId" when calling patchCasemanagementCaseplan';}// verify the required parameter 'body' is set
|
|
5869
5925
|
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'],opts['customHeaders']);}/**
|
|
5870
5926
|
* Update the attributes of a Stageplan.
|
|
5871
5927
|
*
|
|
5872
|
-
* @param {String} caseplanId Caseplan
|
|
5873
|
-
* @param {String} stageplanId Stageplan
|
|
5874
|
-
* @param {Object} body Stageplan
|
|
5928
|
+
* @param {String} caseplanId Caseplan identifier.
|
|
5929
|
+
* @param {String} stageplanId Stageplan identifier.
|
|
5930
|
+
* @param {Object} body Stageplan update.
|
|
5875
5931
|
* @param {Object} opts Optional parameters
|
|
5876
5932
|
* @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
|
|
5877
|
-
* patchCasemanagementCaseplanStageplan is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
5878
5933
|
*/},{key:"patchCasemanagementCaseplanStageplan",value:function patchCasemanagementCaseplanStageplan(caseplanId,stageplanId,body,opts){opts=opts||{};// verify the required parameter 'caseplanId' is set
|
|
5879
5934
|
if(caseplanId===undefined||caseplanId===null||caseplanId===''){throw'Missing the required parameter "caseplanId" when calling patchCasemanagementCaseplanStageplan';}// verify the required parameter 'stageplanId' is set
|
|
5880
5935
|
if(stageplanId===undefined||stageplanId===null||stageplanId===''){throw'Missing the required parameter "stageplanId" when calling patchCasemanagementCaseplanStageplan';}// verify the required parameter 'body' is set
|
|
5881
5936
|
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'],opts['customHeaders']);}/**
|
|
5882
5937
|
* Update the attributes of a Stepplan.
|
|
5883
5938
|
*
|
|
5884
|
-
* @param {String} caseplanId Caseplan
|
|
5885
|
-
* @param {String} stageplanId Stageplan
|
|
5886
|
-
* @param {String} stepplanId Stepplan
|
|
5887
|
-
* @param {Object} body Stepplan
|
|
5939
|
+
* @param {String} caseplanId Caseplan identifier.
|
|
5940
|
+
* @param {String} stageplanId Stageplan identifier.
|
|
5941
|
+
* @param {String} stepplanId Stepplan identifier.
|
|
5942
|
+
* @param {Object} body Stepplan update.
|
|
5888
5943
|
* @param {Object} opts Optional parameters
|
|
5889
5944
|
* @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
|
|
5890
|
-
* patchCasemanagementCaseplanStageplanStepplan is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
5891
5945
|
*/},{key:"patchCasemanagementCaseplanStageplanStepplan",value:function patchCasemanagementCaseplanStageplanStepplan(caseplanId,stageplanId,stepplanId,body,opts){opts=opts||{};// verify the required parameter 'caseplanId' is set
|
|
5892
5946
|
if(caseplanId===undefined||caseplanId===null||caseplanId===''){throw'Missing the required parameter "caseplanId" when calling patchCasemanagementCaseplanStageplanStepplan';}// verify the required parameter 'stageplanId' is set
|
|
5893
5947
|
if(stageplanId===undefined||stageplanId===null||stageplanId===''){throw'Missing the required parameter "stageplanId" when calling patchCasemanagementCaseplanStageplanStepplan';}// verify the required parameter 'stepplanId' is set
|
|
5894
5948
|
if(stepplanId===undefined||stepplanId===null||stepplanId===''){throw'Missing the required parameter "stepplanId" when calling patchCasemanagementCaseplanStageplanStepplan';}// verify the required parameter 'body' is set
|
|
5895
5949
|
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'],opts['customHeaders']);}/**
|
|
5896
|
-
* Create a
|
|
5950
|
+
* Create a Case association.
|
|
5897
5951
|
*
|
|
5898
|
-
* @param {String} caseId Case
|
|
5952
|
+
* @param {String} caseId Case identifier.
|
|
5953
|
+
* @param {Object} body Case association create request.
|
|
5899
5954
|
* @param {Object} opts Optional parameters
|
|
5900
|
-
* @param {Object} opts.body Case Association
|
|
5901
5955
|
* @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
|
|
5902
|
-
|
|
5903
|
-
|
|
5904
|
-
if(
|
|
5956
|
+
*/},{key:"postCasemanagementCaseAssociations",value:function postCasemanagementCaseAssociations(caseId,body,opts){opts=opts||{};// verify the required parameter 'caseId' is set
|
|
5957
|
+
if(caseId===undefined||caseId===null||caseId===''){throw'Missing the required parameter "caseId" when calling postCasemanagementCaseAssociations';}// verify the required parameter 'body' is set
|
|
5958
|
+
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postCasemanagementCaseAssociations';}return this.apiClient.callApi('/api/v2/casemanagement/cases/{caseId}/associations','POST',{'caseId':caseId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json'],opts['customHeaders']);}/**
|
|
5905
5959
|
* Create a Terminate Job for a Case.
|
|
5906
5960
|
*
|
|
5907
|
-
* @param {String} caseId Case
|
|
5961
|
+
* @param {String} caseId Case identifier.
|
|
5908
5962
|
* @param {Object} opts Optional parameters
|
|
5909
5963
|
* @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
|
|
5910
|
-
* postCasemanagementCaseTerminateJobs is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
5911
5964
|
*/},{key:"postCasemanagementCaseTerminateJobs",value:function postCasemanagementCaseTerminateJobs(caseId,opts){opts=opts||{};// verify the required parameter 'caseId' is set
|
|
5912
5965
|
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'],opts['customHeaders']);}/**
|
|
5966
|
+
* Add a data schema to a draft Caseplan.
|
|
5967
|
+
*
|
|
5968
|
+
* @param {String} caseplanId Caseplan identifier.
|
|
5969
|
+
* @param {Object} body Data schema reference.
|
|
5970
|
+
* @param {Object} opts Optional parameters
|
|
5971
|
+
* @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
|
|
5972
|
+
*/},{key:"postCasemanagementCaseplanDataschemas",value:function postCasemanagementCaseplanDataschemas(caseplanId,body,opts){opts=opts||{};// verify the required parameter 'caseplanId' is set
|
|
5973
|
+
if(caseplanId===undefined||caseplanId===null||caseplanId===''){throw'Missing the required parameter "caseplanId" when calling postCasemanagementCaseplanDataschemas';}// verify the required parameter 'body' is set
|
|
5974
|
+
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postCasemanagementCaseplanDataschemas';}return this.apiClient.callApi('/api/v2/casemanagement/caseplans/{caseplanId}/dataschemas','POST',{'caseplanId':caseplanId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json'],opts['customHeaders']);}/**
|
|
5913
5975
|
* Publish Caseplan.
|
|
5914
5976
|
*
|
|
5915
|
-
* @param {String} caseplanId Caseplan
|
|
5977
|
+
* @param {String} caseplanId Caseplan identifier.
|
|
5916
5978
|
* @param {Object} opts Optional parameters
|
|
5917
5979
|
* @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
|
|
5918
|
-
* postCasemanagementCaseplanPublish is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
5919
5980
|
*/},{key:"postCasemanagementCaseplanPublish",value:function postCasemanagementCaseplanPublish(caseplanId,opts){opts=opts||{};// verify the required parameter 'caseplanId' is set
|
|
5920
5981
|
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'],opts['customHeaders']);}/**
|
|
5921
5982
|
* Create Caseplan version.
|
|
5922
5983
|
*
|
|
5923
|
-
* @param {String} caseplanId Caseplan
|
|
5984
|
+
* @param {String} caseplanId Caseplan identifier.
|
|
5924
5985
|
* @param {Object} opts Optional parameters
|
|
5925
5986
|
* @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
|
|
5926
|
-
* postCasemanagementCaseplanVersions is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
5927
5987
|
*/},{key:"postCasemanagementCaseplanVersions",value:function postCasemanagementCaseplanVersions(caseplanId,opts){opts=opts||{};// verify the required parameter 'caseplanId' is set
|
|
5928
5988
|
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'],opts['customHeaders']);}/**
|
|
5929
5989
|
* Create a Caseplan.
|
|
5930
5990
|
*
|
|
5931
|
-
* @param {Object} body Caseplan
|
|
5991
|
+
* @param {Object} body Caseplan create request.
|
|
5932
5992
|
* @param {Object} opts Optional parameters
|
|
5933
5993
|
* @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
|
|
5934
|
-
* postCasemanagementCaseplans is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
5935
5994
|
*/},{key:"postCasemanagementCaseplans",value:function postCasemanagementCaseplans(body,opts){opts=opts||{};// verify the required parameter 'body' is set
|
|
5936
5995
|
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'],opts['customHeaders']);}/**
|
|
5937
|
-
* Query for
|
|
5996
|
+
* Query for Caseplans.
|
|
5938
5997
|
*
|
|
5939
|
-
* @param {Object} body
|
|
5998
|
+
* @param {Object} body Caseplan query request.
|
|
5940
5999
|
* @param {Object} opts Optional parameters
|
|
5941
6000
|
* @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
|
|
5942
|
-
* postCasemanagementCaseplansQuery is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
5943
6001
|
*/},{key:"postCasemanagementCaseplansQuery",value:function postCasemanagementCaseplansQuery(body,opts){opts=opts||{};// verify the required parameter 'body' is set
|
|
5944
6002
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postCasemanagementCaseplansQuery';}return this.apiClient.callApi('/api/v2/casemanagement/caseplans/query','POST',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json'],opts['customHeaders']);}/**
|
|
5945
6003
|
* Create a Case.
|
|
5946
6004
|
*
|
|
5947
|
-
* @param {Object} body Case
|
|
6005
|
+
* @param {Object} body Case create request.
|
|
5948
6006
|
* @param {Object} opts Optional parameters
|
|
5949
6007
|
* @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
|
|
5950
|
-
* postCasemanagementCases is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
5951
6008
|
*/},{key:"postCasemanagementCases",value:function postCasemanagementCases(body,opts){opts=opts||{};// verify the required parameter 'body' is set
|
|
5952
6009
|
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'],opts['customHeaders']);}/**
|
|
5953
|
-
* Query for
|
|
6010
|
+
* Query for Case associations by interaction.
|
|
6011
|
+
*
|
|
6012
|
+
* @param {Object} body Case association query request.
|
|
6013
|
+
* @param {Object} opts Optional parameters
|
|
6014
|
+
* @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
|
|
6015
|
+
*/},{key:"postCasemanagementCasesAssociationsQuery",value:function postCasemanagementCasesAssociationsQuery(body,opts){opts=opts||{};// verify the required parameter 'body' is set
|
|
6016
|
+
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postCasemanagementCasesAssociationsQuery';}return this.apiClient.callApi('/api/v2/casemanagement/cases/associations/query','POST',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json'],opts['customHeaders']);}/**
|
|
6017
|
+
* Update a data schema on a draft Caseplan.
|
|
5954
6018
|
*
|
|
6019
|
+
* @param {String} caseplanId Caseplan identifier.
|
|
6020
|
+
* @param {String} schemaKeyName Schema key (for example default).
|
|
6021
|
+
* @param {Object} body Data schema reference.
|
|
5955
6022
|
* @param {Object} opts Optional parameters
|
|
5956
|
-
* @param {Object} opts.body Case Association
|
|
5957
6023
|
* @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
|
|
5958
|
-
|
|
5959
|
-
|
|
6024
|
+
*/},{key:"putCasemanagementCaseplanDataschema",value:function putCasemanagementCaseplanDataschema(caseplanId,schemaKeyName,body,opts){opts=opts||{};// verify the required parameter 'caseplanId' is set
|
|
6025
|
+
if(caseplanId===undefined||caseplanId===null||caseplanId===''){throw'Missing the required parameter "caseplanId" when calling putCasemanagementCaseplanDataschema';}// verify the required parameter 'schemaKeyName' is set
|
|
6026
|
+
if(schemaKeyName===undefined||schemaKeyName===null||schemaKeyName===''){throw'Missing the required parameter "schemaKeyName" when calling putCasemanagementCaseplanDataschema';}// verify the required parameter 'body' is set
|
|
6027
|
+
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putCasemanagementCaseplanDataschema';}return this.apiClient.callApi('/api/v2/casemanagement/caseplans/{caseplanId}/dataschemas/{schemaKeyName}','PUT',{'caseplanId':caseplanId,'schemaKeyName':schemaKeyName},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json'],opts['customHeaders']);}/**
|
|
5960
6028
|
* Update the intake settings for a Caseplan.
|
|
5961
6029
|
*
|
|
5962
|
-
* @param {String} caseplanId Caseplan
|
|
5963
|
-
* @param {Object} body Intake
|
|
6030
|
+
* @param {String} caseplanId Caseplan identifier.
|
|
6031
|
+
* @param {Object} body Intake settings update.
|
|
5964
6032
|
* @param {Object} opts Optional parameters
|
|
5965
6033
|
* @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
|
|
5966
|
-
* putCasemanagementCaseplanIntakesettings is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
5967
6034
|
*/},{key:"putCasemanagementCaseplanIntakesettings",value:function putCasemanagementCaseplanIntakesettings(caseplanId,body,opts){opts=opts||{};// verify the required parameter 'caseplanId' is set
|
|
5968
6035
|
if(caseplanId===undefined||caseplanId===null||caseplanId===''){throw'Missing the required parameter "caseplanId" when calling putCasemanagementCaseplanIntakesettings';}// verify the required parameter 'body' is set
|
|
5969
6036
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putCasemanagementCaseplanIntakesettings';}return this.apiClient.callApi('/api/v2/casemanagement/caseplans/{caseplanId}/intakesettings','PUT',{'caseplanId':caseplanId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json'],opts['customHeaders']);}}]);}();var ChatApi=/*#__PURE__*/function(){/**
|
|
5970
6037
|
* Chat service.
|
|
5971
6038
|
* @module purecloud-platform-client-v2/api/ChatApi
|
|
5972
|
-
* @version
|
|
6039
|
+
* @version 255.0.0
|
|
5973
6040
|
*//**
|
|
5974
6041
|
* Constructs a new ChatApi.
|
|
5975
6042
|
* @alias module:purecloud-platform-client-v2/api/ChatApi
|
|
@@ -6264,7 +6331,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
6264
6331
|
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'],opts['customHeaders']);}}]);}();var CoachingApi=/*#__PURE__*/function(){/**
|
|
6265
6332
|
* Coaching service.
|
|
6266
6333
|
* @module purecloud-platform-client-v2/api/CoachingApi
|
|
6267
|
-
* @version
|
|
6334
|
+
* @version 255.0.0
|
|
6268
6335
|
*//**
|
|
6269
6336
|
* Constructs a new CoachingApi.
|
|
6270
6337
|
* @alias module:purecloud-platform-client-v2/api/CoachingApi
|
|
@@ -6463,7 +6530,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
6463
6530
|
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'],opts['customHeaders']);}}]);}();var ContentManagementApi=/*#__PURE__*/function(){/**
|
|
6464
6531
|
* ContentManagement service.
|
|
6465
6532
|
* @module purecloud-platform-client-v2/api/ContentManagementApi
|
|
6466
|
-
* @version
|
|
6533
|
+
* @version 255.0.0
|
|
6467
6534
|
*//**
|
|
6468
6535
|
* Constructs a new ContentManagementApi.
|
|
6469
6536
|
* @alias module:purecloud-platform-client-v2/api/ContentManagementApi
|
|
@@ -6795,7 +6862,7 @@ if(tagId===undefined||tagId===null||tagId===''){throw'Missing the required param
|
|
|
6795
6862
|
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'],opts['customHeaders']);}}]);}();var ConversationsApi=/*#__PURE__*/function(){/**
|
|
6796
6863
|
* Conversations service.
|
|
6797
6864
|
* @module purecloud-platform-client-v2/api/ConversationsApi
|
|
6798
|
-
* @version
|
|
6865
|
+
* @version 255.0.0
|
|
6799
6866
|
*//**
|
|
6800
6867
|
* Constructs a new ConversationsApi.
|
|
6801
6868
|
* @alias module:purecloud-platform-client-v2/api/ConversationsApi
|
|
@@ -6808,7 +6875,6 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
6808
6875
|
* @param {String} jobId jobId
|
|
6809
6876
|
* @param {Object} opts Optional parameters
|
|
6810
6877
|
* @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
|
|
6811
|
-
* deleteAnalyticsConversationsAggregatesJob is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
6812
6878
|
*/return _createClass(ConversationsApi,[{key:"deleteAnalyticsConversationsAggregatesJob",value:function deleteAnalyticsConversationsAggregatesJob(jobId,opts){opts=opts||{};// verify the required parameter 'jobId' is set
|
|
6813
6879
|
if(jobId===undefined||jobId===null||jobId===''){throw'Missing the required parameter "jobId" when calling deleteAnalyticsConversationsAggregatesJob';}return this.apiClient.callApi('/api/v2/analytics/conversations/aggregates/jobs/{jobId}','DELETE',{'jobId':jobId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json'],opts['customHeaders']);}/**
|
|
6814
6880
|
* Delete/cancel an async details job
|
|
@@ -6971,7 +7037,6 @@ if(conversationId===undefined||conversationId===null||conversationId===''){throw
|
|
|
6971
7037
|
* @param {String} jobId jobId
|
|
6972
7038
|
* @param {Object} opts Optional parameters
|
|
6973
7039
|
* @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
|
|
6974
|
-
* getAnalyticsConversationsAggregatesJob is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
6975
7040
|
*/},{key:"getAnalyticsConversationsAggregatesJob",value:function getAnalyticsConversationsAggregatesJob(jobId,opts){opts=opts||{};// verify the required parameter 'jobId' is set
|
|
6976
7041
|
if(jobId===undefined||jobId===null||jobId===''){throw'Missing the required parameter "jobId" when calling getAnalyticsConversationsAggregatesJob';}return this.apiClient.callApi('/api/v2/analytics/conversations/aggregates/jobs/{jobId}','GET',{'jobId':jobId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json'],opts['customHeaders']);}/**
|
|
6977
7042
|
* Fetch a page of results for an async aggregates query
|
|
@@ -6980,7 +7045,6 @@ if(jobId===undefined||jobId===null||jobId===''){throw'Missing the required param
|
|
|
6980
7045
|
* @param {Object} opts Optional parameters
|
|
6981
7046
|
* @param {String} opts.cursor Cursor token to retrieve next page
|
|
6982
7047
|
* @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
|
|
6983
|
-
* getAnalyticsConversationsAggregatesJobResults is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
6984
7048
|
*/},{key:"getAnalyticsConversationsAggregatesJobResults",value:function getAnalyticsConversationsAggregatesJobResults(jobId,opts){opts=opts||{};// verify the required parameter 'jobId' is set
|
|
6985
7049
|
if(jobId===undefined||jobId===null||jobId===''){throw'Missing the required parameter "jobId" when calling getAnalyticsConversationsAggregatesJobResults';}return this.apiClient.callApi('/api/v2/analytics/conversations/aggregates/jobs/{jobId}/results','GET',{'jobId':jobId},{'cursor':opts['cursor']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json'],opts['customHeaders']);}/**
|
|
6986
7050
|
* Gets multiple conversations by id
|
|
@@ -8528,7 +8592,6 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
8528
8592
|
* @param {Object} body query
|
|
8529
8593
|
* @param {Object} opts Optional parameters
|
|
8530
8594
|
* @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
|
|
8531
|
-
* postAnalyticsConversationsAggregatesJobs is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
8532
8595
|
*/},{key:"postAnalyticsConversationsAggregatesJobs",value:function postAnalyticsConversationsAggregatesJobs(body,opts){opts=opts||{};// verify the required parameter 'body' is set
|
|
8533
8596
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postAnalyticsConversationsAggregatesJobs';}return this.apiClient.callApi('/api/v2/analytics/conversations/aggregates/jobs','POST',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json'],opts['customHeaders']);}/**
|
|
8534
8597
|
* Query for conversation aggregates
|
|
@@ -9327,7 +9390,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
9327
9390
|
*/},{key:"postConversationsMessages",value:function postConversationsMessages(body,opts){opts=opts||{};// verify the required parameter 'body' is set
|
|
9328
9391
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postConversationsMessages';}return this.apiClient.callApi('/api/v2/conversations/messages','POST',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json'],opts['customHeaders']);}/**
|
|
9329
9392
|
* Send an agentless outbound message
|
|
9330
|
-
* Send an agentless (api participant) outbound message using a client credential grant. In order to call this endpoint you will need OAuth token generated using OAuth client credentials authorized with at least messaging scope. If there is already a connected conversation between the fromAddress and
|
|
9393
|
+
* Send an agentless (api participant) outbound message using a client credential grant. In order to call this endpoint you will need OAuth token generated using OAuth client credentials authorized with at least messaging scope. If there is already a connected conversation between the fromAddress and recipient specified, the useExistingActiveConversation param can be used to barge in to the ongoing conversation.
|
|
9331
9394
|
* @param {Object} body Create agentless outbound messaging request
|
|
9332
9395
|
* @param {Object} opts Optional parameters
|
|
9333
9396
|
* @param {Boolean} opts.useNormalizedMessage If true, response removes deprecated fields (textBody, messagingTemplate) (default to false)
|
|
@@ -9727,7 +9790,7 @@ if(conversationId===undefined||conversationId===null||conversationId===''){throw
|
|
|
9727
9790
|
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'],opts['customHeaders']);}}]);}();var DataExtensionsApi=/*#__PURE__*/function(){/**
|
|
9728
9791
|
* DataExtensions service.
|
|
9729
9792
|
* @module purecloud-platform-client-v2/api/DataExtensionsApi
|
|
9730
|
-
* @version
|
|
9793
|
+
* @version 255.0.0
|
|
9731
9794
|
*//**
|
|
9732
9795
|
* Constructs a new DataExtensionsApi.
|
|
9733
9796
|
* @alias module:purecloud-platform-client-v2/api/DataExtensionsApi
|
|
@@ -9754,7 +9817,7 @@ if(coretypeName===undefined||coretypeName===null||coretypeName===''){throw'Missi
|
|
|
9754
9817
|
*/},{key:"getDataextensionsLimits",value:function getDataextensionsLimits(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/dataextensions/limits','GET',{},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json'],opts['customHeaders']);}}]);}();var DataPrivacyApi=/*#__PURE__*/function(){/**
|
|
9755
9818
|
* DataPrivacy service.
|
|
9756
9819
|
* @module purecloud-platform-client-v2/api/DataPrivacyApi
|
|
9757
|
-
* @version
|
|
9820
|
+
* @version 255.0.0
|
|
9758
9821
|
*//**
|
|
9759
9822
|
* Constructs a new DataPrivacyApi.
|
|
9760
9823
|
* @alias module:purecloud-platform-client-v2/api/DataPrivacyApi
|
|
@@ -9805,7 +9868,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
9805
9868
|
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'],opts['customHeaders']);}}]);}();var DownloadsApi=/*#__PURE__*/function(){/**
|
|
9806
9869
|
* Downloads service.
|
|
9807
9870
|
* @module purecloud-platform-client-v2/api/DownloadsApi
|
|
9808
|
-
* @version
|
|
9871
|
+
* @version 255.0.0
|
|
9809
9872
|
*//**
|
|
9810
9873
|
* Constructs a new DownloadsApi.
|
|
9811
9874
|
* @alias module:purecloud-platform-client-v2/api/DownloadsApi
|
|
@@ -9825,7 +9888,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
9825
9888
|
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'],opts['customHeaders']);}}]);}();var EmailsApi=/*#__PURE__*/function(){/**
|
|
9826
9889
|
* Emails service.
|
|
9827
9890
|
* @module purecloud-platform-client-v2/api/EmailsApi
|
|
9828
|
-
* @version
|
|
9891
|
+
* @version 255.0.0
|
|
9829
9892
|
*//**
|
|
9830
9893
|
* Constructs a new EmailsApi.
|
|
9831
9894
|
* @alias module:purecloud-platform-client-v2/api/EmailsApi
|
|
@@ -9862,7 +9925,7 @@ if(downloadId===undefined||downloadId===null||downloadId===''){throw'Missing the
|
|
|
9862
9925
|
*/},{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'],opts['customHeaders']);}}]);}();var EmployeeEngagementApi=/*#__PURE__*/function(){/**
|
|
9863
9926
|
* EmployeeEngagement service.
|
|
9864
9927
|
* @module purecloud-platform-client-v2/api/EmployeeEngagementApi
|
|
9865
|
-
* @version
|
|
9928
|
+
* @version 255.0.0
|
|
9866
9929
|
*//**
|
|
9867
9930
|
* Constructs a new EmployeeEngagementApi.
|
|
9868
9931
|
* @alias module:purecloud-platform-client-v2/api/EmployeeEngagementApi
|
|
@@ -9920,7 +9983,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
9920
9983
|
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'],opts['customHeaders']);}}]);}();var EventsApi=/*#__PURE__*/function(){/**
|
|
9921
9984
|
* Events service.
|
|
9922
9985
|
* @module purecloud-platform-client-v2/api/EventsApi
|
|
9923
|
-
* @version
|
|
9986
|
+
* @version 255.0.0
|
|
9924
9987
|
*//**
|
|
9925
9988
|
* Constructs a new EventsApi.
|
|
9926
9989
|
* @alias module:purecloud-platform-client-v2/api/EventsApi
|
|
@@ -9959,7 +10022,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
9959
10022
|
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'],opts['customHeaders']);}}]);}();var ExternalContactsApi=/*#__PURE__*/function(){/**
|
|
9960
10023
|
* ExternalContacts service.
|
|
9961
10024
|
* @module purecloud-platform-client-v2/api/ExternalContactsApi
|
|
9962
|
-
* @version
|
|
10025
|
+
* @version 255.0.0
|
|
9963
10026
|
*//**
|
|
9964
10027
|
* Constructs a new ExternalContactsApi.
|
|
9965
10028
|
* @alias module:purecloud-platform-client-v2/api/ExternalContactsApi
|
|
@@ -10122,7 +10185,7 @@ if(contactId===undefined||contactId===null||contactId===''){throw'Missing the re
|
|
|
10122
10185
|
* @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
|
|
10123
10186
|
*/},{key:"getExternalcontactsContactsExport",value:function getExternalcontactsContactsExport(exportId,opts){opts=opts||{};// verify the required parameter 'exportId' is set
|
|
10124
10187
|
if(exportId===undefined||exportId===null||exportId===''){throw'Missing the required parameter "exportId" when calling getExternalcontactsContactsExport';}return this.apiClient.callApi('/api/v2/externalcontacts/contacts/exports/{exportId}','GET',{'exportId':exportId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json'],opts['customHeaders']);}/**
|
|
10125
|
-
* List exports for organization
|
|
10188
|
+
* List contact exports for organization
|
|
10126
10189
|
*
|
|
10127
10190
|
* @param {Object} opts Optional parameters
|
|
10128
10191
|
* @param {Array.<String>} opts.divisionIds Division IDs of entities
|
|
@@ -10921,7 +10984,7 @@ if(relationshipId===undefined||relationshipId===null||relationshipId===''){throw
|
|
|
10921
10984
|
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'],opts['customHeaders']);}}]);}();var FaxApi=/*#__PURE__*/function(){/**
|
|
10922
10985
|
* Fax service.
|
|
10923
10986
|
* @module purecloud-platform-client-v2/api/FaxApi
|
|
10924
|
-
* @version
|
|
10987
|
+
* @version 255.0.0
|
|
10925
10988
|
*//**
|
|
10926
10989
|
* Constructs a new FaxApi.
|
|
10927
10990
|
* @alias module:purecloud-platform-client-v2/api/FaxApi
|
|
@@ -10984,7 +11047,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
10984
11047
|
*/},{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'],opts['customHeaders']);}}]);}();var FlowsApi=/*#__PURE__*/function(){/**
|
|
10985
11048
|
* Flows service.
|
|
10986
11049
|
* @module purecloud-platform-client-v2/api/FlowsApi
|
|
10987
|
-
* @version
|
|
11050
|
+
* @version 255.0.0
|
|
10988
11051
|
*//**
|
|
10989
11052
|
* Constructs a new FlowsApi.
|
|
10990
11053
|
* @alias module:purecloud-platform-client-v2/api/FlowsApi
|
|
@@ -10997,7 +11060,6 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
10997
11060
|
* @param {String} jobId jobId
|
|
10998
11061
|
* @param {Object} opts Optional parameters
|
|
10999
11062
|
* @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
|
|
11000
|
-
* deleteAnalyticsFlowsAggregatesJob is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
11001
11063
|
*/return _createClass(FlowsApi,[{key:"deleteAnalyticsFlowsAggregatesJob",value:function deleteAnalyticsFlowsAggregatesJob(jobId,opts){opts=opts||{};// verify the required parameter 'jobId' is set
|
|
11002
11064
|
if(jobId===undefined||jobId===null||jobId===''){throw'Missing the required parameter "jobId" when calling deleteAnalyticsFlowsAggregatesJob';}return this.apiClient.callApi('/api/v2/analytics/flows/aggregates/jobs/{jobId}','DELETE',{'jobId':jobId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json'],opts['customHeaders']);}/**
|
|
11003
11065
|
* Get status for async query for Flow aggregates
|
|
@@ -11005,7 +11067,6 @@ if(jobId===undefined||jobId===null||jobId===''){throw'Missing the required param
|
|
|
11005
11067
|
* @param {String} jobId jobId
|
|
11006
11068
|
* @param {Object} opts Optional parameters
|
|
11007
11069
|
* @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
|
|
11008
|
-
* getAnalyticsFlowsAggregatesJob is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
11009
11070
|
*/},{key:"getAnalyticsFlowsAggregatesJob",value:function getAnalyticsFlowsAggregatesJob(jobId,opts){opts=opts||{};// verify the required parameter 'jobId' is set
|
|
11010
11071
|
if(jobId===undefined||jobId===null||jobId===''){throw'Missing the required parameter "jobId" when calling getAnalyticsFlowsAggregatesJob';}return this.apiClient.callApi('/api/v2/analytics/flows/aggregates/jobs/{jobId}','GET',{'jobId':jobId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json'],opts['customHeaders']);}/**
|
|
11011
11072
|
* Fetch a page of results for an async aggregates query
|
|
@@ -11014,7 +11075,6 @@ if(jobId===undefined||jobId===null||jobId===''){throw'Missing the required param
|
|
|
11014
11075
|
* @param {Object} opts Optional parameters
|
|
11015
11076
|
* @param {String} opts.cursor Cursor token to retrieve next page
|
|
11016
11077
|
* @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
|
|
11017
|
-
* getAnalyticsFlowsAggregatesJobResults is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
11018
11078
|
*/},{key:"getAnalyticsFlowsAggregatesJobResults",value:function getAnalyticsFlowsAggregatesJobResults(jobId,opts){opts=opts||{};// verify the required parameter 'jobId' is set
|
|
11019
11079
|
if(jobId===undefined||jobId===null||jobId===''){throw'Missing the required parameter "jobId" when calling getAnalyticsFlowsAggregatesJobResults';}return this.apiClient.callApi('/api/v2/analytics/flows/aggregates/jobs/{jobId}/results','GET',{'jobId':jobId},{'cursor':opts['cursor']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json'],opts['customHeaders']);}/**
|
|
11020
11080
|
* Query for flow activity observations
|
|
@@ -11031,7 +11091,6 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
11031
11091
|
* @param {Object} body query
|
|
11032
11092
|
* @param {Object} opts Optional parameters
|
|
11033
11093
|
* @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
|
|
11034
|
-
* postAnalyticsFlowsAggregatesJobs is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
11035
11094
|
*/},{key:"postAnalyticsFlowsAggregatesJobs",value:function postAnalyticsFlowsAggregatesJobs(body,opts){opts=opts||{};// verify the required parameter 'body' is set
|
|
11036
11095
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postAnalyticsFlowsAggregatesJobs';}return this.apiClient.callApi('/api/v2/analytics/flows/aggregates/jobs','POST',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json'],opts['customHeaders']);}/**
|
|
11037
11096
|
* Query for flow aggregates
|
|
@@ -11050,7 +11109,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
11050
11109
|
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'],opts['customHeaders']);}}]);}();var GamificationApi=/*#__PURE__*/function(){/**
|
|
11051
11110
|
* Gamification service.
|
|
11052
11111
|
* @module purecloud-platform-client-v2/api/GamificationApi
|
|
11053
|
-
* @version
|
|
11112
|
+
* @version 255.0.0
|
|
11054
11113
|
*//**
|
|
11055
11114
|
* Constructs a new GamificationApi.
|
|
11056
11115
|
* @alias module:purecloud-platform-client-v2/api/GamificationApi
|
|
@@ -11845,7 +11904,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
11845
11904
|
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'],opts['customHeaders']);}}]);}();var GeneralDataProtectionRegulationApi=/*#__PURE__*/function(){/**
|
|
11846
11905
|
* GeneralDataProtectionRegulation service.
|
|
11847
11906
|
* @module purecloud-platform-client-v2/api/GeneralDataProtectionRegulationApi
|
|
11848
|
-
* @version
|
|
11907
|
+
* @version 255.0.0
|
|
11849
11908
|
*//**
|
|
11850
11909
|
* Constructs a new GeneralDataProtectionRegulationApi.
|
|
11851
11910
|
* @alias module:purecloud-platform-client-v2/api/GeneralDataProtectionRegulationApi
|
|
@@ -11886,7 +11945,7 @@ if(searchValue===undefined||searchValue===null){throw'Missing the required param
|
|
|
11886
11945
|
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'],opts['customHeaders']);}}]);}();var GeolocationApi=/*#__PURE__*/function(){/**
|
|
11887
11946
|
* Geolocation service.
|
|
11888
11947
|
* @module purecloud-platform-client-v2/api/GeolocationApi
|
|
11889
|
-
* @version
|
|
11948
|
+
* @version 255.0.0
|
|
11890
11949
|
*//**
|
|
11891
11950
|
* Constructs a new GeolocationApi.
|
|
11892
11951
|
* @alias module:purecloud-platform-client-v2/api/GeolocationApi
|
|
@@ -11928,7 +11987,7 @@ if(clientId===undefined||clientId===null||clientId===''){throw'Missing the requi
|
|
|
11928
11987
|
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'],opts['customHeaders']);}}]);}();var GreetingsApi=/*#__PURE__*/function(){/**
|
|
11929
11988
|
* Greetings service.
|
|
11930
11989
|
* @module purecloud-platform-client-v2/api/GreetingsApi
|
|
11931
|
-
* @version
|
|
11990
|
+
* @version 255.0.0
|
|
11932
11991
|
*//**
|
|
11933
11992
|
* Constructs a new GreetingsApi.
|
|
11934
11993
|
* @alias module:purecloud-platform-client-v2/api/GreetingsApi
|
|
@@ -12087,7 +12146,7 @@ if(userId===undefined||userId===null||userId===''){throw'Missing the required pa
|
|
|
12087
12146
|
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'],opts['customHeaders']);}}]);}();var GroupsApi=/*#__PURE__*/function(){/**
|
|
12088
12147
|
* Groups service.
|
|
12089
12148
|
* @module purecloud-platform-client-v2/api/GroupsApi
|
|
12090
|
-
* @version
|
|
12149
|
+
* @version 255.0.0
|
|
12091
12150
|
*//**
|
|
12092
12151
|
* Constructs a new GroupsApi.
|
|
12093
12152
|
* @alias module:purecloud-platform-client-v2/api/GroupsApi
|
|
@@ -12250,7 +12309,7 @@ if(groupId===undefined||groupId===null||groupId===''){throw'Missing the required
|
|
|
12250
12309
|
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'],opts['customHeaders']);}}]);}();var IdentityProviderApi=/*#__PURE__*/function(){/**
|
|
12251
12310
|
* IdentityProvider service.
|
|
12252
12311
|
* @module purecloud-platform-client-v2/api/IdentityProviderApi
|
|
12253
|
-
* @version
|
|
12312
|
+
* @version 255.0.0
|
|
12254
12313
|
*//**
|
|
12255
12314
|
* Constructs a new IdentityProviderApi.
|
|
12256
12315
|
* @alias module:purecloud-platform-client-v2/api/IdentityProviderApi
|
|
@@ -12482,7 +12541,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
12482
12541
|
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'],opts['customHeaders']);}}]);}();var InfrastructureAsCodeApi=/*#__PURE__*/function(){/**
|
|
12483
12542
|
* InfrastructureAsCode service.
|
|
12484
12543
|
* @module purecloud-platform-client-v2/api/InfrastructureAsCodeApi
|
|
12485
|
-
* @version
|
|
12544
|
+
* @version 255.0.0
|
|
12486
12545
|
*//**
|
|
12487
12546
|
* Constructs a new InfrastructureAsCodeApi.
|
|
12488
12547
|
* @alias module:purecloud-platform-client-v2/api/InfrastructureAsCodeApi
|
|
@@ -12542,7 +12601,7 @@ if(jobId===undefined||jobId===null||jobId===''){throw'Missing the required param
|
|
|
12542
12601
|
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'],opts['customHeaders']);}}]);}();var IntegrationsApi=/*#__PURE__*/function(){/**
|
|
12543
12602
|
* Integrations service.
|
|
12544
12603
|
* @module purecloud-platform-client-v2/api/IntegrationsApi
|
|
12545
|
-
* @version
|
|
12604
|
+
* @version 255.0.0
|
|
12546
12605
|
*//**
|
|
12547
12606
|
* Constructs a new IntegrationsApi.
|
|
12548
12607
|
* @alias module:purecloud-platform-client-v2/api/IntegrationsApi
|
|
@@ -13372,7 +13431,7 @@ if(ucIntegrationId===undefined||ucIntegrationId===null||ucIntegrationId===''){th
|
|
|
13372
13431
|
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'],opts['customHeaders']);}}]);}();var IntentsApi=/*#__PURE__*/function(){/**
|
|
13373
13432
|
* Intents service.
|
|
13374
13433
|
* @module purecloud-platform-client-v2/api/IntentsApi
|
|
13375
|
-
* @version
|
|
13434
|
+
* @version 255.0.0
|
|
13376
13435
|
*//**
|
|
13377
13436
|
* Constructs a new IntentsApi.
|
|
13378
13437
|
* @alias module:purecloud-platform-client-v2/api/IntentsApi
|
|
@@ -13516,7 +13575,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
13516
13575
|
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'],opts['customHeaders']);}}]);}();var JourneyApi=/*#__PURE__*/function(){/**
|
|
13517
13576
|
* Journey service.
|
|
13518
13577
|
* @module purecloud-platform-client-v2/api/JourneyApi
|
|
13519
|
-
* @version
|
|
13578
|
+
* @version 255.0.0
|
|
13520
13579
|
*//**
|
|
13521
13580
|
* Constructs a new JourneyApi.
|
|
13522
13581
|
* @alias module:purecloud-platform-client-v2/api/JourneyApi
|
|
@@ -13529,7 +13588,6 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
13529
13588
|
* @param {String} jobId jobId
|
|
13530
13589
|
* @param {Object} opts Optional parameters
|
|
13531
13590
|
* @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
|
|
13532
|
-
* deleteAnalyticsJourneysAggregatesJob is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
13533
13591
|
*/return _createClass(JourneyApi,[{key:"deleteAnalyticsJourneysAggregatesJob",value:function deleteAnalyticsJourneysAggregatesJob(jobId,opts){opts=opts||{};// verify the required parameter 'jobId' is set
|
|
13534
13592
|
if(jobId===undefined||jobId===null||jobId===''){throw'Missing the required parameter "jobId" when calling deleteAnalyticsJourneysAggregatesJob';}return this.apiClient.callApi('/api/v2/analytics/journeys/aggregates/jobs/{jobId}','DELETE',{'jobId':jobId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json'],opts['customHeaders']);}/**
|
|
13535
13593
|
* Delete single action map.
|
|
@@ -13603,7 +13661,6 @@ if(viewId===undefined||viewId===null||viewId===''){throw'Missing the required pa
|
|
|
13603
13661
|
* @param {String} jobId jobId
|
|
13604
13662
|
* @param {Object} opts Optional parameters
|
|
13605
13663
|
* @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
|
|
13606
|
-
* getAnalyticsJourneysAggregatesJob is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
13607
13664
|
*/},{key:"getAnalyticsJourneysAggregatesJob",value:function getAnalyticsJourneysAggregatesJob(jobId,opts){opts=opts||{};// verify the required parameter 'jobId' is set
|
|
13608
13665
|
if(jobId===undefined||jobId===null||jobId===''){throw'Missing the required parameter "jobId" when calling getAnalyticsJourneysAggregatesJob';}return this.apiClient.callApi('/api/v2/analytics/journeys/aggregates/jobs/{jobId}','GET',{'jobId':jobId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json'],opts['customHeaders']);}/**
|
|
13609
13666
|
* Fetch a page of results for an async aggregates query
|
|
@@ -13612,7 +13669,6 @@ if(jobId===undefined||jobId===null||jobId===''){throw'Missing the required param
|
|
|
13612
13669
|
* @param {Object} opts Optional parameters
|
|
13613
13670
|
* @param {String} opts.cursor Cursor token to retrieve next page
|
|
13614
13671
|
* @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
|
|
13615
|
-
* getAnalyticsJourneysAggregatesJobResults is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
13616
13672
|
*/},{key:"getAnalyticsJourneysAggregatesJobResults",value:function getAnalyticsJourneysAggregatesJobResults(jobId,opts){opts=opts||{};// verify the required parameter 'jobId' is set
|
|
13617
13673
|
if(jobId===undefined||jobId===null||jobId===''){throw'Missing the required parameter "jobId" when calling getAnalyticsJourneysAggregatesJobResults';}return this.apiClient.callApi('/api/v2/analytics/journeys/aggregates/jobs/{jobId}/results','GET',{'jobId':jobId},{'cursor':opts['cursor']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json'],opts['customHeaders']);}/**
|
|
13618
13674
|
* Retrieve segment assignments by external contact ID.
|
|
@@ -14095,7 +14151,6 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
14095
14151
|
* @param {Object} body query
|
|
14096
14152
|
* @param {Object} opts Optional parameters
|
|
14097
14153
|
* @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
|
|
14098
|
-
* postAnalyticsJourneysAggregatesJobs is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
14099
14154
|
*/},{key:"postAnalyticsJourneysAggregatesJobs",value:function postAnalyticsJourneysAggregatesJobs(body,opts){opts=opts||{};// verify the required parameter 'body' is set
|
|
14100
14155
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postAnalyticsJourneysAggregatesJobs';}return this.apiClient.callApi('/api/v2/analytics/journeys/aggregates/jobs','POST',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json'],opts['customHeaders']);}/**
|
|
14101
14156
|
* Query for journey aggregates
|
|
@@ -14300,7 +14355,7 @@ if(eventDefinitionId===undefined||eventDefinitionId===null||eventDefinitionId===
|
|
|
14300
14355
|
if(eventDefinitionId===undefined||eventDefinitionId===null||eventDefinitionId===''){throw'Missing the required parameter "eventDefinitionId" when calling putJourneyViewsEventdefinitionActivate';}return this.apiClient.callApi('/api/v2/journey/views/eventdefinitions/{eventDefinitionId}/activate','PUT',{'eventDefinitionId':eventDefinitionId},{},{},{},opts['body'],['PureCloud OAuth'],['application/json'],['application/json'],opts['customHeaders']);}}]);}();var KnowledgeApi=/*#__PURE__*/function(){/**
|
|
14301
14356
|
* Knowledge service.
|
|
14302
14357
|
* @module purecloud-platform-client-v2/api/KnowledgeApi
|
|
14303
|
-
* @version
|
|
14358
|
+
* @version 255.0.0
|
|
14304
14359
|
*//**
|
|
14305
14360
|
* Constructs a new KnowledgeApi.
|
|
14306
14361
|
* @alias module:purecloud-platform-client-v2/api/KnowledgeApi
|
|
@@ -15495,7 +15550,7 @@ if(sourceId===undefined||sourceId===null||sourceId===''){throw'Missing the requi
|
|
|
15495
15550
|
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'],opts['customHeaders']);}}]);}();var LanguageUnderstandingApi=/*#__PURE__*/function(){/**
|
|
15496
15551
|
* LanguageUnderstanding service.
|
|
15497
15552
|
* @module purecloud-platform-client-v2/api/LanguageUnderstandingApi
|
|
15498
|
-
* @version
|
|
15553
|
+
* @version 255.0.0
|
|
15499
15554
|
*//**
|
|
15500
15555
|
* Constructs a new LanguageUnderstandingApi.
|
|
15501
15556
|
* @alias module:purecloud-platform-client-v2/api/LanguageUnderstandingApi
|
|
@@ -15869,7 +15924,7 @@ if(domainVersionId===undefined||domainVersionId===null||domainVersionId===''){th
|
|
|
15869
15924
|
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'],opts['customHeaders']);}}]);}();var LanguagesApi=/*#__PURE__*/function(){/**
|
|
15870
15925
|
* Languages service.
|
|
15871
15926
|
* @module purecloud-platform-client-v2/api/LanguagesApi
|
|
15872
|
-
* @version
|
|
15927
|
+
* @version 255.0.0
|
|
15873
15928
|
*//**
|
|
15874
15929
|
* Constructs a new LanguagesApi.
|
|
15875
15930
|
* @alias module:purecloud-platform-client-v2/api/LanguagesApi
|
|
@@ -15939,7 +15994,7 @@ if(userId===undefined||userId===null||userId===''){throw'Missing the required pa
|
|
|
15939
15994
|
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'],opts['customHeaders']);}}]);}();var LearningApi=/*#__PURE__*/function(){/**
|
|
15940
15995
|
* Learning service.
|
|
15941
15996
|
* @module purecloud-platform-client-v2/api/LearningApi
|
|
15942
|
-
* @version
|
|
15997
|
+
* @version 255.0.0
|
|
15943
15998
|
*//**
|
|
15944
15999
|
* Constructs a new LearningApi.
|
|
15945
16000
|
* @alias module:purecloud-platform-client-v2/api/LearningApi
|
|
@@ -16287,7 +16342,7 @@ if(moduleId===undefined||moduleId===null||moduleId===''){throw'Missing the requi
|
|
|
16287
16342
|
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'],opts['customHeaders']);}}]);}();var LicenseApi=/*#__PURE__*/function(){/**
|
|
16288
16343
|
* License service.
|
|
16289
16344
|
* @module purecloud-platform-client-v2/api/LicenseApi
|
|
16290
|
-
* @version
|
|
16345
|
+
* @version 255.0.0
|
|
16291
16346
|
*//**
|
|
16292
16347
|
* Constructs a new LicenseApi.
|
|
16293
16348
|
* @alias module:purecloud-platform-client-v2/api/LicenseApi
|
|
@@ -16362,7 +16417,7 @@ if(featureName===undefined||featureName===null||featureName===''){throw'Missing
|
|
|
16362
16417
|
*/},{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'],opts['customHeaders']);}}]);}();var LocationsApi=/*#__PURE__*/function(){/**
|
|
16363
16418
|
* Locations service.
|
|
16364
16419
|
* @module purecloud-platform-client-v2/api/LocationsApi
|
|
16365
|
-
* @version
|
|
16420
|
+
* @version 255.0.0
|
|
16366
16421
|
*//**
|
|
16367
16422
|
* Constructs a new LocationsApi.
|
|
16368
16423
|
* @alias module:purecloud-platform-client-v2/api/LocationsApi
|
|
@@ -16434,7 +16489,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
16434
16489
|
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'],opts['customHeaders']);}}]);}();var LogCaptureApi=/*#__PURE__*/function(){/**
|
|
16435
16490
|
* LogCapture service.
|
|
16436
16491
|
* @module purecloud-platform-client-v2/api/LogCaptureApi
|
|
16437
|
-
* @version
|
|
16492
|
+
* @version 255.0.0
|
|
16438
16493
|
*//**
|
|
16439
16494
|
* Constructs a new LogCaptureApi.
|
|
16440
16495
|
* @alias module:purecloud-platform-client-v2/api/LogCaptureApi
|
|
@@ -16493,7 +16548,7 @@ if(userId===undefined||userId===null||userId===''){throw'Missing the required pa
|
|
|
16493
16548
|
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'],opts['customHeaders']);}}]);}();var MessagingApi=/*#__PURE__*/function(){/**
|
|
16494
16549
|
* Messaging service.
|
|
16495
16550
|
* @module purecloud-platform-client-v2/api/MessagingApi
|
|
16496
|
-
* @version
|
|
16551
|
+
* @version 255.0.0
|
|
16497
16552
|
*//**
|
|
16498
16553
|
* Constructs a new MessagingApi.
|
|
16499
16554
|
* @alias module:purecloud-platform-client-v2/api/MessagingApi
|
|
@@ -16607,7 +16662,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
16607
16662
|
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'],opts['customHeaders']);}}]);}();var MobileDevicesApi=/*#__PURE__*/function(){/**
|
|
16608
16663
|
* MobileDevices service.
|
|
16609
16664
|
* @module purecloud-platform-client-v2/api/MobileDevicesApi
|
|
16610
|
-
* @version
|
|
16665
|
+
* @version 255.0.0
|
|
16611
16666
|
*//**
|
|
16612
16667
|
* Constructs a new MobileDevicesApi.
|
|
16613
16668
|
* @alias module:purecloud-platform-client-v2/api/MobileDevicesApi
|
|
@@ -16654,7 +16709,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
16654
16709
|
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'],opts['customHeaders']);}}]);}();var NotificationsApi=/*#__PURE__*/function(){/**
|
|
16655
16710
|
* Notifications service.
|
|
16656
16711
|
* @module purecloud-platform-client-v2/api/NotificationsApi
|
|
16657
|
-
* @version
|
|
16712
|
+
* @version 255.0.0
|
|
16658
16713
|
*//**
|
|
16659
16714
|
* Constructs a new NotificationsApi.
|
|
16660
16715
|
* @alias module:purecloud-platform-client-v2/api/NotificationsApi
|
|
@@ -16723,7 +16778,7 @@ if(channelId===undefined||channelId===null||channelId===''){throw'Missing the re
|
|
|
16723
16778
|
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'],opts['customHeaders']);}}]);}();var OAuthApi=/*#__PURE__*/function(){/**
|
|
16724
16779
|
* OAuth service.
|
|
16725
16780
|
* @module purecloud-platform-client-v2/api/OAuthApi
|
|
16726
|
-
* @version
|
|
16781
|
+
* @version 255.0.0
|
|
16727
16782
|
*//**
|
|
16728
16783
|
* Constructs a new OAuthApi.
|
|
16729
16784
|
* @alias module:purecloud-platform-client-v2/api/OAuthApi
|
|
@@ -16829,7 +16884,7 @@ if(clientId===undefined||clientId===null||clientId===''){throw'Missing the requi
|
|
|
16829
16884
|
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'],opts['customHeaders']);}}]);}();var ObjectsApi=/*#__PURE__*/function(){/**
|
|
16830
16885
|
* Objects service.
|
|
16831
16886
|
* @module purecloud-platform-client-v2/api/ObjectsApi
|
|
16832
|
-
* @version
|
|
16887
|
+
* @version 255.0.0
|
|
16833
16888
|
*//**
|
|
16834
16889
|
* Constructs a new ObjectsApi.
|
|
16835
16890
|
* @alias module:purecloud-platform-client-v2/api/ObjectsApi
|
|
@@ -16932,7 +16987,7 @@ if(divisionId===undefined||divisionId===null||divisionId===''){throw'Missing the
|
|
|
16932
16987
|
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'],opts['customHeaders']);}}]);}();var OperationalEventsApi=/*#__PURE__*/function(){/**
|
|
16933
16988
|
* OperationalEvents service.
|
|
16934
16989
|
* @module purecloud-platform-client-v2/api/OperationalEventsApi
|
|
16935
|
-
* @version
|
|
16990
|
+
* @version 255.0.0
|
|
16936
16991
|
*//**
|
|
16937
16992
|
* Constructs a new OperationalEventsApi.
|
|
16938
16993
|
* @alias module:purecloud-platform-client-v2/api/OperationalEventsApi
|
|
@@ -16969,7 +17024,7 @@ if(eventDefinitionId===undefined||eventDefinitionId===null||eventDefinitionId===
|
|
|
16969
17024
|
*/},{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'],opts['customHeaders']);}}]);}();var OrganizationApi=/*#__PURE__*/function(){/**
|
|
16970
17025
|
* Organization service.
|
|
16971
17026
|
* @module purecloud-platform-client-v2/api/OrganizationApi
|
|
16972
|
-
* @version
|
|
17027
|
+
* @version 255.0.0
|
|
16973
17028
|
*//**
|
|
16974
17029
|
* Constructs a new OrganizationApi.
|
|
16975
17030
|
* @alias module:purecloud-platform-client-v2/api/OrganizationApi
|
|
@@ -17109,7 +17164,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
17109
17164
|
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'],opts['customHeaders']);}}]);}();var OrganizationAuthorizationApi=/*#__PURE__*/function(){/**
|
|
17110
17165
|
* OrganizationAuthorization service.
|
|
17111
17166
|
* @module purecloud-platform-client-v2/api/OrganizationAuthorizationApi
|
|
17112
|
-
* @version
|
|
17167
|
+
* @version 255.0.0
|
|
17113
17168
|
*//**
|
|
17114
17169
|
* Constructs a new OrganizationAuthorizationApi.
|
|
17115
17170
|
* @alias module:purecloud-platform-client-v2/api/OrganizationAuthorizationApi
|
|
@@ -17529,7 +17584,7 @@ if(trustorOrgId===undefined||trustorOrgId===null||trustorOrgId===''){throw'Missi
|
|
|
17529
17584
|
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'],opts['customHeaders']);}}]);}();var OutboundApi=/*#__PURE__*/function(){/**
|
|
17530
17585
|
* Outbound service.
|
|
17531
17586
|
* @module purecloud-platform-client-v2/api/OutboundApi
|
|
17532
|
-
* @version
|
|
17587
|
+
* @version 255.0.0
|
|
17533
17588
|
*//**
|
|
17534
17589
|
* Constructs a new OutboundApi.
|
|
17535
17590
|
* @alias module:purecloud-platform-client-v2/api/OutboundApi
|
|
@@ -19015,7 +19070,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
19015
19070
|
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'],opts['customHeaders']);}}]);}();var PresenceApi=/*#__PURE__*/function(){/**
|
|
19016
19071
|
* Presence service.
|
|
19017
19072
|
* @module purecloud-platform-client-v2/api/PresenceApi
|
|
19018
|
-
* @version
|
|
19073
|
+
* @version 255.0.0
|
|
19019
19074
|
*//**
|
|
19020
19075
|
* Constructs a new PresenceApi.
|
|
19021
19076
|
* @alias module:purecloud-platform-client-v2/api/PresenceApi
|
|
@@ -19235,7 +19290,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
19235
19290
|
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'],opts['customHeaders']);}}]);}();var ProcessAutomationApi=/*#__PURE__*/function(){/**
|
|
19236
19291
|
* ProcessAutomation service.
|
|
19237
19292
|
* @module purecloud-platform-client-v2/api/ProcessAutomationApi
|
|
19238
|
-
* @version
|
|
19293
|
+
* @version 255.0.0
|
|
19239
19294
|
*//**
|
|
19240
19295
|
* Constructs a new ProcessAutomationApi.
|
|
19241
19296
|
* @alias module:purecloud-platform-client-v2/api/ProcessAutomationApi
|
|
@@ -19349,7 +19404,7 @@ if(triggerId===undefined||triggerId===null||triggerId===''){throw'Missing the re
|
|
|
19349
19404
|
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'],opts['customHeaders']);}}]);}();var QualityApi=/*#__PURE__*/function(){/**
|
|
19350
19405
|
* Quality service.
|
|
19351
19406
|
* @module purecloud-platform-client-v2/api/QualityApi
|
|
19352
|
-
* @version
|
|
19407
|
+
* @version 255.0.0
|
|
19353
19408
|
*//**
|
|
19354
19409
|
* Constructs a new QualityApi.
|
|
19355
19410
|
* @alias module:purecloud-platform-client-v2/api/QualityApi
|
|
@@ -19362,7 +19417,6 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
19362
19417
|
* @param {String} jobId jobId
|
|
19363
19418
|
* @param {Object} opts Optional parameters
|
|
19364
19419
|
* @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
|
|
19365
|
-
* deleteAnalyticsEvaluationsAggregatesJob is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
19366
19420
|
*/return _createClass(QualityApi,[{key:"deleteAnalyticsEvaluationsAggregatesJob",value:function deleteAnalyticsEvaluationsAggregatesJob(jobId,opts){opts=opts||{};// verify the required parameter 'jobId' is set
|
|
19367
19421
|
if(jobId===undefined||jobId===null||jobId===''){throw'Missing the required parameter "jobId" when calling deleteAnalyticsEvaluationsAggregatesJob';}return this.apiClient.callApi('/api/v2/analytics/evaluations/aggregates/jobs/{jobId}','DELETE',{'jobId':jobId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json'],opts['customHeaders']);}/**
|
|
19368
19422
|
* Delete/cancel an async request for survey aggregates
|
|
@@ -19370,7 +19424,6 @@ if(jobId===undefined||jobId===null||jobId===''){throw'Missing the required param
|
|
|
19370
19424
|
* @param {String} jobId jobId
|
|
19371
19425
|
* @param {Object} opts Optional parameters
|
|
19372
19426
|
* @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
|
|
19373
|
-
* deleteAnalyticsSurveysAggregatesJob is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
19374
19427
|
*/},{key:"deleteAnalyticsSurveysAggregatesJob",value:function deleteAnalyticsSurveysAggregatesJob(jobId,opts){opts=opts||{};// verify the required parameter 'jobId' is set
|
|
19375
19428
|
if(jobId===undefined||jobId===null||jobId===''){throw'Missing the required parameter "jobId" when calling deleteAnalyticsSurveysAggregatesJob';}return this.apiClient.callApi('/api/v2/analytics/surveys/aggregates/jobs/{jobId}','DELETE',{'jobId':jobId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json'],opts['customHeaders']);}/**
|
|
19376
19429
|
* Delete a calibration by id.
|
|
@@ -19428,7 +19481,6 @@ if(ruleId===undefined||ruleId===null||ruleId===''){throw'Missing the required pa
|
|
|
19428
19481
|
* @param {String} jobId jobId
|
|
19429
19482
|
* @param {Object} opts Optional parameters
|
|
19430
19483
|
* @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
|
|
19431
|
-
* getAnalyticsEvaluationsAggregatesJob is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
19432
19484
|
*/},{key:"getAnalyticsEvaluationsAggregatesJob",value:function getAnalyticsEvaluationsAggregatesJob(jobId,opts){opts=opts||{};// verify the required parameter 'jobId' is set
|
|
19433
19485
|
if(jobId===undefined||jobId===null||jobId===''){throw'Missing the required parameter "jobId" when calling getAnalyticsEvaluationsAggregatesJob';}return this.apiClient.callApi('/api/v2/analytics/evaluations/aggregates/jobs/{jobId}','GET',{'jobId':jobId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json'],opts['customHeaders']);}/**
|
|
19434
19486
|
* Fetch a page of results for an async aggregates query
|
|
@@ -19437,7 +19489,6 @@ if(jobId===undefined||jobId===null||jobId===''){throw'Missing the required param
|
|
|
19437
19489
|
* @param {Object} opts Optional parameters
|
|
19438
19490
|
* @param {String} opts.cursor Cursor token to retrieve next page
|
|
19439
19491
|
* @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
|
|
19440
|
-
* getAnalyticsEvaluationsAggregatesJobResults is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
19441
19492
|
*/},{key:"getAnalyticsEvaluationsAggregatesJobResults",value:function getAnalyticsEvaluationsAggregatesJobResults(jobId,opts){opts=opts||{};// verify the required parameter 'jobId' is set
|
|
19442
19493
|
if(jobId===undefined||jobId===null||jobId===''){throw'Missing the required parameter "jobId" when calling getAnalyticsEvaluationsAggregatesJobResults';}return this.apiClient.callApi('/api/v2/analytics/evaluations/aggregates/jobs/{jobId}/results','GET',{'jobId':jobId},{'cursor':opts['cursor']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json'],opts['customHeaders']);}/**
|
|
19443
19494
|
* Get status for async query for survey aggregates
|
|
@@ -19445,7 +19496,6 @@ if(jobId===undefined||jobId===null||jobId===''){throw'Missing the required param
|
|
|
19445
19496
|
* @param {String} jobId jobId
|
|
19446
19497
|
* @param {Object} opts Optional parameters
|
|
19447
19498
|
* @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
|
|
19448
|
-
* getAnalyticsSurveysAggregatesJob is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
19449
19499
|
*/},{key:"getAnalyticsSurveysAggregatesJob",value:function getAnalyticsSurveysAggregatesJob(jobId,opts){opts=opts||{};// verify the required parameter 'jobId' is set
|
|
19450
19500
|
if(jobId===undefined||jobId===null||jobId===''){throw'Missing the required parameter "jobId" when calling getAnalyticsSurveysAggregatesJob';}return this.apiClient.callApi('/api/v2/analytics/surveys/aggregates/jobs/{jobId}','GET',{'jobId':jobId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json'],opts['customHeaders']);}/**
|
|
19451
19501
|
* Fetch a page of results for an async aggregates query
|
|
@@ -19454,7 +19504,6 @@ if(jobId===undefined||jobId===null||jobId===''){throw'Missing the required param
|
|
|
19454
19504
|
* @param {Object} opts Optional parameters
|
|
19455
19505
|
* @param {String} opts.cursor Cursor token to retrieve next page
|
|
19456
19506
|
* @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
|
|
19457
|
-
* getAnalyticsSurveysAggregatesJobResults is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
19458
19507
|
*/},{key:"getAnalyticsSurveysAggregatesJobResults",value:function getAnalyticsSurveysAggregatesJobResults(jobId,opts){opts=opts||{};// verify the required parameter 'jobId' is set
|
|
19459
19508
|
if(jobId===undefined||jobId===null||jobId===''){throw'Missing the required parameter "jobId" when calling getAnalyticsSurveysAggregatesJobResults';}return this.apiClient.callApi('/api/v2/analytics/surveys/aggregates/jobs/{jobId}/results','GET',{'jobId':jobId},{'cursor':opts['cursor']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json'],opts['customHeaders']);}/**
|
|
19460
19509
|
* Gets a list of Agent Activities
|
|
@@ -19794,7 +19843,6 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
19794
19843
|
* @param {Object} body query
|
|
19795
19844
|
* @param {Object} opts Optional parameters
|
|
19796
19845
|
* @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
|
|
19797
|
-
* postAnalyticsEvaluationsAggregatesJobs is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
19798
19846
|
*/},{key:"postAnalyticsEvaluationsAggregatesJobs",value:function postAnalyticsEvaluationsAggregatesJobs(body,opts){opts=opts||{};// verify the required parameter 'body' is set
|
|
19799
19847
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postAnalyticsEvaluationsAggregatesJobs';}return this.apiClient.callApi('/api/v2/analytics/evaluations/aggregates/jobs','POST',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json'],opts['customHeaders']);}/**
|
|
19800
19848
|
* Query for evaluation aggregates
|
|
@@ -19809,7 +19857,6 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
19809
19857
|
* @param {Object} body query
|
|
19810
19858
|
* @param {Object} opts Optional parameters
|
|
19811
19859
|
* @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
|
|
19812
|
-
* postAnalyticsSurveysAggregatesJobs is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
19813
19860
|
*/},{key:"postAnalyticsSurveysAggregatesJobs",value:function postAnalyticsSurveysAggregatesJobs(body,opts){opts=opts||{};// verify the required parameter 'body' is set
|
|
19814
19861
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postAnalyticsSurveysAggregatesJobs';}return this.apiClient.callApi('/api/v2/analytics/surveys/aggregates/jobs','POST',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json'],opts['customHeaders']);}/**
|
|
19815
19862
|
* Query for survey aggregates
|
|
@@ -20013,7 +20060,7 @@ if(customerSurveyUrl===undefined||customerSurveyUrl===null){throw'Missing the re
|
|
|
20013
20060
|
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'],opts['customHeaders']);}}]);}();var RecordingApi=/*#__PURE__*/function(){/**
|
|
20014
20061
|
* Recording service.
|
|
20015
20062
|
* @module purecloud-platform-client-v2/api/RecordingApi
|
|
20016
|
-
* @version
|
|
20063
|
+
* @version 255.0.0
|
|
20017
20064
|
*//**
|
|
20018
20065
|
* Constructs a new RecordingApi.
|
|
20019
20066
|
* @alias module:purecloud-platform-client-v2/api/RecordingApi
|
|
@@ -20512,7 +20559,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
20512
20559
|
*/},{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'],opts['customHeaders']);}}]);}();var ResponseManagementApi=/*#__PURE__*/function(){/**
|
|
20513
20560
|
* ResponseManagement service.
|
|
20514
20561
|
* @module purecloud-platform-client-v2/api/ResponseManagementApi
|
|
20515
|
-
* @version
|
|
20562
|
+
* @version 255.0.0
|
|
20516
20563
|
*//**
|
|
20517
20564
|
* Constructs a new ResponseManagementApi.
|
|
20518
20565
|
* @alias module:purecloud-platform-client-v2/api/ResponseManagementApi
|
|
@@ -20679,7 +20726,7 @@ if(responseAssetId===undefined||responseAssetId===null||responseAssetId===''){th
|
|
|
20679
20726
|
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'],opts['customHeaders']);}}]);}();var RoutingApi=/*#__PURE__*/function(){/**
|
|
20680
20727
|
* Routing service.
|
|
20681
20728
|
* @module purecloud-platform-client-v2/api/RoutingApi
|
|
20682
|
-
* @version
|
|
20729
|
+
* @version 255.0.0
|
|
20683
20730
|
*//**
|
|
20684
20731
|
* Constructs a new RoutingApi.
|
|
20685
20732
|
* @alias module:purecloud-platform-client-v2/api/RoutingApi
|
|
@@ -20722,6 +20769,13 @@ if(routeId===undefined||routeId===null||routeId===''){throw'Missing the required
|
|
|
20722
20769
|
* @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
|
|
20723
20770
|
*/},{key:"deleteRoutingEmailOutboundDomain",value:function deleteRoutingEmailOutboundDomain(domainId,opts){opts=opts||{};// verify the required parameter 'domainId' is set
|
|
20724
20771
|
if(domainId===undefined||domainId===null||domainId===''){throw'Missing the required parameter "domainId" when calling deleteRoutingEmailOutboundDomain';}return this.apiClient.callApi('/api/v2/routing/email/outbound/domains/{domainId}','DELETE',{'domainId':domainId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json'],opts['customHeaders']);}/**
|
|
20772
|
+
* Delete an email setting. Removes the email setting and its associated settings
|
|
20773
|
+
*
|
|
20774
|
+
* @param {String} emailSettingId Email Setting ID
|
|
20775
|
+
* @param {Object} opts Optional parameters
|
|
20776
|
+
* @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
|
|
20777
|
+
*/},{key:"deleteRoutingEmailSettingEmailSettingId",value:function deleteRoutingEmailSettingEmailSettingId(emailSettingId,opts){opts=opts||{};// verify the required parameter 'emailSettingId' is set
|
|
20778
|
+
if(emailSettingId===undefined||emailSettingId===null||emailSettingId===''){throw'Missing the required parameter "emailSettingId" when calling deleteRoutingEmailSettingEmailSettingId';}return this.apiClient.callApi('/api/v2/routing/email/setting/{emailSettingId}','DELETE',{'emailSettingId':emailSettingId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json'],opts['customHeaders']);}/**
|
|
20725
20779
|
* Delete a routing language
|
|
20726
20780
|
*
|
|
20727
20781
|
* @param {String} languageId Language ID
|
|
@@ -21011,6 +21065,20 @@ if(domainId===undefined||domainId===null||domainId===''){throw'Missing the requi
|
|
|
21011
21065
|
* @param {Object} opts.expand Expand options. Valid values: settings
|
|
21012
21066
|
* @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
|
|
21013
21067
|
*/},{key:"getRoutingEmailOutboundDomains",value:function getRoutingEmailOutboundDomains(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/routing/email/outbound/domains','GET',{},{'pageSize':opts['pageSize'],'pageNumber':opts['pageNumber'],'filter':opts['filter'],'expand':opts['expand']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json'],opts['customHeaders']);}/**
|
|
21068
|
+
* Get a paged list of email routing settings.
|
|
21069
|
+
*
|
|
21070
|
+
* @param {Object} opts Optional parameters
|
|
21071
|
+
* @param {Number} opts.pageSize Page size (default to 25)
|
|
21072
|
+
* @param {Number} opts.pageNumber Page number (default to 1)
|
|
21073
|
+
* @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
|
|
21074
|
+
*/},{key:"getRoutingEmailSetting",value:function getRoutingEmailSetting(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/routing/email/setting','GET',{},{'pageSize':opts['pageSize'],'pageNumber':opts['pageNumber']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json'],opts['customHeaders']);}/**
|
|
21075
|
+
* Get email setting. Returns the specified email setting that defines settings for email
|
|
21076
|
+
*
|
|
21077
|
+
* @param {String} emailSettingId Email Setting ID
|
|
21078
|
+
* @param {Object} opts Optional parameters
|
|
21079
|
+
* @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
|
|
21080
|
+
*/},{key:"getRoutingEmailSettingEmailSettingId",value:function getRoutingEmailSettingEmailSettingId(emailSettingId,opts){opts=opts||{};// verify the required parameter 'emailSettingId' is set
|
|
21081
|
+
if(emailSettingId===undefined||emailSettingId===null||emailSettingId===''){throw'Missing the required parameter "emailSettingId" when calling getRoutingEmailSettingEmailSettingId';}return this.apiClient.callApi('/api/v2/routing/email/setting/{emailSettingId}','GET',{'emailSettingId':emailSettingId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json'],opts['customHeaders']);}/**
|
|
21014
21082
|
* Get email setup
|
|
21015
21083
|
*
|
|
21016
21084
|
* @param {Object} opts Optional parameters
|
|
@@ -21237,7 +21305,7 @@ if(queueId===undefined||queueId===null||queueId===''){throw'Missing the required
|
|
|
21237
21305
|
* @param {Object} opts.sortOrder Sort order (default to asc)
|
|
21238
21306
|
* @param {String} opts.name Name
|
|
21239
21307
|
* @param {Array.<String>} opts.id Queue ID(s)
|
|
21240
|
-
* @param {Array.<String>} opts.divisionId Division ID(s)
|
|
21308
|
+
* @param {Array.<String>} opts.divisionId Division ID(s). Including '*' will query for all divisions
|
|
21241
21309
|
* @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
|
|
21242
21310
|
*/},{key:"getRoutingQueuesDivisionviews",value:function getRoutingQueuesDivisionviews(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/routing/queues/divisionviews','GET',{},{'pageSize':opts['pageSize'],'pageNumber':opts['pageNumber'],'sortBy':opts['sortBy'],'sortOrder':opts['sortOrder'],'name':opts['name'],'id':this.apiClient.buildCollectionParam(opts['id'],'multi'),'divisionId':this.apiClient.buildCollectionParam(opts['divisionId'],'multi')},{},{},null,['PureCloud OAuth'],['application/json'],['application/json'],opts['customHeaders']);}/**
|
|
21243
21311
|
* Get a paged listing of simplified queue objects, sorted by name. Can be used to get a digest of all queues in an organization.
|
|
@@ -21340,7 +21408,7 @@ if(skillGroupId===undefined||skillGroupId===null||skillGroupId===''){throw'Missi
|
|
|
21340
21408
|
* @param {String} opts.before The cursor that points to the previous item
|
|
21341
21409
|
* @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
|
|
21342
21410
|
*/},{key:"getRoutingSkillgroups",value:function getRoutingSkillgroups(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/routing/skillgroups','GET',{},{'pageSize':opts['pageSize'],'name':opts['name'],'after':opts['after'],'before':opts['before']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json'],opts['customHeaders']);}/**
|
|
21343
|
-
* Get the list of routing skills.
|
|
21411
|
+
* Get the list of routing skills. View permission enforcement only applies to skills assigned to a division.
|
|
21344
21412
|
*
|
|
21345
21413
|
* @param {Object} opts Optional parameters
|
|
21346
21414
|
* @param {Number} opts.pageSize Page size (default to 25)
|
|
@@ -21565,6 +21633,15 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
21565
21633
|
*/},{key:"patchRoutingEmailOutboundDomain",value:function patchRoutingEmailOutboundDomain(domainId,body,opts){opts=opts||{};// verify the required parameter 'domainId' is set
|
|
21566
21634
|
if(domainId===undefined||domainId===null||domainId===''){throw'Missing the required parameter "domainId" when calling patchRoutingEmailOutboundDomain';}// verify the required parameter 'body' is set
|
|
21567
21635
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling patchRoutingEmailOutboundDomain';}return this.apiClient.callApi('/api/v2/routing/email/outbound/domains/{domainId}','PATCH',{'domainId':domainId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json'],opts['customHeaders']);}/**
|
|
21636
|
+
* Update an email setting. Modifies the settings for email setting
|
|
21637
|
+
*
|
|
21638
|
+
* @param {String} emailSettingId Email Setting ID
|
|
21639
|
+
* @param {Object} body EmailSetting
|
|
21640
|
+
* @param {Object} opts Optional parameters
|
|
21641
|
+
* @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
|
|
21642
|
+
*/},{key:"patchRoutingEmailSettingEmailSettingId",value:function patchRoutingEmailSettingEmailSettingId(emailSettingId,body,opts){opts=opts||{};// verify the required parameter 'emailSettingId' is set
|
|
21643
|
+
if(emailSettingId===undefined||emailSettingId===null||emailSettingId===''){throw'Missing the required parameter "emailSettingId" when calling patchRoutingEmailSettingEmailSettingId';}// verify the required parameter 'body' is set
|
|
21644
|
+
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling patchRoutingEmailSettingEmailSettingId';}return this.apiClient.callApi('/api/v2/routing/email/setting/{emailSettingId}','PATCH',{'emailSettingId':emailSettingId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json'],opts['customHeaders']);}/**
|
|
21568
21645
|
* Update single predictor.
|
|
21569
21646
|
*
|
|
21570
21647
|
* @param {String} predictorId Predictor ID
|
|
@@ -21812,6 +21889,13 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
21812
21889
|
* @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
|
|
21813
21890
|
*/},{key:"postRoutingEmailOutboundDomainsSimulated",value:function postRoutingEmailOutboundDomainsSimulated(body,opts){opts=opts||{};// verify the required parameter 'body' is set
|
|
21814
21891
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postRoutingEmailOutboundDomainsSimulated';}return this.apiClient.callApi('/api/v2/routing/email/outbound/domains/simulated','POST',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json'],opts['customHeaders']);}/**
|
|
21892
|
+
* Create a new email setting. Used to define various settings, that can then be associated with email domains
|
|
21893
|
+
*
|
|
21894
|
+
* @param {Object} body EmailSetting
|
|
21895
|
+
* @param {Object} opts Optional parameters
|
|
21896
|
+
* @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
|
|
21897
|
+
*/},{key:"postRoutingEmailSetting",value:function postRoutingEmailSetting(body,opts){opts=opts||{};// verify the required parameter 'body' is set
|
|
21898
|
+
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postRoutingEmailSetting';}return this.apiClient.callApi('/api/v2/routing/email/setting','POST',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json'],opts['customHeaders']);}/**
|
|
21815
21899
|
* Create Language
|
|
21816
21900
|
*
|
|
21817
21901
|
* @param {Object} body Language
|
|
@@ -22111,7 +22195,7 @@ if(userId===undefined||userId===null||userId===''){throw'Missing the required pa
|
|
|
22111
22195
|
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'],opts['customHeaders']);}}]);}();var SCIMApi=/*#__PURE__*/function(){/**
|
|
22112
22196
|
* SCIM service.
|
|
22113
22197
|
* @module purecloud-platform-client-v2/api/SCIMApi
|
|
22114
|
-
* @version
|
|
22198
|
+
* @version 255.0.0
|
|
22115
22199
|
*//**
|
|
22116
22200
|
* Constructs a new SCIMApi.
|
|
22117
22201
|
* @alias module:purecloud-platform-client-v2/api/SCIMApi
|
|
@@ -22374,7 +22458,7 @@ if(userId===undefined||userId===null||userId===''){throw'Missing the required pa
|
|
|
22374
22458
|
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'],opts['customHeaders']);}}]);}();var ScriptsApi=/*#__PURE__*/function(){/**
|
|
22375
22459
|
* Scripts service.
|
|
22376
22460
|
* @module purecloud-platform-client-v2/api/ScriptsApi
|
|
22377
|
-
* @version
|
|
22461
|
+
* @version 255.0.0
|
|
22378
22462
|
*//**
|
|
22379
22463
|
* Constructs a new ScriptsApi.
|
|
22380
22464
|
* @alias module:purecloud-platform-client-v2/api/ScriptsApi
|
|
@@ -22536,7 +22620,7 @@ if(scriptId===undefined||scriptId===null||scriptId===''){throw'Missing the requi
|
|
|
22536
22620
|
*/},{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'],opts['customHeaders']);}}]);}();var SearchApi=/*#__PURE__*/function(){/**
|
|
22537
22621
|
* Search service.
|
|
22538
22622
|
* @module purecloud-platform-client-v2/api/SearchApi
|
|
22539
|
-
* @version
|
|
22623
|
+
* @version 255.0.0
|
|
22540
22624
|
*//**
|
|
22541
22625
|
* Constructs a new SearchApi.
|
|
22542
22626
|
* @alias module:purecloud-platform-client-v2/api/SearchApi
|
|
@@ -22743,7 +22827,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
22743
22827
|
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'],opts['customHeaders']);}}]);}();var SettingsApi=/*#__PURE__*/function(){/**
|
|
22744
22828
|
* Settings service.
|
|
22745
22829
|
* @module purecloud-platform-client-v2/api/SettingsApi
|
|
22746
|
-
* @version
|
|
22830
|
+
* @version 255.0.0
|
|
22747
22831
|
*//**
|
|
22748
22832
|
* Constructs a new SettingsApi.
|
|
22749
22833
|
* @alias module:purecloud-platform-client-v2/api/SettingsApi
|
|
@@ -22840,7 +22924,7 @@ if(agentId===undefined||agentId===null||agentId===''){throw'Missing the required
|
|
|
22840
22924
|
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'],opts['customHeaders']);}}]);}();var SocialMediaApi=/*#__PURE__*/function(){/**
|
|
22841
22925
|
* SocialMedia service.
|
|
22842
22926
|
* @module purecloud-platform-client-v2/api/SocialMediaApi
|
|
22843
|
-
* @version
|
|
22927
|
+
* @version 255.0.0
|
|
22844
22928
|
*//**
|
|
22845
22929
|
* Constructs a new SocialMediaApi.
|
|
22846
22930
|
* @alias module:purecloud-platform-client-v2/api/SocialMediaApi
|
|
@@ -23395,7 +23479,7 @@ if(topicId===undefined||topicId===null||topicId===''){throw'Missing the required
|
|
|
23395
23479
|
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'],opts['customHeaders']);}}]);}();var SpeechTextAnalyticsApi=/*#__PURE__*/function(){/**
|
|
23396
23480
|
* SpeechTextAnalytics service.
|
|
23397
23481
|
* @module purecloud-platform-client-v2/api/SpeechTextAnalyticsApi
|
|
23398
|
-
* @version
|
|
23482
|
+
* @version 255.0.0
|
|
23399
23483
|
*//**
|
|
23400
23484
|
* Constructs a new SpeechTextAnalyticsApi.
|
|
23401
23485
|
* @alias module:purecloud-platform-client-v2/api/SpeechTextAnalyticsApi
|
|
@@ -23524,7 +23608,7 @@ if(conversationId===undefined||conversationId===null||conversationId===''){throw
|
|
|
23524
23608
|
* @param {String} opts.dialect The key for filter the listing by dialect, dialect format is {language}-{country} where language follows ISO 639-1 standard and country follows ISO 3166-1 alpha 2 standard
|
|
23525
23609
|
* @param {Object} opts.transcriptionEngine Filter by transcription engine, If not provided, all transcription engines will be considered
|
|
23526
23610
|
* @param {String} opts.nextPage The key for listing the next page
|
|
23527
|
-
* @param {Number} opts.pageSize The page size for the listing (default to 500)
|
|
23611
|
+
* @param {Number} opts.pageSize The page size for the listing. Default is 500 per page. Note: organizations may store up to 1000 dictionary terms per dialect; use nextPage to paginate beyond the first page when listing a full dialect vocabulary. (default to 500)
|
|
23528
23612
|
* @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
|
|
23529
23613
|
*/},{key:"getSpeechandtextanalyticsDictionaryfeedback",value:function getSpeechandtextanalyticsDictionaryfeedback(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/speechandtextanalytics/dictionaryfeedback','GET',{},{'dialect':opts['dialect'],'transcriptionEngine':opts['transcriptionEngine'],'nextPage':opts['nextPage'],'pageSize':opts['pageSize']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json'],opts['customHeaders']);}/**
|
|
23530
23614
|
* Get a Speech and Text Analytics dictionary feedback by id
|
|
@@ -23888,7 +23972,7 @@ if(topicId===undefined||topicId===null||topicId===''){throw'Missing the required
|
|
|
23888
23972
|
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'],opts['customHeaders']);}}]);}();var StationsApi=/*#__PURE__*/function(){/**
|
|
23889
23973
|
* Stations service.
|
|
23890
23974
|
* @module purecloud-platform-client-v2/api/StationsApi
|
|
23891
|
-
* @version
|
|
23975
|
+
* @version 255.0.0
|
|
23892
23976
|
*//**
|
|
23893
23977
|
* Constructs a new StationsApi.
|
|
23894
23978
|
* @alias module:purecloud-platform-client-v2/api/StationsApi
|
|
@@ -23925,7 +24009,7 @@ if(stationId===undefined||stationId===null||stationId===''){throw'Missing the re
|
|
|
23925
24009
|
*/},{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'],opts['customHeaders']);}}]);}();var SuggestApi=/*#__PURE__*/function(){/**
|
|
23926
24010
|
* Suggest service.
|
|
23927
24011
|
* @module purecloud-platform-client-v2/api/SuggestApi
|
|
23928
|
-
* @version
|
|
24012
|
+
* @version 255.0.0
|
|
23929
24013
|
*//**
|
|
23930
24014
|
* Constructs a new SuggestApi.
|
|
23931
24015
|
* @alias module:purecloud-platform-client-v2/api/SuggestApi
|
|
@@ -23969,7 +24053,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
23969
24053
|
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'],opts['customHeaders']);}}]);}();var TaskManagementApi=/*#__PURE__*/function(){/**
|
|
23970
24054
|
* TaskManagement service.
|
|
23971
24055
|
* @module purecloud-platform-client-v2/api/TaskManagementApi
|
|
23972
|
-
* @version
|
|
24056
|
+
* @version 255.0.0
|
|
23973
24057
|
*//**
|
|
23974
24058
|
* Constructs a new TaskManagementApi.
|
|
23975
24059
|
* @alias module:purecloud-platform-client-v2/api/TaskManagementApi
|
|
@@ -24613,7 +24697,7 @@ if(schemaId===undefined||schemaId===null||schemaId===''){throw'Missing the requi
|
|
|
24613
24697
|
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'],opts['customHeaders']);}}]);}();var TeamsApi=/*#__PURE__*/function(){/**
|
|
24614
24698
|
* Teams service.
|
|
24615
24699
|
* @module purecloud-platform-client-v2/api/TeamsApi
|
|
24616
|
-
* @version
|
|
24700
|
+
* @version 255.0.0
|
|
24617
24701
|
*//**
|
|
24618
24702
|
* Constructs a new TeamsApi.
|
|
24619
24703
|
* @alias module:purecloud-platform-client-v2/api/TeamsApi
|
|
@@ -24709,7 +24793,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
24709
24793
|
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'],opts['customHeaders']);}}]);}();var TelephonyApi=/*#__PURE__*/function(){/**
|
|
24710
24794
|
* Telephony service.
|
|
24711
24795
|
* @module purecloud-platform-client-v2/api/TelephonyApi
|
|
24712
|
-
* @version
|
|
24796
|
+
* @version 255.0.0
|
|
24713
24797
|
*//**
|
|
24714
24798
|
* Constructs a new TelephonyApi.
|
|
24715
24799
|
* @alias module:purecloud-platform-client-v2/api/TelephonyApi
|
|
@@ -24717,12 +24801,19 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
24717
24801
|
* @param {module:purecloud-platform-client-v2/ApiClient} apiClient Optional API client implementation to use,
|
|
24718
24802
|
* default to {@link module:purecloud-platform-client-v2/ApiClient#instance} if unspecified.
|
|
24719
24803
|
*/function TelephonyApi(apiClient){_classCallCheck(this,TelephonyApi);this.apiClient=apiClient||ApiClient.instance;}/**
|
|
24804
|
+
* Delete a link
|
|
24805
|
+
*
|
|
24806
|
+
* @param {String} targetOrganizationId targetOrganizationId
|
|
24807
|
+
* @param {Object} opts Optional parameters
|
|
24808
|
+
* @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
|
|
24809
|
+
*/return _createClass(TelephonyApi,[{key:"deleteTelephonyOrganizationLinkTargetOrganizationId",value:function deleteTelephonyOrganizationLinkTargetOrganizationId(targetOrganizationId,opts){opts=opts||{};// verify the required parameter 'targetOrganizationId' is set
|
|
24810
|
+
if(targetOrganizationId===undefined||targetOrganizationId===null||targetOrganizationId===''){throw'Missing the required parameter "targetOrganizationId" when calling deleteTelephonyOrganizationLinkTargetOrganizationId';}return this.apiClient.callApi('/api/v2/telephony/organization/link/{targetOrganizationId}','DELETE',{'targetOrganizationId':targetOrganizationId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json'],opts['customHeaders']);}/**
|
|
24720
24811
|
* Get an agent's greetings.
|
|
24721
24812
|
*
|
|
24722
24813
|
* @param {String} agentId User ID
|
|
24723
24814
|
* @param {Object} opts Optional parameters
|
|
24724
24815
|
* @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
|
|
24725
|
-
*/
|
|
24816
|
+
*/},{key:"getTelephonyAgentGreetings",value:function getTelephonyAgentGreetings(agentId,opts){opts=opts||{};// verify the required parameter 'agentId' is set
|
|
24726
24817
|
if(agentId===undefined||agentId===null||agentId===''){throw'Missing the required parameter "agentId" when calling getTelephonyAgentGreetings';}return this.apiClient.callApi('/api/v2/telephony/agents/{agentId}/greetings','GET',{'agentId':agentId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json'],opts['customHeaders']);}/**
|
|
24727
24818
|
* Get the agent's own greetings.
|
|
24728
24819
|
*
|
|
@@ -24740,6 +24831,28 @@ if(agentId===undefined||agentId===null||agentId===''){throw'Missing the required
|
|
|
24740
24831
|
* @param {Object} opts Optional parameters
|
|
24741
24832
|
* @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
|
|
24742
24833
|
*/},{key:"getTelephonyMediaregions",value:function getTelephonyMediaregions(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/telephony/mediaregions','GET',{},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json'],opts['customHeaders']);}/**
|
|
24834
|
+
* Get Number Routings by organizationId
|
|
24835
|
+
*
|
|
24836
|
+
* @param {Object} opts Optional parameters
|
|
24837
|
+
* @param {String} opts.before The cursor that points to the start of the set of entities that has been returned.
|
|
24838
|
+
* @param {String} opts.after The cursor that points to the end of the set of entities that has been returned.
|
|
24839
|
+
* @param {String} opts.pageSize Number of entities to return. Maximum of 200.
|
|
24840
|
+
* @param {String} opts.numberId numberId
|
|
24841
|
+
* @param {String} opts.activeRoutingOrganizationId activeRoutingOrganizationId
|
|
24842
|
+
* @param {String} opts.ownerOrganizationId ownerOrganizationId
|
|
24843
|
+
* @param {Object} opts.status status
|
|
24844
|
+
* @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
|
|
24845
|
+
*/},{key:"getTelephonyNumbersRouting",value:function getTelephonyNumbersRouting(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/telephony/numbers/routing','GET',{},{'before':opts['before'],'after':opts['after'],'pageSize':opts['pageSize'],'numberId':opts['numberId'],'activeRoutingOrganizationId':opts['activeRoutingOrganizationId'],'ownerOrganizationId':opts['ownerOrganizationId'],'status':opts['status']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json'],opts['customHeaders']);}/**
|
|
24846
|
+
* Get organization links
|
|
24847
|
+
*
|
|
24848
|
+
* @param {Object} opts Optional parameters
|
|
24849
|
+
* @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
|
|
24850
|
+
*/},{key:"getTelephonyOrganizationLink",value:function getTelephonyOrganizationLink(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/telephony/organization/link','GET',{},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json'],opts['customHeaders']);}/**
|
|
24851
|
+
* Get all the replica regions by primary region
|
|
24852
|
+
*
|
|
24853
|
+
* @param {Object} opts Optional parameters
|
|
24854
|
+
* @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
|
|
24855
|
+
*/},{key:"getTelephonyOrganizationLinkRegions",value:function getTelephonyOrganizationLinkRegions(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/telephony/organization/link/regions','GET',{},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json'],opts['customHeaders']);}/**
|
|
24743
24856
|
* Get the global telephony configuration.
|
|
24744
24857
|
*
|
|
24745
24858
|
* @param {Object} opts Optional parameters
|
|
@@ -24780,6 +24893,43 @@ if(dateEnd===undefined||dateEnd===null){throw'Missing the required parameter "da
|
|
|
24780
24893
|
* @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
|
|
24781
24894
|
*/},{key:"getTelephonySiptracesDownloadDownloadId",value:function getTelephonySiptracesDownloadDownloadId(downloadId,opts){opts=opts||{};// verify the required parameter 'downloadId' is set
|
|
24782
24895
|
if(downloadId===undefined||downloadId===null||downloadId===''){throw'Missing the required parameter "downloadId" when calling getTelephonySiptracesDownloadDownloadId';}return this.apiClient.callApi('/api/v2/telephony/siptraces/download/{downloadId}','GET',{'downloadId':downloadId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json'],opts['customHeaders']);}/**
|
|
24896
|
+
* Approving a requested link
|
|
24897
|
+
*
|
|
24898
|
+
* @param {String} requestingOrganizationId requestingOrganizationId
|
|
24899
|
+
* @param {Object} body Approval request body
|
|
24900
|
+
* @param {Object} opts Optional parameters
|
|
24901
|
+
* @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
|
|
24902
|
+
*/},{key:"patchTelephonyOrganizationLinkApproveRequestingOrganizationId",value:function patchTelephonyOrganizationLinkApproveRequestingOrganizationId(requestingOrganizationId,body,opts){opts=opts||{};// verify the required parameter 'requestingOrganizationId' is set
|
|
24903
|
+
if(requestingOrganizationId===undefined||requestingOrganizationId===null||requestingOrganizationId===''){throw'Missing the required parameter "requestingOrganizationId" when calling patchTelephonyOrganizationLinkApproveRequestingOrganizationId';}// verify the required parameter 'body' is set
|
|
24904
|
+
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling patchTelephonyOrganizationLinkApproveRequestingOrganizationId';}return this.apiClient.callApi('/api/v2/telephony/organization/link/approve/{requestingOrganizationId}','PATCH',{'requestingOrganizationId':requestingOrganizationId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json'],opts['customHeaders']);}/**
|
|
24905
|
+
* Update the routing of numbers for one or multiple organizations
|
|
24906
|
+
*
|
|
24907
|
+
* @param {Array.<Object>} body drRoutingList
|
|
24908
|
+
* @param {Object} opts Optional parameters
|
|
24909
|
+
* @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
|
|
24910
|
+
*/},{key:"postTelephonyNumbersRouting",value:function postTelephonyNumbersRouting(body,opts){opts=opts||{};// verify the required parameter 'body' is set
|
|
24911
|
+
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postTelephonyNumbersRouting';}return this.apiClient.callApi('/api/v2/telephony/numbers/routing','POST',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json'],opts['customHeaders']);}/**
|
|
24912
|
+
* Re-route all numbers on an organization
|
|
24913
|
+
*
|
|
24914
|
+
* @param {Object} body Value for all routing request body
|
|
24915
|
+
* @param {Object} opts Optional parameters
|
|
24916
|
+
* @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
|
|
24917
|
+
*/},{key:"postTelephonyNumbersRoutingAll",value:function postTelephonyNumbersRoutingAll(body,opts){opts=opts||{};// verify the required parameter 'body' is set
|
|
24918
|
+
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postTelephonyNumbersRoutingAll';}return this.apiClient.callApi('/api/v2/telephony/numbers/routing/all','POST',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json'],opts['customHeaders']);}/**
|
|
24919
|
+
* Reset routing for organization
|
|
24920
|
+
*
|
|
24921
|
+
* @param {Object} body Value for bulk routing request body
|
|
24922
|
+
* @param {Object} opts Optional parameters
|
|
24923
|
+
* @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
|
|
24924
|
+
*/},{key:"postTelephonyNumbersRoutingReset",value:function postTelephonyNumbersRoutingReset(body,opts){opts=opts||{};// verify the required parameter 'body' is set
|
|
24925
|
+
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postTelephonyNumbersRoutingReset';}return this.apiClient.callApi('/api/v2/telephony/numbers/routing/reset','POST',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json'],opts['customHeaders']);}/**
|
|
24926
|
+
* Create a link with an organization
|
|
24927
|
+
*
|
|
24928
|
+
* @param {Object} body CreateLinkOrg body
|
|
24929
|
+
* @param {Object} opts Optional parameters
|
|
24930
|
+
* @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
|
|
24931
|
+
*/},{key:"postTelephonyOrganizationLink",value:function postTelephonyOrganizationLink(body,opts){opts=opts||{};// verify the required parameter 'body' is set
|
|
24932
|
+
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postTelephonyOrganizationLink';}return this.apiClient.callApi('/api/v2/telephony/organization/link','POST',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json'],opts['customHeaders']);}/**
|
|
24783
24933
|
* Request a download of a pcap file to S3
|
|
24784
24934
|
*
|
|
24785
24935
|
* @param {Object} sIPSearchPublicRequest
|
|
@@ -24812,7 +24962,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
24812
24962
|
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'],opts['customHeaders']);}}]);}();var TelephonyProvidersEdgeApi=/*#__PURE__*/function(){/**
|
|
24813
24963
|
* TelephonyProvidersEdge service.
|
|
24814
24964
|
* @module purecloud-platform-client-v2/api/TelephonyProvidersEdgeApi
|
|
24815
|
-
* @version
|
|
24965
|
+
* @version 255.0.0
|
|
24816
24966
|
*//**
|
|
24817
24967
|
* Constructs a new TelephonyProvidersEdgeApi.
|
|
24818
24968
|
* @alias module:purecloud-platform-client-v2/api/TelephonyProvidersEdgeApi
|
|
@@ -25865,7 +26015,7 @@ if(trunkBaseSettingsId===undefined||trunkBaseSettingsId===null||trunkBaseSetting
|
|
|
25865
26015
|
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'],opts['customHeaders']);}}]);}();var TextbotsApi=/*#__PURE__*/function(){/**
|
|
25866
26016
|
* Textbots service.
|
|
25867
26017
|
* @module purecloud-platform-client-v2/api/TextbotsApi
|
|
25868
|
-
* @version
|
|
26018
|
+
* @version 255.0.0
|
|
25869
26019
|
*//**
|
|
25870
26020
|
* Constructs a new TextbotsApi.
|
|
25871
26021
|
* @alias module:purecloud-platform-client-v2/api/TextbotsApi
|
|
@@ -25908,7 +26058,7 @@ if(launchRequest===undefined||launchRequest===null){throw'Missing the required p
|
|
|
25908
26058
|
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'],opts['customHeaders']);}}]);}();var TokensApi=/*#__PURE__*/function(){/**
|
|
25909
26059
|
* Tokens service.
|
|
25910
26060
|
* @module purecloud-platform-client-v2/api/TokensApi
|
|
25911
|
-
* @version
|
|
26061
|
+
* @version 255.0.0
|
|
25912
26062
|
*//**
|
|
25913
26063
|
* Constructs a new TokensApi.
|
|
25914
26064
|
* @alias module:purecloud-platform-client-v2/api/TokensApi
|
|
@@ -25952,7 +26102,7 @@ if(userId===undefined||userId===null||userId===''){throw'Missing the required pa
|
|
|
25952
26102
|
*/},{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'],opts['customHeaders']);}}]);}();var UploadsApi=/*#__PURE__*/function(){/**
|
|
25953
26103
|
* Uploads service.
|
|
25954
26104
|
* @module purecloud-platform-client-v2/api/UploadsApi
|
|
25955
|
-
* @version
|
|
26105
|
+
* @version 255.0.0
|
|
25956
26106
|
*//**
|
|
25957
26107
|
* Constructs a new UploadsApi.
|
|
25958
26108
|
* @alias module:purecloud-platform-client-v2/api/UploadsApi
|
|
@@ -26047,7 +26197,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
26047
26197
|
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'],opts['customHeaders']);}}]);}();var UsageApi=/*#__PURE__*/function(){/**
|
|
26048
26198
|
* Usage service.
|
|
26049
26199
|
* @module purecloud-platform-client-v2/api/UsageApi
|
|
26050
|
-
* @version
|
|
26200
|
+
* @version 255.0.0
|
|
26051
26201
|
*//**
|
|
26052
26202
|
* Constructs a new UsageApi.
|
|
26053
26203
|
* @alias module:purecloud-platform-client-v2/api/UsageApi
|
|
@@ -26149,7 +26299,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
26149
26299
|
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'],opts['customHeaders']);}}]);}();var UserRecordingsApi=/*#__PURE__*/function(){/**
|
|
26150
26300
|
* UserRecordings service.
|
|
26151
26301
|
* @module purecloud-platform-client-v2/api/UserRecordingsApi
|
|
26152
|
-
* @version
|
|
26302
|
+
* @version 255.0.0
|
|
26153
26303
|
*//**
|
|
26154
26304
|
* Constructs a new UserRecordingsApi.
|
|
26155
26305
|
* @alias module:purecloud-platform-client-v2/api/UserRecordingsApi
|
|
@@ -26205,7 +26355,7 @@ if(recordingId===undefined||recordingId===null||recordingId===''){throw'Missing
|
|
|
26205
26355
|
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'],opts['customHeaders']);}}]);}();var UsersApi=/*#__PURE__*/function(){/**
|
|
26206
26356
|
* Users service.
|
|
26207
26357
|
* @module purecloud-platform-client-v2/api/UsersApi
|
|
26208
|
-
* @version
|
|
26358
|
+
* @version 255.0.0
|
|
26209
26359
|
*//**
|
|
26210
26360
|
* Constructs a new UsersApi.
|
|
26211
26361
|
* @alias module:purecloud-platform-client-v2/api/UsersApi
|
|
@@ -26218,7 +26368,6 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
26218
26368
|
* @param {String} jobId jobId
|
|
26219
26369
|
* @param {Object} opts Optional parameters
|
|
26220
26370
|
* @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
|
|
26221
|
-
* deleteAnalyticsUsersAggregatesJob is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
26222
26371
|
*/return _createClass(UsersApi,[{key:"deleteAnalyticsUsersAggregatesJob",value:function deleteAnalyticsUsersAggregatesJob(jobId,opts){opts=opts||{};// verify the required parameter 'jobId' is set
|
|
26223
26372
|
if(jobId===undefined||jobId===null||jobId===''){throw'Missing the required parameter "jobId" when calling deleteAnalyticsUsersAggregatesJob';}return this.apiClient.callApi('/api/v2/analytics/users/aggregates/jobs/{jobId}','DELETE',{'jobId':jobId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json'],opts['customHeaders']);}/**
|
|
26224
26373
|
* Delete/cancel an async request
|
|
@@ -26343,7 +26492,6 @@ if(schemaId===undefined||schemaId===null||schemaId===''){throw'Missing the requi
|
|
|
26343
26492
|
* @param {String} jobId jobId
|
|
26344
26493
|
* @param {Object} opts Optional parameters
|
|
26345
26494
|
* @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
|
|
26346
|
-
* getAnalyticsUsersAggregatesJob is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
26347
26495
|
*/},{key:"getAnalyticsUsersAggregatesJob",value:function getAnalyticsUsersAggregatesJob(jobId,opts){opts=opts||{};// verify the required parameter 'jobId' is set
|
|
26348
26496
|
if(jobId===undefined||jobId===null||jobId===''){throw'Missing the required parameter "jobId" when calling getAnalyticsUsersAggregatesJob';}return this.apiClient.callApi('/api/v2/analytics/users/aggregates/jobs/{jobId}','GET',{'jobId':jobId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json'],opts['customHeaders']);}/**
|
|
26349
26497
|
* Fetch a page of results for an async aggregates query
|
|
@@ -26352,7 +26500,6 @@ if(jobId===undefined||jobId===null||jobId===''){throw'Missing the required param
|
|
|
26352
26500
|
* @param {Object} opts Optional parameters
|
|
26353
26501
|
* @param {String} opts.cursor Cursor token to retrieve next page
|
|
26354
26502
|
* @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
|
|
26355
|
-
* getAnalyticsUsersAggregatesJobResults is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
26356
26503
|
*/},{key:"getAnalyticsUsersAggregatesJobResults",value:function getAnalyticsUsersAggregatesJobResults(jobId,opts){opts=opts||{};// verify the required parameter 'jobId' is set
|
|
26357
26504
|
if(jobId===undefined||jobId===null||jobId===''){throw'Missing the required parameter "jobId" when calling getAnalyticsUsersAggregatesJobResults';}return this.apiClient.callApi('/api/v2/analytics/users/aggregates/jobs/{jobId}/results','GET',{'jobId':jobId},{'cursor':opts['cursor']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json'],opts['customHeaders']);}/**
|
|
26358
26505
|
* Get status for async query for user details
|
|
@@ -26938,7 +27085,6 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
26938
27085
|
* @param {Object} body query
|
|
26939
27086
|
* @param {Object} opts Optional parameters
|
|
26940
27087
|
* @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
|
|
26941
|
-
* postAnalyticsUsersAggregatesJobs is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
26942
27088
|
*/},{key:"postAnalyticsUsersAggregatesJobs",value:function postAnalyticsUsersAggregatesJobs(body,opts){opts=opts||{};// verify the required parameter 'body' is set
|
|
26943
27089
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postAnalyticsUsersAggregatesJobs';}return this.apiClient.callApi('/api/v2/analytics/users/aggregates/jobs','POST',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json'],opts['customHeaders']);}/**
|
|
26944
27090
|
* Query for user aggregates
|
|
@@ -27267,7 +27413,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
27267
27413
|
if(stationId===undefined||stationId===null||stationId===''){throw'Missing the required parameter "stationId" when calling putUsersStationsMeAssociatedstationStationId';}return this.apiClient.callApi('/api/v2/users/stations/me/associatedstation/{stationId}','PUT',{'stationId':stationId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json'],opts['customHeaders']);}}]);}();var UsersRulesApi=/*#__PURE__*/function(){/**
|
|
27268
27414
|
* UsersRules service.
|
|
27269
27415
|
* @module purecloud-platform-client-v2/api/UsersRulesApi
|
|
27270
|
-
* @version
|
|
27416
|
+
* @version 255.0.0
|
|
27271
27417
|
*//**
|
|
27272
27418
|
* Constructs a new UsersRulesApi.
|
|
27273
27419
|
* @alias module:purecloud-platform-client-v2/api/UsersRulesApi
|
|
@@ -27357,7 +27503,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
27357
27503
|
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'],opts['customHeaders']);}}]);}();var UtilitiesApi=/*#__PURE__*/function(){/**
|
|
27358
27504
|
* Utilities service.
|
|
27359
27505
|
* @module purecloud-platform-client-v2/api/UtilitiesApi
|
|
27360
|
-
* @version
|
|
27506
|
+
* @version 255.0.0
|
|
27361
27507
|
*//**
|
|
27362
27508
|
* Constructs a new UtilitiesApi.
|
|
27363
27509
|
* @alias module:purecloud-platform-client-v2/api/UtilitiesApi
|
|
@@ -27391,7 +27537,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
27391
27537
|
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'],opts['customHeaders']);}}]);}();var VoicemailApi=/*#__PURE__*/function(){/**
|
|
27392
27538
|
* Voicemail service.
|
|
27393
27539
|
* @module purecloud-platform-client-v2/api/VoicemailApi
|
|
27394
|
-
* @version
|
|
27540
|
+
* @version 255.0.0
|
|
27395
27541
|
*//**
|
|
27396
27542
|
* Constructs a new VoicemailApi.
|
|
27397
27543
|
* @alias module:purecloud-platform-client-v2/api/VoicemailApi
|
|
@@ -27598,7 +27744,7 @@ if(userId===undefined||userId===null||userId===''){throw'Missing the required pa
|
|
|
27598
27744
|
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'],opts['customHeaders']);}}]);}();var WebChatApi=/*#__PURE__*/function(){/**
|
|
27599
27745
|
* WebChat service.
|
|
27600
27746
|
* @module purecloud-platform-client-v2/api/WebChatApi
|
|
27601
|
-
* @version
|
|
27747
|
+
* @version 255.0.0
|
|
27602
27748
|
*//**
|
|
27603
27749
|
* Constructs a new WebChatApi.
|
|
27604
27750
|
* @alias module:purecloud-platform-client-v2/api/WebChatApi
|
|
@@ -27781,7 +27927,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
27781
27927
|
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'],opts['customHeaders']);}}]);}();var WebDeploymentsApi=/*#__PURE__*/function(){/**
|
|
27782
27928
|
* WebDeployments service.
|
|
27783
27929
|
* @module purecloud-platform-client-v2/api/WebDeploymentsApi
|
|
27784
|
-
* @version
|
|
27930
|
+
* @version 255.0.0
|
|
27785
27931
|
*//**
|
|
27786
27932
|
* Constructs a new WebDeploymentsApi.
|
|
27787
27933
|
* @alias module:purecloud-platform-client-v2/api/WebDeploymentsApi
|
|
@@ -27959,7 +28105,7 @@ if(deploymentId===undefined||deploymentId===null||deploymentId===''){throw'Missi
|
|
|
27959
28105
|
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'],opts['customHeaders']);}}]);}();var WebMessagingApi=/*#__PURE__*/function(){/**
|
|
27960
28106
|
* WebMessaging service.
|
|
27961
28107
|
* @module purecloud-platform-client-v2/api/WebMessagingApi
|
|
27962
|
-
* @version
|
|
28108
|
+
* @version 255.0.0
|
|
27963
28109
|
*//**
|
|
27964
28110
|
* Constructs a new WebMessagingApi.
|
|
27965
28111
|
* @alias module:purecloud-platform-client-v2/api/WebMessagingApi
|
|
@@ -28007,7 +28153,7 @@ if(tokenId===undefined||tokenId===null||tokenId===''){throw'Missing the required
|
|
|
28007
28153
|
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'],opts['customHeaders']);}}]);}();var WidgetsApi=/*#__PURE__*/function(){/**
|
|
28008
28154
|
* Widgets service.
|
|
28009
28155
|
* @module purecloud-platform-client-v2/api/WidgetsApi
|
|
28010
|
-
* @version
|
|
28156
|
+
* @version 255.0.0
|
|
28011
28157
|
*//**
|
|
28012
28158
|
* Constructs a new WidgetsApi.
|
|
28013
28159
|
* @alias module:purecloud-platform-client-v2/api/WidgetsApi
|
|
@@ -28057,7 +28203,7 @@ if(deploymentId===undefined||deploymentId===null||deploymentId===''){throw'Missi
|
|
|
28057
28203
|
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'],opts['customHeaders']);}}]);}();var WorkforceManagementApi=/*#__PURE__*/function(){/**
|
|
28058
28204
|
* WorkforceManagement service.
|
|
28059
28205
|
* @module purecloud-platform-client-v2/api/WorkforceManagementApi
|
|
28060
|
-
* @version
|
|
28206
|
+
* @version 255.0.0
|
|
28061
28207
|
*//**
|
|
28062
28208
|
* Constructs a new WorkforceManagementApi.
|
|
28063
28209
|
* @alias module:purecloud-platform-client-v2/api/WorkforceManagementApi
|
|
@@ -28100,6 +28246,26 @@ if(capacityPlanId===undefined||capacityPlanId===null||capacityPlanId===''){throw
|
|
|
28100
28246
|
*/},{key:"deleteWorkforcemanagementBusinessunitPlanninggroup",value:function deleteWorkforcemanagementBusinessunitPlanninggroup(businessUnitId,planningGroupId,opts){opts=opts||{};// verify the required parameter 'businessUnitId' is set
|
|
28101
28247
|
if(businessUnitId===undefined||businessUnitId===null||businessUnitId===''){throw'Missing the required parameter "businessUnitId" when calling deleteWorkforcemanagementBusinessunitPlanninggroup';}// verify the required parameter 'planningGroupId' is set
|
|
28102
28248
|
if(planningGroupId===undefined||planningGroupId===null||planningGroupId===''){throw'Missing the required parameter "planningGroupId" when calling deleteWorkforcemanagementBusinessunitPlanninggroup';}return this.apiClient.callApi('/api/v2/workforcemanagement/businessunits/{businessUnitId}/planninggroups/{planningGroupId}','DELETE',{'businessUnitId':businessUnitId,'planningGroupId':planningGroupId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json'],opts['customHeaders']);}/**
|
|
28249
|
+
* Delete a schedule bid
|
|
28250
|
+
*
|
|
28251
|
+
* @param {String} businessUnitId The ID of the business unit
|
|
28252
|
+
* @param {String} bidId The ID of the schedule bid
|
|
28253
|
+
* @param {Object} opts Optional parameters
|
|
28254
|
+
* @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
|
|
28255
|
+
*/},{key:"deleteWorkforcemanagementBusinessunitSchedulebid",value:function deleteWorkforcemanagementBusinessunitSchedulebid(businessUnitId,bidId,opts){opts=opts||{};// verify the required parameter 'businessUnitId' is set
|
|
28256
|
+
if(businessUnitId===undefined||businessUnitId===null||businessUnitId===''){throw'Missing the required parameter "businessUnitId" when calling deleteWorkforcemanagementBusinessunitSchedulebid';}// verify the required parameter 'bidId' is set
|
|
28257
|
+
if(bidId===undefined||bidId===null||bidId===''){throw'Missing the required parameter "bidId" when calling deleteWorkforcemanagementBusinessunitSchedulebid';}return this.apiClient.callApi('/api/v2/workforcemanagement/businessunits/{businessUnitId}/schedulebids/{bidId}','DELETE',{'businessUnitId':businessUnitId,'bidId':bidId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json'],opts['customHeaders']);}/**
|
|
28258
|
+
* Delete a schedule bid group by bid group Id
|
|
28259
|
+
*
|
|
28260
|
+
* @param {String} businessUnitId The ID of the business unit
|
|
28261
|
+
* @param {String} bidId The ID of the schedule bid associated with the bid groups
|
|
28262
|
+
* @param {String} bidGroupId Schedule Bid Group id
|
|
28263
|
+
* @param {Object} opts Optional parameters
|
|
28264
|
+
* @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
|
|
28265
|
+
*/},{key:"deleteWorkforcemanagementBusinessunitSchedulebidGroup",value:function deleteWorkforcemanagementBusinessunitSchedulebidGroup(businessUnitId,bidId,bidGroupId,opts){opts=opts||{};// verify the required parameter 'businessUnitId' is set
|
|
28266
|
+
if(businessUnitId===undefined||businessUnitId===null||businessUnitId===''){throw'Missing the required parameter "businessUnitId" when calling deleteWorkforcemanagementBusinessunitSchedulebidGroup';}// verify the required parameter 'bidId' is set
|
|
28267
|
+
if(bidId===undefined||bidId===null||bidId===''){throw'Missing the required parameter "bidId" when calling deleteWorkforcemanagementBusinessunitSchedulebidGroup';}// verify the required parameter 'bidGroupId' is set
|
|
28268
|
+
if(bidGroupId===undefined||bidGroupId===null||bidGroupId===''){throw'Missing the required parameter "bidGroupId" when calling deleteWorkforcemanagementBusinessunitSchedulebidGroup';}return this.apiClient.callApi('/api/v2/workforcemanagement/businessunits/{businessUnitId}/schedulebids/{bidId}/groups/{bidGroupId}','DELETE',{'businessUnitId':businessUnitId,'bidId':bidId,'bidGroupId':bidGroupId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json'],opts['customHeaders']);}/**
|
|
28103
28269
|
* Cancel a scheduling run
|
|
28104
28270
|
*
|
|
28105
28271
|
* @param {String} businessUnitId The ID of the business unit
|
|
@@ -28558,6 +28724,55 @@ if(planningGroupId===undefined||planningGroupId===null||planningGroupId===''){th
|
|
|
28558
28724
|
* @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
|
|
28559
28725
|
*/},{key:"getWorkforcemanagementBusinessunitPlanninggroups",value:function getWorkforcemanagementBusinessunitPlanninggroups(businessUnitId,opts){opts=opts||{};// verify the required parameter 'businessUnitId' is set
|
|
28560
28726
|
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'],opts['customHeaders']);}/**
|
|
28727
|
+
* Get a schedule bid
|
|
28728
|
+
*
|
|
28729
|
+
* @param {String} businessUnitId The ID of the business unit
|
|
28730
|
+
* @param {String} bidId The ID of the schedule bid
|
|
28731
|
+
* @param {Object} opts Optional parameters
|
|
28732
|
+
* @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
|
|
28733
|
+
*/},{key:"getWorkforcemanagementBusinessunitSchedulebid",value:function getWorkforcemanagementBusinessunitSchedulebid(businessUnitId,bidId,opts){opts=opts||{};// verify the required parameter 'businessUnitId' is set
|
|
28734
|
+
if(businessUnitId===undefined||businessUnitId===null||businessUnitId===''){throw'Missing the required parameter "businessUnitId" when calling getWorkforcemanagementBusinessunitSchedulebid';}// verify the required parameter 'bidId' is set
|
|
28735
|
+
if(bidId===undefined||bidId===null||bidId===''){throw'Missing the required parameter "bidId" when calling getWorkforcemanagementBusinessunitSchedulebid';}return this.apiClient.callApi('/api/v2/workforcemanagement/businessunits/{businessUnitId}/schedulebids/{bidId}','GET',{'businessUnitId':businessUnitId,'bidId':bidId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json'],opts['customHeaders']);}/**
|
|
28736
|
+
* Get a schedule bid group
|
|
28737
|
+
*
|
|
28738
|
+
* @param {String} businessUnitId The ID of the business unit
|
|
28739
|
+
* @param {String} bidId The ID of the schedule bid associated with the bid groups
|
|
28740
|
+
* @param {String} bidGroupId Schedule Bid Group id
|
|
28741
|
+
* @param {Object} opts Optional parameters
|
|
28742
|
+
* @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
|
|
28743
|
+
*/},{key:"getWorkforcemanagementBusinessunitSchedulebidGroup",value:function getWorkforcemanagementBusinessunitSchedulebidGroup(businessUnitId,bidId,bidGroupId,opts){opts=opts||{};// verify the required parameter 'businessUnitId' is set
|
|
28744
|
+
if(businessUnitId===undefined||businessUnitId===null||businessUnitId===''){throw'Missing the required parameter "businessUnitId" when calling getWorkforcemanagementBusinessunitSchedulebidGroup';}// verify the required parameter 'bidId' is set
|
|
28745
|
+
if(bidId===undefined||bidId===null||bidId===''){throw'Missing the required parameter "bidId" when calling getWorkforcemanagementBusinessunitSchedulebidGroup';}// verify the required parameter 'bidGroupId' is set
|
|
28746
|
+
if(bidGroupId===undefined||bidGroupId===null||bidGroupId===''){throw'Missing the required parameter "bidGroupId" when calling getWorkforcemanagementBusinessunitSchedulebidGroup';}return this.apiClient.callApi('/api/v2/workforcemanagement/businessunits/{businessUnitId}/schedulebids/{bidId}/groups/{bidGroupId}','GET',{'businessUnitId':businessUnitId,'bidId':bidId,'bidGroupId':bidGroupId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json'],opts['customHeaders']);}/**
|
|
28747
|
+
* Get agents schedule bid preferences for a bid group
|
|
28748
|
+
*
|
|
28749
|
+
* @param {String} businessUnitId The ID of the business unit
|
|
28750
|
+
* @param {String} bidId The ID of the schedule bid associated with the bid groups
|
|
28751
|
+
* @param {String} bidGroupId The ID of the schedule bid group
|
|
28752
|
+
* @param {Object} opts Optional parameters
|
|
28753
|
+
* @param {Boolean} opts.forceDownloadService Force the result of this operation to be sent via download service. For testing/app development purposes
|
|
28754
|
+
* @param {Array.<String>} opts.expand Include to fetch agents' preferences with priorities
|
|
28755
|
+
* @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
|
|
28756
|
+
*/},{key:"getWorkforcemanagementBusinessunitSchedulebidGroupPreferences",value:function getWorkforcemanagementBusinessunitSchedulebidGroupPreferences(businessUnitId,bidId,bidGroupId,opts){opts=opts||{};// verify the required parameter 'businessUnitId' is set
|
|
28757
|
+
if(businessUnitId===undefined||businessUnitId===null||businessUnitId===''){throw'Missing the required parameter "businessUnitId" when calling getWorkforcemanagementBusinessunitSchedulebidGroupPreferences';}// verify the required parameter 'bidId' is set
|
|
28758
|
+
if(bidId===undefined||bidId===null||bidId===''){throw'Missing the required parameter "bidId" when calling getWorkforcemanagementBusinessunitSchedulebidGroupPreferences';}// verify the required parameter 'bidGroupId' is set
|
|
28759
|
+
if(bidGroupId===undefined||bidGroupId===null||bidGroupId===''){throw'Missing the required parameter "bidGroupId" when calling getWorkforcemanagementBusinessunitSchedulebidGroupPreferences';}return this.apiClient.callApi('/api/v2/workforcemanagement/businessunits/{businessUnitId}/schedulebids/{bidId}/groups/{bidGroupId}/preferences','GET',{'businessUnitId':businessUnitId,'bidId':bidId,'bidGroupId':bidGroupId},{'forceDownloadService':opts['forceDownloadService'],'expand':this.apiClient.buildCollectionParam(opts['expand'],'multi')},{},{},null,['PureCloud OAuth'],['application/json'],['application/json'],opts['customHeaders']);}/**
|
|
28760
|
+
* Get summary of bid groups that belong to a schedule bid
|
|
28761
|
+
*
|
|
28762
|
+
* @param {String} businessUnitId The ID of the business unit
|
|
28763
|
+
* @param {String} bidId The ID of the schedule bid associated with the bid groups
|
|
28764
|
+
* @param {Object} opts Optional parameters
|
|
28765
|
+
* @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
|
|
28766
|
+
*/},{key:"getWorkforcemanagementBusinessunitSchedulebidGroupsSummary",value:function getWorkforcemanagementBusinessunitSchedulebidGroupsSummary(businessUnitId,bidId,opts){opts=opts||{};// verify the required parameter 'businessUnitId' is set
|
|
28767
|
+
if(businessUnitId===undefined||businessUnitId===null||businessUnitId===''){throw'Missing the required parameter "businessUnitId" when calling getWorkforcemanagementBusinessunitSchedulebidGroupsSummary';}// verify the required parameter 'bidId' is set
|
|
28768
|
+
if(bidId===undefined||bidId===null||bidId===''){throw'Missing the required parameter "bidId" when calling getWorkforcemanagementBusinessunitSchedulebidGroupsSummary';}return this.apiClient.callApi('/api/v2/workforcemanagement/businessunits/{businessUnitId}/schedulebids/{bidId}/groups/summary','GET',{'businessUnitId':businessUnitId,'bidId':bidId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json'],opts['customHeaders']);}/**
|
|
28769
|
+
* Get list of schedule bids
|
|
28770
|
+
*
|
|
28771
|
+
* @param {String} businessUnitId The ID of the business unit
|
|
28772
|
+
* @param {Object} opts Optional parameters
|
|
28773
|
+
* @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
|
|
28774
|
+
*/},{key:"getWorkforcemanagementBusinessunitSchedulebids",value:function getWorkforcemanagementBusinessunitSchedulebids(businessUnitId,opts){opts=opts||{};// verify the required parameter 'businessUnitId' is set
|
|
28775
|
+
if(businessUnitId===undefined||businessUnitId===null||businessUnitId===''){throw'Missing the required parameter "businessUnitId" when calling getWorkforcemanagementBusinessunitSchedulebids';}return this.apiClient.callApi('/api/v2/workforcemanagement/businessunits/{businessUnitId}/schedulebids','GET',{'businessUnitId':businessUnitId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json'],opts['customHeaders']);}/**
|
|
28561
28776
|
* Get scheduler settings for a business unit
|
|
28562
28777
|
*
|
|
28563
28778
|
* @param {String} businessUnitId The ID of the business unit
|
|
@@ -28707,9 +28922,10 @@ if(timeOffPlanId===undefined||timeOffPlanId===null||timeOffPlanId===''){throw'Mi
|
|
|
28707
28922
|
* @param {Object} opts Optional parameters
|
|
28708
28923
|
* @param {String} opts.managementUnitId The ID of the management unit to get management unit specific staffing groups
|
|
28709
28924
|
* @param {Boolean} opts.forceDownloadService Force the result of this operation to be sent via download service. For testing/app development purposes
|
|
28925
|
+
* @param {Array.<String>} opts.expand Include to access additional data for the time-off plans
|
|
28710
28926
|
* @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
|
|
28711
28927
|
*/},{key:"getWorkforcemanagementBusinessunitTimeoffplans",value:function getWorkforcemanagementBusinessunitTimeoffplans(businessUnitId,opts){opts=opts||{};// verify the required parameter 'businessUnitId' is set
|
|
28712
|
-
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'],opts['customHeaders']);}/**
|
|
28928
|
+
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'],'expand':this.apiClient.buildCollectionParam(opts['expand'],'multi')},{},{},null,['PureCloud OAuth'],['application/json'],['application/json'],opts['customHeaders']);}/**
|
|
28713
28929
|
* Get users in the business unit
|
|
28714
28930
|
*
|
|
28715
28931
|
* @param {String} businessUnitId The ID of the business unit
|
|
@@ -28795,12 +29011,14 @@ if(recalculationId===undefined||recalculationId===null||recalculationId===''){th
|
|
|
28795
29011
|
* @param {String} businessUnitId The ID of the business unit
|
|
28796
29012
|
* @param {String} weekId First day of schedule week in yyyy-MM-dd format, or 'recent' (without quotes) to get recent schedules
|
|
28797
29013
|
* @param {Object} opts Optional parameters
|
|
29014
|
+
* @param {String} opts.earliestWeekDate If weekId == 'recent', specify the earliest schedule start week date (inclusive) to include in the 'recent' range, in yyyy-MM-dd format. Ignored if weekId != 'recent'. Dates are represented as an ISO-8601 string. For example: yyyy-MM-dd
|
|
29015
|
+
* @param {String} opts.latestWeekDate If weekId == 'recent', specify the latest schedule start week date (inclusive) to include in the 'recent' range, in yyyy-MM-dd format. Ignored if weekId != 'recent'. Dates are represented as an ISO-8601 string. For example: yyyy-MM-dd
|
|
28798
29016
|
* @param {Boolean} opts.includeOnlyPublished includeOnlyPublished
|
|
28799
29017
|
* @param {Object} opts.expand expand
|
|
28800
29018
|
* @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
|
|
28801
29019
|
*/},{key:"getWorkforcemanagementBusinessunitWeekSchedules",value:function getWorkforcemanagementBusinessunitWeekSchedules(businessUnitId,weekId,opts){opts=opts||{};// verify the required parameter 'businessUnitId' is set
|
|
28802
29020
|
if(businessUnitId===undefined||businessUnitId===null||businessUnitId===''){throw'Missing the required parameter "businessUnitId" when calling getWorkforcemanagementBusinessunitWeekSchedules';}// verify the required parameter 'weekId' is set
|
|
28803
|
-
if(weekId===undefined||weekId===null||weekId===''){throw'Missing the required parameter "weekId" when calling getWorkforcemanagementBusinessunitWeekSchedules';}return this.apiClient.callApi('/api/v2/workforcemanagement/businessunits/{businessUnitId}/weeks/{weekId}/schedules','GET',{'businessUnitId':businessUnitId,'weekId':weekId},{'includeOnlyPublished':opts['includeOnlyPublished'],'expand':opts['expand']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json'],opts['customHeaders']);}/**
|
|
29021
|
+
if(weekId===undefined||weekId===null||weekId===''){throw'Missing the required parameter "weekId" when calling getWorkforcemanagementBusinessunitWeekSchedules';}return this.apiClient.callApi('/api/v2/workforcemanagement/businessunits/{businessUnitId}/weeks/{weekId}/schedules','GET',{'businessUnitId':businessUnitId,'weekId':weekId},{'earliestWeekDate':opts['earliestWeekDate'],'latestWeekDate':opts['latestWeekDate'],'includeOnlyPublished':opts['includeOnlyPublished'],'expand':opts['expand']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json'],opts['customHeaders']);}/**
|
|
28804
29022
|
* Get a short term forecast
|
|
28805
29023
|
*
|
|
28806
29024
|
* @param {String} businessUnitId The ID of the business unit to which the forecast belongs
|
|
@@ -29217,6 +29435,25 @@ if(managementUnitId===undefined||managementUnitId===null||managementUnitId==='')
|
|
|
29217
29435
|
* @param {Object} opts Optional parameters
|
|
29218
29436
|
* @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
|
|
29219
29437
|
*/},{key:"getWorkforcemanagementNotifications",value:function getWorkforcemanagementNotifications(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/workforcemanagement/notifications','GET',{},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json'],opts['customHeaders']);}/**
|
|
29438
|
+
* Gets an agent's schedule bidding preference
|
|
29439
|
+
*
|
|
29440
|
+
* @param {String} bidId The ID of the schedule bid
|
|
29441
|
+
* @param {Object} opts Optional parameters
|
|
29442
|
+
* @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
|
|
29443
|
+
*/},{key:"getWorkforcemanagementSchedulebidPreference",value:function getWorkforcemanagementSchedulebidPreference(bidId,opts){opts=opts||{};// verify the required parameter 'bidId' is set
|
|
29444
|
+
if(bidId===undefined||bidId===null||bidId===''){throw'Missing the required parameter "bidId" when calling getWorkforcemanagementSchedulebidPreference';}return this.apiClient.callApi('/api/v2/workforcemanagement/schedulebids/{bidId}/preference','GET',{'bidId':bidId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json'],opts['customHeaders']);}/**
|
|
29445
|
+
* Gets an agent's schedule sets for a bid
|
|
29446
|
+
*
|
|
29447
|
+
* @param {String} bidId The ID of the schedule bid
|
|
29448
|
+
* @param {Object} opts Optional parameters
|
|
29449
|
+
* @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
|
|
29450
|
+
*/},{key:"getWorkforcemanagementSchedulebidSchedulesets",value:function getWorkforcemanagementSchedulebidSchedulesets(bidId,opts){opts=opts||{};// verify the required parameter 'bidId' is set
|
|
29451
|
+
if(bidId===undefined||bidId===null||bidId===''){throw'Missing the required parameter "bidId" when calling getWorkforcemanagementSchedulebidSchedulesets';}return this.apiClient.callApi('/api/v2/workforcemanagement/schedulebids/{bidId}/schedulesets','GET',{'bidId':bidId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json'],opts['customHeaders']);}/**
|
|
29452
|
+
* Gets the list of schedule bids that belong to an agent. It will fetch an open bid or upcoming bid or a bid that is closed recently
|
|
29453
|
+
*
|
|
29454
|
+
* @param {Object} opts Optional parameters
|
|
29455
|
+
* @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
|
|
29456
|
+
*/},{key:"getWorkforcemanagementSchedulebids",value:function getWorkforcemanagementSchedulebids(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/workforcemanagement/schedulebids','GET',{},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json'],opts['customHeaders']);}/**
|
|
29220
29457
|
* Get status of the scheduling job
|
|
29221
29458
|
*
|
|
29222
29459
|
* @param {String} jobId The id of the scheduling job
|
|
@@ -29459,6 +29696,43 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
29459
29696
|
if(businessUnitId===undefined||businessUnitId===null||businessUnitId===''){throw'Missing the required parameter "businessUnitId" when calling patchWorkforcemanagementBusinessunitPlanninggroup';}// verify the required parameter 'planningGroupId' is set
|
|
29460
29697
|
if(planningGroupId===undefined||planningGroupId===null||planningGroupId===''){throw'Missing the required parameter "planningGroupId" when calling patchWorkforcemanagementBusinessunitPlanninggroup';}// verify the required parameter 'body' is set
|
|
29461
29698
|
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'],opts['customHeaders']);}/**
|
|
29699
|
+
* Update a schedule bid
|
|
29700
|
+
*
|
|
29701
|
+
* @param {String} businessUnitId The ID of the business unit
|
|
29702
|
+
* @param {String} bidId The ID of the schedule bid
|
|
29703
|
+
* @param {Object} body The schedule bid to be updated
|
|
29704
|
+
* @param {Object} opts Optional parameters
|
|
29705
|
+
* @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
|
|
29706
|
+
*/},{key:"patchWorkforcemanagementBusinessunitSchedulebid",value:function patchWorkforcemanagementBusinessunitSchedulebid(businessUnitId,bidId,body,opts){opts=opts||{};// verify the required parameter 'businessUnitId' is set
|
|
29707
|
+
if(businessUnitId===undefined||businessUnitId===null||businessUnitId===''){throw'Missing the required parameter "businessUnitId" when calling patchWorkforcemanagementBusinessunitSchedulebid';}// verify the required parameter 'bidId' is set
|
|
29708
|
+
if(bidId===undefined||bidId===null||bidId===''){throw'Missing the required parameter "bidId" when calling patchWorkforcemanagementBusinessunitSchedulebid';}// verify the required parameter 'body' is set
|
|
29709
|
+
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling patchWorkforcemanagementBusinessunitSchedulebid';}return this.apiClient.callApi('/api/v2/workforcemanagement/businessunits/{businessUnitId}/schedulebids/{bidId}','PATCH',{'businessUnitId':businessUnitId,'bidId':bidId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json'],opts['customHeaders']);}/**
|
|
29710
|
+
* Update a schedule bid group by bid group Id
|
|
29711
|
+
*
|
|
29712
|
+
* @param {String} businessUnitId The ID of the business unit
|
|
29713
|
+
* @param {String} bidId The ID of the schedule bid associated with the bid groups
|
|
29714
|
+
* @param {String} bidGroupId Schedule Bid Group id
|
|
29715
|
+
* @param {Object} body body
|
|
29716
|
+
* @param {Object} opts Optional parameters
|
|
29717
|
+
* @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
|
|
29718
|
+
*/},{key:"patchWorkforcemanagementBusinessunitSchedulebidGroup",value:function patchWorkforcemanagementBusinessunitSchedulebidGroup(businessUnitId,bidId,bidGroupId,body,opts){opts=opts||{};// verify the required parameter 'businessUnitId' is set
|
|
29719
|
+
if(businessUnitId===undefined||businessUnitId===null||businessUnitId===''){throw'Missing the required parameter "businessUnitId" when calling patchWorkforcemanagementBusinessunitSchedulebidGroup';}// verify the required parameter 'bidId' is set
|
|
29720
|
+
if(bidId===undefined||bidId===null||bidId===''){throw'Missing the required parameter "bidId" when calling patchWorkforcemanagementBusinessunitSchedulebidGroup';}// verify the required parameter 'bidGroupId' is set
|
|
29721
|
+
if(bidGroupId===undefined||bidGroupId===null||bidGroupId===''){throw'Missing the required parameter "bidGroupId" when calling patchWorkforcemanagementBusinessunitSchedulebidGroup';}// verify the required parameter 'body' is set
|
|
29722
|
+
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling patchWorkforcemanagementBusinessunitSchedulebidGroup';}return this.apiClient.callApi('/api/v2/workforcemanagement/businessunits/{businessUnitId}/schedulebids/{bidId}/groups/{bidGroupId}','PATCH',{'businessUnitId':businessUnitId,'bidId':bidId,'bidGroupId':bidGroupId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json'],opts['customHeaders']);}/**
|
|
29723
|
+
* Overrides the assigned schedule bid for the specified agents
|
|
29724
|
+
*
|
|
29725
|
+
* @param {String} businessUnitId The ID of the business unit
|
|
29726
|
+
* @param {String} bidId The ID of the schedule bid associated with the bid groups
|
|
29727
|
+
* @param {String} bidGroupId The ID of the schedule bid group
|
|
29728
|
+
* @param {Object} body body
|
|
29729
|
+
* @param {Object} opts Optional parameters
|
|
29730
|
+
* @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
|
|
29731
|
+
*/},{key:"patchWorkforcemanagementBusinessunitSchedulebidGroupPreferences",value:function patchWorkforcemanagementBusinessunitSchedulebidGroupPreferences(businessUnitId,bidId,bidGroupId,body,opts){opts=opts||{};// verify the required parameter 'businessUnitId' is set
|
|
29732
|
+
if(businessUnitId===undefined||businessUnitId===null||businessUnitId===''){throw'Missing the required parameter "businessUnitId" when calling patchWorkforcemanagementBusinessunitSchedulebidGroupPreferences';}// verify the required parameter 'bidId' is set
|
|
29733
|
+
if(bidId===undefined||bidId===null||bidId===''){throw'Missing the required parameter "bidId" when calling patchWorkforcemanagementBusinessunitSchedulebidGroupPreferences';}// verify the required parameter 'bidGroupId' is set
|
|
29734
|
+
if(bidGroupId===undefined||bidGroupId===null||bidGroupId===''){throw'Missing the required parameter "bidGroupId" when calling patchWorkforcemanagementBusinessunitSchedulebidGroupPreferences';}// verify the required parameter 'body' is set
|
|
29735
|
+
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling patchWorkforcemanagementBusinessunitSchedulebidGroupPreferences';}return this.apiClient.callApi('/api/v2/workforcemanagement/businessunits/{businessUnitId}/schedulebids/{bidId}/groups/{bidGroupId}/preferences','PATCH',{'businessUnitId':businessUnitId,'bidId':bidId,'bidGroupId':bidGroupId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json'],opts['customHeaders']);}/**
|
|
29462
29736
|
* Update scheduler settings for a business unit
|
|
29463
29737
|
*
|
|
29464
29738
|
* @param {String} businessUnitId The ID of the business unit
|
|
@@ -30075,6 +30349,46 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
30075
30349
|
*/},{key:"postWorkforcemanagementBusinessunitPlanninggroups",value:function postWorkforcemanagementBusinessunitPlanninggroups(businessUnitId,body,opts){opts=opts||{};// verify the required parameter 'businessUnitId' is set
|
|
30076
30350
|
if(businessUnitId===undefined||businessUnitId===null||businessUnitId===''){throw'Missing the required parameter "businessUnitId" when calling postWorkforcemanagementBusinessunitPlanninggroups';}// verify the required parameter 'body' is set
|
|
30077
30351
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postWorkforcemanagementBusinessunitPlanninggroups';}return this.apiClient.callApi('/api/v2/workforcemanagement/businessunits/{businessUnitId}/planninggroups','POST',{'businessUnitId':businessUnitId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json'],opts['customHeaders']);}/**
|
|
30352
|
+
* Copy a schedule bid
|
|
30353
|
+
*
|
|
30354
|
+
* @param {String} businessUnitId The ID of the business unit
|
|
30355
|
+
* @param {String} bidId The ID of the schedule bid to copy
|
|
30356
|
+
* @param {Object} body body
|
|
30357
|
+
* @param {Object} opts Optional parameters
|
|
30358
|
+
* @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
|
|
30359
|
+
*/},{key:"postWorkforcemanagementBusinessunitSchedulebidCopy",value:function postWorkforcemanagementBusinessunitSchedulebidCopy(businessUnitId,bidId,body,opts){opts=opts||{};// verify the required parameter 'businessUnitId' is set
|
|
30360
|
+
if(businessUnitId===undefined||businessUnitId===null||businessUnitId===''){throw'Missing the required parameter "businessUnitId" when calling postWorkforcemanagementBusinessunitSchedulebidCopy';}// verify the required parameter 'bidId' is set
|
|
30361
|
+
if(bidId===undefined||bidId===null||bidId===''){throw'Missing the required parameter "bidId" when calling postWorkforcemanagementBusinessunitSchedulebidCopy';}// verify the required parameter 'body' is set
|
|
30362
|
+
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postWorkforcemanagementBusinessunitSchedulebidCopy';}return this.apiClient.callApi('/api/v2/workforcemanagement/businessunits/{businessUnitId}/schedulebids/{bidId}/copy','POST',{'businessUnitId':businessUnitId,'bidId':bidId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json'],opts['customHeaders']);}/**
|
|
30363
|
+
* Add a bid group in a given schedule bid
|
|
30364
|
+
*
|
|
30365
|
+
* @param {String} businessUnitId The ID of the business unit
|
|
30366
|
+
* @param {String} bidId The ID of the schedule bid associated with the bid groups
|
|
30367
|
+
* @param {Object} body body
|
|
30368
|
+
* @param {Object} opts Optional parameters
|
|
30369
|
+
* @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
|
|
30370
|
+
*/},{key:"postWorkforcemanagementBusinessunitSchedulebidGroups",value:function postWorkforcemanagementBusinessunitSchedulebidGroups(businessUnitId,bidId,body,opts){opts=opts||{};// verify the required parameter 'businessUnitId' is set
|
|
30371
|
+
if(businessUnitId===undefined||businessUnitId===null||businessUnitId===''){throw'Missing the required parameter "businessUnitId" when calling postWorkforcemanagementBusinessunitSchedulebidGroups';}// verify the required parameter 'bidId' is set
|
|
30372
|
+
if(bidId===undefined||bidId===null||bidId===''){throw'Missing the required parameter "bidId" when calling postWorkforcemanagementBusinessunitSchedulebidGroups';}// verify the required parameter 'body' is set
|
|
30373
|
+
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postWorkforcemanagementBusinessunitSchedulebidGroups';}return this.apiClient.callApi('/api/v2/workforcemanagement/businessunits/{businessUnitId}/schedulebids/{bidId}/groups','POST',{'businessUnitId':businessUnitId,'bidId':bidId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json'],opts['customHeaders']);}/**
|
|
30374
|
+
* Create a new schedule bid
|
|
30375
|
+
*
|
|
30376
|
+
* @param {String} businessUnitId The ID of the business unit
|
|
30377
|
+
* @param {Object} body The schedule bid to be created
|
|
30378
|
+
* @param {Object} opts Optional parameters
|
|
30379
|
+
* @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
|
|
30380
|
+
*/},{key:"postWorkforcemanagementBusinessunitSchedulebids",value:function postWorkforcemanagementBusinessunitSchedulebids(businessUnitId,body,opts){opts=opts||{};// verify the required parameter 'businessUnitId' is set
|
|
30381
|
+
if(businessUnitId===undefined||businessUnitId===null||businessUnitId===''){throw'Missing the required parameter "businessUnitId" when calling postWorkforcemanagementBusinessunitSchedulebids';}// verify the required parameter 'body' is set
|
|
30382
|
+
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postWorkforcemanagementBusinessunitSchedulebids';}return this.apiClient.callApi('/api/v2/workforcemanagement/businessunits/{businessUnitId}/schedulebids','POST',{'businessUnitId':businessUnitId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json'],opts['customHeaders']);}/**
|
|
30383
|
+
* Fetch all the agents with effective schedule set for the given BU
|
|
30384
|
+
*
|
|
30385
|
+
* @param {String} businessUnitId The ID of the business unit
|
|
30386
|
+
* @param {Object} body body
|
|
30387
|
+
* @param {Object} opts Optional parameters
|
|
30388
|
+
* @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
|
|
30389
|
+
*/},{key:"postWorkforcemanagementBusinessunitSchedulebidsEffectiveschedulesets",value:function postWorkforcemanagementBusinessunitSchedulebidsEffectiveschedulesets(businessUnitId,body,opts){opts=opts||{};// verify the required parameter 'businessUnitId' is set
|
|
30390
|
+
if(businessUnitId===undefined||businessUnitId===null||businessUnitId===''){throw'Missing the required parameter "businessUnitId" when calling postWorkforcemanagementBusinessunitSchedulebidsEffectiveschedulesets';}// verify the required parameter 'body' is set
|
|
30391
|
+
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postWorkforcemanagementBusinessunitSchedulebidsEffectiveschedulesets';}return this.apiClient.callApi('/api/v2/workforcemanagement/businessunits/{businessUnitId}/schedulebids/effectiveschedulesets','POST',{'businessUnitId':businessUnitId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json'],opts['customHeaders']);}/**
|
|
30078
30392
|
* Adds a new service goal template
|
|
30079
30393
|
*
|
|
30080
30394
|
* @param {String} businessUnitId The ID of the business unit.
|
|
@@ -30612,11 +30926,12 @@ if(timeOffRequestId===undefined||timeOffRequestId===null||timeOffRequestId==='')
|
|
|
30612
30926
|
* @param {String} userId The id of the user for whom the time off request estimate is requested
|
|
30613
30927
|
* @param {Object} body body
|
|
30614
30928
|
* @param {Object} opts Optional parameters
|
|
30929
|
+
* @param {Object} opts.includeOnly Limit response to the specified field
|
|
30615
30930
|
* @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
|
|
30616
30931
|
*/},{key:"postWorkforcemanagementManagementunitUserTimeoffrequestsEstimate",value:function postWorkforcemanagementManagementunitUserTimeoffrequestsEstimate(managementUnitId,userId,body,opts){opts=opts||{};// verify the required parameter 'managementUnitId' is set
|
|
30617
30932
|
if(managementUnitId===undefined||managementUnitId===null||managementUnitId===''){throw'Missing the required parameter "managementUnitId" when calling postWorkforcemanagementManagementunitUserTimeoffrequestsEstimate';}// verify the required parameter 'userId' is set
|
|
30618
30933
|
if(userId===undefined||userId===null||userId===''){throw'Missing the required parameter "userId" when calling postWorkforcemanagementManagementunitUserTimeoffrequestsEstimate';}// verify the required parameter 'body' is set
|
|
30619
|
-
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postWorkforcemanagementManagementunitUserTimeoffrequestsEstimate';}return this.apiClient.callApi('/api/v2/workforcemanagement/managementunits/{managementUnitId}/users/{userId}/timeoffrequests/estimate','POST',{'managementUnitId':managementUnitId,'userId':userId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json'],opts['customHeaders']);}/**
|
|
30934
|
+
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postWorkforcemanagementManagementunitUserTimeoffrequestsEstimate';}return this.apiClient.callApi('/api/v2/workforcemanagement/managementunits/{managementUnitId}/users/{userId}/timeoffrequests/estimate','POST',{'managementUnitId':managementUnitId,'userId':userId},{'includeOnly':opts['includeOnly']},{},{},body,['PureCloud OAuth'],['application/json'],['application/json'],opts['customHeaders']);}/**
|
|
30620
30935
|
* Matches a shift trade. This route can only be called by the receiving agent
|
|
30621
30936
|
* Deprecated. Use new route instead (/shifttrading/trades/{tradeId}/match/jobs)
|
|
30622
30937
|
* @param {String} managementUnitId The ID of the management unit, or 'mine' for the management unit of the logged-in user.
|
|
@@ -30833,9 +31148,10 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
30833
31148
|
*
|
|
30834
31149
|
* @param {Object} body body
|
|
30835
31150
|
* @param {Object} opts Optional parameters
|
|
31151
|
+
* @param {Object} opts.includeOnly Limit response to the specified field
|
|
30836
31152
|
* @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
|
|
30837
31153
|
*/},{key:"postWorkforcemanagementTimeoffrequestsEstimate",value:function postWorkforcemanagementTimeoffrequestsEstimate(body,opts){opts=opts||{};// verify the required parameter 'body' is set
|
|
30838
|
-
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postWorkforcemanagementTimeoffrequestsEstimate';}return this.apiClient.callApi('/api/v2/workforcemanagement/timeoffrequests/estimate','POST',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json'],opts['customHeaders']);}/**
|
|
31154
|
+
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postWorkforcemanagementTimeoffrequestsEstimate';}return this.apiClient.callApi('/api/v2/workforcemanagement/timeoffrequests/estimate','POST',{},{'includeOnly':opts['includeOnly']},{},{},body,['PureCloud OAuth'],['application/json'],['application/json'],opts['customHeaders']);}/**
|
|
30839
31155
|
* Retrieves integration statuses for a list of current user time off requests
|
|
30840
31156
|
*
|
|
30841
31157
|
* @param {Object} body body
|
|
@@ -30887,7 +31203,16 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
30887
31203
|
*/},{key:"putWorkforcemanagementManagementunitTimeofflimitValues",value:function putWorkforcemanagementManagementunitTimeofflimitValues(managementUnitId,timeOffLimitId,body,opts){opts=opts||{};// verify the required parameter 'managementUnitId' is set
|
|
30888
31204
|
if(managementUnitId===undefined||managementUnitId===null||managementUnitId===''){throw'Missing the required parameter "managementUnitId" when calling putWorkforcemanagementManagementunitTimeofflimitValues';}// verify the required parameter 'timeOffLimitId' is set
|
|
30889
31205
|
if(timeOffLimitId===undefined||timeOffLimitId===null||timeOffLimitId===''){throw'Missing the required parameter "timeOffLimitId" when calling putWorkforcemanagementManagementunitTimeofflimitValues';}// verify the required parameter 'body' is set
|
|
30890
|
-
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putWorkforcemanagementManagementunitTimeofflimitValues';}return this.apiClient.callApi('/api/v2/workforcemanagement/managementunits/{managementUnitId}/timeofflimits/{timeOffLimitId}/values','PUT',{'managementUnitId':managementUnitId,'timeOffLimitId':timeOffLimitId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json'],opts['customHeaders']);}
|
|
31206
|
+
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putWorkforcemanagementManagementunitTimeofflimitValues';}return this.apiClient.callApi('/api/v2/workforcemanagement/managementunits/{managementUnitId}/timeofflimits/{timeOffLimitId}/values','PUT',{'managementUnitId':managementUnitId,'timeOffLimitId':timeOffLimitId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json'],opts['customHeaders']);}/**
|
|
31207
|
+
* Update an agent's schedule set preference
|
|
31208
|
+
*
|
|
31209
|
+
* @param {String} bidId The ID of the schedule bid
|
|
31210
|
+
* @param {Object} body body
|
|
31211
|
+
* @param {Object} opts Optional parameters
|
|
31212
|
+
* @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
|
|
31213
|
+
*/},{key:"putWorkforcemanagementSchedulebidPreference",value:function putWorkforcemanagementSchedulebidPreference(bidId,body,opts){opts=opts||{};// verify the required parameter 'bidId' is set
|
|
31214
|
+
if(bidId===undefined||bidId===null||bidId===''){throw'Missing the required parameter "bidId" when calling putWorkforcemanagementSchedulebidPreference';}// verify the required parameter 'body' is set
|
|
31215
|
+
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putWorkforcemanagementSchedulebidPreference';}return this.apiClient.callApi('/api/v2/workforcemanagement/schedulebids/{bidId}/preference','PUT',{'bidId':bidId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json'],opts['customHeaders']);}}]);}();/**
|
|
30891
31216
|
* A JavaScript library to interface with the PureCloud Platform API.<br>
|
|
30892
31217
|
* The <code>index</code> module provides access to constructors for all the classes which comprise the public API.
|
|
30893
31218
|
* <p>
|
|
@@ -30916,7 +31241,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
30916
31241
|
* </pre>
|
|
30917
31242
|
* </p>
|
|
30918
31243
|
* @module purecloud-platform-client-v2/index
|
|
30919
|
-
* @version
|
|
31244
|
+
* @version 255.0.0
|
|
30920
31245
|
*/var platformClient=/*#__PURE__*/_createClass(function platformClient(){_classCallCheck(this,platformClient);/**
|
|
30921
31246
|
* The ApiClient constructor.
|
|
30922
31247
|
* @property {module:purecloud-platform-client-v2/ApiClient}
|