purecloud-platform-client-v2 192.1.0 → 192.2.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 +79 -76
- package/dist/web-amd/purecloud-platform-client-v2.js +79 -76
- package/dist/web-amd/purecloud-platform-client-v2.min.js +1 -1
- package/dist/web-cjs/bundle.js +77 -77
- package/dist/web-cjs/purecloud-platform-client-v2.js +77 -77
- package/dist/web-cjs/purecloud-platform-client-v2.min.js +1 -1
- package/package.json +1 -1
- package/src/purecloud-platform-client-v2/ApiClient.js +1 -1
- package/src/purecloud-platform-client-v2/PureCloudRegionHosts.js +3 -0
- 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 +1 -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 -1
- 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 +1 -1
- package/src/purecloud-platform-client-v2/api/FaxApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/FlowsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/GamificationApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/GeneralDataProtectionRegulationApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/GeolocationApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/GreetingsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/GroupsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/IdentityProviderApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/InfrastructureAsCodeApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/IntegrationsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/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 +1 -1
- package/src/purecloud-platform-client-v2/api/PresenceApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/ProcessAutomationApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/QualityApi.js +1 -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 _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 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 _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 _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 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 _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);}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'};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 _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 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 _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 _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 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 _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);}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
|
|
@@ -6046,7 +6046,7 @@ if(env)this.environment=env;else this.environment=this.host?this.host:'mypureclo
|
|
|
6046
6046
|
this.environment=this.environment.replace(/\/+$/,'');// Strip protocol and subdomain
|
|
6047
6047
|
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];}}}]);}();/**
|
|
6048
6048
|
* @module purecloud-platform-client-v2/ApiClient
|
|
6049
|
-
* @version 192.
|
|
6049
|
+
* @version 192.2.0
|
|
6050
6050
|
*/var ApiClient=/*#__PURE__*/function(){/**
|
|
6051
6051
|
* Manages low level client-server communications, parameter marshalling, etc. There should not be any need for an
|
|
6052
6052
|
* application to use this class directly - the *Api and model classes provide the public API for the service. The
|
|
@@ -6358,7 +6358,7 @@ resolve(data);})["catch"](function(error){var data=error;if(error.response&&erro
|
|
|
6358
6358
|
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(){/**
|
|
6359
6359
|
* Alerting service.
|
|
6360
6360
|
* @module purecloud-platform-client-v2/api/AlertingApi
|
|
6361
|
-
* @version 192.
|
|
6361
|
+
* @version 192.2.0
|
|
6362
6362
|
*/ /**
|
|
6363
6363
|
* Constructs a new AlertingApi.
|
|
6364
6364
|
* @alias module:purecloud-platform-client-v2/api/AlertingApi
|
|
@@ -6515,7 +6515,7 @@ if(ruleId===undefined||ruleId===null){throw'Missing the required parameter "rule
|
|
|
6515
6515
|
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(){/**
|
|
6516
6516
|
* Analytics service.
|
|
6517
6517
|
* @module purecloud-platform-client-v2/api/AnalyticsApi
|
|
6518
|
-
* @version 192.
|
|
6518
|
+
* @version 192.2.0
|
|
6519
6519
|
*/ /**
|
|
6520
6520
|
* Constructs a new AnalyticsApi.
|
|
6521
6521
|
* @alias module:purecloud-platform-client-v2/api/AnalyticsApi
|
|
@@ -7165,7 +7165,7 @@ if(scheduleId===undefined||scheduleId===null){throw'Missing the required paramet
|
|
|
7165
7165
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putAnalyticsReportingSchedule';}return this.apiClient.callApi('/api/v2/analytics/reporting/schedules/{scheduleId}','PUT',{'scheduleId':scheduleId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var ArchitectApi=/*#__PURE__*/function(){/**
|
|
7166
7166
|
* Architect service.
|
|
7167
7167
|
* @module purecloud-platform-client-v2/api/ArchitectApi
|
|
7168
|
-
* @version 192.
|
|
7168
|
+
* @version 192.2.0
|
|
7169
7169
|
*/ /**
|
|
7170
7170
|
* Constructs a new ArchitectApi.
|
|
7171
7171
|
* @alias module:purecloud-platform-client-v2/api/ArchitectApi
|
|
@@ -8281,7 +8281,7 @@ if(milestoneId===undefined||milestoneId===null){throw'Missing the required param
|
|
|
8281
8281
|
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(){/**
|
|
8282
8282
|
* Audit service.
|
|
8283
8283
|
* @module purecloud-platform-client-v2/api/AuditApi
|
|
8284
|
-
* @version 192.
|
|
8284
|
+
* @version 192.2.0
|
|
8285
8285
|
*/ /**
|
|
8286
8286
|
* Constructs a new AuditApi.
|
|
8287
8287
|
* @alias module:purecloud-platform-client-v2/api/AuditApi
|
|
@@ -8323,7 +8323,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
8323
8323
|
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']);}}]);}();var AuthorizationApi=/*#__PURE__*/function(){/**
|
|
8324
8324
|
* Authorization service.
|
|
8325
8325
|
* @module purecloud-platform-client-v2/api/AuthorizationApi
|
|
8326
|
-
* @version 192.
|
|
8326
|
+
* @version 192.2.0
|
|
8327
8327
|
*/ /**
|
|
8328
8328
|
* Constructs a new AuthorizationApi.
|
|
8329
8329
|
* @alias module:purecloud-platform-client-v2/api/AuthorizationApi
|
|
@@ -8638,7 +8638,7 @@ if(subjectId===undefined||subjectId===null){throw'Missing the required parameter
|
|
|
8638
8638
|
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(){/**
|
|
8639
8639
|
* Billing service.
|
|
8640
8640
|
* @module purecloud-platform-client-v2/api/BillingApi
|
|
8641
|
-
* @version 192.
|
|
8641
|
+
* @version 192.2.0
|
|
8642
8642
|
*/ /**
|
|
8643
8643
|
* Constructs a new BillingApi.
|
|
8644
8644
|
* @alias module:purecloud-platform-client-v2/api/BillingApi
|
|
@@ -8662,7 +8662,7 @@ if(endDate===undefined||endDate===null){throw'Missing the required parameter "en
|
|
|
8662
8662
|
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(){/**
|
|
8663
8663
|
* CarrierServices service.
|
|
8664
8664
|
* @module purecloud-platform-client-v2/api/CarrierServicesApi
|
|
8665
|
-
* @version 192.
|
|
8665
|
+
* @version 192.2.0
|
|
8666
8666
|
*/ /**
|
|
8667
8667
|
* Constructs a new CarrierServicesApi.
|
|
8668
8668
|
* @alias module:purecloud-platform-client-v2/api/CarrierServicesApi
|
|
@@ -8682,7 +8682,7 @@ if(phoneNumber===undefined||phoneNumber===null){throw'Missing the required param
|
|
|
8682
8682
|
*/},{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(){/**
|
|
8683
8683
|
* Chat service.
|
|
8684
8684
|
* @module purecloud-platform-client-v2/api/ChatApi
|
|
8685
|
-
* @version 192.
|
|
8685
|
+
* @version 192.2.0
|
|
8686
8686
|
*/ /**
|
|
8687
8687
|
* Constructs a new ChatApi.
|
|
8688
8688
|
* @alias module:purecloud-platform-client-v2/api/ChatApi
|
|
@@ -8897,7 +8897,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
8897
8897
|
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(){/**
|
|
8898
8898
|
* Coaching service.
|
|
8899
8899
|
* @module purecloud-platform-client-v2/api/CoachingApi
|
|
8900
|
-
* @version 192.
|
|
8900
|
+
* @version 192.2.0
|
|
8901
8901
|
*/ /**
|
|
8902
8902
|
* Constructs a new CoachingApi.
|
|
8903
8903
|
* @alias module:purecloud-platform-client-v2/api/CoachingApi
|
|
@@ -9050,7 +9050,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
9050
9050
|
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(){/**
|
|
9051
9051
|
* ContentManagement service.
|
|
9052
9052
|
* @module purecloud-platform-client-v2/api/ContentManagementApi
|
|
9053
|
-
* @version 192.
|
|
9053
|
+
* @version 192.2.0
|
|
9054
9054
|
*/ /**
|
|
9055
9055
|
* Constructs a new ContentManagementApi.
|
|
9056
9056
|
* @alias module:purecloud-platform-client-v2/api/ContentManagementApi
|
|
@@ -9333,7 +9333,7 @@ if(tagId===undefined||tagId===null){throw'Missing the required parameter "tagId"
|
|
|
9333
9333
|
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(){/**
|
|
9334
9334
|
* Conversations service.
|
|
9335
9335
|
* @module purecloud-platform-client-v2/api/ConversationsApi
|
|
9336
|
-
* @version 192.
|
|
9336
|
+
* @version 192.2.0
|
|
9337
9337
|
*/ /**
|
|
9338
9338
|
* Constructs a new ConversationsApi.
|
|
9339
9339
|
* @alias module:purecloud-platform-client-v2/api/ConversationsApi
|
|
@@ -11094,7 +11094,7 @@ if(conversationId===undefined||conversationId===null){throw'Missing the required
|
|
|
11094
11094
|
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(){/**
|
|
11095
11095
|
* DataExtensions service.
|
|
11096
11096
|
* @module purecloud-platform-client-v2/api/DataExtensionsApi
|
|
11097
|
-
* @version 192.
|
|
11097
|
+
* @version 192.2.0
|
|
11098
11098
|
*/ /**
|
|
11099
11099
|
* Constructs a new DataExtensionsApi.
|
|
11100
11100
|
* @alias module:purecloud-platform-client-v2/api/DataExtensionsApi
|
|
@@ -11115,7 +11115,7 @@ if(coretypeName===undefined||coretypeName===null){throw'Missing the required par
|
|
|
11115
11115
|
*/},{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(){/**
|
|
11116
11116
|
* Downloads service.
|
|
11117
11117
|
* @module purecloud-platform-client-v2/api/DownloadsApi
|
|
11118
|
-
* @version 192.
|
|
11118
|
+
* @version 192.2.0
|
|
11119
11119
|
*/ /**
|
|
11120
11120
|
* Constructs a new DownloadsApi.
|
|
11121
11121
|
* @alias module:purecloud-platform-client-v2/api/DownloadsApi
|
|
@@ -11134,7 +11134,7 @@ if(coretypeName===undefined||coretypeName===null){throw'Missing the required par
|
|
|
11134
11134
|
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(){/**
|
|
11135
11135
|
* Emails service.
|
|
11136
11136
|
* @module purecloud-platform-client-v2/api/EmailsApi
|
|
11137
|
-
* @version 192.
|
|
11137
|
+
* @version 192.2.0
|
|
11138
11138
|
*/ /**
|
|
11139
11139
|
* Constructs a new EmailsApi.
|
|
11140
11140
|
* @alias module:purecloud-platform-client-v2/api/EmailsApi
|
|
@@ -11152,7 +11152,7 @@ if(downloadId===undefined||downloadId===null){throw'Missing the required paramet
|
|
|
11152
11152
|
*/},{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(){/**
|
|
11153
11153
|
* Events service.
|
|
11154
11154
|
* @module purecloud-platform-client-v2/api/EventsApi
|
|
11155
|
-
* @version 192.
|
|
11155
|
+
* @version 192.2.0
|
|
11156
11156
|
*/ /**
|
|
11157
11157
|
* Constructs a new EventsApi.
|
|
11158
11158
|
* @alias module:purecloud-platform-client-v2/api/EventsApi
|
|
@@ -11177,7 +11177,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
11177
11177
|
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(){/**
|
|
11178
11178
|
* ExternalContacts service.
|
|
11179
11179
|
* @module purecloud-platform-client-v2/api/ExternalContactsApi
|
|
11180
|
-
* @version 192.
|
|
11180
|
+
* @version 192.2.0
|
|
11181
11181
|
*/ /**
|
|
11182
11182
|
* Constructs a new ExternalContactsApi.
|
|
11183
11183
|
* @alias module:purecloud-platform-client-v2/api/ExternalContactsApi
|
|
@@ -11632,7 +11632,7 @@ if(relationshipId===undefined||relationshipId===null){throw'Missing the required
|
|
|
11632
11632
|
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(){/**
|
|
11633
11633
|
* Fax service.
|
|
11634
11634
|
* @module purecloud-platform-client-v2/api/FaxApi
|
|
11635
|
-
* @version 192.
|
|
11635
|
+
* @version 192.2.0
|
|
11636
11636
|
*/ /**
|
|
11637
11637
|
* Constructs a new FaxApi.
|
|
11638
11638
|
* @alias module:purecloud-platform-client-v2/api/FaxApi
|
|
@@ -11681,7 +11681,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
11681
11681
|
*/},{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(){/**
|
|
11682
11682
|
* Flows service.
|
|
11683
11683
|
* @module purecloud-platform-client-v2/api/FlowsApi
|
|
11684
|
-
* @version 192.
|
|
11684
|
+
* @version 192.2.0
|
|
11685
11685
|
*/ /**
|
|
11686
11686
|
* Constructs a new FlowsApi.
|
|
11687
11687
|
* @alias module:purecloud-platform-client-v2/api/FlowsApi
|
|
@@ -11730,7 +11730,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
11730
11730
|
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(){/**
|
|
11731
11731
|
* Gamification service.
|
|
11732
11732
|
* @module purecloud-platform-client-v2/api/GamificationApi
|
|
11733
|
-
* @version 192.
|
|
11733
|
+
* @version 192.2.0
|
|
11734
11734
|
*/ /**
|
|
11735
11735
|
* Constructs a new GamificationApi.
|
|
11736
11736
|
* @alias module:purecloud-platform-client-v2/api/GamificationApi
|
|
@@ -12270,7 +12270,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
12270
12270
|
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(){/**
|
|
12271
12271
|
* GeneralDataProtectionRegulation service.
|
|
12272
12272
|
* @module purecloud-platform-client-v2/api/GeneralDataProtectionRegulationApi
|
|
12273
|
-
* @version 192.
|
|
12273
|
+
* @version 192.2.0
|
|
12274
12274
|
*/ /**
|
|
12275
12275
|
* Constructs a new GeneralDataProtectionRegulationApi.
|
|
12276
12276
|
* @alias module:purecloud-platform-client-v2/api/GeneralDataProtectionRegulationApi
|
|
@@ -12305,7 +12305,7 @@ if(searchValue===undefined||searchValue===null){throw'Missing the required param
|
|
|
12305
12305
|
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(){/**
|
|
12306
12306
|
* Geolocation service.
|
|
12307
12307
|
* @module purecloud-platform-client-v2/api/GeolocationApi
|
|
12308
|
-
* @version 192.
|
|
12308
|
+
* @version 192.2.0
|
|
12309
12309
|
*/ /**
|
|
12310
12310
|
* Constructs a new GeolocationApi.
|
|
12311
12311
|
* @alias module:purecloud-platform-client-v2/api/GeolocationApi
|
|
@@ -12339,7 +12339,7 @@ if(clientId===undefined||clientId===null){throw'Missing the required parameter "
|
|
|
12339
12339
|
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(){/**
|
|
12340
12340
|
* Greetings service.
|
|
12341
12341
|
* @module purecloud-platform-client-v2/api/GreetingsApi
|
|
12342
|
-
* @version 192.
|
|
12342
|
+
* @version 192.2.0
|
|
12343
12343
|
*/ /**
|
|
12344
12344
|
* Constructs a new GreetingsApi.
|
|
12345
12345
|
* @alias module:purecloud-platform-client-v2/api/GreetingsApi
|
|
@@ -12446,7 +12446,7 @@ if(userId===undefined||userId===null){throw'Missing the required parameter "user
|
|
|
12446
12446
|
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(){/**
|
|
12447
12447
|
* Groups service.
|
|
12448
12448
|
* @module purecloud-platform-client-v2/api/GroupsApi
|
|
12449
|
-
* @version 192.
|
|
12449
|
+
* @version 192.2.0
|
|
12450
12450
|
*/ /**
|
|
12451
12451
|
* Constructs a new GroupsApi.
|
|
12452
12452
|
* @alias module:purecloud-platform-client-v2/api/GroupsApi
|
|
@@ -12579,7 +12579,7 @@ if(groupId===undefined||groupId===null){throw'Missing the required parameter "gr
|
|
|
12579
12579
|
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(){/**
|
|
12580
12580
|
* IdentityProvider service.
|
|
12581
12581
|
* @module purecloud-platform-client-v2/api/IdentityProviderApi
|
|
12582
|
-
* @version 192.
|
|
12582
|
+
* @version 192.2.0
|
|
12583
12583
|
*/ /**
|
|
12584
12584
|
* Constructs a new IdentityProviderApi.
|
|
12585
12585
|
* @alias module:purecloud-platform-client-v2/api/IdentityProviderApi
|
|
@@ -12735,7 +12735,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
12735
12735
|
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(){/**
|
|
12736
12736
|
* InfrastructureAsCode service.
|
|
12737
12737
|
* @module purecloud-platform-client-v2/api/InfrastructureAsCodeApi
|
|
12738
|
-
* @version 192.
|
|
12738
|
+
* @version 192.2.0
|
|
12739
12739
|
*/ /**
|
|
12740
12740
|
* Constructs a new InfrastructureAsCodeApi.
|
|
12741
12741
|
* @alias module:purecloud-platform-client-v2/api/InfrastructureAsCodeApi
|
|
@@ -12789,7 +12789,7 @@ if(jobId===undefined||jobId===null){throw'Missing the required parameter "jobId"
|
|
|
12789
12789
|
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(){/**
|
|
12790
12790
|
* Integrations service.
|
|
12791
12791
|
* @module purecloud-platform-client-v2/api/IntegrationsApi
|
|
12792
|
-
* @version 192.
|
|
12792
|
+
* @version 192.2.0
|
|
12793
12793
|
*/ /**
|
|
12794
12794
|
* Constructs a new IntegrationsApi.
|
|
12795
12795
|
* @alias module:purecloud-platform-client-v2/api/IntegrationsApi
|
|
@@ -13400,7 +13400,7 @@ if(ucIntegrationId===undefined||ucIntegrationId===null){throw'Missing the requir
|
|
|
13400
13400
|
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(){/**
|
|
13401
13401
|
* Journey service.
|
|
13402
13402
|
* @module purecloud-platform-client-v2/api/JourneyApi
|
|
13403
|
-
* @version 192.
|
|
13403
|
+
* @version 192.2.0
|
|
13404
13404
|
*/ /**
|
|
13405
13405
|
* Constructs a new JourneyApi.
|
|
13406
13406
|
* @alias module:purecloud-platform-client-v2/api/JourneyApi
|
|
@@ -13788,7 +13788,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
13788
13788
|
*/},{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(){/**
|
|
13789
13789
|
* Knowledge service.
|
|
13790
13790
|
* @module purecloud-platform-client-v2/api/KnowledgeApi
|
|
13791
|
-
* @version 192.
|
|
13791
|
+
* @version 192.2.0
|
|
13792
13792
|
*/ /**
|
|
13793
13793
|
* Constructs a new KnowledgeApi.
|
|
13794
13794
|
* @alias module:purecloud-platform-client-v2/api/KnowledgeApi
|
|
@@ -14700,7 +14700,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
14700
14700
|
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(){/**
|
|
14701
14701
|
* LanguageUnderstanding service.
|
|
14702
14702
|
* @module purecloud-platform-client-v2/api/LanguageUnderstandingApi
|
|
14703
|
-
* @version 192.
|
|
14703
|
+
* @version 192.2.0
|
|
14704
14704
|
*/ /**
|
|
14705
14705
|
* Constructs a new LanguageUnderstandingApi.
|
|
14706
14706
|
* @alias module:purecloud-platform-client-v2/api/LanguageUnderstandingApi
|
|
@@ -14960,7 +14960,7 @@ if(domainVersionId===undefined||domainVersionId===null){throw'Missing the requir
|
|
|
14960
14960
|
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(){/**
|
|
14961
14961
|
* Languages service.
|
|
14962
14962
|
* @module purecloud-platform-client-v2/api/LanguagesApi
|
|
14963
|
-
* @version 192.
|
|
14963
|
+
* @version 192.2.0
|
|
14964
14964
|
*/ /**
|
|
14965
14965
|
* Constructs a new LanguagesApi.
|
|
14966
14966
|
* @alias module:purecloud-platform-client-v2/api/LanguagesApi
|
|
@@ -15015,7 +15015,7 @@ if(userId===undefined||userId===null){throw'Missing the required parameter "user
|
|
|
15015
15015
|
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(){/**
|
|
15016
15016
|
* Learning service.
|
|
15017
15017
|
* @module purecloud-platform-client-v2/api/LearningApi
|
|
15018
|
-
* @version 192.
|
|
15018
|
+
* @version 192.2.0
|
|
15019
15019
|
*/ /**
|
|
15020
15020
|
* Constructs a new LearningApi.
|
|
15021
15021
|
* @alias module:purecloud-platform-client-v2/api/LearningApi
|
|
@@ -15244,7 +15244,7 @@ if(moduleId===undefined||moduleId===null){throw'Missing the required parameter "
|
|
|
15244
15244
|
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(){/**
|
|
15245
15245
|
* License service.
|
|
15246
15246
|
* @module purecloud-platform-client-v2/api/LicenseApi
|
|
15247
|
-
* @version 192.
|
|
15247
|
+
* @version 192.2.0
|
|
15248
15248
|
*/ /**
|
|
15249
15249
|
* Constructs a new LicenseApi.
|
|
15250
15250
|
* @alias module:purecloud-platform-client-v2/api/LicenseApi
|
|
@@ -15298,7 +15298,7 @@ if(featureName===undefined||featureName===null){throw'Missing the required param
|
|
|
15298
15298
|
*/},{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(){/**
|
|
15299
15299
|
* Locations service.
|
|
15300
15300
|
* @module purecloud-platform-client-v2/api/LocationsApi
|
|
15301
|
-
* @version 192.
|
|
15301
|
+
* @version 192.2.0
|
|
15302
15302
|
*/ /**
|
|
15303
15303
|
* Constructs a new LocationsApi.
|
|
15304
15304
|
* @alias module:purecloud-platform-client-v2/api/LocationsApi
|
|
@@ -15357,7 +15357,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
15357
15357
|
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(){/**
|
|
15358
15358
|
* LogCapture service.
|
|
15359
15359
|
* @module purecloud-platform-client-v2/api/LogCaptureApi
|
|
15360
|
-
* @version 192.
|
|
15360
|
+
* @version 192.2.0
|
|
15361
15361
|
*/ /**
|
|
15362
15362
|
* Constructs a new LogCaptureApi.
|
|
15363
15363
|
* @alias module:purecloud-platform-client-v2/api/LogCaptureApi
|
|
@@ -15407,7 +15407,7 @@ if(userId===undefined||userId===null){throw'Missing the required parameter "user
|
|
|
15407
15407
|
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(){/**
|
|
15408
15408
|
* Messaging service.
|
|
15409
15409
|
* @module purecloud-platform-client-v2/api/MessagingApi
|
|
15410
|
-
* @version 192.
|
|
15410
|
+
* @version 192.2.0
|
|
15411
15411
|
*/ /**
|
|
15412
15412
|
* Constructs a new MessagingApi.
|
|
15413
15413
|
* @alias module:purecloud-platform-client-v2/api/MessagingApi
|
|
@@ -15497,7 +15497,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
15497
15497
|
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(){/**
|
|
15498
15498
|
* MobileDevices service.
|
|
15499
15499
|
* @module purecloud-platform-client-v2/api/MobileDevicesApi
|
|
15500
|
-
* @version 192.
|
|
15500
|
+
* @version 192.2.0
|
|
15501
15501
|
*/ /**
|
|
15502
15502
|
* Constructs a new MobileDevicesApi.
|
|
15503
15503
|
* @alias module:purecloud-platform-client-v2/api/MobileDevicesApi
|
|
@@ -15536,7 +15536,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
15536
15536
|
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(){/**
|
|
15537
15537
|
* Notifications service.
|
|
15538
15538
|
* @module purecloud-platform-client-v2/api/NotificationsApi
|
|
15539
|
-
* @version 192.
|
|
15539
|
+
* @version 192.2.0
|
|
15540
15540
|
*/ /**
|
|
15541
15541
|
* Constructs a new NotificationsApi.
|
|
15542
15542
|
* @alias module:purecloud-platform-client-v2/api/NotificationsApi
|
|
@@ -15593,7 +15593,7 @@ if(channelId===undefined||channelId===null){throw'Missing the required parameter
|
|
|
15593
15593
|
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(){/**
|
|
15594
15594
|
* OAuth service.
|
|
15595
15595
|
* @module purecloud-platform-client-v2/api/OAuthApi
|
|
15596
|
-
* @version 192.
|
|
15596
|
+
* @version 192.2.0
|
|
15597
15597
|
*/ /**
|
|
15598
15598
|
* Constructs a new OAuthApi.
|
|
15599
15599
|
* @alias module:purecloud-platform-client-v2/api/OAuthApi
|
|
@@ -15678,7 +15678,7 @@ if(clientId===undefined||clientId===null){throw'Missing the required parameter "
|
|
|
15678
15678
|
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(){/**
|
|
15679
15679
|
* Objects service.
|
|
15680
15680
|
* @module purecloud-platform-client-v2/api/ObjectsApi
|
|
15681
|
-
* @version 192.
|
|
15681
|
+
* @version 192.2.0
|
|
15682
15682
|
*/ /**
|
|
15683
15683
|
* Constructs a new ObjectsApi.
|
|
15684
15684
|
* @alias module:purecloud-platform-client-v2/api/ObjectsApi
|
|
@@ -15749,7 +15749,7 @@ if(divisionId===undefined||divisionId===null){throw'Missing the required paramet
|
|
|
15749
15749
|
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(){/**
|
|
15750
15750
|
* OperationalEvents service.
|
|
15751
15751
|
* @module purecloud-platform-client-v2/api/OperationalEventsApi
|
|
15752
|
-
* @version 192.
|
|
15752
|
+
* @version 192.2.0
|
|
15753
15753
|
*/ /**
|
|
15754
15754
|
* Constructs a new OperationalEventsApi.
|
|
15755
15755
|
* @alias module:purecloud-platform-client-v2/api/OperationalEventsApi
|
|
@@ -15767,7 +15767,7 @@ if(eventDefinitionId===undefined||eventDefinitionId===null){throw'Missing the re
|
|
|
15767
15767
|
*/},{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(){/**
|
|
15768
15768
|
* Organization service.
|
|
15769
15769
|
* @module purecloud-platform-client-v2/api/OrganizationApi
|
|
15770
|
-
* @version 192.
|
|
15770
|
+
* @version 192.2.0
|
|
15771
15771
|
*/ /**
|
|
15772
15772
|
* Constructs a new OrganizationApi.
|
|
15773
15773
|
* @alias module:purecloud-platform-client-v2/api/OrganizationApi
|
|
@@ -15869,7 +15869,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
15869
15869
|
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(){/**
|
|
15870
15870
|
* OrganizationAuthorization service.
|
|
15871
15871
|
* @module purecloud-platform-client-v2/api/OrganizationAuthorizationApi
|
|
15872
|
-
* @version 192.
|
|
15872
|
+
* @version 192.2.0
|
|
15873
15873
|
*/ /**
|
|
15874
15874
|
* Constructs a new OrganizationAuthorizationApi.
|
|
15875
15875
|
* @alias module:purecloud-platform-client-v2/api/OrganizationAuthorizationApi
|
|
@@ -16192,7 +16192,7 @@ if(trustorOrgId===undefined||trustorOrgId===null){throw'Missing the required par
|
|
|
16192
16192
|
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(){/**
|
|
16193
16193
|
* Outbound service.
|
|
16194
16194
|
* @module purecloud-platform-client-v2/api/OutboundApi
|
|
16195
|
-
* @version 192.
|
|
16195
|
+
* @version 192.2.0
|
|
16196
16196
|
*/ /**
|
|
16197
16197
|
* Constructs a new OutboundApi.
|
|
16198
16198
|
* @alias module:purecloud-platform-client-v2/api/OutboundApi
|
|
@@ -17231,7 +17231,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
17231
17231
|
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(){/**
|
|
17232
17232
|
* Presence service.
|
|
17233
17233
|
* @module purecloud-platform-client-v2/api/PresenceApi
|
|
17234
|
-
* @version 192.
|
|
17234
|
+
* @version 192.2.0
|
|
17235
17235
|
*/ /**
|
|
17236
17236
|
* Constructs a new PresenceApi.
|
|
17237
17237
|
* @alias module:purecloud-platform-client-v2/api/PresenceApi
|
|
@@ -17404,7 +17404,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
17404
17404
|
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(){/**
|
|
17405
17405
|
* ProcessAutomation service.
|
|
17406
17406
|
* @module purecloud-platform-client-v2/api/ProcessAutomationApi
|
|
17407
|
-
* @version 192.
|
|
17407
|
+
* @version 192.2.0
|
|
17408
17408
|
*/ /**
|
|
17409
17409
|
* Constructs a new ProcessAutomationApi.
|
|
17410
17410
|
* @alias module:purecloud-platform-client-v2/api/ProcessAutomationApi
|
|
@@ -17467,7 +17467,7 @@ if(triggerId===undefined||triggerId===null){throw'Missing the required parameter
|
|
|
17467
17467
|
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(){/**
|
|
17468
17468
|
* Quality service.
|
|
17469
17469
|
* @module purecloud-platform-client-v2/api/QualityApi
|
|
17470
|
-
* @version 192.
|
|
17470
|
+
* @version 192.2.0
|
|
17471
17471
|
*/ /**
|
|
17472
17472
|
* Constructs a new QualityApi.
|
|
17473
17473
|
* @alias module:purecloud-platform-client-v2/api/QualityApi
|
|
@@ -17938,7 +17938,7 @@ if(customerSurveyUrl===undefined||customerSurveyUrl===null){throw'Missing the re
|
|
|
17938
17938
|
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(){/**
|
|
17939
17939
|
* Recording service.
|
|
17940
17940
|
* @module purecloud-platform-client-v2/api/RecordingApi
|
|
17941
|
-
* @version 192.
|
|
17941
|
+
* @version 192.2.0
|
|
17942
17942
|
*/ /**
|
|
17943
17943
|
* Constructs a new RecordingApi.
|
|
17944
17944
|
* @alias module:purecloud-platform-client-v2/api/RecordingApi
|
|
@@ -18349,7 +18349,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
18349
18349
|
*/},{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(){/**
|
|
18350
18350
|
* ResponseManagement service.
|
|
18351
18351
|
* @module purecloud-platform-client-v2/api/ResponseManagementApi
|
|
18352
|
-
* @version 192.
|
|
18352
|
+
* @version 192.2.0
|
|
18353
18353
|
*/ /**
|
|
18354
18354
|
* Constructs a new ResponseManagementApi.
|
|
18355
18355
|
* @alias module:purecloud-platform-client-v2/api/ResponseManagementApi
|
|
@@ -18470,7 +18470,7 @@ if(responseAssetId===undefined||responseAssetId===null){throw'Missing the requir
|
|
|
18470
18470
|
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(){/**
|
|
18471
18471
|
* Routing service.
|
|
18472
18472
|
* @module purecloud-platform-client-v2/api/RoutingApi
|
|
18473
|
-
* @version 192.
|
|
18473
|
+
* @version 192.2.0
|
|
18474
18474
|
*/ /**
|
|
18475
18475
|
* Constructs a new RoutingApi.
|
|
18476
18476
|
* @alias module:purecloud-platform-client-v2/api/RoutingApi
|
|
@@ -19445,7 +19445,7 @@ if(userId===undefined||userId===null){throw'Missing the required parameter "user
|
|
|
19445
19445
|
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(){/**
|
|
19446
19446
|
* SCIM service.
|
|
19447
19447
|
* @module purecloud-platform-client-v2/api/SCIMApi
|
|
19448
|
-
* @version 192.
|
|
19448
|
+
* @version 192.2.0
|
|
19449
19449
|
*/ /**
|
|
19450
19450
|
* Constructs a new SCIMApi.
|
|
19451
19451
|
* @alias module:purecloud-platform-client-v2/api/SCIMApi
|
|
@@ -19670,7 +19670,7 @@ if(userId===undefined||userId===null){throw'Missing the required parameter "user
|
|
|
19670
19670
|
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(){/**
|
|
19671
19671
|
* ScreenRecording service.
|
|
19672
19672
|
* @module purecloud-platform-client-v2/api/ScreenRecordingApi
|
|
19673
|
-
* @version 192.
|
|
19673
|
+
* @version 192.2.0
|
|
19674
19674
|
*/ /**
|
|
19675
19675
|
* Constructs a new ScreenRecordingApi.
|
|
19676
19676
|
* @alias module:purecloud-platform-client-v2/api/ScreenRecordingApi
|
|
@@ -19685,7 +19685,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
19685
19685
|
*/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(){/**
|
|
19686
19686
|
* Scripts service.
|
|
19687
19687
|
* @module purecloud-platform-client-v2/api/ScriptsApi
|
|
19688
|
-
* @version 192.
|
|
19688
|
+
* @version 192.2.0
|
|
19689
19689
|
*/ /**
|
|
19690
19690
|
* Constructs a new ScriptsApi.
|
|
19691
19691
|
* @alias module:purecloud-platform-client-v2/api/ScriptsApi
|
|
@@ -19821,7 +19821,7 @@ if(scriptId===undefined||scriptId===null){throw'Missing the required parameter "
|
|
|
19821
19821
|
*/},{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(){/**
|
|
19822
19822
|
* Search service.
|
|
19823
19823
|
* @module purecloud-platform-client-v2/api/SearchApi
|
|
19824
|
-
* @version 192.
|
|
19824
|
+
* @version 192.2.0
|
|
19825
19825
|
*/ /**
|
|
19826
19826
|
* Constructs a new SearchApi.
|
|
19827
19827
|
* @alias module:purecloud-platform-client-v2/api/SearchApi
|
|
@@ -19981,7 +19981,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
19981
19981
|
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(){/**
|
|
19982
19982
|
* Settings service.
|
|
19983
19983
|
* @module purecloud-platform-client-v2/api/SettingsApi
|
|
19984
|
-
* @version 192.
|
|
19984
|
+
* @version 192.2.0
|
|
19985
19985
|
*/ /**
|
|
19986
19986
|
* Constructs a new SettingsApi.
|
|
19987
19987
|
* @alias module:purecloud-platform-client-v2/api/SettingsApi
|
|
@@ -20009,7 +20009,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
20009
20009
|
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(){/**
|
|
20010
20010
|
* SpeechTextAnalytics service.
|
|
20011
20011
|
* @module purecloud-platform-client-v2/api/SpeechTextAnalyticsApi
|
|
20012
|
-
* @version 192.
|
|
20012
|
+
* @version 192.2.0
|
|
20013
20013
|
*/ /**
|
|
20014
20014
|
* Constructs a new SpeechTextAnalyticsApi.
|
|
20015
20015
|
* @alias module:purecloud-platform-client-v2/api/SpeechTextAnalyticsApi
|
|
@@ -20253,7 +20253,7 @@ if(topicId===undefined||topicId===null){throw'Missing the required parameter "to
|
|
|
20253
20253
|
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(){/**
|
|
20254
20254
|
* Stations service.
|
|
20255
20255
|
* @module purecloud-platform-client-v2/api/StationsApi
|
|
20256
|
-
* @version 192.
|
|
20256
|
+
* @version 192.2.0
|
|
20257
20257
|
*/ /**
|
|
20258
20258
|
* Constructs a new StationsApi.
|
|
20259
20259
|
* @alias module:purecloud-platform-client-v2/api/StationsApi
|
|
@@ -20285,7 +20285,7 @@ if(stationId===undefined||stationId===null){throw'Missing the required parameter
|
|
|
20285
20285
|
*/},{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(){/**
|
|
20286
20286
|
* Suggest service.
|
|
20287
20287
|
* @module purecloud-platform-client-v2/api/SuggestApi
|
|
20288
|
-
* @version 192.
|
|
20288
|
+
* @version 192.2.0
|
|
20289
20289
|
*/ /**
|
|
20290
20290
|
* Constructs a new SuggestApi.
|
|
20291
20291
|
* @alias module:purecloud-platform-client-v2/api/SuggestApi
|
|
@@ -20325,7 +20325,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
20325
20325
|
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(){/**
|
|
20326
20326
|
* TaskManagement service.
|
|
20327
20327
|
* @module purecloud-platform-client-v2/api/TaskManagementApi
|
|
20328
|
-
* @version 192.
|
|
20328
|
+
* @version 192.2.0
|
|
20329
20329
|
*/ /**
|
|
20330
20330
|
* Constructs a new TaskManagementApi.
|
|
20331
20331
|
* @alias module:purecloud-platform-client-v2/api/TaskManagementApi
|
|
@@ -20691,7 +20691,7 @@ if(schemaId===undefined||schemaId===null){throw'Missing the required parameter "
|
|
|
20691
20691
|
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(){/**
|
|
20692
20692
|
* Teams service.
|
|
20693
20693
|
* @module purecloud-platform-client-v2/api/TeamsApi
|
|
20694
|
-
* @version 192.
|
|
20694
|
+
* @version 192.2.0
|
|
20695
20695
|
*/ /**
|
|
20696
20696
|
* Constructs a new TeamsApi.
|
|
20697
20697
|
* @alias module:purecloud-platform-client-v2/api/TeamsApi
|
|
@@ -20770,7 +20770,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
20770
20770
|
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(){/**
|
|
20771
20771
|
* Telephony service.
|
|
20772
20772
|
* @module purecloud-platform-client-v2/api/TelephonyApi
|
|
20773
|
-
* @version 192.
|
|
20773
|
+
* @version 192.2.0
|
|
20774
20774
|
*/ /**
|
|
20775
20775
|
* Constructs a new TelephonyApi.
|
|
20776
20776
|
* @alias module:purecloud-platform-client-v2/api/TelephonyApi
|
|
@@ -20817,7 +20817,7 @@ if(downloadId===undefined||downloadId===null){throw'Missing the required paramet
|
|
|
20817
20817
|
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(){/**
|
|
20818
20818
|
* TelephonyProvidersEdge service.
|
|
20819
20819
|
* @module purecloud-platform-client-v2/api/TelephonyProvidersEdgeApi
|
|
20820
|
-
* @version 192.
|
|
20820
|
+
* @version 192.2.0
|
|
20821
20821
|
*/ /**
|
|
20822
20822
|
* Constructs a new TelephonyProvidersEdgeApi.
|
|
20823
20823
|
* @alias module:purecloud-platform-client-v2/api/TelephonyProvidersEdgeApi
|
|
@@ -21627,7 +21627,7 @@ if(trunkBaseSettingsId===undefined||trunkBaseSettingsId===null){throw'Missing th
|
|
|
21627
21627
|
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(){/**
|
|
21628
21628
|
* Textbots service.
|
|
21629
21629
|
* @module purecloud-platform-client-v2/api/TextbotsApi
|
|
21630
|
-
* @version 192.
|
|
21630
|
+
* @version 192.2.0
|
|
21631
21631
|
*/ /**
|
|
21632
21632
|
* Constructs a new TextbotsApi.
|
|
21633
21633
|
* @alias module:purecloud-platform-client-v2/api/TextbotsApi
|
|
@@ -21662,7 +21662,7 @@ if(launchRequest===undefined||launchRequest===null){throw'Missing the required p
|
|
|
21662
21662
|
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(){/**
|
|
21663
21663
|
* Tokens service.
|
|
21664
21664
|
* @module purecloud-platform-client-v2/api/TokensApi
|
|
21665
|
-
* @version 192.
|
|
21665
|
+
* @version 192.2.0
|
|
21666
21666
|
*/ /**
|
|
21667
21667
|
* Constructs a new TokensApi.
|
|
21668
21668
|
* @alias module:purecloud-platform-client-v2/api/TokensApi
|
|
@@ -21696,7 +21696,7 @@ if(userId===undefined||userId===null){throw'Missing the required parameter "user
|
|
|
21696
21696
|
*/},{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(){/**
|
|
21697
21697
|
* Uploads service.
|
|
21698
21698
|
* @module purecloud-platform-client-v2/api/UploadsApi
|
|
21699
|
-
* @version 192.
|
|
21699
|
+
* @version 192.2.0
|
|
21700
21700
|
*/ /**
|
|
21701
21701
|
* Constructs a new UploadsApi.
|
|
21702
21702
|
* @alias module:purecloud-platform-client-v2/api/UploadsApi
|
|
@@ -21762,7 +21762,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
21762
21762
|
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(){/**
|
|
21763
21763
|
* Usage service.
|
|
21764
21764
|
* @module purecloud-platform-client-v2/api/UsageApi
|
|
21765
|
-
* @version 192.
|
|
21765
|
+
* @version 192.2.0
|
|
21766
21766
|
*/ /**
|
|
21767
21767
|
* Constructs a new UsageApi.
|
|
21768
21768
|
* @alias module:purecloud-platform-client-v2/api/UsageApi
|
|
@@ -21816,7 +21816,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
21816
21816
|
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(){/**
|
|
21817
21817
|
* UserRecordings service.
|
|
21818
21818
|
* @module purecloud-platform-client-v2/api/UserRecordingsApi
|
|
21819
|
-
* @version 192.
|
|
21819
|
+
* @version 192.2.0
|
|
21820
21820
|
*/ /**
|
|
21821
21821
|
* Constructs a new UserRecordingsApi.
|
|
21822
21822
|
* @alias module:purecloud-platform-client-v2/api/UserRecordingsApi
|
|
@@ -21865,7 +21865,7 @@ if(recordingId===undefined||recordingId===null){throw'Missing the required param
|
|
|
21865
21865
|
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(){/**
|
|
21866
21866
|
* Users service.
|
|
21867
21867
|
* @module purecloud-platform-client-v2/api/UsersApi
|
|
21868
|
-
* @version 192.
|
|
21868
|
+
* @version 192.2.0
|
|
21869
21869
|
*/ /**
|
|
21870
21870
|
* Constructs a new UsersApi.
|
|
21871
21871
|
* @alias module:purecloud-platform-client-v2/api/UsersApi
|
|
@@ -22528,7 +22528,7 @@ if(verifierId===undefined||verifierId===null){throw'Missing the required paramet
|
|
|
22528
22528
|
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(){/**
|
|
22529
22529
|
* Utilities service.
|
|
22530
22530
|
* @module purecloud-platform-client-v2/api/UtilitiesApi
|
|
22531
|
-
* @version 192.
|
|
22531
|
+
* @version 192.2.0
|
|
22532
22532
|
*/ /**
|
|
22533
22533
|
* Constructs a new UtilitiesApi.
|
|
22534
22534
|
* @alias module:purecloud-platform-client-v2/api/UtilitiesApi
|
|
@@ -22555,7 +22555,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
22555
22555
|
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(){/**
|
|
22556
22556
|
* Voicemail service.
|
|
22557
22557
|
* @module purecloud-platform-client-v2/api/VoicemailApi
|
|
22558
|
-
* @version 192.
|
|
22558
|
+
* @version 192.2.0
|
|
22559
22559
|
*/ /**
|
|
22560
22560
|
* Constructs a new VoicemailApi.
|
|
22561
22561
|
* @alias module:purecloud-platform-client-v2/api/VoicemailApi
|
|
@@ -22704,7 +22704,7 @@ if(userId===undefined||userId===null){throw'Missing the required parameter "user
|
|
|
22704
22704
|
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(){/**
|
|
22705
22705
|
* WebChat service.
|
|
22706
22706
|
* @module purecloud-platform-client-v2/api/WebChatApi
|
|
22707
|
-
* @version 192.
|
|
22707
|
+
* @version 192.2.0
|
|
22708
22708
|
*/ /**
|
|
22709
22709
|
* Constructs a new WebChatApi.
|
|
22710
22710
|
* @alias module:purecloud-platform-client-v2/api/WebChatApi
|
|
@@ -22839,7 +22839,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
22839
22839
|
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(){/**
|
|
22840
22840
|
* WebDeployments service.
|
|
22841
22841
|
* @module purecloud-platform-client-v2/api/WebDeploymentsApi
|
|
22842
|
-
* @version 192.
|
|
22842
|
+
* @version 192.2.0
|
|
22843
22843
|
*/ /**
|
|
22844
22844
|
* Constructs a new WebDeploymentsApi.
|
|
22845
22845
|
* @alias module:purecloud-platform-client-v2/api/WebDeploymentsApi
|
|
@@ -22960,7 +22960,7 @@ if(deploymentId===undefined||deploymentId===null){throw'Missing the required par
|
|
|
22960
22960
|
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(){/**
|
|
22961
22961
|
* WebMessaging service.
|
|
22962
22962
|
* @module purecloud-platform-client-v2/api/WebMessagingApi
|
|
22963
|
-
* @version 192.
|
|
22963
|
+
* @version 192.2.0
|
|
22964
22964
|
*/ /**
|
|
22965
22965
|
* Constructs a new WebMessagingApi.
|
|
22966
22966
|
* @alias module:purecloud-platform-client-v2/api/WebMessagingApi
|
|
@@ -22976,7 +22976,7 @@ if(deployment===undefined||deployment===null){throw'Missing the required paramet
|
|
|
22976
22976
|
*/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(){/**
|
|
22977
22977
|
* Widgets service.
|
|
22978
22978
|
* @module purecloud-platform-client-v2/api/WidgetsApi
|
|
22979
|
-
* @version 192.
|
|
22979
|
+
* @version 192.2.0
|
|
22980
22980
|
*/ /**
|
|
22981
22981
|
* Constructs a new WidgetsApi.
|
|
22982
22982
|
* @alias module:purecloud-platform-client-v2/api/WidgetsApi
|
|
@@ -23011,7 +23011,7 @@ if(deploymentId===undefined||deploymentId===null){throw'Missing the required par
|
|
|
23011
23011
|
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(){/**
|
|
23012
23012
|
* WorkforceManagement service.
|
|
23013
23013
|
* @module purecloud-platform-client-v2/api/WorkforceManagementApi
|
|
23014
|
-
* @version 192.
|
|
23014
|
+
* @version 192.2.0
|
|
23015
23015
|
*/ /**
|
|
23016
23016
|
* Constructs a new WorkforceManagementApi.
|
|
23017
23017
|
* @alias module:purecloud-platform-client-v2/api/WorkforceManagementApi
|
|
@@ -24489,7 +24489,7 @@ if(timeOffLimitId===undefined||timeOffLimitId===null){throw'Missing the required
|
|
|
24489
24489
|
* </pre>
|
|
24490
24490
|
* </p>
|
|
24491
24491
|
* @module purecloud-platform-client-v2/index
|
|
24492
|
-
* @version 192.
|
|
24492
|
+
* @version 192.2.0
|
|
24493
24493
|
*/var platformClient=/*#__PURE__*/_createClass(function platformClient(){_classCallCheck(this,platformClient);/**
|
|
24494
24494
|
* The ApiClient constructor.
|
|
24495
24495
|
* @property {module:purecloud-platform-client-v2/ApiClient}
|