purecloud-platform-client-v2 193.0.0 → 194.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 +235 -366
- package/dist/web-amd/purecloud-platform-client-v2.js +235 -366
- package/dist/web-amd/purecloud-platform-client-v2.min.js +1 -1
- package/dist/web-cjs/bundle.js +124 -160
- package/dist/web-cjs/purecloud-platform-client-v2.js +124 -160
- package/dist/web-cjs/purecloud-platform-client-v2.min.js +1 -1
- package/index.d.ts +136 -154
- package/package.json +1 -1
- package/src/purecloud-platform-client-v2/ApiClient.js +1 -1
- package/src/purecloud-platform-client-v2/api/AlertingApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/AnalyticsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/ArchitectApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/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 +1 -285
- 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 +1 -1
- package/src/purecloud-platform-client-v2/api/LanguageUnderstandingApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/LanguagesApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/LearningApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/LicenseApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/LocationsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/LogCaptureApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/MessagingApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/MobileDevicesApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/NotificationsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/OAuthApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/ObjectsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/OperationalEventsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/OrganizationApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/OrganizationAuthorizationApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/OutboundApi.js +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 -1
- 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 +1 -1
- package/src/purecloud-platform-client-v2/api/StationsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/SuggestApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/TaskManagementApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/TeamsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/TelephonyApi.js +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
|
@@ -5197,7 +5197,7 @@ module.exports = function getSideChannel() {
|
|
|
5197
5197
|
|
|
5198
5198
|
},{"call-bind/callBound":8,"es-errors/type":17,"get-intrinsic":21,"object-inspect":28}],"platformClient":[function(require,module,exports){
|
|
5199
5199
|
(function (global,Buffer){(function (){
|
|
5200
|
-
'use strict';function asyncGeneratorStep(gen,resolve,reject,_next,_throw,key,arg){try{var info=gen[key](arg);var value=info.value;}catch(error){reject(error);return;}if(info.done){resolve(value);}else{Promise.resolve(value).then(_next,_throw);}}function _asyncToGenerator(fn){return function(){var self=this,args=arguments;return new Promise(function(resolve,reject){var gen=fn.apply(self,args);function _next(value){asyncGeneratorStep(gen,resolve,reject,_next,_throw,"next",value);}function _throw(err){asyncGeneratorStep(gen,resolve,reject,_next,_throw,"throw",err);}_next(undefined);});};}function _regeneratorRuntime(){"use strict";/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */_regeneratorRuntime=function _regeneratorRuntime(){return e;};var t,e={},r=Object.prototype,n=r.hasOwnProperty,o=Object.defineProperty||function(t,e,r){t[e]=r.value;},i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",c=i.asyncIterator||"@@asyncIterator",u=i.toStringTag||"@@toStringTag";function define(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e];}try{define({},"");}catch(t){define=function define(t,e,r){return t[e]=r;};}function wrap(t,e,r,n){var i=e&&e.prototype instanceof Generator?e:Generator,a=Object.create(i.prototype),c=new Context(n||[]);return o(a,"_invoke",{value:makeInvokeMethod(t,r,c)}),a;}function tryCatch(t,e,r){try{return{type:"normal",arg:t.call(e,r)};}catch(t){return{type:"throw",arg:t};}}e.wrap=wrap;var h="suspendedStart",l="suspendedYield",f="executing",s="completed",y={};function Generator(){}function GeneratorFunction(){}function GeneratorFunctionPrototype(){}var p={};define(p,a,function(){return this;});var d=Object.getPrototypeOf,v=d&&d(d(values([])));v&&v!==r&&n.call(v,a)&&(p=v);var g=GeneratorFunctionPrototype.prototype=Generator.prototype=Object.create(p);function defineIteratorMethods(t){["next","throw","return"].forEach(function(e){define(t,e,function(t){return this._invoke(e,t);});});}function AsyncIterator(t,e){function invoke(r,o,i,a){var c=tryCatch(t[r],t,o);if("throw"!==c.type){var u=c.arg,h=u.value;return h&&"object"==_typeof(h)&&n.call(h,"__await")?e.resolve(h.__await).then(function(t){invoke("next",t,i,a);},function(t){invoke("throw",t,i,a);}):e.resolve(h).then(function(t){u.value=t,i(u);},function(t){return invoke("throw",t,i,a);});}a(c.arg);}var r;o(this,"_invoke",{value:function value(t,n){function callInvokeWithMethodAndArg(){return new e(function(e,r){invoke(t,n,e,r);});}return r=r?r.then(callInvokeWithMethodAndArg,callInvokeWithMethodAndArg):callInvokeWithMethodAndArg();}});}function makeInvokeMethod(e,r,n){var o=h;return function(i,a){if(o===f)throw Error("Generator is already running");if(o===s){if("throw"===i)throw a;return{value:t,done:!0};}for(n.method=i,n.arg=a;;){var c=n.delegate;if(c){var u=maybeInvokeDelegate(c,n);if(u){if(u===y)continue;return u;}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===h)throw o=s,n.arg;n.dispatchException(n.arg);}else"return"===n.method&&n.abrupt("return",n.arg);o=f;var p=tryCatch(e,r,n);if("normal"===p.type){if(o=n.done?s:l,p.arg===y)continue;return{value:p.arg,done:n.done};}"throw"===p.type&&(o=s,n.method="throw",n.arg=p.arg);}};}function maybeInvokeDelegate(e,r){var n=r.method,o=e.iterator[n];if(o===t)return r.delegate=null,"throw"===n&&e.iterator["return"]&&(r.method="return",r.arg=t,maybeInvokeDelegate(e,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),y;var i=tryCatch(o,e.iterator,r.arg);if("throw"===i.type)return r.method="throw",r.arg=i.arg,r.delegate=null,y;var a=i.arg;return a?a.done?(r[e.resultName]=a.value,r.next=e.nextLoc,"return"!==r.method&&(r.method="next",r.arg=t),r.delegate=null,y):a:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,y);}function pushTryEntry(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e);}function resetTryEntry(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e;}function Context(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(pushTryEntry,this),this.reset(!0);}function values(e){if(e||""===e){var r=e[a];if(r)return r.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,i=function next(){for(;++o<e.length;)if(n.call(e,o))return next.value=e[o],next.done=!1,next;return next.value=t,next.done=!0,next;};return i.next=i;}}throw new TypeError(_typeof(e)+" is not iterable");}return GeneratorFunction.prototype=GeneratorFunctionPrototype,o(g,"constructor",{value:GeneratorFunctionPrototype,configurable:!0}),o(GeneratorFunctionPrototype,"constructor",{value:GeneratorFunction,configurable:!0}),GeneratorFunction.displayName=define(GeneratorFunctionPrototype,u,"GeneratorFunction"),e.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===GeneratorFunction||"GeneratorFunction"===(e.displayName||e.name));},e.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,GeneratorFunctionPrototype):(t.__proto__=GeneratorFunctionPrototype,define(t,u,"GeneratorFunction")),t.prototype=Object.create(g),t;},e.awrap=function(t){return{__await:t};},defineIteratorMethods(AsyncIterator.prototype),define(AsyncIterator.prototype,c,function(){return this;}),e.AsyncIterator=AsyncIterator,e.async=function(t,r,n,o,i){void 0===i&&(i=Promise);var a=new AsyncIterator(wrap(t,r,n,o),i);return e.isGeneratorFunction(r)?a:a.next().then(function(t){return t.done?t.value:a.next();});},defineIteratorMethods(g),define(g,u,"Generator"),define(g,a,function(){return this;}),define(g,"toString",function(){return"[object Generator]";}),e.keys=function(t){var e=Object(t),r=[];for(var n in e)r.push(n);return r.reverse(),function next(){for(;r.length;){var t=r.pop();if(t in e)return next.value=t,next.done=!1,next;}return next.done=!0,next;};},e.values=values,Context.prototype={constructor:Context,reset:function reset(e){if(this.prev=0,this.next=0,this.sent=this._sent=t,this.done=!1,this.delegate=null,this.method="next",this.arg=t,this.tryEntries.forEach(resetTryEntry),!e)for(var r in this)"t"===r.charAt(0)&&n.call(this,r)&&!isNaN(+r.slice(1))&&(this[r]=t);},stop:function stop(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval;},dispatchException:function dispatchException(e){if(this.done)throw e;var r=this;function handle(n,o){return a.type="throw",a.arg=e,r.next=n,o&&(r.method="next",r.arg=t),!!o;}for(var o=this.tryEntries.length-1;o>=0;--o){var i=this.tryEntries[o],a=i.completion;if("root"===i.tryLoc)return handle("end");if(i.tryLoc<=this.prev){var c=n.call(i,"catchLoc"),u=n.call(i,"finallyLoc");if(c&&u){if(this.prev<i.catchLoc)return handle(i.catchLoc,!0);if(this.prev<i.finallyLoc)return handle(i.finallyLoc);}else if(c){if(this.prev<i.catchLoc)return handle(i.catchLoc,!0);}else{if(!u)throw Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return handle(i.finallyLoc);}}}},abrupt:function abrupt(t,e){for(var r=this.tryEntries.length-1;r>=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var i=o;break;}}i&&("break"===t||"continue"===t)&&i.tryLoc<=e&&e<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=t,a.arg=e,i?(this.method="next",this.next=i.finallyLoc,y):this.complete(a);},complete:function complete(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),y;},finish:function finish(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),resetTryEntry(r),y;}},"catch":function _catch(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;resetTryEntry(r);}return o;}}throw Error("illegal catch attempt");},delegateYield:function delegateYield(e,r,n){return this.delegate={iterator:values(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),y;}},e;}function _toConsumableArray(arr){return _arrayWithoutHoles(arr)||_iterableToArray(arr)||_unsupportedIterableToArray(arr)||_nonIterableSpread();}function _nonIterableSpread(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");}function _arrayWithoutHoles(arr){if(Array.isArray(arr))return _arrayLikeToArray(arr);}function _toArray(arr){return _arrayWithHoles(arr)||_iterableToArray(arr)||_unsupportedIterableToArray(arr)||_nonIterableRest();}function _iterableToArray(iter){if(typeof Symbol!=="undefined"&&iter[Symbol.iterator]!=null||iter["@@iterator"]!=null)return Array.from(iter);}function _createForOfIteratorHelper(o,allowArrayLike){var it=typeof Symbol!=="undefined"&&o[Symbol.iterator]||o["@@iterator"];if(!it){if(Array.isArray(o)||(it=_unsupportedIterableToArray(o))||allowArrayLike&&o&&typeof o.length==="number"){if(it)o=it;var i=0;var F=function F(){};return{s:F,n:function n(){if(i>=o.length)return{done:true};return{done:false,value:o[i++]};},e:function e(_e){throw _e;},f:F};}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");}var normalCompletion=true,didErr=false,err;return{s:function s(){it=it.call(o);},n:function n(){var step=it.next();normalCompletion=step.done;return step;},e:function e(_e2){didErr=true;err=_e2;},f:function f(){try{if(!normalCompletion&&it["return"]!=null)it["return"]();}finally{if(didErr)throw err;}}};}function ownKeys(e,r){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);r&&(o=o.filter(function(r){return Object.getOwnPropertyDescriptor(e,r).enumerable;})),t.push.apply(t,o);}return t;}function _objectSpread(e){for(var r=1;r<arguments.length;r++){var t=null!=arguments[r]?arguments[r]:{};r%2?ownKeys(Object(t),!0).forEach(function(r){_defineProperty(e,r,t[r]);}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):ownKeys(Object(t)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r));});}return e;}function _defineProperty(obj,key,value){key=_toPropertyKey(key);if(key in obj){Object.defineProperty(obj,key,{value:value,enumerable:true,configurable:true,writable:true});}else{obj[key]=value;}return obj;}function _classCallCheck(instance,Constructor){if(!(instance instanceof Constructor)){throw new TypeError("Cannot call a class as a function");}}function _defineProperties(target,props){for(var i=0;i<props.length;i++){var descriptor=props[i];descriptor.enumerable=descriptor.enumerable||false;descriptor.configurable=true;if("value"in descriptor)descriptor.writable=true;Object.defineProperty(target,_toPropertyKey(descriptor.key),descriptor);}}function _createClass(Constructor,protoProps,staticProps){if(protoProps)_defineProperties(Constructor.prototype,protoProps);if(staticProps)_defineProperties(Constructor,staticProps);Object.defineProperty(Constructor,"prototype",{writable:false});return Constructor;}function _toPropertyKey(t){var i=_toPrimitive(t,"string");return"symbol"==_typeof(i)?i:i+"";}function _toPrimitive(t,r){if("object"!=_typeof(t)||!t)return t;var e=t[Symbol.toPrimitive];if(void 0!==e){var i=e.call(t,r||"default");if("object"!=_typeof(i))return i;throw new TypeError("@@toPrimitive must return a primitive value.");}return("string"===r?String:Number)(t);}function _slicedToArray(arr,i){return _arrayWithHoles(arr)||_iterableToArrayLimit(arr,i)||_unsupportedIterableToArray(arr,i)||_nonIterableRest();}function _nonIterableRest(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");}function _unsupportedIterableToArray(o,minLen){if(!o)return;if(typeof o==="string")return _arrayLikeToArray(o,minLen);var n=Object.prototype.toString.call(o).slice(8,-1);if(n==="Object"&&o.constructor)n=o.constructor.name;if(n==="Map"||n==="Set")return Array.from(o);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return _arrayLikeToArray(o,minLen);}function _arrayLikeToArray(arr,len){if(len==null||len>arr.length)len=arr.length;for(var i=0,arr2=new Array(len);i<len;i++)arr2[i]=arr[i];return arr2;}function _iterableToArrayLimit(r,l){var t=null==r?null:"undefined"!=typeof Symbol&&r[Symbol.iterator]||r["@@iterator"];if(null!=t){var e,n,i,u,a=[],f=!0,o=!1;try{if(i=(t=t.call(r)).next,0===l){if(Object(t)!==t)return;f=!1;}else for(;!(f=(e=i.call(t)).done)&&(a.push(e.value),a.length!==l);f=!0);}catch(r){o=!0,n=r;}finally{try{if(!f&&null!=t["return"]&&(u=t["return"](),Object(u)!==u))return;}finally{if(o)throw n;}}return a;}}function _arrayWithHoles(arr){if(Array.isArray(arr))return arr;}function _typeof(o){"@babel/helpers - typeof";return _typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(o){return typeof o;}:function(o){return o&&"function"==typeof Symbol&&o.constructor===Symbol&&o!==Symbol.prototype?"symbol":typeof o;},_typeof(o);}function _wrapAsyncGenerator(fn){return function(){return new _AsyncGenerator(fn.apply(this,arguments));};}function _AsyncGenerator(e){var r,t;function resume(r,t){try{var n=e[r](t),o=n.value,u=o instanceof _OverloadYield;Promise.resolve(u?o.v:o).then(function(t){if(u){var i="return"===r?"return":"next";if(!o.k||t.done)return resume(i,t);t=e[i](t).value;}settle(n.done?"return":"normal",t);},function(e){resume("throw",e);});}catch(e){settle("throw",e);}}function settle(e,n){switch(e){case"return":r.resolve({value:n,done:!0});break;case"throw":r.reject(n);break;default:r.resolve({value:n,done:!1});}(r=r.next)?resume(r.key,r.arg):t=null;}this._invoke=function(e,n){return new Promise(function(o,u){var i={key:e,arg:n,resolve:o,reject:u,next:null};t?t=t.next=i:(r=t=i,resume(e,n));});},"function"!=typeof e["return"]&&(this["return"]=void 0);}_AsyncGenerator.prototype["function"==typeof Symbol&&Symbol.asyncIterator||"@@asyncIterator"]=function(){return this;},_AsyncGenerator.prototype.next=function(e){return this._invoke("next",e);},_AsyncGenerator.prototype["throw"]=function(e){return this._invoke("throw",e);},_AsyncGenerator.prototype["return"]=function(e){return this._invoke("return",e);};function _awaitAsyncGenerator(e){return new _OverloadYield(e,0);}function _asyncGeneratorDelegate(t){var e={},n=!1;function pump(e,r){return n=!0,r=new Promise(function(n){n(t[e](r));}),{done:!1,value:new _OverloadYield(r,1)};}return e["undefined"!=typeof Symbol&&Symbol.iterator||"@@iterator"]=function(){return this;},e.next=function(t){return n?(n=!1,t):pump("next",t);},"function"==typeof t["throw"]&&(e["throw"]=function(t){if(n)throw n=!1,t;return pump("throw",t);}),"function"==typeof t["return"]&&(e["return"]=function(t){return n?(n=!1,t):pump("return",t);}),e;}function _OverloadYield(t,e){this.v=t,this.k=e;}function _asyncIterator(r){var n,t,o,e=2;for("undefined"!=typeof Symbol&&(t=Symbol.asyncIterator,o=Symbol.iterator);e--;){if(t&&null!=(n=r[t]))return n.call(r);if(o&&null!=(n=r[o]))return new AsyncFromSyncIterator(n.call(r));t="@@asyncIterator",o="@@iterator";}throw new TypeError("Object is not async iterable");}function AsyncFromSyncIterator(r){function AsyncFromSyncIteratorContinuation(r){if(Object(r)!==r)return Promise.reject(new TypeError(r+" is not an object."));var n=r.done;return Promise.resolve(r.value).then(function(r){return{value:r,done:n};});}return AsyncFromSyncIterator=function AsyncFromSyncIterator(r){this.s=r,this.n=r.next;},AsyncFromSyncIterator.prototype={s:null,n:null,next:function next(){return AsyncFromSyncIteratorContinuation(this.n.apply(this.s,arguments));},"return":function _return(r){var n=this.s["return"];return void 0===n?Promise.resolve({value:r,done:!0}):AsyncFromSyncIteratorContinuation(n.apply(this.s,arguments));},"throw":function _throw(r){var n=this.s["return"];return void 0===n?Promise.reject(r):AsyncFromSyncIteratorContinuation(n.apply(this.s,arguments));}},new AsyncFromSyncIterator(r);}var qs=require('qs');function _interopDefaultLegacy(e){return e&&_typeof(e)==='object'&&'default'in e?e:{'default':e};}var qs__default=/*#__PURE__*/_interopDefaultLegacy(qs);var PureCloudRegionHosts={us_east_1:'mypurecloud.com',eu_west_1:'mypurecloud.ie',ap_southeast_2:'mypurecloud.com.au',ap_northeast_1:'mypurecloud.jp',eu_central_1:'mypurecloud.de',us_west_2:'usw2.pure.cloud',ca_central_1:'cac1.pure.cloud',ap_northeast_2:'apne2.pure.cloud',eu_west_2:'euw2.pure.cloud',ap_south_1:'aps1.pure.cloud',us_east_2:'use2.us-gov-pure.cloud',sa_east_1:'sae1.pure.cloud',me_central_1:'mec1.pure.cloud',ap_northeast_3:'apne3.pure.cloud',eu_central_2:'euc2.pure.cloud'};var global$1=typeof global!=="undefined"?global:typeof self!=="undefined"?self:typeof window!=="undefined"?window:{};var lookup=[];var revLookup=[];var Arr=typeof Uint8Array!=='undefined'?Uint8Array:Array;var inited=false;function init(){inited=true;var code='ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/';for(var i=0,len=code.length;i<len;++i){lookup[i]=code[i];revLookup[code.charCodeAt(i)]=i;}revLookup['-'.charCodeAt(0)]=62;revLookup['_'.charCodeAt(0)]=63;}function toByteArray(b64){if(!inited){init();}var i,j,l,tmp,placeHolders,arr;var len=b64.length;if(len%4>0){throw new Error('Invalid string. Length must be a multiple of 4');}// the number of equal signs (place holders)
|
|
5200
|
+
'use strict';function asyncGeneratorStep(n,t,e,r,o,a,c){try{var i=n[a](c),u=i.value;}catch(n){return void e(n);}i.done?t(u):Promise.resolve(u).then(r,o);}function _asyncToGenerator(n){return function(){var t=this,e=arguments;return new Promise(function(r,o){var a=n.apply(t,e);function _next(n){asyncGeneratorStep(a,r,o,_next,_throw,"next",n);}function _throw(n){asyncGeneratorStep(a,r,o,_next,_throw,"throw",n);}_next(void 0);});};}function _regeneratorRuntime(){"use strict";/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */_regeneratorRuntime=function _regeneratorRuntime(){return e;};var t,e={},r=Object.prototype,n=r.hasOwnProperty,o=Object.defineProperty||function(t,e,r){t[e]=r.value;},i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",c=i.asyncIterator||"@@asyncIterator",u=i.toStringTag||"@@toStringTag";function define(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e];}try{define({},"");}catch(t){define=function define(t,e,r){return t[e]=r;};}function wrap(t,e,r,n){var i=e&&e.prototype instanceof Generator?e:Generator,a=Object.create(i.prototype),c=new Context(n||[]);return o(a,"_invoke",{value:makeInvokeMethod(t,r,c)}),a;}function tryCatch(t,e,r){try{return{type:"normal",arg:t.call(e,r)};}catch(t){return{type:"throw",arg:t};}}e.wrap=wrap;var h="suspendedStart",l="suspendedYield",f="executing",s="completed",y={};function Generator(){}function GeneratorFunction(){}function GeneratorFunctionPrototype(){}var p={};define(p,a,function(){return this;});var d=Object.getPrototypeOf,v=d&&d(d(values([])));v&&v!==r&&n.call(v,a)&&(p=v);var g=GeneratorFunctionPrototype.prototype=Generator.prototype=Object.create(p);function defineIteratorMethods(t){["next","throw","return"].forEach(function(e){define(t,e,function(t){return this._invoke(e,t);});});}function AsyncIterator(t,e){function invoke(r,o,i,a){var c=tryCatch(t[r],t,o);if("throw"!==c.type){var u=c.arg,h=u.value;return h&&"object"==_typeof(h)&&n.call(h,"__await")?e.resolve(h.__await).then(function(t){invoke("next",t,i,a);},function(t){invoke("throw",t,i,a);}):e.resolve(h).then(function(t){u.value=t,i(u);},function(t){return invoke("throw",t,i,a);});}a(c.arg);}var r;o(this,"_invoke",{value:function value(t,n){function callInvokeWithMethodAndArg(){return new e(function(e,r){invoke(t,n,e,r);});}return r=r?r.then(callInvokeWithMethodAndArg,callInvokeWithMethodAndArg):callInvokeWithMethodAndArg();}});}function makeInvokeMethod(e,r,n){var o=h;return function(i,a){if(o===f)throw Error("Generator is already running");if(o===s){if("throw"===i)throw a;return{value:t,done:!0};}for(n.method=i,n.arg=a;;){var c=n.delegate;if(c){var u=maybeInvokeDelegate(c,n);if(u){if(u===y)continue;return u;}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===h)throw o=s,n.arg;n.dispatchException(n.arg);}else"return"===n.method&&n.abrupt("return",n.arg);o=f;var p=tryCatch(e,r,n);if("normal"===p.type){if(o=n.done?s:l,p.arg===y)continue;return{value:p.arg,done:n.done};}"throw"===p.type&&(o=s,n.method="throw",n.arg=p.arg);}};}function maybeInvokeDelegate(e,r){var n=r.method,o=e.iterator[n];if(o===t)return r.delegate=null,"throw"===n&&e.iterator["return"]&&(r.method="return",r.arg=t,maybeInvokeDelegate(e,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),y;var i=tryCatch(o,e.iterator,r.arg);if("throw"===i.type)return r.method="throw",r.arg=i.arg,r.delegate=null,y;var a=i.arg;return a?a.done?(r[e.resultName]=a.value,r.next=e.nextLoc,"return"!==r.method&&(r.method="next",r.arg=t),r.delegate=null,y):a:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,y);}function pushTryEntry(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e);}function resetTryEntry(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e;}function Context(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(pushTryEntry,this),this.reset(!0);}function values(e){if(e||""===e){var r=e[a];if(r)return r.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,i=function next(){for(;++o<e.length;)if(n.call(e,o))return next.value=e[o],next.done=!1,next;return next.value=t,next.done=!0,next;};return i.next=i;}}throw new TypeError(_typeof(e)+" is not iterable");}return GeneratorFunction.prototype=GeneratorFunctionPrototype,o(g,"constructor",{value:GeneratorFunctionPrototype,configurable:!0}),o(GeneratorFunctionPrototype,"constructor",{value:GeneratorFunction,configurable:!0}),GeneratorFunction.displayName=define(GeneratorFunctionPrototype,u,"GeneratorFunction"),e.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===GeneratorFunction||"GeneratorFunction"===(e.displayName||e.name));},e.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,GeneratorFunctionPrototype):(t.__proto__=GeneratorFunctionPrototype,define(t,u,"GeneratorFunction")),t.prototype=Object.create(g),t;},e.awrap=function(t){return{__await:t};},defineIteratorMethods(AsyncIterator.prototype),define(AsyncIterator.prototype,c,function(){return this;}),e.AsyncIterator=AsyncIterator,e.async=function(t,r,n,o,i){void 0===i&&(i=Promise);var a=new AsyncIterator(wrap(t,r,n,o),i);return e.isGeneratorFunction(r)?a:a.next().then(function(t){return t.done?t.value:a.next();});},defineIteratorMethods(g),define(g,u,"Generator"),define(g,a,function(){return this;}),define(g,"toString",function(){return"[object Generator]";}),e.keys=function(t){var e=Object(t),r=[];for(var n in e)r.push(n);return r.reverse(),function next(){for(;r.length;){var t=r.pop();if(t in e)return next.value=t,next.done=!1,next;}return next.done=!0,next;};},e.values=values,Context.prototype={constructor:Context,reset:function reset(e){if(this.prev=0,this.next=0,this.sent=this._sent=t,this.done=!1,this.delegate=null,this.method="next",this.arg=t,this.tryEntries.forEach(resetTryEntry),!e)for(var r in this)"t"===r.charAt(0)&&n.call(this,r)&&!isNaN(+r.slice(1))&&(this[r]=t);},stop:function stop(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval;},dispatchException:function dispatchException(e){if(this.done)throw e;var r=this;function handle(n,o){return a.type="throw",a.arg=e,r.next=n,o&&(r.method="next",r.arg=t),!!o;}for(var o=this.tryEntries.length-1;o>=0;--o){var i=this.tryEntries[o],a=i.completion;if("root"===i.tryLoc)return handle("end");if(i.tryLoc<=this.prev){var c=n.call(i,"catchLoc"),u=n.call(i,"finallyLoc");if(c&&u){if(this.prev<i.catchLoc)return handle(i.catchLoc,!0);if(this.prev<i.finallyLoc)return handle(i.finallyLoc);}else if(c){if(this.prev<i.catchLoc)return handle(i.catchLoc,!0);}else{if(!u)throw Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return handle(i.finallyLoc);}}}},abrupt:function abrupt(t,e){for(var r=this.tryEntries.length-1;r>=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var i=o;break;}}i&&("break"===t||"continue"===t)&&i.tryLoc<=e&&e<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=t,a.arg=e,i?(this.method="next",this.next=i.finallyLoc,y):this.complete(a);},complete:function complete(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),y;},finish:function finish(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),resetTryEntry(r),y;}},"catch":function _catch(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;resetTryEntry(r);}return o;}}throw Error("illegal catch attempt");},delegateYield:function delegateYield(e,r,n){return this.delegate={iterator:values(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),y;}},e;}function _toConsumableArray(r){return _arrayWithoutHoles(r)||_iterableToArray(r)||_unsupportedIterableToArray(r)||_nonIterableSpread();}function _nonIterableSpread(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");}function _arrayWithoutHoles(r){if(Array.isArray(r))return _arrayLikeToArray(r);}function _toArray(r){return _arrayWithHoles(r)||_iterableToArray(r)||_unsupportedIterableToArray(r)||_nonIterableRest();}function _iterableToArray(r){if("undefined"!=typeof Symbol&&null!=r[Symbol.iterator]||null!=r["@@iterator"])return Array.from(r);}function _createForOfIteratorHelper(r,e){var t="undefined"!=typeof Symbol&&r[Symbol.iterator]||r["@@iterator"];if(!t){if(Array.isArray(r)||(t=_unsupportedIterableToArray(r))||e&&r&&"number"==typeof r.length){t&&(r=t);var _n=0,F=function F(){};return{s:F,n:function n(){return _n>=r.length?{done:!0}:{done:!1,value:r[_n++]};},e:function e(r){throw r;},f:F};}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");}var o,a=!0,u=!1;return{s:function s(){t=t.call(r);},n:function n(){var r=t.next();return a=r.done,r;},e:function e(r){u=!0,o=r;},f:function f(){try{a||null==t["return"]||t["return"]();}finally{if(u)throw o;}}};}function ownKeys(e,r){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);r&&(o=o.filter(function(r){return Object.getOwnPropertyDescriptor(e,r).enumerable;})),t.push.apply(t,o);}return t;}function _objectSpread(e){for(var r=1;r<arguments.length;r++){var t=null!=arguments[r]?arguments[r]:{};r%2?ownKeys(Object(t),!0).forEach(function(r){_defineProperty(e,r,t[r]);}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):ownKeys(Object(t)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r));});}return e;}function _defineProperty(e,r,t){return(r=_toPropertyKey(r))in e?Object.defineProperty(e,r,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[r]=t,e;}function _classCallCheck(a,n){if(!(a instanceof n))throw new TypeError("Cannot call a class as a function");}function _defineProperties(e,r){for(var t=0;t<r.length;t++){var o=r[t];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,_toPropertyKey(o.key),o);}}function _createClass(e,r,t){return r&&_defineProperties(e.prototype,r),t&&_defineProperties(e,t),Object.defineProperty(e,"prototype",{writable:!1}),e;}function _toPropertyKey(t){var i=_toPrimitive(t,"string");return"symbol"==_typeof(i)?i:i+"";}function _toPrimitive(t,r){if("object"!=_typeof(t)||!t)return t;var e=t[Symbol.toPrimitive];if(void 0!==e){var i=e.call(t,r||"default");if("object"!=_typeof(i))return i;throw new TypeError("@@toPrimitive must return a primitive value.");}return("string"===r?String:Number)(t);}function _slicedToArray(r,e){return _arrayWithHoles(r)||_iterableToArrayLimit(r,e)||_unsupportedIterableToArray(r,e)||_nonIterableRest();}function _nonIterableRest(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");}function _unsupportedIterableToArray(r,a){if(r){if("string"==typeof r)return _arrayLikeToArray(r,a);var t={}.toString.call(r).slice(8,-1);return"Object"===t&&r.constructor&&(t=r.constructor.name),"Map"===t||"Set"===t?Array.from(r):"Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)?_arrayLikeToArray(r,a):void 0;}}function _arrayLikeToArray(r,a){(null==a||a>r.length)&&(a=r.length);for(var e=0,n=Array(a);e<a;e++)n[e]=r[e];return n;}function _iterableToArrayLimit(r,l){var t=null==r?null:"undefined"!=typeof Symbol&&r[Symbol.iterator]||r["@@iterator"];if(null!=t){var e,n,i,u,a=[],f=!0,o=!1;try{if(i=(t=t.call(r)).next,0===l){if(Object(t)!==t)return;f=!1;}else for(;!(f=(e=i.call(t)).done)&&(a.push(e.value),a.length!==l);f=!0);}catch(r){o=!0,n=r;}finally{try{if(!f&&null!=t["return"]&&(u=t["return"](),Object(u)!==u))return;}finally{if(o)throw n;}}return a;}}function _arrayWithHoles(r){if(Array.isArray(r))return r;}function _typeof(o){"@babel/helpers - typeof";return _typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(o){return typeof o;}:function(o){return o&&"function"==typeof Symbol&&o.constructor===Symbol&&o!==Symbol.prototype?"symbol":typeof o;},_typeof(o);}function _wrapAsyncGenerator(e){return function(){return new AsyncGenerator(e.apply(this,arguments));};}function AsyncGenerator(e){var r,t;function resume(r,t){try{var n=e[r](t),o=n.value,u=o instanceof _OverloadYield;Promise.resolve(u?o.v:o).then(function(t){if(u){var i="return"===r?"return":"next";if(!o.k||t.done)return resume(i,t);t=e[i](t).value;}settle(n.done?"return":"normal",t);},function(e){resume("throw",e);});}catch(e){settle("throw",e);}}function settle(e,n){switch(e){case"return":r.resolve({value:n,done:!0});break;case"throw":r.reject(n);break;default:r.resolve({value:n,done:!1});}(r=r.next)?resume(r.key,r.arg):t=null;}this._invoke=function(e,n){return new Promise(function(o,u){var i={key:e,arg:n,resolve:o,reject:u,next:null};t?t=t.next=i:(r=t=i,resume(e,n));});},"function"!=typeof e["return"]&&(this["return"]=void 0);}AsyncGenerator.prototype["function"==typeof Symbol&&Symbol.asyncIterator||"@@asyncIterator"]=function(){return this;},AsyncGenerator.prototype.next=function(e){return this._invoke("next",e);},AsyncGenerator.prototype["throw"]=function(e){return this._invoke("throw",e);},AsyncGenerator.prototype["return"]=function(e){return this._invoke("return",e);};function _awaitAsyncGenerator(e){return new _OverloadYield(e,0);}function _asyncGeneratorDelegate(t){var e={},n=!1;function pump(e,r){return n=!0,r=new Promise(function(n){n(t[e](r));}),{done:!1,value:new _OverloadYield(r,1)};}return e["undefined"!=typeof Symbol&&Symbol.iterator||"@@iterator"]=function(){return this;},e.next=function(t){return n?(n=!1,t):pump("next",t);},"function"==typeof t["throw"]&&(e["throw"]=function(t){if(n)throw n=!1,t;return pump("throw",t);}),"function"==typeof t["return"]&&(e["return"]=function(t){return n?(n=!1,t):pump("return",t);}),e;}function _OverloadYield(e,d){this.v=e,this.k=d;}function _asyncIterator(r){var n,t,o,e=2;for("undefined"!=typeof Symbol&&(t=Symbol.asyncIterator,o=Symbol.iterator);e--;){if(t&&null!=(n=r[t]))return n.call(r);if(o&&null!=(n=r[o]))return new AsyncFromSyncIterator(n.call(r));t="@@asyncIterator",o="@@iterator";}throw new TypeError("Object is not async iterable");}function AsyncFromSyncIterator(r){function AsyncFromSyncIteratorContinuation(r){if(Object(r)!==r)return Promise.reject(new TypeError(r+" is not an object."));var n=r.done;return Promise.resolve(r.value).then(function(r){return{value:r,done:n};});}return AsyncFromSyncIterator=function AsyncFromSyncIterator(r){this.s=r,this.n=r.next;},AsyncFromSyncIterator.prototype={s:null,n:null,next:function next(){return AsyncFromSyncIteratorContinuation(this.n.apply(this.s,arguments));},"return":function _return(r){var n=this.s["return"];return void 0===n?Promise.resolve({value:r,done:!0}):AsyncFromSyncIteratorContinuation(n.apply(this.s,arguments));},"throw":function _throw(r){var n=this.s["return"];return void 0===n?Promise.reject(r):AsyncFromSyncIteratorContinuation(n.apply(this.s,arguments));}},new AsyncFromSyncIterator(r);}var qs=require('qs');function _interopDefaultLegacy(e){return e&&_typeof(e)==='object'&&'default'in e?e:{'default':e};}var qs__default=/*#__PURE__*/_interopDefaultLegacy(qs);var PureCloudRegionHosts={us_east_1:'mypurecloud.com',eu_west_1:'mypurecloud.ie',ap_southeast_2:'mypurecloud.com.au',ap_northeast_1:'mypurecloud.jp',eu_central_1:'mypurecloud.de',us_west_2:'usw2.pure.cloud',ca_central_1:'cac1.pure.cloud',ap_northeast_2:'apne2.pure.cloud',eu_west_2:'euw2.pure.cloud',ap_south_1:'aps1.pure.cloud',us_east_2:'use2.us-gov-pure.cloud',sa_east_1:'sae1.pure.cloud',me_central_1:'mec1.pure.cloud',ap_northeast_3:'apne3.pure.cloud',eu_central_2:'euc2.pure.cloud'};var global$1=typeof global!=="undefined"?global:typeof self!=="undefined"?self:typeof window!=="undefined"?window:{};var lookup=[];var revLookup=[];var Arr=typeof Uint8Array!=='undefined'?Uint8Array:Array;var inited=false;function init(){inited=true;var code='ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/';for(var i=0,len=code.length;i<len;++i){lookup[i]=code[i];revLookup[code.charCodeAt(i)]=i;}revLookup['-'.charCodeAt(0)]=62;revLookup['_'.charCodeAt(0)]=63;}function toByteArray(b64){if(!inited){init();}var i,j,l,tmp,placeHolders,arr;var len=b64.length;if(len%4>0){throw new Error('Invalid string. Length must be a multiple of 4');}// the number of equal signs (place holders)
|
|
5201
5201
|
// if there are two placeholders, than the two characters before it
|
|
5202
5202
|
// represent one byte
|
|
5203
5203
|
// if there is only one, then the three characters before it represent 2 bytes
|
|
@@ -6054,7 +6054,7 @@ if(env)this.environment=env;else this.environment=this.host?this.host:'mypureclo
|
|
|
6054
6054
|
this.environment=this.environment.replace(/\/+$/,'');// Strip protocol and subdomain
|
|
6055
6055
|
if(this.environment.startsWith('https://'))this.environment=this.environment.substring(8);if(this.environment.startsWith('http://'))this.environment=this.environment.substring(7);if(this.environment.startsWith('api.'))this.environment=this.environment.substring(4);this.basePath="https://api.".concat(this.environment);this.authUrl="https://login.".concat(this.environment);}},{key:"getConfigString",value:function getConfigString(section,key){if(this.config._sections[section])return this.config._sections[section][key];}},{key:"getConfigBoolean",value:function getConfigBoolean(section,key){if(this.config._sections[section]&&this.config._sections[section][key]!==undefined){if(typeof this.config._sections[section][key]==='string'){return this.config._sections[section][key]==='true';}else return this.config._sections[section][key];}}},{key:"getConfigInt",value:function getConfigInt(section,key){if(this.config._sections[section]&&this.config._sections[section][key]){if(typeof this.config._sections[section][key]==='string'){return parseInt(this.config._sections[section][key]);}else return this.config._sections[section][key];}}}]);}();/**
|
|
6056
6056
|
* @module purecloud-platform-client-v2/ApiClient
|
|
6057
|
-
* @version
|
|
6057
|
+
* @version 194.0.0
|
|
6058
6058
|
*/var ApiClient=/*#__PURE__*/function(){/**
|
|
6059
6059
|
* Manages low level client-server communications, parameter marshalling, etc. There should not be any need for an
|
|
6060
6060
|
* application to use this class directly - the *Api and model classes provide the public API for the service. The
|
|
@@ -6366,7 +6366,7 @@ resolve(data);})["catch"](function(error){var data=error;if(error.response&&erro
|
|
|
6366
6366
|
that.config.logger.log('error',error.response.status,httpMethod,url,request.headers,error.response.headers,bodyParam,error.response.data);data=that.returnExtended===true?{status:error.response.status,statusText:error.response.statusText,headers:error.response.headers,body:error.response.data,text:error.response.text,error:error}:error.response.data?error.response.data:error.response.text;}reject(data);});}});}}]);}();var AlertingApi=/*#__PURE__*/function(){/**
|
|
6367
6367
|
* Alerting service.
|
|
6368
6368
|
* @module purecloud-platform-client-v2/api/AlertingApi
|
|
6369
|
-
* @version
|
|
6369
|
+
* @version 194.0.0
|
|
6370
6370
|
*/ /**
|
|
6371
6371
|
* Constructs a new AlertingApi.
|
|
6372
6372
|
* @alias module:purecloud-platform-client-v2/api/AlertingApi
|
|
@@ -6523,7 +6523,7 @@ if(ruleId===undefined||ruleId===null){throw'Missing the required parameter "rule
|
|
|
6523
6523
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putAlertingRule';}return this.apiClient.callApi('/api/v2/alerting/rules/{ruleId}','PUT',{'ruleId':ruleId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var AnalyticsApi=/*#__PURE__*/function(){/**
|
|
6524
6524
|
* Analytics service.
|
|
6525
6525
|
* @module purecloud-platform-client-v2/api/AnalyticsApi
|
|
6526
|
-
* @version
|
|
6526
|
+
* @version 194.0.0
|
|
6527
6527
|
*/ /**
|
|
6528
6528
|
* Constructs a new AnalyticsApi.
|
|
6529
6529
|
* @alias module:purecloud-platform-client-v2/api/AnalyticsApi
|
|
@@ -7107,7 +7107,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
7107
7107
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putAnalyticsDataretentionSettings';}return this.apiClient.callApi('/api/v2/analytics/dataretention/settings','PUT',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var ArchitectApi=/*#__PURE__*/function(){/**
|
|
7108
7108
|
* Architect service.
|
|
7109
7109
|
* @module purecloud-platform-client-v2/api/ArchitectApi
|
|
7110
|
-
* @version
|
|
7110
|
+
* @version 194.0.0
|
|
7111
7111
|
*/ /**
|
|
7112
7112
|
* Constructs a new ArchitectApi.
|
|
7113
7113
|
* @alias module:purecloud-platform-client-v2/api/ArchitectApi
|
|
@@ -8223,7 +8223,7 @@ if(milestoneId===undefined||milestoneId===null){throw'Missing the required param
|
|
|
8223
8223
|
if(flowOutcomeId===undefined||flowOutcomeId===null){throw'Missing the required parameter "flowOutcomeId" when calling putFlowsOutcome';}return this.apiClient.callApi('/api/v2/flows/outcomes/{flowOutcomeId}','PUT',{'flowOutcomeId':flowOutcomeId},{},{},{},opts['body'],['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var AuditApi=/*#__PURE__*/function(){/**
|
|
8224
8224
|
* Audit service.
|
|
8225
8225
|
* @module purecloud-platform-client-v2/api/AuditApi
|
|
8226
|
-
* @version
|
|
8226
|
+
* @version 194.0.0
|
|
8227
8227
|
*/ /**
|
|
8228
8228
|
* Constructs a new AuditApi.
|
|
8229
8229
|
* @alias module:purecloud-platform-client-v2/api/AuditApi
|
|
@@ -8262,10 +8262,17 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
8262
8262
|
* @param {Object} opts Optional parameters
|
|
8263
8263
|
* @param {Array.<String>} opts.expand Which fields, if any, to expand
|
|
8264
8264
|
*/},{key:"postAuditsQueryRealtime",value:function postAuditsQueryRealtime(body,opts){opts=opts||{};// verify the required parameter 'body' is set
|
|
8265
|
-
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postAuditsQueryRealtime';}return this.apiClient.callApi('/api/v2/audits/query/realtime','POST',{},{'expand':this.apiClient.buildCollectionParam(opts['expand'],'multi')},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}
|
|
8265
|
+
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postAuditsQueryRealtime';}return this.apiClient.callApi('/api/v2/audits/query/realtime','POST',{},{'expand':this.apiClient.buildCollectionParam(opts['expand'],'multi')},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
8266
|
+
* Often a single action results in multiple audits. The endpoint retrieves all audits created by the same action as the given audit id.
|
|
8267
|
+
*
|
|
8268
|
+
* @param {Object} body query
|
|
8269
|
+
* @param {Object} opts Optional parameters
|
|
8270
|
+
* @param {Array.<String>} opts.expand Which fields, if any, to expand
|
|
8271
|
+
*/},{key:"postAuditsQueryRealtimeRelated",value:function postAuditsQueryRealtimeRelated(body,opts){opts=opts||{};// verify the required parameter 'body' is set
|
|
8272
|
+
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postAuditsQueryRealtimeRelated';}return this.apiClient.callApi('/api/v2/audits/query/realtime/related','POST',{},{'expand':this.apiClient.buildCollectionParam(opts['expand'],'multi')},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var AuthorizationApi=/*#__PURE__*/function(){/**
|
|
8266
8273
|
* Authorization service.
|
|
8267
8274
|
* @module purecloud-platform-client-v2/api/AuthorizationApi
|
|
8268
|
-
* @version
|
|
8275
|
+
* @version 194.0.0
|
|
8269
8276
|
*/ /**
|
|
8270
8277
|
* Constructs a new AuthorizationApi.
|
|
8271
8278
|
* @alias module:purecloud-platform-client-v2/api/AuthorizationApi
|
|
@@ -8580,7 +8587,7 @@ if(subjectId===undefined||subjectId===null){throw'Missing the required parameter
|
|
|
8580
8587
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putUserRoles';}return this.apiClient.callApi('/api/v2/users/{subjectId}/roles','PUT',{'subjectId':subjectId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var BillingApi=/*#__PURE__*/function(){/**
|
|
8581
8588
|
* Billing service.
|
|
8582
8589
|
* @module purecloud-platform-client-v2/api/BillingApi
|
|
8583
|
-
* @version
|
|
8590
|
+
* @version 194.0.0
|
|
8584
8591
|
*/ /**
|
|
8585
8592
|
* Constructs a new BillingApi.
|
|
8586
8593
|
* @alias module:purecloud-platform-client-v2/api/BillingApi
|
|
@@ -8604,7 +8611,7 @@ if(endDate===undefined||endDate===null){throw'Missing the required parameter "en
|
|
|
8604
8611
|
if(trustorOrgId===undefined||trustorOrgId===null){throw'Missing the required parameter "trustorOrgId" when calling getBillingTrusteebillingoverviewTrustorOrgId';}return this.apiClient.callApi('/api/v2/billing/trusteebillingoverview/{trustorOrgId}','GET',{'trustorOrgId':trustorOrgId},{'billingPeriodIndex':opts['billingPeriodIndex']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var CarrierServicesApi=/*#__PURE__*/function(){/**
|
|
8605
8612
|
* CarrierServices service.
|
|
8606
8613
|
* @module purecloud-platform-client-v2/api/CarrierServicesApi
|
|
8607
|
-
* @version
|
|
8614
|
+
* @version 194.0.0
|
|
8608
8615
|
*/ /**
|
|
8609
8616
|
* Constructs a new CarrierServicesApi.
|
|
8610
8617
|
* @alias module:purecloud-platform-client-v2/api/CarrierServicesApi
|
|
@@ -8624,7 +8631,7 @@ if(phoneNumber===undefined||phoneNumber===null){throw'Missing the required param
|
|
|
8624
8631
|
*/},{key:"postCarrierservicesIntegrationsEmergencylocationsMe",value:function postCarrierservicesIntegrationsEmergencylocationsMe(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/carrierservices/integrations/emergencylocations/me','POST',{},{},{},{},opts['body'],['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var ChatApi=/*#__PURE__*/function(){/**
|
|
8625
8632
|
* Chat service.
|
|
8626
8633
|
* @module purecloud-platform-client-v2/api/ChatApi
|
|
8627
|
-
* @version
|
|
8634
|
+
* @version 194.0.0
|
|
8628
8635
|
*/ /**
|
|
8629
8636
|
* Constructs a new ChatApi.
|
|
8630
8637
|
* @alias module:purecloud-platform-client-v2/api/ChatApi
|
|
@@ -8849,7 +8856,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
8849
8856
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putChatsSettings';}return this.apiClient.callApi('/api/v2/chats/settings','PUT',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var CoachingApi=/*#__PURE__*/function(){/**
|
|
8850
8857
|
* Coaching service.
|
|
8851
8858
|
* @module purecloud-platform-client-v2/api/CoachingApi
|
|
8852
|
-
* @version
|
|
8859
|
+
* @version 194.0.0
|
|
8853
8860
|
*/ /**
|
|
8854
8861
|
* Constructs a new CoachingApi.
|
|
8855
8862
|
* @alias module:purecloud-platform-client-v2/api/CoachingApi
|
|
@@ -9002,7 +9009,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
9002
9009
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postCoachingScheduleslotsQuery';}return this.apiClient.callApi('/api/v2/coaching/scheduleslots/query','POST',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var ContentManagementApi=/*#__PURE__*/function(){/**
|
|
9003
9010
|
* ContentManagement service.
|
|
9004
9011
|
* @module purecloud-platform-client-v2/api/ContentManagementApi
|
|
9005
|
-
* @version
|
|
9012
|
+
* @version 194.0.0
|
|
9006
9013
|
*/ /**
|
|
9007
9014
|
* Constructs a new ContentManagementApi.
|
|
9008
9015
|
* @alias module:purecloud-platform-client-v2/api/ContentManagementApi
|
|
@@ -9285,7 +9292,7 @@ if(tagId===undefined||tagId===null){throw'Missing the required parameter "tagId"
|
|
|
9285
9292
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putContentmanagementWorkspaceTagvalue';}return this.apiClient.callApi('/api/v2/contentmanagement/workspaces/{workspaceId}/tagvalues/{tagId}','PUT',{'workspaceId':workspaceId,'tagId':tagId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var ConversationsApi=/*#__PURE__*/function(){/**
|
|
9286
9293
|
* Conversations service.
|
|
9287
9294
|
* @module purecloud-platform-client-v2/api/ConversationsApi
|
|
9288
|
-
* @version
|
|
9295
|
+
* @version 194.0.0
|
|
9289
9296
|
*/ /**
|
|
9290
9297
|
* Constructs a new ConversationsApi.
|
|
9291
9298
|
* @alias module:purecloud-platform-client-v2/api/ConversationsApi
|
|
@@ -9343,23 +9350,11 @@ if(integrationId===undefined||integrationId===null){throw'Missing the required p
|
|
|
9343
9350
|
* @param {String} integrationId Integration ID
|
|
9344
9351
|
*/},{key:"deleteConversationsMessagingIntegrationsInstagramIntegrationId",value:function deleteConversationsMessagingIntegrationsInstagramIntegrationId(integrationId){// verify the required parameter 'integrationId' is set
|
|
9345
9352
|
if(integrationId===undefined||integrationId===null){throw'Missing the required parameter "integrationId" when calling deleteConversationsMessagingIntegrationsInstagramIntegrationId';}return this.apiClient.callApi('/api/v2/conversations/messaging/integrations/instagram/{integrationId}','DELETE',{'integrationId':integrationId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
9346
|
-
* Delete a LINE messenger integration (Deprecated)
|
|
9347
|
-
* This endpoint is deprecated. Please see the article https://help.mypurecloud.com/articles/deprecation-native-line-third-party-messaging-channel/
|
|
9348
|
-
* @param {String} integrationId Integration ID
|
|
9349
|
-
* @deprecated
|
|
9350
|
-
*/},{key:"deleteConversationsMessagingIntegrationsLineIntegrationId",value:function deleteConversationsMessagingIntegrationsLineIntegrationId(integrationId){// verify the required parameter 'integrationId' is set
|
|
9351
|
-
if(integrationId===undefined||integrationId===null){throw'Missing the required parameter "integrationId" when calling deleteConversationsMessagingIntegrationsLineIntegrationId';}return this.apiClient.callApi('/api/v2/conversations/messaging/integrations/line/{integrationId}','DELETE',{'integrationId':integrationId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
9352
9353
|
* Delete an Open messaging integration
|
|
9353
9354
|
* See https://developer.genesys.cloud/api/digital/openmessaging/ for more information.
|
|
9354
9355
|
* @param {String} integrationId Integration ID
|
|
9355
9356
|
*/},{key:"deleteConversationsMessagingIntegrationsOpenIntegrationId",value:function deleteConversationsMessagingIntegrationsOpenIntegrationId(integrationId){// verify the required parameter 'integrationId' is set
|
|
9356
9357
|
if(integrationId===undefined||integrationId===null){throw'Missing the required parameter "integrationId" when calling deleteConversationsMessagingIntegrationsOpenIntegrationId';}return this.apiClient.callApi('/api/v2/conversations/messaging/integrations/open/{integrationId}','DELETE',{'integrationId':integrationId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
9357
|
-
* Delete a Twitter messaging integration
|
|
9358
|
-
* This endpoint is deprecated. Please see the article https://help.mypurecloud.com/articles/deprecation-native-x-formerly-twitter-third-party-messaging-channel/
|
|
9359
|
-
* @param {String} integrationId Integration ID
|
|
9360
|
-
* @deprecated
|
|
9361
|
-
*/},{key:"deleteConversationsMessagingIntegrationsTwitterIntegrationId",value:function deleteConversationsMessagingIntegrationsTwitterIntegrationId(integrationId){// verify the required parameter 'integrationId' is set
|
|
9362
|
-
if(integrationId===undefined||integrationId===null){throw'Missing the required parameter "integrationId" when calling deleteConversationsMessagingIntegrationsTwitterIntegrationId';}return this.apiClient.callApi('/api/v2/conversations/messaging/integrations/twitter/{integrationId}','DELETE',{'integrationId':integrationId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
9363
9358
|
* Delete a WhatsApp messaging integration
|
|
9364
9359
|
*
|
|
9365
9360
|
* @param {String} integrationId Integration ID
|
|
@@ -9820,24 +9815,6 @@ if(integrationId===undefined||integrationId===null){throw'Missing the required p
|
|
|
9820
9815
|
* @param {Object} opts.expand Expand instructions for the return value.
|
|
9821
9816
|
*/},{key:"getConversationsMessagingIntegrationsInstagramIntegrationId",value:function getConversationsMessagingIntegrationsInstagramIntegrationId(integrationId,opts){opts=opts||{};// verify the required parameter 'integrationId' is set
|
|
9822
9817
|
if(integrationId===undefined||integrationId===null){throw'Missing the required parameter "integrationId" when calling getConversationsMessagingIntegrationsInstagramIntegrationId';}return this.apiClient.callApi('/api/v2/conversations/messaging/integrations/instagram/{integrationId}','GET',{'integrationId':integrationId},{'expand':opts['expand']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
9823
|
-
* Get a list of LINE messenger Integrations (Deprecated)
|
|
9824
|
-
* This endpoint is deprecated. Please see the article https://help.mypurecloud.com/articles/deprecation-native-line-third-party-messaging-channel/
|
|
9825
|
-
* @param {Object} opts Optional parameters
|
|
9826
|
-
* @param {Number} opts.pageSize Page size (default to 25)
|
|
9827
|
-
* @param {Number} opts.pageNumber Page number (default to 1)
|
|
9828
|
-
* @param {Object} opts.expand Expand instructions for the return value.
|
|
9829
|
-
* @param {String} opts.supportedContentId Filter integrations returned based on the supported content ID
|
|
9830
|
-
* @param {String} opts.messagingSettingId Filter integrations returned based on the setting ID
|
|
9831
|
-
* @deprecated
|
|
9832
|
-
*/},{key:"getConversationsMessagingIntegrationsLine",value:function getConversationsMessagingIntegrationsLine(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/conversations/messaging/integrations/line','GET',{},{'pageSize':opts['pageSize'],'pageNumber':opts['pageNumber'],'expand':opts['expand'],'supportedContent.id':opts['supportedContentId'],'messagingSetting.id':opts['messagingSettingId']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
9833
|
-
* Get a LINE messenger integration (Deprecated)
|
|
9834
|
-
* This endpoint is deprecated. Please see the article https://help.mypurecloud.com/articles/deprecation-native-line-third-party-messaging-channel/
|
|
9835
|
-
* @param {String} integrationId Integration ID
|
|
9836
|
-
* @param {Object} opts Optional parameters
|
|
9837
|
-
* @param {Object} opts.expand Expand instructions for the return value.
|
|
9838
|
-
* @deprecated
|
|
9839
|
-
*/},{key:"getConversationsMessagingIntegrationsLineIntegrationId",value:function getConversationsMessagingIntegrationsLineIntegrationId(integrationId,opts){opts=opts||{};// verify the required parameter 'integrationId' is set
|
|
9840
|
-
if(integrationId===undefined||integrationId===null){throw'Missing the required parameter "integrationId" when calling getConversationsMessagingIntegrationsLineIntegrationId';}return this.apiClient.callApi('/api/v2/conversations/messaging/integrations/line/{integrationId}','GET',{'integrationId':integrationId},{'expand':opts['expand']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
9841
9818
|
* Get a list of Open messaging integrations
|
|
9842
9819
|
* See https://developer.genesys.cloud/api/digital/openmessaging/ for more information.
|
|
9843
9820
|
* @param {Object} opts Optional parameters
|
|
@@ -9854,24 +9831,6 @@ if(integrationId===undefined||integrationId===null){throw'Missing the required p
|
|
|
9854
9831
|
* @param {Object} opts.expand Expand instructions for the return value.
|
|
9855
9832
|
*/},{key:"getConversationsMessagingIntegrationsOpenIntegrationId",value:function getConversationsMessagingIntegrationsOpenIntegrationId(integrationId,opts){opts=opts||{};// verify the required parameter 'integrationId' is set
|
|
9856
9833
|
if(integrationId===undefined||integrationId===null){throw'Missing the required parameter "integrationId" when calling getConversationsMessagingIntegrationsOpenIntegrationId';}return this.apiClient.callApi('/api/v2/conversations/messaging/integrations/open/{integrationId}','GET',{'integrationId':integrationId},{'expand':opts['expand']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
9857
|
-
* Get a list of Twitter Integrations (Deprecated)
|
|
9858
|
-
* This endpoint is deprecated. Please see the article https://help.mypurecloud.com/articles/deprecation-native-x-formerly-twitter-third-party-messaging-channel/
|
|
9859
|
-
* @param {Object} opts Optional parameters
|
|
9860
|
-
* @param {Number} opts.pageSize Page size (default to 25)
|
|
9861
|
-
* @param {Number} opts.pageNumber Page number (default to 1)
|
|
9862
|
-
* @param {Object} opts.expand Expand instructions for the return value.
|
|
9863
|
-
* @param {String} opts.supportedContentId Filter integrations returned based on the supported content ID
|
|
9864
|
-
* @param {String} opts.messagingSettingId Filter integrations returned based on the setting ID
|
|
9865
|
-
* @deprecated
|
|
9866
|
-
*/},{key:"getConversationsMessagingIntegrationsTwitter",value:function getConversationsMessagingIntegrationsTwitter(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/conversations/messaging/integrations/twitter','GET',{},{'pageSize':opts['pageSize'],'pageNumber':opts['pageNumber'],'expand':opts['expand'],'supportedContent.id':opts['supportedContentId'],'messagingSetting.id':opts['messagingSettingId']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
9867
|
-
* Get a Twitter messaging integration (Deprecated)
|
|
9868
|
-
* This endpoint is deprecated. Please see the article https://help.mypurecloud.com/articles/deprecation-native-x-formerly-twitter-third-party-messaging-channel/
|
|
9869
|
-
* @param {String} integrationId Integration ID
|
|
9870
|
-
* @param {Object} opts Optional parameters
|
|
9871
|
-
* @param {Object} opts.expand Expand instructions for the return value.
|
|
9872
|
-
* @deprecated
|
|
9873
|
-
*/},{key:"getConversationsMessagingIntegrationsTwitterIntegrationId",value:function getConversationsMessagingIntegrationsTwitterIntegrationId(integrationId,opts){opts=opts||{};// verify the required parameter 'integrationId' is set
|
|
9874
|
-
if(integrationId===undefined||integrationId===null){throw'Missing the required parameter "integrationId" when calling getConversationsMessagingIntegrationsTwitterIntegrationId';}return this.apiClient.callApi('/api/v2/conversations/messaging/integrations/twitter/{integrationId}','GET',{'integrationId':integrationId},{'expand':opts['expand']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
9875
9834
|
* Get a list of WhatsApp Integrations
|
|
9876
9835
|
*
|
|
9877
9836
|
* @param {Object} opts Optional parameters
|
|
@@ -10285,14 +10244,6 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
10285
10244
|
*/},{key:"patchConversationsMessagingIntegrationsOpenIntegrationId",value:function patchConversationsMessagingIntegrationsOpenIntegrationId(integrationId,body){// verify the required parameter 'integrationId' is set
|
|
10286
10245
|
if(integrationId===undefined||integrationId===null){throw'Missing the required parameter "integrationId" when calling patchConversationsMessagingIntegrationsOpenIntegrationId';}// verify the required parameter 'body' is set
|
|
10287
10246
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling patchConversationsMessagingIntegrationsOpenIntegrationId';}return this.apiClient.callApi('/api/v2/conversations/messaging/integrations/open/{integrationId}','PATCH',{'integrationId':integrationId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
10288
|
-
* Update Twitter messaging integration
|
|
10289
|
-
* This endpoint is deprecated. Please see the article https://help.mypurecloud.com/articles/deprecation-native-x-formerly-twitter-third-party-messaging-channel/
|
|
10290
|
-
* @param {String} integrationId Integration ID
|
|
10291
|
-
* @param {Object} body TwitterIntegrationRequest
|
|
10292
|
-
* @deprecated
|
|
10293
|
-
*/},{key:"patchConversationsMessagingIntegrationsTwitterIntegrationId",value:function patchConversationsMessagingIntegrationsTwitterIntegrationId(integrationId,body){// verify the required parameter 'integrationId' is set
|
|
10294
|
-
if(integrationId===undefined||integrationId===null){throw'Missing the required parameter "integrationId" when calling patchConversationsMessagingIntegrationsTwitterIntegrationId';}// verify the required parameter 'body' is set
|
|
10295
|
-
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling patchConversationsMessagingIntegrationsTwitterIntegrationId';}return this.apiClient.callApi('/api/v2/conversations/messaging/integrations/twitter/{integrationId}','PATCH',{'integrationId':integrationId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
10296
10247
|
* Activate a WhatsApp messaging integration created using the WhatsApp embedded signup flow
|
|
10297
10248
|
* Please specify the phone number to associate with this WhatsApp integration from the list of available phone numbers returned to you in the POST call to create the integration. You can then run a GET on the integration to check if its status has been updated to Active
|
|
10298
10249
|
* @param {String} integrationId Integration ID
|
|
@@ -10827,23 +10778,11 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
10827
10778
|
* @param {Object} body InstagramIntegrationRequest
|
|
10828
10779
|
*/},{key:"postConversationsMessagingIntegrationsInstagram",value:function postConversationsMessagingIntegrationsInstagram(body){// verify the required parameter 'body' is set
|
|
10829
10780
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postConversationsMessagingIntegrationsInstagram';}return this.apiClient.callApi('/api/v2/conversations/messaging/integrations/instagram','POST',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
10830
|
-
* Create a LINE messenger Integration (Deprecated)
|
|
10831
|
-
* This endpoint is deprecated. Please see the article https://help.mypurecloud.com/articles/deprecation-native-line-third-party-messaging-channel/
|
|
10832
|
-
* @param {Object} body LineIntegrationRequest
|
|
10833
|
-
* @deprecated
|
|
10834
|
-
*/},{key:"postConversationsMessagingIntegrationsLine",value:function postConversationsMessagingIntegrationsLine(body){// verify the required parameter 'body' is set
|
|
10835
|
-
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postConversationsMessagingIntegrationsLine';}return this.apiClient.callApi('/api/v2/conversations/messaging/integrations/line','POST',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
10836
10781
|
* Create an Open messaging integration
|
|
10837
10782
|
* See https://developer.genesys.cloud/api/digital/openmessaging/ for more information.
|
|
10838
10783
|
* @param {Object} body OpenIntegrationRequest
|
|
10839
10784
|
*/},{key:"postConversationsMessagingIntegrationsOpen",value:function postConversationsMessagingIntegrationsOpen(body){// verify the required parameter 'body' is set
|
|
10840
10785
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postConversationsMessagingIntegrationsOpen';}return this.apiClient.callApi('/api/v2/conversations/messaging/integrations/open','POST',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
10841
|
-
* Create a Twitter Integration
|
|
10842
|
-
* This endpoint is deprecated. Please see the article https://help.mypurecloud.com/articles/deprecation-native-x-formerly-twitter-third-party-messaging-channel/
|
|
10843
|
-
* @param {Object} body TwitterIntegrationRequest
|
|
10844
|
-
* @deprecated
|
|
10845
|
-
*/},{key:"postConversationsMessagingIntegrationsTwitter",value:function postConversationsMessagingIntegrationsTwitter(body){// verify the required parameter 'body' is set
|
|
10846
|
-
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postConversationsMessagingIntegrationsTwitter';}return this.apiClient.callApi('/api/v2/conversations/messaging/integrations/twitter','POST',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
10847
10786
|
* [This API is deprecated. Use POST /api/v2/conversations/messaging/integrations/whatsapp/embeddedsignup instead] Create a WhatsApp Integration
|
|
10848
10787
|
* [This API is deprecated. Use POST /api/v2/conversations/messaging/integrations/whatsapp/embeddedsignup instead] You must be approved by WhatsApp to use this feature. Your approved e164-formatted phone number and valid WhatsApp certificate for your number are required. Your WhatsApp certificate must have valid base64 encoding. Please paste carefully and do not add any leading or trailing spaces. Do not alter any characters. An integration must be activated within 7 days of certificate generation. If you cannot complete the addition and activation of the number within 7 days, please obtain a new certificate before creating the integration. Integrations created with an invalid number or certificate may immediately incur additional integration fees. Please carefully enter your number and certificate as described.
|
|
10849
10788
|
* @param {Object} body WhatsAppIntegrationRequest
|
|
@@ -10998,14 +10937,6 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
10998
10937
|
*/},{key:"putConversationsMessageRecordingstate",value:function putConversationsMessageRecordingstate(conversationId,body){// verify the required parameter 'conversationId' is set
|
|
10999
10938
|
if(conversationId===undefined||conversationId===null){throw'Missing the required parameter "conversationId" when calling putConversationsMessageRecordingstate';}// verify the required parameter 'body' is set
|
|
11000
10939
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putConversationsMessageRecordingstate';}return this.apiClient.callApi('/api/v2/conversations/messages/{conversationId}/recordingstate','PUT',{'conversationId':conversationId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
11001
|
-
* Update a LINE messenger integration (Deprecated)
|
|
11002
|
-
* This endpoint is deprecated. Please see the article https://help.mypurecloud.com/articles/deprecation-native-line-third-party-messaging-channel/
|
|
11003
|
-
* @param {String} integrationId Integration ID
|
|
11004
|
-
* @param {Object} body LineIntegrationRequest
|
|
11005
|
-
* @deprecated
|
|
11006
|
-
*/},{key:"putConversationsMessagingIntegrationsLineIntegrationId",value:function putConversationsMessagingIntegrationsLineIntegrationId(integrationId,body){// verify the required parameter 'integrationId' is set
|
|
11007
|
-
if(integrationId===undefined||integrationId===null){throw'Missing the required parameter "integrationId" when calling putConversationsMessagingIntegrationsLineIntegrationId';}// verify the required parameter 'body' is set
|
|
11008
|
-
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putConversationsMessagingIntegrationsLineIntegrationId';}return this.apiClient.callApi('/api/v2/conversations/messaging/integrations/line/{integrationId}','PUT',{'integrationId':integrationId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
11009
10940
|
* Set the organization's default setting that may be applied to to integrations without settings
|
|
11010
10941
|
* When an integration is created a settings ID may be assigned to it. If the settings ID is not supplied, the default settings will be assigned to it.
|
|
11011
10942
|
* @param {Object} body MessagingSetting
|
|
@@ -11045,7 +10976,7 @@ if(conversationId===undefined||conversationId===null){throw'Missing the required
|
|
|
11045
10976
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putConversationsVideoRecordingstate';}return this.apiClient.callApi('/api/v2/conversations/videos/{conversationId}/recordingstate','PUT',{'conversationId':conversationId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var DataExtensionsApi=/*#__PURE__*/function(){/**
|
|
11046
10977
|
* DataExtensions service.
|
|
11047
10978
|
* @module purecloud-platform-client-v2/api/DataExtensionsApi
|
|
11048
|
-
* @version
|
|
10979
|
+
* @version 194.0.0
|
|
11049
10980
|
*/ /**
|
|
11050
10981
|
* Constructs a new DataExtensionsApi.
|
|
11051
10982
|
* @alias module:purecloud-platform-client-v2/api/DataExtensionsApi
|
|
@@ -11066,7 +10997,7 @@ if(coretypeName===undefined||coretypeName===null){throw'Missing the required par
|
|
|
11066
10997
|
*/},{key:"getDataextensionsLimits",value:function getDataextensionsLimits(){return this.apiClient.callApi('/api/v2/dataextensions/limits','GET',{},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var DownloadsApi=/*#__PURE__*/function(){/**
|
|
11067
10998
|
* Downloads service.
|
|
11068
10999
|
* @module purecloud-platform-client-v2/api/DownloadsApi
|
|
11069
|
-
* @version
|
|
11000
|
+
* @version 194.0.0
|
|
11070
11001
|
*/ /**
|
|
11071
11002
|
* Constructs a new DownloadsApi.
|
|
11072
11003
|
* @alias module:purecloud-platform-client-v2/api/DownloadsApi
|
|
@@ -11085,7 +11016,7 @@ if(coretypeName===undefined||coretypeName===null){throw'Missing the required par
|
|
|
11085
11016
|
if(downloadId===undefined||downloadId===null){throw'Missing the required parameter "downloadId" when calling getDownload';}return this.apiClient.callApi('/api/v2/downloads/{downloadId}','GET',{'downloadId':downloadId},{'contentDisposition':opts['contentDisposition'],'issueRedirect':opts['issueRedirect'],'redirectToAuth':opts['redirectToAuth']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var EmailsApi=/*#__PURE__*/function(){/**
|
|
11086
11017
|
* Emails service.
|
|
11087
11018
|
* @module purecloud-platform-client-v2/api/EmailsApi
|
|
11088
|
-
* @version
|
|
11019
|
+
* @version 194.0.0
|
|
11089
11020
|
*/ /**
|
|
11090
11021
|
* Constructs a new EmailsApi.
|
|
11091
11022
|
* @alias module:purecloud-platform-client-v2/api/EmailsApi
|
|
@@ -11103,7 +11034,7 @@ if(downloadId===undefined||downloadId===null){throw'Missing the required paramet
|
|
|
11103
11034
|
*/},{key:"patchEmailsSettings",value:function patchEmailsSettings(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/emails/settings','PATCH',{},{},{},{},opts['body'],['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var EventsApi=/*#__PURE__*/function(){/**
|
|
11104
11035
|
* Events service.
|
|
11105
11036
|
* @module purecloud-platform-client-v2/api/EventsApi
|
|
11106
|
-
* @version
|
|
11037
|
+
* @version 194.0.0
|
|
11107
11038
|
*/ /**
|
|
11108
11039
|
* Constructs a new EventsApi.
|
|
11109
11040
|
* @alias module:purecloud-platform-client-v2/api/EventsApi
|
|
@@ -11128,7 +11059,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
11128
11059
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postEventsUsersRoutingstatus';}return this.apiClient.callApi('/api/v2/events/users/routingstatus','POST',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var ExternalContactsApi=/*#__PURE__*/function(){/**
|
|
11129
11060
|
* ExternalContacts service.
|
|
11130
11061
|
* @module purecloud-platform-client-v2/api/ExternalContactsApi
|
|
11131
|
-
* @version
|
|
11062
|
+
* @version 194.0.0
|
|
11132
11063
|
*/ /**
|
|
11133
11064
|
* Constructs a new ExternalContactsApi.
|
|
11134
11065
|
* @alias module:purecloud-platform-client-v2/api/ExternalContactsApi
|
|
@@ -11255,10 +11186,10 @@ if(schemaId===undefined||schemaId===null){throw'Missing the required parameter "
|
|
|
11255
11186
|
*
|
|
11256
11187
|
* @param {String} externalOrganizationId External Organization ID
|
|
11257
11188
|
* @param {Object} opts Optional parameters
|
|
11258
|
-
* @param {
|
|
11189
|
+
* @param {Array.<String>} opts.expand which fields, if any, to expand (externalDataSources)
|
|
11259
11190
|
* @param {Boolean} opts.includeTrustors (true or false) whether or not to include trustor information embedded in the externalOrganization
|
|
11260
11191
|
*/},{key:"getExternalcontactsOrganization",value:function getExternalcontactsOrganization(externalOrganizationId,opts){opts=opts||{};// verify the required parameter 'externalOrganizationId' is set
|
|
11261
|
-
if(externalOrganizationId===undefined||externalOrganizationId===null){throw'Missing the required parameter "externalOrganizationId" when calling getExternalcontactsOrganization';}return this.apiClient.callApi('/api/v2/externalcontacts/organizations/{externalOrganizationId}','GET',{'externalOrganizationId':externalOrganizationId},{'expand':opts['expand'],'includeTrustors':opts['includeTrustors']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
11192
|
+
if(externalOrganizationId===undefined||externalOrganizationId===null){throw'Missing the required parameter "externalOrganizationId" when calling getExternalcontactsOrganization';}return this.apiClient.callApi('/api/v2/externalcontacts/organizations/{externalOrganizationId}','GET',{'externalOrganizationId':externalOrganizationId},{'expand':this.apiClient.buildCollectionParam(opts['expand'],'multi'),'includeTrustors':opts['includeTrustors']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
11262
11193
|
* Search for external contacts in an external organization
|
|
11263
11194
|
*
|
|
11264
11195
|
* @param {String} externalOrganizationId External Organization ID
|
|
@@ -11295,10 +11226,10 @@ if(externalOrganizationId===undefined||externalOrganizationId===null){throw'Miss
|
|
|
11295
11226
|
* @param {Object} opts Optional parameters
|
|
11296
11227
|
* @param {Number} opts.pageSize Page size (limited to fetching first 1,000 records; pageNumber * pageSize must be <= 1,000) (default to 20)
|
|
11297
11228
|
* @param {Number} opts.pageNumber Page number (limited to fetching first 1,000 records; pageNumber * pageSize must be <= 1,000) (default to 1)
|
|
11298
|
-
* @param {
|
|
11229
|
+
* @param {Array.<String>} opts.expand which fields, if any, to expand
|
|
11299
11230
|
* @param {String} opts.sortOrder The Relationship field to sort by. Any of: [createDate, relationship]. Direction: [asc, desc]. e.g. createDate:asc, relationship:desc
|
|
11300
11231
|
*/},{key:"getExternalcontactsOrganizationRelationships",value:function getExternalcontactsOrganizationRelationships(externalOrganizationId,opts){opts=opts||{};// verify the required parameter 'externalOrganizationId' is set
|
|
11301
|
-
if(externalOrganizationId===undefined||externalOrganizationId===null){throw'Missing the required parameter "externalOrganizationId" when calling getExternalcontactsOrganizationRelationships';}return this.apiClient.callApi('/api/v2/externalcontacts/organizations/{externalOrganizationId}/relationships','GET',{'externalOrganizationId':externalOrganizationId},{'pageSize':opts['pageSize'],'pageNumber':opts['pageNumber'],'expand':opts['expand'],'sortOrder':opts['sortOrder']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
11232
|
+
if(externalOrganizationId===undefined||externalOrganizationId===null){throw'Missing the required parameter "externalOrganizationId" when calling getExternalcontactsOrganizationRelationships';}return this.apiClient.callApi('/api/v2/externalcontacts/organizations/{externalOrganizationId}/relationships','GET',{'externalOrganizationId':externalOrganizationId},{'pageSize':opts['pageSize'],'pageNumber':opts['pageNumber'],'expand':this.apiClient.buildCollectionParam(opts['expand'],'multi'),'sortOrder':opts['sortOrder']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
11302
11233
|
* Search for external organizations
|
|
11303
11234
|
*
|
|
11304
11235
|
* @param {Object} opts Optional parameters
|
|
@@ -11334,9 +11265,9 @@ if(schemaId===undefined||schemaId===null){throw'Missing the required parameter "
|
|
|
11334
11265
|
*
|
|
11335
11266
|
* @param {String} relationshipId Relationship Id
|
|
11336
11267
|
* @param {Object} opts Optional parameters
|
|
11337
|
-
* @param {
|
|
11268
|
+
* @param {Array.<String>} opts.expand which fields, if any, to expand
|
|
11338
11269
|
*/},{key:"getExternalcontactsRelationship",value:function getExternalcontactsRelationship(relationshipId,opts){opts=opts||{};// verify the required parameter 'relationshipId' is set
|
|
11339
|
-
if(relationshipId===undefined||relationshipId===null){throw'Missing the required parameter "relationshipId" when calling getExternalcontactsRelationship';}return this.apiClient.callApi('/api/v2/externalcontacts/relationships/{relationshipId}','GET',{'relationshipId':relationshipId},{'expand':opts['expand']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
11270
|
+
if(relationshipId===undefined||relationshipId===null){throw'Missing the required parameter "relationshipId" when calling getExternalcontactsRelationship';}return this.apiClient.callApi('/api/v2/externalcontacts/relationships/{relationshipId}','GET',{'relationshipId':relationshipId},{'expand':this.apiClient.buildCollectionParam(opts['expand'],'multi')},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
11340
11271
|
* Look up contacts and externalOrganizations based on an attribute. Maximum of 25 values returned.
|
|
11341
11272
|
*
|
|
11342
11273
|
* @param {String} lookupVal User supplied value to lookup contacts/externalOrganizations (supports email addresses, e164 phone numbers, Twitter screen names)
|
|
@@ -11583,7 +11514,7 @@ if(relationshipId===undefined||relationshipId===null){throw'Missing the required
|
|
|
11583
11514
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putExternalcontactsRelationship';}return this.apiClient.callApi('/api/v2/externalcontacts/relationships/{relationshipId}','PUT',{'relationshipId':relationshipId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var FaxApi=/*#__PURE__*/function(){/**
|
|
11584
11515
|
* Fax service.
|
|
11585
11516
|
* @module purecloud-platform-client-v2/api/FaxApi
|
|
11586
|
-
* @version
|
|
11517
|
+
* @version 194.0.0
|
|
11587
11518
|
*/ /**
|
|
11588
11519
|
* Constructs a new FaxApi.
|
|
11589
11520
|
* @alias module:purecloud-platform-client-v2/api/FaxApi
|
|
@@ -11632,7 +11563,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
11632
11563
|
*/},{key:"putFaxSettings",value:function putFaxSettings(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/fax/settings','PUT',{},{},{},{},opts['body'],['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var FlowsApi=/*#__PURE__*/function(){/**
|
|
11633
11564
|
* Flows service.
|
|
11634
11565
|
* @module purecloud-platform-client-v2/api/FlowsApi
|
|
11635
|
-
* @version
|
|
11566
|
+
* @version 194.0.0
|
|
11636
11567
|
*/ /**
|
|
11637
11568
|
* Constructs a new FlowsApi.
|
|
11638
11569
|
* @alias module:purecloud-platform-client-v2/api/FlowsApi
|
|
@@ -11680,7 +11611,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
11680
11611
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postAnalyticsFlowsObservationsQuery';}return this.apiClient.callApi('/api/v2/analytics/flows/observations/query','POST',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var GamificationApi=/*#__PURE__*/function(){/**
|
|
11681
11612
|
* Gamification service.
|
|
11682
11613
|
* @module purecloud-platform-client-v2/api/GamificationApi
|
|
11683
|
-
* @version
|
|
11614
|
+
* @version 194.0.0
|
|
11684
11615
|
*/ /**
|
|
11685
11616
|
* Constructs a new GamificationApi.
|
|
11686
11617
|
* @alias module:purecloud-platform-client-v2/api/GamificationApi
|
|
@@ -12220,7 +12151,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
12220
12151
|
if(status===undefined||status===null){throw'Missing the required parameter "status" when calling putGamificationStatus';}return this.apiClient.callApi('/api/v2/gamification/status','PUT',{},{},{},{},status,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var GeneralDataProtectionRegulationApi=/*#__PURE__*/function(){/**
|
|
12221
12152
|
* GeneralDataProtectionRegulation service.
|
|
12222
12153
|
* @module purecloud-platform-client-v2/api/GeneralDataProtectionRegulationApi
|
|
12223
|
-
* @version
|
|
12154
|
+
* @version 194.0.0
|
|
12224
12155
|
*/ /**
|
|
12225
12156
|
* Constructs a new GeneralDataProtectionRegulationApi.
|
|
12226
12157
|
* @alias module:purecloud-platform-client-v2/api/GeneralDataProtectionRegulationApi
|
|
@@ -12255,7 +12186,7 @@ if(searchValue===undefined||searchValue===null){throw'Missing the required param
|
|
|
12255
12186
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postGdprRequests';}return this.apiClient.callApi('/api/v2/gdpr/requests','POST',{},{'deleteConfirmed':opts['deleteConfirmed']},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var GeolocationApi=/*#__PURE__*/function(){/**
|
|
12256
12187
|
* Geolocation service.
|
|
12257
12188
|
* @module purecloud-platform-client-v2/api/GeolocationApi
|
|
12258
|
-
* @version
|
|
12189
|
+
* @version 194.0.0
|
|
12259
12190
|
*/ /**
|
|
12260
12191
|
* Constructs a new GeolocationApi.
|
|
12261
12192
|
* @alias module:purecloud-platform-client-v2/api/GeolocationApi
|
|
@@ -12289,7 +12220,7 @@ if(clientId===undefined||clientId===null){throw'Missing the required parameter "
|
|
|
12289
12220
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling patchUserGeolocation';}return this.apiClient.callApi('/api/v2/users/{userId}/geolocations/{clientId}','PATCH',{'userId':userId,'clientId':clientId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var GreetingsApi=/*#__PURE__*/function(){/**
|
|
12290
12221
|
* Greetings service.
|
|
12291
12222
|
* @module purecloud-platform-client-v2/api/GreetingsApi
|
|
12292
|
-
* @version
|
|
12223
|
+
* @version 194.0.0
|
|
12293
12224
|
*/ /**
|
|
12294
12225
|
* Constructs a new GreetingsApi.
|
|
12295
12226
|
* @alias module:purecloud-platform-client-v2/api/GreetingsApi
|
|
@@ -12396,7 +12327,7 @@ if(userId===undefined||userId===null){throw'Missing the required parameter "user
|
|
|
12396
12327
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putUserGreetingsDefaults';}return this.apiClient.callApi('/api/v2/users/{userId}/greetings/defaults','PUT',{'userId':userId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var GroupsApi=/*#__PURE__*/function(){/**
|
|
12397
12328
|
* Groups service.
|
|
12398
12329
|
* @module purecloud-platform-client-v2/api/GroupsApi
|
|
12399
|
-
* @version
|
|
12330
|
+
* @version 194.0.0
|
|
12400
12331
|
*/ /**
|
|
12401
12332
|
* Constructs a new GroupsApi.
|
|
12402
12333
|
* @alias module:purecloud-platform-client-v2/api/GroupsApi
|
|
@@ -12529,7 +12460,7 @@ if(groupId===undefined||groupId===null){throw'Missing the required parameter "gr
|
|
|
12529
12460
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putGroupDynamicsettings';}return this.apiClient.callApi('/api/v2/groups/{groupId}/dynamicsettings','PUT',{'groupId':groupId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var IdentityProviderApi=/*#__PURE__*/function(){/**
|
|
12530
12461
|
* IdentityProvider service.
|
|
12531
12462
|
* @module purecloud-platform-client-v2/api/IdentityProviderApi
|
|
12532
|
-
* @version
|
|
12463
|
+
* @version 194.0.0
|
|
12533
12464
|
*/ /**
|
|
12534
12465
|
* Constructs a new IdentityProviderApi.
|
|
12535
12466
|
* @alias module:purecloud-platform-client-v2/api/IdentityProviderApi
|
|
@@ -12685,7 +12616,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
12685
12616
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putIdentityprovidersSalesforce';}return this.apiClient.callApi('/api/v2/identityproviders/salesforce','PUT',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var InfrastructureAsCodeApi=/*#__PURE__*/function(){/**
|
|
12686
12617
|
* InfrastructureAsCode service.
|
|
12687
12618
|
* @module purecloud-platform-client-v2/api/InfrastructureAsCodeApi
|
|
12688
|
-
* @version
|
|
12619
|
+
* @version 194.0.0
|
|
12689
12620
|
*/ /**
|
|
12690
12621
|
* Constructs a new InfrastructureAsCodeApi.
|
|
12691
12622
|
* @alias module:purecloud-platform-client-v2/api/InfrastructureAsCodeApi
|
|
@@ -12739,7 +12670,7 @@ if(jobId===undefined||jobId===null){throw'Missing the required parameter "jobId"
|
|
|
12739
12670
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postInfrastructureascodeJobs';}return this.apiClient.callApi('/api/v2/infrastructureascode/jobs','POST',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var IntegrationsApi=/*#__PURE__*/function(){/**
|
|
12740
12671
|
* Integrations service.
|
|
12741
12672
|
* @module purecloud-platform-client-v2/api/IntegrationsApi
|
|
12742
|
-
* @version
|
|
12673
|
+
* @version 194.0.0
|
|
12743
12674
|
*/ /**
|
|
12744
12675
|
* Constructs a new IntegrationsApi.
|
|
12745
12676
|
* @alias module:purecloud-platform-client-v2/api/IntegrationsApi
|
|
@@ -13350,7 +13281,7 @@ if(ucIntegrationId===undefined||ucIntegrationId===null){throw'Missing the requir
|
|
|
13350
13281
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putIntegrationsUnifiedcommunicationThirdpartypresences';}return this.apiClient.callApi('/api/v2/integrations/unifiedcommunications/{ucIntegrationId}/thirdpartypresences','PUT',{'ucIntegrationId':ucIntegrationId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var JourneyApi=/*#__PURE__*/function(){/**
|
|
13351
13282
|
* Journey service.
|
|
13352
13283
|
* @module purecloud-platform-client-v2/api/JourneyApi
|
|
13353
|
-
* @version
|
|
13284
|
+
* @version 194.0.0
|
|
13354
13285
|
*/ /**
|
|
13355
13286
|
* Constructs a new JourneyApi.
|
|
13356
13287
|
* @alias module:purecloud-platform-client-v2/api/JourneyApi
|
|
@@ -13738,7 +13669,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
13738
13669
|
*/},{key:"postJourneyViewsEncodingsValidate",value:function postJourneyViewsEncodingsValidate(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/journey/views/encodings/validate','POST',{},{},{},{},opts['body'],['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var KnowledgeApi=/*#__PURE__*/function(){/**
|
|
13739
13670
|
* Knowledge service.
|
|
13740
13671
|
* @module purecloud-platform-client-v2/api/KnowledgeApi
|
|
13741
|
-
* @version
|
|
13672
|
+
* @version 194.0.0
|
|
13742
13673
|
*/ /**
|
|
13743
13674
|
* Constructs a new KnowledgeApi.
|
|
13744
13675
|
* @alias module:purecloud-platform-client-v2/api/KnowledgeApi
|
|
@@ -14650,7 +14581,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
14650
14581
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postKnowledgeKnowledgebases';}return this.apiClient.callApi('/api/v2/knowledge/knowledgebases','POST',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var LanguageUnderstandingApi=/*#__PURE__*/function(){/**
|
|
14651
14582
|
* LanguageUnderstanding service.
|
|
14652
14583
|
* @module purecloud-platform-client-v2/api/LanguageUnderstandingApi
|
|
14653
|
-
* @version
|
|
14584
|
+
* @version 194.0.0
|
|
14654
14585
|
*/ /**
|
|
14655
14586
|
* Constructs a new LanguageUnderstandingApi.
|
|
14656
14587
|
* @alias module:purecloud-platform-client-v2/api/LanguageUnderstandingApi
|
|
@@ -14910,7 +14841,7 @@ if(domainVersionId===undefined||domainVersionId===null){throw'Missing the requir
|
|
|
14910
14841
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putLanguageunderstandingDomainVersion';}return this.apiClient.callApi('/api/v2/languageunderstanding/domains/{domainId}/versions/{domainVersionId}','PUT',{'domainId':domainId,'domainVersionId':domainVersionId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var LanguagesApi=/*#__PURE__*/function(){/**
|
|
14911
14842
|
* Languages service.
|
|
14912
14843
|
* @module purecloud-platform-client-v2/api/LanguagesApi
|
|
14913
|
-
* @version
|
|
14844
|
+
* @version 194.0.0
|
|
14914
14845
|
*/ /**
|
|
14915
14846
|
* Constructs a new LanguagesApi.
|
|
14916
14847
|
* @alias module:purecloud-platform-client-v2/api/LanguagesApi
|
|
@@ -14965,7 +14896,7 @@ if(userId===undefined||userId===null){throw'Missing the required parameter "user
|
|
|
14965
14896
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postLanguages';}return this.apiClient.callApi('/api/v2/languages','POST',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var LearningApi=/*#__PURE__*/function(){/**
|
|
14966
14897
|
* Learning service.
|
|
14967
14898
|
* @module purecloud-platform-client-v2/api/LearningApi
|
|
14968
|
-
* @version
|
|
14899
|
+
* @version 194.0.0
|
|
14969
14900
|
*/ /**
|
|
14970
14901
|
* Constructs a new LearningApi.
|
|
14971
14902
|
* @alias module:purecloud-platform-client-v2/api/LearningApi
|
|
@@ -15194,7 +15125,7 @@ if(moduleId===undefined||moduleId===null){throw'Missing the required parameter "
|
|
|
15194
15125
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putLearningModuleRule';}return this.apiClient.callApi('/api/v2/learning/modules/{moduleId}/rule','PUT',{'moduleId':moduleId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var LicenseApi=/*#__PURE__*/function(){/**
|
|
15195
15126
|
* License service.
|
|
15196
15127
|
* @module purecloud-platform-client-v2/api/LicenseApi
|
|
15197
|
-
* @version
|
|
15128
|
+
* @version 194.0.0
|
|
15198
15129
|
*/ /**
|
|
15199
15130
|
* Constructs a new LicenseApi.
|
|
15200
15131
|
* @alias module:purecloud-platform-client-v2/api/LicenseApi
|
|
@@ -15248,7 +15179,7 @@ if(featureName===undefined||featureName===null){throw'Missing the required param
|
|
|
15248
15179
|
*/},{key:"postLicenseUsers",value:function postLicenseUsers(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/license/users','POST',{},{},{},{},opts['body'],['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var LocationsApi=/*#__PURE__*/function(){/**
|
|
15249
15180
|
* Locations service.
|
|
15250
15181
|
* @module purecloud-platform-client-v2/api/LocationsApi
|
|
15251
|
-
* @version
|
|
15182
|
+
* @version 194.0.0
|
|
15252
15183
|
*/ /**
|
|
15253
15184
|
* Constructs a new LocationsApi.
|
|
15254
15185
|
* @alias module:purecloud-platform-client-v2/api/LocationsApi
|
|
@@ -15307,7 +15238,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
15307
15238
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postLocationsSearch';}return this.apiClient.callApi('/api/v2/locations/search','POST',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var LogCaptureApi=/*#__PURE__*/function(){/**
|
|
15308
15239
|
* LogCapture service.
|
|
15309
15240
|
* @module purecloud-platform-client-v2/api/LogCaptureApi
|
|
15310
|
-
* @version
|
|
15241
|
+
* @version 194.0.0
|
|
15311
15242
|
*/ /**
|
|
15312
15243
|
* Constructs a new LogCaptureApi.
|
|
15313
15244
|
* @alias module:purecloud-platform-client-v2/api/LogCaptureApi
|
|
@@ -15357,7 +15288,7 @@ if(userId===undefined||userId===null){throw'Missing the required parameter "user
|
|
|
15357
15288
|
if(userId===undefined||userId===null){throw'Missing the required parameter "userId" when calling postDiagnosticsLogcaptureBrowserUser';}return this.apiClient.callApi('/api/v2/diagnostics/logcapture/browser/users/{userId}','POST',{'userId':userId},{},{},{},opts['body'],['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var MessagingApi=/*#__PURE__*/function(){/**
|
|
15358
15289
|
* Messaging service.
|
|
15359
15290
|
* @module purecloud-platform-client-v2/api/MessagingApi
|
|
15360
|
-
* @version
|
|
15291
|
+
* @version 194.0.0
|
|
15361
15292
|
*/ /**
|
|
15362
15293
|
* Constructs a new MessagingApi.
|
|
15363
15294
|
* @alias module:purecloud-platform-client-v2/api/MessagingApi
|
|
@@ -15447,7 +15378,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
15447
15378
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putMessagingSettingsDefault';}return this.apiClient.callApi('/api/v2/messaging/settings/default','PUT',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var MobileDevicesApi=/*#__PURE__*/function(){/**
|
|
15448
15379
|
* MobileDevices service.
|
|
15449
15380
|
* @module purecloud-platform-client-v2/api/MobileDevicesApi
|
|
15450
|
-
* @version
|
|
15381
|
+
* @version 194.0.0
|
|
15451
15382
|
*/ /**
|
|
15452
15383
|
* Constructs a new MobileDevicesApi.
|
|
15453
15384
|
* @alias module:purecloud-platform-client-v2/api/MobileDevicesApi
|
|
@@ -15486,7 +15417,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
15486
15417
|
if(deviceId===undefined||deviceId===null){throw'Missing the required parameter "deviceId" when calling putMobiledevice';}return this.apiClient.callApi('/api/v2/mobiledevices/{deviceId}','PUT',{'deviceId':deviceId},{},{},{},opts['body'],['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var NotificationsApi=/*#__PURE__*/function(){/**
|
|
15487
15418
|
* Notifications service.
|
|
15488
15419
|
* @module purecloud-platform-client-v2/api/NotificationsApi
|
|
15489
|
-
* @version
|
|
15420
|
+
* @version 194.0.0
|
|
15490
15421
|
*/ /**
|
|
15491
15422
|
* Constructs a new NotificationsApi.
|
|
15492
15423
|
* @alias module:purecloud-platform-client-v2/api/NotificationsApi
|
|
@@ -15543,7 +15474,7 @@ if(channelId===undefined||channelId===null){throw'Missing the required parameter
|
|
|
15543
15474
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putNotificationsChannelSubscriptions';}return this.apiClient.callApi('/api/v2/notifications/channels/{channelId}/subscriptions','PUT',{'channelId':channelId},{'ignoreErrors':opts['ignoreErrors']},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var OAuthApi=/*#__PURE__*/function(){/**
|
|
15544
15475
|
* OAuth service.
|
|
15545
15476
|
* @module purecloud-platform-client-v2/api/OAuthApi
|
|
15546
|
-
* @version
|
|
15477
|
+
* @version 194.0.0
|
|
15547
15478
|
*/ /**
|
|
15548
15479
|
* Constructs a new OAuthApi.
|
|
15549
15480
|
* @alias module:purecloud-platform-client-v2/api/OAuthApi
|
|
@@ -15628,7 +15559,7 @@ if(clientId===undefined||clientId===null){throw'Missing the required parameter "
|
|
|
15628
15559
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putOauthClient';}return this.apiClient.callApi('/api/v2/oauth/clients/{clientId}','PUT',{'clientId':clientId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var ObjectsApi=/*#__PURE__*/function(){/**
|
|
15629
15560
|
* Objects service.
|
|
15630
15561
|
* @module purecloud-platform-client-v2/api/ObjectsApi
|
|
15631
|
-
* @version
|
|
15562
|
+
* @version 194.0.0
|
|
15632
15563
|
*/ /**
|
|
15633
15564
|
* Constructs a new ObjectsApi.
|
|
15634
15565
|
* @alias module:purecloud-platform-client-v2/api/ObjectsApi
|
|
@@ -15699,7 +15630,7 @@ if(divisionId===undefined||divisionId===null){throw'Missing the required paramet
|
|
|
15699
15630
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putAuthorizationDivision';}return this.apiClient.callApi('/api/v2/authorization/divisions/{divisionId}','PUT',{'divisionId':divisionId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var OperationalEventsApi=/*#__PURE__*/function(){/**
|
|
15700
15631
|
* OperationalEvents service.
|
|
15701
15632
|
* @module purecloud-platform-client-v2/api/OperationalEventsApi
|
|
15702
|
-
* @version
|
|
15633
|
+
* @version 194.0.0
|
|
15703
15634
|
*/ /**
|
|
15704
15635
|
* Constructs a new OperationalEventsApi.
|
|
15705
15636
|
* @alias module:purecloud-platform-client-v2/api/OperationalEventsApi
|
|
@@ -15717,7 +15648,7 @@ if(eventDefinitionId===undefined||eventDefinitionId===null){throw'Missing the re
|
|
|
15717
15648
|
*/},{key:"getUsageEventsDefinitions",value:function getUsageEventsDefinitions(){return this.apiClient.callApi('/api/v2/usage/events/definitions','GET',{},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var OrganizationApi=/*#__PURE__*/function(){/**
|
|
15718
15649
|
* Organization service.
|
|
15719
15650
|
* @module purecloud-platform-client-v2/api/OrganizationApi
|
|
15720
|
-
* @version
|
|
15651
|
+
* @version 194.0.0
|
|
15721
15652
|
*/ /**
|
|
15722
15653
|
* Constructs a new OrganizationApi.
|
|
15723
15654
|
* @alias module:purecloud-platform-client-v2/api/OrganizationApi
|
|
@@ -15822,7 +15753,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
15822
15753
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putOrganizationsWhitelist';}return this.apiClient.callApi('/api/v2/organizations/whitelist','PUT',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var OrganizationAuthorizationApi=/*#__PURE__*/function(){/**
|
|
15823
15754
|
* OrganizationAuthorization service.
|
|
15824
15755
|
* @module purecloud-platform-client-v2/api/OrganizationAuthorizationApi
|
|
15825
|
-
* @version
|
|
15756
|
+
* @version 194.0.0
|
|
15826
15757
|
*/ /**
|
|
15827
15758
|
* Constructs a new OrganizationAuthorizationApi.
|
|
15828
15759
|
* @alias module:purecloud-platform-client-v2/api/OrganizationAuthorizationApi
|
|
@@ -16145,7 +16076,7 @@ if(trustorOrgId===undefined||trustorOrgId===null){throw'Missing the required par
|
|
|
16145
16076
|
if(trusteeUserId===undefined||trusteeUserId===null){throw'Missing the required parameter "trusteeUserId" when calling putOrgauthorizationTrustorUser';}return this.apiClient.callApi('/api/v2/orgauthorization/trustors/{trustorOrgId}/users/{trusteeUserId}','PUT',{'trustorOrgId':trustorOrgId,'trusteeUserId':trusteeUserId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var OutboundApi=/*#__PURE__*/function(){/**
|
|
16146
16077
|
* Outbound service.
|
|
16147
16078
|
* @module purecloud-platform-client-v2/api/OutboundApi
|
|
16148
|
-
* @version
|
|
16079
|
+
* @version 194.0.0
|
|
16149
16080
|
*/ /**
|
|
16150
16081
|
* Constructs a new OutboundApi.
|
|
16151
16082
|
* @alias module:purecloud-platform-client-v2/api/OutboundApi
|
|
@@ -16381,6 +16312,18 @@ if(campaignId===undefined||campaignId===null){throw'Missing the required paramet
|
|
|
16381
16312
|
* @param {String} campaignId Campaign ID
|
|
16382
16313
|
*/},{key:"getOutboundCampaignInteractions",value:function getOutboundCampaignInteractions(campaignId){// verify the required parameter 'campaignId' is set
|
|
16383
16314
|
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']);}/**
|
|
16315
|
+
* Get line distribution information for campaigns using same Edge Group or Site as given campaign
|
|
16316
|
+
*
|
|
16317
|
+
* @param {String} campaignId Campaign ID
|
|
16318
|
+
* @param {Object} opts Optional parameters
|
|
16319
|
+
* @param {Boolean} opts.includeOnlyActiveCampaigns If true will return only active Campaigns (default to true)
|
|
16320
|
+
* @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.
|
|
16321
|
+
* @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.
|
|
16322
|
+
* @param {Boolean} opts.useWeight Enable usage of weight, this value overrides current Campaign's setting in line distribution calculations
|
|
16323
|
+
* @param {Number} opts.relativeWeight Relative weight to be used in line distribution calculations instead of current Campaign's relative weight
|
|
16324
|
+
* @param {Number} opts.outboundLineCount The number of outbound lines to be used in line distribution calculations, instead of current Campaign's Outbound Lines Count
|
|
16325
|
+
*/},{key:"getOutboundCampaignLinedistribution",value:function getOutboundCampaignLinedistribution(campaignId,opts){opts=opts||{};// verify the required parameter 'campaignId' is set
|
|
16326
|
+
if(campaignId===undefined||campaignId===null){throw'Missing the required parameter "campaignId" when calling getOutboundCampaignLinedistribution';}return this.apiClient.callApi('/api/v2/outbound/campaigns/{campaignId}/linedistribution','GET',{'campaignId':campaignId},{'includeOnlyActiveCampaigns':opts['includeOnlyActiveCampaigns'],'edgeGroupId':opts['edgeGroupId'],'siteId':opts['siteId'],'useWeight':opts['useWeight'],'relativeWeight':opts['relativeWeight'],'outboundLineCount':opts['outboundLineCount']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
16384
16327
|
* Get campaign progress
|
|
16385
16328
|
*
|
|
16386
16329
|
* @param {String} campaignId Campaign ID
|
|
@@ -16913,6 +16856,27 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
16913
16856
|
*/},{key:"postOutboundContactlistContactsBulk",value:function postOutboundContactlistContactsBulk(contactListId,body){// verify the required parameter 'contactListId' is set
|
|
16914
16857
|
if(contactListId===undefined||contactListId===null){throw'Missing the required parameter "contactListId" when calling postOutboundContactlistContactsBulk';}// verify the required parameter 'body' is set
|
|
16915
16858
|
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']);}/**
|
|
16859
|
+
* Start an async job to delete contacts using a filter.
|
|
16860
|
+
*
|
|
16861
|
+
* @param {String} contactListId Contact List ID
|
|
16862
|
+
* @param {Object} body Contact filter information.
|
|
16863
|
+
*/},{key:"postOutboundContactlistContactsBulkRemove",value:function postOutboundContactlistContactsBulkRemove(contactListId,body){// verify the required parameter 'contactListId' is set
|
|
16864
|
+
if(contactListId===undefined||contactListId===null){throw'Missing the required parameter "contactListId" when calling postOutboundContactlistContactsBulkRemove';}// verify the required parameter 'body' is set
|
|
16865
|
+
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']);}/**
|
|
16866
|
+
* Start an async job to bulk edit contacts.
|
|
16867
|
+
*
|
|
16868
|
+
* @param {String} contactListId Contact List ID
|
|
16869
|
+
* @param {Object} body Contact bulk edit request information.
|
|
16870
|
+
*/},{key:"postOutboundContactlistContactsBulkUpdate",value:function postOutboundContactlistContactsBulkUpdate(contactListId,body){// verify the required parameter 'contactListId' is set
|
|
16871
|
+
if(contactListId===undefined||contactListId===null){throw'Missing the required parameter "contactListId" when calling postOutboundContactlistContactsBulkUpdate';}// verify the required parameter 'body' is set
|
|
16872
|
+
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']);}/**
|
|
16873
|
+
* Query contacts from a contact list.
|
|
16874
|
+
*
|
|
16875
|
+
* @param {String} contactListId Contact List ID
|
|
16876
|
+
* @param {Object} body Contact search parameters.
|
|
16877
|
+
*/},{key:"postOutboundContactlistContactsSearch",value:function postOutboundContactlistContactsSearch(contactListId,body){// verify the required parameter 'contactListId' is set
|
|
16878
|
+
if(contactListId===undefined||contactListId===null){throw'Missing the required parameter "contactListId" when calling postOutboundContactlistContactsSearch';}// verify the required parameter 'body' is set
|
|
16879
|
+
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postOutboundContactlistContactsSearch';}return this.apiClient.callApi('/api/v2/outbound/contactlists/{contactListId}/contacts/search','POST',{'contactListId':contactListId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
16916
16880
|
* Initiate the export of a contact list.
|
|
16917
16881
|
* Returns 200 if received OK.
|
|
16918
16882
|
* @param {String} contactListId ContactList ID
|
|
@@ -17184,7 +17148,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
17184
17148
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putOutboundWrapupcodemappings';}return this.apiClient.callApi('/api/v2/outbound/wrapupcodemappings','PUT',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var PresenceApi=/*#__PURE__*/function(){/**
|
|
17185
17149
|
* Presence service.
|
|
17186
17150
|
* @module purecloud-platform-client-v2/api/PresenceApi
|
|
17187
|
-
* @version
|
|
17151
|
+
* @version 194.0.0
|
|
17188
17152
|
*/ /**
|
|
17189
17153
|
* Constructs a new PresenceApi.
|
|
17190
17154
|
* @alias module:purecloud-platform-client-v2/api/PresenceApi
|
|
@@ -17357,7 +17321,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
17357
17321
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putUsersPresencesBulk';}return this.apiClient.callApi('/api/v2/users/presences/bulk','PUT',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var ProcessAutomationApi=/*#__PURE__*/function(){/**
|
|
17358
17322
|
* ProcessAutomation service.
|
|
17359
17323
|
* @module purecloud-platform-client-v2/api/ProcessAutomationApi
|
|
17360
|
-
* @version
|
|
17324
|
+
* @version 194.0.0
|
|
17361
17325
|
*/ /**
|
|
17362
17326
|
* Constructs a new ProcessAutomationApi.
|
|
17363
17327
|
* @alias module:purecloud-platform-client-v2/api/ProcessAutomationApi
|
|
@@ -17420,7 +17384,7 @@ if(triggerId===undefined||triggerId===null){throw'Missing the required parameter
|
|
|
17420
17384
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putProcessautomationTrigger';}return this.apiClient.callApi('/api/v2/processautomation/triggers/{triggerId}','PUT',{'triggerId':triggerId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var QualityApi=/*#__PURE__*/function(){/**
|
|
17421
17385
|
* Quality service.
|
|
17422
17386
|
* @module purecloud-platform-client-v2/api/QualityApi
|
|
17423
|
-
* @version
|
|
17387
|
+
* @version 194.0.0
|
|
17424
17388
|
*/ /**
|
|
17425
17389
|
* Constructs a new QualityApi.
|
|
17426
17390
|
* @alias module:purecloud-platform-client-v2/api/QualityApi
|
|
@@ -17891,7 +17855,7 @@ if(customerSurveyUrl===undefined||customerSurveyUrl===null){throw'Missing the re
|
|
|
17891
17855
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putQualitySurveysScorable';}return this.apiClient.callApi('/api/v2/quality/surveys/scorable','PUT',{},{'customerSurveyUrl':customerSurveyUrl},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var RecordingApi=/*#__PURE__*/function(){/**
|
|
17892
17856
|
* Recording service.
|
|
17893
17857
|
* @module purecloud-platform-client-v2/api/RecordingApi
|
|
17894
|
-
* @version
|
|
17858
|
+
* @version 194.0.0
|
|
17895
17859
|
*/ /**
|
|
17896
17860
|
* Constructs a new RecordingApi.
|
|
17897
17861
|
* @alias module:purecloud-platform-client-v2/api/RecordingApi
|
|
@@ -18302,7 +18266,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
18302
18266
|
*/},{key:"putRecordingsDeletionprotection",value:function putRecordingsDeletionprotection(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/recordings/deletionprotection','PUT',{},{'protect':opts['protect']},{},{},opts['body'],['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var ResponseManagementApi=/*#__PURE__*/function(){/**
|
|
18303
18267
|
* ResponseManagement service.
|
|
18304
18268
|
* @module purecloud-platform-client-v2/api/ResponseManagementApi
|
|
18305
|
-
* @version
|
|
18269
|
+
* @version 194.0.0
|
|
18306
18270
|
*/ /**
|
|
18307
18271
|
* Constructs a new ResponseManagementApi.
|
|
18308
18272
|
* @alias module:purecloud-platform-client-v2/api/ResponseManagementApi
|
|
@@ -18423,7 +18387,7 @@ if(responseAssetId===undefined||responseAssetId===null){throw'Missing the requir
|
|
|
18423
18387
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putResponsemanagementResponseasset';}return this.apiClient.callApi('/api/v2/responsemanagement/responseassets/{responseAssetId}','PUT',{'responseAssetId':responseAssetId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var RoutingApi=/*#__PURE__*/function(){/**
|
|
18424
18388
|
* Routing service.
|
|
18425
18389
|
* @module purecloud-platform-client-v2/api/RoutingApi
|
|
18426
|
-
* @version
|
|
18390
|
+
* @version 194.0.0
|
|
18427
18391
|
*/ /**
|
|
18428
18392
|
* Constructs a new RoutingApi.
|
|
18429
18393
|
* @alias module:purecloud-platform-client-v2/api/RoutingApi
|
|
@@ -19397,7 +19361,7 @@ if(userId===undefined||userId===null){throw'Missing the required parameter "user
|
|
|
19397
19361
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putUserRoutingskillsBulk';}return this.apiClient.callApi('/api/v2/users/{userId}/routingskills/bulk','PUT',{'userId':userId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var SCIMApi=/*#__PURE__*/function(){/**
|
|
19398
19362
|
* SCIM service.
|
|
19399
19363
|
* @module purecloud-platform-client-v2/api/SCIMApi
|
|
19400
|
-
* @version
|
|
19364
|
+
* @version 194.0.0
|
|
19401
19365
|
*/ /**
|
|
19402
19366
|
* Constructs a new SCIMApi.
|
|
19403
19367
|
* @alias module:purecloud-platform-client-v2/api/SCIMApi
|
|
@@ -19622,7 +19586,7 @@ if(userId===undefined||userId===null){throw'Missing the required parameter "user
|
|
|
19622
19586
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putScimV2User';}return this.apiClient.callApi('/api/v2/scim/v2/users/{userId}','PUT',{'userId':userId},{},{'If-Match':opts['ifMatch']},{},body,['PureCloud OAuth'],['application/scim+json','application/json'],['application/scim+json','application/json']);}}]);}();var ScreenRecordingApi=/*#__PURE__*/function(){/**
|
|
19623
19587
|
* ScreenRecording service.
|
|
19624
19588
|
* @module purecloud-platform-client-v2/api/ScreenRecordingApi
|
|
19625
|
-
* @version
|
|
19589
|
+
* @version 194.0.0
|
|
19626
19590
|
*/ /**
|
|
19627
19591
|
* Constructs a new ScreenRecordingApi.
|
|
19628
19592
|
* @alias module:purecloud-platform-client-v2/api/ScreenRecordingApi
|
|
@@ -19637,7 +19601,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
19637
19601
|
*/return _createClass(ScreenRecordingApi,[{key:"postScreenrecordingToken",value:function postScreenrecordingToken(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/screenrecording/token','POST',{},{},{},{},opts['body'],['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var ScriptsApi=/*#__PURE__*/function(){/**
|
|
19638
19602
|
* Scripts service.
|
|
19639
19603
|
* @module purecloud-platform-client-v2/api/ScriptsApi
|
|
19640
|
-
* @version
|
|
19604
|
+
* @version 194.0.0
|
|
19641
19605
|
*/ /**
|
|
19642
19606
|
* Constructs a new ScriptsApi.
|
|
19643
19607
|
* @alias module:purecloud-platform-client-v2/api/ScriptsApi
|
|
@@ -19773,7 +19737,7 @@ if(scriptId===undefined||scriptId===null){throw'Missing the required parameter "
|
|
|
19773
19737
|
*/},{key:"postScriptsPublished",value:function postScriptsPublished(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/scripts/published','POST',{},{'scriptDataVersion':opts['scriptDataVersion']},{},{},opts['body'],['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var SearchApi=/*#__PURE__*/function(){/**
|
|
19774
19738
|
* Search service.
|
|
19775
19739
|
* @module purecloud-platform-client-v2/api/SearchApi
|
|
19776
|
-
* @version
|
|
19740
|
+
* @version 194.0.0
|
|
19777
19741
|
*/ /**
|
|
19778
19742
|
* Constructs a new SearchApi.
|
|
19779
19743
|
* @alias module:purecloud-platform-client-v2/api/SearchApi
|
|
@@ -19933,7 +19897,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
19933
19897
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postVoicemailSearch';}return this.apiClient.callApi('/api/v2/voicemail/search','POST',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var SettingsApi=/*#__PURE__*/function(){/**
|
|
19934
19898
|
* Settings service.
|
|
19935
19899
|
* @module purecloud-platform-client-v2/api/SettingsApi
|
|
19936
|
-
* @version
|
|
19900
|
+
* @version 194.0.0
|
|
19937
19901
|
*/ /**
|
|
19938
19902
|
* Constructs a new SettingsApi.
|
|
19939
19903
|
* @alias module:purecloud-platform-client-v2/api/SettingsApi
|
|
@@ -19961,7 +19925,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
19961
19925
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling patchSettingsExecutiondata';}return this.apiClient.callApi('/api/v2/settings/executiondata','PATCH',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var SpeechTextAnalyticsApi=/*#__PURE__*/function(){/**
|
|
19962
19926
|
* SpeechTextAnalytics service.
|
|
19963
19927
|
* @module purecloud-platform-client-v2/api/SpeechTextAnalyticsApi
|
|
19964
|
-
* @version
|
|
19928
|
+
* @version 194.0.0
|
|
19965
19929
|
*/ /**
|
|
19966
19930
|
* Constructs a new SpeechTextAnalyticsApi.
|
|
19967
19931
|
* @alias module:purecloud-platform-client-v2/api/SpeechTextAnalyticsApi
|
|
@@ -20205,7 +20169,7 @@ if(topicId===undefined||topicId===null){throw'Missing the required parameter "to
|
|
|
20205
20169
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putSpeechandtextanalyticsTopic';}return this.apiClient.callApi('/api/v2/speechandtextanalytics/topics/{topicId}','PUT',{'topicId':topicId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var StationsApi=/*#__PURE__*/function(){/**
|
|
20206
20170
|
* Stations service.
|
|
20207
20171
|
* @module purecloud-platform-client-v2/api/StationsApi
|
|
20208
|
-
* @version
|
|
20172
|
+
* @version 194.0.0
|
|
20209
20173
|
*/ /**
|
|
20210
20174
|
* Constructs a new StationsApi.
|
|
20211
20175
|
* @alias module:purecloud-platform-client-v2/api/StationsApi
|
|
@@ -20237,7 +20201,7 @@ if(stationId===undefined||stationId===null){throw'Missing the required parameter
|
|
|
20237
20201
|
*/},{key:"getStations",value:function getStations(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/stations','GET',{},{'pageSize':opts['pageSize'],'pageNumber':opts['pageNumber'],'sortBy':opts['sortBy'],'name':opts['name'],'userSelectable':opts['userSelectable'],'webRtcUserId':opts['webRtcUserId'],'id':opts['id'],'lineAppearanceId':opts['lineAppearanceId']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var SuggestApi=/*#__PURE__*/function(){/**
|
|
20238
20202
|
* Suggest service.
|
|
20239
20203
|
* @module purecloud-platform-client-v2/api/SuggestApi
|
|
20240
|
-
* @version
|
|
20204
|
+
* @version 194.0.0
|
|
20241
20205
|
*/ /**
|
|
20242
20206
|
* Constructs a new SuggestApi.
|
|
20243
20207
|
* @alias module:purecloud-platform-client-v2/api/SuggestApi
|
|
@@ -20277,7 +20241,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
20277
20241
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postSearchSuggest';}return this.apiClient.callApi('/api/v2/search/suggest','POST',{},{'profile':opts['profile']},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var TaskManagementApi=/*#__PURE__*/function(){/**
|
|
20278
20242
|
* TaskManagement service.
|
|
20279
20243
|
* @module purecloud-platform-client-v2/api/TaskManagementApi
|
|
20280
|
-
* @version
|
|
20244
|
+
* @version 194.0.0
|
|
20281
20245
|
*/ /**
|
|
20282
20246
|
* Constructs a new TaskManagementApi.
|
|
20283
20247
|
* @alias module:purecloud-platform-client-v2/api/TaskManagementApi
|
|
@@ -20606,7 +20570,7 @@ if(schemaId===undefined||schemaId===null){throw'Missing the required parameter "
|
|
|
20606
20570
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putTaskmanagementWorkitemsSchema';}return this.apiClient.callApi('/api/v2/taskmanagement/workitems/schemas/{schemaId}','PUT',{'schemaId':schemaId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var TeamsApi=/*#__PURE__*/function(){/**
|
|
20607
20571
|
* Teams service.
|
|
20608
20572
|
* @module purecloud-platform-client-v2/api/TeamsApi
|
|
20609
|
-
* @version
|
|
20573
|
+
* @version 194.0.0
|
|
20610
20574
|
*/ /**
|
|
20611
20575
|
* Constructs a new TeamsApi.
|
|
20612
20576
|
* @alias module:purecloud-platform-client-v2/api/TeamsApi
|
|
@@ -20684,7 +20648,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
20684
20648
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postTeamsSearch';}return this.apiClient.callApi('/api/v2/teams/search','POST',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var TelephonyApi=/*#__PURE__*/function(){/**
|
|
20685
20649
|
* Telephony service.
|
|
20686
20650
|
* @module purecloud-platform-client-v2/api/TelephonyApi
|
|
20687
|
-
* @version
|
|
20651
|
+
* @version 194.0.0
|
|
20688
20652
|
*/ /**
|
|
20689
20653
|
* Constructs a new TelephonyApi.
|
|
20690
20654
|
* @alias module:purecloud-platform-client-v2/api/TelephonyApi
|
|
@@ -20731,7 +20695,7 @@ if(downloadId===undefined||downloadId===null){throw'Missing the required paramet
|
|
|
20731
20695
|
if(sIPSearchPublicRequest===undefined||sIPSearchPublicRequest===null){throw'Missing the required parameter "sIPSearchPublicRequest" when calling postTelephonySiptracesDownload';}return this.apiClient.callApi('/api/v2/telephony/siptraces/download','POST',{},{},{},{},sIPSearchPublicRequest,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var TelephonyProvidersEdgeApi=/*#__PURE__*/function(){/**
|
|
20732
20696
|
* TelephonyProvidersEdge service.
|
|
20733
20697
|
* @module purecloud-platform-client-v2/api/TelephonyProvidersEdgeApi
|
|
20734
|
-
* @version
|
|
20698
|
+
* @version 194.0.0
|
|
20735
20699
|
*/ /**
|
|
20736
20700
|
* Constructs a new TelephonyProvidersEdgeApi.
|
|
20737
20701
|
* @alias module:purecloud-platform-client-v2/api/TelephonyProvidersEdgeApi
|
|
@@ -21541,7 +21505,7 @@ if(trunkBaseSettingsId===undefined||trunkBaseSettingsId===null){throw'Missing th
|
|
|
21541
21505
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putTelephonyProvidersEdgesTrunkbasesetting';}return this.apiClient.callApi('/api/v2/telephony/providers/edges/trunkbasesettings/{trunkBaseSettingsId}','PUT',{'trunkBaseSettingsId':trunkBaseSettingsId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var TextbotsApi=/*#__PURE__*/function(){/**
|
|
21542
21506
|
* Textbots service.
|
|
21543
21507
|
* @module purecloud-platform-client-v2/api/TextbotsApi
|
|
21544
|
-
* @version
|
|
21508
|
+
* @version 194.0.0
|
|
21545
21509
|
*/ /**
|
|
21546
21510
|
* Constructs a new TextbotsApi.
|
|
21547
21511
|
* @alias module:purecloud-platform-client-v2/api/TextbotsApi
|
|
@@ -21576,7 +21540,7 @@ if(launchRequest===undefined||launchRequest===null){throw'Missing the required p
|
|
|
21576
21540
|
if(postTextRequest===undefined||postTextRequest===null){throw'Missing the required parameter "postTextRequest" when calling postTextbotsBotsExecute';}return this.apiClient.callApi('/api/v2/textbots/bots/execute','POST',{},{},{},{},postTextRequest,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var TokensApi=/*#__PURE__*/function(){/**
|
|
21577
21541
|
* Tokens service.
|
|
21578
21542
|
* @module purecloud-platform-client-v2/api/TokensApi
|
|
21579
|
-
* @version
|
|
21543
|
+
* @version 194.0.0
|
|
21580
21544
|
*/ /**
|
|
21581
21545
|
* Constructs a new TokensApi.
|
|
21582
21546
|
* @alias module:purecloud-platform-client-v2/api/TokensApi
|
|
@@ -21610,7 +21574,7 @@ if(userId===undefined||userId===null){throw'Missing the required parameter "user
|
|
|
21610
21574
|
*/},{key:"putTokensTimeout",value:function putTokensTimeout(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/tokens/timeout','PUT',{},{},{},{},opts['body'],['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var UploadsApi=/*#__PURE__*/function(){/**
|
|
21611
21575
|
* Uploads service.
|
|
21612
21576
|
* @module purecloud-platform-client-v2/api/UploadsApi
|
|
21613
|
-
* @version
|
|
21577
|
+
* @version 194.0.0
|
|
21614
21578
|
*/ /**
|
|
21615
21579
|
* Constructs a new UploadsApi.
|
|
21616
21580
|
* @alias module:purecloud-platform-client-v2/api/UploadsApi
|
|
@@ -21676,7 +21640,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
21676
21640
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postUploadsWorkforcemanagementHistoricaldataCsv';}return this.apiClient.callApi('/api/v2/uploads/workforcemanagement/historicaldata/csv','POST',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var UsageApi=/*#__PURE__*/function(){/**
|
|
21677
21641
|
* Usage service.
|
|
21678
21642
|
* @module purecloud-platform-client-v2/api/UsageApi
|
|
21679
|
-
* @version
|
|
21643
|
+
* @version 194.0.0
|
|
21680
21644
|
*/ /**
|
|
21681
21645
|
* Constructs a new UsageApi.
|
|
21682
21646
|
* @alias module:purecloud-platform-client-v2/api/UsageApi
|
|
@@ -21730,7 +21694,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
21730
21694
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postUsageSimplesearch';}return this.apiClient.callApi('/api/v2/usage/simplesearch','POST',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var UserRecordingsApi=/*#__PURE__*/function(){/**
|
|
21731
21695
|
* UserRecordings service.
|
|
21732
21696
|
* @module purecloud-platform-client-v2/api/UserRecordingsApi
|
|
21733
|
-
* @version
|
|
21697
|
+
* @version 194.0.0
|
|
21734
21698
|
*/ /**
|
|
21735
21699
|
* Constructs a new UserRecordingsApi.
|
|
21736
21700
|
* @alias module:purecloud-platform-client-v2/api/UserRecordingsApi
|
|
@@ -21779,7 +21743,7 @@ if(recordingId===undefined||recordingId===null){throw'Missing the required param
|
|
|
21779
21743
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putUserrecording';}return this.apiClient.callApi('/api/v2/userrecordings/{recordingId}','PUT',{'recordingId':recordingId},{'expand':this.apiClient.buildCollectionParam(opts['expand'],'multi')},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var UsersApi=/*#__PURE__*/function(){/**
|
|
21780
21744
|
* Users service.
|
|
21781
21745
|
* @module purecloud-platform-client-v2/api/UsersApi
|
|
21782
|
-
* @version
|
|
21746
|
+
* @version 194.0.0
|
|
21783
21747
|
*/ /**
|
|
21784
21748
|
* Constructs a new UsersApi.
|
|
21785
21749
|
* @alias module:purecloud-platform-client-v2/api/UsersApi
|
|
@@ -22441,7 +22405,7 @@ if(verifierId===undefined||verifierId===null){throw'Missing the required paramet
|
|
|
22441
22405
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putUserVerifier';}return this.apiClient.callApi('/api/v2/users/{userId}/verifiers/{verifierId}','PUT',{'userId':userId,'verifierId':verifierId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var UtilitiesApi=/*#__PURE__*/function(){/**
|
|
22442
22406
|
* Utilities service.
|
|
22443
22407
|
* @module purecloud-platform-client-v2/api/UtilitiesApi
|
|
22444
|
-
* @version
|
|
22408
|
+
* @version 194.0.0
|
|
22445
22409
|
*/ /**
|
|
22446
22410
|
* Constructs a new UtilitiesApi.
|
|
22447
22411
|
* @alias module:purecloud-platform-client-v2/api/UtilitiesApi
|
|
@@ -22468,7 +22432,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
22468
22432
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postCertificateDetails';}return this.apiClient.callApi('/api/v2/certificate/details','POST',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var VoicemailApi=/*#__PURE__*/function(){/**
|
|
22469
22433
|
* Voicemail service.
|
|
22470
22434
|
* @module purecloud-platform-client-v2/api/VoicemailApi
|
|
22471
|
-
* @version
|
|
22435
|
+
* @version 194.0.0
|
|
22472
22436
|
*/ /**
|
|
22473
22437
|
* Constructs a new VoicemailApi.
|
|
22474
22438
|
* @alias module:purecloud-platform-client-v2/api/VoicemailApi
|
|
@@ -22617,7 +22581,7 @@ if(userId===undefined||userId===null){throw'Missing the required parameter "user
|
|
|
22617
22581
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putVoicemailUserpolicy';}return this.apiClient.callApi('/api/v2/voicemail/userpolicies/{userId}','PUT',{'userId':userId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var WebChatApi=/*#__PURE__*/function(){/**
|
|
22618
22582
|
* WebChat service.
|
|
22619
22583
|
* @module purecloud-platform-client-v2/api/WebChatApi
|
|
22620
|
-
* @version
|
|
22584
|
+
* @version 194.0.0
|
|
22621
22585
|
*/ /**
|
|
22622
22586
|
* Constructs a new WebChatApi.
|
|
22623
22587
|
* @alias module:purecloud-platform-client-v2/api/WebChatApi
|
|
@@ -22752,7 +22716,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
22752
22716
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putWebchatSettings';}return this.apiClient.callApi('/api/v2/webchat/settings','PUT',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var WebDeploymentsApi=/*#__PURE__*/function(){/**
|
|
22753
22717
|
* WebDeployments service.
|
|
22754
22718
|
* @module purecloud-platform-client-v2/api/WebDeploymentsApi
|
|
22755
|
-
* @version
|
|
22719
|
+
* @version 194.0.0
|
|
22756
22720
|
*/ /**
|
|
22757
22721
|
* Constructs a new WebDeploymentsApi.
|
|
22758
22722
|
* @alias module:purecloud-platform-client-v2/api/WebDeploymentsApi
|
|
@@ -22873,7 +22837,7 @@ if(deploymentId===undefined||deploymentId===null){throw'Missing the required par
|
|
|
22873
22837
|
if(deployment===undefined||deployment===null){throw'Missing the required parameter "deployment" when calling putWebdeploymentsDeployment';}return this.apiClient.callApi('/api/v2/webdeployments/deployments/{deploymentId}','PUT',{'deploymentId':deploymentId},{},{},{},deployment,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var WebMessagingApi=/*#__PURE__*/function(){/**
|
|
22874
22838
|
* WebMessaging service.
|
|
22875
22839
|
* @module purecloud-platform-client-v2/api/WebMessagingApi
|
|
22876
|
-
* @version
|
|
22840
|
+
* @version 194.0.0
|
|
22877
22841
|
*/ /**
|
|
22878
22842
|
* Constructs a new WebMessagingApi.
|
|
22879
22843
|
* @alias module:purecloud-platform-client-v2/api/WebMessagingApi
|
|
@@ -22889,7 +22853,7 @@ if(deployment===undefined||deployment===null){throw'Missing the required paramet
|
|
|
22889
22853
|
*/return _createClass(WebMessagingApi,[{key:"getWebmessagingMessages",value:function getWebmessagingMessages(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/webmessaging/messages','GET',{},{'pageSize':opts['pageSize'],'pageNumber':opts['pageNumber']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var WidgetsApi=/*#__PURE__*/function(){/**
|
|
22890
22854
|
* Widgets service.
|
|
22891
22855
|
* @module purecloud-platform-client-v2/api/WidgetsApi
|
|
22892
|
-
* @version
|
|
22856
|
+
* @version 194.0.0
|
|
22893
22857
|
*/ /**
|
|
22894
22858
|
* Constructs a new WidgetsApi.
|
|
22895
22859
|
* @alias module:purecloud-platform-client-v2/api/WidgetsApi
|
|
@@ -22924,7 +22888,7 @@ if(deploymentId===undefined||deploymentId===null){throw'Missing the required par
|
|
|
22924
22888
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putWidgetsDeployment';}return this.apiClient.callApi('/api/v2/widgets/deployments/{deploymentId}','PUT',{'deploymentId':deploymentId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var WorkforceManagementApi=/*#__PURE__*/function(){/**
|
|
22925
22889
|
* WorkforceManagement service.
|
|
22926
22890
|
* @module purecloud-platform-client-v2/api/WorkforceManagementApi
|
|
22927
|
-
* @version
|
|
22891
|
+
* @version 194.0.0
|
|
22928
22892
|
*/ /**
|
|
22929
22893
|
* Constructs a new WorkforceManagementApi.
|
|
22930
22894
|
* @alias module:purecloud-platform-client-v2/api/WorkforceManagementApi
|
|
@@ -24404,7 +24368,7 @@ if(timeOffLimitId===undefined||timeOffLimitId===null){throw'Missing the required
|
|
|
24404
24368
|
* </pre>
|
|
24405
24369
|
* </p>
|
|
24406
24370
|
* @module purecloud-platform-client-v2/index
|
|
24407
|
-
* @version
|
|
24371
|
+
* @version 194.0.0
|
|
24408
24372
|
*/var platformClient=/*#__PURE__*/_createClass(function platformClient(){_classCallCheck(this,platformClient);/**
|
|
24409
24373
|
* The ApiClient constructor.
|
|
24410
24374
|
* @property {module:purecloud-platform-client-v2/ApiClient}
|