purecloud-platform-client-v2 185.0.0 → 187.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +2 -2
- package/dist/node/purecloud-platform-client-v2.js +1019 -245
- package/dist/web-amd/purecloud-platform-client-v2.js +1019 -245
- package/dist/web-amd/purecloud-platform-client-v2.min.js +1 -1
- package/dist/web-cjs/bundle.js +357 -172
- package/dist/web-cjs/purecloud-platform-client-v2.js +362 -174
- package/dist/web-cjs/purecloud-platform-client-v2.min.js +1 -1
- package/index.d.ts +674 -222
- 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 +25 -7
- 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 +61 -22
- 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 +38 -3
- 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 +106 -1
- package/src/purecloud-platform-client-v2/api/InfrastructureAsCodeApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/IntegrationsApi.js +161 -1
- package/src/purecloud-platform-client-v2/api/JourneyApi.js +1 -34
- package/src/purecloud-platform-client-v2/api/KnowledgeApi.js +63 -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 +186 -1
- package/src/purecloud-platform-client-v2/api/PresenceApi.js +11 -6
- 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/ScreenRecordingApi.js +50 -0
- 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 -29
- 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 +32 -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 +7 -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
|
*
|
|
@@ -5664,7 +5667,7 @@ return utils$1.matchAll(/\w+|\[(\w*)]/g,name).map(function(match){return match[0
|
|
|
5664
5667
|
* @param {Function} encoder - A function that takes a value and returns a string.
|
|
5665
5668
|
*
|
|
5666
5669
|
* @returns {string} A stringified version of the rawValue.
|
|
5667
|
-
*/function stringifySafely(rawValue,parser,encoder){if(utils$1.isString(rawValue)){try{(parser||JSON.parse)(rawValue);return utils$1.trim(rawValue);}catch(e){if(e.name!=='SyntaxError'){throw e;}}}return(encoder||JSON.stringify)(rawValue);}var defaults={transitional:transitionalDefaults,adapter:['xhr','http'],transformRequest:[function transformRequest(data,headers){var contentType=headers.getContentType()||'';var hasJSONContentType=contentType.indexOf('application/json')>-1;var isObjectPayload=utils$1.isObject(data);if(isObjectPayload&&utils$1.isHTMLForm(data)){data=new FormData(data);}var isFormData=utils$1.isFormData(data);if(isFormData){
|
|
5670
|
+
*/function stringifySafely(rawValue,parser,encoder){if(utils$1.isString(rawValue)){try{(parser||JSON.parse)(rawValue);return utils$1.trim(rawValue);}catch(e){if(e.name!=='SyntaxError'){throw e;}}}return(encoder||JSON.stringify)(rawValue);}var defaults={transitional:transitionalDefaults,adapter:['xhr','http'],transformRequest:[function transformRequest(data,headers){var contentType=headers.getContentType()||'';var hasJSONContentType=contentType.indexOf('application/json')>-1;var isObjectPayload=utils$1.isObject(data);if(isObjectPayload&&utils$1.isHTMLForm(data)){data=new FormData(data);}var isFormData=utils$1.isFormData(data);if(isFormData){return hasJSONContentType?JSON.stringify(formDataToJSON(data)):data;}if(utils$1.isArrayBuffer(data)||utils$1.isBuffer(data)||utils$1.isStream(data)||utils$1.isFile(data)||utils$1.isBlob(data)){return data;}if(utils$1.isArrayBufferView(data)){return data.buffer;}if(utils$1.isURLSearchParams(data)){headers.setContentType('application/x-www-form-urlencoded;charset=utf-8',false);return data.toString();}var isFileList;if(isObjectPayload){if(contentType.indexOf('application/x-www-form-urlencoded')>-1){return toURLEncodedForm(data,this.formSerializer).toString();}if((isFileList=utils$1.isFileList(data))||contentType.indexOf('multipart/form-data')>-1){var _FormData=this.env&&this.env.FormData;return toFormData(isFileList?{'files[]':data}:data,_FormData&&new _FormData(),this.formSerializer);}}if(isObjectPayload||hasJSONContentType){headers.setContentType('application/json',false);return stringifySafely(data);}return data;}],transformResponse:[function transformResponse(data){var transitional=this.transitional||defaults.transitional;var forcedJSONParsing=transitional&&transitional.forcedJSONParsing;var JSONRequested=this.responseType==='json';if(data&&utils$1.isString(data)&&(forcedJSONParsing&&!this.responseType||JSONRequested)){var silentJSONParsing=transitional&&transitional.silentJSONParsing;var strictJSONParsing=!silentJSONParsing&&JSONRequested;try{return JSON.parse(data);}catch(e){if(strictJSONParsing){if(e.name==='SyntaxError'){throw AxiosError.from(e,AxiosError.ERR_BAD_RESPONSE,this,null,this.response);}throw e;}}}return data;}],/**
|
|
5668
5671
|
* A timeout in milliseconds to abort a request. If set to 0 (default) a
|
|
5669
5672
|
* timeout is not created.
|
|
5670
5673
|
*/timeout:0,xsrfCookieName:'XSRF-TOKEN',xsrfHeaderName:'X-XSRF-TOKEN',maxContentLength:-1,maxBodyLength:-1,env:{FormData:platform.classes.FormData,Blob:platform.classes.Blob},validateStatus:function validateStatus(status){return status>=200&&status<300;},headers:{common:{'Accept':'application/json, text/plain, */*','Content-Type':undefined}}};utils$1.forEach(['delete','get','head','post','put','patch'],function(method){defaults.headers[method]={};});var defaults$1=defaults;// RawAxiosHeaders whose duplicates are ignored by node
|
|
@@ -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.7";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,stack;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);if(_context.t0 instanceof Error){Error.captureStackTrace?Error.captureStackTrace(dummy={}):dummy=new Error();// slice off the Error: ... line
|
|
5858
|
+
stack=dummy.stack?dummy.stack.replace(/^.+\n/,''):'';if(!_context.t0.stack){_context.t0.stack=stack;// match without the 2 top stack lines
|
|
5859
|
+
}else if(stack&&!String(_context.t0.stack).endsWith(stack.replace(/^.+\n.+\n/,''))){_context.t0.stack+='\n'+stack;}}throw _context.t0;case 10: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 187.0.0
|
|
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 187.0.0
|
|
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 187.0.0
|
|
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 187.0.0
|
|
7010
7015
|
*/ /**
|
|
7011
7016
|
* Constructs a new ArchitectApi.
|
|
7012
7017
|
* @alias module:purecloud-platform-client-v2/api/ArchitectApi
|
|
@@ -7298,8 +7303,12 @@ if(ivrId===undefined||ivrId===null){throw'Missing the required parameter "ivrId"
|
|
|
7298
7303
|
* Get specified user prompt
|
|
7299
7304
|
*
|
|
7300
7305
|
* @param {String} promptId Prompt ID
|
|
7301
|
-
|
|
7302
|
-
|
|
7306
|
+
* @param {Object} opts Optional parameters
|
|
7307
|
+
* @param {Boolean} opts.includeMediaUris Include the media URIs for each resource (default to true)
|
|
7308
|
+
* @param {Boolean} opts.includeResources Include the resources for each system prompt (default to true)
|
|
7309
|
+
* @param {Array.<String>} opts.language Filter the resources down to the provided languages
|
|
7310
|
+
*/},{key:"getArchitectPrompt",value:function getArchitectPrompt(promptId,opts){opts=opts||{};// verify the required parameter 'promptId' is set
|
|
7311
|
+
if(promptId===undefined||promptId===null){throw'Missing the required parameter "promptId" when calling getArchitectPrompt';}return this.apiClient.callApi('/api/v2/architect/prompts/{promptId}','GET',{'promptId':promptId},{'includeMediaUris':opts['includeMediaUris'],'includeResources':opts['includeResources'],'language':this.apiClient.buildCollectionParam(opts['language'],'multi')},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
7303
7312
|
* Get generated prompt history
|
|
7304
7313
|
*
|
|
7305
7314
|
* @param {String} promptId Prompt ID
|
|
@@ -7338,7 +7347,10 @@ if(promptId===undefined||promptId===null){throw'Missing the required parameter "
|
|
|
7338
7347
|
* @param {String} opts.nameOrDescription Name or description
|
|
7339
7348
|
* @param {String} opts.sortBy Sort by (default to id)
|
|
7340
7349
|
* @param {String} opts.sortOrder Sort order (default to asc)
|
|
7341
|
-
|
|
7350
|
+
* @param {Boolean} opts.includeMediaUris Include the media URIs for each resource (default to true)
|
|
7351
|
+
* @param {Boolean} opts.includeResources Include the resources for each system prompt (default to true)
|
|
7352
|
+
* @param {Array.<String>} opts.language Filter the resources down to the provided languages
|
|
7353
|
+
*/},{key:"getArchitectPrompts",value:function getArchitectPrompts(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/architect/prompts','GET',{},{'pageNumber':opts['pageNumber'],'pageSize':opts['pageSize'],'name':this.apiClient.buildCollectionParam(opts['name'],'multi'),'description':opts['description'],'nameOrDescription':opts['nameOrDescription'],'sortBy':opts['sortBy'],'sortOrder':opts['sortOrder'],'includeMediaUris':opts['includeMediaUris'],'includeResources':opts['includeResources'],'language':this.apiClient.buildCollectionParam(opts['language'],'multi')},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
7342
7354
|
* Get a schedule by ID
|
|
7343
7355
|
*
|
|
7344
7356
|
* @param {String} scheduleId Schedule ID
|
|
@@ -7395,8 +7407,12 @@ if(scheduleGroupId===undefined||scheduleGroupId===null){throw'Missing the requir
|
|
|
7395
7407
|
* Get a system prompt
|
|
7396
7408
|
*
|
|
7397
7409
|
* @param {String} promptId promptId
|
|
7398
|
-
|
|
7399
|
-
|
|
7410
|
+
* @param {Object} opts Optional parameters
|
|
7411
|
+
* @param {Boolean} opts.includeMediaUris Include the media URIs for each resource (default to true)
|
|
7412
|
+
* @param {Boolean} opts.includeResources Include the resources for each system prompt (default to true)
|
|
7413
|
+
* @param {Array.<String>} opts.language Filter the resources down to the provided languages
|
|
7414
|
+
*/},{key:"getArchitectSystemprompt",value:function getArchitectSystemprompt(promptId,opts){opts=opts||{};// verify the required parameter 'promptId' is set
|
|
7415
|
+
if(promptId===undefined||promptId===null){throw'Missing the required parameter "promptId" when calling getArchitectSystemprompt';}return this.apiClient.callApi('/api/v2/architect/systemprompts/{promptId}','GET',{'promptId':promptId},{'includeMediaUris':opts['includeMediaUris'],'includeResources':opts['includeResources'],'language':this.apiClient.buildCollectionParam(opts['language'],'multi')},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
7400
7416
|
* Get generated prompt history
|
|
7401
7417
|
*
|
|
7402
7418
|
* @param {String} promptId promptId
|
|
@@ -7437,7 +7453,10 @@ if(promptId===undefined||promptId===null){throw'Missing the required parameter "
|
|
|
7437
7453
|
* @param {String} opts.name Name
|
|
7438
7454
|
* @param {String} opts.description Description
|
|
7439
7455
|
* @param {String} opts.nameOrDescription Name or description
|
|
7440
|
-
|
|
7456
|
+
* @param {Boolean} opts.includeMediaUris Include the media URIs for each resource (default to true)
|
|
7457
|
+
* @param {Boolean} opts.includeResources Include the resources for each system prompt (default to true)
|
|
7458
|
+
* @param {Array.<String>} opts.language Filter the resources down to the provided languages
|
|
7459
|
+
*/},{key:"getArchitectSystemprompts",value:function getArchitectSystemprompts(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/architect/systemprompts','GET',{},{'pageNumber':opts['pageNumber'],'pageSize':opts['pageSize'],'sortBy':opts['sortBy'],'sortOrder':opts['sortOrder'],'name':opts['name'],'description':opts['description'],'nameOrDescription':opts['nameOrDescription'],'includeMediaUris':opts['includeMediaUris'],'includeResources':opts['includeResources'],'language':this.apiClient.buildCollectionParam(opts['language'],'multi')},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
7441
7460
|
* Get flow
|
|
7442
7461
|
*
|
|
7443
7462
|
* @param {String} flowId Flow ID
|
|
@@ -8038,7 +8057,7 @@ if(milestoneId===undefined||milestoneId===null){throw'Missing the required param
|
|
|
8038
8057
|
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
8058
|
* Audit service.
|
|
8040
8059
|
* @module purecloud-platform-client-v2/api/AuditApi
|
|
8041
|
-
* @version
|
|
8060
|
+
* @version 187.0.0
|
|
8042
8061
|
*/ /**
|
|
8043
8062
|
* Constructs a new AuditApi.
|
|
8044
8063
|
* @alias module:purecloud-platform-client-v2/api/AuditApi
|
|
@@ -8080,7 +8099,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
8080
8099
|
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
8100
|
* Authorization service.
|
|
8082
8101
|
* @module purecloud-platform-client-v2/api/AuthorizationApi
|
|
8083
|
-
* @version
|
|
8102
|
+
* @version 187.0.0
|
|
8084
8103
|
*/ /**
|
|
8085
8104
|
* Constructs a new AuthorizationApi.
|
|
8086
8105
|
* @alias module:purecloud-platform-client-v2/api/AuthorizationApi
|
|
@@ -8134,9 +8153,8 @@ if(divisionId===undefined||divisionId===null){throw'Missing the required paramet
|
|
|
8134
8153
|
* @param {String} opts.nextPage next page token
|
|
8135
8154
|
* @param {String} opts.previousPage Previous page token
|
|
8136
8155
|
* @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
8156
|
* @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'],'
|
|
8157
|
+
*/},{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
8158
|
* Retrieve the home division for the organization.
|
|
8141
8159
|
* Will not include object counts.
|
|
8142
8160
|
*/},{key:"getAuthorizationDivisionsHome",value:function getAuthorizationDivisionsHome(){return this.apiClient.callApi('/api/v2/authorization/divisions/home','GET',{},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
@@ -8391,7 +8409,7 @@ if(subjectId===undefined||subjectId===null){throw'Missing the required parameter
|
|
|
8391
8409
|
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
8410
|
* Billing service.
|
|
8393
8411
|
* @module purecloud-platform-client-v2/api/BillingApi
|
|
8394
|
-
* @version
|
|
8412
|
+
* @version 187.0.0
|
|
8395
8413
|
*/ /**
|
|
8396
8414
|
* Constructs a new BillingApi.
|
|
8397
8415
|
* @alias module:purecloud-platform-client-v2/api/BillingApi
|
|
@@ -8415,7 +8433,7 @@ if(endDate===undefined||endDate===null){throw'Missing the required parameter "en
|
|
|
8415
8433
|
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
8434
|
* CarrierServices service.
|
|
8417
8435
|
* @module purecloud-platform-client-v2/api/CarrierServicesApi
|
|
8418
|
-
* @version
|
|
8436
|
+
* @version 187.0.0
|
|
8419
8437
|
*/ /**
|
|
8420
8438
|
* Constructs a new CarrierServicesApi.
|
|
8421
8439
|
* @alias module:purecloud-platform-client-v2/api/CarrierServicesApi
|
|
@@ -8435,7 +8453,7 @@ if(phoneNumber===undefined||phoneNumber===null){throw'Missing the required param
|
|
|
8435
8453
|
*/},{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
8454
|
* Chat service.
|
|
8437
8455
|
* @module purecloud-platform-client-v2/api/ChatApi
|
|
8438
|
-
* @version
|
|
8456
|
+
* @version 187.0.0
|
|
8439
8457
|
*/ /**
|
|
8440
8458
|
* Constructs a new ChatApi.
|
|
8441
8459
|
* @alias module:purecloud-platform-client-v2/api/ChatApi
|
|
@@ -8499,18 +8517,12 @@ if(messageIds===undefined||messageIds===null){throw'Missing the required paramet
|
|
|
8499
8517
|
*
|
|
8500
8518
|
* @param {String} roomJid roomJid
|
|
8501
8519
|
* @param {Object} opts Optional parameters
|
|
8502
|
-
* @param {Number} opts.pageSize The total page size requested (default to 25)
|
|
8503
|
-
* @param {Number} opts.pageNumber The page number requested (default to 1)
|
|
8504
|
-
* @param {String} opts.sortBy variable name requested to sort by
|
|
8505
|
-
* @param {Array.<String>} opts.expand variable name requested by expand list
|
|
8506
|
-
* @param {String} opts.nextPage next page token
|
|
8507
|
-
* @param {String} opts.previousPage Previous page token
|
|
8508
8520
|
* @param {String} opts.limit The maximum number of messages to retrieve
|
|
8509
8521
|
* @param {String} opts.before The cutoff date for messages to retrieve
|
|
8510
8522
|
* @param {String} opts.after The beginning date for messages to retrieve
|
|
8511
8523
|
* getChatsRoomMessages is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
8512
8524
|
*/},{key:"getChatsRoomMessages",value:function getChatsRoomMessages(roomJid,opts){opts=opts||{};// verify the required parameter 'roomJid' is set
|
|
8513
|
-
if(roomJid===undefined||roomJid===null){throw'Missing the required parameter "roomJid" when calling getChatsRoomMessages';}return this.apiClient.callApi('/api/v2/chats/rooms/{roomJid}/messages','GET',{'roomJid':roomJid},{'
|
|
8525
|
+
if(roomJid===undefined||roomJid===null){throw'Missing the required parameter "roomJid" when calling getChatsRoomMessages';}return this.apiClient.callApi('/api/v2/chats/rooms/{roomJid}/messages','GET',{'roomJid':roomJid},{'limit':opts['limit'],'before':opts['before'],'after':opts['after']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
8514
8526
|
* Get Chat Settings.
|
|
8515
8527
|
*
|
|
8516
8528
|
*/},{key:"getChatsSettings",value:function getChatsSettings(){return this.apiClient.callApi('/api/v2/chats/settings','GET',{},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
@@ -8518,18 +8530,12 @@ if(roomJid===undefined||roomJid===null){throw'Missing the required parameter "ro
|
|
|
8518
8530
|
*
|
|
8519
8531
|
* @param {String} threadId threadId
|
|
8520
8532
|
* @param {Object} opts Optional parameters
|
|
8521
|
-
* @param {Number} opts.pageSize The total page size requested (default to 25)
|
|
8522
|
-
* @param {Number} opts.pageNumber The page number requested (default to 1)
|
|
8523
|
-
* @param {String} opts.sortBy variable name requested to sort by
|
|
8524
|
-
* @param {Array.<String>} opts.expand variable name requested by expand list
|
|
8525
|
-
* @param {String} opts.nextPage next page token
|
|
8526
|
-
* @param {String} opts.previousPage Previous page token
|
|
8527
8533
|
* @param {String} opts.limit The maximum number of messages to retrieve
|
|
8528
8534
|
* @param {String} opts.before The cutoff date for messages to retrieve
|
|
8529
8535
|
* @param {String} opts.after The beginning date for messages to retrieve
|
|
8530
8536
|
* getChatsThreadMessages is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
8531
8537
|
*/},{key:"getChatsThreadMessages",value:function getChatsThreadMessages(threadId,opts){opts=opts||{};// verify the required parameter 'threadId' is set
|
|
8532
|
-
if(threadId===undefined||threadId===null){throw'Missing the required parameter "threadId" when calling getChatsThreadMessages';}return this.apiClient.callApi('/api/v2/chats/threads/{threadId}/messages','GET',{'threadId':threadId},{'
|
|
8538
|
+
if(threadId===undefined||threadId===null){throw'Missing the required parameter "threadId" when calling getChatsThreadMessages';}return this.apiClient.callApi('/api/v2/chats/threads/{threadId}/messages','GET',{'threadId':threadId},{'limit':opts['limit'],'before':opts['before'],'after':opts['after']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
8533
8539
|
* Get messages by id(s) from a 1on1
|
|
8534
8540
|
*
|
|
8535
8541
|
* @param {String} userId userId
|
|
@@ -8542,18 +8548,18 @@ if(messageIds===undefined||messageIds===null){throw'Missing the required paramet
|
|
|
8542
8548
|
*
|
|
8543
8549
|
* @param {String} userId userId
|
|
8544
8550
|
* @param {Object} opts Optional parameters
|
|
8545
|
-
* @param {Number} opts.pageSize The total page size requested (default to 25)
|
|
8546
|
-
* @param {Number} opts.pageNumber The page number requested (default to 1)
|
|
8547
|
-
* @param {String} opts.sortBy variable name requested to sort by
|
|
8548
|
-
* @param {Array.<String>} opts.expand variable name requested by expand list
|
|
8549
|
-
* @param {String} opts.nextPage next page token
|
|
8550
|
-
* @param {String} opts.previousPage Previous page token
|
|
8551
8551
|
* @param {String} opts.limit The maximum number of messages to retrieve
|
|
8552
8552
|
* @param {String} opts.before The cutoff date for messages to retrieve
|
|
8553
8553
|
* @param {String} opts.after The beginning date for messages to retrieve
|
|
8554
8554
|
* getChatsUserMessages is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
8555
8555
|
*/},{key:"getChatsUserMessages",value:function getChatsUserMessages(userId,opts){opts=opts||{};// verify the required parameter 'userId' is set
|
|
8556
|
-
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},{'
|
|
8556
|
+
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},{'limit':opts['limit'],'before':opts['before'],'after':opts['after']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
8557
|
+
* Get a user's chat settings
|
|
8558
|
+
*
|
|
8559
|
+
* @param {String} userId User ID
|
|
8560
|
+
* getChatsUserSettings is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
8561
|
+
*/},{key:"getChatsUserSettings",value:function getChatsUserSettings(userId){// verify the required parameter 'userId' is set
|
|
8562
|
+
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
8563
|
* Set properties for a room
|
|
8558
8564
|
*
|
|
8559
8565
|
* @param {String} roomJid roomJid
|
|
@@ -8587,6 +8593,14 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
8587
8593
|
if(userId===undefined||userId===null){throw'Missing the required parameter "userId" when calling patchChatsUserMessage';}// verify the required parameter 'messageId' is set
|
|
8588
8594
|
if(messageId===undefined||messageId===null){throw'Missing the required parameter "messageId" when calling patchChatsUserMessage';}// verify the required parameter 'body' is set
|
|
8589
8595
|
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']);}/**
|
|
8596
|
+
* Update a user's chat settings
|
|
8597
|
+
*
|
|
8598
|
+
* @param {String} userId User ID
|
|
8599
|
+
* @param {Object} body
|
|
8600
|
+
* patchChatsUserSettings is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
8601
|
+
*/},{key:"patchChatsUserSettings",value:function patchChatsUserSettings(userId,body){// verify the required parameter 'userId' is set
|
|
8602
|
+
if(userId===undefined||userId===null){throw'Missing the required parameter "userId" when calling patchChatsUserSettings';}// verify the required parameter 'body' is set
|
|
8603
|
+
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
8604
|
* Send a message to a room
|
|
8591
8605
|
*
|
|
8592
8606
|
* @param {String} roomJid roomId
|
|
@@ -8632,7 +8646,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
8632
8646
|
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
8647
|
* Coaching service.
|
|
8634
8648
|
* @module purecloud-platform-client-v2/api/CoachingApi
|
|
8635
|
-
* @version
|
|
8649
|
+
* @version 187.0.0
|
|
8636
8650
|
*/ /**
|
|
8637
8651
|
* Constructs a new CoachingApi.
|
|
8638
8652
|
* @alias module:purecloud-platform-client-v2/api/CoachingApi
|
|
@@ -8785,7 +8799,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
8785
8799
|
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
8800
|
* ContentManagement service.
|
|
8787
8801
|
* @module purecloud-platform-client-v2/api/ContentManagementApi
|
|
8788
|
-
* @version
|
|
8802
|
+
* @version 187.0.0
|
|
8789
8803
|
*/ /**
|
|
8790
8804
|
* Constructs a new ContentManagementApi.
|
|
8791
8805
|
* @alias module:purecloud-platform-client-v2/api/ContentManagementApi
|
|
@@ -8838,19 +8852,6 @@ if(tagId===undefined||tagId===null){throw'Missing the required parameter "tagId"
|
|
|
8838
8852
|
* @param {Array.<String>} opts.expand Which fields, if any, to expand.
|
|
8839
8853
|
*/},{key:"getContentmanagementDocument",value:function getContentmanagementDocument(documentId,opts){opts=opts||{};// verify the required parameter 'documentId' is set
|
|
8840
8854
|
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
8855
|
* Download a document.
|
|
8855
8856
|
*
|
|
8856
8857
|
* @param {String} documentId Document ID
|
|
@@ -8993,12 +8994,6 @@ if(workspaceId===undefined||workspaceId===null){throw'Missing the required param
|
|
|
8993
8994
|
* @param {Array.<String>} opts.access Requested access level.
|
|
8994
8995
|
* @param {Array.<String>} opts.expand Which fields, if any, to expand.
|
|
8995
8996
|
*/},{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
8997
|
* Update a document.
|
|
9003
8998
|
*
|
|
9004
8999
|
* @param {String} documentId Document ID
|
|
@@ -9087,7 +9082,7 @@ if(tagId===undefined||tagId===null){throw'Missing the required parameter "tagId"
|
|
|
9087
9082
|
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
9083
|
* Conversations service.
|
|
9089
9084
|
* @module purecloud-platform-client-v2/api/ConversationsApi
|
|
9090
|
-
* @version
|
|
9085
|
+
* @version 187.0.0
|
|
9091
9086
|
*/ /**
|
|
9092
9087
|
* Constructs a new ConversationsApi.
|
|
9093
9088
|
* @alias module:purecloud-platform-client-v2/api/ConversationsApi
|
|
@@ -10227,6 +10222,15 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
10227
10222
|
*/},{key:"postConversationParticipantSecureivrsessions",value:function postConversationParticipantSecureivrsessions(conversationId,participantId,opts){opts=opts||{};// verify the required parameter 'conversationId' is set
|
|
10228
10223
|
if(conversationId===undefined||conversationId===null){throw'Missing the required parameter "conversationId" when calling postConversationParticipantSecureivrsessions';}// verify the required parameter 'participantId' is set
|
|
10229
10224
|
if(participantId===undefined||participantId===null){throw'Missing the required parameter "participantId" when calling postConversationParticipantSecureivrsessions';}return this.apiClient.callApi('/api/v2/conversations/{conversationId}/participants/{participantId}/secureivrsessions','POST',{'conversationId':conversationId,'participantId':participantId},{},{},{},opts['body'],['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
10225
|
+
* Submit feedback for the summary.
|
|
10226
|
+
*
|
|
10227
|
+
* @param {String} conversationId Conversation ID
|
|
10228
|
+
* @param {String} summaryId Summary ID
|
|
10229
|
+
* @param {Object} opts Optional parameters
|
|
10230
|
+
* @param {Object} opts.body
|
|
10231
|
+
*/},{key:"postConversationSummaryFeedback",value:function postConversationSummaryFeedback(conversationId,summaryId,opts){opts=opts||{};// verify the required parameter 'conversationId' is set
|
|
10232
|
+
if(conversationId===undefined||conversationId===null){throw'Missing the required parameter "conversationId" when calling postConversationSummaryFeedback';}// verify the required parameter 'summaryId' is set
|
|
10233
|
+
if(summaryId===undefined||summaryId===null){throw'Missing the required parameter "summaryId" when calling postConversationSummaryFeedback';}return this.apiClient.callApi('/api/v2/conversations/{conversationId}/summaries/{summaryId}/feedback','POST',{'conversationId':conversationId,'summaryId':summaryId},{},{},{},opts['body'],['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
10230
10234
|
* Place a new call as part of a callback conversation.
|
|
10231
10235
|
*
|
|
10232
10236
|
* @param {String} conversationId conversationId
|
|
@@ -10598,9 +10602,10 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
10598
10602
|
* @param {Object} body InstagramIntegrationRequest
|
|
10599
10603
|
*/},{key:"postConversationsMessagingIntegrationsInstagram",value:function postConversationsMessagingIntegrationsInstagram(body){// verify the required parameter 'body' is set
|
|
10600
10604
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postConversationsMessagingIntegrationsInstagram';}return this.apiClient.callApi('/api/v2/conversations/messaging/integrations/instagram','POST',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
10601
|
-
* Create a LINE messenger Integration
|
|
10602
|
-
*
|
|
10605
|
+
* Create a LINE messenger Integration (Deprecated)
|
|
10606
|
+
* This endpoint is deprecated. Please see the article https://help.mypurecloud.com/articles/deprecation-native-line-third-party-messaging-channel/
|
|
10603
10607
|
* @param {Object} body LineIntegrationRequest
|
|
10608
|
+
* @deprecated
|
|
10604
10609
|
*/},{key:"postConversationsMessagingIntegrationsLine",value:function postConversationsMessagingIntegrationsLine(body){// verify the required parameter 'body' is set
|
|
10605
10610
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postConversationsMessagingIntegrationsLine';}return this.apiClient.callApi('/api/v2/conversations/messaging/integrations/line','POST',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
10606
10611
|
* Create an Open messaging integration
|
|
@@ -10811,7 +10816,7 @@ if(conversationId===undefined||conversationId===null){throw'Missing the required
|
|
|
10811
10816
|
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
10817
|
* DataExtensions service.
|
|
10813
10818
|
* @module purecloud-platform-client-v2/api/DataExtensionsApi
|
|
10814
|
-
* @version
|
|
10819
|
+
* @version 187.0.0
|
|
10815
10820
|
*/ /**
|
|
10816
10821
|
* Constructs a new DataExtensionsApi.
|
|
10817
10822
|
* @alias module:purecloud-platform-client-v2/api/DataExtensionsApi
|
|
@@ -10832,7 +10837,7 @@ if(coretypeName===undefined||coretypeName===null){throw'Missing the required par
|
|
|
10832
10837
|
*/},{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
10838
|
* Downloads service.
|
|
10834
10839
|
* @module purecloud-platform-client-v2/api/DownloadsApi
|
|
10835
|
-
* @version
|
|
10840
|
+
* @version 187.0.0
|
|
10836
10841
|
*/ /**
|
|
10837
10842
|
* Constructs a new DownloadsApi.
|
|
10838
10843
|
* @alias module:purecloud-platform-client-v2/api/DownloadsApi
|
|
@@ -10851,7 +10856,7 @@ if(coretypeName===undefined||coretypeName===null){throw'Missing the required par
|
|
|
10851
10856
|
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
10857
|
* Emails service.
|
|
10853
10858
|
* @module purecloud-platform-client-v2/api/EmailsApi
|
|
10854
|
-
* @version
|
|
10859
|
+
* @version 187.0.0
|
|
10855
10860
|
*/ /**
|
|
10856
10861
|
* Constructs a new EmailsApi.
|
|
10857
10862
|
* @alias module:purecloud-platform-client-v2/api/EmailsApi
|
|
@@ -10869,7 +10874,7 @@ if(downloadId===undefined||downloadId===null){throw'Missing the required paramet
|
|
|
10869
10874
|
*/},{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
10875
|
* Events service.
|
|
10871
10876
|
* @module purecloud-platform-client-v2/api/EventsApi
|
|
10872
|
-
* @version
|
|
10877
|
+
* @version 187.0.0
|
|
10873
10878
|
*/ /**
|
|
10874
10879
|
* Constructs a new EventsApi.
|
|
10875
10880
|
* @alias module:purecloud-platform-client-v2/api/EventsApi
|
|
@@ -10894,7 +10899,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
10894
10899
|
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
10900
|
* ExternalContacts service.
|
|
10896
10901
|
* @module purecloud-platform-client-v2/api/ExternalContactsApi
|
|
10897
|
-
* @version
|
|
10902
|
+
* @version 187.0.0
|
|
10898
10903
|
*/ /**
|
|
10899
10904
|
* Constructs a new ExternalContactsApi.
|
|
10900
10905
|
* @alias module:purecloud-platform-client-v2/api/ExternalContactsApi
|
|
@@ -10977,7 +10982,7 @@ if(noteId===undefined||noteId===null){throw'Missing the required parameter "note
|
|
|
10977
10982
|
* @param {Object} opts Optional parameters
|
|
10978
10983
|
* @param {Number} opts.pageSize Page size (limited to fetching first 1,000 records; pageNumber * pageSize must be <= 1,000) (default to 20)
|
|
10979
10984
|
* @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
|
|
10985
|
+
* @param {String} opts.sortOrder The Note field to sort by. Any of: [createDate]. Direction: [asc, desc]. e.g. createDate:asc, createDate:desc
|
|
10981
10986
|
* @param {Array.<String>} opts.expand which fields, if any, to expand
|
|
10982
10987
|
*/},{key:"getExternalcontactsContactNotes",value:function getExternalcontactsContactNotes(contactId,opts){opts=opts||{};// verify the required parameter 'contactId' is set
|
|
10983
10988
|
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 +10999,7 @@ if(contactId===undefined||contactId===null){throw'Missing the required parameter
|
|
|
10994
10999
|
* @param {Number} opts.pageSize Page size (limited to fetching first 1,000 records; pageNumber * pageSize must be <= 1,000) (default to 20)
|
|
10995
11000
|
* @param {Number} opts.pageNumber Page number (limited to fetching first 1,000 records; pageNumber * pageSize must be <= 1,000) (default to 1)
|
|
10996
11001
|
* @param {String} opts.q User supplied search keywords (no special syntax is currently supported)
|
|
10997
|
-
* @param {String} opts.sortOrder
|
|
11002
|
+
* @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
11003
|
* @param {Array.<String>} opts.expand which fields, if any, to expand
|
|
10999
11004
|
*/},{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
11005
|
* Get a schema
|
|
@@ -11032,7 +11037,7 @@ if(externalOrganizationId===undefined||externalOrganizationId===null){throw'Miss
|
|
|
11032
11037
|
* @param {Number} opts.pageSize Page size (limited to fetching first 1,000 records; pageNumber * pageSize must be <= 1,000) (default to 20)
|
|
11033
11038
|
* @param {Number} opts.pageNumber Page number (limited to fetching first 1,000 records; pageNumber * pageSize must be <= 1,000) (default to 1)
|
|
11034
11039
|
* @param {String} opts.q User supplied search keywords (no special syntax is currently supported)
|
|
11035
|
-
* @param {String} opts.sortOrder
|
|
11040
|
+
* @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
11041
|
* @param {Array.<String>} opts.expand which fields, if any, to expand
|
|
11037
11042
|
*/},{key:"getExternalcontactsOrganizationContacts",value:function getExternalcontactsOrganizationContacts(externalOrganizationId,opts){opts=opts||{};// verify the required parameter 'externalOrganizationId' is set
|
|
11038
11043
|
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 +11056,7 @@ if(noteId===undefined||noteId===null){throw'Missing the required parameter "note
|
|
|
11051
11056
|
* @param {Object} opts Optional parameters
|
|
11052
11057
|
* @param {Number} opts.pageSize Page size (limited to fetching first 1,000 records; pageNumber * pageSize must be <= 1,000) (default to 20)
|
|
11053
11058
|
* @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
|
|
11059
|
+
* @param {String} opts.sortOrder The Note field to sort by. Any of: [createDate]. Direction: [asc, desc]. e.g. createDate:asc, createDate:desc
|
|
11055
11060
|
* @param {Array.<String>} opts.expand which fields, if any, to expand
|
|
11056
11061
|
*/},{key:"getExternalcontactsOrganizationNotes",value:function getExternalcontactsOrganizationNotes(externalOrganizationId,opts){opts=opts||{};// verify the required parameter 'externalOrganizationId' is set
|
|
11057
11062
|
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 +11067,7 @@ if(externalOrganizationId===undefined||externalOrganizationId===null){throw'Miss
|
|
|
11062
11067
|
* @param {Number} opts.pageSize Page size (limited to fetching first 1,000 records; pageNumber * pageSize must be <= 1,000) (default to 20)
|
|
11063
11068
|
* @param {Number} opts.pageNumber Page number (limited to fetching first 1,000 records; pageNumber * pageSize must be <= 1,000) (default to 1)
|
|
11064
11069
|
* @param {Object} opts.expand which fields, if any, to expand
|
|
11065
|
-
* @param {String} opts.sortOrder
|
|
11070
|
+
* @param {String} opts.sortOrder The Relationship field to sort by. Any of: [createDate, relationship]. Direction: [asc, desc]. e.g. createDate:asc, relationship:desc
|
|
11066
11071
|
*/},{key:"getExternalcontactsOrganizationRelationships",value:function getExternalcontactsOrganizationRelationships(externalOrganizationId,opts){opts=opts||{};// verify the required parameter 'externalOrganizationId' is set
|
|
11067
11072
|
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
11073
|
* Search for external organizations
|
|
@@ -11072,7 +11077,7 @@ if(externalOrganizationId===undefined||externalOrganizationId===null){throw'Miss
|
|
|
11072
11077
|
* @param {Number} opts.pageNumber Page number (limited to fetching first 1,000 records; pageNumber * pageSize must be <= 1,000) (default to 1)
|
|
11073
11078
|
* @param {String} opts.q Search query
|
|
11074
11079
|
* @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
|
|
11080
|
+
* @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
11081
|
* @param {Array.<String>} opts.expand which fields, if any, to expand
|
|
11077
11082
|
* @param {Boolean} opts.includeTrustors (true or false) whether or not to include trustor information embedded in the externalOrganization
|
|
11078
11083
|
*/},{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 +11354,7 @@ if(relationshipId===undefined||relationshipId===null){throw'Missing the required
|
|
|
11349
11354
|
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
11355
|
* Fax service.
|
|
11351
11356
|
* @module purecloud-platform-client-v2/api/FaxApi
|
|
11352
|
-
* @version
|
|
11357
|
+
* @version 187.0.0
|
|
11353
11358
|
*/ /**
|
|
11354
11359
|
* Constructs a new FaxApi.
|
|
11355
11360
|
* @alias module:purecloud-platform-client-v2/api/FaxApi
|
|
@@ -11390,7 +11395,7 @@ if(documentId===undefined||documentId===null){throw'Missing the required paramet
|
|
|
11390
11395
|
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
11396
|
* Flows service.
|
|
11392
11397
|
* @module purecloud-platform-client-v2/api/FlowsApi
|
|
11393
|
-
* @version
|
|
11398
|
+
* @version 187.0.0
|
|
11394
11399
|
*/ /**
|
|
11395
11400
|
* Constructs a new FlowsApi.
|
|
11396
11401
|
* @alias module:purecloud-platform-client-v2/api/FlowsApi
|
|
@@ -11439,7 +11444,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
11439
11444
|
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
11445
|
* Gamification service.
|
|
11441
11446
|
* @module purecloud-platform-client-v2/api/GamificationApi
|
|
11442
|
-
* @version
|
|
11447
|
+
* @version 187.0.0
|
|
11443
11448
|
*/ /**
|
|
11444
11449
|
* Constructs a new GamificationApi.
|
|
11445
11450
|
* @alias module:purecloud-platform-client-v2/api/GamificationApi
|
|
@@ -11979,7 +11984,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
11979
11984
|
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
11985
|
* GeneralDataProtectionRegulation service.
|
|
11981
11986
|
* @module purecloud-platform-client-v2/api/GeneralDataProtectionRegulationApi
|
|
11982
|
-
* @version
|
|
11987
|
+
* @version 187.0.0
|
|
11983
11988
|
*/ /**
|
|
11984
11989
|
* Constructs a new GeneralDataProtectionRegulationApi.
|
|
11985
11990
|
* @alias module:purecloud-platform-client-v2/api/GeneralDataProtectionRegulationApi
|
|
@@ -12014,7 +12019,7 @@ if(searchValue===undefined||searchValue===null){throw'Missing the required param
|
|
|
12014
12019
|
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
12020
|
* Geolocation service.
|
|
12016
12021
|
* @module purecloud-platform-client-v2/api/GeolocationApi
|
|
12017
|
-
* @version
|
|
12022
|
+
* @version 187.0.0
|
|
12018
12023
|
*/ /**
|
|
12019
12024
|
* Constructs a new GeolocationApi.
|
|
12020
12025
|
* @alias module:purecloud-platform-client-v2/api/GeolocationApi
|
|
@@ -12048,7 +12053,7 @@ if(clientId===undefined||clientId===null){throw'Missing the required parameter "
|
|
|
12048
12053
|
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
12054
|
* Greetings service.
|
|
12050
12055
|
* @module purecloud-platform-client-v2/api/GreetingsApi
|
|
12051
|
-
* @version
|
|
12056
|
+
* @version 187.0.0
|
|
12052
12057
|
*/ /**
|
|
12053
12058
|
* Constructs a new GreetingsApi.
|
|
12054
12059
|
* @alias module:purecloud-platform-client-v2/api/GreetingsApi
|
|
@@ -12155,7 +12160,7 @@ if(userId===undefined||userId===null){throw'Missing the required parameter "user
|
|
|
12155
12160
|
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
12161
|
* Groups service.
|
|
12157
12162
|
* @module purecloud-platform-client-v2/api/GroupsApi
|
|
12158
|
-
* @version
|
|
12163
|
+
* @version 187.0.0
|
|
12159
12164
|
*/ /**
|
|
12160
12165
|
* Constructs a new GroupsApi.
|
|
12161
12166
|
* @alias module:purecloud-platform-client-v2/api/GroupsApi
|
|
@@ -12288,7 +12293,7 @@ if(groupId===undefined||groupId===null){throw'Missing the required parameter "gr
|
|
|
12288
12293
|
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
12294
|
* IdentityProvider service.
|
|
12290
12295
|
* @module purecloud-platform-client-v2/api/IdentityProviderApi
|
|
12291
|
-
* @version
|
|
12296
|
+
* @version 187.0.0
|
|
12292
12297
|
*/ /**
|
|
12293
12298
|
* Constructs a new IdentityProviderApi.
|
|
12294
12299
|
* @alias module:purecloud-platform-client-v2/api/IdentityProviderApi
|
|
@@ -12296,9 +12301,14 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
12296
12301
|
* @param {module:purecloud-platform-client-v2/ApiClient} apiClient Optional API client implementation to use,
|
|
12297
12302
|
* default to {@link module:purecloud-platform-client-v2/ApiClient#instance} if unspecified.
|
|
12298
12303
|
*/function IdentityProviderApi(apiClient){_classCallCheck(this,IdentityProviderApi);this.apiClient=apiClient||ApiClient.instance;}/**
|
|
12304
|
+
* Delete Identity Provider
|
|
12305
|
+
*
|
|
12306
|
+
* @param {String} providerId Provider ID
|
|
12307
|
+
*/_createClass(IdentityProviderApi,[{key:"deleteIdentityprovider",value:function deleteIdentityprovider(providerId){// verify the required parameter 'providerId' is set
|
|
12308
|
+
if(providerId===undefined||providerId===null){throw'Missing the required parameter "providerId" when calling deleteIdentityprovider';}return this.apiClient.callApi('/api/v2/identityproviders/{providerId}','DELETE',{'providerId':providerId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
12299
12309
|
* Delete ADFS Identity Provider
|
|
12300
12310
|
*
|
|
12301
|
-
*/
|
|
12311
|
+
*/},{key:"deleteIdentityprovidersAdfs",value:function deleteIdentityprovidersAdfs(){return this.apiClient.callApi('/api/v2/identityproviders/adfs','DELETE',{},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
12302
12312
|
* Delete Customer Interaction Center (CIC) Identity Provider
|
|
12303
12313
|
*
|
|
12304
12314
|
*/},{key:"deleteIdentityprovidersCic",value:function deleteIdentityprovidersCic(){return this.apiClient.callApi('/api/v2/identityproviders/cic','DELETE',{},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
@@ -12329,6 +12339,11 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
12329
12339
|
* Delete Salesforce Identity Provider
|
|
12330
12340
|
*
|
|
12331
12341
|
*/},{key:"deleteIdentityprovidersSalesforce",value:function deleteIdentityprovidersSalesforce(){return this.apiClient.callApi('/api/v2/identityproviders/salesforce','DELETE',{},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
12342
|
+
* Get Identity Provider
|
|
12343
|
+
*
|
|
12344
|
+
* @param {String} providerId Provider ID
|
|
12345
|
+
*/},{key:"getIdentityprovider",value:function getIdentityprovider(providerId){// verify the required parameter 'providerId' is set
|
|
12346
|
+
if(providerId===undefined||providerId===null){throw'Missing the required parameter "providerId" when calling getIdentityprovider';}return this.apiClient.callApi('/api/v2/identityproviders/{providerId}','GET',{'providerId':providerId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
12332
12347
|
* The list of identity providers
|
|
12333
12348
|
*
|
|
12334
12349
|
*/},{key:"getIdentityproviders",value:function getIdentityproviders(){return this.apiClient.callApi('/api/v2/identityproviders','GET',{},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
@@ -12365,6 +12380,18 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
12365
12380
|
* Get Salesforce Identity Provider
|
|
12366
12381
|
*
|
|
12367
12382
|
*/},{key:"getIdentityprovidersSalesforce",value:function getIdentityprovidersSalesforce(){return this.apiClient.callApi('/api/v2/identityproviders/salesforce','GET',{},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
12383
|
+
* Create Identity Provider
|
|
12384
|
+
*
|
|
12385
|
+
* @param {Object} body Provider
|
|
12386
|
+
*/},{key:"postIdentityproviders",value:function postIdentityproviders(body){// verify the required parameter 'body' is set
|
|
12387
|
+
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postIdentityproviders';}return this.apiClient.callApi('/api/v2/identityproviders','POST',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
12388
|
+
* Update Identity Provider
|
|
12389
|
+
*
|
|
12390
|
+
* @param {String} providerId Provider ID
|
|
12391
|
+
* @param {Object} body Provider
|
|
12392
|
+
*/},{key:"putIdentityprovider",value:function putIdentityprovider(providerId,body){// verify the required parameter 'providerId' is set
|
|
12393
|
+
if(providerId===undefined||providerId===null){throw'Missing the required parameter "providerId" when calling putIdentityprovider';}// verify the required parameter 'body' is set
|
|
12394
|
+
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putIdentityprovider';}return this.apiClient.callApi('/api/v2/identityproviders/{providerId}','PUT',{'providerId':providerId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
12368
12395
|
* Update/Create ADFS Identity Provider
|
|
12369
12396
|
*
|
|
12370
12397
|
* @param {Object} body Provider
|
|
@@ -12422,7 +12449,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
12422
12449
|
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
12450
|
* InfrastructureAsCode service.
|
|
12424
12451
|
* @module purecloud-platform-client-v2/api/InfrastructureAsCodeApi
|
|
12425
|
-
* @version
|
|
12452
|
+
* @version 187.0.0
|
|
12426
12453
|
*/ /**
|
|
12427
12454
|
* Constructs a new InfrastructureAsCodeApi.
|
|
12428
12455
|
* @alias module:purecloud-platform-client-v2/api/InfrastructureAsCodeApi
|
|
@@ -12476,7 +12503,7 @@ if(jobId===undefined||jobId===null){throw'Missing the required parameter "jobId"
|
|
|
12476
12503
|
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
12504
|
* Integrations service.
|
|
12478
12505
|
* @module purecloud-platform-client-v2/api/IntegrationsApi
|
|
12479
|
-
* @version
|
|
12506
|
+
* @version 187.0.0
|
|
12480
12507
|
*/ /**
|
|
12481
12508
|
* Constructs a new IntegrationsApi.
|
|
12482
12509
|
* @alias module:purecloud-platform-client-v2/api/IntegrationsApi
|
|
@@ -12547,6 +12574,12 @@ if(actionId===undefined||actionId===null){throw'Missing the required parameter "
|
|
|
12547
12574
|
* @param {Object} opts.includeConfig Return config in response. (default to false)
|
|
12548
12575
|
*/},{key:"getIntegrationsActionDraft",value:function getIntegrationsActionDraft(actionId,opts){opts=opts||{};// verify the required parameter 'actionId' is set
|
|
12549
12576
|
if(actionId===undefined||actionId===null){throw'Missing the required parameter "actionId" when calling getIntegrationsActionDraft';}return this.apiClient.callApi('/api/v2/integrations/actions/{actionId}/draft','GET',{'actionId':actionId},{'expand':opts['expand'],'includeConfig':opts['includeConfig']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
12577
|
+
* Get draft function settings for Action
|
|
12578
|
+
*
|
|
12579
|
+
* @param {String} actionId actionId
|
|
12580
|
+
* getIntegrationsActionDraftFunction is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
12581
|
+
*/},{key:"getIntegrationsActionDraftFunction",value:function getIntegrationsActionDraftFunction(actionId){// verify the required parameter 'actionId' is set
|
|
12582
|
+
if(actionId===undefined||actionId===null){throw'Missing the required parameter "actionId" when calling getIntegrationsActionDraftFunction';}return this.apiClient.callApi('/api/v2/integrations/actions/{actionId}/draft/function','GET',{'actionId':actionId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
12550
12583
|
* Retrieve schema for a Draft based on filename.
|
|
12551
12584
|
*
|
|
12552
12585
|
* @param {String} actionId actionId
|
|
@@ -12566,6 +12599,12 @@ if(fileName===undefined||fileName===null){throw'Missing the required parameter "
|
|
|
12566
12599
|
* @param {String} actionId actionId
|
|
12567
12600
|
*/},{key:"getIntegrationsActionDraftValidation",value:function getIntegrationsActionDraftValidation(actionId){// verify the required parameter 'actionId' is set
|
|
12568
12601
|
if(actionId===undefined||actionId===null){throw'Missing the required parameter "actionId" when calling getIntegrationsActionDraftValidation';}return this.apiClient.callApi('/api/v2/integrations/actions/{actionId}/draft/validation','GET',{'actionId':actionId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
12602
|
+
* Get published function settings for Action
|
|
12603
|
+
*
|
|
12604
|
+
* @param {String} actionId actionId
|
|
12605
|
+
* getIntegrationsActionFunction is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
12606
|
+
*/},{key:"getIntegrationsActionFunction",value:function getIntegrationsActionFunction(actionId){// verify the required parameter 'actionId' is set
|
|
12607
|
+
if(actionId===undefined||actionId===null){throw'Missing the required parameter "actionId" when calling getIntegrationsActionFunction';}return this.apiClient.callApi('/api/v2/integrations/actions/{actionId}/function','GET',{'actionId':actionId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
12569
12608
|
* Retrieve schema for an action based on filename.
|
|
12570
12609
|
*
|
|
12571
12610
|
* @param {String} actionId actionId
|
|
@@ -12606,6 +12645,12 @@ if(fileName===undefined||fileName===null){throw'Missing the required parameter "
|
|
|
12606
12645
|
* @param {Object} opts.sortOrder Direction to sort 'sortBy' field. (default to asc)
|
|
12607
12646
|
* @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
12647
|
*/},{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']);}/**
|
|
12648
|
+
* Retrieves the available mTLS client certificates in use. This endpoint will return inconsistent results while a certificate rotation is in progress.
|
|
12649
|
+
*
|
|
12650
|
+
* @param {Object} opts Optional parameters
|
|
12651
|
+
* @param {Object} opts.status Indicates the validity of the certificate in question.
|
|
12652
|
+
* @param {Object} opts.type Indicates the type of the certificate.
|
|
12653
|
+
*/},{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
12654
|
* Retrieves all action drafts associated with the filters passed in via query param.
|
|
12610
12655
|
*
|
|
12611
12656
|
* @param {Object} opts Optional parameters
|
|
@@ -12621,6 +12666,10 @@ if(fileName===undefined||fileName===null){throw'Missing the required parameter "
|
|
|
12621
12666
|
* @param {Object} opts.secure Filter based on 'secure' configuration option. True will only return actions marked as secure. False will return only non-secure actions. Do not use filter if you want all Actions.
|
|
12622
12667
|
* @param {Object} opts.includeAuthActions Whether or not to include authentication actions in the response. These actions are not directly executable. Some integrations create them and will run them as needed to refresh authentication information for other actions. (default to false)
|
|
12623
12668
|
*/},{key:"getIntegrationsActionsDrafts",value:function getIntegrationsActionsDrafts(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/integrations/actions/drafts','GET',{},{'pageSize':opts['pageSize'],'pageNumber':opts['pageNumber'],'nextPage':opts['nextPage'],'previousPage':opts['previousPage'],'sortBy':opts['sortBy'],'sortOrder':opts['sortOrder'],'category':opts['category'],'name':opts['name'],'ids':opts['ids'],'secure':opts['secure'],'includeAuthActions':opts['includeAuthActions']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
12669
|
+
* Get action function settings for Action
|
|
12670
|
+
*
|
|
12671
|
+
* getIntegrationsActionsFunctionsRuntimes is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
12672
|
+
*/},{key:"getIntegrationsActionsFunctionsRuntimes",value:function getIntegrationsActionsFunctionsRuntimes(){return this.apiClient.callApi('/api/v2/integrations/actions/functions/runtimes','GET',{},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
12624
12673
|
* Get a specific botConnector bot, plus versions, for this integration
|
|
12625
12674
|
*
|
|
12626
12675
|
* @param {String} integrationId The integration ID for this group of bots
|
|
@@ -12882,6 +12931,14 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
12882
12931
|
* @param {String} actionId actionId
|
|
12883
12932
|
*/},{key:"postIntegrationsActionDraft",value:function postIntegrationsActionDraft(actionId){// verify the required parameter 'actionId' is set
|
|
12884
12933
|
if(actionId===undefined||actionId===null){throw'Missing the required parameter "actionId" when calling postIntegrationsActionDraft';}return this.apiClient.callApi('/api/v2/integrations/actions/{actionId}/draft','POST',{'actionId':actionId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
12934
|
+
* Create upload presigned URL for draft function package file.
|
|
12935
|
+
*
|
|
12936
|
+
* @param {String} actionId actionId
|
|
12937
|
+
* @param {Object} body Input used to request URL upload.
|
|
12938
|
+
* postIntegrationsActionDraftFunctionUpload is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
12939
|
+
*/},{key:"postIntegrationsActionDraftFunctionUpload",value:function postIntegrationsActionDraftFunctionUpload(actionId,body){// verify the required parameter 'actionId' is set
|
|
12940
|
+
if(actionId===undefined||actionId===null){throw'Missing the required parameter "actionId" when calling postIntegrationsActionDraftFunctionUpload';}// verify the required parameter 'body' is set
|
|
12941
|
+
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postIntegrationsActionDraftFunctionUpload';}return this.apiClient.callApi('/api/v2/integrations/actions/{actionId}/draft/function/upload','POST',{'actionId':actionId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
12885
12942
|
* Publish a Draft and make it the active Action configuration
|
|
12886
12943
|
*
|
|
12887
12944
|
* @param {String} actionId actionId
|
|
@@ -12961,6 +13018,14 @@ if(settings===undefined||settings===null){throw'Missing the required parameter "
|
|
|
12961
13018
|
* @param {Object} opts.body Integration Configuration
|
|
12962
13019
|
*/},{key:"putIntegrationConfigCurrent",value:function putIntegrationConfigCurrent(integrationId,opts){opts=opts||{};// verify the required parameter 'integrationId' is set
|
|
12963
13020
|
if(integrationId===undefined||integrationId===null){throw'Missing the required parameter "integrationId" when calling putIntegrationConfigCurrent';}return this.apiClient.callApi('/api/v2/integrations/{integrationId}/config/current','PUT',{'integrationId':integrationId},{},{},{},opts['body'],['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
13021
|
+
* Update draft function settings.
|
|
13022
|
+
*
|
|
13023
|
+
* @param {String} actionId actionId
|
|
13024
|
+
* @param {Object} body Input used to update function settings.
|
|
13025
|
+
* putIntegrationsActionDraftFunction is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
13026
|
+
*/},{key:"putIntegrationsActionDraftFunction",value:function putIntegrationsActionDraftFunction(actionId,body){// verify the required parameter 'actionId' is set
|
|
13027
|
+
if(actionId===undefined||actionId===null){throw'Missing the required parameter "actionId" when calling putIntegrationsActionDraftFunction';}// verify the required parameter 'body' is set
|
|
13028
|
+
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putIntegrationsActionDraftFunction';}return this.apiClient.callApi('/api/v2/integrations/actions/{actionId}/draft/function','PUT',{'actionId':actionId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
12964
13029
|
* Set a list of botConnector bots plus versions for this integration
|
|
12965
13030
|
*
|
|
12966
13031
|
* @param {String} integrationId The integration ID for this group of bots
|
|
@@ -12997,7 +13062,7 @@ if(ucIntegrationId===undefined||ucIntegrationId===null){throw'Missing the requir
|
|
|
12997
13062
|
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
13063
|
* Journey service.
|
|
12999
13064
|
* @module purecloud-platform-client-v2/api/JourneyApi
|
|
13000
|
-
* @version
|
|
13065
|
+
* @version 187.0.0
|
|
13001
13066
|
*/ /**
|
|
13002
13067
|
* Constructs a new JourneyApi.
|
|
13003
13068
|
* @alias module:purecloud-platform-client-v2/api/JourneyApi
|
|
@@ -13192,17 +13257,6 @@ if(sessionId===undefined||sessionId===null){throw'Missing the required parameter
|
|
|
13192
13257
|
* @param {String} sessionId ID of the session.
|
|
13193
13258
|
*/},{key:"getJourneySessionOutcomescores",value:function getJourneySessionOutcomescores(sessionId){// verify the required parameter 'sessionId' is set
|
|
13194
13259
|
if(sessionId===undefined||sessionId===null){throw'Missing the required parameter "sessionId" when calling getJourneySessionOutcomescores';}return this.apiClient.callApi('/api/v2/journey/sessions/{sessionId}/outcomescores','GET',{'sessionId':sessionId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
13195
|
-
* Retrieve segment assignments by session ID.
|
|
13196
|
-
*
|
|
13197
|
-
* @param {String} sessionId ID of the session to query for segment assignments.
|
|
13198
|
-
* @param {Object} opts Optional parameters
|
|
13199
|
-
* @param {String} opts.pageSize Number of entities to return. Maximum of 200.
|
|
13200
|
-
* @param {String} opts.after The cursor that points to the end of the set of entities that has been returned.
|
|
13201
|
-
* @param {Object} opts.segmentScope Scope to filter on. If not specified, both session-scoped and customer-scoped assignments are returned.
|
|
13202
|
-
* @param {Object} opts.assignmentState Assignment state to filter on. If not specified, both assigned and unassigned assignments are returned.
|
|
13203
|
-
* getJourneySessionSegments is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
13204
|
-
*/},{key:"getJourneySessionSegments",value:function getJourneySessionSegments(sessionId,opts){opts=opts||{};// verify the required parameter 'sessionId' is set
|
|
13205
|
-
if(sessionId===undefined||sessionId===null){throw'Missing the required parameter "sessionId" when calling getJourneySessionSegments';}return this.apiClient.callApi('/api/v2/journey/sessions/{sessionId}/segments','GET',{'sessionId':sessionId},{'pageSize':opts['pageSize'],'after':opts['after'],'segmentScope':opts['segmentScope'],'assignmentState':opts['assignmentState']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
13206
13260
|
* Update single action map.
|
|
13207
13261
|
*
|
|
13208
13262
|
* @param {String} actionMapId ID of the action map.
|
|
@@ -13301,7 +13355,7 @@ if(deploymentId===undefined||deploymentId===null){throw'Missing the required par
|
|
|
13301
13355
|
*/},{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
13356
|
* Knowledge service.
|
|
13303
13357
|
* @module purecloud-platform-client-v2/api/KnowledgeApi
|
|
13304
|
-
* @version
|
|
13358
|
+
* @version 187.0.0
|
|
13305
13359
|
*/ /**
|
|
13306
13360
|
* Constructs a new KnowledgeApi.
|
|
13307
13361
|
* @alias module:purecloud-platform-client-v2/api/KnowledgeApi
|
|
@@ -13703,6 +13757,26 @@ if(trainingId===undefined||trainingId===null){throw'Missing the required paramet
|
|
|
13703
13757
|
*/},{key:"getKnowledgeKnowledgebaseLanguageTrainings",value:function getKnowledgeKnowledgebaseLanguageTrainings(knowledgeBaseId,languageCode,opts){opts=opts||{};// verify the required parameter 'knowledgeBaseId' is set
|
|
13704
13758
|
if(knowledgeBaseId===undefined||knowledgeBaseId===null){throw'Missing the required parameter "knowledgeBaseId" when calling getKnowledgeKnowledgebaseLanguageTrainings';}// verify the required parameter 'languageCode' is set
|
|
13705
13759
|
if(languageCode===undefined||languageCode===null){throw'Missing the required parameter "languageCode" when calling getKnowledgeKnowledgebaseLanguageTrainings';}return this.apiClient.callApi('/api/v2/knowledge/knowledgebases/{knowledgeBaseId}/languages/{languageCode}/trainings','GET',{'knowledgeBaseId':knowledgeBaseId,'languageCode':languageCode},{'before':opts['before'],'after':opts['after'],'limit':opts['limit'],'pageSize':opts['pageSize'],'knowledgeDocumentsState':opts['knowledgeDocumentsState']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
13760
|
+
* Get operations
|
|
13761
|
+
*
|
|
13762
|
+
* @param {String} knowledgeBaseId Knowledge base ID
|
|
13763
|
+
* @param {Object} opts Optional parameters
|
|
13764
|
+
* @param {String} opts.before The cursor that points to the start of the set of entities that has been returned.
|
|
13765
|
+
* @param {String} opts.after The cursor that points to the end of the set of entities that has been returned.
|
|
13766
|
+
* @param {String} opts.pageSize Number of entities to return. Maximum of 200.
|
|
13767
|
+
* @param {Array.<String>} opts.userId If specified, retrieves operations associated with user ids, comma separated values expected.
|
|
13768
|
+
* @param {Array.<String>} opts.type If specified, retrieves operations with specified operation type, comma separated values expected.
|
|
13769
|
+
* @param {Array.<String>} opts.status If specified, retrieves operations with specified operation status, comma separated values expected.
|
|
13770
|
+
* @param {String} opts.interval Retrieves the operations modified in specified date and time range. If the after and before cursor parameters are within this interval, it would return valid data, otherwise it throws an error.The dates in the interval are represented in ISO-8601 format: YYYY-MM-DDThh:mm:ssZ/YYYY-MM-DDThh:mm:ssZ
|
|
13771
|
+
* getKnowledgeKnowledgebaseOperations is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
13772
|
+
*/},{key:"getKnowledgeKnowledgebaseOperations",value:function getKnowledgeKnowledgebaseOperations(knowledgeBaseId,opts){opts=opts||{};// verify the required parameter 'knowledgeBaseId' is set
|
|
13773
|
+
if(knowledgeBaseId===undefined||knowledgeBaseId===null){throw'Missing the required parameter "knowledgeBaseId" when calling getKnowledgeKnowledgebaseOperations';}return this.apiClient.callApi('/api/v2/knowledge/knowledgebases/{knowledgeBaseId}/operations','GET',{'knowledgeBaseId':knowledgeBaseId},{'before':opts['before'],'after':opts['after'],'pageSize':opts['pageSize'],'userId':this.apiClient.buildCollectionParam(opts['userId'],'multi'),'type':this.apiClient.buildCollectionParam(opts['type'],'multi'),'status':this.apiClient.buildCollectionParam(opts['status'],'multi'),'interval':opts['interval']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
13774
|
+
* Get ids of operation creator users and oauth clients
|
|
13775
|
+
*
|
|
13776
|
+
* @param {String} knowledgeBaseId Knowledge base ID
|
|
13777
|
+
* getKnowledgeKnowledgebaseOperationsUsersQuery is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
13778
|
+
*/},{key:"getKnowledgeKnowledgebaseOperationsUsersQuery",value:function getKnowledgeKnowledgebaseOperationsUsersQuery(knowledgeBaseId){// verify the required parameter 'knowledgeBaseId' is set
|
|
13779
|
+
if(knowledgeBaseId===undefined||knowledgeBaseId===null){throw'Missing the required parameter "knowledgeBaseId" when calling getKnowledgeKnowledgebaseOperationsUsersQuery';}return this.apiClient.callApi('/api/v2/knowledge/knowledgebases/{knowledgeBaseId}/operations/users/query','GET',{'knowledgeBaseId':knowledgeBaseId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
13706
13780
|
* Get knowledge base unanswered group for a particular groupId
|
|
13707
13781
|
*
|
|
13708
13782
|
* @param {String} knowledgeBaseId Knowledge base ID
|
|
@@ -14098,7 +14172,7 @@ if(knowledgeBaseId===undefined||knowledgeBaseId===null){throw'Missing the requir
|
|
|
14098
14172
|
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
14173
|
* LanguageUnderstanding service.
|
|
14100
14174
|
* @module purecloud-platform-client-v2/api/LanguageUnderstandingApi
|
|
14101
|
-
* @version
|
|
14175
|
+
* @version 187.0.0
|
|
14102
14176
|
*/ /**
|
|
14103
14177
|
* Constructs a new LanguageUnderstandingApi.
|
|
14104
14178
|
* @alias module:purecloud-platform-client-v2/api/LanguageUnderstandingApi
|
|
@@ -14354,7 +14428,7 @@ if(domainVersionId===undefined||domainVersionId===null){throw'Missing the requir
|
|
|
14354
14428
|
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
14429
|
* Languages service.
|
|
14356
14430
|
* @module purecloud-platform-client-v2/api/LanguagesApi
|
|
14357
|
-
* @version
|
|
14431
|
+
* @version 187.0.0
|
|
14358
14432
|
*/ /**
|
|
14359
14433
|
* Constructs a new LanguagesApi.
|
|
14360
14434
|
* @alias module:purecloud-platform-client-v2/api/LanguagesApi
|
|
@@ -14409,7 +14483,7 @@ if(userId===undefined||userId===null){throw'Missing the required parameter "user
|
|
|
14409
14483
|
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
14484
|
* Learning service.
|
|
14411
14485
|
* @module purecloud-platform-client-v2/api/LearningApi
|
|
14412
|
-
* @version
|
|
14486
|
+
* @version 187.0.0
|
|
14413
14487
|
*/ /**
|
|
14414
14488
|
* Constructs a new LearningApi.
|
|
14415
14489
|
* @alias module:purecloud-platform-client-v2/api/LearningApi
|
|
@@ -14639,7 +14713,7 @@ if(moduleId===undefined||moduleId===null){throw'Missing the required parameter "
|
|
|
14639
14713
|
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
14714
|
* License service.
|
|
14641
14715
|
* @module purecloud-platform-client-v2/api/LicenseApi
|
|
14642
|
-
* @version
|
|
14716
|
+
* @version 187.0.0
|
|
14643
14717
|
*/ /**
|
|
14644
14718
|
* Constructs a new LicenseApi.
|
|
14645
14719
|
* @alias module:purecloud-platform-client-v2/api/LicenseApi
|
|
@@ -14693,7 +14767,7 @@ if(featureName===undefined||featureName===null){throw'Missing the required param
|
|
|
14693
14767
|
*/},{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
14768
|
* Locations service.
|
|
14695
14769
|
* @module purecloud-platform-client-v2/api/LocationsApi
|
|
14696
|
-
* @version
|
|
14770
|
+
* @version 187.0.0
|
|
14697
14771
|
*/ /**
|
|
14698
14772
|
* Constructs a new LocationsApi.
|
|
14699
14773
|
* @alias module:purecloud-platform-client-v2/api/LocationsApi
|
|
@@ -14752,7 +14826,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
14752
14826
|
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
14827
|
* LogCapture service.
|
|
14754
14828
|
* @module purecloud-platform-client-v2/api/LogCaptureApi
|
|
14755
|
-
* @version
|
|
14829
|
+
* @version 187.0.0
|
|
14756
14830
|
*/ /**
|
|
14757
14831
|
* Constructs a new LogCaptureApi.
|
|
14758
14832
|
* @alias module:purecloud-platform-client-v2/api/LogCaptureApi
|
|
@@ -14760,19 +14834,49 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
14760
14834
|
* @param {module:purecloud-platform-client-v2/ApiClient} apiClient Optional API client implementation to use,
|
|
14761
14835
|
* default to {@link module:purecloud-platform-client-v2/ApiClient#instance} if unspecified.
|
|
14762
14836
|
*/function LogCaptureApi(apiClient){_classCallCheck(this,LogCaptureApi);this.apiClient=apiClient||ApiClient.instance;}/**
|
|
14837
|
+
* Disable browser log capture for the user
|
|
14838
|
+
*
|
|
14839
|
+
* @param {String} userId The id of the user to disable browser log capture
|
|
14840
|
+
*/_createClass(LogCaptureApi,[{key:"deleteDiagnosticsLogcaptureBrowserUser",value:function deleteDiagnosticsLogcaptureBrowserUser(userId){// verify the required parameter 'userId' is set
|
|
14841
|
+
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
14842
|
* Gets status of async download execution
|
|
14764
14843
|
*
|
|
14765
14844
|
* @param {String} jobId Job ID
|
|
14766
|
-
*/
|
|
14845
|
+
*/},{key:"getDiagnosticsLogcaptureBrowserEntriesDownloadJob",value:function getDiagnosticsLogcaptureBrowserEntriesDownloadJob(jobId){// verify the required parameter 'jobId' is set
|
|
14767
14846
|
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']);}/**
|
|
14847
|
+
* Get log capture configuration for the user
|
|
14848
|
+
*
|
|
14849
|
+
* @param {String} userId The id of the user to get browser log capture configuration
|
|
14850
|
+
*/},{key:"getDiagnosticsLogcaptureBrowserUser",value:function getDiagnosticsLogcaptureBrowserUser(userId){// verify the required parameter 'userId' is set
|
|
14851
|
+
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']);}/**
|
|
14852
|
+
* Get all log capture enabled users for an org
|
|
14853
|
+
*
|
|
14854
|
+
* @param {Object} opts Optional parameters
|
|
14855
|
+
* @param {Boolean} opts.includeExpired Include expired users with log captures still available for search or download (default to false)
|
|
14856
|
+
*/},{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
14857
|
* Creates an async download execution
|
|
14769
14858
|
*
|
|
14770
14859
|
* @param {Object} opts Optional parameters
|
|
14771
14860
|
* @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']);}
|
|
14861
|
+
*/},{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']);}/**
|
|
14862
|
+
* Query collected log entries. It returns a limited amount of records, to get all records use download endpoint.
|
|
14863
|
+
*
|
|
14864
|
+
* @param {Object} opts Optional parameters
|
|
14865
|
+
* @param {String} opts.before The cursor that points to the start of the set of entities that has been returned.
|
|
14866
|
+
* @param {String} opts.after The cursor that points to the end of the set of entities that has been returned.
|
|
14867
|
+
* @param {String} opts.pageSize Number of entities to return. Maximum of 200.
|
|
14868
|
+
* @param {Object} opts.body
|
|
14869
|
+
*/},{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']);}/**
|
|
14870
|
+
* Enable log capture for a user or update expiration
|
|
14871
|
+
*
|
|
14872
|
+
* @param {String} userId The id of the user to enable browser log capture
|
|
14873
|
+
* @param {Object} opts Optional parameters
|
|
14874
|
+
* @param {Object} opts.body
|
|
14875
|
+
*/},{key:"postDiagnosticsLogcaptureBrowserUser",value:function postDiagnosticsLogcaptureBrowserUser(userId,opts){opts=opts||{};// verify the required parameter 'userId' is set
|
|
14876
|
+
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
14877
|
* Messaging service.
|
|
14774
14878
|
* @module purecloud-platform-client-v2/api/MessagingApi
|
|
14775
|
-
* @version
|
|
14879
|
+
* @version 187.0.0
|
|
14776
14880
|
*/ /**
|
|
14777
14881
|
* Constructs a new MessagingApi.
|
|
14778
14882
|
* @alias module:purecloud-platform-client-v2/api/MessagingApi
|
|
@@ -14862,7 +14966,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
14862
14966
|
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
14967
|
* MobileDevices service.
|
|
14864
14968
|
* @module purecloud-platform-client-v2/api/MobileDevicesApi
|
|
14865
|
-
* @version
|
|
14969
|
+
* @version 187.0.0
|
|
14866
14970
|
*/ /**
|
|
14867
14971
|
* Constructs a new MobileDevicesApi.
|
|
14868
14972
|
* @alias module:purecloud-platform-client-v2/api/MobileDevicesApi
|
|
@@ -14901,7 +15005,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
14901
15005
|
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
15006
|
* Notifications service.
|
|
14903
15007
|
* @module purecloud-platform-client-v2/api/NotificationsApi
|
|
14904
|
-
* @version
|
|
15008
|
+
* @version 187.0.0
|
|
14905
15009
|
*/ /**
|
|
14906
15010
|
* Constructs a new NotificationsApi.
|
|
14907
15011
|
* @alias module:purecloud-platform-client-v2/api/NotificationsApi
|
|
@@ -14958,7 +15062,7 @@ if(channelId===undefined||channelId===null){throw'Missing the required parameter
|
|
|
14958
15062
|
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
15063
|
* OAuth service.
|
|
14960
15064
|
* @module purecloud-platform-client-v2/api/OAuthApi
|
|
14961
|
-
* @version
|
|
15065
|
+
* @version 187.0.0
|
|
14962
15066
|
*/ /**
|
|
14963
15067
|
* Constructs a new OAuthApi.
|
|
14964
15068
|
* @alias module:purecloud-platform-client-v2/api/OAuthApi
|
|
@@ -15043,7 +15147,7 @@ if(clientId===undefined||clientId===null){throw'Missing the required parameter "
|
|
|
15043
15147
|
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
15148
|
* Objects service.
|
|
15045
15149
|
* @module purecloud-platform-client-v2/api/ObjectsApi
|
|
15046
|
-
* @version
|
|
15150
|
+
* @version 187.0.0
|
|
15047
15151
|
*/ /**
|
|
15048
15152
|
* Constructs a new ObjectsApi.
|
|
15049
15153
|
* @alias module:purecloud-platform-client-v2/api/ObjectsApi
|
|
@@ -15075,9 +15179,8 @@ if(divisionId===undefined||divisionId===null){throw'Missing the required paramet
|
|
|
15075
15179
|
* @param {String} opts.nextPage next page token
|
|
15076
15180
|
* @param {String} opts.previousPage Previous page token
|
|
15077
15181
|
* @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
15182
|
* @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'],'
|
|
15183
|
+
*/},{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
15184
|
* Retrieve the home division for the organization.
|
|
15082
15185
|
* Will not include object counts.
|
|
15083
15186
|
*/},{key:"getAuthorizationDivisionsHome",value:function getAuthorizationDivisionsHome(){return this.apiClient.callApi('/api/v2/authorization/divisions/home','GET',{},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
@@ -15114,7 +15217,7 @@ if(divisionId===undefined||divisionId===null){throw'Missing the required paramet
|
|
|
15114
15217
|
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
15218
|
* OperationalEvents service.
|
|
15116
15219
|
* @module purecloud-platform-client-v2/api/OperationalEventsApi
|
|
15117
|
-
* @version
|
|
15220
|
+
* @version 187.0.0
|
|
15118
15221
|
*/ /**
|
|
15119
15222
|
* Constructs a new OperationalEventsApi.
|
|
15120
15223
|
* @alias module:purecloud-platform-client-v2/api/OperationalEventsApi
|
|
@@ -15132,7 +15235,7 @@ if(eventDefinitionId===undefined||eventDefinitionId===null){throw'Missing the re
|
|
|
15132
15235
|
*/},{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
15236
|
* Organization service.
|
|
15134
15237
|
* @module purecloud-platform-client-v2/api/OrganizationApi
|
|
15135
|
-
* @version
|
|
15238
|
+
* @version 187.0.0
|
|
15136
15239
|
*/ /**
|
|
15137
15240
|
* Constructs a new OrganizationApi.
|
|
15138
15241
|
* @alias module:purecloud-platform-client-v2/api/OrganizationApi
|
|
@@ -15234,7 +15337,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
15234
15337
|
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
15338
|
* OrganizationAuthorization service.
|
|
15236
15339
|
* @module purecloud-platform-client-v2/api/OrganizationAuthorizationApi
|
|
15237
|
-
* @version
|
|
15340
|
+
* @version 187.0.0
|
|
15238
15341
|
*/ /**
|
|
15239
15342
|
* Constructs a new OrganizationAuthorizationApi.
|
|
15240
15343
|
* @alias module:purecloud-platform-client-v2/api/OrganizationAuthorizationApi
|
|
@@ -15557,7 +15660,7 @@ if(trustorOrgId===undefined||trustorOrgId===null){throw'Missing the required par
|
|
|
15557
15660
|
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
15661
|
* Outbound service.
|
|
15559
15662
|
* @module purecloud-platform-client-v2/api/OutboundApi
|
|
15560
|
-
* @version
|
|
15663
|
+
* @version 187.0.0
|
|
15561
15664
|
*/ /**
|
|
15562
15665
|
* Constructs a new OutboundApi.
|
|
15563
15666
|
* @alias module:purecloud-platform-client-v2/api/OutboundApi
|
|
@@ -15665,6 +15768,16 @@ if(dncListId===undefined||dncListId===null){throw'Missing the required parameter
|
|
|
15665
15768
|
* @param {Boolean} opts.expiredOnly Set to true to only remove DNC entries that are expired (default to false)
|
|
15666
15769
|
*/},{key:"deleteOutboundDnclistPhonenumbers",value:function deleteOutboundDnclistPhonenumbers(dncListId,opts){opts=opts||{};// verify the required parameter 'dncListId' is set
|
|
15667
15770
|
if(dncListId===undefined||dncListId===null){throw'Missing the required parameter "dncListId" when calling deleteOutboundDnclistPhonenumbers';}return this.apiClient.callApi('/api/v2/outbound/dnclists/{dncListId}/phonenumbers','DELETE',{'dncListId':dncListId},{'expiredOnly':opts['expiredOnly']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
15771
|
+
* Delete File Specification Template
|
|
15772
|
+
*
|
|
15773
|
+
* @param {String} fileSpecificationTemplateId File Specification Template ID
|
|
15774
|
+
*/},{key:"deleteOutboundFilespecificationtemplate",value:function deleteOutboundFilespecificationtemplate(fileSpecificationTemplateId){// verify the required parameter 'fileSpecificationTemplateId' is set
|
|
15775
|
+
if(fileSpecificationTemplateId===undefined||fileSpecificationTemplateId===null){throw'Missing the required parameter "fileSpecificationTemplateId" when calling deleteOutboundFilespecificationtemplate';}return this.apiClient.callApi('/api/v2/outbound/filespecificationtemplates/{fileSpecificationTemplateId}','DELETE',{'fileSpecificationTemplateId':fileSpecificationTemplateId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
15776
|
+
* Delete multiple file specification templates.
|
|
15777
|
+
*
|
|
15778
|
+
* @param {Array.<String>} id File Specification template id(s) to delete
|
|
15779
|
+
*/},{key:"deleteOutboundFilespecificationtemplatesBulk",value:function deleteOutboundFilespecificationtemplatesBulk(id){// verify the required parameter 'id' is set
|
|
15780
|
+
if(id===undefined||id===null){throw'Missing the required parameter "id" when calling deleteOutboundFilespecificationtemplatesBulk';}return this.apiClient.callApi('/api/v2/outbound/filespecificationtemplates/bulk','DELETE',{},{'id':this.apiClient.buildCollectionParam(id,'multi')},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
15668
15781
|
* Delete Import Template
|
|
15669
15782
|
*
|
|
15670
15783
|
* @param {String} importTemplateId Import Template ID
|
|
@@ -16053,6 +16166,22 @@ if(eventId===undefined||eventId===null){throw'Missing the required parameter "ev
|
|
|
16053
16166
|
* @param {String} opts.sortBy Sort by
|
|
16054
16167
|
* @param {Object} opts.sortOrder Sort order (default to a)
|
|
16055
16168
|
*/},{key:"getOutboundEvents",value:function getOutboundEvents(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/outbound/events','GET',{},{'pageSize':opts['pageSize'],'pageNumber':opts['pageNumber'],'filterType':opts['filterType'],'category':opts['category'],'level':opts['level'],'sortBy':opts['sortBy'],'sortOrder':opts['sortOrder']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
16169
|
+
* Get File Specification Template
|
|
16170
|
+
*
|
|
16171
|
+
* @param {String} fileSpecificationTemplateId File Specification Template ID
|
|
16172
|
+
*/},{key:"getOutboundFilespecificationtemplate",value:function getOutboundFilespecificationtemplate(fileSpecificationTemplateId){// verify the required parameter 'fileSpecificationTemplateId' is set
|
|
16173
|
+
if(fileSpecificationTemplateId===undefined||fileSpecificationTemplateId===null){throw'Missing the required parameter "fileSpecificationTemplateId" when calling getOutboundFilespecificationtemplate';}return this.apiClient.callApi('/api/v2/outbound/filespecificationtemplates/{fileSpecificationTemplateId}','GET',{'fileSpecificationTemplateId':fileSpecificationTemplateId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
16174
|
+
* Query File Specification Templates
|
|
16175
|
+
*
|
|
16176
|
+
* @param {Object} opts Optional parameters
|
|
16177
|
+
* @param {Number} opts.pageSize Page size. The max that will be returned is 100. (default to 25)
|
|
16178
|
+
* @param {Number} opts.pageNumber Page number (default to 1)
|
|
16179
|
+
* @param {Boolean} opts.allowEmptyResult Whether to return an empty page when there are no results for that page (default to false)
|
|
16180
|
+
* @param {Object} opts.filterType Filter type (default to Prefix)
|
|
16181
|
+
* @param {String} opts.name Name
|
|
16182
|
+
* @param {String} opts.sortBy Sort by
|
|
16183
|
+
* @param {Object} opts.sortOrder Sort order (default to a)
|
|
16184
|
+
*/},{key:"getOutboundFilespecificationtemplates",value:function getOutboundFilespecificationtemplates(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/outbound/filespecificationtemplates','GET',{},{'pageSize':opts['pageSize'],'pageNumber':opts['pageNumber'],'allowEmptyResult':opts['allowEmptyResult'],'filterType':opts['filterType'],'name':opts['name'],'sortBy':opts['sortBy'],'sortOrder':opts['sortOrder']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
16056
16185
|
* Get Import Template
|
|
16057
16186
|
*
|
|
16058
16187
|
* @param {String} importTemplateId Import Template ID
|
|
@@ -16325,6 +16454,11 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
16325
16454
|
* @param {Array.<Object>} body contact list template(s) to add
|
|
16326
16455
|
*/},{key:"postOutboundContactlisttemplatesBulkAdd",value:function postOutboundContactlisttemplatesBulkAdd(body){// verify the required parameter 'body' is set
|
|
16327
16456
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postOutboundContactlisttemplatesBulkAdd';}return this.apiClient.callApi('/api/v2/outbound/contactlisttemplates/bulk/add','POST',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
16457
|
+
* Get multiple contact list templates
|
|
16458
|
+
*
|
|
16459
|
+
* @param {Object} body contact list templates to get
|
|
16460
|
+
*/},{key:"postOutboundContactlisttemplatesBulkRetrieve",value:function postOutboundContactlisttemplatesBulkRetrieve(body){// verify the required parameter 'body' is set
|
|
16461
|
+
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postOutboundContactlisttemplatesBulkRetrieve';}return this.apiClient.callApi('/api/v2/outbound/contactlisttemplates/bulk/retrieve','POST',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
16328
16462
|
* Add phone numbers to a Dialer DNC list.
|
|
16329
16463
|
*
|
|
16330
16464
|
* @param {String} conversationId Conversation ID
|
|
@@ -16361,6 +16495,11 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
16361
16495
|
* @param {Object} body DncList
|
|
16362
16496
|
*/},{key:"postOutboundDnclists",value:function postOutboundDnclists(body){// verify the required parameter 'body' is set
|
|
16363
16497
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postOutboundDnclists';}return this.apiClient.callApi('/api/v2/outbound/dnclists','POST',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
16498
|
+
* Create File Specification Template
|
|
16499
|
+
*
|
|
16500
|
+
* @param {Object} body FileSpecificationTemplate
|
|
16501
|
+
*/},{key:"postOutboundFilespecificationtemplates",value:function postOutboundFilespecificationtemplates(body){// verify the required parameter 'body' is set
|
|
16502
|
+
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postOutboundFilespecificationtemplates';}return this.apiClient.callApi('/api/v2/outbound/filespecificationtemplates','POST',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
16364
16503
|
* Create Import Template
|
|
16365
16504
|
*
|
|
16366
16505
|
* @param {Object} body ImportTemplate
|
|
@@ -16479,6 +16618,13 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
16479
16618
|
*/},{key:"putOutboundDnclist",value:function putOutboundDnclist(dncListId,body){// verify the required parameter 'dncListId' is set
|
|
16480
16619
|
if(dncListId===undefined||dncListId===null){throw'Missing the required parameter "dncListId" when calling putOutboundDnclist';}// verify the required parameter 'body' is set
|
|
16481
16620
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putOutboundDnclist';}return this.apiClient.callApi('/api/v2/outbound/dnclists/{dncListId}','PUT',{'dncListId':dncListId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
16621
|
+
* Update File Specification Template
|
|
16622
|
+
*
|
|
16623
|
+
* @param {String} fileSpecificationTemplateId File Specification Template ID
|
|
16624
|
+
* @param {Object} body fileSpecificationTemplate
|
|
16625
|
+
*/},{key:"putOutboundFilespecificationtemplate",value:function putOutboundFilespecificationtemplate(fileSpecificationTemplateId,body){// verify the required parameter 'fileSpecificationTemplateId' is set
|
|
16626
|
+
if(fileSpecificationTemplateId===undefined||fileSpecificationTemplateId===null){throw'Missing the required parameter "fileSpecificationTemplateId" when calling putOutboundFilespecificationtemplate';}// verify the required parameter 'body' is set
|
|
16627
|
+
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putOutboundFilespecificationtemplate';}return this.apiClient.callApi('/api/v2/outbound/filespecificationtemplates/{fileSpecificationTemplateId}','PUT',{'fileSpecificationTemplateId':fileSpecificationTemplateId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
16482
16628
|
* Update Import Template
|
|
16483
16629
|
*
|
|
16484
16630
|
* @param {String} importTemplateId Import Template ID
|
|
@@ -16542,7 +16688,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
16542
16688
|
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
16689
|
* Presence service.
|
|
16544
16690
|
* @module purecloud-platform-client-v2/api/PresenceApi
|
|
16545
|
-
* @version
|
|
16691
|
+
* @version 187.0.0
|
|
16546
16692
|
*/ /**
|
|
16547
16693
|
* Constructs a new PresenceApi.
|
|
16548
16694
|
* @alias module:purecloud-platform-client-v2/api/PresenceApi
|
|
@@ -16560,9 +16706,10 @@ if(definitionId===undefined||definitionId===null){throw'Missing the required par
|
|
|
16560
16706
|
* @param {String} sourceId Presence Source ID
|
|
16561
16707
|
*/},{key:"deletePresenceSource",value:function deletePresenceSource(sourceId){// verify the required parameter 'sourceId' is set
|
|
16562
16708
|
if(sourceId===undefined||sourceId===null){throw'Missing the required parameter "sourceId" when calling deletePresenceSource';}return this.apiClient.callApi('/api/v2/presence/sources/{sourceId}','DELETE',{'sourceId':sourceId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
16563
|
-
* Delete a Presence Definition
|
|
16709
|
+
* Delete a Presence Definition. Apps should migrate to use DELETE /api/v2/presence/definitions/{definitionId} instead
|
|
16564
16710
|
*
|
|
16565
16711
|
* @param {String} presenceId Organization Presence ID
|
|
16712
|
+
* @deprecated
|
|
16566
16713
|
*/},{key:"deletePresencedefinition",value:function deletePresencedefinition(presenceId){// verify the required parameter 'presenceId' is set
|
|
16567
16714
|
if(presenceId===undefined||presenceId===null){throw'Missing the required parameter "presenceId" when calling deletePresencedefinition';}return this.apiClient.callApi('/api/v2/presencedefinitions/{presenceId}','DELETE',{'presenceId':presenceId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
16568
16715
|
* Get a Presence Definition
|
|
@@ -16597,20 +16744,22 @@ if(sourceId===undefined||sourceId===null){throw'Missing the required parameter "
|
|
|
16597
16744
|
* @param {String} userId user ID
|
|
16598
16745
|
*/},{key:"getPresenceUserPrimarysource",value:function getPresenceUserPrimarysource(userId){// verify the required parameter 'userId' is set
|
|
16599
16746
|
if(userId===undefined||userId===null){throw'Missing the required parameter "userId" when calling getPresenceUserPrimarysource';}return this.apiClient.callApi('/api/v2/presence/users/{userId}/primarysource','GET',{'userId':userId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
16600
|
-
* Get a Presence Definition
|
|
16747
|
+
* Get a Presence Definition. Apps should migrate to use GET /api/v2/presence/definitions/{definitionId} instead
|
|
16601
16748
|
*
|
|
16602
16749
|
* @param {String} presenceId Organization Presence ID
|
|
16603
16750
|
* @param {Object} opts Optional parameters
|
|
16604
16751
|
* @param {String} opts.localeCode The locale code to fetch for the presence definition. Use ALL to fetch everything.
|
|
16752
|
+
* @deprecated
|
|
16605
16753
|
*/},{key:"getPresencedefinition",value:function getPresencedefinition(presenceId,opts){opts=opts||{};// verify the required parameter 'presenceId' is set
|
|
16606
16754
|
if(presenceId===undefined||presenceId===null){throw'Missing the required parameter "presenceId" when calling getPresencedefinition';}return this.apiClient.callApi('/api/v2/presencedefinitions/{presenceId}','GET',{'presenceId':presenceId},{'localeCode':opts['localeCode']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
16607
|
-
* Get an Organization's list of Presence Definitions
|
|
16755
|
+
* Get an Organization's list of Presence Definitions. Apps should migrate to use GET /api/v2/presence/definitions instead
|
|
16608
16756
|
*
|
|
16609
16757
|
* @param {Object} opts Optional parameters
|
|
16610
16758
|
* @param {Number} opts.pageNumber Page number (default to 1)
|
|
16611
16759
|
* @param {Number} opts.pageSize Page size (default to 25)
|
|
16612
16760
|
* @param {String} opts.deleted Deleted query can be TRUE, FALSE or ALL (default to false)
|
|
16613
16761
|
* @param {String} opts.localeCode The locale code to fetch for each presence definition. Use ALL to fetch everything.
|
|
16762
|
+
* @deprecated
|
|
16614
16763
|
*/},{key:"getPresencedefinitions",value:function getPresencedefinitions(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/presencedefinitions','GET',{},{'pageNumber':opts['pageNumber'],'pageSize':opts['pageSize'],'deleted':opts['deleted'],'localeCode':opts['localeCode']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
16615
16764
|
* Get the list of SystemPresences
|
|
16616
16765
|
*
|
|
@@ -16665,9 +16814,10 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
16665
16814
|
* @param {Object} body The Presence Source to create
|
|
16666
16815
|
*/},{key:"postPresenceSources",value:function postPresenceSources(body){// verify the required parameter 'body' is set
|
|
16667
16816
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postPresenceSources';}return this.apiClient.callApi('/api/v2/presence/sources','POST',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
16668
|
-
* Create a Presence Definition
|
|
16817
|
+
* Create a Presence Definition. Apps should migrate to use POST /api/v2/presence/definitions instead
|
|
16669
16818
|
*
|
|
16670
16819
|
* @param {Object} body The Presence Definition to create
|
|
16820
|
+
* @deprecated
|
|
16671
16821
|
*/},{key:"postPresencedefinitions",value:function postPresencedefinitions(body){// verify the required parameter 'body' is set
|
|
16672
16822
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postPresencedefinitions';}return this.apiClient.callApi('/api/v2/presencedefinitions','POST',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
16673
16823
|
* Update a Presence Definition
|
|
@@ -16696,10 +16846,11 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
16696
16846
|
*/},{key:"putPresenceUserPrimarysource",value:function putPresenceUserPrimarysource(userId,body){// verify the required parameter 'userId' is set
|
|
16697
16847
|
if(userId===undefined||userId===null){throw'Missing the required parameter "userId" when calling putPresenceUserPrimarysource';}// verify the required parameter 'body' is set
|
|
16698
16848
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putPresenceUserPrimarysource';}return this.apiClient.callApi('/api/v2/presence/users/{userId}/primarysource','PUT',{'userId':userId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
16699
|
-
* Update a Presence Definition
|
|
16849
|
+
* Update a Presence Definition. Apps should migrate to use PUT /api/v2/presence/definitions/{definitionId} instead)
|
|
16700
16850
|
*
|
|
16701
16851
|
* @param {String} presenceId Organization Presence ID
|
|
16702
16852
|
* @param {Object} body The OrganizationPresence to update
|
|
16853
|
+
* @deprecated
|
|
16703
16854
|
*/},{key:"putPresencedefinition",value:function putPresencedefinition(presenceId,body){// verify the required parameter 'presenceId' is set
|
|
16704
16855
|
if(presenceId===undefined||presenceId===null){throw'Missing the required parameter "presenceId" when calling putPresencedefinition';}// verify the required parameter 'body' is set
|
|
16705
16856
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putPresencedefinition';}return this.apiClient.callApi('/api/v2/presencedefinitions/{presenceId}','PUT',{'presenceId':presenceId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
@@ -16710,7 +16861,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
16710
16861
|
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
16862
|
* ProcessAutomation service.
|
|
16712
16863
|
* @module purecloud-platform-client-v2/api/ProcessAutomationApi
|
|
16713
|
-
* @version
|
|
16864
|
+
* @version 187.0.0
|
|
16714
16865
|
*/ /**
|
|
16715
16866
|
* Constructs a new ProcessAutomationApi.
|
|
16716
16867
|
* @alias module:purecloud-platform-client-v2/api/ProcessAutomationApi
|
|
@@ -16773,7 +16924,7 @@ if(triggerId===undefined||triggerId===null){throw'Missing the required parameter
|
|
|
16773
16924
|
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
16925
|
* Quality service.
|
|
16775
16926
|
* @module purecloud-platform-client-v2/api/QualityApi
|
|
16776
|
-
* @version
|
|
16927
|
+
* @version 187.0.0
|
|
16777
16928
|
*/ /**
|
|
16778
16929
|
* Constructs a new QualityApi.
|
|
16779
16930
|
* @alias module:purecloud-platform-client-v2/api/QualityApi
|
|
@@ -17203,7 +17354,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
17203
17354
|
if(calibrationId===undefined||calibrationId===null){throw'Missing the required parameter "calibrationId" when calling putQualityCalibration';}// verify the required parameter 'body' is set
|
|
17204
17355
|
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
17356
|
* 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.
|
|
17357
|
+
* 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
17358
|
* @param {String} conversationId conversationId
|
|
17208
17359
|
* @param {String} evaluationId evaluationId
|
|
17209
17360
|
* @param {Object} body evaluation
|
|
@@ -17244,7 +17395,7 @@ if(customerSurveyUrl===undefined||customerSurveyUrl===null){throw'Missing the re
|
|
|
17244
17395
|
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
17396
|
* Recording service.
|
|
17246
17397
|
* @module purecloud-platform-client-v2/api/RecordingApi
|
|
17247
|
-
* @version
|
|
17398
|
+
* @version 187.0.0
|
|
17248
17399
|
*/ /**
|
|
17249
17400
|
* Constructs a new RecordingApi.
|
|
17250
17401
|
* @alias module:purecloud-platform-client-v2/api/RecordingApi
|
|
@@ -17651,7 +17802,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
17651
17802
|
*/},{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
17803
|
* ResponseManagement service.
|
|
17653
17804
|
* @module purecloud-platform-client-v2/api/ResponseManagementApi
|
|
17654
|
-
* @version
|
|
17805
|
+
* @version 187.0.0
|
|
17655
17806
|
*/ /**
|
|
17656
17807
|
* Constructs a new ResponseManagementApi.
|
|
17657
17808
|
* @alias module:purecloud-platform-client-v2/api/ResponseManagementApi
|
|
@@ -17767,7 +17918,7 @@ if(responseAssetId===undefined||responseAssetId===null){throw'Missing the requir
|
|
|
17767
17918
|
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
17919
|
* Routing service.
|
|
17769
17920
|
* @module purecloud-platform-client-v2/api/RoutingApi
|
|
17770
|
-
* @version
|
|
17921
|
+
* @version 187.0.0
|
|
17771
17922
|
*/ /**
|
|
17772
17923
|
* Constructs a new RoutingApi.
|
|
17773
17924
|
* @alias module:purecloud-platform-client-v2/api/RoutingApi
|
|
@@ -18316,6 +18467,21 @@ if(codeId===undefined||codeId===null){throw'Missing the required parameter "code
|
|
|
18316
18467
|
* @param {Array.<String>} opts.id Filter by wrapup code ID(s)
|
|
18317
18468
|
* @param {Array.<String>} opts.divisionId Filter by division ID(s)
|
|
18318
18469
|
*/},{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']);}/**
|
|
18470
|
+
* Get a simplified wrap-up code.
|
|
18471
|
+
*
|
|
18472
|
+
* @param {String} codeId Wrapup Code ID
|
|
18473
|
+
*/},{key:"getRoutingWrapupcodesDivisionview",value:function getRoutingWrapupcodesDivisionview(codeId){// verify the required parameter 'codeId' is set
|
|
18474
|
+
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']);}/**
|
|
18475
|
+
* Get a paged listing of simplified wrapup code objects, filterable by name, wrapup code ID(s), or division ID(s).
|
|
18476
|
+
* Specifying both name and ID parameters is not supported.
|
|
18477
|
+
* @param {Object} opts Optional parameters
|
|
18478
|
+
* @param {Number} opts.pageSize Page size (default to 25)
|
|
18479
|
+
* @param {Number} opts.pageNumber Page number (default to 1)
|
|
18480
|
+
* @param {String} opts.name Name (trailing asterisks allowed)
|
|
18481
|
+
* @param {Array.<String>} opts.id Wrapup code ID(s)
|
|
18482
|
+
* @param {Array.<String>} opts.divisionId Division ID(s)
|
|
18483
|
+
* @param {Object} opts.includeState Wrapup code state(s) to include
|
|
18484
|
+
*/},{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
18485
|
* Get queues for user
|
|
18320
18486
|
*
|
|
18321
18487
|
* @param {String} userId User ID
|
|
@@ -18420,6 +18586,11 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
18420
18586
|
* @param {Object} body Contact Center Settings
|
|
18421
18587
|
*/},{key:"patchRoutingSettingsContactcenter",value:function patchRoutingSettingsContactcenter(body){// verify the required parameter 'body' is set
|
|
18422
18588
|
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']);}/**
|
|
18589
|
+
* Patch Transcription Settings
|
|
18590
|
+
*
|
|
18591
|
+
* @param {Object} body Organization Settings
|
|
18592
|
+
*/},{key:"patchRoutingSettingsTranscription",value:function patchRoutingSettingsTranscription(body){// verify the required parameter 'body' is set
|
|
18593
|
+
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
18594
|
* Update skill group definition
|
|
18424
18595
|
*
|
|
18425
18596
|
* @param {String} skillGroupId Skill Group ID
|
|
@@ -18592,7 +18763,6 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
18592
18763
|
* Imports a phone number for SMS
|
|
18593
18764
|
*
|
|
18594
18765
|
* @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
18766
|
*/},{key:"postRoutingSmsPhonenumbersImport",value:function postRoutingSmsPhonenumbersImport(body){// verify the required parameter 'body' is set
|
|
18597
18767
|
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
18768
|
* Create a utilization label
|
|
@@ -18716,7 +18886,7 @@ if(userId===undefined||userId===null){throw'Missing the required parameter "user
|
|
|
18716
18886
|
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
18887
|
* SCIM service.
|
|
18718
18888
|
* @module purecloud-platform-client-v2/api/SCIMApi
|
|
18719
|
-
* @version
|
|
18889
|
+
* @version 187.0.0
|
|
18720
18890
|
*/ /**
|
|
18721
18891
|
* Constructs a new SCIMApi.
|
|
18722
18892
|
* @alias module:purecloud-platform-client-v2/api/SCIMApi
|
|
@@ -18938,10 +19108,25 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
18938
19108
|
* @param {String} opts.ifMatch The ETag of a resource in double quotes. Returned as header and meta.version with initial call to GET /api/v2/scim/v2/users/{userId}. Example: 42. If the ETag is different from the version on the server, returns 400 with a scimType of invalidVers.
|
|
18939
19109
|
*/},{key:"putScimV2User",value:function putScimV2User(userId,body,opts){opts=opts||{};// verify the required parameter 'userId' is set
|
|
18940
19110
|
if(userId===undefined||userId===null){throw'Missing the required parameter "userId" when calling putScimV2User';}// verify the required parameter 'body' is set
|
|
18941
|
-
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
|
|
19111
|
+
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 ScreenRecordingApi=/*#__PURE__*/function(){/**
|
|
19112
|
+
* ScreenRecording service.
|
|
19113
|
+
* @module purecloud-platform-client-v2/api/ScreenRecordingApi
|
|
19114
|
+
* @version 187.0.0
|
|
19115
|
+
*/ /**
|
|
19116
|
+
* Constructs a new ScreenRecordingApi.
|
|
19117
|
+
* @alias module:purecloud-platform-client-v2/api/ScreenRecordingApi
|
|
19118
|
+
* @class
|
|
19119
|
+
* @param {module:purecloud-platform-client-v2/ApiClient} apiClient Optional API client implementation to use,
|
|
19120
|
+
* default to {@link module:purecloud-platform-client-v2/ApiClient#instance} if unspecified.
|
|
19121
|
+
*/function ScreenRecordingApi(apiClient){_classCallCheck(this,ScreenRecordingApi);this.apiClient=apiClient||ApiClient.instance;}/**
|
|
19122
|
+
* Sign identifying information for screen recording
|
|
19123
|
+
*
|
|
19124
|
+
* @param {Object} opts Optional parameters
|
|
19125
|
+
* @param {Object} opts.body
|
|
19126
|
+
*/_createClass(ScreenRecordingApi,[{key:"postScreenrecordingToken",value:function postScreenrecordingToken(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/screenrecording/token','POST',{},{},{},{},opts['body'],['PureCloud OAuth'],['application/json'],['application/json']);}}]);return ScreenRecordingApi;}();var ScriptsApi=/*#__PURE__*/function(){/**
|
|
18942
19127
|
* Scripts service.
|
|
18943
19128
|
* @module purecloud-platform-client-v2/api/ScriptsApi
|
|
18944
|
-
* @version
|
|
19129
|
+
* @version 187.0.0
|
|
18945
19130
|
*/ /**
|
|
18946
19131
|
* Constructs a new ScriptsApi.
|
|
18947
19132
|
* @alias module:purecloud-platform-client-v2/api/ScriptsApi
|
|
@@ -19077,7 +19262,7 @@ if(scriptId===undefined||scriptId===null){throw'Missing the required parameter "
|
|
|
19077
19262
|
*/},{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
19263
|
* Search service.
|
|
19079
19264
|
* @module purecloud-platform-client-v2/api/SearchApi
|
|
19080
|
-
* @version
|
|
19265
|
+
* @version 187.0.0
|
|
19081
19266
|
*/ /**
|
|
19082
19267
|
* Constructs a new SearchApi.
|
|
19083
19268
|
* @alias module:purecloud-platform-client-v2/api/SearchApi
|
|
@@ -19237,7 +19422,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
19237
19422
|
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
19423
|
* Settings service.
|
|
19239
19424
|
* @module purecloud-platform-client-v2/api/SettingsApi
|
|
19240
|
-
* @version
|
|
19425
|
+
* @version 187.0.0
|
|
19241
19426
|
*/ /**
|
|
19242
19427
|
* Constructs a new SettingsApi.
|
|
19243
19428
|
* @alias module:purecloud-platform-client-v2/api/SettingsApi
|
|
@@ -19255,7 +19440,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
19255
19440
|
*/},{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
19441
|
* SpeechTextAnalytics service.
|
|
19257
19442
|
* @module purecloud-platform-client-v2/api/SpeechTextAnalyticsApi
|
|
19258
|
-
* @version
|
|
19443
|
+
* @version 187.0.0
|
|
19259
19444
|
*/ /**
|
|
19260
19445
|
* Constructs a new SpeechTextAnalyticsApi.
|
|
19261
19446
|
* @alias module:purecloud-platform-client-v2/api/SpeechTextAnalyticsApi
|
|
@@ -19498,7 +19683,7 @@ if(topicId===undefined||topicId===null){throw'Missing the required parameter "to
|
|
|
19498
19683
|
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
19684
|
* Stations service.
|
|
19500
19685
|
* @module purecloud-platform-client-v2/api/StationsApi
|
|
19501
|
-
* @version
|
|
19686
|
+
* @version 187.0.0
|
|
19502
19687
|
*/ /**
|
|
19503
19688
|
* Constructs a new StationsApi.
|
|
19504
19689
|
* @alias module:purecloud-platform-client-v2/api/StationsApi
|
|
@@ -19530,7 +19715,7 @@ if(stationId===undefined||stationId===null){throw'Missing the required parameter
|
|
|
19530
19715
|
*/},{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
19716
|
* Suggest service.
|
|
19532
19717
|
* @module purecloud-platform-client-v2/api/SuggestApi
|
|
19533
|
-
* @version
|
|
19718
|
+
* @version 187.0.0
|
|
19534
19719
|
*/ /**
|
|
19535
19720
|
* Constructs a new SuggestApi.
|
|
19536
19721
|
* @alias module:purecloud-platform-client-v2/api/SuggestApi
|
|
@@ -19570,7 +19755,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
19570
19755
|
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
19756
|
* TaskManagement service.
|
|
19572
19757
|
* @module purecloud-platform-client-v2/api/TaskManagementApi
|
|
19573
|
-
* @version
|
|
19758
|
+
* @version 187.0.0
|
|
19574
19759
|
*/ /**
|
|
19575
19760
|
* Constructs a new TaskManagementApi.
|
|
19576
19761
|
* @alias module:purecloud-platform-client-v2/api/TaskManagementApi
|
|
@@ -19912,7 +20097,7 @@ if(schemaId===undefined||schemaId===null){throw'Missing the required parameter "
|
|
|
19912
20097
|
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
20098
|
* Teams service.
|
|
19914
20099
|
* @module purecloud-platform-client-v2/api/TeamsApi
|
|
19915
|
-
* @version
|
|
20100
|
+
* @version 187.0.0
|
|
19916
20101
|
*/ /**
|
|
19917
20102
|
* Constructs a new TeamsApi.
|
|
19918
20103
|
* @alias module:purecloud-platform-client-v2/api/TeamsApi
|
|
@@ -19991,7 +20176,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
19991
20176
|
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
20177
|
* Telephony service.
|
|
19993
20178
|
* @module purecloud-platform-client-v2/api/TelephonyApi
|
|
19994
|
-
* @version
|
|
20179
|
+
* @version 187.0.0
|
|
19995
20180
|
*/ /**
|
|
19996
20181
|
* Constructs a new TelephonyApi.
|
|
19997
20182
|
* @alias module:purecloud-platform-client-v2/api/TelephonyApi
|
|
@@ -20005,7 +20190,6 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
20005
20190
|
* Get a SIP message.
|
|
20006
20191
|
* Get the raw form of the SIP message
|
|
20007
20192
|
* @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
20193
|
*/},{key:"getTelephonySipmessagesConversation",value:function getTelephonySipmessagesConversation(conversationId){// verify the required parameter 'conversationId' is set
|
|
20010
20194
|
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
20195
|
* Get SIP headers.
|
|
@@ -20013,7 +20197,6 @@ if(conversationId===undefined||conversationId===null){throw'Missing the required
|
|
|
20013
20197
|
* @param {String} conversationId Conversation id
|
|
20014
20198
|
* @param {Object} opts Optional parameters
|
|
20015
20199
|
* @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
20200
|
*/},{key:"getTelephonySipmessagesConversationHeaders",value:function getTelephonySipmessagesConversationHeaders(conversationId,opts){opts=opts||{};// verify the required parameter 'conversationId' is set
|
|
20018
20201
|
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
20202
|
* Fetch SIP metadata
|
|
@@ -20040,7 +20223,7 @@ if(downloadId===undefined||downloadId===null){throw'Missing the required paramet
|
|
|
20040
20223
|
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
20224
|
* TelephonyProvidersEdge service.
|
|
20042
20225
|
* @module purecloud-platform-client-v2/api/TelephonyProvidersEdgeApi
|
|
20043
|
-
* @version
|
|
20226
|
+
* @version 187.0.0
|
|
20044
20227
|
*/ /**
|
|
20045
20228
|
* Constructs a new TelephonyProvidersEdgeApi.
|
|
20046
20229
|
* @alias module:purecloud-platform-client-v2/api/TelephonyProvidersEdgeApi
|
|
@@ -20328,7 +20511,6 @@ if(extensionPoolId===undefined||extensionPoolId===null){throw'Missing the requir
|
|
|
20328
20511
|
* @param {Array.<String>} opts.id ID of the Extension Pools to filter by.
|
|
20329
20512
|
* @param {String} opts.name Name of the Extension Pools to filter by.
|
|
20330
20513
|
* @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
20514
|
*/},{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
20515
|
* Get a listing of extensions
|
|
20334
20516
|
*
|
|
@@ -20398,12 +20580,6 @@ if(communicationId===undefined||communicationId===null){throw'Missing the requir
|
|
|
20398
20580
|
* @param {String} edgeIds Comma separated list of Edge Id's. Maximum of 100 edge ids allowed.
|
|
20399
20581
|
*/},{key:"getTelephonyProvidersEdgesMetrics",value:function getTelephonyProvidersEdgesMetrics(edgeIds){// verify the required parameter 'edgeIds' is set
|
|
20400
20582
|
if(edgeIds===undefined||edgeIds===null){throw'Missing the required parameter "edgeIds" when calling getTelephonyProvidersEdgesMetrics';}return this.apiClient.callApi('/api/v2/telephony/providers/edges/metrics','GET',{},{'edgeIds':edgeIds},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
20401
|
-
* Get outbound route
|
|
20402
|
-
* This route is deprecated, use /telephony/providers/edges/sites/{siteId}/outboundroutes/{outboundRouteId} instead.
|
|
20403
|
-
* @param {String} outboundRouteId Outbound route ID
|
|
20404
|
-
* @deprecated
|
|
20405
|
-
*/},{key:"getTelephonyProvidersEdgesOutboundroute",value:function getTelephonyProvidersEdgesOutboundroute(outboundRouteId){// verify the required parameter 'outboundRouteId' is set
|
|
20406
|
-
if(outboundRouteId===undefined||outboundRouteId===null){throw'Missing the required parameter "outboundRouteId" when calling getTelephonyProvidersEdgesOutboundroute';}return this.apiClient.callApi('/api/v2/telephony/providers/edges/outboundroutes/{outboundRouteId}','GET',{'outboundRouteId':outboundRouteId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
20407
20583
|
* Get outbound routes
|
|
20408
20584
|
*
|
|
20409
20585
|
* @param {Object} opts Optional parameters
|
|
@@ -20533,7 +20709,8 @@ if(siteId===undefined||siteId===null){throw'Missing the required parameter "site
|
|
|
20533
20709
|
* @param {String} opts.name Name
|
|
20534
20710
|
* @param {String} opts.locationId Location Id
|
|
20535
20711
|
* @param {Boolean} opts.managed Filter by managed
|
|
20536
|
-
|
|
20712
|
+
* @param {Array.<String>} opts.expand Fields to expand in the response, comma-separated
|
|
20713
|
+
*/},{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
20714
|
* Get a list of Edge-compatible time zones
|
|
20538
20715
|
*
|
|
20539
20716
|
* @param {Object} opts Optional parameters
|
|
@@ -20860,7 +21037,7 @@ if(trunkBaseSettingsId===undefined||trunkBaseSettingsId===null){throw'Missing th
|
|
|
20860
21037
|
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
21038
|
* Textbots service.
|
|
20862
21039
|
* @module purecloud-platform-client-v2/api/TextbotsApi
|
|
20863
|
-
* @version
|
|
21040
|
+
* @version 187.0.0
|
|
20864
21041
|
*/ /**
|
|
20865
21042
|
* Constructs a new TextbotsApi.
|
|
20866
21043
|
* @alias module:purecloud-platform-client-v2/api/TextbotsApi
|
|
@@ -20895,7 +21072,7 @@ if(launchRequest===undefined||launchRequest===null){throw'Missing the required p
|
|
|
20895
21072
|
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
21073
|
* Tokens service.
|
|
20897
21074
|
* @module purecloud-platform-client-v2/api/TokensApi
|
|
20898
|
-
* @version
|
|
21075
|
+
* @version 187.0.0
|
|
20899
21076
|
*/ /**
|
|
20900
21077
|
* Constructs a new TokensApi.
|
|
20901
21078
|
* @alias module:purecloud-platform-client-v2/api/TokensApi
|
|
@@ -20931,7 +21108,7 @@ if(userId===undefined||userId===null){throw'Missing the required parameter "user
|
|
|
20931
21108
|
*/},{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
21109
|
* Uploads service.
|
|
20933
21110
|
* @module purecloud-platform-client-v2/api/UploadsApi
|
|
20934
|
-
* @version
|
|
21111
|
+
* @version 187.0.0
|
|
20935
21112
|
*/ /**
|
|
20936
21113
|
* Constructs a new UploadsApi.
|
|
20937
21114
|
* @alias module:purecloud-platform-client-v2/api/UploadsApi
|
|
@@ -20939,10 +21116,18 @@ if(userId===undefined||userId===null){throw'Missing the required parameter "user
|
|
|
20939
21116
|
* @param {module:purecloud-platform-client-v2/ApiClient} apiClient Optional API client implementation to use,
|
|
20940
21117
|
* default to {@link module:purecloud-platform-client-v2/ApiClient#instance} if unspecified.
|
|
20941
21118
|
*/function UploadsApi(apiClient){_classCallCheck(this,UploadsApi);this.apiClient=apiClient||ApiClient.instance;}/**
|
|
21119
|
+
* Create upload presigned URL for draft function package file.
|
|
21120
|
+
*
|
|
21121
|
+
* @param {String} actionId actionId
|
|
21122
|
+
* @param {Object} body Input used to request URL upload.
|
|
21123
|
+
* postIntegrationsActionDraftFunctionUpload is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
21124
|
+
*/_createClass(UploadsApi,[{key:"postIntegrationsActionDraftFunctionUpload",value:function postIntegrationsActionDraftFunctionUpload(actionId,body){// verify the required parameter 'actionId' is set
|
|
21125
|
+
if(actionId===undefined||actionId===null){throw'Missing the required parameter "actionId" when calling postIntegrationsActionDraftFunctionUpload';}// verify the required parameter 'body' is set
|
|
21126
|
+
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postIntegrationsActionDraftFunctionUpload';}return this.apiClient.callApi('/api/v2/integrations/actions/{actionId}/draft/function/upload','POST',{'actionId':actionId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
20942
21127
|
* Creates a presigned URL for uploading a knowledge import file with a set of documents
|
|
20943
21128
|
*
|
|
20944
21129
|
* @param {Object} body query
|
|
20945
|
-
*/
|
|
21130
|
+
*/},{key:"postKnowledgeDocumentuploads",value:function postKnowledgeDocumentuploads(body){// verify the required parameter 'body' is set
|
|
20946
21131
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postKnowledgeDocumentuploads';}return this.apiClient.callApi('/api/v2/knowledge/documentuploads','POST',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
20947
21132
|
* Creates a presigned URL for uploading a chat corpus which will be used for mining by intent miner
|
|
20948
21133
|
*
|
|
@@ -20973,7 +21158,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
20973
21158
|
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
21159
|
* Usage service.
|
|
20975
21160
|
* @module purecloud-platform-client-v2/api/UsageApi
|
|
20976
|
-
* @version
|
|
21161
|
+
* @version 187.0.0
|
|
20977
21162
|
*/ /**
|
|
20978
21163
|
* Constructs a new UsageApi.
|
|
20979
21164
|
* @alias module:purecloud-platform-client-v2/api/UsageApi
|
|
@@ -21024,7 +21209,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
21024
21209
|
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
21210
|
* UserRecordings service.
|
|
21026
21211
|
* @module purecloud-platform-client-v2/api/UserRecordingsApi
|
|
21027
|
-
* @version
|
|
21212
|
+
* @version 187.0.0
|
|
21028
21213
|
*/ /**
|
|
21029
21214
|
* Constructs a new UserRecordingsApi.
|
|
21030
21215
|
* @alias module:purecloud-platform-client-v2/api/UserRecordingsApi
|
|
@@ -21073,7 +21258,7 @@ if(recordingId===undefined||recordingId===null){throw'Missing the required param
|
|
|
21073
21258
|
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
21259
|
* Users service.
|
|
21075
21260
|
* @module purecloud-platform-client-v2/api/UsersApi
|
|
21076
|
-
* @version
|
|
21261
|
+
* @version 187.0.0
|
|
21077
21262
|
*/ /**
|
|
21078
21263
|
* Constructs a new UsersApi.
|
|
21079
21264
|
* @alias module:purecloud-platform-client-v2/api/UsersApi
|
|
@@ -21732,7 +21917,7 @@ if(verifierId===undefined||verifierId===null){throw'Missing the required paramet
|
|
|
21732
21917
|
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
21918
|
* Utilities service.
|
|
21734
21919
|
* @module purecloud-platform-client-v2/api/UtilitiesApi
|
|
21735
|
-
* @version
|
|
21920
|
+
* @version 187.0.0
|
|
21736
21921
|
*/ /**
|
|
21737
21922
|
* Constructs a new UtilitiesApi.
|
|
21738
21923
|
* @alias module:purecloud-platform-client-v2/api/UtilitiesApi
|
|
@@ -21759,7 +21944,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
21759
21944
|
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
21945
|
* Voicemail service.
|
|
21761
21946
|
* @module purecloud-platform-client-v2/api/VoicemailApi
|
|
21762
|
-
* @version
|
|
21947
|
+
* @version 187.0.0
|
|
21763
21948
|
*/ /**
|
|
21764
21949
|
* Constructs a new VoicemailApi.
|
|
21765
21950
|
* @alias module:purecloud-platform-client-v2/api/VoicemailApi
|
|
@@ -21908,7 +22093,7 @@ if(userId===undefined||userId===null){throw'Missing the required parameter "user
|
|
|
21908
22093
|
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
22094
|
* WebChat service.
|
|
21910
22095
|
* @module purecloud-platform-client-v2/api/WebChatApi
|
|
21911
|
-
* @version
|
|
22096
|
+
* @version 187.0.0
|
|
21912
22097
|
*/ /**
|
|
21913
22098
|
* Constructs a new WebChatApi.
|
|
21914
22099
|
* @alias module:purecloud-platform-client-v2/api/WebChatApi
|
|
@@ -22041,7 +22226,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
22041
22226
|
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
22227
|
* WebDeployments service.
|
|
22043
22228
|
* @module purecloud-platform-client-v2/api/WebDeploymentsApi
|
|
22044
|
-
* @version
|
|
22229
|
+
* @version 187.0.0
|
|
22045
22230
|
*/ /**
|
|
22046
22231
|
* Constructs a new WebDeploymentsApi.
|
|
22047
22232
|
* @alias module:purecloud-platform-client-v2/api/WebDeploymentsApi
|
|
@@ -22162,7 +22347,7 @@ if(deploymentId===undefined||deploymentId===null){throw'Missing the required par
|
|
|
22162
22347
|
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
22348
|
* WebMessaging service.
|
|
22164
22349
|
* @module purecloud-platform-client-v2/api/WebMessagingApi
|
|
22165
|
-
* @version
|
|
22350
|
+
* @version 187.0.0
|
|
22166
22351
|
*/ /**
|
|
22167
22352
|
* Constructs a new WebMessagingApi.
|
|
22168
22353
|
* @alias module:purecloud-platform-client-v2/api/WebMessagingApi
|
|
@@ -22178,7 +22363,7 @@ if(deployment===undefined||deployment===null){throw'Missing the required paramet
|
|
|
22178
22363
|
*/_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
22364
|
* Widgets service.
|
|
22180
22365
|
* @module purecloud-platform-client-v2/api/WidgetsApi
|
|
22181
|
-
* @version
|
|
22366
|
+
* @version 187.0.0
|
|
22182
22367
|
*/ /**
|
|
22183
22368
|
* Constructs a new WidgetsApi.
|
|
22184
22369
|
* @alias module:purecloud-platform-client-v2/api/WidgetsApi
|
|
@@ -22213,7 +22398,7 @@ if(deploymentId===undefined||deploymentId===null){throw'Missing the required par
|
|
|
22213
22398
|
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
22399
|
* WorkforceManagement service.
|
|
22215
22400
|
* @module purecloud-platform-client-v2/api/WorkforceManagementApi
|
|
22216
|
-
* @version
|
|
22401
|
+
* @version 187.0.0
|
|
22217
22402
|
*/ /**
|
|
22218
22403
|
* Constructs a new WorkforceManagementApi.
|
|
22219
22404
|
* @alias module:purecloud-platform-client-v2/api/WorkforceManagementApi
|
|
@@ -23564,7 +23749,7 @@ if(timeOffLimitId===undefined||timeOffLimitId===null){throw'Missing the required
|
|
|
23564
23749
|
* </pre>
|
|
23565
23750
|
* </p>
|
|
23566
23751
|
* @module purecloud-platform-client-v2/index
|
|
23567
|
-
* @version
|
|
23752
|
+
* @version 187.0.0
|
|
23568
23753
|
*/var platformClient=/*#__PURE__*/_createClass(function platformClient(){_classCallCheck(this,platformClient);/**
|
|
23569
23754
|
* The ApiClient constructor.
|
|
23570
23755
|
* @property {module:purecloud-platform-client-v2/ApiClient}
|
|
@@ -23722,6 +23907,9 @@ if(timeOffLimitId===undefined||timeOffLimitId===null){throw'Missing the required
|
|
|
23722
23907
|
* The SCIMApi service constructor.
|
|
23723
23908
|
* @property {module:purecloud-platform-client-v2/api/SCIMApi}
|
|
23724
23909
|
*/this.SCIMApi=SCIMApi;/**
|
|
23910
|
+
* The ScreenRecordingApi service constructor.
|
|
23911
|
+
* @property {module:purecloud-platform-client-v2/api/ScreenRecordingApi}
|
|
23912
|
+
*/this.ScreenRecordingApi=ScreenRecordingApi;/**
|
|
23725
23913
|
* The ScriptsApi service constructor.
|
|
23726
23914
|
* @property {module:purecloud-platform-client-v2/api/ScriptsApi}
|
|
23727
23915
|
*/this.ScriptsApi=ScriptsApi;/**
|