purecloud-platform-client-v2 193.0.0 → 195.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +2 -2
- package/dist/node/purecloud-platform-client-v2.js +748 -406
- package/dist/web-amd/purecloud-platform-client-v2.js +748 -406
- package/dist/web-amd/purecloud-platform-client-v2.min.js +1 -1
- package/dist/web-cjs/bundle.js +253 -180
- package/dist/web-cjs/purecloud-platform-client-v2.js +253 -180
- package/dist/web-cjs/purecloud-platform-client-v2.min.js +1 -1
- package/index.d.ts +537 -453
- package/package.json +1 -1
- package/src/purecloud-platform-client-v2/ApiClient.js +4 -1
- package/src/purecloud-platform-client-v2/api/AlertingApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/AnalyticsApi.js +147 -3
- package/src/purecloud-platform-client-v2/api/ArchitectApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/AuditApi.js +30 -1
- package/src/purecloud-platform-client-v2/api/AuthorizationApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/BillingApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/CarrierServicesApi.js +1 -1
- 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 +26 -316
- package/src/purecloud-platform-client-v2/api/DataExtensionsApi.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/EventsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/ExternalContactsApi.js +7 -7
- package/src/purecloud-platform-client-v2/api/FaxApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/FlowsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/GamificationApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/GeneralDataProtectionRegulationApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/GeolocationApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/GreetingsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/GroupsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/IdentityProviderApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/InfrastructureAsCodeApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/IntegrationsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/JourneyApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/KnowledgeApi.js +3 -2
- 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 +174 -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 +125 -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 -1
- 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 +1 -7
- package/src/purecloud-platform-client-v2/api/SCIMApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/ScreenRecordingApi.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/SpeechTextAnalyticsApi.js +165 -1
- package/src/purecloud-platform-client-v2/api/StationsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/SuggestApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/TaskManagementApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/TeamsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/TelephonyApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/TelephonyProvidersEdgeApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/TextbotsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/TokensApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/UploadsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/UsageApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/UserRecordingsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/UsersApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/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 +1 -1
- 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(gen,resolve,reject,_next,_throw,key,arg){try{var info=gen[key](arg);var value=info.value;}catch(error){reject(error);return;}if(info.done){resolve(value);}else{Promise.resolve(value).then(_next,_throw);}}function _asyncToGenerator(fn){return function(){var self=this,args=arguments;return new Promise(function(resolve,reject){var gen=fn.apply(self,args);function _next(value){asyncGeneratorStep(gen,resolve,reject,_next,_throw,"next",value);}function _throw(err){asyncGeneratorStep(gen,resolve,reject,_next,_throw,"throw",err);}_next(undefined);});};}function _regeneratorRuntime(){"use strict";/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */_regeneratorRuntime=function _regeneratorRuntime(){return e;};var t,e={},r=Object.prototype,n=r.hasOwnProperty,o=Object.defineProperty||function(t,e,r){t[e]=r.value;},i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",c=i.asyncIterator||"@@asyncIterator",u=i.toStringTag||"@@toStringTag";function define(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e];}try{define({},"");}catch(t){define=function define(t,e,r){return t[e]=r;};}function wrap(t,e,r,n){var i=e&&e.prototype instanceof Generator?e:Generator,a=Object.create(i.prototype),c=new Context(n||[]);return o(a,"_invoke",{value:makeInvokeMethod(t,r,c)}),a;}function tryCatch(t,e,r){try{return{type:"normal",arg:t.call(e,r)};}catch(t){return{type:"throw",arg:t};}}e.wrap=wrap;var h="suspendedStart",l="suspendedYield",f="executing",s="completed",y={};function Generator(){}function GeneratorFunction(){}function GeneratorFunctionPrototype(){}var p={};define(p,a,function(){return this;});var d=Object.getPrototypeOf,v=d&&d(d(values([])));v&&v!==r&&n.call(v,a)&&(p=v);var g=GeneratorFunctionPrototype.prototype=Generator.prototype=Object.create(p);function defineIteratorMethods(t){["next","throw","return"].forEach(function(e){define(t,e,function(t){return this._invoke(e,t);});});}function AsyncIterator(t,e){function invoke(r,o,i,a){var c=tryCatch(t[r],t,o);if("throw"!==c.type){var u=c.arg,h=u.value;return h&&"object"==_typeof(h)&&n.call(h,"__await")?e.resolve(h.__await).then(function(t){invoke("next",t,i,a);},function(t){invoke("throw",t,i,a);}):e.resolve(h).then(function(t){u.value=t,i(u);},function(t){return invoke("throw",t,i,a);});}a(c.arg);}var r;o(this,"_invoke",{value:function value(t,n){function callInvokeWithMethodAndArg(){return new e(function(e,r){invoke(t,n,e,r);});}return r=r?r.then(callInvokeWithMethodAndArg,callInvokeWithMethodAndArg):callInvokeWithMethodAndArg();}});}function makeInvokeMethod(e,r,n){var o=h;return function(i,a){if(o===f)throw Error("Generator is already running");if(o===s){if("throw"===i)throw a;return{value:t,done:!0};}for(n.method=i,n.arg=a;;){var c=n.delegate;if(c){var u=maybeInvokeDelegate(c,n);if(u){if(u===y)continue;return u;}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===h)throw o=s,n.arg;n.dispatchException(n.arg);}else"return"===n.method&&n.abrupt("return",n.arg);o=f;var p=tryCatch(e,r,n);if("normal"===p.type){if(o=n.done?s:l,p.arg===y)continue;return{value:p.arg,done:n.done};}"throw"===p.type&&(o=s,n.method="throw",n.arg=p.arg);}};}function maybeInvokeDelegate(e,r){var n=r.method,o=e.iterator[n];if(o===t)return r.delegate=null,"throw"===n&&e.iterator["return"]&&(r.method="return",r.arg=t,maybeInvokeDelegate(e,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),y;var i=tryCatch(o,e.iterator,r.arg);if("throw"===i.type)return r.method="throw",r.arg=i.arg,r.delegate=null,y;var a=i.arg;return a?a.done?(r[e.resultName]=a.value,r.next=e.nextLoc,"return"!==r.method&&(r.method="next",r.arg=t),r.delegate=null,y):a:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,y);}function pushTryEntry(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e);}function resetTryEntry(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e;}function Context(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(pushTryEntry,this),this.reset(!0);}function values(e){if(e||""===e){var r=e[a];if(r)return r.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,i=function next(){for(;++o<e.length;)if(n.call(e,o))return next.value=e[o],next.done=!1,next;return next.value=t,next.done=!0,next;};return i.next=i;}}throw new TypeError(_typeof(e)+" is not iterable");}return GeneratorFunction.prototype=GeneratorFunctionPrototype,o(g,"constructor",{value:GeneratorFunctionPrototype,configurable:!0}),o(GeneratorFunctionPrototype,"constructor",{value:GeneratorFunction,configurable:!0}),GeneratorFunction.displayName=define(GeneratorFunctionPrototype,u,"GeneratorFunction"),e.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===GeneratorFunction||"GeneratorFunction"===(e.displayName||e.name));},e.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,GeneratorFunctionPrototype):(t.__proto__=GeneratorFunctionPrototype,define(t,u,"GeneratorFunction")),t.prototype=Object.create(g),t;},e.awrap=function(t){return{__await:t};},defineIteratorMethods(AsyncIterator.prototype),define(AsyncIterator.prototype,c,function(){return this;}),e.AsyncIterator=AsyncIterator,e.async=function(t,r,n,o,i){void 0===i&&(i=Promise);var a=new AsyncIterator(wrap(t,r,n,o),i);return e.isGeneratorFunction(r)?a:a.next().then(function(t){return t.done?t.value:a.next();});},defineIteratorMethods(g),define(g,u,"Generator"),define(g,a,function(){return this;}),define(g,"toString",function(){return"[object Generator]";}),e.keys=function(t){var e=Object(t),r=[];for(var n in e)r.push(n);return r.reverse(),function next(){for(;r.length;){var t=r.pop();if(t in e)return next.value=t,next.done=!1,next;}return next.done=!0,next;};},e.values=values,Context.prototype={constructor:Context,reset:function reset(e){if(this.prev=0,this.next=0,this.sent=this._sent=t,this.done=!1,this.delegate=null,this.method="next",this.arg=t,this.tryEntries.forEach(resetTryEntry),!e)for(var r in this)"t"===r.charAt(0)&&n.call(this,r)&&!isNaN(+r.slice(1))&&(this[r]=t);},stop:function stop(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval;},dispatchException:function dispatchException(e){if(this.done)throw e;var r=this;function handle(n,o){return a.type="throw",a.arg=e,r.next=n,o&&(r.method="next",r.arg=t),!!o;}for(var o=this.tryEntries.length-1;o>=0;--o){var i=this.tryEntries[o],a=i.completion;if("root"===i.tryLoc)return handle("end");if(i.tryLoc<=this.prev){var c=n.call(i,"catchLoc"),u=n.call(i,"finallyLoc");if(c&&u){if(this.prev<i.catchLoc)return handle(i.catchLoc,!0);if(this.prev<i.finallyLoc)return handle(i.finallyLoc);}else if(c){if(this.prev<i.catchLoc)return handle(i.catchLoc,!0);}else{if(!u)throw Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return handle(i.finallyLoc);}}}},abrupt:function abrupt(t,e){for(var r=this.tryEntries.length-1;r>=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var i=o;break;}}i&&("break"===t||"continue"===t)&&i.tryLoc<=e&&e<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=t,a.arg=e,i?(this.method="next",this.next=i.finallyLoc,y):this.complete(a);},complete:function complete(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),y;},finish:function finish(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),resetTryEntry(r),y;}},"catch":function _catch(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;resetTryEntry(r);}return o;}}throw Error("illegal catch attempt");},delegateYield:function delegateYield(e,r,n){return this.delegate={iterator:values(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),y;}},e;}function _toConsumableArray(arr){return _arrayWithoutHoles(arr)||_iterableToArray(arr)||_unsupportedIterableToArray(arr)||_nonIterableSpread();}function _nonIterableSpread(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");}function _arrayWithoutHoles(arr){if(Array.isArray(arr))return _arrayLikeToArray(arr);}function _toArray(arr){return _arrayWithHoles(arr)||_iterableToArray(arr)||_unsupportedIterableToArray(arr)||_nonIterableRest();}function _iterableToArray(iter){if(typeof Symbol!=="undefined"&&iter[Symbol.iterator]!=null||iter["@@iterator"]!=null)return Array.from(iter);}function _createForOfIteratorHelper(o,allowArrayLike){var it=typeof Symbol!=="undefined"&&o[Symbol.iterator]||o["@@iterator"];if(!it){if(Array.isArray(o)||(it=_unsupportedIterableToArray(o))||allowArrayLike&&o&&typeof o.length==="number"){if(it)o=it;var i=0;var F=function F(){};return{s:F,n:function n(){if(i>=o.length)return{done:true};return{done:false,value:o[i++]};},e:function e(_e){throw _e;},f:F};}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");}var normalCompletion=true,didErr=false,err;return{s:function s(){it=it.call(o);},n:function n(){var step=it.next();normalCompletion=step.done;return step;},e:function e(_e2){didErr=true;err=_e2;},f:function f(){try{if(!normalCompletion&&it["return"]!=null)it["return"]();}finally{if(didErr)throw err;}}};}function ownKeys(e,r){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);r&&(o=o.filter(function(r){return Object.getOwnPropertyDescriptor(e,r).enumerable;})),t.push.apply(t,o);}return t;}function _objectSpread(e){for(var r=1;r<arguments.length;r++){var t=null!=arguments[r]?arguments[r]:{};r%2?ownKeys(Object(t),!0).forEach(function(r){_defineProperty(e,r,t[r]);}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):ownKeys(Object(t)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r));});}return e;}function _defineProperty(obj,key,value){key=_toPropertyKey(key);if(key in obj){Object.defineProperty(obj,key,{value:value,enumerable:true,configurable:true,writable:true});}else{obj[key]=value;}return obj;}function _classCallCheck(instance,Constructor){if(!(instance instanceof Constructor)){throw new TypeError("Cannot call a class as a function");}}function _defineProperties(target,props){for(var i=0;i<props.length;i++){var descriptor=props[i];descriptor.enumerable=descriptor.enumerable||false;descriptor.configurable=true;if("value"in descriptor)descriptor.writable=true;Object.defineProperty(target,_toPropertyKey(descriptor.key),descriptor);}}function _createClass(Constructor,protoProps,staticProps){if(protoProps)_defineProperties(Constructor.prototype,protoProps);if(staticProps)_defineProperties(Constructor,staticProps);Object.defineProperty(Constructor,"prototype",{writable:false});return Constructor;}function _toPropertyKey(t){var i=_toPrimitive(t,"string");return"symbol"==_typeof(i)?i:i+"";}function _toPrimitive(t,r){if("object"!=_typeof(t)||!t)return t;var e=t[Symbol.toPrimitive];if(void 0!==e){var i=e.call(t,r||"default");if("object"!=_typeof(i))return i;throw new TypeError("@@toPrimitive must return a primitive value.");}return("string"===r?String:Number)(t);}function _slicedToArray(arr,i){return _arrayWithHoles(arr)||_iterableToArrayLimit(arr,i)||_unsupportedIterableToArray(arr,i)||_nonIterableRest();}function _nonIterableRest(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");}function _unsupportedIterableToArray(o,minLen){if(!o)return;if(typeof o==="string")return _arrayLikeToArray(o,minLen);var n=Object.prototype.toString.call(o).slice(8,-1);if(n==="Object"&&o.constructor)n=o.constructor.name;if(n==="Map"||n==="Set")return Array.from(o);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return _arrayLikeToArray(o,minLen);}function _arrayLikeToArray(arr,len){if(len==null||len>arr.length)len=arr.length;for(var i=0,arr2=new Array(len);i<len;i++)arr2[i]=arr[i];return arr2;}function _iterableToArrayLimit(r,l){var t=null==r?null:"undefined"!=typeof Symbol&&r[Symbol.iterator]||r["@@iterator"];if(null!=t){var e,n,i,u,a=[],f=!0,o=!1;try{if(i=(t=t.call(r)).next,0===l){if(Object(t)!==t)return;f=!1;}else for(;!(f=(e=i.call(t)).done)&&(a.push(e.value),a.length!==l);f=!0);}catch(r){o=!0,n=r;}finally{try{if(!f&&null!=t["return"]&&(u=t["return"](),Object(u)!==u))return;}finally{if(o)throw n;}}return a;}}function _arrayWithHoles(arr){if(Array.isArray(arr))return arr;}function _typeof(o){"@babel/helpers - typeof";return _typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(o){return typeof o;}:function(o){return o&&"function"==typeof Symbol&&o.constructor===Symbol&&o!==Symbol.prototype?"symbol":typeof o;},_typeof(o);}function _wrapAsyncGenerator(fn){return function(){return new _AsyncGenerator(fn.apply(this,arguments));};}function _AsyncGenerator(e){var r,t;function resume(r,t){try{var n=e[r](t),o=n.value,u=o instanceof _OverloadYield;Promise.resolve(u?o.v:o).then(function(t){if(u){var i="return"===r?"return":"next";if(!o.k||t.done)return resume(i,t);t=e[i](t).value;}settle(n.done?"return":"normal",t);},function(e){resume("throw",e);});}catch(e){settle("throw",e);}}function settle(e,n){switch(e){case"return":r.resolve({value:n,done:!0});break;case"throw":r.reject(n);break;default:r.resolve({value:n,done:!1});}(r=r.next)?resume(r.key,r.arg):t=null;}this._invoke=function(e,n){return new Promise(function(o,u){var i={key:e,arg:n,resolve:o,reject:u,next:null};t?t=t.next=i:(r=t=i,resume(e,n));});},"function"!=typeof e["return"]&&(this["return"]=void 0);}_AsyncGenerator.prototype["function"==typeof Symbol&&Symbol.asyncIterator||"@@asyncIterator"]=function(){return this;},_AsyncGenerator.prototype.next=function(e){return this._invoke("next",e);},_AsyncGenerator.prototype["throw"]=function(e){return this._invoke("throw",e);},_AsyncGenerator.prototype["return"]=function(e){return this._invoke("return",e);};function _awaitAsyncGenerator(e){return new _OverloadYield(e,0);}function _asyncGeneratorDelegate(t){var e={},n=!1;function pump(e,r){return n=!0,r=new Promise(function(n){n(t[e](r));}),{done:!1,value:new _OverloadYield(r,1)};}return e["undefined"!=typeof Symbol&&Symbol.iterator||"@@iterator"]=function(){return this;},e.next=function(t){return n?(n=!1,t):pump("next",t);},"function"==typeof t["throw"]&&(e["throw"]=function(t){if(n)throw n=!1,t;return pump("throw",t);}),"function"==typeof t["return"]&&(e["return"]=function(t){return n?(n=!1,t):pump("return",t);}),e;}function _OverloadYield(t,e){this.v=t,this.k=e;}function _asyncIterator(r){var n,t,o,e=2;for("undefined"!=typeof Symbol&&(t=Symbol.asyncIterator,o=Symbol.iterator);e--;){if(t&&null!=(n=r[t]))return n.call(r);if(o&&null!=(n=r[o]))return new AsyncFromSyncIterator(n.call(r));t="@@asyncIterator",o="@@iterator";}throw new TypeError("Object is not async iterable");}function AsyncFromSyncIterator(r){function AsyncFromSyncIteratorContinuation(r){if(Object(r)!==r)return Promise.reject(new TypeError(r+" is not an object."));var n=r.done;return Promise.resolve(r.value).then(function(r){return{value:r,done:n};});}return AsyncFromSyncIterator=function AsyncFromSyncIterator(r){this.s=r,this.n=r.next;},AsyncFromSyncIterator.prototype={s:null,n:null,next:function next(){return AsyncFromSyncIteratorContinuation(this.n.apply(this.s,arguments));},"return":function _return(r){var n=this.s["return"];return void 0===n?Promise.resolve({value:r,done:!0}):AsyncFromSyncIteratorContinuation(n.apply(this.s,arguments));},"throw":function _throw(r){var n=this.s["return"];return void 0===n?Promise.reject(r):AsyncFromSyncIteratorContinuation(n.apply(this.s,arguments));}},new AsyncFromSyncIterator(r);}var qs=require('qs');function _interopDefaultLegacy(e){return e&&_typeof(e)==='object'&&'default'in e?e:{'default':e};}var qs__default=/*#__PURE__*/_interopDefaultLegacy(qs);var PureCloudRegionHosts={us_east_1:'mypurecloud.com',eu_west_1:'mypurecloud.ie',ap_southeast_2:'mypurecloud.com.au',ap_northeast_1:'mypurecloud.jp',eu_central_1:'mypurecloud.de',us_west_2:'usw2.pure.cloud',ca_central_1:'cac1.pure.cloud',ap_northeast_2:'apne2.pure.cloud',eu_west_2:'euw2.pure.cloud',ap_south_1:'aps1.pure.cloud',us_east_2:'use2.us-gov-pure.cloud',sa_east_1:'sae1.pure.cloud',me_central_1:'mec1.pure.cloud',ap_northeast_3:'apne3.pure.cloud',eu_central_2:'euc2.pure.cloud'};var global$1=typeof global!=="undefined"?global:typeof self!=="undefined"?self:typeof window!=="undefined"?window:{};var lookup=[];var revLookup=[];var Arr=typeof Uint8Array!=='undefined'?Uint8Array:Array;var inited=false;function init(){inited=true;var code='ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/';for(var i=0,len=code.length;i<len;++i){lookup[i]=code[i];revLookup[code.charCodeAt(i)]=i;}revLookup['-'.charCodeAt(0)]=62;revLookup['_'.charCodeAt(0)]=63;}function toByteArray(b64){if(!inited){init();}var i,j,l,tmp,placeHolders,arr;var len=b64.length;if(len%4>0){throw new Error('Invalid string. Length must be a multiple of 4');}// the number of equal signs (place holders)
|
|
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 _regeneratorRuntime(){"use strict";/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */_regeneratorRuntime=function _regeneratorRuntime(){return e;};var t,e={},r=Object.prototype,n=r.hasOwnProperty,o=Object.defineProperty||function(t,e,r){t[e]=r.value;},i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",c=i.asyncIterator||"@@asyncIterator",u=i.toStringTag||"@@toStringTag";function define(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e];}try{define({},"");}catch(t){define=function define(t,e,r){return t[e]=r;};}function wrap(t,e,r,n){var i=e&&e.prototype instanceof Generator?e:Generator,a=Object.create(i.prototype),c=new Context(n||[]);return o(a,"_invoke",{value:makeInvokeMethod(t,r,c)}),a;}function tryCatch(t,e,r){try{return{type:"normal",arg:t.call(e,r)};}catch(t){return{type:"throw",arg:t};}}e.wrap=wrap;var h="suspendedStart",l="suspendedYield",f="executing",s="completed",y={};function Generator(){}function GeneratorFunction(){}function GeneratorFunctionPrototype(){}var p={};define(p,a,function(){return this;});var d=Object.getPrototypeOf,v=d&&d(d(values([])));v&&v!==r&&n.call(v,a)&&(p=v);var g=GeneratorFunctionPrototype.prototype=Generator.prototype=Object.create(p);function defineIteratorMethods(t){["next","throw","return"].forEach(function(e){define(t,e,function(t){return this._invoke(e,t);});});}function AsyncIterator(t,e){function invoke(r,o,i,a){var c=tryCatch(t[r],t,o);if("throw"!==c.type){var u=c.arg,h=u.value;return h&&"object"==_typeof(h)&&n.call(h,"__await")?e.resolve(h.__await).then(function(t){invoke("next",t,i,a);},function(t){invoke("throw",t,i,a);}):e.resolve(h).then(function(t){u.value=t,i(u);},function(t){return invoke("throw",t,i,a);});}a(c.arg);}var r;o(this,"_invoke",{value:function value(t,n){function callInvokeWithMethodAndArg(){return new e(function(e,r){invoke(t,n,e,r);});}return r=r?r.then(callInvokeWithMethodAndArg,callInvokeWithMethodAndArg):callInvokeWithMethodAndArg();}});}function makeInvokeMethod(e,r,n){var o=h;return function(i,a){if(o===f)throw Error("Generator is already running");if(o===s){if("throw"===i)throw a;return{value:t,done:!0};}for(n.method=i,n.arg=a;;){var c=n.delegate;if(c){var u=maybeInvokeDelegate(c,n);if(u){if(u===y)continue;return u;}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===h)throw o=s,n.arg;n.dispatchException(n.arg);}else"return"===n.method&&n.abrupt("return",n.arg);o=f;var p=tryCatch(e,r,n);if("normal"===p.type){if(o=n.done?s:l,p.arg===y)continue;return{value:p.arg,done:n.done};}"throw"===p.type&&(o=s,n.method="throw",n.arg=p.arg);}};}function maybeInvokeDelegate(e,r){var n=r.method,o=e.iterator[n];if(o===t)return r.delegate=null,"throw"===n&&e.iterator["return"]&&(r.method="return",r.arg=t,maybeInvokeDelegate(e,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),y;var i=tryCatch(o,e.iterator,r.arg);if("throw"===i.type)return r.method="throw",r.arg=i.arg,r.delegate=null,y;var a=i.arg;return a?a.done?(r[e.resultName]=a.value,r.next=e.nextLoc,"return"!==r.method&&(r.method="next",r.arg=t),r.delegate=null,y):a:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,y);}function pushTryEntry(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e);}function resetTryEntry(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e;}function Context(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(pushTryEntry,this),this.reset(!0);}function values(e){if(e||""===e){var r=e[a];if(r)return r.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,i=function next(){for(;++o<e.length;)if(n.call(e,o))return next.value=e[o],next.done=!1,next;return next.value=t,next.done=!0,next;};return i.next=i;}}throw new TypeError(_typeof(e)+" is not iterable");}return GeneratorFunction.prototype=GeneratorFunctionPrototype,o(g,"constructor",{value:GeneratorFunctionPrototype,configurable:!0}),o(GeneratorFunctionPrototype,"constructor",{value:GeneratorFunction,configurable:!0}),GeneratorFunction.displayName=define(GeneratorFunctionPrototype,u,"GeneratorFunction"),e.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===GeneratorFunction||"GeneratorFunction"===(e.displayName||e.name));},e.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,GeneratorFunctionPrototype):(t.__proto__=GeneratorFunctionPrototype,define(t,u,"GeneratorFunction")),t.prototype=Object.create(g),t;},e.awrap=function(t){return{__await:t};},defineIteratorMethods(AsyncIterator.prototype),define(AsyncIterator.prototype,c,function(){return this;}),e.AsyncIterator=AsyncIterator,e.async=function(t,r,n,o,i){void 0===i&&(i=Promise);var a=new AsyncIterator(wrap(t,r,n,o),i);return e.isGeneratorFunction(r)?a:a.next().then(function(t){return t.done?t.value:a.next();});},defineIteratorMethods(g),define(g,u,"Generator"),define(g,a,function(){return this;}),define(g,"toString",function(){return"[object Generator]";}),e.keys=function(t){var e=Object(t),r=[];for(var n in e)r.push(n);return r.reverse(),function next(){for(;r.length;){var t=r.pop();if(t in e)return next.value=t,next.done=!1,next;}return next.done=!0,next;};},e.values=values,Context.prototype={constructor:Context,reset:function reset(e){if(this.prev=0,this.next=0,this.sent=this._sent=t,this.done=!1,this.delegate=null,this.method="next",this.arg=t,this.tryEntries.forEach(resetTryEntry),!e)for(var r in this)"t"===r.charAt(0)&&n.call(this,r)&&!isNaN(+r.slice(1))&&(this[r]=t);},stop:function stop(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval;},dispatchException:function dispatchException(e){if(this.done)throw e;var r=this;function handle(n,o){return a.type="throw",a.arg=e,r.next=n,o&&(r.method="next",r.arg=t),!!o;}for(var o=this.tryEntries.length-1;o>=0;--o){var i=this.tryEntries[o],a=i.completion;if("root"===i.tryLoc)return handle("end");if(i.tryLoc<=this.prev){var c=n.call(i,"catchLoc"),u=n.call(i,"finallyLoc");if(c&&u){if(this.prev<i.catchLoc)return handle(i.catchLoc,!0);if(this.prev<i.finallyLoc)return handle(i.finallyLoc);}else if(c){if(this.prev<i.catchLoc)return handle(i.catchLoc,!0);}else{if(!u)throw Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return handle(i.finallyLoc);}}}},abrupt:function abrupt(t,e){for(var r=this.tryEntries.length-1;r>=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var i=o;break;}}i&&("break"===t||"continue"===t)&&i.tryLoc<=e&&e<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=t,a.arg=e,i?(this.method="next",this.next=i.finallyLoc,y):this.complete(a);},complete:function complete(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),y;},finish:function finish(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),resetTryEntry(r),y;}},"catch":function _catch(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;resetTryEntry(r);}return o;}}throw Error("illegal catch attempt");},delegateYield:function delegateYield(e,r,n){return this.delegate={iterator:values(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),y;}},e;}function _toConsumableArray(r){return _arrayWithoutHoles(r)||_iterableToArray(r)||_unsupportedIterableToArray(r)||_nonIterableSpread();}function _nonIterableSpread(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");}function _arrayWithoutHoles(r){if(Array.isArray(r))return _arrayLikeToArray(r);}function _toArray(r){return _arrayWithHoles(r)||_iterableToArray(r)||_unsupportedIterableToArray(r)||_nonIterableRest();}function _iterableToArray(r){if("undefined"!=typeof Symbol&&null!=r[Symbol.iterator]||null!=r["@@iterator"])return Array.from(r);}function _createForOfIteratorHelper(r,e){var t="undefined"!=typeof Symbol&&r[Symbol.iterator]||r["@@iterator"];if(!t){if(Array.isArray(r)||(t=_unsupportedIterableToArray(r))||e&&r&&"number"==typeof r.length){t&&(r=t);var _n=0,F=function F(){};return{s:F,n:function n(){return _n>=r.length?{done:!0}:{done:!1,value:r[_n++]};},e:function e(r){throw r;},f:F};}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");}var o,a=!0,u=!1;return{s:function s(){t=t.call(r);},n:function n(){var r=t.next();return a=r.done,r;},e:function e(r){u=!0,o=r;},f:function f(){try{a||null==t["return"]||t["return"]();}finally{if(u)throw o;}}};}function ownKeys(e,r){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);r&&(o=o.filter(function(r){return Object.getOwnPropertyDescriptor(e,r).enumerable;})),t.push.apply(t,o);}return t;}function _objectSpread(e){for(var r=1;r<arguments.length;r++){var t=null!=arguments[r]?arguments[r]:{};r%2?ownKeys(Object(t),!0).forEach(function(r){_defineProperty(e,r,t[r]);}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):ownKeys(Object(t)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r));});}return e;}function _defineProperty(e,r,t){return(r=_toPropertyKey(r))in e?Object.defineProperty(e,r,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[r]=t,e;}function _classCallCheck(a,n){if(!(a instanceof n))throw new TypeError("Cannot call a class as a function");}function _defineProperties(e,r){for(var t=0;t<r.length;t++){var o=r[t];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,_toPropertyKey(o.key),o);}}function _createClass(e,r,t){return r&&_defineProperties(e.prototype,r),t&&_defineProperties(e,t),Object.defineProperty(e,"prototype",{writable:!1}),e;}function _toPropertyKey(t){var i=_toPrimitive(t,"string");return"symbol"==_typeof(i)?i:i+"";}function _toPrimitive(t,r){if("object"!=_typeof(t)||!t)return t;var e=t[Symbol.toPrimitive];if(void 0!==e){var i=e.call(t,r||"default");if("object"!=_typeof(i))return i;throw new TypeError("@@toPrimitive must return a primitive value.");}return("string"===r?String:Number)(t);}function _slicedToArray(r,e){return _arrayWithHoles(r)||_iterableToArrayLimit(r,e)||_unsupportedIterableToArray(r,e)||_nonIterableRest();}function _nonIterableRest(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");}function _unsupportedIterableToArray(r,a){if(r){if("string"==typeof r)return _arrayLikeToArray(r,a);var t={}.toString.call(r).slice(8,-1);return"Object"===t&&r.constructor&&(t=r.constructor.name),"Map"===t||"Set"===t?Array.from(r):"Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)?_arrayLikeToArray(r,a):void 0;}}function _arrayLikeToArray(r,a){(null==a||a>r.length)&&(a=r.length);for(var e=0,n=Array(a);e<a;e++)n[e]=r[e];return n;}function _iterableToArrayLimit(r,l){var t=null==r?null:"undefined"!=typeof Symbol&&r[Symbol.iterator]||r["@@iterator"];if(null!=t){var e,n,i,u,a=[],f=!0,o=!1;try{if(i=(t=t.call(r)).next,0===l){if(Object(t)!==t)return;f=!1;}else for(;!(f=(e=i.call(t)).done)&&(a.push(e.value),a.length!==l);f=!0);}catch(r){o=!0,n=r;}finally{try{if(!f&&null!=t["return"]&&(u=t["return"](),Object(u)!==u))return;}finally{if(o)throw n;}}return a;}}function _arrayWithHoles(r){if(Array.isArray(r))return r;}function _typeof(o){"@babel/helpers - typeof";return _typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(o){return typeof o;}:function(o){return o&&"function"==typeof Symbol&&o.constructor===Symbol&&o!==Symbol.prototype?"symbol":typeof o;},_typeof(o);}function _wrapAsyncGenerator(e){return function(){return new AsyncGenerator(e.apply(this,arguments));};}function AsyncGenerator(e){var r,t;function resume(r,t){try{var n=e[r](t),o=n.value,u=o instanceof _OverloadYield;Promise.resolve(u?o.v:o).then(function(t){if(u){var i="return"===r?"return":"next";if(!o.k||t.done)return resume(i,t);t=e[i](t).value;}settle(n.done?"return":"normal",t);},function(e){resume("throw",e);});}catch(e){settle("throw",e);}}function settle(e,n){switch(e){case"return":r.resolve({value:n,done:!0});break;case"throw":r.reject(n);break;default:r.resolve({value:n,done:!1});}(r=r.next)?resume(r.key,r.arg):t=null;}this._invoke=function(e,n){return new Promise(function(o,u){var i={key:e,arg:n,resolve:o,reject:u,next:null};t?t=t.next=i:(r=t=i,resume(e,n));});},"function"!=typeof e["return"]&&(this["return"]=void 0);}AsyncGenerator.prototype["function"==typeof Symbol&&Symbol.asyncIterator||"@@asyncIterator"]=function(){return this;},AsyncGenerator.prototype.next=function(e){return this._invoke("next",e);},AsyncGenerator.prototype["throw"]=function(e){return this._invoke("throw",e);},AsyncGenerator.prototype["return"]=function(e){return this._invoke("return",e);};function _awaitAsyncGenerator(e){return new _OverloadYield(e,0);}function _asyncGeneratorDelegate(t){var e={},n=!1;function pump(e,r){return n=!0,r=new Promise(function(n){n(t[e](r));}),{done:!1,value:new _OverloadYield(r,1)};}return e["undefined"!=typeof Symbol&&Symbol.iterator||"@@iterator"]=function(){return this;},e.next=function(t){return n?(n=!1,t):pump("next",t);},"function"==typeof t["throw"]&&(e["throw"]=function(t){if(n)throw n=!1,t;return pump("throw",t);}),"function"==typeof t["return"]&&(e["return"]=function(t){return n?(n=!1,t):pump("return",t);}),e;}function _OverloadYield(e,d){this.v=e,this.k=d;}function _asyncIterator(r){var n,t,o,e=2;for("undefined"!=typeof Symbol&&(t=Symbol.asyncIterator,o=Symbol.iterator);e--;){if(t&&null!=(n=r[t]))return n.call(r);if(o&&null!=(n=r[o]))return new AsyncFromSyncIterator(n.call(r));t="@@asyncIterator",o="@@iterator";}throw new TypeError("Object is not async iterable");}function AsyncFromSyncIterator(r){function AsyncFromSyncIteratorContinuation(r){if(Object(r)!==r)return Promise.reject(new TypeError(r+" is not an object."));var n=r.done;return Promise.resolve(r.value).then(function(r){return{value:r,done:n};});}return AsyncFromSyncIterator=function AsyncFromSyncIterator(r){this.s=r,this.n=r.next;},AsyncFromSyncIterator.prototype={s:null,n:null,next:function next(){return AsyncFromSyncIteratorContinuation(this.n.apply(this.s,arguments));},"return":function _return(r){var n=this.s["return"];return void 0===n?Promise.resolve({value:r,done:!0}):AsyncFromSyncIteratorContinuation(n.apply(this.s,arguments));},"throw":function _throw(r){var n=this.s["return"];return void 0===n?Promise.reject(r):AsyncFromSyncIteratorContinuation(n.apply(this.s,arguments));}},new AsyncFromSyncIterator(r);}var qs=require('qs');function _interopDefaultLegacy(e){return e&&_typeof(e)==='object'&&'default'in e?e:{'default':e};}var qs__default=/*#__PURE__*/_interopDefaultLegacy(qs);var PureCloudRegionHosts={us_east_1:'mypurecloud.com',eu_west_1:'mypurecloud.ie',ap_southeast_2:'mypurecloud.com.au',ap_northeast_1:'mypurecloud.jp',eu_central_1:'mypurecloud.de',us_west_2:'usw2.pure.cloud',ca_central_1:'cac1.pure.cloud',ap_northeast_2:'apne2.pure.cloud',eu_west_2:'euw2.pure.cloud',ap_south_1:'aps1.pure.cloud',us_east_2:'use2.us-gov-pure.cloud',sa_east_1:'sae1.pure.cloud',me_central_1:'mec1.pure.cloud',ap_northeast_3:'apne3.pure.cloud',eu_central_2:'euc2.pure.cloud'};var global$1=typeof global!=="undefined"?global:typeof self!=="undefined"?self:typeof window!=="undefined"?window:{};var lookup=[];var revLookup=[];var Arr=typeof Uint8Array!=='undefined'?Uint8Array:Array;var inited=false;function init(){inited=true;var code='ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/';for(var i=0,len=code.length;i<len;++i){lookup[i]=code[i];revLookup[code.charCodeAt(i)]=i;}revLookup['-'.charCodeAt(0)]=62;revLookup['_'.charCodeAt(0)]=63;}function toByteArray(b64){if(!inited){init();}var i,j,l,tmp,placeHolders,arr;var len=b64.length;if(len%4>0){throw new Error('Invalid string. Length must be a multiple of 4');}// the number of equal signs (place holders)
|
|
2
2
|
// if there are two placeholders, than the two characters before it
|
|
3
3
|
// represent one byte
|
|
4
4
|
// if there is only one, then the three characters before it represent 2 bytes
|
|
@@ -855,7 +855,7 @@ if(env)this.environment=env;else this.environment=this.host?this.host:'mypureclo
|
|
|
855
855
|
this.environment=this.environment.replace(/\/+$/,'');// Strip protocol and subdomain
|
|
856
856
|
if(this.environment.startsWith('https://'))this.environment=this.environment.substring(8);if(this.environment.startsWith('http://'))this.environment=this.environment.substring(7);if(this.environment.startsWith('api.'))this.environment=this.environment.substring(4);this.basePath="https://api.".concat(this.environment);this.authUrl="https://login.".concat(this.environment);}},{key:"getConfigString",value:function getConfigString(section,key){if(this.config._sections[section])return this.config._sections[section][key];}},{key:"getConfigBoolean",value:function getConfigBoolean(section,key){if(this.config._sections[section]&&this.config._sections[section][key]!==undefined){if(typeof this.config._sections[section][key]==='string'){return this.config._sections[section][key]==='true';}else return this.config._sections[section][key];}}},{key:"getConfigInt",value:function getConfigInt(section,key){if(this.config._sections[section]&&this.config._sections[section][key]){if(typeof this.config._sections[section][key]==='string'){return parseInt(this.config._sections[section][key]);}else return this.config._sections[section][key];}}}]);}();/**
|
|
857
857
|
* @module purecloud-platform-client-v2/ApiClient
|
|
858
|
-
* @version
|
|
858
|
+
* @version 195.0.0
|
|
859
859
|
*/var ApiClient=/*#__PURE__*/function(){/**
|
|
860
860
|
* Manages low level client-server communications, parameter marshalling, etc. There should not be any need for an
|
|
861
861
|
* application to use this class directly - the *Api and model classes provide the public API for the service. The
|
|
@@ -1084,7 +1084,7 @@ this.setAccessToken(this.authentications['PureCloud OAuth'].accessToken);}/**
|
|
|
1084
1084
|
* Returns a string representation for an actual parameter.
|
|
1085
1085
|
* @param param The actual parameter.
|
|
1086
1086
|
* @returns {String} The string representation of <code>param</code>.
|
|
1087
|
-
*/},{key:"paramToString",value:function paramToString(param){if(!param){return'';}if(param instanceof Date){return param.toJSON();}return param.toString();}/**
|
|
1087
|
+
*/},{key:"paramToString",value:function paramToString(param){if(!param){return'';}if(param instanceof Date){return param.toJSON();}if(param instanceof Boolean){return param.toString().toLowerCase();}return param.toString();}/**
|
|
1088
1088
|
* Returns query parameters serialized in the format needed for an axios request.
|
|
1089
1089
|
* @param param The unserialized query parameters.
|
|
1090
1090
|
* @returns {Object} The serialized representation the query parameters.
|
|
@@ -1167,7 +1167,7 @@ resolve(data);})["catch"](function(error){var data=error;if(error.response&&erro
|
|
|
1167
1167
|
that.config.logger.log('error',error.response.status,httpMethod,url,request.headers,error.response.headers,bodyParam,error.response.data);data=that.returnExtended===true?{status:error.response.status,statusText:error.response.statusText,headers:error.response.headers,body:error.response.data,text:error.response.text,error:error}:error.response.data?error.response.data:error.response.text;}reject(data);});}});}}]);}();var AlertingApi=/*#__PURE__*/function(){/**
|
|
1168
1168
|
* Alerting service.
|
|
1169
1169
|
* @module purecloud-platform-client-v2/api/AlertingApi
|
|
1170
|
-
* @version
|
|
1170
|
+
* @version 195.0.0
|
|
1171
1171
|
*/ /**
|
|
1172
1172
|
* Constructs a new AlertingApi.
|
|
1173
1173
|
* @alias module:purecloud-platform-client-v2/api/AlertingApi
|
|
@@ -1324,7 +1324,7 @@ if(ruleId===undefined||ruleId===null){throw'Missing the required parameter "rule
|
|
|
1324
1324
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putAlertingRule';}return this.apiClient.callApi('/api/v2/alerting/rules/{ruleId}','PUT',{'ruleId':ruleId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var AnalyticsApi=/*#__PURE__*/function(){/**
|
|
1325
1325
|
* Analytics service.
|
|
1326
1326
|
* @module purecloud-platform-client-v2/api/AnalyticsApi
|
|
1327
|
-
* @version
|
|
1327
|
+
* @version 195.0.0
|
|
1328
1328
|
*/ /**
|
|
1329
1329
|
* Constructs a new AnalyticsApi.
|
|
1330
1330
|
* @alias module:purecloud-platform-client-v2/api/AnalyticsApi
|
|
@@ -1356,6 +1356,20 @@ if(jobId===undefined||jobId===null){throw'Missing the required parameter "jobId"
|
|
|
1356
1356
|
* getAnalyticsActionsAggregatesJobResults is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
1357
1357
|
*/},{key:"getAnalyticsActionsAggregatesJobResults",value:function getAnalyticsActionsAggregatesJobResults(jobId,opts){opts=opts||{};// verify the required parameter 'jobId' is set
|
|
1358
1358
|
if(jobId===undefined||jobId===null){throw'Missing the required parameter "jobId" when calling getAnalyticsActionsAggregatesJobResults';}return this.apiClient.callApi('/api/v2/analytics/actions/aggregates/jobs/{jobId}/results','GET',{'jobId':jobId},{'cursor':opts['cursor']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
1359
|
+
* Get status for async query for agent copilot aggregates
|
|
1360
|
+
*
|
|
1361
|
+
* @param {String} jobId jobId
|
|
1362
|
+
* getAnalyticsAgentcopilotsAggregatesJob is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
1363
|
+
*/},{key:"getAnalyticsAgentcopilotsAggregatesJob",value:function getAnalyticsAgentcopilotsAggregatesJob(jobId){// verify the required parameter 'jobId' is set
|
|
1364
|
+
if(jobId===undefined||jobId===null){throw'Missing the required parameter "jobId" when calling getAnalyticsAgentcopilotsAggregatesJob';}return this.apiClient.callApi('/api/v2/analytics/agentcopilots/aggregates/jobs/{jobId}','GET',{'jobId':jobId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
1365
|
+
* Fetch a page of results for an async aggregates query
|
|
1366
|
+
*
|
|
1367
|
+
* @param {String} jobId jobId
|
|
1368
|
+
* @param {Object} opts Optional parameters
|
|
1369
|
+
* @param {String} opts.cursor Cursor token to retrieve next page
|
|
1370
|
+
* getAnalyticsAgentcopilotsAggregatesJobResults is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
1371
|
+
*/},{key:"getAnalyticsAgentcopilotsAggregatesJobResults",value:function getAnalyticsAgentcopilotsAggregatesJobResults(jobId,opts){opts=opts||{};// verify the required parameter 'jobId' is set
|
|
1372
|
+
if(jobId===undefined||jobId===null){throw'Missing the required parameter "jobId" when calling getAnalyticsAgentcopilotsAggregatesJobResults';}return this.apiClient.callApi('/api/v2/analytics/agentcopilots/aggregates/jobs/{jobId}/results','GET',{'jobId':jobId},{'cursor':opts['cursor']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
1359
1373
|
* Get Reporting Turns (division aware).
|
|
1360
1374
|
* Returns the reporting turns for the specified flow, filtered by the clients divisions and grouped by session, in reverse chronological order from the date the session was created, with the reporting turns from the most recent session appearing at the start of the list. For pagination, clients should keep sending requests using the value of nextUri in the response, until its no longer present, only then have all items have been returned. Note: resources returned by this endpoint are not persisted indefinitely, as they are deleted after approximately, but not before, 10 days.
|
|
1361
1375
|
* @param {String} botFlowId ID of the bot flow.
|
|
@@ -1547,6 +1561,17 @@ if(userId===undefined||userId===null){throw'Missing the required parameter "user
|
|
|
1547
1561
|
* Get AnalyticsReportingSettings for an organization
|
|
1548
1562
|
*
|
|
1549
1563
|
*/},{key:"getAnalyticsReportingSettings",value:function getAnalyticsReportingSettings(){return this.apiClient.callApi('/api/v2/analytics/reporting/settings','GET',{},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
1564
|
+
* Get list of dashboard configurations
|
|
1565
|
+
*
|
|
1566
|
+
* @param {Object} dashboardType List dashboard of given type
|
|
1567
|
+
* @param {Object} dashboardAccessFilter Filter dashboard based on the owner of dashboard
|
|
1568
|
+
* @param {Object} opts Optional parameters
|
|
1569
|
+
* @param {String} opts.sortBy (default to desc)
|
|
1570
|
+
* @param {Number} opts.pageNumber (default to 1)
|
|
1571
|
+
* @param {Number} opts.pageSize (default to 9)
|
|
1572
|
+
*/},{key:"getAnalyticsReportingSettingsDashboardsQuery",value:function getAnalyticsReportingSettingsDashboardsQuery(dashboardType,dashboardAccessFilter,opts){opts=opts||{};// verify the required parameter 'dashboardType' is set
|
|
1573
|
+
if(dashboardType===undefined||dashboardType===null){throw'Missing the required parameter "dashboardType" when calling getAnalyticsReportingSettingsDashboardsQuery';}// verify the required parameter 'dashboardAccessFilter' is set
|
|
1574
|
+
if(dashboardAccessFilter===undefined||dashboardAccessFilter===null){throw'Missing the required parameter "dashboardAccessFilter" when calling getAnalyticsReportingSettingsDashboardsQuery';}return this.apiClient.callApi('/api/v2/analytics/reporting/settings/dashboards/query','GET',{},{'dashboardType':dashboardType,'dashboardAccessFilter':dashboardAccessFilter,'sortBy':opts['sortBy'],'pageNumber':opts['pageNumber'],'pageSize':opts['pageSize']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
1550
1575
|
* Get list of dashboards for an user
|
|
1551
1576
|
*
|
|
1552
1577
|
* @param {String} userId User ID
|
|
@@ -1661,6 +1686,18 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
1661
1686
|
* @param {Object} body query
|
|
1662
1687
|
*/},{key:"postAnalyticsActionsAggregatesQuery",value:function postAnalyticsActionsAggregatesQuery(body){// verify the required parameter 'body' is set
|
|
1663
1688
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postAnalyticsActionsAggregatesQuery';}return this.apiClient.callApi('/api/v2/analytics/actions/aggregates/query','POST',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
1689
|
+
* Query for agent copilot aggregates asynchronously
|
|
1690
|
+
*
|
|
1691
|
+
* @param {Object} body query
|
|
1692
|
+
* postAnalyticsAgentcopilotsAggregatesJobs is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
1693
|
+
*/},{key:"postAnalyticsAgentcopilotsAggregatesJobs",value:function postAnalyticsAgentcopilotsAggregatesJobs(body){// verify the required parameter 'body' is set
|
|
1694
|
+
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postAnalyticsAgentcopilotsAggregatesJobs';}return this.apiClient.callApi('/api/v2/analytics/agentcopilots/aggregates/jobs','POST',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
1695
|
+
* Query for agent copilot aggregates
|
|
1696
|
+
*
|
|
1697
|
+
* @param {Object} body query
|
|
1698
|
+
* postAnalyticsAgentcopilotsAggregatesQuery is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
1699
|
+
*/},{key:"postAnalyticsAgentcopilotsAggregatesQuery",value:function postAnalyticsAgentcopilotsAggregatesQuery(body){// verify the required parameter 'body' is set
|
|
1700
|
+
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postAnalyticsAgentcopilotsAggregatesQuery';}return this.apiClient.callApi('/api/v2/analytics/agentcopilots/aggregates/query','POST',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
1664
1701
|
* Query for bot aggregates asynchronously
|
|
1665
1702
|
*
|
|
1666
1703
|
* @param {Object} body query
|
|
@@ -1786,8 +1823,8 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
1786
1823
|
* @param {Object} body query
|
|
1787
1824
|
*/},{key:"postAnalyticsQueuesObservationsQuery",value:function postAnalyticsQueuesObservationsQuery(body){// verify the required parameter 'body' is set
|
|
1788
1825
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postAnalyticsQueuesObservationsQuery';}return this.apiClient.callApi('/api/v2/analytics/queues/observations/query','POST',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
1789
|
-
* Query for limits rate limit aggregates. Data populated when limits are exceeded or are close to being exceeded
|
|
1790
|
-
*
|
|
1826
|
+
* Query for limits rate limit aggregates. Data populated when limits are exceeded or are close to being exceeded. Not a source of truth for limits hit but a best effort estimate.
|
|
1827
|
+
* The max property can be used to determine estimated rate limit value hit.
|
|
1791
1828
|
* @param {Object} body query
|
|
1792
1829
|
*/},{key:"postAnalyticsRatelimitsAggregatesQuery",value:function postAnalyticsRatelimitsAggregatesQuery(body){// verify the required parameter 'body' is set
|
|
1793
1830
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postAnalyticsRatelimitsAggregatesQuery';}return this.apiClient.callApi('/api/v2/analytics/ratelimits/aggregates/query','POST',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
@@ -1908,7 +1945,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
1908
1945
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putAnalyticsDataretentionSettings';}return this.apiClient.callApi('/api/v2/analytics/dataretention/settings','PUT',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var ArchitectApi=/*#__PURE__*/function(){/**
|
|
1909
1946
|
* Architect service.
|
|
1910
1947
|
* @module purecloud-platform-client-v2/api/ArchitectApi
|
|
1911
|
-
* @version
|
|
1948
|
+
* @version 195.0.0
|
|
1912
1949
|
*/ /**
|
|
1913
1950
|
* Constructs a new ArchitectApi.
|
|
1914
1951
|
* @alias module:purecloud-platform-client-v2/api/ArchitectApi
|
|
@@ -3024,7 +3061,7 @@ if(milestoneId===undefined||milestoneId===null){throw'Missing the required param
|
|
|
3024
3061
|
if(flowOutcomeId===undefined||flowOutcomeId===null){throw'Missing the required parameter "flowOutcomeId" when calling putFlowsOutcome';}return this.apiClient.callApi('/api/v2/flows/outcomes/{flowOutcomeId}','PUT',{'flowOutcomeId':flowOutcomeId},{},{},{},opts['body'],['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var AuditApi=/*#__PURE__*/function(){/**
|
|
3025
3062
|
* Audit service.
|
|
3026
3063
|
* @module purecloud-platform-client-v2/api/AuditApi
|
|
3027
|
-
* @version
|
|
3064
|
+
* @version 195.0.0
|
|
3028
3065
|
*/ /**
|
|
3029
3066
|
* Constructs a new AuditApi.
|
|
3030
3067
|
* @alias module:purecloud-platform-client-v2/api/AuditApi
|
|
@@ -3063,10 +3100,17 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
3063
3100
|
* @param {Object} opts Optional parameters
|
|
3064
3101
|
* @param {Array.<String>} opts.expand Which fields, if any, to expand
|
|
3065
3102
|
*/},{key:"postAuditsQueryRealtime",value:function postAuditsQueryRealtime(body,opts){opts=opts||{};// verify the required parameter 'body' is set
|
|
3066
|
-
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postAuditsQueryRealtime';}return this.apiClient.callApi('/api/v2/audits/query/realtime','POST',{},{'expand':this.apiClient.buildCollectionParam(opts['expand'],'multi')},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}
|
|
3103
|
+
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postAuditsQueryRealtime';}return this.apiClient.callApi('/api/v2/audits/query/realtime','POST',{},{'expand':this.apiClient.buildCollectionParam(opts['expand'],'multi')},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
3104
|
+
* Often a single action results in multiple audits. The endpoint retrieves all audits created by the same action as the given audit id.
|
|
3105
|
+
*
|
|
3106
|
+
* @param {Object} body query
|
|
3107
|
+
* @param {Object} opts Optional parameters
|
|
3108
|
+
* @param {Array.<String>} opts.expand Which fields, if any, to expand
|
|
3109
|
+
*/},{key:"postAuditsQueryRealtimeRelated",value:function postAuditsQueryRealtimeRelated(body,opts){opts=opts||{};// verify the required parameter 'body' is set
|
|
3110
|
+
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postAuditsQueryRealtimeRelated';}return this.apiClient.callApi('/api/v2/audits/query/realtime/related','POST',{},{'expand':this.apiClient.buildCollectionParam(opts['expand'],'multi')},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var AuthorizationApi=/*#__PURE__*/function(){/**
|
|
3067
3111
|
* Authorization service.
|
|
3068
3112
|
* @module purecloud-platform-client-v2/api/AuthorizationApi
|
|
3069
|
-
* @version
|
|
3113
|
+
* @version 195.0.0
|
|
3070
3114
|
*/ /**
|
|
3071
3115
|
* Constructs a new AuthorizationApi.
|
|
3072
3116
|
* @alias module:purecloud-platform-client-v2/api/AuthorizationApi
|
|
@@ -3381,7 +3425,7 @@ if(subjectId===undefined||subjectId===null){throw'Missing the required parameter
|
|
|
3381
3425
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putUserRoles';}return this.apiClient.callApi('/api/v2/users/{subjectId}/roles','PUT',{'subjectId':subjectId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var BillingApi=/*#__PURE__*/function(){/**
|
|
3382
3426
|
* Billing service.
|
|
3383
3427
|
* @module purecloud-platform-client-v2/api/BillingApi
|
|
3384
|
-
* @version
|
|
3428
|
+
* @version 195.0.0
|
|
3385
3429
|
*/ /**
|
|
3386
3430
|
* Constructs a new BillingApi.
|
|
3387
3431
|
* @alias module:purecloud-platform-client-v2/api/BillingApi
|
|
@@ -3405,7 +3449,7 @@ if(endDate===undefined||endDate===null){throw'Missing the required parameter "en
|
|
|
3405
3449
|
if(trustorOrgId===undefined||trustorOrgId===null){throw'Missing the required parameter "trustorOrgId" when calling getBillingTrusteebillingoverviewTrustorOrgId';}return this.apiClient.callApi('/api/v2/billing/trusteebillingoverview/{trustorOrgId}','GET',{'trustorOrgId':trustorOrgId},{'billingPeriodIndex':opts['billingPeriodIndex']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var CarrierServicesApi=/*#__PURE__*/function(){/**
|
|
3406
3450
|
* CarrierServices service.
|
|
3407
3451
|
* @module purecloud-platform-client-v2/api/CarrierServicesApi
|
|
3408
|
-
* @version
|
|
3452
|
+
* @version 195.0.0
|
|
3409
3453
|
*/ /**
|
|
3410
3454
|
* Constructs a new CarrierServicesApi.
|
|
3411
3455
|
* @alias module:purecloud-platform-client-v2/api/CarrierServicesApi
|
|
@@ -3425,7 +3469,7 @@ if(phoneNumber===undefined||phoneNumber===null){throw'Missing the required param
|
|
|
3425
3469
|
*/},{key:"postCarrierservicesIntegrationsEmergencylocationsMe",value:function postCarrierservicesIntegrationsEmergencylocationsMe(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/carrierservices/integrations/emergencylocations/me','POST',{},{},{},{},opts['body'],['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var ChatApi=/*#__PURE__*/function(){/**
|
|
3426
3470
|
* Chat service.
|
|
3427
3471
|
* @module purecloud-platform-client-v2/api/ChatApi
|
|
3428
|
-
* @version
|
|
3472
|
+
* @version 195.0.0
|
|
3429
3473
|
*/ /**
|
|
3430
3474
|
* Constructs a new ChatApi.
|
|
3431
3475
|
* @alias module:purecloud-platform-client-v2/api/ChatApi
|
|
@@ -3650,7 +3694,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
3650
3694
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putChatsSettings';}return this.apiClient.callApi('/api/v2/chats/settings','PUT',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var CoachingApi=/*#__PURE__*/function(){/**
|
|
3651
3695
|
* Coaching service.
|
|
3652
3696
|
* @module purecloud-platform-client-v2/api/CoachingApi
|
|
3653
|
-
* @version
|
|
3697
|
+
* @version 195.0.0
|
|
3654
3698
|
*/ /**
|
|
3655
3699
|
* Constructs a new CoachingApi.
|
|
3656
3700
|
* @alias module:purecloud-platform-client-v2/api/CoachingApi
|
|
@@ -3803,7 +3847,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
3803
3847
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postCoachingScheduleslotsQuery';}return this.apiClient.callApi('/api/v2/coaching/scheduleslots/query','POST',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var ContentManagementApi=/*#__PURE__*/function(){/**
|
|
3804
3848
|
* ContentManagement service.
|
|
3805
3849
|
* @module purecloud-platform-client-v2/api/ContentManagementApi
|
|
3806
|
-
* @version
|
|
3850
|
+
* @version 195.0.0
|
|
3807
3851
|
*/ /**
|
|
3808
3852
|
* Constructs a new ContentManagementApi.
|
|
3809
3853
|
* @alias module:purecloud-platform-client-v2/api/ContentManagementApi
|
|
@@ -4086,7 +4130,7 @@ if(tagId===undefined||tagId===null){throw'Missing the required parameter "tagId"
|
|
|
4086
4130
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putContentmanagementWorkspaceTagvalue';}return this.apiClient.callApi('/api/v2/contentmanagement/workspaces/{workspaceId}/tagvalues/{tagId}','PUT',{'workspaceId':workspaceId,'tagId':tagId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var ConversationsApi=/*#__PURE__*/function(){/**
|
|
4087
4131
|
* Conversations service.
|
|
4088
4132
|
* @module purecloud-platform-client-v2/api/ConversationsApi
|
|
4089
|
-
* @version
|
|
4133
|
+
* @version 195.0.0
|
|
4090
4134
|
*/ /**
|
|
4091
4135
|
* Constructs a new ConversationsApi.
|
|
4092
4136
|
* @alias module:purecloud-platform-client-v2/api/ConversationsApi
|
|
@@ -4144,23 +4188,11 @@ if(integrationId===undefined||integrationId===null){throw'Missing the required p
|
|
|
4144
4188
|
* @param {String} integrationId Integration ID
|
|
4145
4189
|
*/},{key:"deleteConversationsMessagingIntegrationsInstagramIntegrationId",value:function deleteConversationsMessagingIntegrationsInstagramIntegrationId(integrationId){// verify the required parameter 'integrationId' is set
|
|
4146
4190
|
if(integrationId===undefined||integrationId===null){throw'Missing the required parameter "integrationId" when calling deleteConversationsMessagingIntegrationsInstagramIntegrationId';}return this.apiClient.callApi('/api/v2/conversations/messaging/integrations/instagram/{integrationId}','DELETE',{'integrationId':integrationId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
4147
|
-
* Delete a LINE messenger integration (Deprecated)
|
|
4148
|
-
* This endpoint is deprecated. Please see the article https://help.mypurecloud.com/articles/deprecation-native-line-third-party-messaging-channel/
|
|
4149
|
-
* @param {String} integrationId Integration ID
|
|
4150
|
-
* @deprecated
|
|
4151
|
-
*/},{key:"deleteConversationsMessagingIntegrationsLineIntegrationId",value:function deleteConversationsMessagingIntegrationsLineIntegrationId(integrationId){// verify the required parameter 'integrationId' is set
|
|
4152
|
-
if(integrationId===undefined||integrationId===null){throw'Missing the required parameter "integrationId" when calling deleteConversationsMessagingIntegrationsLineIntegrationId';}return this.apiClient.callApi('/api/v2/conversations/messaging/integrations/line/{integrationId}','DELETE',{'integrationId':integrationId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
4153
4191
|
* Delete an Open messaging integration
|
|
4154
4192
|
* See https://developer.genesys.cloud/api/digital/openmessaging/ for more information.
|
|
4155
4193
|
* @param {String} integrationId Integration ID
|
|
4156
4194
|
*/},{key:"deleteConversationsMessagingIntegrationsOpenIntegrationId",value:function deleteConversationsMessagingIntegrationsOpenIntegrationId(integrationId){// verify the required parameter 'integrationId' is set
|
|
4157
4195
|
if(integrationId===undefined||integrationId===null){throw'Missing the required parameter "integrationId" when calling deleteConversationsMessagingIntegrationsOpenIntegrationId';}return this.apiClient.callApi('/api/v2/conversations/messaging/integrations/open/{integrationId}','DELETE',{'integrationId':integrationId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
4158
|
-
* Delete a Twitter messaging integration
|
|
4159
|
-
* This endpoint is deprecated. Please see the article https://help.mypurecloud.com/articles/deprecation-native-x-formerly-twitter-third-party-messaging-channel/
|
|
4160
|
-
* @param {String} integrationId Integration ID
|
|
4161
|
-
* @deprecated
|
|
4162
|
-
*/},{key:"deleteConversationsMessagingIntegrationsTwitterIntegrationId",value:function deleteConversationsMessagingIntegrationsTwitterIntegrationId(integrationId){// verify the required parameter 'integrationId' is set
|
|
4163
|
-
if(integrationId===undefined||integrationId===null){throw'Missing the required parameter "integrationId" when calling deleteConversationsMessagingIntegrationsTwitterIntegrationId';}return this.apiClient.callApi('/api/v2/conversations/messaging/integrations/twitter/{integrationId}','DELETE',{'integrationId':integrationId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
4164
4196
|
* Delete a WhatsApp messaging integration
|
|
4165
4197
|
*
|
|
4166
4198
|
* @param {String} integrationId Integration ID
|
|
@@ -4621,24 +4653,6 @@ if(integrationId===undefined||integrationId===null){throw'Missing the required p
|
|
|
4621
4653
|
* @param {Object} opts.expand Expand instructions for the return value.
|
|
4622
4654
|
*/},{key:"getConversationsMessagingIntegrationsInstagramIntegrationId",value:function getConversationsMessagingIntegrationsInstagramIntegrationId(integrationId,opts){opts=opts||{};// verify the required parameter 'integrationId' is set
|
|
4623
4655
|
if(integrationId===undefined||integrationId===null){throw'Missing the required parameter "integrationId" when calling getConversationsMessagingIntegrationsInstagramIntegrationId';}return this.apiClient.callApi('/api/v2/conversations/messaging/integrations/instagram/{integrationId}','GET',{'integrationId':integrationId},{'expand':opts['expand']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
4624
|
-
* Get a list of LINE messenger Integrations (Deprecated)
|
|
4625
|
-
* This endpoint is deprecated. Please see the article https://help.mypurecloud.com/articles/deprecation-native-line-third-party-messaging-channel/
|
|
4626
|
-
* @param {Object} opts Optional parameters
|
|
4627
|
-
* @param {Number} opts.pageSize Page size (default to 25)
|
|
4628
|
-
* @param {Number} opts.pageNumber Page number (default to 1)
|
|
4629
|
-
* @param {Object} opts.expand Expand instructions for the return value.
|
|
4630
|
-
* @param {String} opts.supportedContentId Filter integrations returned based on the supported content ID
|
|
4631
|
-
* @param {String} opts.messagingSettingId Filter integrations returned based on the setting ID
|
|
4632
|
-
* @deprecated
|
|
4633
|
-
*/},{key:"getConversationsMessagingIntegrationsLine",value:function getConversationsMessagingIntegrationsLine(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/conversations/messaging/integrations/line','GET',{},{'pageSize':opts['pageSize'],'pageNumber':opts['pageNumber'],'expand':opts['expand'],'supportedContent.id':opts['supportedContentId'],'messagingSetting.id':opts['messagingSettingId']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
4634
|
-
* Get a LINE messenger integration (Deprecated)
|
|
4635
|
-
* This endpoint is deprecated. Please see the article https://help.mypurecloud.com/articles/deprecation-native-line-third-party-messaging-channel/
|
|
4636
|
-
* @param {String} integrationId Integration ID
|
|
4637
|
-
* @param {Object} opts Optional parameters
|
|
4638
|
-
* @param {Object} opts.expand Expand instructions for the return value.
|
|
4639
|
-
* @deprecated
|
|
4640
|
-
*/},{key:"getConversationsMessagingIntegrationsLineIntegrationId",value:function getConversationsMessagingIntegrationsLineIntegrationId(integrationId,opts){opts=opts||{};// verify the required parameter 'integrationId' is set
|
|
4641
|
-
if(integrationId===undefined||integrationId===null){throw'Missing the required parameter "integrationId" when calling getConversationsMessagingIntegrationsLineIntegrationId';}return this.apiClient.callApi('/api/v2/conversations/messaging/integrations/line/{integrationId}','GET',{'integrationId':integrationId},{'expand':opts['expand']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
4642
4656
|
* Get a list of Open messaging integrations
|
|
4643
4657
|
* See https://developer.genesys.cloud/api/digital/openmessaging/ for more information.
|
|
4644
4658
|
* @param {Object} opts Optional parameters
|
|
@@ -4655,24 +4669,6 @@ if(integrationId===undefined||integrationId===null){throw'Missing the required p
|
|
|
4655
4669
|
* @param {Object} opts.expand Expand instructions for the return value.
|
|
4656
4670
|
*/},{key:"getConversationsMessagingIntegrationsOpenIntegrationId",value:function getConversationsMessagingIntegrationsOpenIntegrationId(integrationId,opts){opts=opts||{};// verify the required parameter 'integrationId' is set
|
|
4657
4671
|
if(integrationId===undefined||integrationId===null){throw'Missing the required parameter "integrationId" when calling getConversationsMessagingIntegrationsOpenIntegrationId';}return this.apiClient.callApi('/api/v2/conversations/messaging/integrations/open/{integrationId}','GET',{'integrationId':integrationId},{'expand':opts['expand']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
4658
|
-
* Get a list of Twitter Integrations (Deprecated)
|
|
4659
|
-
* This endpoint is deprecated. Please see the article https://help.mypurecloud.com/articles/deprecation-native-x-formerly-twitter-third-party-messaging-channel/
|
|
4660
|
-
* @param {Object} opts Optional parameters
|
|
4661
|
-
* @param {Number} opts.pageSize Page size (default to 25)
|
|
4662
|
-
* @param {Number} opts.pageNumber Page number (default to 1)
|
|
4663
|
-
* @param {Object} opts.expand Expand instructions for the return value.
|
|
4664
|
-
* @param {String} opts.supportedContentId Filter integrations returned based on the supported content ID
|
|
4665
|
-
* @param {String} opts.messagingSettingId Filter integrations returned based on the setting ID
|
|
4666
|
-
* @deprecated
|
|
4667
|
-
*/},{key:"getConversationsMessagingIntegrationsTwitter",value:function getConversationsMessagingIntegrationsTwitter(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/conversations/messaging/integrations/twitter','GET',{},{'pageSize':opts['pageSize'],'pageNumber':opts['pageNumber'],'expand':opts['expand'],'supportedContent.id':opts['supportedContentId'],'messagingSetting.id':opts['messagingSettingId']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
4668
|
-
* Get a Twitter messaging integration (Deprecated)
|
|
4669
|
-
* This endpoint is deprecated. Please see the article https://help.mypurecloud.com/articles/deprecation-native-x-formerly-twitter-third-party-messaging-channel/
|
|
4670
|
-
* @param {String} integrationId Integration ID
|
|
4671
|
-
* @param {Object} opts Optional parameters
|
|
4672
|
-
* @param {Object} opts.expand Expand instructions for the return value.
|
|
4673
|
-
* @deprecated
|
|
4674
|
-
*/},{key:"getConversationsMessagingIntegrationsTwitterIntegrationId",value:function getConversationsMessagingIntegrationsTwitterIntegrationId(integrationId,opts){opts=opts||{};// verify the required parameter 'integrationId' is set
|
|
4675
|
-
if(integrationId===undefined||integrationId===null){throw'Missing the required parameter "integrationId" when calling getConversationsMessagingIntegrationsTwitterIntegrationId';}return this.apiClient.callApi('/api/v2/conversations/messaging/integrations/twitter/{integrationId}','GET',{'integrationId':integrationId},{'expand':opts['expand']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
4676
4672
|
* Get a list of WhatsApp Integrations
|
|
4677
4673
|
*
|
|
4678
4674
|
* @param {Object} opts Optional parameters
|
|
@@ -4703,15 +4699,6 @@ if(messageSettingId===undefined||messageSettingId===null){throw'Missing the requ
|
|
|
4703
4699
|
* Get the organization's default settings that will be used as the default when creating an integration.
|
|
4704
4700
|
* When an integration is created a settings ID may be assigned to it. If the settings ID is not supplied, the default settings will be assigned to it.
|
|
4705
4701
|
*/},{key:"getConversationsMessagingSettingsDefault",value:function getConversationsMessagingSettingsDefault(){return this.apiClient.callApi('/api/v2/conversations/messaging/settings/default','GET',{},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
4706
|
-
* Get a list of Messaging Stickers (Deprecated)
|
|
4707
|
-
* This endpoint is deprecated. Please see the article https://help.mypurecloud.com/articles/deprecation-native-line-third-party-messaging-channel/
|
|
4708
|
-
* @param {Object} messengerType Messenger Type
|
|
4709
|
-
* @param {Object} opts Optional parameters
|
|
4710
|
-
* @param {Number} opts.pageSize Page size (default to 25)
|
|
4711
|
-
* @param {Number} opts.pageNumber Page number (default to 1)
|
|
4712
|
-
* @deprecated
|
|
4713
|
-
*/},{key:"getConversationsMessagingSticker",value:function getConversationsMessagingSticker(messengerType,opts){opts=opts||{};// verify the required parameter 'messengerType' is set
|
|
4714
|
-
if(messengerType===undefined||messengerType===null){throw'Missing the required parameter "messengerType" when calling getConversationsMessagingSticker';}return this.apiClient.callApi('/api/v2/conversations/messaging/stickers/{messengerType}','GET',{'messengerType':messengerType},{'pageSize':opts['pageSize'],'pageNumber':opts['pageNumber']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
4715
4702
|
* Get a list of Supported Content profiles
|
|
4716
4703
|
*
|
|
4717
4704
|
* @param {Object} opts Optional parameters
|
|
@@ -5086,14 +5073,6 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
5086
5073
|
*/},{key:"patchConversationsMessagingIntegrationsOpenIntegrationId",value:function patchConversationsMessagingIntegrationsOpenIntegrationId(integrationId,body){// verify the required parameter 'integrationId' is set
|
|
5087
5074
|
if(integrationId===undefined||integrationId===null){throw'Missing the required parameter "integrationId" when calling patchConversationsMessagingIntegrationsOpenIntegrationId';}// verify the required parameter 'body' is set
|
|
5088
5075
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling patchConversationsMessagingIntegrationsOpenIntegrationId';}return this.apiClient.callApi('/api/v2/conversations/messaging/integrations/open/{integrationId}','PATCH',{'integrationId':integrationId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
5089
|
-
* Update Twitter messaging integration
|
|
5090
|
-
* This endpoint is deprecated. Please see the article https://help.mypurecloud.com/articles/deprecation-native-x-formerly-twitter-third-party-messaging-channel/
|
|
5091
|
-
* @param {String} integrationId Integration ID
|
|
5092
|
-
* @param {Object} body TwitterIntegrationRequest
|
|
5093
|
-
* @deprecated
|
|
5094
|
-
*/},{key:"patchConversationsMessagingIntegrationsTwitterIntegrationId",value:function patchConversationsMessagingIntegrationsTwitterIntegrationId(integrationId,body){// verify the required parameter 'integrationId' is set
|
|
5095
|
-
if(integrationId===undefined||integrationId===null){throw'Missing the required parameter "integrationId" when calling patchConversationsMessagingIntegrationsTwitterIntegrationId';}// verify the required parameter 'body' is set
|
|
5096
|
-
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling patchConversationsMessagingIntegrationsTwitterIntegrationId';}return this.apiClient.callApi('/api/v2/conversations/messaging/integrations/twitter/{integrationId}','PATCH',{'integrationId':integrationId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
5097
5076
|
* Activate a WhatsApp messaging integration created using the WhatsApp embedded signup flow
|
|
5098
5077
|
* Please specify the phone number to associate with this WhatsApp integration from the list of available phone numbers returned to you in the POST call to create the integration. You can then run a GET on the integration to check if its status has been updated to Active
|
|
5099
5078
|
* @param {String} integrationId Integration ID
|
|
@@ -5494,6 +5473,11 @@ if(communicationId===undefined||communicationId===null){throw'Missing the requir
|
|
|
5494
5473
|
if(conversationId===undefined||conversationId===null){throw'Missing the required parameter "conversationId" when calling postConversationsEmailParticipantReplace';}// verify the required parameter 'participantId' is set
|
|
5495
5474
|
if(participantId===undefined||participantId===null){throw'Missing the required parameter "participantId" when calling postConversationsEmailParticipantReplace';}// verify the required parameter 'body' is set
|
|
5496
5475
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postConversationsEmailParticipantReplace';}return this.apiClient.callApi('/api/v2/conversations/emails/{conversationId}/participants/{participantId}/replace','POST',{'conversationId':conversationId,'participantId':participantId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
5476
|
+
* Reconnect the user to the most recently disconnected customer on a fully disconnected email conversation
|
|
5477
|
+
*
|
|
5478
|
+
* @param {String} conversationId conversationId
|
|
5479
|
+
*/},{key:"postConversationsEmailReconnect",value:function postConversationsEmailReconnect(conversationId){// verify the required parameter 'conversationId' is set
|
|
5480
|
+
if(conversationId===undefined||conversationId===null){throw'Missing the required parameter "conversationId" when calling postConversationsEmailReconnect';}return this.apiClient.callApi('/api/v2/conversations/emails/{conversationId}/reconnect','POST',{'conversationId':conversationId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
5497
5481
|
* Create an email conversation
|
|
5498
5482
|
* If the direction of the request is INBOUND, this will create an external conversation with a third party provider. If the direction of the the request is OUTBOUND, this will create a conversation to send outbound emails on behalf of a queue.
|
|
5499
5483
|
* @param {Object} body Create email request
|
|
@@ -5628,23 +5612,11 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
5628
5612
|
* @param {Object} body InstagramIntegrationRequest
|
|
5629
5613
|
*/},{key:"postConversationsMessagingIntegrationsInstagram",value:function postConversationsMessagingIntegrationsInstagram(body){// verify the required parameter 'body' is set
|
|
5630
5614
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postConversationsMessagingIntegrationsInstagram';}return this.apiClient.callApi('/api/v2/conversations/messaging/integrations/instagram','POST',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
5631
|
-
* Create a LINE messenger Integration (Deprecated)
|
|
5632
|
-
* This endpoint is deprecated. Please see the article https://help.mypurecloud.com/articles/deprecation-native-line-third-party-messaging-channel/
|
|
5633
|
-
* @param {Object} body LineIntegrationRequest
|
|
5634
|
-
* @deprecated
|
|
5635
|
-
*/},{key:"postConversationsMessagingIntegrationsLine",value:function postConversationsMessagingIntegrationsLine(body){// verify the required parameter 'body' is set
|
|
5636
|
-
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postConversationsMessagingIntegrationsLine';}return this.apiClient.callApi('/api/v2/conversations/messaging/integrations/line','POST',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
5637
5615
|
* Create an Open messaging integration
|
|
5638
5616
|
* See https://developer.genesys.cloud/api/digital/openmessaging/ for more information.
|
|
5639
5617
|
* @param {Object} body OpenIntegrationRequest
|
|
5640
5618
|
*/},{key:"postConversationsMessagingIntegrationsOpen",value:function postConversationsMessagingIntegrationsOpen(body){// verify the required parameter 'body' is set
|
|
5641
5619
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postConversationsMessagingIntegrationsOpen';}return this.apiClient.callApi('/api/v2/conversations/messaging/integrations/open','POST',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
5642
|
-
* Create a Twitter Integration
|
|
5643
|
-
* This endpoint is deprecated. Please see the article https://help.mypurecloud.com/articles/deprecation-native-x-formerly-twitter-third-party-messaging-channel/
|
|
5644
|
-
* @param {Object} body TwitterIntegrationRequest
|
|
5645
|
-
* @deprecated
|
|
5646
|
-
*/},{key:"postConversationsMessagingIntegrationsTwitter",value:function postConversationsMessagingIntegrationsTwitter(body){// verify the required parameter 'body' is set
|
|
5647
|
-
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postConversationsMessagingIntegrationsTwitter';}return this.apiClient.callApi('/api/v2/conversations/messaging/integrations/twitter','POST',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
5648
5620
|
* [This API is deprecated. Use POST /api/v2/conversations/messaging/integrations/whatsapp/embeddedsignup instead] Create a WhatsApp Integration
|
|
5649
5621
|
* [This API is deprecated. Use POST /api/v2/conversations/messaging/integrations/whatsapp/embeddedsignup instead] You must be approved by WhatsApp to use this feature. Your approved e164-formatted phone number and valid WhatsApp certificate for your number are required. Your WhatsApp certificate must have valid base64 encoding. Please paste carefully and do not add any leading or trailing spaces. Do not alter any characters. An integration must be activated within 7 days of certificate generation. If you cannot complete the addition and activation of the number within 7 days, please obtain a new certificate before creating the integration. Integrations created with an invalid number or certificate may immediately incur additional integration fees. Please carefully enter your number and certificate as described.
|
|
5650
5622
|
* @param {Object} body WhatsAppIntegrationRequest
|
|
@@ -5799,14 +5771,6 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
5799
5771
|
*/},{key:"putConversationsMessageRecordingstate",value:function putConversationsMessageRecordingstate(conversationId,body){// verify the required parameter 'conversationId' is set
|
|
5800
5772
|
if(conversationId===undefined||conversationId===null){throw'Missing the required parameter "conversationId" when calling putConversationsMessageRecordingstate';}// verify the required parameter 'body' is set
|
|
5801
5773
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putConversationsMessageRecordingstate';}return this.apiClient.callApi('/api/v2/conversations/messages/{conversationId}/recordingstate','PUT',{'conversationId':conversationId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
5802
|
-
* Update a LINE messenger integration (Deprecated)
|
|
5803
|
-
* This endpoint is deprecated. Please see the article https://help.mypurecloud.com/articles/deprecation-native-line-third-party-messaging-channel/
|
|
5804
|
-
* @param {String} integrationId Integration ID
|
|
5805
|
-
* @param {Object} body LineIntegrationRequest
|
|
5806
|
-
* @deprecated
|
|
5807
|
-
*/},{key:"putConversationsMessagingIntegrationsLineIntegrationId",value:function putConversationsMessagingIntegrationsLineIntegrationId(integrationId,body){// verify the required parameter 'integrationId' is set
|
|
5808
|
-
if(integrationId===undefined||integrationId===null){throw'Missing the required parameter "integrationId" when calling putConversationsMessagingIntegrationsLineIntegrationId';}// verify the required parameter 'body' is set
|
|
5809
|
-
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putConversationsMessagingIntegrationsLineIntegrationId';}return this.apiClient.callApi('/api/v2/conversations/messaging/integrations/line/{integrationId}','PUT',{'integrationId':integrationId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
5810
5774
|
* Set the organization's default setting that may be applied to to integrations without settings
|
|
5811
5775
|
* When an integration is created a settings ID may be assigned to it. If the settings ID is not supplied, the default settings will be assigned to it.
|
|
5812
5776
|
* @param {Object} body MessagingSetting
|
|
@@ -5846,7 +5810,7 @@ if(conversationId===undefined||conversationId===null){throw'Missing the required
|
|
|
5846
5810
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putConversationsVideoRecordingstate';}return this.apiClient.callApi('/api/v2/conversations/videos/{conversationId}/recordingstate','PUT',{'conversationId':conversationId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var DataExtensionsApi=/*#__PURE__*/function(){/**
|
|
5847
5811
|
* DataExtensions service.
|
|
5848
5812
|
* @module purecloud-platform-client-v2/api/DataExtensionsApi
|
|
5849
|
-
* @version
|
|
5813
|
+
* @version 195.0.0
|
|
5850
5814
|
*/ /**
|
|
5851
5815
|
* Constructs a new DataExtensionsApi.
|
|
5852
5816
|
* @alias module:purecloud-platform-client-v2/api/DataExtensionsApi
|
|
@@ -5867,7 +5831,7 @@ if(coretypeName===undefined||coretypeName===null){throw'Missing the required par
|
|
|
5867
5831
|
*/},{key:"getDataextensionsLimits",value:function getDataextensionsLimits(){return this.apiClient.callApi('/api/v2/dataextensions/limits','GET',{},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var DownloadsApi=/*#__PURE__*/function(){/**
|
|
5868
5832
|
* Downloads service.
|
|
5869
5833
|
* @module purecloud-platform-client-v2/api/DownloadsApi
|
|
5870
|
-
* @version
|
|
5834
|
+
* @version 195.0.0
|
|
5871
5835
|
*/ /**
|
|
5872
5836
|
* Constructs a new DownloadsApi.
|
|
5873
5837
|
* @alias module:purecloud-platform-client-v2/api/DownloadsApi
|
|
@@ -5886,7 +5850,7 @@ if(coretypeName===undefined||coretypeName===null){throw'Missing the required par
|
|
|
5886
5850
|
if(downloadId===undefined||downloadId===null){throw'Missing the required parameter "downloadId" when calling getDownload';}return this.apiClient.callApi('/api/v2/downloads/{downloadId}','GET',{'downloadId':downloadId},{'contentDisposition':opts['contentDisposition'],'issueRedirect':opts['issueRedirect'],'redirectToAuth':opts['redirectToAuth']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var EmailsApi=/*#__PURE__*/function(){/**
|
|
5887
5851
|
* Emails service.
|
|
5888
5852
|
* @module purecloud-platform-client-v2/api/EmailsApi
|
|
5889
|
-
* @version
|
|
5853
|
+
* @version 195.0.0
|
|
5890
5854
|
*/ /**
|
|
5891
5855
|
* Constructs a new EmailsApi.
|
|
5892
5856
|
* @alias module:purecloud-platform-client-v2/api/EmailsApi
|
|
@@ -5904,7 +5868,7 @@ if(downloadId===undefined||downloadId===null){throw'Missing the required paramet
|
|
|
5904
5868
|
*/},{key:"patchEmailsSettings",value:function patchEmailsSettings(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/emails/settings','PATCH',{},{},{},{},opts['body'],['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var EventsApi=/*#__PURE__*/function(){/**
|
|
5905
5869
|
* Events service.
|
|
5906
5870
|
* @module purecloud-platform-client-v2/api/EventsApi
|
|
5907
|
-
* @version
|
|
5871
|
+
* @version 195.0.0
|
|
5908
5872
|
*/ /**
|
|
5909
5873
|
* Constructs a new EventsApi.
|
|
5910
5874
|
* @alias module:purecloud-platform-client-v2/api/EventsApi
|
|
@@ -5929,7 +5893,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
5929
5893
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postEventsUsersRoutingstatus';}return this.apiClient.callApi('/api/v2/events/users/routingstatus','POST',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var ExternalContactsApi=/*#__PURE__*/function(){/**
|
|
5930
5894
|
* ExternalContacts service.
|
|
5931
5895
|
* @module purecloud-platform-client-v2/api/ExternalContactsApi
|
|
5932
|
-
* @version
|
|
5896
|
+
* @version 195.0.0
|
|
5933
5897
|
*/ /**
|
|
5934
5898
|
* Constructs a new ExternalContactsApi.
|
|
5935
5899
|
* @alias module:purecloud-platform-client-v2/api/ExternalContactsApi
|
|
@@ -6056,10 +6020,10 @@ if(schemaId===undefined||schemaId===null){throw'Missing the required parameter "
|
|
|
6056
6020
|
*
|
|
6057
6021
|
* @param {String} externalOrganizationId External Organization ID
|
|
6058
6022
|
* @param {Object} opts Optional parameters
|
|
6059
|
-
* @param {
|
|
6023
|
+
* @param {Array.<String>} opts.expand which fields, if any, to expand (externalDataSources)
|
|
6060
6024
|
* @param {Boolean} opts.includeTrustors (true or false) whether or not to include trustor information embedded in the externalOrganization
|
|
6061
6025
|
*/},{key:"getExternalcontactsOrganization",value:function getExternalcontactsOrganization(externalOrganizationId,opts){opts=opts||{};// verify the required parameter 'externalOrganizationId' is set
|
|
6062
|
-
if(externalOrganizationId===undefined||externalOrganizationId===null){throw'Missing the required parameter "externalOrganizationId" when calling getExternalcontactsOrganization';}return this.apiClient.callApi('/api/v2/externalcontacts/organizations/{externalOrganizationId}','GET',{'externalOrganizationId':externalOrganizationId},{'expand':opts['expand'],'includeTrustors':opts['includeTrustors']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
6026
|
+
if(externalOrganizationId===undefined||externalOrganizationId===null){throw'Missing the required parameter "externalOrganizationId" when calling getExternalcontactsOrganization';}return this.apiClient.callApi('/api/v2/externalcontacts/organizations/{externalOrganizationId}','GET',{'externalOrganizationId':externalOrganizationId},{'expand':this.apiClient.buildCollectionParam(opts['expand'],'multi'),'includeTrustors':opts['includeTrustors']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
6063
6027
|
* Search for external contacts in an external organization
|
|
6064
6028
|
*
|
|
6065
6029
|
* @param {String} externalOrganizationId External Organization ID
|
|
@@ -6096,10 +6060,10 @@ if(externalOrganizationId===undefined||externalOrganizationId===null){throw'Miss
|
|
|
6096
6060
|
* @param {Object} opts Optional parameters
|
|
6097
6061
|
* @param {Number} opts.pageSize Page size (limited to fetching first 1,000 records; pageNumber * pageSize must be <= 1,000) (default to 20)
|
|
6098
6062
|
* @param {Number} opts.pageNumber Page number (limited to fetching first 1,000 records; pageNumber * pageSize must be <= 1,000) (default to 1)
|
|
6099
|
-
* @param {
|
|
6063
|
+
* @param {Array.<String>} opts.expand which fields, if any, to expand
|
|
6100
6064
|
* @param {String} opts.sortOrder The Relationship field to sort by. Any of: [createDate, relationship]. Direction: [asc, desc]. e.g. createDate:asc, relationship:desc
|
|
6101
6065
|
*/},{key:"getExternalcontactsOrganizationRelationships",value:function getExternalcontactsOrganizationRelationships(externalOrganizationId,opts){opts=opts||{};// verify the required parameter 'externalOrganizationId' is set
|
|
6102
|
-
if(externalOrganizationId===undefined||externalOrganizationId===null){throw'Missing the required parameter "externalOrganizationId" when calling getExternalcontactsOrganizationRelationships';}return this.apiClient.callApi('/api/v2/externalcontacts/organizations/{externalOrganizationId}/relationships','GET',{'externalOrganizationId':externalOrganizationId},{'pageSize':opts['pageSize'],'pageNumber':opts['pageNumber'],'expand':opts['expand'],'sortOrder':opts['sortOrder']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
6066
|
+
if(externalOrganizationId===undefined||externalOrganizationId===null){throw'Missing the required parameter "externalOrganizationId" when calling getExternalcontactsOrganizationRelationships';}return this.apiClient.callApi('/api/v2/externalcontacts/organizations/{externalOrganizationId}/relationships','GET',{'externalOrganizationId':externalOrganizationId},{'pageSize':opts['pageSize'],'pageNumber':opts['pageNumber'],'expand':this.apiClient.buildCollectionParam(opts['expand'],'multi'),'sortOrder':opts['sortOrder']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
6103
6067
|
* Search for external organizations
|
|
6104
6068
|
*
|
|
6105
6069
|
* @param {Object} opts Optional parameters
|
|
@@ -6135,9 +6099,9 @@ if(schemaId===undefined||schemaId===null){throw'Missing the required parameter "
|
|
|
6135
6099
|
*
|
|
6136
6100
|
* @param {String} relationshipId Relationship Id
|
|
6137
6101
|
* @param {Object} opts Optional parameters
|
|
6138
|
-
* @param {
|
|
6102
|
+
* @param {Array.<String>} opts.expand which fields, if any, to expand
|
|
6139
6103
|
*/},{key:"getExternalcontactsRelationship",value:function getExternalcontactsRelationship(relationshipId,opts){opts=opts||{};// verify the required parameter 'relationshipId' is set
|
|
6140
|
-
if(relationshipId===undefined||relationshipId===null){throw'Missing the required parameter "relationshipId" when calling getExternalcontactsRelationship';}return this.apiClient.callApi('/api/v2/externalcontacts/relationships/{relationshipId}','GET',{'relationshipId':relationshipId},{'expand':opts['expand']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
6104
|
+
if(relationshipId===undefined||relationshipId===null){throw'Missing the required parameter "relationshipId" when calling getExternalcontactsRelationship';}return this.apiClient.callApi('/api/v2/externalcontacts/relationships/{relationshipId}','GET',{'relationshipId':relationshipId},{'expand':this.apiClient.buildCollectionParam(opts['expand'],'multi')},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
6141
6105
|
* Look up contacts and externalOrganizations based on an attribute. Maximum of 25 values returned.
|
|
6142
6106
|
*
|
|
6143
6107
|
* @param {String} lookupVal User supplied value to lookup contacts/externalOrganizations (supports email addresses, e164 phone numbers, Twitter screen names)
|
|
@@ -6384,7 +6348,7 @@ if(relationshipId===undefined||relationshipId===null){throw'Missing the required
|
|
|
6384
6348
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putExternalcontactsRelationship';}return this.apiClient.callApi('/api/v2/externalcontacts/relationships/{relationshipId}','PUT',{'relationshipId':relationshipId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var FaxApi=/*#__PURE__*/function(){/**
|
|
6385
6349
|
* Fax service.
|
|
6386
6350
|
* @module purecloud-platform-client-v2/api/FaxApi
|
|
6387
|
-
* @version
|
|
6351
|
+
* @version 195.0.0
|
|
6388
6352
|
*/ /**
|
|
6389
6353
|
* Constructs a new FaxApi.
|
|
6390
6354
|
* @alias module:purecloud-platform-client-v2/api/FaxApi
|
|
@@ -6433,7 +6397,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
6433
6397
|
*/},{key:"putFaxSettings",value:function putFaxSettings(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/fax/settings','PUT',{},{},{},{},opts['body'],['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var FlowsApi=/*#__PURE__*/function(){/**
|
|
6434
6398
|
* Flows service.
|
|
6435
6399
|
* @module purecloud-platform-client-v2/api/FlowsApi
|
|
6436
|
-
* @version
|
|
6400
|
+
* @version 195.0.0
|
|
6437
6401
|
*/ /**
|
|
6438
6402
|
* Constructs a new FlowsApi.
|
|
6439
6403
|
* @alias module:purecloud-platform-client-v2/api/FlowsApi
|
|
@@ -6481,7 +6445,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
6481
6445
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postAnalyticsFlowsObservationsQuery';}return this.apiClient.callApi('/api/v2/analytics/flows/observations/query','POST',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var GamificationApi=/*#__PURE__*/function(){/**
|
|
6482
6446
|
* Gamification service.
|
|
6483
6447
|
* @module purecloud-platform-client-v2/api/GamificationApi
|
|
6484
|
-
* @version
|
|
6448
|
+
* @version 195.0.0
|
|
6485
6449
|
*/ /**
|
|
6486
6450
|
* Constructs a new GamificationApi.
|
|
6487
6451
|
* @alias module:purecloud-platform-client-v2/api/GamificationApi
|
|
@@ -7021,7 +6985,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
7021
6985
|
if(status===undefined||status===null){throw'Missing the required parameter "status" when calling putGamificationStatus';}return this.apiClient.callApi('/api/v2/gamification/status','PUT',{},{},{},{},status,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var GeneralDataProtectionRegulationApi=/*#__PURE__*/function(){/**
|
|
7022
6986
|
* GeneralDataProtectionRegulation service.
|
|
7023
6987
|
* @module purecloud-platform-client-v2/api/GeneralDataProtectionRegulationApi
|
|
7024
|
-
* @version
|
|
6988
|
+
* @version 195.0.0
|
|
7025
6989
|
*/ /**
|
|
7026
6990
|
* Constructs a new GeneralDataProtectionRegulationApi.
|
|
7027
6991
|
* @alias module:purecloud-platform-client-v2/api/GeneralDataProtectionRegulationApi
|
|
@@ -7056,7 +7020,7 @@ if(searchValue===undefined||searchValue===null){throw'Missing the required param
|
|
|
7056
7020
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postGdprRequests';}return this.apiClient.callApi('/api/v2/gdpr/requests','POST',{},{'deleteConfirmed':opts['deleteConfirmed']},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var GeolocationApi=/*#__PURE__*/function(){/**
|
|
7057
7021
|
* Geolocation service.
|
|
7058
7022
|
* @module purecloud-platform-client-v2/api/GeolocationApi
|
|
7059
|
-
* @version
|
|
7023
|
+
* @version 195.0.0
|
|
7060
7024
|
*/ /**
|
|
7061
7025
|
* Constructs a new GeolocationApi.
|
|
7062
7026
|
* @alias module:purecloud-platform-client-v2/api/GeolocationApi
|
|
@@ -7090,7 +7054,7 @@ if(clientId===undefined||clientId===null){throw'Missing the required parameter "
|
|
|
7090
7054
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling patchUserGeolocation';}return this.apiClient.callApi('/api/v2/users/{userId}/geolocations/{clientId}','PATCH',{'userId':userId,'clientId':clientId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var GreetingsApi=/*#__PURE__*/function(){/**
|
|
7091
7055
|
* Greetings service.
|
|
7092
7056
|
* @module purecloud-platform-client-v2/api/GreetingsApi
|
|
7093
|
-
* @version
|
|
7057
|
+
* @version 195.0.0
|
|
7094
7058
|
*/ /**
|
|
7095
7059
|
* Constructs a new GreetingsApi.
|
|
7096
7060
|
* @alias module:purecloud-platform-client-v2/api/GreetingsApi
|
|
@@ -7197,7 +7161,7 @@ if(userId===undefined||userId===null){throw'Missing the required parameter "user
|
|
|
7197
7161
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putUserGreetingsDefaults';}return this.apiClient.callApi('/api/v2/users/{userId}/greetings/defaults','PUT',{'userId':userId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var GroupsApi=/*#__PURE__*/function(){/**
|
|
7198
7162
|
* Groups service.
|
|
7199
7163
|
* @module purecloud-platform-client-v2/api/GroupsApi
|
|
7200
|
-
* @version
|
|
7164
|
+
* @version 195.0.0
|
|
7201
7165
|
*/ /**
|
|
7202
7166
|
* Constructs a new GroupsApi.
|
|
7203
7167
|
* @alias module:purecloud-platform-client-v2/api/GroupsApi
|
|
@@ -7330,7 +7294,7 @@ if(groupId===undefined||groupId===null){throw'Missing the required parameter "gr
|
|
|
7330
7294
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putGroupDynamicsettings';}return this.apiClient.callApi('/api/v2/groups/{groupId}/dynamicsettings','PUT',{'groupId':groupId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var IdentityProviderApi=/*#__PURE__*/function(){/**
|
|
7331
7295
|
* IdentityProvider service.
|
|
7332
7296
|
* @module purecloud-platform-client-v2/api/IdentityProviderApi
|
|
7333
|
-
* @version
|
|
7297
|
+
* @version 195.0.0
|
|
7334
7298
|
*/ /**
|
|
7335
7299
|
* Constructs a new IdentityProviderApi.
|
|
7336
7300
|
* @alias module:purecloud-platform-client-v2/api/IdentityProviderApi
|
|
@@ -7486,7 +7450,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
7486
7450
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putIdentityprovidersSalesforce';}return this.apiClient.callApi('/api/v2/identityproviders/salesforce','PUT',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var InfrastructureAsCodeApi=/*#__PURE__*/function(){/**
|
|
7487
7451
|
* InfrastructureAsCode service.
|
|
7488
7452
|
* @module purecloud-platform-client-v2/api/InfrastructureAsCodeApi
|
|
7489
|
-
* @version
|
|
7453
|
+
* @version 195.0.0
|
|
7490
7454
|
*/ /**
|
|
7491
7455
|
* Constructs a new InfrastructureAsCodeApi.
|
|
7492
7456
|
* @alias module:purecloud-platform-client-v2/api/InfrastructureAsCodeApi
|
|
@@ -7540,7 +7504,7 @@ if(jobId===undefined||jobId===null){throw'Missing the required parameter "jobId"
|
|
|
7540
7504
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postInfrastructureascodeJobs';}return this.apiClient.callApi('/api/v2/infrastructureascode/jobs','POST',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var IntegrationsApi=/*#__PURE__*/function(){/**
|
|
7541
7505
|
* Integrations service.
|
|
7542
7506
|
* @module purecloud-platform-client-v2/api/IntegrationsApi
|
|
7543
|
-
* @version
|
|
7507
|
+
* @version 195.0.0
|
|
7544
7508
|
*/ /**
|
|
7545
7509
|
* Constructs a new IntegrationsApi.
|
|
7546
7510
|
* @alias module:purecloud-platform-client-v2/api/IntegrationsApi
|
|
@@ -8151,7 +8115,7 @@ if(ucIntegrationId===undefined||ucIntegrationId===null){throw'Missing the requir
|
|
|
8151
8115
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putIntegrationsUnifiedcommunicationThirdpartypresences';}return this.apiClient.callApi('/api/v2/integrations/unifiedcommunications/{ucIntegrationId}/thirdpartypresences','PUT',{'ucIntegrationId':ucIntegrationId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var JourneyApi=/*#__PURE__*/function(){/**
|
|
8152
8116
|
* Journey service.
|
|
8153
8117
|
* @module purecloud-platform-client-v2/api/JourneyApi
|
|
8154
|
-
* @version
|
|
8118
|
+
* @version 195.0.0
|
|
8155
8119
|
*/ /**
|
|
8156
8120
|
* Constructs a new JourneyApi.
|
|
8157
8121
|
* @alias module:purecloud-platform-client-v2/api/JourneyApi
|
|
@@ -8539,7 +8503,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
8539
8503
|
*/},{key:"postJourneyViewsEncodingsValidate",value:function postJourneyViewsEncodingsValidate(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/journey/views/encodings/validate','POST',{},{},{},{},opts['body'],['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var KnowledgeApi=/*#__PURE__*/function(){/**
|
|
8540
8504
|
* Knowledge service.
|
|
8541
8505
|
* @module purecloud-platform-client-v2/api/KnowledgeApi
|
|
8542
|
-
* @version
|
|
8506
|
+
* @version 195.0.0
|
|
8543
8507
|
*/ /**
|
|
8544
8508
|
* Constructs a new KnowledgeApi.
|
|
8545
8509
|
* @alias module:purecloud-platform-client-v2/api/KnowledgeApi
|
|
@@ -8952,9 +8916,10 @@ if(languageCode===undefined||languageCode===null){throw'Missing the required par
|
|
|
8952
8916
|
* @param {Array.<String>} opts.type If specified, retrieves operations with specified operation type, comma separated values expected.
|
|
8953
8917
|
* @param {Array.<String>} opts.status If specified, retrieves operations with specified operation status, comma separated values expected.
|
|
8954
8918
|
* @param {String} opts.interval Retrieves the operations modified in specified date and time range. If the after and before cursor parameters are within this interval, it would return valid data, otherwise it throws an error.The dates in the interval are represented in ISO-8601 format: YYYY-MM-DDThh:mm:ssZ/YYYY-MM-DDThh:mm:ssZ
|
|
8919
|
+
* @param {Array.<String>} opts.sourceId If specified, retrieves operations associated with source ids, comma separated values expected.
|
|
8955
8920
|
* getKnowledgeKnowledgebaseOperations is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
8956
8921
|
*/},{key:"getKnowledgeKnowledgebaseOperations",value:function getKnowledgeKnowledgebaseOperations(knowledgeBaseId,opts){opts=opts||{};// verify the required parameter 'knowledgeBaseId' is set
|
|
8957
|
-
if(knowledgeBaseId===undefined||knowledgeBaseId===null){throw'Missing the required parameter "knowledgeBaseId" when calling getKnowledgeKnowledgebaseOperations';}return this.apiClient.callApi('/api/v2/knowledge/knowledgebases/{knowledgeBaseId}/operations','GET',{'knowledgeBaseId':knowledgeBaseId},{'before':opts['before'],'after':opts['after'],'pageSize':opts['pageSize'],'userId':this.apiClient.buildCollectionParam(opts['userId'],'multi'),'type':this.apiClient.buildCollectionParam(opts['type'],'multi'),'status':this.apiClient.buildCollectionParam(opts['status'],'multi'),'interval':opts['interval']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
8922
|
+
if(knowledgeBaseId===undefined||knowledgeBaseId===null){throw'Missing the required parameter "knowledgeBaseId" when calling getKnowledgeKnowledgebaseOperations';}return this.apiClient.callApi('/api/v2/knowledge/knowledgebases/{knowledgeBaseId}/operations','GET',{'knowledgeBaseId':knowledgeBaseId},{'before':opts['before'],'after':opts['after'],'pageSize':opts['pageSize'],'userId':this.apiClient.buildCollectionParam(opts['userId'],'multi'),'type':this.apiClient.buildCollectionParam(opts['type'],'multi'),'status':this.apiClient.buildCollectionParam(opts['status'],'multi'),'interval':opts['interval'],'sourceId':this.apiClient.buildCollectionParam(opts['sourceId'],'multi')},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
8958
8923
|
* Get ids of operation creator users and oauth clients
|
|
8959
8924
|
*
|
|
8960
8925
|
* @param {String} knowledgeBaseId Knowledge base ID
|
|
@@ -9451,7 +9416,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
9451
9416
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postKnowledgeKnowledgebases';}return this.apiClient.callApi('/api/v2/knowledge/knowledgebases','POST',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var LanguageUnderstandingApi=/*#__PURE__*/function(){/**
|
|
9452
9417
|
* LanguageUnderstanding service.
|
|
9453
9418
|
* @module purecloud-platform-client-v2/api/LanguageUnderstandingApi
|
|
9454
|
-
* @version
|
|
9419
|
+
* @version 195.0.0
|
|
9455
9420
|
*/ /**
|
|
9456
9421
|
* Constructs a new LanguageUnderstandingApi.
|
|
9457
9422
|
* @alias module:purecloud-platform-client-v2/api/LanguageUnderstandingApi
|
|
@@ -9711,7 +9676,7 @@ if(domainVersionId===undefined||domainVersionId===null){throw'Missing the requir
|
|
|
9711
9676
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putLanguageunderstandingDomainVersion';}return this.apiClient.callApi('/api/v2/languageunderstanding/domains/{domainId}/versions/{domainVersionId}','PUT',{'domainId':domainId,'domainVersionId':domainVersionId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var LanguagesApi=/*#__PURE__*/function(){/**
|
|
9712
9677
|
* Languages service.
|
|
9713
9678
|
* @module purecloud-platform-client-v2/api/LanguagesApi
|
|
9714
|
-
* @version
|
|
9679
|
+
* @version 195.0.0
|
|
9715
9680
|
*/ /**
|
|
9716
9681
|
* Constructs a new LanguagesApi.
|
|
9717
9682
|
* @alias module:purecloud-platform-client-v2/api/LanguagesApi
|
|
@@ -9766,7 +9731,7 @@ if(userId===undefined||userId===null){throw'Missing the required parameter "user
|
|
|
9766
9731
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postLanguages';}return this.apiClient.callApi('/api/v2/languages','POST',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var LearningApi=/*#__PURE__*/function(){/**
|
|
9767
9732
|
* Learning service.
|
|
9768
9733
|
* @module purecloud-platform-client-v2/api/LearningApi
|
|
9769
|
-
* @version
|
|
9734
|
+
* @version 195.0.0
|
|
9770
9735
|
*/ /**
|
|
9771
9736
|
* Constructs a new LearningApi.
|
|
9772
9737
|
* @alias module:purecloud-platform-client-v2/api/LearningApi
|
|
@@ -9791,6 +9756,16 @@ if(moduleId===undefined||moduleId===null){throw'Missing the required parameter "
|
|
|
9791
9756
|
* @param {Array.<String>} opts.expand Fields to expand in response
|
|
9792
9757
|
*/},{key:"getLearningAssignment",value:function getLearningAssignment(assignmentId,opts){opts=opts||{};// verify the required parameter 'assignmentId' is set
|
|
9793
9758
|
if(assignmentId===undefined||assignmentId===null){throw'Missing the required parameter "assignmentId" when calling getLearningAssignment';}return this.apiClient.callApi('/api/v2/learning/assignments/{assignmentId}','GET',{'assignmentId':assignmentId},{'expand':this.apiClient.buildCollectionParam(opts['expand'],'multi')},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
9759
|
+
* Get Learning Assignment Step
|
|
9760
|
+
* Permission not required if you are the assigned user of the learning assignment
|
|
9761
|
+
* @param {String} assignmentId The ID of Learning Assignment
|
|
9762
|
+
* @param {String} stepId The ID of Learning Assignment Step
|
|
9763
|
+
* @param {Object} opts Optional parameters
|
|
9764
|
+
* @param {String} opts.shareableContentObjectId The ID of SCO to load
|
|
9765
|
+
* @param {Array.<String>} opts.expand Fields to expand in response
|
|
9766
|
+
*/},{key:"getLearningAssignmentStep",value:function getLearningAssignmentStep(assignmentId,stepId,opts){opts=opts||{};// verify the required parameter 'assignmentId' is set
|
|
9767
|
+
if(assignmentId===undefined||assignmentId===null){throw'Missing the required parameter "assignmentId" when calling getLearningAssignmentStep';}// verify the required parameter 'stepId' is set
|
|
9768
|
+
if(stepId===undefined||stepId===null){throw'Missing the required parameter "stepId" when calling getLearningAssignmentStep';}return this.apiClient.callApi('/api/v2/learning/assignments/{assignmentId}/steps/{stepId}','GET',{'assignmentId':assignmentId,'stepId':stepId},{'shareableContentObjectId':opts['shareableContentObjectId'],'expand':this.apiClient.buildCollectionParam(opts['expand'],'multi')},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
9794
9769
|
* List of Learning module Assignments
|
|
9795
9770
|
* Either moduleId or user value is required
|
|
9796
9771
|
* @param {Object} opts Optional parameters
|
|
@@ -9842,6 +9817,11 @@ if(moduleId===undefined||moduleId===null){throw'Missing the required parameter "
|
|
|
9842
9817
|
*/},{key:"getLearningModuleJob",value:function getLearningModuleJob(moduleId,jobId){// verify the required parameter 'moduleId' is set
|
|
9843
9818
|
if(moduleId===undefined||moduleId===null){throw'Missing the required parameter "moduleId" when calling getLearningModuleJob';}// verify the required parameter 'jobId' is set
|
|
9844
9819
|
if(jobId===undefined||jobId===null){throw'Missing the required parameter "jobId" when calling getLearningModuleJob';}return this.apiClient.callApi('/api/v2/learning/modules/{moduleId}/jobs/{jobId}','GET',{'moduleId':moduleId,'jobId':jobId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
9820
|
+
* Get a learning module preview
|
|
9821
|
+
*
|
|
9822
|
+
* @param {String} moduleId The ID of the learning module
|
|
9823
|
+
*/},{key:"getLearningModulePreview",value:function getLearningModulePreview(moduleId){// verify the required parameter 'moduleId' is set
|
|
9824
|
+
if(moduleId===undefined||moduleId===null){throw'Missing the required parameter "moduleId" when calling getLearningModulePreview';}return this.apiClient.callApi('/api/v2/learning/modules/{moduleId}/preview','GET',{'moduleId':moduleId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
9845
9825
|
* Get a learning module rule
|
|
9846
9826
|
*
|
|
9847
9827
|
* @param {String} moduleId The ID of the learning module
|
|
@@ -9888,6 +9868,11 @@ if(userIds===undefined||userIds===null){throw'Missing the required parameter "us
|
|
|
9888
9868
|
* @param {String} coverArtId Key identifier for the cover art
|
|
9889
9869
|
*/},{key:"getLearningModulesCoverartCoverArtId",value:function getLearningModulesCoverartCoverArtId(coverArtId){// verify the required parameter 'coverArtId' is set
|
|
9890
9870
|
if(coverArtId===undefined||coverArtId===null){throw'Missing the required parameter "coverArtId" when calling getLearningModulesCoverartCoverArtId';}return this.apiClient.callApi('/api/v2/learning/modules/coverart/{coverArtId}','GET',{'coverArtId':coverArtId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
9871
|
+
* Get Learning SCORM Result
|
|
9872
|
+
*
|
|
9873
|
+
* @param {String} scormId The ID of the SCORM package
|
|
9874
|
+
*/},{key:"getLearningScormScormId",value:function getLearningScormScormId(scormId){// verify the required parameter 'scormId' is set
|
|
9875
|
+
if(scormId===undefined||scormId===null){throw'Missing the required parameter "scormId" when calling getLearningScormScormId';}return this.apiClient.callApi('/api/v2/learning/scorm/{scormId}','GET',{'scormId':scormId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
9891
9876
|
* Update Learning Assignment
|
|
9892
9877
|
*
|
|
9893
9878
|
* @param {String} assignmentId The ID of Learning Assignment
|
|
@@ -9902,6 +9887,15 @@ if(assignmentId===undefined||assignmentId===null){throw'Missing the required par
|
|
|
9902
9887
|
* @param {Object} opts.body The Learning assignment reschedule model
|
|
9903
9888
|
*/},{key:"patchLearningAssignmentReschedule",value:function patchLearningAssignmentReschedule(assignmentId,opts){opts=opts||{};// verify the required parameter 'assignmentId' is set
|
|
9904
9889
|
if(assignmentId===undefined||assignmentId===null){throw'Missing the required parameter "assignmentId" when calling patchLearningAssignmentReschedule';}return this.apiClient.callApi('/api/v2/learning/assignments/{assignmentId}/reschedule','PATCH',{'assignmentId':assignmentId},{},{},{},opts['body'],['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
9890
|
+
* Update Learning Assignment Step
|
|
9891
|
+
* Permission not required if you are the assigned user of the learning assignment
|
|
9892
|
+
* @param {String} assignmentId The ID of Learning Assignment
|
|
9893
|
+
* @param {String} stepId The ID of Learning Assignment Step
|
|
9894
|
+
* @param {Object} opts Optional parameters
|
|
9895
|
+
* @param {Object} opts.body The Learning Assignment Step to be updated
|
|
9896
|
+
*/},{key:"patchLearningAssignmentStep",value:function patchLearningAssignmentStep(assignmentId,stepId,opts){opts=opts||{};// verify the required parameter 'assignmentId' is set
|
|
9897
|
+
if(assignmentId===undefined||assignmentId===null){throw'Missing the required parameter "assignmentId" when calling patchLearningAssignmentStep';}// verify the required parameter 'stepId' is set
|
|
9898
|
+
if(stepId===undefined||stepId===null){throw'Missing the required parameter "stepId" when calling patchLearningAssignmentStep';}return this.apiClient.callApi('/api/v2/learning/assignments/{assignmentId}/steps/{stepId}','PATCH',{'assignmentId':assignmentId,'stepId':stepId},{},{},{},opts['body'],['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
9905
9899
|
* Update an external assignment for a specific user
|
|
9906
9900
|
*
|
|
9907
9901
|
* @param {String} moduleId Key identifier for the module
|
|
@@ -9979,6 +9973,11 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
9979
9973
|
* @param {Object} body The slot search request
|
|
9980
9974
|
*/},{key:"postLearningScheduleslotsQuery",value:function postLearningScheduleslotsQuery(body){// verify the required parameter 'body' is set
|
|
9981
9975
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postLearningScheduleslotsQuery';}return this.apiClient.callApi('/api/v2/learning/scheduleslots/query','POST',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
9976
|
+
* Create a SCORM package upload request
|
|
9977
|
+
*
|
|
9978
|
+
* @param {Object} opts Optional parameters
|
|
9979
|
+
* @param {Object} opts.body The SCORM package to be uploaded
|
|
9980
|
+
*/},{key:"postLearningScorm",value:function postLearningScorm(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/learning/scorm','POST',{},{},{},{},opts['body'],['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
9982
9981
|
* Update a learning module
|
|
9983
9982
|
* This will update the name, description, completion time in days and inform steps for a learning module
|
|
9984
9983
|
* @param {String} moduleId The ID of the learning module
|
|
@@ -9986,6 +9985,13 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
9986
9985
|
*/},{key:"putLearningModule",value:function putLearningModule(moduleId,body){// verify the required parameter 'moduleId' is set
|
|
9987
9986
|
if(moduleId===undefined||moduleId===null){throw'Missing the required parameter "moduleId" when calling putLearningModule';}// verify the required parameter 'body' is set
|
|
9988
9987
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putLearningModule';}return this.apiClient.callApi('/api/v2/learning/modules/{moduleId}','PUT',{'moduleId':moduleId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
9988
|
+
* Update a learning module preview
|
|
9989
|
+
* This will update a learning module preview
|
|
9990
|
+
* @param {String} moduleId The ID of the learning module
|
|
9991
|
+
* @param {Object} body The learning module to be updated
|
|
9992
|
+
*/},{key:"putLearningModulePreview",value:function putLearningModulePreview(moduleId,body){// verify the required parameter 'moduleId' is set
|
|
9993
|
+
if(moduleId===undefined||moduleId===null){throw'Missing the required parameter "moduleId" when calling putLearningModulePreview';}// verify the required parameter 'body' is set
|
|
9994
|
+
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putLearningModulePreview';}return this.apiClient.callApi('/api/v2/learning/modules/{moduleId}/preview','PUT',{'moduleId':moduleId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
9989
9995
|
* Update a learning module rule
|
|
9990
9996
|
* This will update a learning module rule with the specified fields.
|
|
9991
9997
|
* @param {String} moduleId The ID of the learning module
|
|
@@ -9995,7 +10001,7 @@ if(moduleId===undefined||moduleId===null){throw'Missing the required parameter "
|
|
|
9995
10001
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putLearningModuleRule';}return this.apiClient.callApi('/api/v2/learning/modules/{moduleId}/rule','PUT',{'moduleId':moduleId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var LicenseApi=/*#__PURE__*/function(){/**
|
|
9996
10002
|
* License service.
|
|
9997
10003
|
* @module purecloud-platform-client-v2/api/LicenseApi
|
|
9998
|
-
* @version
|
|
10004
|
+
* @version 195.0.0
|
|
9999
10005
|
*/ /**
|
|
10000
10006
|
* Constructs a new LicenseApi.
|
|
10001
10007
|
* @alias module:purecloud-platform-client-v2/api/LicenseApi
|
|
@@ -10049,7 +10055,7 @@ if(featureName===undefined||featureName===null){throw'Missing the required param
|
|
|
10049
10055
|
*/},{key:"postLicenseUsers",value:function postLicenseUsers(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/license/users','POST',{},{},{},{},opts['body'],['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var LocationsApi=/*#__PURE__*/function(){/**
|
|
10050
10056
|
* Locations service.
|
|
10051
10057
|
* @module purecloud-platform-client-v2/api/LocationsApi
|
|
10052
|
-
* @version
|
|
10058
|
+
* @version 195.0.0
|
|
10053
10059
|
*/ /**
|
|
10054
10060
|
* Constructs a new LocationsApi.
|
|
10055
10061
|
* @alias module:purecloud-platform-client-v2/api/LocationsApi
|
|
@@ -10108,7 +10114,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
10108
10114
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postLocationsSearch';}return this.apiClient.callApi('/api/v2/locations/search','POST',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var LogCaptureApi=/*#__PURE__*/function(){/**
|
|
10109
10115
|
* LogCapture service.
|
|
10110
10116
|
* @module purecloud-platform-client-v2/api/LogCaptureApi
|
|
10111
|
-
* @version
|
|
10117
|
+
* @version 195.0.0
|
|
10112
10118
|
*/ /**
|
|
10113
10119
|
* Constructs a new LogCaptureApi.
|
|
10114
10120
|
* @alias module:purecloud-platform-client-v2/api/LogCaptureApi
|
|
@@ -10158,7 +10164,7 @@ if(userId===undefined||userId===null){throw'Missing the required parameter "user
|
|
|
10158
10164
|
if(userId===undefined||userId===null){throw'Missing the required parameter "userId" when calling postDiagnosticsLogcaptureBrowserUser';}return this.apiClient.callApi('/api/v2/diagnostics/logcapture/browser/users/{userId}','POST',{'userId':userId},{},{},{},opts['body'],['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var MessagingApi=/*#__PURE__*/function(){/**
|
|
10159
10165
|
* Messaging service.
|
|
10160
10166
|
* @module purecloud-platform-client-v2/api/MessagingApi
|
|
10161
|
-
* @version
|
|
10167
|
+
* @version 195.0.0
|
|
10162
10168
|
*/ /**
|
|
10163
10169
|
* Constructs a new MessagingApi.
|
|
10164
10170
|
* @alias module:purecloud-platform-client-v2/api/MessagingApi
|
|
@@ -10248,7 +10254,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
10248
10254
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putMessagingSettingsDefault';}return this.apiClient.callApi('/api/v2/messaging/settings/default','PUT',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var MobileDevicesApi=/*#__PURE__*/function(){/**
|
|
10249
10255
|
* MobileDevices service.
|
|
10250
10256
|
* @module purecloud-platform-client-v2/api/MobileDevicesApi
|
|
10251
|
-
* @version
|
|
10257
|
+
* @version 195.0.0
|
|
10252
10258
|
*/ /**
|
|
10253
10259
|
* Constructs a new MobileDevicesApi.
|
|
10254
10260
|
* @alias module:purecloud-platform-client-v2/api/MobileDevicesApi
|
|
@@ -10287,7 +10293,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
10287
10293
|
if(deviceId===undefined||deviceId===null){throw'Missing the required parameter "deviceId" when calling putMobiledevice';}return this.apiClient.callApi('/api/v2/mobiledevices/{deviceId}','PUT',{'deviceId':deviceId},{},{},{},opts['body'],['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var NotificationsApi=/*#__PURE__*/function(){/**
|
|
10288
10294
|
* Notifications service.
|
|
10289
10295
|
* @module purecloud-platform-client-v2/api/NotificationsApi
|
|
10290
|
-
* @version
|
|
10296
|
+
* @version 195.0.0
|
|
10291
10297
|
*/ /**
|
|
10292
10298
|
* Constructs a new NotificationsApi.
|
|
10293
10299
|
* @alias module:purecloud-platform-client-v2/api/NotificationsApi
|
|
@@ -10344,7 +10350,7 @@ if(channelId===undefined||channelId===null){throw'Missing the required parameter
|
|
|
10344
10350
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putNotificationsChannelSubscriptions';}return this.apiClient.callApi('/api/v2/notifications/channels/{channelId}/subscriptions','PUT',{'channelId':channelId},{'ignoreErrors':opts['ignoreErrors']},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var OAuthApi=/*#__PURE__*/function(){/**
|
|
10345
10351
|
* OAuth service.
|
|
10346
10352
|
* @module purecloud-platform-client-v2/api/OAuthApi
|
|
10347
|
-
* @version
|
|
10353
|
+
* @version 195.0.0
|
|
10348
10354
|
*/ /**
|
|
10349
10355
|
* Constructs a new OAuthApi.
|
|
10350
10356
|
* @alias module:purecloud-platform-client-v2/api/OAuthApi
|
|
@@ -10429,7 +10435,7 @@ if(clientId===undefined||clientId===null){throw'Missing the required parameter "
|
|
|
10429
10435
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putOauthClient';}return this.apiClient.callApi('/api/v2/oauth/clients/{clientId}','PUT',{'clientId':clientId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var ObjectsApi=/*#__PURE__*/function(){/**
|
|
10430
10436
|
* Objects service.
|
|
10431
10437
|
* @module purecloud-platform-client-v2/api/ObjectsApi
|
|
10432
|
-
* @version
|
|
10438
|
+
* @version 195.0.0
|
|
10433
10439
|
*/ /**
|
|
10434
10440
|
* Constructs a new ObjectsApi.
|
|
10435
10441
|
* @alias module:purecloud-platform-client-v2/api/ObjectsApi
|
|
@@ -10500,7 +10506,7 @@ if(divisionId===undefined||divisionId===null){throw'Missing the required paramet
|
|
|
10500
10506
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putAuthorizationDivision';}return this.apiClient.callApi('/api/v2/authorization/divisions/{divisionId}','PUT',{'divisionId':divisionId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var OperationalEventsApi=/*#__PURE__*/function(){/**
|
|
10501
10507
|
* OperationalEvents service.
|
|
10502
10508
|
* @module purecloud-platform-client-v2/api/OperationalEventsApi
|
|
10503
|
-
* @version
|
|
10509
|
+
* @version 195.0.0
|
|
10504
10510
|
*/ /**
|
|
10505
10511
|
* Constructs a new OperationalEventsApi.
|
|
10506
10512
|
* @alias module:purecloud-platform-client-v2/api/OperationalEventsApi
|
|
@@ -10518,7 +10524,7 @@ if(eventDefinitionId===undefined||eventDefinitionId===null){throw'Missing the re
|
|
|
10518
10524
|
*/},{key:"getUsageEventsDefinitions",value:function getUsageEventsDefinitions(){return this.apiClient.callApi('/api/v2/usage/events/definitions','GET',{},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var OrganizationApi=/*#__PURE__*/function(){/**
|
|
10519
10525
|
* Organization service.
|
|
10520
10526
|
* @module purecloud-platform-client-v2/api/OrganizationApi
|
|
10521
|
-
* @version
|
|
10527
|
+
* @version 195.0.0
|
|
10522
10528
|
*/ /**
|
|
10523
10529
|
* Constructs a new OrganizationApi.
|
|
10524
10530
|
* @alias module:purecloud-platform-client-v2/api/OrganizationApi
|
|
@@ -10623,7 +10629,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
10623
10629
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putOrganizationsWhitelist';}return this.apiClient.callApi('/api/v2/organizations/whitelist','PUT',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var OrganizationAuthorizationApi=/*#__PURE__*/function(){/**
|
|
10624
10630
|
* OrganizationAuthorization service.
|
|
10625
10631
|
* @module purecloud-platform-client-v2/api/OrganizationAuthorizationApi
|
|
10626
|
-
* @version
|
|
10632
|
+
* @version 195.0.0
|
|
10627
10633
|
*/ /**
|
|
10628
10634
|
* Constructs a new OrganizationAuthorizationApi.
|
|
10629
10635
|
* @alias module:purecloud-platform-client-v2/api/OrganizationAuthorizationApi
|
|
@@ -10946,7 +10952,7 @@ if(trustorOrgId===undefined||trustorOrgId===null){throw'Missing the required par
|
|
|
10946
10952
|
if(trusteeUserId===undefined||trusteeUserId===null){throw'Missing the required parameter "trusteeUserId" when calling putOrgauthorizationTrustorUser';}return this.apiClient.callApi('/api/v2/orgauthorization/trustors/{trustorOrgId}/users/{trusteeUserId}','PUT',{'trustorOrgId':trustorOrgId,'trusteeUserId':trusteeUserId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var OutboundApi=/*#__PURE__*/function(){/**
|
|
10947
10953
|
* Outbound service.
|
|
10948
10954
|
* @module purecloud-platform-client-v2/api/OutboundApi
|
|
10949
|
-
* @version
|
|
10955
|
+
* @version 195.0.0
|
|
10950
10956
|
*/ /**
|
|
10951
10957
|
* Constructs a new OutboundApi.
|
|
10952
10958
|
* @alias module:purecloud-platform-client-v2/api/OutboundApi
|
|
@@ -11182,6 +11188,18 @@ if(campaignId===undefined||campaignId===null){throw'Missing the required paramet
|
|
|
11182
11188
|
* @param {String} campaignId Campaign ID
|
|
11183
11189
|
*/},{key:"getOutboundCampaignInteractions",value:function getOutboundCampaignInteractions(campaignId){// verify the required parameter 'campaignId' is set
|
|
11184
11190
|
if(campaignId===undefined||campaignId===null){throw'Missing the required parameter "campaignId" when calling getOutboundCampaignInteractions';}return this.apiClient.callApi('/api/v2/outbound/campaigns/{campaignId}/interactions','GET',{'campaignId':campaignId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
11191
|
+
* Get line distribution information for campaigns using same Edge Group or Site as given campaign
|
|
11192
|
+
*
|
|
11193
|
+
* @param {String} campaignId Campaign ID
|
|
11194
|
+
* @param {Object} opts Optional parameters
|
|
11195
|
+
* @param {Boolean} opts.includeOnlyActiveCampaigns If true will return only active Campaigns (default to true)
|
|
11196
|
+
* @param {String} opts.edgeGroupId Edge group to be used in line distribution calculations instead of current Campaign's Edge Group. Campaign's Site and Edge Group are mutually exclusive.
|
|
11197
|
+
* @param {String} opts.siteId Site to be used in line distribution calculations instead of current Campaign's Site. Campaign's Site and Edge Group are mutually exclusive.
|
|
11198
|
+
* @param {Boolean} opts.useWeight Enable usage of weight, this value overrides current Campaign's setting in line distribution calculations
|
|
11199
|
+
* @param {Number} opts.relativeWeight Relative weight to be used in line distribution calculations instead of current Campaign's relative weight
|
|
11200
|
+
* @param {Number} opts.outboundLineCount The number of outbound lines to be used in line distribution calculations, instead of current Campaign's Outbound Lines Count
|
|
11201
|
+
*/},{key:"getOutboundCampaignLinedistribution",value:function getOutboundCampaignLinedistribution(campaignId,opts){opts=opts||{};// verify the required parameter 'campaignId' is set
|
|
11202
|
+
if(campaignId===undefined||campaignId===null){throw'Missing the required parameter "campaignId" when calling getOutboundCampaignLinedistribution';}return this.apiClient.callApi('/api/v2/outbound/campaigns/{campaignId}/linedistribution','GET',{'campaignId':campaignId},{'includeOnlyActiveCampaigns':opts['includeOnlyActiveCampaigns'],'edgeGroupId':opts['edgeGroupId'],'siteId':opts['siteId'],'useWeight':opts['useWeight'],'relativeWeight':opts['relativeWeight'],'outboundLineCount':opts['outboundLineCount']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
11185
11203
|
* Get campaign progress
|
|
11186
11204
|
*
|
|
11187
11205
|
* @param {String} campaignId Campaign ID
|
|
@@ -11714,6 +11732,27 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
11714
11732
|
*/},{key:"postOutboundContactlistContactsBulk",value:function postOutboundContactlistContactsBulk(contactListId,body){// verify the required parameter 'contactListId' is set
|
|
11715
11733
|
if(contactListId===undefined||contactListId===null){throw'Missing the required parameter "contactListId" when calling postOutboundContactlistContactsBulk';}// verify the required parameter 'body' is set
|
|
11716
11734
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postOutboundContactlistContactsBulk';}return this.apiClient.callApi('/api/v2/outbound/contactlists/{contactListId}/contacts/bulk','POST',{'contactListId':contactListId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
11735
|
+
* Start an async job to delete contacts using a filter.
|
|
11736
|
+
*
|
|
11737
|
+
* @param {String} contactListId Contact List ID
|
|
11738
|
+
* @param {Object} body Contact filter information.
|
|
11739
|
+
*/},{key:"postOutboundContactlistContactsBulkRemove",value:function postOutboundContactlistContactsBulkRemove(contactListId,body){// verify the required parameter 'contactListId' is set
|
|
11740
|
+
if(contactListId===undefined||contactListId===null){throw'Missing the required parameter "contactListId" when calling postOutboundContactlistContactsBulkRemove';}// verify the required parameter 'body' is set
|
|
11741
|
+
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postOutboundContactlistContactsBulkRemove';}return this.apiClient.callApi('/api/v2/outbound/contactlists/{contactListId}/contacts/bulk/remove','POST',{'contactListId':contactListId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
11742
|
+
* Start an async job to bulk edit contacts.
|
|
11743
|
+
*
|
|
11744
|
+
* @param {String} contactListId Contact List ID
|
|
11745
|
+
* @param {Object} body Contact bulk edit request information.
|
|
11746
|
+
*/},{key:"postOutboundContactlistContactsBulkUpdate",value:function postOutboundContactlistContactsBulkUpdate(contactListId,body){// verify the required parameter 'contactListId' is set
|
|
11747
|
+
if(contactListId===undefined||contactListId===null){throw'Missing the required parameter "contactListId" when calling postOutboundContactlistContactsBulkUpdate';}// verify the required parameter 'body' is set
|
|
11748
|
+
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postOutboundContactlistContactsBulkUpdate';}return this.apiClient.callApi('/api/v2/outbound/contactlists/{contactListId}/contacts/bulk/update','POST',{'contactListId':contactListId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
11749
|
+
* Query contacts from a contact list.
|
|
11750
|
+
*
|
|
11751
|
+
* @param {String} contactListId Contact List ID
|
|
11752
|
+
* @param {Object} body Contact search parameters.
|
|
11753
|
+
*/},{key:"postOutboundContactlistContactsSearch",value:function postOutboundContactlistContactsSearch(contactListId,body){// verify the required parameter 'contactListId' is set
|
|
11754
|
+
if(contactListId===undefined||contactListId===null){throw'Missing the required parameter "contactListId" when calling postOutboundContactlistContactsSearch';}// verify the required parameter 'body' is set
|
|
11755
|
+
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postOutboundContactlistContactsSearch';}return this.apiClient.callApi('/api/v2/outbound/contactlists/{contactListId}/contacts/search','POST',{'contactListId':contactListId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
11717
11756
|
* Initiate the export of a contact list.
|
|
11718
11757
|
* Returns 200 if received OK.
|
|
11719
11758
|
* @param {String} contactListId ContactList ID
|
|
@@ -11985,7 +12024,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
11985
12024
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putOutboundWrapupcodemappings';}return this.apiClient.callApi('/api/v2/outbound/wrapupcodemappings','PUT',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var PresenceApi=/*#__PURE__*/function(){/**
|
|
11986
12025
|
* Presence service.
|
|
11987
12026
|
* @module purecloud-platform-client-v2/api/PresenceApi
|
|
11988
|
-
* @version
|
|
12027
|
+
* @version 195.0.0
|
|
11989
12028
|
*/ /**
|
|
11990
12029
|
* Constructs a new PresenceApi.
|
|
11991
12030
|
* @alias module:purecloud-platform-client-v2/api/PresenceApi
|
|
@@ -12158,7 +12197,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
12158
12197
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putUsersPresencesBulk';}return this.apiClient.callApi('/api/v2/users/presences/bulk','PUT',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var ProcessAutomationApi=/*#__PURE__*/function(){/**
|
|
12159
12198
|
* ProcessAutomation service.
|
|
12160
12199
|
* @module purecloud-platform-client-v2/api/ProcessAutomationApi
|
|
12161
|
-
* @version
|
|
12200
|
+
* @version 195.0.0
|
|
12162
12201
|
*/ /**
|
|
12163
12202
|
* Constructs a new ProcessAutomationApi.
|
|
12164
12203
|
* @alias module:purecloud-platform-client-v2/api/ProcessAutomationApi
|
|
@@ -12221,7 +12260,7 @@ if(triggerId===undefined||triggerId===null){throw'Missing the required parameter
|
|
|
12221
12260
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putProcessautomationTrigger';}return this.apiClient.callApi('/api/v2/processautomation/triggers/{triggerId}','PUT',{'triggerId':triggerId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var QualityApi=/*#__PURE__*/function(){/**
|
|
12222
12261
|
* Quality service.
|
|
12223
12262
|
* @module purecloud-platform-client-v2/api/QualityApi
|
|
12224
|
-
* @version
|
|
12263
|
+
* @version 195.0.0
|
|
12225
12264
|
*/ /**
|
|
12226
12265
|
* Constructs a new QualityApi.
|
|
12227
12266
|
* @alias module:purecloud-platform-client-v2/api/QualityApi
|
|
@@ -12692,7 +12731,7 @@ if(customerSurveyUrl===undefined||customerSurveyUrl===null){throw'Missing the re
|
|
|
12692
12731
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putQualitySurveysScorable';}return this.apiClient.callApi('/api/v2/quality/surveys/scorable','PUT',{},{'customerSurveyUrl':customerSurveyUrl},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var RecordingApi=/*#__PURE__*/function(){/**
|
|
12693
12732
|
* Recording service.
|
|
12694
12733
|
* @module purecloud-platform-client-v2/api/RecordingApi
|
|
12695
|
-
* @version
|
|
12734
|
+
* @version 195.0.0
|
|
12696
12735
|
*/ /**
|
|
12697
12736
|
* Constructs a new RecordingApi.
|
|
12698
12737
|
* @alias module:purecloud-platform-client-v2/api/RecordingApi
|
|
@@ -13103,7 +13142,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
13103
13142
|
*/},{key:"putRecordingsDeletionprotection",value:function putRecordingsDeletionprotection(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/recordings/deletionprotection','PUT',{},{'protect':opts['protect']},{},{},opts['body'],['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var ResponseManagementApi=/*#__PURE__*/function(){/**
|
|
13104
13143
|
* ResponseManagement service.
|
|
13105
13144
|
* @module purecloud-platform-client-v2/api/ResponseManagementApi
|
|
13106
|
-
* @version
|
|
13145
|
+
* @version 195.0.0
|
|
13107
13146
|
*/ /**
|
|
13108
13147
|
* Constructs a new ResponseManagementApi.
|
|
13109
13148
|
* @alias module:purecloud-platform-client-v2/api/ResponseManagementApi
|
|
@@ -13224,7 +13263,7 @@ if(responseAssetId===undefined||responseAssetId===null){throw'Missing the requir
|
|
|
13224
13263
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putResponsemanagementResponseasset';}return this.apiClient.callApi('/api/v2/responsemanagement/responseassets/{responseAssetId}','PUT',{'responseAssetId':responseAssetId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var RoutingApi=/*#__PURE__*/function(){/**
|
|
13225
13264
|
* Routing service.
|
|
13226
13265
|
* @module purecloud-platform-client-v2/api/RoutingApi
|
|
13227
|
-
* @version
|
|
13266
|
+
* @version 195.0.0
|
|
13228
13267
|
*/ /**
|
|
13229
13268
|
* Constructs a new RoutingApi.
|
|
13230
13269
|
* @alias module:purecloud-platform-client-v2/api/RoutingApi
|
|
@@ -13329,7 +13368,6 @@ if(userId===undefined||userId===null){throw'Missing the required parameter "user
|
|
|
13329
13368
|
* @param {String} labelId Utilization Label ID
|
|
13330
13369
|
* @param {Object} opts Optional parameters
|
|
13331
13370
|
* @param {Boolean} opts.forceDelete Remove all label usages (if found) without warning (default to false)
|
|
13332
|
-
* deleteRoutingUtilizationLabel is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
13333
13371
|
*/},{key:"deleteRoutingUtilizationLabel",value:function deleteRoutingUtilizationLabel(labelId,opts){opts=opts||{};// verify the required parameter 'labelId' is set
|
|
13334
13372
|
if(labelId===undefined||labelId===null){throw'Missing the required parameter "labelId" when calling deleteRoutingUtilizationLabel';}return this.apiClient.callApi('/api/v2/routing/utilization/labels/{labelId}','DELETE',{'labelId':labelId},{'forceDelete':opts['forceDelete']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
13335
13373
|
* Delete an utilization tag
|
|
@@ -13719,13 +13757,11 @@ if(userId===undefined||userId===null){throw'Missing the required parameter "user
|
|
|
13719
13757
|
* Get details about this utilization label
|
|
13720
13758
|
*
|
|
13721
13759
|
* @param {String} labelId Utilization Label ID
|
|
13722
|
-
* getRoutingUtilizationLabel is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
13723
13760
|
*/},{key:"getRoutingUtilizationLabel",value:function getRoutingUtilizationLabel(labelId){// verify the required parameter 'labelId' is set
|
|
13724
13761
|
if(labelId===undefined||labelId===null){throw'Missing the required parameter "labelId" when calling getRoutingUtilizationLabel';}return this.apiClient.callApi('/api/v2/routing/utilization/labels/{labelId}','GET',{'labelId':labelId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
13725
13762
|
* Get list of agent ids associated with a utilization label
|
|
13726
13763
|
*
|
|
13727
13764
|
* @param {String} labelId Utilization Label ID
|
|
13728
|
-
* getRoutingUtilizationLabelAgents is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
13729
13765
|
*/},{key:"getRoutingUtilizationLabelAgents",value:function getRoutingUtilizationLabelAgents(labelId){// verify the required parameter 'labelId' is set
|
|
13730
13766
|
if(labelId===undefined||labelId===null){throw'Missing the required parameter "labelId" when calling getRoutingUtilizationLabelAgents';}return this.apiClient.callApi('/api/v2/routing/utilization/labels/{labelId}/agents','GET',{'labelId':labelId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
13731
13767
|
* Get list of utilization labels
|
|
@@ -13735,7 +13771,6 @@ if(labelId===undefined||labelId===null){throw'Missing the required parameter "la
|
|
|
13735
13771
|
* @param {Number} opts.pageNumber Page number (default to 1)
|
|
13736
13772
|
* @param {Object} opts.sortOrder Sort order by name (default to ascending)
|
|
13737
13773
|
* @param {String} opts.name Utilization label's name (Wildcard is supported, e.g., 'label1*', '*label*'
|
|
13738
|
-
* getRoutingUtilizationLabels is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
13739
13774
|
*/},{key:"getRoutingUtilizationLabels",value:function getRoutingUtilizationLabels(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/routing/utilization/labels','GET',{},{'pageSize':opts['pageSize'],'pageNumber':opts['pageNumber'],'sortOrder':opts['sortOrder'],'name':opts['name']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
13740
13775
|
* Get details about this utilization tag
|
|
13741
13776
|
*
|
|
@@ -14080,7 +14115,6 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
14080
14115
|
* Create a utilization label
|
|
14081
14116
|
*
|
|
14082
14117
|
* @param {Object} body UtilizationLabel
|
|
14083
|
-
* postRoutingUtilizationLabels is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
14084
14118
|
*/},{key:"postRoutingUtilizationLabels",value:function postRoutingUtilizationLabels(body){// verify the required parameter 'body' is set
|
|
14085
14119
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postRoutingUtilizationLabels';}return this.apiClient.callApi('/api/v2/routing/utilization/labels','POST',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
14086
14120
|
* Create an utilization tag
|
|
@@ -14169,7 +14203,6 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
14169
14203
|
*
|
|
14170
14204
|
* @param {String} labelId Utilization Label ID
|
|
14171
14205
|
* @param {Object} body UtilizationLabel
|
|
14172
|
-
* putRoutingUtilizationLabel is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
14173
14206
|
*/},{key:"putRoutingUtilizationLabel",value:function putRoutingUtilizationLabel(labelId,body){// verify the required parameter 'labelId' is set
|
|
14174
14207
|
if(labelId===undefined||labelId===null){throw'Missing the required parameter "labelId" when calling putRoutingUtilizationLabel';}// verify the required parameter 'body' is set
|
|
14175
14208
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putRoutingUtilizationLabel';}return this.apiClient.callApi('/api/v2/routing/utilization/labels/{labelId}','PUT',{'labelId':labelId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
@@ -14198,7 +14231,7 @@ if(userId===undefined||userId===null){throw'Missing the required parameter "user
|
|
|
14198
14231
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putUserRoutingskillsBulk';}return this.apiClient.callApi('/api/v2/users/{userId}/routingskills/bulk','PUT',{'userId':userId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var SCIMApi=/*#__PURE__*/function(){/**
|
|
14199
14232
|
* SCIM service.
|
|
14200
14233
|
* @module purecloud-platform-client-v2/api/SCIMApi
|
|
14201
|
-
* @version
|
|
14234
|
+
* @version 195.0.0
|
|
14202
14235
|
*/ /**
|
|
14203
14236
|
* Constructs a new SCIMApi.
|
|
14204
14237
|
* @alias module:purecloud-platform-client-v2/api/SCIMApi
|
|
@@ -14423,7 +14456,7 @@ if(userId===undefined||userId===null){throw'Missing the required parameter "user
|
|
|
14423
14456
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putScimV2User';}return this.apiClient.callApi('/api/v2/scim/v2/users/{userId}','PUT',{'userId':userId},{},{'If-Match':opts['ifMatch']},{},body,['PureCloud OAuth'],['application/scim+json','application/json'],['application/scim+json','application/json']);}}]);}();var ScreenRecordingApi=/*#__PURE__*/function(){/**
|
|
14424
14457
|
* ScreenRecording service.
|
|
14425
14458
|
* @module purecloud-platform-client-v2/api/ScreenRecordingApi
|
|
14426
|
-
* @version
|
|
14459
|
+
* @version 195.0.0
|
|
14427
14460
|
*/ /**
|
|
14428
14461
|
* Constructs a new ScreenRecordingApi.
|
|
14429
14462
|
* @alias module:purecloud-platform-client-v2/api/ScreenRecordingApi
|
|
@@ -14438,7 +14471,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
14438
14471
|
*/return _createClass(ScreenRecordingApi,[{key:"postScreenrecordingToken",value:function postScreenrecordingToken(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/screenrecording/token','POST',{},{},{},{},opts['body'],['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var ScriptsApi=/*#__PURE__*/function(){/**
|
|
14439
14472
|
* Scripts service.
|
|
14440
14473
|
* @module purecloud-platform-client-v2/api/ScriptsApi
|
|
14441
|
-
* @version
|
|
14474
|
+
* @version 195.0.0
|
|
14442
14475
|
*/ /**
|
|
14443
14476
|
* Constructs a new ScriptsApi.
|
|
14444
14477
|
* @alias module:purecloud-platform-client-v2/api/ScriptsApi
|
|
@@ -14574,7 +14607,7 @@ if(scriptId===undefined||scriptId===null){throw'Missing the required parameter "
|
|
|
14574
14607
|
*/},{key:"postScriptsPublished",value:function postScriptsPublished(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/scripts/published','POST',{},{'scriptDataVersion':opts['scriptDataVersion']},{},{},opts['body'],['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var SearchApi=/*#__PURE__*/function(){/**
|
|
14575
14608
|
* Search service.
|
|
14576
14609
|
* @module purecloud-platform-client-v2/api/SearchApi
|
|
14577
|
-
* @version
|
|
14610
|
+
* @version 195.0.0
|
|
14578
14611
|
*/ /**
|
|
14579
14612
|
* Constructs a new SearchApi.
|
|
14580
14613
|
* @alias module:purecloud-platform-client-v2/api/SearchApi
|
|
@@ -14734,7 +14767,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
14734
14767
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postVoicemailSearch';}return this.apiClient.callApi('/api/v2/voicemail/search','POST',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var SettingsApi=/*#__PURE__*/function(){/**
|
|
14735
14768
|
* Settings service.
|
|
14736
14769
|
* @module purecloud-platform-client-v2/api/SettingsApi
|
|
14737
|
-
* @version
|
|
14770
|
+
* @version 195.0.0
|
|
14738
14771
|
*/ /**
|
|
14739
14772
|
* Constructs a new SettingsApi.
|
|
14740
14773
|
* @alias module:purecloud-platform-client-v2/api/SettingsApi
|
|
@@ -14762,7 +14795,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
14762
14795
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling patchSettingsExecutiondata';}return this.apiClient.callApi('/api/v2/settings/executiondata','PATCH',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var SpeechTextAnalyticsApi=/*#__PURE__*/function(){/**
|
|
14763
14796
|
* SpeechTextAnalytics service.
|
|
14764
14797
|
* @module purecloud-platform-client-v2/api/SpeechTextAnalyticsApi
|
|
14765
|
-
* @version
|
|
14798
|
+
* @version 195.0.0
|
|
14766
14799
|
*/ /**
|
|
14767
14800
|
* Constructs a new SpeechTextAnalyticsApi.
|
|
14768
14801
|
* @alias module:purecloud-platform-client-v2/api/SpeechTextAnalyticsApi
|
|
@@ -14770,10 +14803,15 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
14770
14803
|
* @param {module:purecloud-platform-client-v2/ApiClient} apiClient Optional API client implementation to use,
|
|
14771
14804
|
* default to {@link module:purecloud-platform-client-v2/ApiClient#instance} if unspecified.
|
|
14772
14805
|
*/function SpeechTextAnalyticsApi(apiClient){_classCallCheck(this,SpeechTextAnalyticsApi);this.apiClient=apiClient||ApiClient.instance;}/**
|
|
14806
|
+
* Delete a Speech and Text Analytics category by ID
|
|
14807
|
+
*
|
|
14808
|
+
* @param {String} categoryId The id of the category
|
|
14809
|
+
*/return _createClass(SpeechTextAnalyticsApi,[{key:"deleteSpeechandtextanalyticsCategory",value:function deleteSpeechandtextanalyticsCategory(categoryId){// verify the required parameter 'categoryId' is set
|
|
14810
|
+
if(categoryId===undefined||categoryId===null){throw'Missing the required parameter "categoryId" when calling deleteSpeechandtextanalyticsCategory';}return this.apiClient.callApi('/api/v2/speechandtextanalytics/categories/{categoryId}','DELETE',{'categoryId':categoryId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
14773
14811
|
* Delete a Speech and Text Analytics DictionaryFeedback by Id
|
|
14774
14812
|
*
|
|
14775
14813
|
* @param {String} dictionaryFeedbackId The Id of the Dictionary Feedback
|
|
14776
|
-
*/
|
|
14814
|
+
*/},{key:"deleteSpeechandtextanalyticsDictionaryfeedbackDictionaryFeedbackId",value:function deleteSpeechandtextanalyticsDictionaryfeedbackDictionaryFeedbackId(dictionaryFeedbackId){// verify the required parameter 'dictionaryFeedbackId' is set
|
|
14777
14815
|
if(dictionaryFeedbackId===undefined||dictionaryFeedbackId===null){throw'Missing the required parameter "dictionaryFeedbackId" when calling deleteSpeechandtextanalyticsDictionaryfeedbackDictionaryFeedbackId';}return this.apiClient.callApi('/api/v2/speechandtextanalytics/dictionaryfeedback/{dictionaryFeedbackId}','DELETE',{'dictionaryFeedbackId':dictionaryFeedbackId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
14778
14816
|
* Delete a Speech and Text Analytics program by id
|
|
14779
14817
|
*
|
|
@@ -14795,11 +14833,34 @@ if(sentimentFeedbackId===undefined||sentimentFeedbackId===null){throw'Missing th
|
|
|
14795
14833
|
* @param {String} topicId The id of the topic
|
|
14796
14834
|
*/},{key:"deleteSpeechandtextanalyticsTopic",value:function deleteSpeechandtextanalyticsTopic(topicId){// verify the required parameter 'topicId' is set
|
|
14797
14835
|
if(topicId===undefined||topicId===null){throw'Missing the required parameter "topicId" when calling deleteSpeechandtextanalyticsTopic';}return this.apiClient.callApi('/api/v2/speechandtextanalytics/topics/{topicId}','DELETE',{'topicId':topicId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
14836
|
+
* Get the list of Speech and Text Analytics categories
|
|
14837
|
+
*
|
|
14838
|
+
* @param {Object} opts Optional parameters
|
|
14839
|
+
* @param {Number} opts.pageSize The page size for the listing. The max that will be returned is 50. (default to 25)
|
|
14840
|
+
* @param {Number} opts.pageNumber The page number for the listing (default to 1)
|
|
14841
|
+
* @param {String} opts.name The category name filter applied to the listing
|
|
14842
|
+
* @param {Object} opts.sortOrder The sort order for the listing (default to asc)
|
|
14843
|
+
* @param {Object} opts.sortBy The field to sort by for the listing (default to name)
|
|
14844
|
+
* @param {Array.<String>} opts.ids Comma separated Category IDs to filter by. Cannot be used with other filters. Maximum of 50 IDs allowed.
|
|
14845
|
+
*/},{key:"getSpeechandtextanalyticsCategories",value:function getSpeechandtextanalyticsCategories(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/speechandtextanalytics/categories','GET',{},{'pageSize':opts['pageSize'],'pageNumber':opts['pageNumber'],'name':opts['name'],'sortOrder':opts['sortOrder'],'sortBy':opts['sortBy'],'ids':this.apiClient.buildCollectionParam(opts['ids'],'multi')},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
14846
|
+
* Get a Speech and Text Analytics Category by ID
|
|
14847
|
+
*
|
|
14848
|
+
* @param {String} categoryId The id of the category
|
|
14849
|
+
*/},{key:"getSpeechandtextanalyticsCategory",value:function getSpeechandtextanalyticsCategory(categoryId){// verify the required parameter 'categoryId' is set
|
|
14850
|
+
if(categoryId===undefined||categoryId===null){throw'Missing the required parameter "categoryId" when calling getSpeechandtextanalyticsCategory';}return this.apiClient.callApi('/api/v2/speechandtextanalytics/categories/{categoryId}','GET',{'categoryId':categoryId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
14798
14851
|
* Get Speech and Text Analytics for a specific conversation
|
|
14799
14852
|
*
|
|
14800
14853
|
* @param {String} conversationId Conversation Id
|
|
14801
14854
|
*/},{key:"getSpeechandtextanalyticsConversation",value:function getSpeechandtextanalyticsConversation(conversationId){// verify the required parameter 'conversationId' is set
|
|
14802
14855
|
if(conversationId===undefined||conversationId===null){throw'Missing the required parameter "conversationId" when calling getSpeechandtextanalyticsConversation';}return this.apiClient.callApi('/api/v2/speechandtextanalytics/conversations/{conversationId}','GET',{'conversationId':conversationId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
14856
|
+
* Get the list of detected Speech and Text Analytics categories of conversation
|
|
14857
|
+
*
|
|
14858
|
+
* @param {String} conversationId The id of the conversation
|
|
14859
|
+
* @param {Object} opts Optional parameters
|
|
14860
|
+
* @param {Number} opts.pageSize The page size for the listing. The max that will be returned is 50. (default to 25)
|
|
14861
|
+
* @param {Number} opts.pageNumber The page number for the listing (default to 1)
|
|
14862
|
+
*/},{key:"getSpeechandtextanalyticsConversationCategories",value:function getSpeechandtextanalyticsConversationCategories(conversationId,opts){opts=opts||{};// verify the required parameter 'conversationId' is set
|
|
14863
|
+
if(conversationId===undefined||conversationId===null){throw'Missing the required parameter "conversationId" when calling getSpeechandtextanalyticsConversationCategories';}return this.apiClient.callApi('/api/v2/speechandtextanalytics/conversations/{conversationId}/categories','GET',{'conversationId':conversationId},{'pageSize':opts['pageSize'],'pageNumber':opts['pageNumber']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
14803
14864
|
* Get the pre-signed S3 URL for the transcript of a specific communication of a conversation
|
|
14804
14865
|
*
|
|
14805
14866
|
* @param {String} conversationId Conversation ID
|
|
@@ -14924,6 +14985,11 @@ if(jobId===undefined||jobId===null){throw'Missing the required parameter "jobId"
|
|
|
14924
14985
|
* @param {Object} body Speech And Text Analytics Settings
|
|
14925
14986
|
*/},{key:"patchSpeechandtextanalyticsSettings",value:function patchSpeechandtextanalyticsSettings(body){// verify the required parameter 'body' is set
|
|
14926
14987
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling patchSpeechandtextanalyticsSettings';}return this.apiClient.callApi('/api/v2/speechandtextanalytics/settings','PATCH',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
14988
|
+
* Create new Speech and Text Analytics category
|
|
14989
|
+
*
|
|
14990
|
+
* @param {Object} body The category to create
|
|
14991
|
+
*/},{key:"postSpeechandtextanalyticsCategories",value:function postSpeechandtextanalyticsCategories(body){// verify the required parameter 'body' is set
|
|
14992
|
+
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postSpeechandtextanalyticsCategories';}return this.apiClient.callApi('/api/v2/speechandtextanalytics/categories','POST',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
14927
14993
|
* Create a Speech and Text Analytics DictionaryFeedback
|
|
14928
14994
|
*
|
|
14929
14995
|
* @param {Object} body The DictionaryFeedback to create
|
|
@@ -14964,6 +15030,13 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
14964
15030
|
* @param {Object} body Search request options
|
|
14965
15031
|
*/},{key:"postSpeechandtextanalyticsTranscriptsSearch",value:function postSpeechandtextanalyticsTranscriptsSearch(body){// verify the required parameter 'body' is set
|
|
14966
15032
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postSpeechandtextanalyticsTranscriptsSearch';}return this.apiClient.callApi('/api/v2/speechandtextanalytics/transcripts/search','POST',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
15033
|
+
* Update a Speech and Text Analytics category by ID
|
|
15034
|
+
*
|
|
15035
|
+
* @param {String} categoryId The id of the category
|
|
15036
|
+
* @param {Object} body The updated category
|
|
15037
|
+
*/},{key:"putSpeechandtextanalyticsCategory",value:function putSpeechandtextanalyticsCategory(categoryId,body){// verify the required parameter 'categoryId' is set
|
|
15038
|
+
if(categoryId===undefined||categoryId===null){throw'Missing the required parameter "categoryId" when calling putSpeechandtextanalyticsCategory';}// verify the required parameter 'body' is set
|
|
15039
|
+
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putSpeechandtextanalyticsCategory';}return this.apiClient.callApi('/api/v2/speechandtextanalytics/categories/{categoryId}','PUT',{'categoryId':categoryId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
14967
15040
|
* Update existing Speech and Text Analytics dictionary feedback by id
|
|
14968
15041
|
*
|
|
14969
15042
|
* @param {String} dictionaryFeedbackId The Id of the Dictionary Feedback
|
|
@@ -15006,7 +15079,7 @@ if(topicId===undefined||topicId===null){throw'Missing the required parameter "to
|
|
|
15006
15079
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putSpeechandtextanalyticsTopic';}return this.apiClient.callApi('/api/v2/speechandtextanalytics/topics/{topicId}','PUT',{'topicId':topicId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var StationsApi=/*#__PURE__*/function(){/**
|
|
15007
15080
|
* Stations service.
|
|
15008
15081
|
* @module purecloud-platform-client-v2/api/StationsApi
|
|
15009
|
-
* @version
|
|
15082
|
+
* @version 195.0.0
|
|
15010
15083
|
*/ /**
|
|
15011
15084
|
* Constructs a new StationsApi.
|
|
15012
15085
|
* @alias module:purecloud-platform-client-v2/api/StationsApi
|
|
@@ -15038,7 +15111,7 @@ if(stationId===undefined||stationId===null){throw'Missing the required parameter
|
|
|
15038
15111
|
*/},{key:"getStations",value:function getStations(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/stations','GET',{},{'pageSize':opts['pageSize'],'pageNumber':opts['pageNumber'],'sortBy':opts['sortBy'],'name':opts['name'],'userSelectable':opts['userSelectable'],'webRtcUserId':opts['webRtcUserId'],'id':opts['id'],'lineAppearanceId':opts['lineAppearanceId']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var SuggestApi=/*#__PURE__*/function(){/**
|
|
15039
15112
|
* Suggest service.
|
|
15040
15113
|
* @module purecloud-platform-client-v2/api/SuggestApi
|
|
15041
|
-
* @version
|
|
15114
|
+
* @version 195.0.0
|
|
15042
15115
|
*/ /**
|
|
15043
15116
|
* Constructs a new SuggestApi.
|
|
15044
15117
|
* @alias module:purecloud-platform-client-v2/api/SuggestApi
|
|
@@ -15078,7 +15151,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
15078
15151
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postSearchSuggest';}return this.apiClient.callApi('/api/v2/search/suggest','POST',{},{'profile':opts['profile']},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var TaskManagementApi=/*#__PURE__*/function(){/**
|
|
15079
15152
|
* TaskManagement service.
|
|
15080
15153
|
* @module purecloud-platform-client-v2/api/TaskManagementApi
|
|
15081
|
-
* @version
|
|
15154
|
+
* @version 195.0.0
|
|
15082
15155
|
*/ /**
|
|
15083
15156
|
* Constructs a new TaskManagementApi.
|
|
15084
15157
|
* @alias module:purecloud-platform-client-v2/api/TaskManagementApi
|
|
@@ -15407,7 +15480,7 @@ if(schemaId===undefined||schemaId===null){throw'Missing the required parameter "
|
|
|
15407
15480
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putTaskmanagementWorkitemsSchema';}return this.apiClient.callApi('/api/v2/taskmanagement/workitems/schemas/{schemaId}','PUT',{'schemaId':schemaId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var TeamsApi=/*#__PURE__*/function(){/**
|
|
15408
15481
|
* Teams service.
|
|
15409
15482
|
* @module purecloud-platform-client-v2/api/TeamsApi
|
|
15410
|
-
* @version
|
|
15483
|
+
* @version 195.0.0
|
|
15411
15484
|
*/ /**
|
|
15412
15485
|
* Constructs a new TeamsApi.
|
|
15413
15486
|
* @alias module:purecloud-platform-client-v2/api/TeamsApi
|
|
@@ -15485,7 +15558,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
15485
15558
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postTeamsSearch';}return this.apiClient.callApi('/api/v2/teams/search','POST',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var TelephonyApi=/*#__PURE__*/function(){/**
|
|
15486
15559
|
* Telephony service.
|
|
15487
15560
|
* @module purecloud-platform-client-v2/api/TelephonyApi
|
|
15488
|
-
* @version
|
|
15561
|
+
* @version 195.0.0
|
|
15489
15562
|
*/ /**
|
|
15490
15563
|
* Constructs a new TelephonyApi.
|
|
15491
15564
|
* @alias module:purecloud-platform-client-v2/api/TelephonyApi
|
|
@@ -15532,7 +15605,7 @@ if(downloadId===undefined||downloadId===null){throw'Missing the required paramet
|
|
|
15532
15605
|
if(sIPSearchPublicRequest===undefined||sIPSearchPublicRequest===null){throw'Missing the required parameter "sIPSearchPublicRequest" when calling postTelephonySiptracesDownload';}return this.apiClient.callApi('/api/v2/telephony/siptraces/download','POST',{},{},{},{},sIPSearchPublicRequest,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var TelephonyProvidersEdgeApi=/*#__PURE__*/function(){/**
|
|
15533
15606
|
* TelephonyProvidersEdge service.
|
|
15534
15607
|
* @module purecloud-platform-client-v2/api/TelephonyProvidersEdgeApi
|
|
15535
|
-
* @version
|
|
15608
|
+
* @version 195.0.0
|
|
15536
15609
|
*/ /**
|
|
15537
15610
|
* Constructs a new TelephonyProvidersEdgeApi.
|
|
15538
15611
|
* @alias module:purecloud-platform-client-v2/api/TelephonyProvidersEdgeApi
|
|
@@ -16342,7 +16415,7 @@ if(trunkBaseSettingsId===undefined||trunkBaseSettingsId===null){throw'Missing th
|
|
|
16342
16415
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putTelephonyProvidersEdgesTrunkbasesetting';}return this.apiClient.callApi('/api/v2/telephony/providers/edges/trunkbasesettings/{trunkBaseSettingsId}','PUT',{'trunkBaseSettingsId':trunkBaseSettingsId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var TextbotsApi=/*#__PURE__*/function(){/**
|
|
16343
16416
|
* Textbots service.
|
|
16344
16417
|
* @module purecloud-platform-client-v2/api/TextbotsApi
|
|
16345
|
-
* @version
|
|
16418
|
+
* @version 195.0.0
|
|
16346
16419
|
*/ /**
|
|
16347
16420
|
* Constructs a new TextbotsApi.
|
|
16348
16421
|
* @alias module:purecloud-platform-client-v2/api/TextbotsApi
|
|
@@ -16377,7 +16450,7 @@ if(launchRequest===undefined||launchRequest===null){throw'Missing the required p
|
|
|
16377
16450
|
if(postTextRequest===undefined||postTextRequest===null){throw'Missing the required parameter "postTextRequest" when calling postTextbotsBotsExecute';}return this.apiClient.callApi('/api/v2/textbots/bots/execute','POST',{},{},{},{},postTextRequest,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var TokensApi=/*#__PURE__*/function(){/**
|
|
16378
16451
|
* Tokens service.
|
|
16379
16452
|
* @module purecloud-platform-client-v2/api/TokensApi
|
|
16380
|
-
* @version
|
|
16453
|
+
* @version 195.0.0
|
|
16381
16454
|
*/ /**
|
|
16382
16455
|
* Constructs a new TokensApi.
|
|
16383
16456
|
* @alias module:purecloud-platform-client-v2/api/TokensApi
|
|
@@ -16411,7 +16484,7 @@ if(userId===undefined||userId===null){throw'Missing the required parameter "user
|
|
|
16411
16484
|
*/},{key:"putTokensTimeout",value:function putTokensTimeout(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/tokens/timeout','PUT',{},{},{},{},opts['body'],['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var UploadsApi=/*#__PURE__*/function(){/**
|
|
16412
16485
|
* Uploads service.
|
|
16413
16486
|
* @module purecloud-platform-client-v2/api/UploadsApi
|
|
16414
|
-
* @version
|
|
16487
|
+
* @version 195.0.0
|
|
16415
16488
|
*/ /**
|
|
16416
16489
|
* Constructs a new UploadsApi.
|
|
16417
16490
|
* @alias module:purecloud-platform-client-v2/api/UploadsApi
|
|
@@ -16477,7 +16550,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
16477
16550
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postUploadsWorkforcemanagementHistoricaldataCsv';}return this.apiClient.callApi('/api/v2/uploads/workforcemanagement/historicaldata/csv','POST',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var UsageApi=/*#__PURE__*/function(){/**
|
|
16478
16551
|
* Usage service.
|
|
16479
16552
|
* @module purecloud-platform-client-v2/api/UsageApi
|
|
16480
|
-
* @version
|
|
16553
|
+
* @version 195.0.0
|
|
16481
16554
|
*/ /**
|
|
16482
16555
|
* Constructs a new UsageApi.
|
|
16483
16556
|
* @alias module:purecloud-platform-client-v2/api/UsageApi
|
|
@@ -16531,7 +16604,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
16531
16604
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postUsageSimplesearch';}return this.apiClient.callApi('/api/v2/usage/simplesearch','POST',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var UserRecordingsApi=/*#__PURE__*/function(){/**
|
|
16532
16605
|
* UserRecordings service.
|
|
16533
16606
|
* @module purecloud-platform-client-v2/api/UserRecordingsApi
|
|
16534
|
-
* @version
|
|
16607
|
+
* @version 195.0.0
|
|
16535
16608
|
*/ /**
|
|
16536
16609
|
* Constructs a new UserRecordingsApi.
|
|
16537
16610
|
* @alias module:purecloud-platform-client-v2/api/UserRecordingsApi
|
|
@@ -16580,7 +16653,7 @@ if(recordingId===undefined||recordingId===null){throw'Missing the required param
|
|
|
16580
16653
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putUserrecording';}return this.apiClient.callApi('/api/v2/userrecordings/{recordingId}','PUT',{'recordingId':recordingId},{'expand':this.apiClient.buildCollectionParam(opts['expand'],'multi')},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var UsersApi=/*#__PURE__*/function(){/**
|
|
16581
16654
|
* Users service.
|
|
16582
16655
|
* @module purecloud-platform-client-v2/api/UsersApi
|
|
16583
|
-
* @version
|
|
16656
|
+
* @version 195.0.0
|
|
16584
16657
|
*/ /**
|
|
16585
16658
|
* Constructs a new UsersApi.
|
|
16586
16659
|
* @alias module:purecloud-platform-client-v2/api/UsersApi
|
|
@@ -17242,7 +17315,7 @@ if(verifierId===undefined||verifierId===null){throw'Missing the required paramet
|
|
|
17242
17315
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putUserVerifier';}return this.apiClient.callApi('/api/v2/users/{userId}/verifiers/{verifierId}','PUT',{'userId':userId,'verifierId':verifierId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var UtilitiesApi=/*#__PURE__*/function(){/**
|
|
17243
17316
|
* Utilities service.
|
|
17244
17317
|
* @module purecloud-platform-client-v2/api/UtilitiesApi
|
|
17245
|
-
* @version
|
|
17318
|
+
* @version 195.0.0
|
|
17246
17319
|
*/ /**
|
|
17247
17320
|
* Constructs a new UtilitiesApi.
|
|
17248
17321
|
* @alias module:purecloud-platform-client-v2/api/UtilitiesApi
|
|
@@ -17269,7 +17342,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
17269
17342
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postCertificateDetails';}return this.apiClient.callApi('/api/v2/certificate/details','POST',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var VoicemailApi=/*#__PURE__*/function(){/**
|
|
17270
17343
|
* Voicemail service.
|
|
17271
17344
|
* @module purecloud-platform-client-v2/api/VoicemailApi
|
|
17272
|
-
* @version
|
|
17345
|
+
* @version 195.0.0
|
|
17273
17346
|
*/ /**
|
|
17274
17347
|
* Constructs a new VoicemailApi.
|
|
17275
17348
|
* @alias module:purecloud-platform-client-v2/api/VoicemailApi
|
|
@@ -17418,7 +17491,7 @@ if(userId===undefined||userId===null){throw'Missing the required parameter "user
|
|
|
17418
17491
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putVoicemailUserpolicy';}return this.apiClient.callApi('/api/v2/voicemail/userpolicies/{userId}','PUT',{'userId':userId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var WebChatApi=/*#__PURE__*/function(){/**
|
|
17419
17492
|
* WebChat service.
|
|
17420
17493
|
* @module purecloud-platform-client-v2/api/WebChatApi
|
|
17421
|
-
* @version
|
|
17494
|
+
* @version 195.0.0
|
|
17422
17495
|
*/ /**
|
|
17423
17496
|
* Constructs a new WebChatApi.
|
|
17424
17497
|
* @alias module:purecloud-platform-client-v2/api/WebChatApi
|
|
@@ -17553,7 +17626,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
17553
17626
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putWebchatSettings';}return this.apiClient.callApi('/api/v2/webchat/settings','PUT',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var WebDeploymentsApi=/*#__PURE__*/function(){/**
|
|
17554
17627
|
* WebDeployments service.
|
|
17555
17628
|
* @module purecloud-platform-client-v2/api/WebDeploymentsApi
|
|
17556
|
-
* @version
|
|
17629
|
+
* @version 195.0.0
|
|
17557
17630
|
*/ /**
|
|
17558
17631
|
* Constructs a new WebDeploymentsApi.
|
|
17559
17632
|
* @alias module:purecloud-platform-client-v2/api/WebDeploymentsApi
|
|
@@ -17674,7 +17747,7 @@ if(deploymentId===undefined||deploymentId===null){throw'Missing the required par
|
|
|
17674
17747
|
if(deployment===undefined||deployment===null){throw'Missing the required parameter "deployment" when calling putWebdeploymentsDeployment';}return this.apiClient.callApi('/api/v2/webdeployments/deployments/{deploymentId}','PUT',{'deploymentId':deploymentId},{},{},{},deployment,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var WebMessagingApi=/*#__PURE__*/function(){/**
|
|
17675
17748
|
* WebMessaging service.
|
|
17676
17749
|
* @module purecloud-platform-client-v2/api/WebMessagingApi
|
|
17677
|
-
* @version
|
|
17750
|
+
* @version 195.0.0
|
|
17678
17751
|
*/ /**
|
|
17679
17752
|
* Constructs a new WebMessagingApi.
|
|
17680
17753
|
* @alias module:purecloud-platform-client-v2/api/WebMessagingApi
|
|
@@ -17690,7 +17763,7 @@ if(deployment===undefined||deployment===null){throw'Missing the required paramet
|
|
|
17690
17763
|
*/return _createClass(WebMessagingApi,[{key:"getWebmessagingMessages",value:function getWebmessagingMessages(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/webmessaging/messages','GET',{},{'pageSize':opts['pageSize'],'pageNumber':opts['pageNumber']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var WidgetsApi=/*#__PURE__*/function(){/**
|
|
17691
17764
|
* Widgets service.
|
|
17692
17765
|
* @module purecloud-platform-client-v2/api/WidgetsApi
|
|
17693
|
-
* @version
|
|
17766
|
+
* @version 195.0.0
|
|
17694
17767
|
*/ /**
|
|
17695
17768
|
* Constructs a new WidgetsApi.
|
|
17696
17769
|
* @alias module:purecloud-platform-client-v2/api/WidgetsApi
|
|
@@ -17725,7 +17798,7 @@ if(deploymentId===undefined||deploymentId===null){throw'Missing the required par
|
|
|
17725
17798
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putWidgetsDeployment';}return this.apiClient.callApi('/api/v2/widgets/deployments/{deploymentId}','PUT',{'deploymentId':deploymentId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var WorkforceManagementApi=/*#__PURE__*/function(){/**
|
|
17726
17799
|
* WorkforceManagement service.
|
|
17727
17800
|
* @module purecloud-platform-client-v2/api/WorkforceManagementApi
|
|
17728
|
-
* @version
|
|
17801
|
+
* @version 195.0.0
|
|
17729
17802
|
*/ /**
|
|
17730
17803
|
* Constructs a new WorkforceManagementApi.
|
|
17731
17804
|
* @alias module:purecloud-platform-client-v2/api/WorkforceManagementApi
|
|
@@ -19205,7 +19278,7 @@ if(timeOffLimitId===undefined||timeOffLimitId===null){throw'Missing the required
|
|
|
19205
19278
|
* </pre>
|
|
19206
19279
|
* </p>
|
|
19207
19280
|
* @module purecloud-platform-client-v2/index
|
|
19208
|
-
* @version
|
|
19281
|
+
* @version 195.0.0
|
|
19209
19282
|
*/var platformClient=/*#__PURE__*/_createClass(function platformClient(){_classCallCheck(this,platformClient);/**
|
|
19210
19283
|
* The ApiClient constructor.
|
|
19211
19284
|
* @property {module:purecloud-platform-client-v2/ApiClient}
|