purecloud-platform-client-v2 185.0.0 → 186.0.1
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 +377 -152
- package/dist/web-amd/purecloud-platform-client-v2.js +377 -152
- package/dist/web-amd/purecloud-platform-client-v2.min.js +1 -1
- package/dist/web-cjs/bundle.js +165 -117
- package/dist/web-cjs/purecloud-platform-client-v2.js +170 -119
- package/dist/web-cjs/purecloud-platform-client-v2.min.js +1 -1
- package/index.d.ts +154 -128
- package/package.json +2 -2
- package/src/purecloud-platform-client-v2/ApiClient.js +1 -1
- package/src/purecloud-platform-client-v2/api/AlertingApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/AnalyticsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/ArchitectApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/AuditApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/AuthorizationApi.js +2 -3
- 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 +58 -1
- package/src/purecloud-platform-client-v2/api/CoachingApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/ContentManagementApi.js +1 -62
- 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 +7 -7
- package/src/purecloud-platform-client-v2/api/FaxApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/FlowsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/GamificationApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/GeneralDataProtectionRegulationApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/GeolocationApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/GreetingsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/GroupsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/IdentityProviderApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/InfrastructureAsCodeApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/IntegrationsApi.js +26 -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 +131 -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 +2 -3
- 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 +2 -2
- 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 +80 -2
- package/src/purecloud-platform-client-v2/api/SCIMApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/ScriptsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/SearchApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/SettingsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/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 -3
- package/src/purecloud-platform-client-v2/api/TelephonyProvidersEdgeApi.js +3 -3
- 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
|
@@ -4923,6 +4923,9 @@ var gOPD = require('gopd');
|
|
|
4923
4923
|
var $TypeError = GetIntrinsic('%TypeError%');
|
|
4924
4924
|
var $floor = GetIntrinsic('%Math.floor%');
|
|
4925
4925
|
|
|
4926
|
+
/** @typedef {(...args: unknown[]) => unknown} Func */
|
|
4927
|
+
|
|
4928
|
+
/** @type {<T extends Func = Func>(fn: T, length: number, loose?: boolean) => T} */
|
|
4926
4929
|
module.exports = function setFunctionLength(fn, length) {
|
|
4927
4930
|
if (typeof fn !== 'function') {
|
|
4928
4931
|
throw new $TypeError('`fn` is not a function');
|
|
@@ -4947,9 +4950,9 @@ module.exports = function setFunctionLength(fn, length) {
|
|
|
4947
4950
|
|
|
4948
4951
|
if (functionLengthIsConfigurable || functionLengthIsWritable || !loose) {
|
|
4949
4952
|
if (hasDescriptors) {
|
|
4950
|
-
define(fn, 'length', length, true, true);
|
|
4953
|
+
define(/** @type {Parameters<define>[0]} */ (fn), 'length', length, true, true);
|
|
4951
4954
|
} else {
|
|
4952
|
-
define(fn, 'length', length);
|
|
4955
|
+
define(/** @type {Parameters<define>[0]} */ (fn), 'length', length);
|
|
4953
4956
|
}
|
|
4954
4957
|
}
|
|
4955
4958
|
return fn;
|
|
@@ -5083,7 +5086,7 @@ module.exports = function getSideChannel() {
|
|
|
5083
5086
|
|
|
5084
5087
|
},{"call-bind/callBound":8,"get-intrinsic":13,"object-inspect":20}],"platformClient":[function(require,module,exports){
|
|
5085
5088
|
(function (global,Buffer){(function (){
|
|
5086
|
-
'use strict';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:String(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)
|
|
5089
|
+
'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 new 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 new 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 new 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:String(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)
|
|
5087
5090
|
// if there are two placeholders, than the two characters before it
|
|
5088
5091
|
// represent one byte
|
|
5089
5092
|
// if there is only one, then the three characters before it represent 2 bytes
|
|
@@ -5655,7 +5658,7 @@ return utils$1.matchAll(/\w+|\[(\w*)]/g,name).map(function(match){return match[0
|
|
|
5655
5658
|
* @param {string} formData The FormData object to convert to JSON.
|
|
5656
5659
|
*
|
|
5657
5660
|
* @returns {Object<string, any> | null} The converted object.
|
|
5658
|
-
*/function formDataToJSON(formData){function buildPath(path,value,target,index){var name=path[index++];var isNumericKey=Number.isFinite(+name);var isLast=index>=path.length;name=!name&&utils$1.isArray(target)?target.length:name;if(isLast){if(utils$1.hasOwnProp(target,name)){target[name]=[target[name],value];}else{target[name]=value;}return!isNumericKey;}if(!target[name]||!utils$1.isObject(target[name])){target[name]=[];}var result=buildPath(path,value,target[name],index);if(result&&utils$1.isArray(target[name])){target[name]=arrayToObject(target[name]);}return!isNumericKey;}if(utils$1.isFormData(formData)&&utils$1.isFunction(formData.entries)){var obj={};utils$1.forEachEntry(formData,function(name,value){buildPath(parsePropPath(name),value,obj,0);});return obj;}return null;}/**
|
|
5661
|
+
*/function formDataToJSON(formData){function buildPath(path,value,target,index){var name=path[index++];if(name==='__proto__')return true;var isNumericKey=Number.isFinite(+name);var isLast=index>=path.length;name=!name&&utils$1.isArray(target)?target.length:name;if(isLast){if(utils$1.hasOwnProp(target,name)){target[name]=[target[name],value];}else{target[name]=value;}return!isNumericKey;}if(!target[name]||!utils$1.isObject(target[name])){target[name]=[];}var result=buildPath(path,value,target[name],index);if(result&&utils$1.isArray(target[name])){target[name]=arrayToObject(target[name]);}return!isNumericKey;}if(utils$1.isFormData(formData)&&utils$1.isFunction(formData.entries)){var obj={};utils$1.forEachEntry(formData,function(name,value){buildPath(parsePropPath(name),value,obj,0);});return obj;}return null;}/**
|
|
5659
5662
|
* It takes a string, tries to parse it, and if it fails, it returns the stringified version
|
|
5660
5663
|
* of the input
|
|
5661
5664
|
*
|
|
@@ -5726,7 +5729,7 @@ return /^([a-z][a-z\d+\-.]*:)?\/\//i.test(url);}/**
|
|
|
5726
5729
|
* @param {string} relativeURL The relative URL
|
|
5727
5730
|
*
|
|
5728
5731
|
* @returns {string} The combined URL
|
|
5729
|
-
*/function combineURLs(baseURL,relativeURL){return relativeURL?baseURL.replace(
|
|
5732
|
+
*/function combineURLs(baseURL,relativeURL){return relativeURL?baseURL.replace(/\/?\/$/,'')+'/'+relativeURL.replace(/^\/+/,''):baseURL;}/**
|
|
5730
5733
|
* Creates a new URL by combining the baseURL with the requestedURL,
|
|
5731
5734
|
* only when the requestedURL is not already an absolute URL.
|
|
5732
5735
|
* If the requestURL is absolute, this function returns the requestedURL untouched.
|
|
@@ -5819,7 +5822,7 @@ config2=config2||{};var config={};function getMergedValue(target,source,caseless
|
|
|
5819
5822
|
function mergeDeepProperties(a,b,caseless){if(!utils$1.isUndefined(b)){return getMergedValue(a,b,caseless);}else if(!utils$1.isUndefined(a)){return getMergedValue(undefined,a,caseless);}}// eslint-disable-next-line consistent-return
|
|
5820
5823
|
function valueFromConfig2(a,b){if(!utils$1.isUndefined(b)){return getMergedValue(undefined,b);}}// eslint-disable-next-line consistent-return
|
|
5821
5824
|
function defaultToConfig2(a,b){if(!utils$1.isUndefined(b)){return getMergedValue(undefined,b);}else if(!utils$1.isUndefined(a)){return getMergedValue(undefined,a);}}// eslint-disable-next-line consistent-return
|
|
5822
|
-
function mergeDirectKeys(a,b,prop){if(prop in config2){return getMergedValue(a,b);}else if(prop in config1){return getMergedValue(undefined,a);}}var mergeMap={url:valueFromConfig2,method:valueFromConfig2,data:valueFromConfig2,baseURL:defaultToConfig2,transformRequest:defaultToConfig2,transformResponse:defaultToConfig2,paramsSerializer:defaultToConfig2,timeout:defaultToConfig2,timeoutMessage:defaultToConfig2,withCredentials:defaultToConfig2,withXSRFToken:defaultToConfig2,adapter:defaultToConfig2,responseType:defaultToConfig2,xsrfCookieName:defaultToConfig2,xsrfHeaderName:defaultToConfig2,onUploadProgress:defaultToConfig2,onDownloadProgress:defaultToConfig2,decompress:defaultToConfig2,maxContentLength:defaultToConfig2,maxBodyLength:defaultToConfig2,beforeRedirect:defaultToConfig2,transport:defaultToConfig2,httpAgent:defaultToConfig2,httpsAgent:defaultToConfig2,cancelToken:defaultToConfig2,socketPath:defaultToConfig2,responseEncoding:defaultToConfig2,validateStatus:mergeDirectKeys,headers:function headers(a,b){return mergeDeepProperties(headersToObject(a),headersToObject(b),true);}};utils$1.forEach(Object.keys(Object.assign({},config1,config2)),function computeConfigValue(prop){var merge=mergeMap[prop]||mergeDeepProperties;var configValue=merge(config1[prop],config2[prop],prop);utils$1.isUndefined(configValue)&&merge!==mergeDirectKeys||(config[prop]=configValue);});return config;}var VERSION="1.6.
|
|
5825
|
+
function mergeDirectKeys(a,b,prop){if(prop in config2){return getMergedValue(a,b);}else if(prop in config1){return getMergedValue(undefined,a);}}var mergeMap={url:valueFromConfig2,method:valueFromConfig2,data:valueFromConfig2,baseURL:defaultToConfig2,transformRequest:defaultToConfig2,transformResponse:defaultToConfig2,paramsSerializer:defaultToConfig2,timeout:defaultToConfig2,timeoutMessage:defaultToConfig2,withCredentials:defaultToConfig2,withXSRFToken:defaultToConfig2,adapter:defaultToConfig2,responseType:defaultToConfig2,xsrfCookieName:defaultToConfig2,xsrfHeaderName:defaultToConfig2,onUploadProgress:defaultToConfig2,onDownloadProgress:defaultToConfig2,decompress:defaultToConfig2,maxContentLength:defaultToConfig2,maxBodyLength:defaultToConfig2,beforeRedirect:defaultToConfig2,transport:defaultToConfig2,httpAgent:defaultToConfig2,httpsAgent:defaultToConfig2,cancelToken:defaultToConfig2,socketPath:defaultToConfig2,responseEncoding:defaultToConfig2,validateStatus:mergeDirectKeys,headers:function headers(a,b){return mergeDeepProperties(headersToObject(a),headersToObject(b),true);}};utils$1.forEach(Object.keys(Object.assign({},config1,config2)),function computeConfigValue(prop){var merge=mergeMap[prop]||mergeDeepProperties;var configValue=merge(config1[prop],config2[prop],prop);utils$1.isUndefined(configValue)&&merge!==mergeDirectKeys||(config[prop]=configValue);});return config;}var VERSION="1.6.6";var validators$1={};// eslint-disable-next-line func-names
|
|
5823
5826
|
['object','boolean','number','function','string','symbol'].forEach(function(type,i){validators$1[type]=function validator(thing){return _typeof(thing)===type||'a'+(i<1?'n ':' ')+type;};});var deprecatedWarnings={};/**
|
|
5824
5827
|
* Transitional option validator
|
|
5825
5828
|
*
|
|
@@ -5851,7 +5854,9 @@ console.warn(formatMessage(opt,' has been deprecated since v'+version+' and will
|
|
|
5851
5854
|
* @param {?Object} config
|
|
5852
5855
|
*
|
|
5853
5856
|
* @returns {Promise} The Promise to be fulfilled
|
|
5854
|
-
*/_createClass(Axios,[{key:"request",value:function
|
|
5857
|
+
*/_createClass(Axios,[{key:"request",value:(function(){var _request2=_asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee(configOrUrl,config){var dummy;return _regeneratorRuntime().wrap(function _callee$(_context){while(1)switch(_context.prev=_context.next){case 0:_context.prev=0;_context.next=3;return this._request(configOrUrl,config);case 3:return _context.abrupt("return",_context.sent);case 6:_context.prev=6;_context.t0=_context["catch"](0);dummy={};if(Error.captureStackTrace){Error.captureStackTrace(dummy);}else{dummy.stack=new Error().stack;}// slice off the Error: ... line
|
|
5858
|
+
dummy.stack=dummy.stack.replace(/^.+\n/,'');// match without the 2 top stack lines
|
|
5859
|
+
if(!_context.t0.stack.endsWith(dummy.stack.replace(/^.+\n.+\n/,''))){_context.t0.stack+='\n'+dummy.stack;}throw _context.t0;case 13:case"end":return _context.stop();}},_callee,this,[[0,6]]);}));function request(_x,_x2){return _request2.apply(this,arguments);}return request;}())},{key:"_request",value:function _request(configOrUrl,config){/*eslint no-param-reassign:0*/ // Allow for axios('example/url'[, config]) a la fetch API
|
|
5855
5860
|
if(typeof configOrUrl==='string'){config=config||{};config.url=configOrUrl;}else{config=configOrUrl||{};}config=mergeConfig(this.defaults,config);var _config=config,transitional=_config.transitional,paramsSerializer=_config.paramsSerializer,headers=_config.headers;if(transitional!==undefined){validator.assertOptions(transitional,{silentJSONParsing:validators.transitional(validators["boolean"]),forcedJSONParsing:validators.transitional(validators["boolean"]),clarifyTimeoutError:validators.transitional(validators["boolean"])},false);}if(paramsSerializer!=null){if(utils$1.isFunction(paramsSerializer)){config.paramsSerializer={serialize:paramsSerializer};}else{validator.assertOptions(paramsSerializer,{encode:validators["function"],serialize:validators["function"]},true);}}// Set config.method
|
|
5856
5861
|
config.method=(config.method||this.defaults.method||'get').toLowerCase();// Flatten headers
|
|
5857
5862
|
var contextHeaders=headers&&utils$1.merge(headers.common,headers[config.method]);headers&&utils$1.forEach(['delete','get','head','post','put','patch','common'],function(method){delete headers[method];});config.headers=AxiosHeaders$1.concat(contextHeaders,headers);// filter out skipped interceptors
|
|
@@ -5930,7 +5935,7 @@ if(env)this.environment=env;else this.environment=this.host?this.host:'mypureclo
|
|
|
5930
5935
|
this.environment=this.environment.replace(/\/+$/,'');// Strip protocol and subdomain
|
|
5931
5936
|
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];}}}]);return Configuration;}();/**
|
|
5932
5937
|
* @module purecloud-platform-client-v2/ApiClient
|
|
5933
|
-
* @version
|
|
5938
|
+
* @version 186.0.1
|
|
5934
5939
|
*/var ApiClient=/*#__PURE__*/function(){/**
|
|
5935
5940
|
* Manages low level client-server communications, parameter marshalling, etc. There should not be any need for an
|
|
5936
5941
|
* application to use this class directly - the *Api and model classes provide the public API for the service. The
|
|
@@ -6242,7 +6247,7 @@ resolve(data);})["catch"](function(error){var data=error;if(error.response&&erro
|
|
|
6242
6247
|
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);});}});}}]);return ApiClient;}();var AlertingApi=/*#__PURE__*/function(){/**
|
|
6243
6248
|
* Alerting service.
|
|
6244
6249
|
* @module purecloud-platform-client-v2/api/AlertingApi
|
|
6245
|
-
* @version
|
|
6250
|
+
* @version 186.0.1
|
|
6246
6251
|
*/ /**
|
|
6247
6252
|
* Constructs a new AlertingApi.
|
|
6248
6253
|
* @alias module:purecloud-platform-client-v2/api/AlertingApi
|
|
@@ -6399,7 +6404,7 @@ if(ruleId===undefined||ruleId===null){throw'Missing the required parameter "rule
|
|
|
6399
6404
|
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']);}}]);return AlertingApi;}();var AnalyticsApi=/*#__PURE__*/function(){/**
|
|
6400
6405
|
* Analytics service.
|
|
6401
6406
|
* @module purecloud-platform-client-v2/api/AnalyticsApi
|
|
6402
|
-
* @version
|
|
6407
|
+
* @version 186.0.1
|
|
6403
6408
|
*/ /**
|
|
6404
6409
|
* Constructs a new AnalyticsApi.
|
|
6405
6410
|
* @alias module:purecloud-platform-client-v2/api/AnalyticsApi
|
|
@@ -7006,7 +7011,7 @@ if(scheduleId===undefined||scheduleId===null){throw'Missing the required paramet
|
|
|
7006
7011
|
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']);}}]);return AnalyticsApi;}();var ArchitectApi=/*#__PURE__*/function(){/**
|
|
7007
7012
|
* Architect service.
|
|
7008
7013
|
* @module purecloud-platform-client-v2/api/ArchitectApi
|
|
7009
|
-
* @version
|
|
7014
|
+
* @version 186.0.1
|
|
7010
7015
|
*/ /**
|
|
7011
7016
|
* Constructs a new ArchitectApi.
|
|
7012
7017
|
* @alias module:purecloud-platform-client-v2/api/ArchitectApi
|
|
@@ -8038,7 +8043,7 @@ if(milestoneId===undefined||milestoneId===null){throw'Missing the required param
|
|
|
8038
8043
|
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']);}}]);return ArchitectApi;}();var AuditApi=/*#__PURE__*/function(){/**
|
|
8039
8044
|
* Audit service.
|
|
8040
8045
|
* @module purecloud-platform-client-v2/api/AuditApi
|
|
8041
|
-
* @version
|
|
8046
|
+
* @version 186.0.1
|
|
8042
8047
|
*/ /**
|
|
8043
8048
|
* Constructs a new AuditApi.
|
|
8044
8049
|
* @alias module:purecloud-platform-client-v2/api/AuditApi
|
|
@@ -8080,7 +8085,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
8080
8085
|
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']);}}]);return AuditApi;}();var AuthorizationApi=/*#__PURE__*/function(){/**
|
|
8081
8086
|
* Authorization service.
|
|
8082
8087
|
* @module purecloud-platform-client-v2/api/AuthorizationApi
|
|
8083
|
-
* @version
|
|
8088
|
+
* @version 186.0.1
|
|
8084
8089
|
*/ /**
|
|
8085
8090
|
* Constructs a new AuthorizationApi.
|
|
8086
8091
|
* @alias module:purecloud-platform-client-v2/api/AuthorizationApi
|
|
@@ -8134,9 +8139,8 @@ if(divisionId===undefined||divisionId===null){throw'Missing the required paramet
|
|
|
8134
8139
|
* @param {String} opts.nextPage next page token
|
|
8135
8140
|
* @param {String} opts.previousPage Previous page token
|
|
8136
8141
|
* @param {Boolean} opts.objectCount Include the count of objects contained in the division (default to false)
|
|
8137
|
-
* @param {Array.<String>} opts.id Optionally request specific divisions by their IDs
|
|
8138
8142
|
* @param {String} opts.name Search term to filter by division name
|
|
8139
|
-
*/},{key:"getAuthorizationDivisions",value:function getAuthorizationDivisions(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/authorization/divisions','GET',{},{'pageSize':opts['pageSize'],'pageNumber':opts['pageNumber'],'sortBy':opts['sortBy'],'expand':this.apiClient.buildCollectionParam(opts['expand'],'multi'),'nextPage':opts['nextPage'],'previousPage':opts['previousPage'],'objectCount':opts['objectCount'],'
|
|
8143
|
+
*/},{key:"getAuthorizationDivisions",value:function getAuthorizationDivisions(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/authorization/divisions','GET',{},{'pageSize':opts['pageSize'],'pageNumber':opts['pageNumber'],'sortBy':opts['sortBy'],'expand':this.apiClient.buildCollectionParam(opts['expand'],'multi'),'nextPage':opts['nextPage'],'previousPage':opts['previousPage'],'objectCount':opts['objectCount'],'name':opts['name']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
8140
8144
|
* Retrieve the home division for the organization.
|
|
8141
8145
|
* Will not include object counts.
|
|
8142
8146
|
*/},{key:"getAuthorizationDivisionsHome",value:function getAuthorizationDivisionsHome(){return this.apiClient.callApi('/api/v2/authorization/divisions/home','GET',{},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
@@ -8391,7 +8395,7 @@ if(subjectId===undefined||subjectId===null){throw'Missing the required parameter
|
|
|
8391
8395
|
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']);}}]);return AuthorizationApi;}();var BillingApi=/*#__PURE__*/function(){/**
|
|
8392
8396
|
* Billing service.
|
|
8393
8397
|
* @module purecloud-platform-client-v2/api/BillingApi
|
|
8394
|
-
* @version
|
|
8398
|
+
* @version 186.0.1
|
|
8395
8399
|
*/ /**
|
|
8396
8400
|
* Constructs a new BillingApi.
|
|
8397
8401
|
* @alias module:purecloud-platform-client-v2/api/BillingApi
|
|
@@ -8415,7 +8419,7 @@ if(endDate===undefined||endDate===null){throw'Missing the required parameter "en
|
|
|
8415
8419
|
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']);}}]);return BillingApi;}();var CarrierServicesApi=/*#__PURE__*/function(){/**
|
|
8416
8420
|
* CarrierServices service.
|
|
8417
8421
|
* @module purecloud-platform-client-v2/api/CarrierServicesApi
|
|
8418
|
-
* @version
|
|
8422
|
+
* @version 186.0.1
|
|
8419
8423
|
*/ /**
|
|
8420
8424
|
* Constructs a new CarrierServicesApi.
|
|
8421
8425
|
* @alias module:purecloud-platform-client-v2/api/CarrierServicesApi
|
|
@@ -8435,7 +8439,7 @@ if(phoneNumber===undefined||phoneNumber===null){throw'Missing the required param
|
|
|
8435
8439
|
*/},{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']);}}]);return CarrierServicesApi;}();var ChatApi=/*#__PURE__*/function(){/**
|
|
8436
8440
|
* Chat service.
|
|
8437
8441
|
* @module purecloud-platform-client-v2/api/ChatApi
|
|
8438
|
-
* @version
|
|
8442
|
+
* @version 186.0.1
|
|
8439
8443
|
*/ /**
|
|
8440
8444
|
* Constructs a new ChatApi.
|
|
8441
8445
|
* @alias module:purecloud-platform-client-v2/api/ChatApi
|
|
@@ -8554,6 +8558,12 @@ if(messageIds===undefined||messageIds===null){throw'Missing the required paramet
|
|
|
8554
8558
|
* getChatsUserMessages is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
8555
8559
|
*/},{key:"getChatsUserMessages",value:function getChatsUserMessages(userId,opts){opts=opts||{};// verify the required parameter 'userId' is set
|
|
8556
8560
|
if(userId===undefined||userId===null){throw'Missing the required parameter "userId" when calling getChatsUserMessages';}return this.apiClient.callApi('/api/v2/chats/users/{userId}/messages','GET',{'userId':userId},{'pageSize':opts['pageSize'],'pageNumber':opts['pageNumber'],'sortBy':opts['sortBy'],'expand':this.apiClient.buildCollectionParam(opts['expand'],'multi'),'nextPage':opts['nextPage'],'previousPage':opts['previousPage'],'limit':opts['limit'],'before':opts['before'],'after':opts['after']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
8561
|
+
* Get a user's chat settings
|
|
8562
|
+
*
|
|
8563
|
+
* @param {String} userId User ID
|
|
8564
|
+
* getChatsUserSettings is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
8565
|
+
*/},{key:"getChatsUserSettings",value:function getChatsUserSettings(userId){// verify the required parameter 'userId' is set
|
|
8566
|
+
if(userId===undefined||userId===null){throw'Missing the required parameter "userId" when calling getChatsUserSettings';}return this.apiClient.callApi('/api/v2/chats/users/{userId}/settings','GET',{'userId':userId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
8557
8567
|
* Set properties for a room
|
|
8558
8568
|
*
|
|
8559
8569
|
* @param {String} roomJid roomJid
|
|
@@ -8587,6 +8597,14 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
8587
8597
|
if(userId===undefined||userId===null){throw'Missing the required parameter "userId" when calling patchChatsUserMessage';}// verify the required parameter 'messageId' is set
|
|
8588
8598
|
if(messageId===undefined||messageId===null){throw'Missing the required parameter "messageId" when calling patchChatsUserMessage';}// verify the required parameter 'body' is set
|
|
8589
8599
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling patchChatsUserMessage';}return this.apiClient.callApi('/api/v2/chats/users/{userId}/messages/{messageId}','PATCH',{'userId':userId,'messageId':messageId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
8600
|
+
* Update a user's chat settings
|
|
8601
|
+
*
|
|
8602
|
+
* @param {String} userId User ID
|
|
8603
|
+
* @param {Object} body
|
|
8604
|
+
* patchChatsUserSettings is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
8605
|
+
*/},{key:"patchChatsUserSettings",value:function patchChatsUserSettings(userId,body){// verify the required parameter 'userId' is set
|
|
8606
|
+
if(userId===undefined||userId===null){throw'Missing the required parameter "userId" when calling patchChatsUserSettings';}// verify the required parameter 'body' is set
|
|
8607
|
+
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling patchChatsUserSettings';}return this.apiClient.callApi('/api/v2/chats/users/{userId}/settings','PATCH',{'userId':userId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
8590
8608
|
* Send a message to a room
|
|
8591
8609
|
*
|
|
8592
8610
|
* @param {String} roomJid roomId
|
|
@@ -8632,7 +8650,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
8632
8650
|
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']);}}]);return ChatApi;}();var CoachingApi=/*#__PURE__*/function(){/**
|
|
8633
8651
|
* Coaching service.
|
|
8634
8652
|
* @module purecloud-platform-client-v2/api/CoachingApi
|
|
8635
|
-
* @version
|
|
8653
|
+
* @version 186.0.1
|
|
8636
8654
|
*/ /**
|
|
8637
8655
|
* Constructs a new CoachingApi.
|
|
8638
8656
|
* @alias module:purecloud-platform-client-v2/api/CoachingApi
|
|
@@ -8785,7 +8803,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
8785
8803
|
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']);}}]);return CoachingApi;}();var ContentManagementApi=/*#__PURE__*/function(){/**
|
|
8786
8804
|
* ContentManagement service.
|
|
8787
8805
|
* @module purecloud-platform-client-v2/api/ContentManagementApi
|
|
8788
|
-
* @version
|
|
8806
|
+
* @version 186.0.1
|
|
8789
8807
|
*/ /**
|
|
8790
8808
|
* Constructs a new ContentManagementApi.
|
|
8791
8809
|
* @alias module:purecloud-platform-client-v2/api/ContentManagementApi
|
|
@@ -8838,19 +8856,6 @@ if(tagId===undefined||tagId===null){throw'Missing the required parameter "tagId"
|
|
|
8838
8856
|
* @param {Array.<String>} opts.expand Which fields, if any, to expand.
|
|
8839
8857
|
*/},{key:"getContentmanagementDocument",value:function getContentmanagementDocument(documentId,opts){opts=opts||{};// verify the required parameter 'documentId' is set
|
|
8840
8858
|
if(documentId===undefined||documentId===null){throw'Missing the required parameter "documentId" when calling getContentmanagementDocument';}return this.apiClient.callApi('/api/v2/contentmanagement/documents/{documentId}','GET',{'documentId':documentId},{'expand':this.apiClient.buildCollectionParam(opts['expand'],'multi')},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
8841
|
-
* Get a list of audits for a document.
|
|
8842
|
-
* This api is deprecated, use https://developer.genesys.cloud/platform/audit/ instead.
|
|
8843
|
-
* @param {String} documentId Document ID
|
|
8844
|
-
* @param {Object} opts Optional parameters
|
|
8845
|
-
* @param {Number} opts.pageSize Page size (default to 25)
|
|
8846
|
-
* @param {Number} opts.pageNumber Page number (default to 1)
|
|
8847
|
-
* @param {String} opts.transactionFilter Transaction filter
|
|
8848
|
-
* @param {String} opts.level level (default to USER)
|
|
8849
|
-
* @param {String} opts.sortBy Sort by
|
|
8850
|
-
* @param {String} opts.sortOrder Sort order (default to ascending)
|
|
8851
|
-
* @deprecated
|
|
8852
|
-
*/},{key:"getContentmanagementDocumentAudits",value:function getContentmanagementDocumentAudits(documentId,opts){opts=opts||{};// verify the required parameter 'documentId' is set
|
|
8853
|
-
if(documentId===undefined||documentId===null){throw'Missing the required parameter "documentId" when calling getContentmanagementDocumentAudits';}return this.apiClient.callApi('/api/v2/contentmanagement/documents/{documentId}/audits','GET',{'documentId':documentId},{'pageSize':opts['pageSize'],'pageNumber':opts['pageNumber'],'transactionFilter':opts['transactionFilter'],'level':opts['level'],'sortBy':opts['sortBy'],'sortOrder':opts['sortOrder']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
8854
8859
|
* Download a document.
|
|
8855
8860
|
*
|
|
8856
8861
|
* @param {String} documentId Document ID
|
|
@@ -8993,12 +8998,6 @@ if(workspaceId===undefined||workspaceId===null){throw'Missing the required param
|
|
|
8993
8998
|
* @param {Array.<String>} opts.access Requested access level.
|
|
8994
8999
|
* @param {Array.<String>} opts.expand Which fields, if any, to expand.
|
|
8995
9000
|
*/},{key:"getContentmanagementWorkspaces",value:function getContentmanagementWorkspaces(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/contentmanagement/workspaces','GET',{},{'pageSize':opts['pageSize'],'pageNumber':opts['pageNumber'],'access':this.apiClient.buildCollectionParam(opts['access'],'multi'),'expand':this.apiClient.buildCollectionParam(opts['expand'],'multi')},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
8996
|
-
* Query audits
|
|
8997
|
-
* This api is deprecated, use https://developer.genesys.cloud/platform/audit/ instead.
|
|
8998
|
-
* @param {Object} body Allows for a filtered query returning facet information
|
|
8999
|
-
* @deprecated
|
|
9000
|
-
*/},{key:"postContentmanagementAuditquery",value:function postContentmanagementAuditquery(body){// verify the required parameter 'body' is set
|
|
9001
|
-
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postContentmanagementAuditquery';}return this.apiClient.callApi('/api/v2/contentmanagement/auditquery','POST',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
9002
9001
|
* Update a document.
|
|
9003
9002
|
*
|
|
9004
9003
|
* @param {String} documentId Document ID
|
|
@@ -9087,7 +9086,7 @@ if(tagId===undefined||tagId===null){throw'Missing the required parameter "tagId"
|
|
|
9087
9086
|
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']);}}]);return ContentManagementApi;}();var ConversationsApi=/*#__PURE__*/function(){/**
|
|
9088
9087
|
* Conversations service.
|
|
9089
9088
|
* @module purecloud-platform-client-v2/api/ConversationsApi
|
|
9090
|
-
* @version
|
|
9089
|
+
* @version 186.0.1
|
|
9091
9090
|
*/ /**
|
|
9092
9091
|
* Constructs a new ConversationsApi.
|
|
9093
9092
|
* @alias module:purecloud-platform-client-v2/api/ConversationsApi
|
|
@@ -10811,7 +10810,7 @@ if(conversationId===undefined||conversationId===null){throw'Missing the required
|
|
|
10811
10810
|
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']);}}]);return ConversationsApi;}();var DataExtensionsApi=/*#__PURE__*/function(){/**
|
|
10812
10811
|
* DataExtensions service.
|
|
10813
10812
|
* @module purecloud-platform-client-v2/api/DataExtensionsApi
|
|
10814
|
-
* @version
|
|
10813
|
+
* @version 186.0.1
|
|
10815
10814
|
*/ /**
|
|
10816
10815
|
* Constructs a new DataExtensionsApi.
|
|
10817
10816
|
* @alias module:purecloud-platform-client-v2/api/DataExtensionsApi
|
|
@@ -10832,7 +10831,7 @@ if(coretypeName===undefined||coretypeName===null){throw'Missing the required par
|
|
|
10832
10831
|
*/},{key:"getDataextensionsLimits",value:function getDataextensionsLimits(){return this.apiClient.callApi('/api/v2/dataextensions/limits','GET',{},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}}]);return DataExtensionsApi;}();var DownloadsApi=/*#__PURE__*/function(){/**
|
|
10833
10832
|
* Downloads service.
|
|
10834
10833
|
* @module purecloud-platform-client-v2/api/DownloadsApi
|
|
10835
|
-
* @version
|
|
10834
|
+
* @version 186.0.1
|
|
10836
10835
|
*/ /**
|
|
10837
10836
|
* Constructs a new DownloadsApi.
|
|
10838
10837
|
* @alias module:purecloud-platform-client-v2/api/DownloadsApi
|
|
@@ -10851,7 +10850,7 @@ if(coretypeName===undefined||coretypeName===null){throw'Missing the required par
|
|
|
10851
10850
|
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']);}}]);return DownloadsApi;}();var EmailsApi=/*#__PURE__*/function(){/**
|
|
10852
10851
|
* Emails service.
|
|
10853
10852
|
* @module purecloud-platform-client-v2/api/EmailsApi
|
|
10854
|
-
* @version
|
|
10853
|
+
* @version 186.0.1
|
|
10855
10854
|
*/ /**
|
|
10856
10855
|
* Constructs a new EmailsApi.
|
|
10857
10856
|
* @alias module:purecloud-platform-client-v2/api/EmailsApi
|
|
@@ -10869,7 +10868,7 @@ if(downloadId===undefined||downloadId===null){throw'Missing the required paramet
|
|
|
10869
10868
|
*/},{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']);}}]);return EmailsApi;}();var EventsApi=/*#__PURE__*/function(){/**
|
|
10870
10869
|
* Events service.
|
|
10871
10870
|
* @module purecloud-platform-client-v2/api/EventsApi
|
|
10872
|
-
* @version
|
|
10871
|
+
* @version 186.0.1
|
|
10873
10872
|
*/ /**
|
|
10874
10873
|
* Constructs a new EventsApi.
|
|
10875
10874
|
* @alias module:purecloud-platform-client-v2/api/EventsApi
|
|
@@ -10894,7 +10893,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
10894
10893
|
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']);}}]);return EventsApi;}();var ExternalContactsApi=/*#__PURE__*/function(){/**
|
|
10895
10894
|
* ExternalContacts service.
|
|
10896
10895
|
* @module purecloud-platform-client-v2/api/ExternalContactsApi
|
|
10897
|
-
* @version
|
|
10896
|
+
* @version 186.0.1
|
|
10898
10897
|
*/ /**
|
|
10899
10898
|
* Constructs a new ExternalContactsApi.
|
|
10900
10899
|
* @alias module:purecloud-platform-client-v2/api/ExternalContactsApi
|
|
@@ -10977,7 +10976,7 @@ if(noteId===undefined||noteId===null){throw'Missing the required parameter "note
|
|
|
10977
10976
|
* @param {Object} opts Optional parameters
|
|
10978
10977
|
* @param {Number} opts.pageSize Page size (limited to fetching first 1,000 records; pageNumber * pageSize must be <= 1,000) (default to 20)
|
|
10979
10978
|
* @param {Number} opts.pageNumber Page number (limited to fetching first 1,000 records; pageNumber * pageSize must be <= 1,000) (default to 1)
|
|
10980
|
-
* @param {String} opts.sortOrder
|
|
10979
|
+
* @param {String} opts.sortOrder The Note field to sort by. Any of: [createDate]. Direction: [asc, desc]. e.g. createDate:asc, createDate:desc
|
|
10981
10980
|
* @param {Array.<String>} opts.expand which fields, if any, to expand
|
|
10982
10981
|
*/},{key:"getExternalcontactsContactNotes",value:function getExternalcontactsContactNotes(contactId,opts){opts=opts||{};// verify the required parameter 'contactId' is set
|
|
10983
10982
|
if(contactId===undefined||contactId===null){throw'Missing the required parameter "contactId" when calling getExternalcontactsContactNotes';}return this.apiClient.callApi('/api/v2/externalcontacts/contacts/{contactId}/notes','GET',{'contactId':contactId},{'pageSize':opts['pageSize'],'pageNumber':opts['pageNumber'],'sortOrder':opts['sortOrder'],'expand':this.apiClient.buildCollectionParam(opts['expand'],'multi')},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
@@ -10994,7 +10993,7 @@ if(contactId===undefined||contactId===null){throw'Missing the required parameter
|
|
|
10994
10993
|
* @param {Number} opts.pageSize Page size (limited to fetching first 1,000 records; pageNumber * pageSize must be <= 1,000) (default to 20)
|
|
10995
10994
|
* @param {Number} opts.pageNumber Page number (limited to fetching first 1,000 records; pageNumber * pageSize must be <= 1,000) (default to 1)
|
|
10996
10995
|
* @param {String} opts.q User supplied search keywords (no special syntax is currently supported)
|
|
10997
|
-
* @param {String} opts.sortOrder
|
|
10996
|
+
* @param {String} opts.sortOrder The External Contact field to sort by. Any of: [firstName, lastName, middleName, title]. Direction: [asc, desc]. e.g. firstName:asc, title:desc
|
|
10998
10997
|
* @param {Array.<String>} opts.expand which fields, if any, to expand
|
|
10999
10998
|
*/},{key:"getExternalcontactsContacts",value:function getExternalcontactsContacts(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/externalcontacts/contacts','GET',{},{'pageSize':opts['pageSize'],'pageNumber':opts['pageNumber'],'q':opts['q'],'sortOrder':opts['sortOrder'],'expand':this.apiClient.buildCollectionParam(opts['expand'],'multi')},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
11000
10999
|
* Get a schema
|
|
@@ -11032,7 +11031,7 @@ if(externalOrganizationId===undefined||externalOrganizationId===null){throw'Miss
|
|
|
11032
11031
|
* @param {Number} opts.pageSize Page size (limited to fetching first 1,000 records; pageNumber * pageSize must be <= 1,000) (default to 20)
|
|
11033
11032
|
* @param {Number} opts.pageNumber Page number (limited to fetching first 1,000 records; pageNumber * pageSize must be <= 1,000) (default to 1)
|
|
11034
11033
|
* @param {String} opts.q User supplied search keywords (no special syntax is currently supported)
|
|
11035
|
-
* @param {String} opts.sortOrder
|
|
11034
|
+
* @param {String} opts.sortOrder The External Contact field to sort by. Any of: [firstName, lastName, middleName, title]. Direction: [asc, desc]. e.g. firstName:asc, title:desc
|
|
11036
11035
|
* @param {Array.<String>} opts.expand which fields, if any, to expand
|
|
11037
11036
|
*/},{key:"getExternalcontactsOrganizationContacts",value:function getExternalcontactsOrganizationContacts(externalOrganizationId,opts){opts=opts||{};// verify the required parameter 'externalOrganizationId' is set
|
|
11038
11037
|
if(externalOrganizationId===undefined||externalOrganizationId===null){throw'Missing the required parameter "externalOrganizationId" when calling getExternalcontactsOrganizationContacts';}return this.apiClient.callApi('/api/v2/externalcontacts/organizations/{externalOrganizationId}/contacts','GET',{'externalOrganizationId':externalOrganizationId},{'pageSize':opts['pageSize'],'pageNumber':opts['pageNumber'],'q':opts['q'],'sortOrder':opts['sortOrder'],'expand':this.apiClient.buildCollectionParam(opts['expand'],'multi')},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
@@ -11051,7 +11050,7 @@ if(noteId===undefined||noteId===null){throw'Missing the required parameter "note
|
|
|
11051
11050
|
* @param {Object} opts Optional parameters
|
|
11052
11051
|
* @param {Number} opts.pageSize Page size (limited to fetching first 1,000 records; pageNumber * pageSize must be <= 1,000) (default to 20)
|
|
11053
11052
|
* @param {Number} opts.pageNumber Page number (limited to fetching first 1,000 records; pageNumber * pageSize must be <= 1,000) (default to 1)
|
|
11054
|
-
* @param {String} opts.sortOrder
|
|
11053
|
+
* @param {String} opts.sortOrder The Note field to sort by. Any of: [createDate]. Direction: [asc, desc]. e.g. createDate:asc, createDate:desc
|
|
11055
11054
|
* @param {Array.<String>} opts.expand which fields, if any, to expand
|
|
11056
11055
|
*/},{key:"getExternalcontactsOrganizationNotes",value:function getExternalcontactsOrganizationNotes(externalOrganizationId,opts){opts=opts||{};// verify the required parameter 'externalOrganizationId' is set
|
|
11057
11056
|
if(externalOrganizationId===undefined||externalOrganizationId===null){throw'Missing the required parameter "externalOrganizationId" when calling getExternalcontactsOrganizationNotes';}return this.apiClient.callApi('/api/v2/externalcontacts/organizations/{externalOrganizationId}/notes','GET',{'externalOrganizationId':externalOrganizationId},{'pageSize':opts['pageSize'],'pageNumber':opts['pageNumber'],'sortOrder':opts['sortOrder'],'expand':this.apiClient.buildCollectionParam(opts['expand'],'multi')},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
@@ -11062,7 +11061,7 @@ if(externalOrganizationId===undefined||externalOrganizationId===null){throw'Miss
|
|
|
11062
11061
|
* @param {Number} opts.pageSize Page size (limited to fetching first 1,000 records; pageNumber * pageSize must be <= 1,000) (default to 20)
|
|
11063
11062
|
* @param {Number} opts.pageNumber Page number (limited to fetching first 1,000 records; pageNumber * pageSize must be <= 1,000) (default to 1)
|
|
11064
11063
|
* @param {Object} opts.expand which fields, if any, to expand
|
|
11065
|
-
* @param {String} opts.sortOrder
|
|
11064
|
+
* @param {String} opts.sortOrder The Relationship field to sort by. Any of: [createDate, relationship]. Direction: [asc, desc]. e.g. createDate:asc, relationship:desc
|
|
11066
11065
|
*/},{key:"getExternalcontactsOrganizationRelationships",value:function getExternalcontactsOrganizationRelationships(externalOrganizationId,opts){opts=opts||{};// verify the required parameter 'externalOrganizationId' is set
|
|
11067
11066
|
if(externalOrganizationId===undefined||externalOrganizationId===null){throw'Missing the required parameter "externalOrganizationId" when calling getExternalcontactsOrganizationRelationships';}return this.apiClient.callApi('/api/v2/externalcontacts/organizations/{externalOrganizationId}/relationships','GET',{'externalOrganizationId':externalOrganizationId},{'pageSize':opts['pageSize'],'pageNumber':opts['pageNumber'],'expand':opts['expand'],'sortOrder':opts['sortOrder']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
11068
11067
|
* Search for external organizations
|
|
@@ -11072,7 +11071,7 @@ if(externalOrganizationId===undefined||externalOrganizationId===null){throw'Miss
|
|
|
11072
11071
|
* @param {Number} opts.pageNumber Page number (limited to fetching first 1,000 records; pageNumber * pageSize must be <= 1,000) (default to 1)
|
|
11073
11072
|
* @param {String} opts.q Search query
|
|
11074
11073
|
* @param {Array.<String>} opts.trustorId Search for external organizations by trustorIds (limit 25). If supplied, the 'q' parameters is ignored. Items are returned in the order requested
|
|
11075
|
-
* @param {String} opts.sortOrder
|
|
11074
|
+
* @param {String} opts.sortOrder The Organization field to sort by. Any of: [companyType, industry, name]. Direction: [asc, desc]. e.g. companyType:asc, industry:desc
|
|
11076
11075
|
* @param {Array.<String>} opts.expand which fields, if any, to expand
|
|
11077
11076
|
* @param {Boolean} opts.includeTrustors (true or false) whether or not to include trustor information embedded in the externalOrganization
|
|
11078
11077
|
*/},{key:"getExternalcontactsOrganizations",value:function getExternalcontactsOrganizations(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/externalcontacts/organizations','GET',{},{'pageSize':opts['pageSize'],'pageNumber':opts['pageNumber'],'q':opts['q'],'trustorId':this.apiClient.buildCollectionParam(opts['trustorId'],'multi'),'sortOrder':opts['sortOrder'],'expand':this.apiClient.buildCollectionParam(opts['expand'],'multi'),'includeTrustors':opts['includeTrustors']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
@@ -11349,7 +11348,7 @@ if(relationshipId===undefined||relationshipId===null){throw'Missing the required
|
|
|
11349
11348
|
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']);}}]);return ExternalContactsApi;}();var FaxApi=/*#__PURE__*/function(){/**
|
|
11350
11349
|
* Fax service.
|
|
11351
11350
|
* @module purecloud-platform-client-v2/api/FaxApi
|
|
11352
|
-
* @version
|
|
11351
|
+
* @version 186.0.1
|
|
11353
11352
|
*/ /**
|
|
11354
11353
|
* Constructs a new FaxApi.
|
|
11355
11354
|
* @alias module:purecloud-platform-client-v2/api/FaxApi
|
|
@@ -11390,7 +11389,7 @@ if(documentId===undefined||documentId===null){throw'Missing the required paramet
|
|
|
11390
11389
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putFaxDocument';}return this.apiClient.callApi('/api/v2/fax/documents/{documentId}','PUT',{'documentId':documentId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);return FaxApi;}();var FlowsApi=/*#__PURE__*/function(){/**
|
|
11391
11390
|
* Flows service.
|
|
11392
11391
|
* @module purecloud-platform-client-v2/api/FlowsApi
|
|
11393
|
-
* @version
|
|
11392
|
+
* @version 186.0.1
|
|
11394
11393
|
*/ /**
|
|
11395
11394
|
* Constructs a new FlowsApi.
|
|
11396
11395
|
* @alias module:purecloud-platform-client-v2/api/FlowsApi
|
|
@@ -11439,7 +11438,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
11439
11438
|
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']);}}]);return FlowsApi;}();var GamificationApi=/*#__PURE__*/function(){/**
|
|
11440
11439
|
* Gamification service.
|
|
11441
11440
|
* @module purecloud-platform-client-v2/api/GamificationApi
|
|
11442
|
-
* @version
|
|
11441
|
+
* @version 186.0.1
|
|
11443
11442
|
*/ /**
|
|
11444
11443
|
* Constructs a new GamificationApi.
|
|
11445
11444
|
* @alias module:purecloud-platform-client-v2/api/GamificationApi
|
|
@@ -11979,7 +11978,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
11979
11978
|
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']);}}]);return GamificationApi;}();var GeneralDataProtectionRegulationApi=/*#__PURE__*/function(){/**
|
|
11980
11979
|
* GeneralDataProtectionRegulation service.
|
|
11981
11980
|
* @module purecloud-platform-client-v2/api/GeneralDataProtectionRegulationApi
|
|
11982
|
-
* @version
|
|
11981
|
+
* @version 186.0.1
|
|
11983
11982
|
*/ /**
|
|
11984
11983
|
* Constructs a new GeneralDataProtectionRegulationApi.
|
|
11985
11984
|
* @alias module:purecloud-platform-client-v2/api/GeneralDataProtectionRegulationApi
|
|
@@ -12014,7 +12013,7 @@ if(searchValue===undefined||searchValue===null){throw'Missing the required param
|
|
|
12014
12013
|
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']);}}]);return GeneralDataProtectionRegulationApi;}();var GeolocationApi=/*#__PURE__*/function(){/**
|
|
12015
12014
|
* Geolocation service.
|
|
12016
12015
|
* @module purecloud-platform-client-v2/api/GeolocationApi
|
|
12017
|
-
* @version
|
|
12016
|
+
* @version 186.0.1
|
|
12018
12017
|
*/ /**
|
|
12019
12018
|
* Constructs a new GeolocationApi.
|
|
12020
12019
|
* @alias module:purecloud-platform-client-v2/api/GeolocationApi
|
|
@@ -12048,7 +12047,7 @@ if(clientId===undefined||clientId===null){throw'Missing the required parameter "
|
|
|
12048
12047
|
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']);}}]);return GeolocationApi;}();var GreetingsApi=/*#__PURE__*/function(){/**
|
|
12049
12048
|
* Greetings service.
|
|
12050
12049
|
* @module purecloud-platform-client-v2/api/GreetingsApi
|
|
12051
|
-
* @version
|
|
12050
|
+
* @version 186.0.1
|
|
12052
12051
|
*/ /**
|
|
12053
12052
|
* Constructs a new GreetingsApi.
|
|
12054
12053
|
* @alias module:purecloud-platform-client-v2/api/GreetingsApi
|
|
@@ -12155,7 +12154,7 @@ if(userId===undefined||userId===null){throw'Missing the required parameter "user
|
|
|
12155
12154
|
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']);}}]);return GreetingsApi;}();var GroupsApi=/*#__PURE__*/function(){/**
|
|
12156
12155
|
* Groups service.
|
|
12157
12156
|
* @module purecloud-platform-client-v2/api/GroupsApi
|
|
12158
|
-
* @version
|
|
12157
|
+
* @version 186.0.1
|
|
12159
12158
|
*/ /**
|
|
12160
12159
|
* Constructs a new GroupsApi.
|
|
12161
12160
|
* @alias module:purecloud-platform-client-v2/api/GroupsApi
|
|
@@ -12288,7 +12287,7 @@ if(groupId===undefined||groupId===null){throw'Missing the required parameter "gr
|
|
|
12288
12287
|
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']);}}]);return GroupsApi;}();var IdentityProviderApi=/*#__PURE__*/function(){/**
|
|
12289
12288
|
* IdentityProvider service.
|
|
12290
12289
|
* @module purecloud-platform-client-v2/api/IdentityProviderApi
|
|
12291
|
-
* @version
|
|
12290
|
+
* @version 186.0.1
|
|
12292
12291
|
*/ /**
|
|
12293
12292
|
* Constructs a new IdentityProviderApi.
|
|
12294
12293
|
* @alias module:purecloud-platform-client-v2/api/IdentityProviderApi
|
|
@@ -12422,7 +12421,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
12422
12421
|
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']);}}]);return IdentityProviderApi;}();var InfrastructureAsCodeApi=/*#__PURE__*/function(){/**
|
|
12423
12422
|
* InfrastructureAsCode service.
|
|
12424
12423
|
* @module purecloud-platform-client-v2/api/InfrastructureAsCodeApi
|
|
12425
|
-
* @version
|
|
12424
|
+
* @version 186.0.1
|
|
12426
12425
|
*/ /**
|
|
12427
12426
|
* Constructs a new InfrastructureAsCodeApi.
|
|
12428
12427
|
* @alias module:purecloud-platform-client-v2/api/InfrastructureAsCodeApi
|
|
@@ -12476,7 +12475,7 @@ if(jobId===undefined||jobId===null){throw'Missing the required parameter "jobId"
|
|
|
12476
12475
|
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']);}}]);return InfrastructureAsCodeApi;}();var IntegrationsApi=/*#__PURE__*/function(){/**
|
|
12477
12476
|
* Integrations service.
|
|
12478
12477
|
* @module purecloud-platform-client-v2/api/IntegrationsApi
|
|
12479
|
-
* @version
|
|
12478
|
+
* @version 186.0.1
|
|
12480
12479
|
*/ /**
|
|
12481
12480
|
* Constructs a new IntegrationsApi.
|
|
12482
12481
|
* @alias module:purecloud-platform-client-v2/api/IntegrationsApi
|
|
@@ -12606,6 +12605,12 @@ if(fileName===undefined||fileName===null){throw'Missing the required parameter "
|
|
|
12606
12605
|
* @param {Object} opts.sortOrder Direction to sort 'sortBy' field. (default to asc)
|
|
12607
12606
|
* @param {Object} opts.secure Filter to only include secure actions. True will only include actions marked secured. False will include only unsecure actions. Do not use filter if you want all Actions.
|
|
12608
12607
|
*/},{key:"getIntegrationsActionsCategories",value:function getIntegrationsActionsCategories(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/integrations/actions/categories','GET',{},{'pageSize':opts['pageSize'],'pageNumber':opts['pageNumber'],'nextPage':opts['nextPage'],'previousPage':opts['previousPage'],'sortBy':opts['sortBy'],'sortOrder':opts['sortOrder'],'secure':opts['secure']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
12608
|
+
* Retrieves the available mTLS client certificates in use. This endpoint will return inconsistent results while a certificate rotation is in progress.
|
|
12609
|
+
*
|
|
12610
|
+
* @param {Object} opts Optional parameters
|
|
12611
|
+
* @param {Object} opts.status Indicates the validity of the certificate in question.
|
|
12612
|
+
* @param {Object} opts.type Indicates the type of the certificate.
|
|
12613
|
+
*/},{key:"getIntegrationsActionsCertificates",value:function getIntegrationsActionsCertificates(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/integrations/actions/certificates','GET',{},{'status':opts['status'],'type':opts['type']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
12609
12614
|
* Retrieves all action drafts associated with the filters passed in via query param.
|
|
12610
12615
|
*
|
|
12611
12616
|
* @param {Object} opts Optional parameters
|
|
@@ -12997,7 +13002,7 @@ if(ucIntegrationId===undefined||ucIntegrationId===null){throw'Missing the requir
|
|
|
12997
13002
|
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']);}}]);return IntegrationsApi;}();var JourneyApi=/*#__PURE__*/function(){/**
|
|
12998
13003
|
* Journey service.
|
|
12999
13004
|
* @module purecloud-platform-client-v2/api/JourneyApi
|
|
13000
|
-
* @version
|
|
13005
|
+
* @version 186.0.1
|
|
13001
13006
|
*/ /**
|
|
13002
13007
|
* Constructs a new JourneyApi.
|
|
13003
13008
|
* @alias module:purecloud-platform-client-v2/api/JourneyApi
|
|
@@ -13301,7 +13306,7 @@ if(deploymentId===undefined||deploymentId===null){throw'Missing the required par
|
|
|
13301
13306
|
*/},{key:"postJourneySegments",value:function postJourneySegments(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/journey/segments','POST',{},{},{},{},opts['body'],['PureCloud OAuth'],['application/json'],['application/json']);}}]);return JourneyApi;}();var KnowledgeApi=/*#__PURE__*/function(){/**
|
|
13302
13307
|
* Knowledge service.
|
|
13303
13308
|
* @module purecloud-platform-client-v2/api/KnowledgeApi
|
|
13304
|
-
* @version
|
|
13309
|
+
* @version 186.0.1
|
|
13305
13310
|
*/ /**
|
|
13306
13311
|
* Constructs a new KnowledgeApi.
|
|
13307
13312
|
* @alias module:purecloud-platform-client-v2/api/KnowledgeApi
|
|
@@ -14098,7 +14103,7 @@ if(knowledgeBaseId===undefined||knowledgeBaseId===null){throw'Missing the requir
|
|
|
14098
14103
|
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']);}}]);return KnowledgeApi;}();var LanguageUnderstandingApi=/*#__PURE__*/function(){/**
|
|
14099
14104
|
* LanguageUnderstanding service.
|
|
14100
14105
|
* @module purecloud-platform-client-v2/api/LanguageUnderstandingApi
|
|
14101
|
-
* @version
|
|
14106
|
+
* @version 186.0.1
|
|
14102
14107
|
*/ /**
|
|
14103
14108
|
* Constructs a new LanguageUnderstandingApi.
|
|
14104
14109
|
* @alias module:purecloud-platform-client-v2/api/LanguageUnderstandingApi
|
|
@@ -14354,7 +14359,7 @@ if(domainVersionId===undefined||domainVersionId===null){throw'Missing the requir
|
|
|
14354
14359
|
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']);}}]);return LanguageUnderstandingApi;}();var LanguagesApi=/*#__PURE__*/function(){/**
|
|
14355
14360
|
* Languages service.
|
|
14356
14361
|
* @module purecloud-platform-client-v2/api/LanguagesApi
|
|
14357
|
-
* @version
|
|
14362
|
+
* @version 186.0.1
|
|
14358
14363
|
*/ /**
|
|
14359
14364
|
* Constructs a new LanguagesApi.
|
|
14360
14365
|
* @alias module:purecloud-platform-client-v2/api/LanguagesApi
|
|
@@ -14409,7 +14414,7 @@ if(userId===undefined||userId===null){throw'Missing the required parameter "user
|
|
|
14409
14414
|
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']);}}]);return LanguagesApi;}();var LearningApi=/*#__PURE__*/function(){/**
|
|
14410
14415
|
* Learning service.
|
|
14411
14416
|
* @module purecloud-platform-client-v2/api/LearningApi
|
|
14412
|
-
* @version
|
|
14417
|
+
* @version 186.0.1
|
|
14413
14418
|
*/ /**
|
|
14414
14419
|
* Constructs a new LearningApi.
|
|
14415
14420
|
* @alias module:purecloud-platform-client-v2/api/LearningApi
|
|
@@ -14639,7 +14644,7 @@ if(moduleId===undefined||moduleId===null){throw'Missing the required parameter "
|
|
|
14639
14644
|
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']);}}]);return LearningApi;}();var LicenseApi=/*#__PURE__*/function(){/**
|
|
14640
14645
|
* License service.
|
|
14641
14646
|
* @module purecloud-platform-client-v2/api/LicenseApi
|
|
14642
|
-
* @version
|
|
14647
|
+
* @version 186.0.1
|
|
14643
14648
|
*/ /**
|
|
14644
14649
|
* Constructs a new LicenseApi.
|
|
14645
14650
|
* @alias module:purecloud-platform-client-v2/api/LicenseApi
|
|
@@ -14693,7 +14698,7 @@ if(featureName===undefined||featureName===null){throw'Missing the required param
|
|
|
14693
14698
|
*/},{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']);}}]);return LicenseApi;}();var LocationsApi=/*#__PURE__*/function(){/**
|
|
14694
14699
|
* Locations service.
|
|
14695
14700
|
* @module purecloud-platform-client-v2/api/LocationsApi
|
|
14696
|
-
* @version
|
|
14701
|
+
* @version 186.0.1
|
|
14697
14702
|
*/ /**
|
|
14698
14703
|
* Constructs a new LocationsApi.
|
|
14699
14704
|
* @alias module:purecloud-platform-client-v2/api/LocationsApi
|
|
@@ -14752,7 +14757,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
14752
14757
|
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']);}}]);return LocationsApi;}();var LogCaptureApi=/*#__PURE__*/function(){/**
|
|
14753
14758
|
* LogCapture service.
|
|
14754
14759
|
* @module purecloud-platform-client-v2/api/LogCaptureApi
|
|
14755
|
-
* @version
|
|
14760
|
+
* @version 186.0.1
|
|
14756
14761
|
*/ /**
|
|
14757
14762
|
* Constructs a new LogCaptureApi.
|
|
14758
14763
|
* @alias module:purecloud-platform-client-v2/api/LogCaptureApi
|
|
@@ -14760,19 +14765,49 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
14760
14765
|
* @param {module:purecloud-platform-client-v2/ApiClient} apiClient Optional API client implementation to use,
|
|
14761
14766
|
* default to {@link module:purecloud-platform-client-v2/ApiClient#instance} if unspecified.
|
|
14762
14767
|
*/function LogCaptureApi(apiClient){_classCallCheck(this,LogCaptureApi);this.apiClient=apiClient||ApiClient.instance;}/**
|
|
14768
|
+
* Disable browser log capture for the user
|
|
14769
|
+
*
|
|
14770
|
+
* @param {String} userId The id of the user to disable browser log capture
|
|
14771
|
+
*/_createClass(LogCaptureApi,[{key:"deleteDiagnosticsLogcaptureBrowserUser",value:function deleteDiagnosticsLogcaptureBrowserUser(userId){// verify the required parameter 'userId' is set
|
|
14772
|
+
if(userId===undefined||userId===null){throw'Missing the required parameter "userId" when calling deleteDiagnosticsLogcaptureBrowserUser';}return this.apiClient.callApi('/api/v2/diagnostics/logcapture/browser/users/{userId}','DELETE',{'userId':userId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
14763
14773
|
* Gets status of async download execution
|
|
14764
14774
|
*
|
|
14765
14775
|
* @param {String} jobId Job ID
|
|
14766
|
-
*/
|
|
14776
|
+
*/},{key:"getDiagnosticsLogcaptureBrowserEntriesDownloadJob",value:function getDiagnosticsLogcaptureBrowserEntriesDownloadJob(jobId){// verify the required parameter 'jobId' is set
|
|
14767
14777
|
if(jobId===undefined||jobId===null){throw'Missing the required parameter "jobId" when calling getDiagnosticsLogcaptureBrowserEntriesDownloadJob';}return this.apiClient.callApi('/api/v2/diagnostics/logcapture/browser/entries/download/jobs/{jobId}','GET',{'jobId':jobId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
14778
|
+
* Get log capture configuration for the user
|
|
14779
|
+
*
|
|
14780
|
+
* @param {String} userId The id of the user to get browser log capture configuration
|
|
14781
|
+
*/},{key:"getDiagnosticsLogcaptureBrowserUser",value:function getDiagnosticsLogcaptureBrowserUser(userId){// verify the required parameter 'userId' is set
|
|
14782
|
+
if(userId===undefined||userId===null){throw'Missing the required parameter "userId" when calling getDiagnosticsLogcaptureBrowserUser';}return this.apiClient.callApi('/api/v2/diagnostics/logcapture/browser/users/{userId}','GET',{'userId':userId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
14783
|
+
* Get all log capture enabled users for an org
|
|
14784
|
+
*
|
|
14785
|
+
* @param {Object} opts Optional parameters
|
|
14786
|
+
* @param {Boolean} opts.includeExpired Include expired users with log captures still available for search or download (default to false)
|
|
14787
|
+
*/},{key:"getDiagnosticsLogcaptureBrowserUsers",value:function getDiagnosticsLogcaptureBrowserUsers(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/diagnostics/logcapture/browser/users','GET',{},{'includeExpired':opts['includeExpired']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
14768
14788
|
* Creates an async download execution
|
|
14769
14789
|
*
|
|
14770
14790
|
* @param {Object} opts Optional parameters
|
|
14771
14791
|
* @param {Object} opts.body
|
|
14772
|
-
*/},{key:"postDiagnosticsLogcaptureBrowserEntriesDownloadJobs",value:function postDiagnosticsLogcaptureBrowserEntriesDownloadJobs(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/diagnostics/logcapture/browser/entries/download/jobs','POST',{},{},{},{},opts['body'],['PureCloud OAuth'],['application/json'],['application/json']);}
|
|
14792
|
+
*/},{key:"postDiagnosticsLogcaptureBrowserEntriesDownloadJobs",value:function postDiagnosticsLogcaptureBrowserEntriesDownloadJobs(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/diagnostics/logcapture/browser/entries/download/jobs','POST',{},{},{},{},opts['body'],['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
14793
|
+
* Query collected log entries. It returns a limited amount of records, to get all records use download endpoint.
|
|
14794
|
+
*
|
|
14795
|
+
* @param {Object} opts Optional parameters
|
|
14796
|
+
* @param {String} opts.before The cursor that points to the start of the set of entities that has been returned.
|
|
14797
|
+
* @param {String} opts.after The cursor that points to the end of the set of entities that has been returned.
|
|
14798
|
+
* @param {String} opts.pageSize Number of entities to return. Maximum of 200.
|
|
14799
|
+
* @param {Object} opts.body
|
|
14800
|
+
*/},{key:"postDiagnosticsLogcaptureBrowserEntriesQuery",value:function postDiagnosticsLogcaptureBrowserEntriesQuery(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/diagnostics/logcapture/browser/entries/query','POST',{},{'before':opts['before'],'after':opts['after'],'pageSize':opts['pageSize']},{},{},opts['body'],['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
14801
|
+
* Enable log capture for a user or update expiration
|
|
14802
|
+
*
|
|
14803
|
+
* @param {String} userId The id of the user to enable browser log capture
|
|
14804
|
+
* @param {Object} opts Optional parameters
|
|
14805
|
+
* @param {Object} opts.body
|
|
14806
|
+
*/},{key:"postDiagnosticsLogcaptureBrowserUser",value:function postDiagnosticsLogcaptureBrowserUser(userId,opts){opts=opts||{};// verify the required parameter 'userId' is set
|
|
14807
|
+
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']);}}]);return LogCaptureApi;}();var MessagingApi=/*#__PURE__*/function(){/**
|
|
14773
14808
|
* Messaging service.
|
|
14774
14809
|
* @module purecloud-platform-client-v2/api/MessagingApi
|
|
14775
|
-
* @version
|
|
14810
|
+
* @version 186.0.1
|
|
14776
14811
|
*/ /**
|
|
14777
14812
|
* Constructs a new MessagingApi.
|
|
14778
14813
|
* @alias module:purecloud-platform-client-v2/api/MessagingApi
|
|
@@ -14862,7 +14897,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
14862
14897
|
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']);}}]);return MessagingApi;}();var MobileDevicesApi=/*#__PURE__*/function(){/**
|
|
14863
14898
|
* MobileDevices service.
|
|
14864
14899
|
* @module purecloud-platform-client-v2/api/MobileDevicesApi
|
|
14865
|
-
* @version
|
|
14900
|
+
* @version 186.0.1
|
|
14866
14901
|
*/ /**
|
|
14867
14902
|
* Constructs a new MobileDevicesApi.
|
|
14868
14903
|
* @alias module:purecloud-platform-client-v2/api/MobileDevicesApi
|
|
@@ -14901,7 +14936,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
14901
14936
|
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']);}}]);return MobileDevicesApi;}();var NotificationsApi=/*#__PURE__*/function(){/**
|
|
14902
14937
|
* Notifications service.
|
|
14903
14938
|
* @module purecloud-platform-client-v2/api/NotificationsApi
|
|
14904
|
-
* @version
|
|
14939
|
+
* @version 186.0.1
|
|
14905
14940
|
*/ /**
|
|
14906
14941
|
* Constructs a new NotificationsApi.
|
|
14907
14942
|
* @alias module:purecloud-platform-client-v2/api/NotificationsApi
|
|
@@ -14958,7 +14993,7 @@ if(channelId===undefined||channelId===null){throw'Missing the required parameter
|
|
|
14958
14993
|
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']);}}]);return NotificationsApi;}();var OAuthApi=/*#__PURE__*/function(){/**
|
|
14959
14994
|
* OAuth service.
|
|
14960
14995
|
* @module purecloud-platform-client-v2/api/OAuthApi
|
|
14961
|
-
* @version
|
|
14996
|
+
* @version 186.0.1
|
|
14962
14997
|
*/ /**
|
|
14963
14998
|
* Constructs a new OAuthApi.
|
|
14964
14999
|
* @alias module:purecloud-platform-client-v2/api/OAuthApi
|
|
@@ -15043,7 +15078,7 @@ if(clientId===undefined||clientId===null){throw'Missing the required parameter "
|
|
|
15043
15078
|
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']);}}]);return OAuthApi;}();var ObjectsApi=/*#__PURE__*/function(){/**
|
|
15044
15079
|
* Objects service.
|
|
15045
15080
|
* @module purecloud-platform-client-v2/api/ObjectsApi
|
|
15046
|
-
* @version
|
|
15081
|
+
* @version 186.0.1
|
|
15047
15082
|
*/ /**
|
|
15048
15083
|
* Constructs a new ObjectsApi.
|
|
15049
15084
|
* @alias module:purecloud-platform-client-v2/api/ObjectsApi
|
|
@@ -15075,9 +15110,8 @@ if(divisionId===undefined||divisionId===null){throw'Missing the required paramet
|
|
|
15075
15110
|
* @param {String} opts.nextPage next page token
|
|
15076
15111
|
* @param {String} opts.previousPage Previous page token
|
|
15077
15112
|
* @param {Boolean} opts.objectCount Include the count of objects contained in the division (default to false)
|
|
15078
|
-
* @param {Array.<String>} opts.id Optionally request specific divisions by their IDs
|
|
15079
15113
|
* @param {String} opts.name Search term to filter by division name
|
|
15080
|
-
*/},{key:"getAuthorizationDivisions",value:function getAuthorizationDivisions(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/authorization/divisions','GET',{},{'pageSize':opts['pageSize'],'pageNumber':opts['pageNumber'],'sortBy':opts['sortBy'],'expand':this.apiClient.buildCollectionParam(opts['expand'],'multi'),'nextPage':opts['nextPage'],'previousPage':opts['previousPage'],'objectCount':opts['objectCount'],'
|
|
15114
|
+
*/},{key:"getAuthorizationDivisions",value:function getAuthorizationDivisions(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/authorization/divisions','GET',{},{'pageSize':opts['pageSize'],'pageNumber':opts['pageNumber'],'sortBy':opts['sortBy'],'expand':this.apiClient.buildCollectionParam(opts['expand'],'multi'),'nextPage':opts['nextPage'],'previousPage':opts['previousPage'],'objectCount':opts['objectCount'],'name':opts['name']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
15081
15115
|
* Retrieve the home division for the organization.
|
|
15082
15116
|
* Will not include object counts.
|
|
15083
15117
|
*/},{key:"getAuthorizationDivisionsHome",value:function getAuthorizationDivisionsHome(){return this.apiClient.callApi('/api/v2/authorization/divisions/home','GET',{},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
@@ -15114,7 +15148,7 @@ if(divisionId===undefined||divisionId===null){throw'Missing the required paramet
|
|
|
15114
15148
|
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']);}}]);return ObjectsApi;}();var OperationalEventsApi=/*#__PURE__*/function(){/**
|
|
15115
15149
|
* OperationalEvents service.
|
|
15116
15150
|
* @module purecloud-platform-client-v2/api/OperationalEventsApi
|
|
15117
|
-
* @version
|
|
15151
|
+
* @version 186.0.1
|
|
15118
15152
|
*/ /**
|
|
15119
15153
|
* Constructs a new OperationalEventsApi.
|
|
15120
15154
|
* @alias module:purecloud-platform-client-v2/api/OperationalEventsApi
|
|
@@ -15132,7 +15166,7 @@ if(eventDefinitionId===undefined||eventDefinitionId===null){throw'Missing the re
|
|
|
15132
15166
|
*/},{key:"getUsageEventsDefinitions",value:function getUsageEventsDefinitions(){return this.apiClient.callApi('/api/v2/usage/events/definitions','GET',{},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}}]);return OperationalEventsApi;}();var OrganizationApi=/*#__PURE__*/function(){/**
|
|
15133
15167
|
* Organization service.
|
|
15134
15168
|
* @module purecloud-platform-client-v2/api/OrganizationApi
|
|
15135
|
-
* @version
|
|
15169
|
+
* @version 186.0.1
|
|
15136
15170
|
*/ /**
|
|
15137
15171
|
* Constructs a new OrganizationApi.
|
|
15138
15172
|
* @alias module:purecloud-platform-client-v2/api/OrganizationApi
|
|
@@ -15234,7 +15268,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
15234
15268
|
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']);}}]);return OrganizationApi;}();var OrganizationAuthorizationApi=/*#__PURE__*/function(){/**
|
|
15235
15269
|
* OrganizationAuthorization service.
|
|
15236
15270
|
* @module purecloud-platform-client-v2/api/OrganizationAuthorizationApi
|
|
15237
|
-
* @version
|
|
15271
|
+
* @version 186.0.1
|
|
15238
15272
|
*/ /**
|
|
15239
15273
|
* Constructs a new OrganizationAuthorizationApi.
|
|
15240
15274
|
* @alias module:purecloud-platform-client-v2/api/OrganizationAuthorizationApi
|
|
@@ -15557,7 +15591,7 @@ if(trustorOrgId===undefined||trustorOrgId===null){throw'Missing the required par
|
|
|
15557
15591
|
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']);}}]);return OrganizationAuthorizationApi;}();var OutboundApi=/*#__PURE__*/function(){/**
|
|
15558
15592
|
* Outbound service.
|
|
15559
15593
|
* @module purecloud-platform-client-v2/api/OutboundApi
|
|
15560
|
-
* @version
|
|
15594
|
+
* @version 186.0.1
|
|
15561
15595
|
*/ /**
|
|
15562
15596
|
* Constructs a new OutboundApi.
|
|
15563
15597
|
* @alias module:purecloud-platform-client-v2/api/OutboundApi
|
|
@@ -16542,7 +16576,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
16542
16576
|
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']);}}]);return OutboundApi;}();var PresenceApi=/*#__PURE__*/function(){/**
|
|
16543
16577
|
* Presence service.
|
|
16544
16578
|
* @module purecloud-platform-client-v2/api/PresenceApi
|
|
16545
|
-
* @version
|
|
16579
|
+
* @version 186.0.1
|
|
16546
16580
|
*/ /**
|
|
16547
16581
|
* Constructs a new PresenceApi.
|
|
16548
16582
|
* @alias module:purecloud-platform-client-v2/api/PresenceApi
|
|
@@ -16710,7 +16744,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
16710
16744
|
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']);}}]);return PresenceApi;}();var ProcessAutomationApi=/*#__PURE__*/function(){/**
|
|
16711
16745
|
* ProcessAutomation service.
|
|
16712
16746
|
* @module purecloud-platform-client-v2/api/ProcessAutomationApi
|
|
16713
|
-
* @version
|
|
16747
|
+
* @version 186.0.1
|
|
16714
16748
|
*/ /**
|
|
16715
16749
|
* Constructs a new ProcessAutomationApi.
|
|
16716
16750
|
* @alias module:purecloud-platform-client-v2/api/ProcessAutomationApi
|
|
@@ -16773,7 +16807,7 @@ if(triggerId===undefined||triggerId===null){throw'Missing the required parameter
|
|
|
16773
16807
|
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']);}}]);return ProcessAutomationApi;}();var QualityApi=/*#__PURE__*/function(){/**
|
|
16774
16808
|
* Quality service.
|
|
16775
16809
|
* @module purecloud-platform-client-v2/api/QualityApi
|
|
16776
|
-
* @version
|
|
16810
|
+
* @version 186.0.1
|
|
16777
16811
|
*/ /**
|
|
16778
16812
|
* Constructs a new QualityApi.
|
|
16779
16813
|
* @alias module:purecloud-platform-client-v2/api/QualityApi
|
|
@@ -17203,7 +17237,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
17203
17237
|
if(calibrationId===undefined||calibrationId===null){throw'Missing the required parameter "calibrationId" when calling putQualityCalibration';}// verify the required parameter 'body' is set
|
|
17204
17238
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putQualityCalibration';}return this.apiClient.callApi('/api/v2/quality/calibrations/{calibrationId}','PUT',{'calibrationId':calibrationId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
17205
17239
|
* Update an evaluation
|
|
17206
|
-
* The quality:evaluation:edit permission allows modification of most fields, while the quality:evaluation:editScore permission allows an evaluator to change just the question scores, and the quality:evaluation:editAgentSignoff permission allows an agent to change the agent comments and sign off on the evaluation.
|
|
17240
|
+
* The quality:evaluation:edit permission allows modification of most fields, while the quality:evaluation:editScore permission allows an evaluator to change just the question scores, and the quality:evaluation:editAgentSignoff permission allows an agent to change the agent comments and sign off on the evaluation. authorizedActions is not returned for this PUT request, and is only returned for GET requests to this endpoint.
|
|
17207
17241
|
* @param {String} conversationId conversationId
|
|
17208
17242
|
* @param {String} evaluationId evaluationId
|
|
17209
17243
|
* @param {Object} body evaluation
|
|
@@ -17244,7 +17278,7 @@ if(customerSurveyUrl===undefined||customerSurveyUrl===null){throw'Missing the re
|
|
|
17244
17278
|
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']);}}]);return QualityApi;}();var RecordingApi=/*#__PURE__*/function(){/**
|
|
17245
17279
|
* Recording service.
|
|
17246
17280
|
* @module purecloud-platform-client-v2/api/RecordingApi
|
|
17247
|
-
* @version
|
|
17281
|
+
* @version 186.0.1
|
|
17248
17282
|
*/ /**
|
|
17249
17283
|
* Constructs a new RecordingApi.
|
|
17250
17284
|
* @alias module:purecloud-platform-client-v2/api/RecordingApi
|
|
@@ -17651,7 +17685,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
17651
17685
|
*/},{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']);}}]);return RecordingApi;}();var ResponseManagementApi=/*#__PURE__*/function(){/**
|
|
17652
17686
|
* ResponseManagement service.
|
|
17653
17687
|
* @module purecloud-platform-client-v2/api/ResponseManagementApi
|
|
17654
|
-
* @version
|
|
17688
|
+
* @version 186.0.1
|
|
17655
17689
|
*/ /**
|
|
17656
17690
|
* Constructs a new ResponseManagementApi.
|
|
17657
17691
|
* @alias module:purecloud-platform-client-v2/api/ResponseManagementApi
|
|
@@ -17767,7 +17801,7 @@ if(responseAssetId===undefined||responseAssetId===null){throw'Missing the requir
|
|
|
17767
17801
|
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']);}}]);return ResponseManagementApi;}();var RoutingApi=/*#__PURE__*/function(){/**
|
|
17768
17802
|
* Routing service.
|
|
17769
17803
|
* @module purecloud-platform-client-v2/api/RoutingApi
|
|
17770
|
-
* @version
|
|
17804
|
+
* @version 186.0.1
|
|
17771
17805
|
*/ /**
|
|
17772
17806
|
* Constructs a new RoutingApi.
|
|
17773
17807
|
* @alias module:purecloud-platform-client-v2/api/RoutingApi
|
|
@@ -18316,6 +18350,21 @@ if(codeId===undefined||codeId===null){throw'Missing the required parameter "code
|
|
|
18316
18350
|
* @param {Array.<String>} opts.id Filter by wrapup code ID(s)
|
|
18317
18351
|
* @param {Array.<String>} opts.divisionId Filter by division ID(s)
|
|
18318
18352
|
*/},{key:"getRoutingWrapupcodes",value:function getRoutingWrapupcodes(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/routing/wrapupcodes','GET',{},{'pageSize':opts['pageSize'],'pageNumber':opts['pageNumber'],'sortBy':opts['sortBy'],'sortOrder':opts['sortOrder'],'name':opts['name'],'id':this.apiClient.buildCollectionParam(opts['id'],'multi'),'divisionId':this.apiClient.buildCollectionParam(opts['divisionId'],'multi')},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
18353
|
+
* Get a simplified wrap-up code.
|
|
18354
|
+
*
|
|
18355
|
+
* @param {String} codeId Wrapup Code ID
|
|
18356
|
+
*/},{key:"getRoutingWrapupcodesDivisionview",value:function getRoutingWrapupcodesDivisionview(codeId){// verify the required parameter 'codeId' is set
|
|
18357
|
+
if(codeId===undefined||codeId===null){throw'Missing the required parameter "codeId" when calling getRoutingWrapupcodesDivisionview';}return this.apiClient.callApi('/api/v2/routing/wrapupcodes/divisionviews/{codeId}','GET',{'codeId':codeId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
18358
|
+
* Get a paged listing of simplified wrapup code objects, filterable by name, wrapup code ID(s), or division ID(s).
|
|
18359
|
+
* Specifying both name and ID parameters is not supported.
|
|
18360
|
+
* @param {Object} opts Optional parameters
|
|
18361
|
+
* @param {Number} opts.pageSize Page size (default to 25)
|
|
18362
|
+
* @param {Number} opts.pageNumber Page number (default to 1)
|
|
18363
|
+
* @param {String} opts.name Name (trailing asterisks allowed)
|
|
18364
|
+
* @param {Array.<String>} opts.id Wrapup code ID(s)
|
|
18365
|
+
* @param {Array.<String>} opts.divisionId Division ID(s)
|
|
18366
|
+
* @param {Object} opts.includeState Wrapup code state(s) to include
|
|
18367
|
+
*/},{key:"getRoutingWrapupcodesDivisionviews",value:function getRoutingWrapupcodesDivisionviews(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/routing/wrapupcodes/divisionviews','GET',{},{'pageSize':opts['pageSize'],'pageNumber':opts['pageNumber'],'name':opts['name'],'id':this.apiClient.buildCollectionParam(opts['id'],'multi'),'divisionId':this.apiClient.buildCollectionParam(opts['divisionId'],'multi'),'includeState':opts['includeState']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
18319
18368
|
* Get queues for user
|
|
18320
18369
|
*
|
|
18321
18370
|
* @param {String} userId User ID
|
|
@@ -18420,6 +18469,11 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
18420
18469
|
* @param {Object} body Contact Center Settings
|
|
18421
18470
|
*/},{key:"patchRoutingSettingsContactcenter",value:function patchRoutingSettingsContactcenter(body){// verify the required parameter 'body' is set
|
|
18422
18471
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling patchRoutingSettingsContactcenter';}return this.apiClient.callApi('/api/v2/routing/settings/contactcenter','PATCH',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
18472
|
+
* Patch Transcription Settings
|
|
18473
|
+
*
|
|
18474
|
+
* @param {Object} body Organization Settings
|
|
18475
|
+
*/},{key:"patchRoutingSettingsTranscription",value:function patchRoutingSettingsTranscription(body){// verify the required parameter 'body' is set
|
|
18476
|
+
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling patchRoutingSettingsTranscription';}return this.apiClient.callApi('/api/v2/routing/settings/transcription','PATCH',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
18423
18477
|
* Update skill group definition
|
|
18424
18478
|
*
|
|
18425
18479
|
* @param {String} skillGroupId Skill Group ID
|
|
@@ -18592,7 +18646,6 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
18592
18646
|
* Imports a phone number for SMS
|
|
18593
18647
|
*
|
|
18594
18648
|
* @param {Object} body SmsPhoneNumber
|
|
18595
|
-
* postRoutingSmsPhonenumbersImport is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
18596
18649
|
*/},{key:"postRoutingSmsPhonenumbersImport",value:function postRoutingSmsPhonenumbersImport(body){// verify the required parameter 'body' is set
|
|
18597
18650
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postRoutingSmsPhonenumbersImport';}return this.apiClient.callApi('/api/v2/routing/sms/phonenumbers/import','POST',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
18598
18651
|
* Create a utilization label
|
|
@@ -18716,7 +18769,7 @@ if(userId===undefined||userId===null){throw'Missing the required parameter "user
|
|
|
18716
18769
|
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']);}}]);return RoutingApi;}();var SCIMApi=/*#__PURE__*/function(){/**
|
|
18717
18770
|
* SCIM service.
|
|
18718
18771
|
* @module purecloud-platform-client-v2/api/SCIMApi
|
|
18719
|
-
* @version
|
|
18772
|
+
* @version 186.0.1
|
|
18720
18773
|
*/ /**
|
|
18721
18774
|
* Constructs a new SCIMApi.
|
|
18722
18775
|
* @alias module:purecloud-platform-client-v2/api/SCIMApi
|
|
@@ -18941,7 +18994,7 @@ if(userId===undefined||userId===null){throw'Missing the required parameter "user
|
|
|
18941
18994
|
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']);}}]);return SCIMApi;}();var ScriptsApi=/*#__PURE__*/function(){/**
|
|
18942
18995
|
* Scripts service.
|
|
18943
18996
|
* @module purecloud-platform-client-v2/api/ScriptsApi
|
|
18944
|
-
* @version
|
|
18997
|
+
* @version 186.0.1
|
|
18945
18998
|
*/ /**
|
|
18946
18999
|
* Constructs a new ScriptsApi.
|
|
18947
19000
|
* @alias module:purecloud-platform-client-v2/api/ScriptsApi
|
|
@@ -19077,7 +19130,7 @@ if(scriptId===undefined||scriptId===null){throw'Missing the required parameter "
|
|
|
19077
19130
|
*/},{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']);}}]);return ScriptsApi;}();var SearchApi=/*#__PURE__*/function(){/**
|
|
19078
19131
|
* Search service.
|
|
19079
19132
|
* @module purecloud-platform-client-v2/api/SearchApi
|
|
19080
|
-
* @version
|
|
19133
|
+
* @version 186.0.1
|
|
19081
19134
|
*/ /**
|
|
19082
19135
|
* Constructs a new SearchApi.
|
|
19083
19136
|
* @alias module:purecloud-platform-client-v2/api/SearchApi
|
|
@@ -19237,7 +19290,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
19237
19290
|
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']);}}]);return SearchApi;}();var SettingsApi=/*#__PURE__*/function(){/**
|
|
19238
19291
|
* Settings service.
|
|
19239
19292
|
* @module purecloud-platform-client-v2/api/SettingsApi
|
|
19240
|
-
* @version
|
|
19293
|
+
* @version 186.0.1
|
|
19241
19294
|
*/ /**
|
|
19242
19295
|
* Constructs a new SettingsApi.
|
|
19243
19296
|
* @alias module:purecloud-platform-client-v2/api/SettingsApi
|
|
@@ -19255,7 +19308,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
19255
19308
|
*/},{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']);}}]);return SettingsApi;}();var SpeechTextAnalyticsApi=/*#__PURE__*/function(){/**
|
|
19256
19309
|
* SpeechTextAnalytics service.
|
|
19257
19310
|
* @module purecloud-platform-client-v2/api/SpeechTextAnalyticsApi
|
|
19258
|
-
* @version
|
|
19311
|
+
* @version 186.0.1
|
|
19259
19312
|
*/ /**
|
|
19260
19313
|
* Constructs a new SpeechTextAnalyticsApi.
|
|
19261
19314
|
* @alias module:purecloud-platform-client-v2/api/SpeechTextAnalyticsApi
|
|
@@ -19498,7 +19551,7 @@ if(topicId===undefined||topicId===null){throw'Missing the required parameter "to
|
|
|
19498
19551
|
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']);}}]);return SpeechTextAnalyticsApi;}();var StationsApi=/*#__PURE__*/function(){/**
|
|
19499
19552
|
* Stations service.
|
|
19500
19553
|
* @module purecloud-platform-client-v2/api/StationsApi
|
|
19501
|
-
* @version
|
|
19554
|
+
* @version 186.0.1
|
|
19502
19555
|
*/ /**
|
|
19503
19556
|
* Constructs a new StationsApi.
|
|
19504
19557
|
* @alias module:purecloud-platform-client-v2/api/StationsApi
|
|
@@ -19530,7 +19583,7 @@ if(stationId===undefined||stationId===null){throw'Missing the required parameter
|
|
|
19530
19583
|
*/},{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']);}}]);return StationsApi;}();var SuggestApi=/*#__PURE__*/function(){/**
|
|
19531
19584
|
* Suggest service.
|
|
19532
19585
|
* @module purecloud-platform-client-v2/api/SuggestApi
|
|
19533
|
-
* @version
|
|
19586
|
+
* @version 186.0.1
|
|
19534
19587
|
*/ /**
|
|
19535
19588
|
* Constructs a new SuggestApi.
|
|
19536
19589
|
* @alias module:purecloud-platform-client-v2/api/SuggestApi
|
|
@@ -19570,7 +19623,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
19570
19623
|
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']);}}]);return SuggestApi;}();var TaskManagementApi=/*#__PURE__*/function(){/**
|
|
19571
19624
|
* TaskManagement service.
|
|
19572
19625
|
* @module purecloud-platform-client-v2/api/TaskManagementApi
|
|
19573
|
-
* @version
|
|
19626
|
+
* @version 186.0.1
|
|
19574
19627
|
*/ /**
|
|
19575
19628
|
* Constructs a new TaskManagementApi.
|
|
19576
19629
|
* @alias module:purecloud-platform-client-v2/api/TaskManagementApi
|
|
@@ -19912,7 +19965,7 @@ if(schemaId===undefined||schemaId===null){throw'Missing the required parameter "
|
|
|
19912
19965
|
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']);}}]);return TaskManagementApi;}();var TeamsApi=/*#__PURE__*/function(){/**
|
|
19913
19966
|
* Teams service.
|
|
19914
19967
|
* @module purecloud-platform-client-v2/api/TeamsApi
|
|
19915
|
-
* @version
|
|
19968
|
+
* @version 186.0.1
|
|
19916
19969
|
*/ /**
|
|
19917
19970
|
* Constructs a new TeamsApi.
|
|
19918
19971
|
* @alias module:purecloud-platform-client-v2/api/TeamsApi
|
|
@@ -19991,7 +20044,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
19991
20044
|
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']);}}]);return TeamsApi;}();var TelephonyApi=/*#__PURE__*/function(){/**
|
|
19992
20045
|
* Telephony service.
|
|
19993
20046
|
* @module purecloud-platform-client-v2/api/TelephonyApi
|
|
19994
|
-
* @version
|
|
20047
|
+
* @version 186.0.1
|
|
19995
20048
|
*/ /**
|
|
19996
20049
|
* Constructs a new TelephonyApi.
|
|
19997
20050
|
* @alias module:purecloud-platform-client-v2/api/TelephonyApi
|
|
@@ -20005,7 +20058,6 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
20005
20058
|
* Get a SIP message.
|
|
20006
20059
|
* Get the raw form of the SIP message
|
|
20007
20060
|
* @param {String} conversationId Conversation id
|
|
20008
|
-
* getTelephonySipmessagesConversation is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
20009
20061
|
*/},{key:"getTelephonySipmessagesConversation",value:function getTelephonySipmessagesConversation(conversationId){// verify the required parameter 'conversationId' is set
|
|
20010
20062
|
if(conversationId===undefined||conversationId===null){throw'Missing the required parameter "conversationId" when calling getTelephonySipmessagesConversation';}return this.apiClient.callApi('/api/v2/telephony/sipmessages/conversations/{conversationId}','GET',{'conversationId':conversationId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
20011
20063
|
* Get SIP headers.
|
|
@@ -20013,7 +20065,6 @@ if(conversationId===undefined||conversationId===null){throw'Missing the required
|
|
|
20013
20065
|
* @param {String} conversationId Conversation id
|
|
20014
20066
|
* @param {Object} opts Optional parameters
|
|
20015
20067
|
* @param {Array.<String>} opts.keys comma-separated list of header identifiers to query. e.g. ruri,to,from
|
|
20016
|
-
* getTelephonySipmessagesConversationHeaders is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
20017
20068
|
*/},{key:"getTelephonySipmessagesConversationHeaders",value:function getTelephonySipmessagesConversationHeaders(conversationId,opts){opts=opts||{};// verify the required parameter 'conversationId' is set
|
|
20018
20069
|
if(conversationId===undefined||conversationId===null){throw'Missing the required parameter "conversationId" when calling getTelephonySipmessagesConversationHeaders';}return this.apiClient.callApi('/api/v2/telephony/sipmessages/conversations/{conversationId}/headers','GET',{'conversationId':conversationId},{'keys':this.apiClient.buildCollectionParam(opts['keys'],'multi')},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
20019
20070
|
* Fetch SIP metadata
|
|
@@ -20040,7 +20091,7 @@ if(downloadId===undefined||downloadId===null){throw'Missing the required paramet
|
|
|
20040
20091
|
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']);}}]);return TelephonyApi;}();var TelephonyProvidersEdgeApi=/*#__PURE__*/function(){/**
|
|
20041
20092
|
* TelephonyProvidersEdge service.
|
|
20042
20093
|
* @module purecloud-platform-client-v2/api/TelephonyProvidersEdgeApi
|
|
20043
|
-
* @version
|
|
20094
|
+
* @version 186.0.1
|
|
20044
20095
|
*/ /**
|
|
20045
20096
|
* Constructs a new TelephonyProvidersEdgeApi.
|
|
20046
20097
|
* @alias module:purecloud-platform-client-v2/api/TelephonyProvidersEdgeApi
|
|
@@ -20328,7 +20379,6 @@ if(extensionPoolId===undefined||extensionPoolId===null){throw'Missing the requir
|
|
|
20328
20379
|
* @param {Array.<String>} opts.id ID of the Extension Pools to filter by.
|
|
20329
20380
|
* @param {String} opts.name Name of the Extension Pools to filter by.
|
|
20330
20381
|
* @param {Array.<String>} opts.divisionId List of divisionIds on which to filter.
|
|
20331
|
-
* getTelephonyProvidersEdgesExtensionpoolsDivisionviews is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
20332
20382
|
*/},{key:"getTelephonyProvidersEdgesExtensionpoolsDivisionviews",value:function getTelephonyProvidersEdgesExtensionpoolsDivisionviews(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/telephony/providers/edges/extensionpools/divisionviews','GET',{},{'pageNumber':opts['pageNumber'],'pageSize':opts['pageSize'],'sortBy':opts['sortBy'],'sortOrder':opts['sortOrder'],'id':this.apiClient.buildCollectionParam(opts['id'],'multi'),'name':opts['name'],'divisionId':this.apiClient.buildCollectionParam(opts['divisionId'],'multi')},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
20333
20383
|
* Get a listing of extensions
|
|
20334
20384
|
*
|
|
@@ -20533,7 +20583,8 @@ if(siteId===undefined||siteId===null){throw'Missing the required parameter "site
|
|
|
20533
20583
|
* @param {String} opts.name Name
|
|
20534
20584
|
* @param {String} opts.locationId Location Id
|
|
20535
20585
|
* @param {Boolean} opts.managed Filter by managed
|
|
20536
|
-
|
|
20586
|
+
* @param {Array.<String>} opts.expand Fields to expand in the response, comma-separated
|
|
20587
|
+
*/},{key:"getTelephonyProvidersEdgesSites",value:function getTelephonyProvidersEdgesSites(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/telephony/providers/edges/sites','GET',{},{'pageSize':opts['pageSize'],'pageNumber':opts['pageNumber'],'sortBy':opts['sortBy'],'sortOrder':opts['sortOrder'],'name':opts['name'],'location.id':opts['locationId'],'managed':opts['managed'],'expand':this.apiClient.buildCollectionParam(opts['expand'],'multi')},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
20537
20588
|
* Get a list of Edge-compatible time zones
|
|
20538
20589
|
*
|
|
20539
20590
|
* @param {Object} opts Optional parameters
|
|
@@ -20860,7 +20911,7 @@ if(trunkBaseSettingsId===undefined||trunkBaseSettingsId===null){throw'Missing th
|
|
|
20860
20911
|
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']);}}]);return TelephonyProvidersEdgeApi;}();var TextbotsApi=/*#__PURE__*/function(){/**
|
|
20861
20912
|
* Textbots service.
|
|
20862
20913
|
* @module purecloud-platform-client-v2/api/TextbotsApi
|
|
20863
|
-
* @version
|
|
20914
|
+
* @version 186.0.1
|
|
20864
20915
|
*/ /**
|
|
20865
20916
|
* Constructs a new TextbotsApi.
|
|
20866
20917
|
* @alias module:purecloud-platform-client-v2/api/TextbotsApi
|
|
@@ -20895,7 +20946,7 @@ if(launchRequest===undefined||launchRequest===null){throw'Missing the required p
|
|
|
20895
20946
|
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']);}}]);return TextbotsApi;}();var TokensApi=/*#__PURE__*/function(){/**
|
|
20896
20947
|
* Tokens service.
|
|
20897
20948
|
* @module purecloud-platform-client-v2/api/TokensApi
|
|
20898
|
-
* @version
|
|
20949
|
+
* @version 186.0.1
|
|
20899
20950
|
*/ /**
|
|
20900
20951
|
* Constructs a new TokensApi.
|
|
20901
20952
|
* @alias module:purecloud-platform-client-v2/api/TokensApi
|
|
@@ -20931,7 +20982,7 @@ if(userId===undefined||userId===null){throw'Missing the required parameter "user
|
|
|
20931
20982
|
*/},{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']);}}]);return TokensApi;}();var UploadsApi=/*#__PURE__*/function(){/**
|
|
20932
20983
|
* Uploads service.
|
|
20933
20984
|
* @module purecloud-platform-client-v2/api/UploadsApi
|
|
20934
|
-
* @version
|
|
20985
|
+
* @version 186.0.1
|
|
20935
20986
|
*/ /**
|
|
20936
20987
|
* Constructs a new UploadsApi.
|
|
20937
20988
|
* @alias module:purecloud-platform-client-v2/api/UploadsApi
|
|
@@ -20973,7 +21024,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
20973
21024
|
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']);}}]);return UploadsApi;}();var UsageApi=/*#__PURE__*/function(){/**
|
|
20974
21025
|
* Usage service.
|
|
20975
21026
|
* @module purecloud-platform-client-v2/api/UsageApi
|
|
20976
|
-
* @version
|
|
21027
|
+
* @version 186.0.1
|
|
20977
21028
|
*/ /**
|
|
20978
21029
|
* Constructs a new UsageApi.
|
|
20979
21030
|
* @alias module:purecloud-platform-client-v2/api/UsageApi
|
|
@@ -21024,7 +21075,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
21024
21075
|
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']);}}]);return UsageApi;}();var UserRecordingsApi=/*#__PURE__*/function(){/**
|
|
21025
21076
|
* UserRecordings service.
|
|
21026
21077
|
* @module purecloud-platform-client-v2/api/UserRecordingsApi
|
|
21027
|
-
* @version
|
|
21078
|
+
* @version 186.0.1
|
|
21028
21079
|
*/ /**
|
|
21029
21080
|
* Constructs a new UserRecordingsApi.
|
|
21030
21081
|
* @alias module:purecloud-platform-client-v2/api/UserRecordingsApi
|
|
@@ -21073,7 +21124,7 @@ if(recordingId===undefined||recordingId===null){throw'Missing the required param
|
|
|
21073
21124
|
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']);}}]);return UserRecordingsApi;}();var UsersApi=/*#__PURE__*/function(){/**
|
|
21074
21125
|
* Users service.
|
|
21075
21126
|
* @module purecloud-platform-client-v2/api/UsersApi
|
|
21076
|
-
* @version
|
|
21127
|
+
* @version 186.0.1
|
|
21077
21128
|
*/ /**
|
|
21078
21129
|
* Constructs a new UsersApi.
|
|
21079
21130
|
* @alias module:purecloud-platform-client-v2/api/UsersApi
|
|
@@ -21732,7 +21783,7 @@ if(verifierId===undefined||verifierId===null){throw'Missing the required paramet
|
|
|
21732
21783
|
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']);}}]);return UsersApi;}();var UtilitiesApi=/*#__PURE__*/function(){/**
|
|
21733
21784
|
* Utilities service.
|
|
21734
21785
|
* @module purecloud-platform-client-v2/api/UtilitiesApi
|
|
21735
|
-
* @version
|
|
21786
|
+
* @version 186.0.1
|
|
21736
21787
|
*/ /**
|
|
21737
21788
|
* Constructs a new UtilitiesApi.
|
|
21738
21789
|
* @alias module:purecloud-platform-client-v2/api/UtilitiesApi
|
|
@@ -21759,7 +21810,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
21759
21810
|
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']);}}]);return UtilitiesApi;}();var VoicemailApi=/*#__PURE__*/function(){/**
|
|
21760
21811
|
* Voicemail service.
|
|
21761
21812
|
* @module purecloud-platform-client-v2/api/VoicemailApi
|
|
21762
|
-
* @version
|
|
21813
|
+
* @version 186.0.1
|
|
21763
21814
|
*/ /**
|
|
21764
21815
|
* Constructs a new VoicemailApi.
|
|
21765
21816
|
* @alias module:purecloud-platform-client-v2/api/VoicemailApi
|
|
@@ -21908,7 +21959,7 @@ if(userId===undefined||userId===null){throw'Missing the required parameter "user
|
|
|
21908
21959
|
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']);}}]);return VoicemailApi;}();var WebChatApi=/*#__PURE__*/function(){/**
|
|
21909
21960
|
* WebChat service.
|
|
21910
21961
|
* @module purecloud-platform-client-v2/api/WebChatApi
|
|
21911
|
-
* @version
|
|
21962
|
+
* @version 186.0.1
|
|
21912
21963
|
*/ /**
|
|
21913
21964
|
* Constructs a new WebChatApi.
|
|
21914
21965
|
* @alias module:purecloud-platform-client-v2/api/WebChatApi
|
|
@@ -22041,7 +22092,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
22041
22092
|
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']);}}]);return WebChatApi;}();var WebDeploymentsApi=/*#__PURE__*/function(){/**
|
|
22042
22093
|
* WebDeployments service.
|
|
22043
22094
|
* @module purecloud-platform-client-v2/api/WebDeploymentsApi
|
|
22044
|
-
* @version
|
|
22095
|
+
* @version 186.0.1
|
|
22045
22096
|
*/ /**
|
|
22046
22097
|
* Constructs a new WebDeploymentsApi.
|
|
22047
22098
|
* @alias module:purecloud-platform-client-v2/api/WebDeploymentsApi
|
|
@@ -22162,7 +22213,7 @@ if(deploymentId===undefined||deploymentId===null){throw'Missing the required par
|
|
|
22162
22213
|
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']);}}]);return WebDeploymentsApi;}();var WebMessagingApi=/*#__PURE__*/function(){/**
|
|
22163
22214
|
* WebMessaging service.
|
|
22164
22215
|
* @module purecloud-platform-client-v2/api/WebMessagingApi
|
|
22165
|
-
* @version
|
|
22216
|
+
* @version 186.0.1
|
|
22166
22217
|
*/ /**
|
|
22167
22218
|
* Constructs a new WebMessagingApi.
|
|
22168
22219
|
* @alias module:purecloud-platform-client-v2/api/WebMessagingApi
|
|
@@ -22178,7 +22229,7 @@ if(deployment===undefined||deployment===null){throw'Missing the required paramet
|
|
|
22178
22229
|
*/_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']);}}]);return WebMessagingApi;}();var WidgetsApi=/*#__PURE__*/function(){/**
|
|
22179
22230
|
* Widgets service.
|
|
22180
22231
|
* @module purecloud-platform-client-v2/api/WidgetsApi
|
|
22181
|
-
* @version
|
|
22232
|
+
* @version 186.0.1
|
|
22182
22233
|
*/ /**
|
|
22183
22234
|
* Constructs a new WidgetsApi.
|
|
22184
22235
|
* @alias module:purecloud-platform-client-v2/api/WidgetsApi
|
|
@@ -22213,7 +22264,7 @@ if(deploymentId===undefined||deploymentId===null){throw'Missing the required par
|
|
|
22213
22264
|
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']);}}]);return WidgetsApi;}();var WorkforceManagementApi=/*#__PURE__*/function(){/**
|
|
22214
22265
|
* WorkforceManagement service.
|
|
22215
22266
|
* @module purecloud-platform-client-v2/api/WorkforceManagementApi
|
|
22216
|
-
* @version
|
|
22267
|
+
* @version 186.0.1
|
|
22217
22268
|
*/ /**
|
|
22218
22269
|
* Constructs a new WorkforceManagementApi.
|
|
22219
22270
|
* @alias module:purecloud-platform-client-v2/api/WorkforceManagementApi
|
|
@@ -23564,7 +23615,7 @@ if(timeOffLimitId===undefined||timeOffLimitId===null){throw'Missing the required
|
|
|
23564
23615
|
* </pre>
|
|
23565
23616
|
* </p>
|
|
23566
23617
|
* @module purecloud-platform-client-v2/index
|
|
23567
|
-
* @version
|
|
23618
|
+
* @version 186.0.1
|
|
23568
23619
|
*/var platformClient=/*#__PURE__*/_createClass(function platformClient(){_classCallCheck(this,platformClient);/**
|
|
23569
23620
|
* The ApiClient constructor.
|
|
23570
23621
|
* @property {module:purecloud-platform-client-v2/ApiClient}
|