@bitmovin/api-sdk
Version:
Bitmovin JS/TS API SDK
2 lines • 1.37 MB
JavaScript
/*! For license information please see bitmovin-api-sdk.browser.min.js.LICENSE.txt */
!function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e():"function"==typeof define&&define.amd?define([],e):"object"==typeof exports?exports["bitmovin-api-sdk"]=e():t["bitmovin-api-sdk"]=e()}(self,()=>(()=>{var t={4128(t,e,n){t.exports=function(){"use strict";function t(t){return"function"==typeof t}var e=Array.isArray?Array.isArray:function(t){return"[object Array]"===Object.prototype.toString.call(t)},r=0,o=void 0,i=void 0,u=function(t,e){d[r]=t,d[r+1]=e,2===(r+=2)&&(i?i(_):g())};var a="undefined"!=typeof window?window:void 0,s=a||{},c=s.MutationObserver||s.WebKitMutationObserver,l="undefined"==typeof self&&"undefined"!=typeof process&&"[object process]"==={}.toString.call(process),p="undefined"!=typeof Uint8ClampedArray&&"undefined"!=typeof importScripts&&"undefined"!=typeof MessageChannel;function f(){var t=setTimeout;return function(){return t(_,1)}}var d=new Array(1e3);function _(){for(var t=0;t<r;t+=2)(0,d[t])(d[t+1]),d[t]=void 0,d[t+1]=void 0;r=0}var y,h,m,v,g=void 0;function O(t,e){var n=this,r=new this.constructor(A);void 0===r[b]&&B(r);var o=n._state;if(o){var i=arguments[o-1];u(function(){return R(o,r,i,n._result)})}else x(n,r,t,e);return r}function P(t){if(t&&"object"==typeof t&&t.constructor===this)return t;var e=new this(A);return T(e,t),e}g=l?function(){return process.nextTick(_)}:c?(h=0,m=new c(_),v=document.createTextNode(""),m.observe(v,{characterData:!0}),function(){v.data=h=++h%2}):p?((y=new MessageChannel).port1.onmessage=_,function(){return y.port2.postMessage(0)}):void 0===a?function(){try{var t=Function("return this")().require("vertx");return void 0!==(o=t.runOnLoop||t.runOnContext)?function(){o(_)}:f()}catch(t){return f()}}():f();var b=Math.random().toString(36).substring(2);function A(){}var w=void 0,S=1,C=2;function E(e,n,r){n.constructor===e.constructor&&r===O&&n.constructor.resolve===P?function(t,e){e._state===S?M(t,e._result):e._state===C?I(t,e._result):x(e,void 0,function(e){return T(t,e)},function(e){return I(t,e)})}(e,n):void 0===r?M(e,n):t(r)?function(t,e,n){u(function(t){var r=!1,o=function(t,e,n,r){try{t.call(e,n,r)}catch(t){return t}}(n,e,function(n){r||(r=!0,e!==n?T(t,n):M(t,n))},function(e){r||(r=!0,I(t,e))},t._label);!r&&o&&(r=!0,I(t,o))},t)}(e,n,r):M(e,n)}function T(t,e){if(t===e)I(t,new TypeError("You cannot resolve a promise with itself"));else if(o=typeof(r=e),null===r||"object"!==o&&"function"!==o)M(t,e);else{var n=void 0;try{n=e.then}catch(e){return void I(t,e)}E(t,e,n)}var r,o}function j(t){t._onerror&&t._onerror(t._result),D(t)}function M(t,e){t._state===w&&(t._result=e,t._state=S,0!==t._subscribers.length&&u(D,t))}function I(t,e){t._state===w&&(t._state=C,t._result=e,u(j,t))}function x(t,e,n,r){var o=t._subscribers,i=o.length;t._onerror=null,o[i]=e,o[i+S]=n,o[i+C]=r,0===i&&t._state&&u(D,t)}function D(t){var e=t._subscribers,n=t._state;if(0!==e.length){for(var r=void 0,o=void 0,i=t._result,u=0;u<e.length;u+=3)r=e[u],o=e[u+n],r?R(n,r,o,i):o(i);t._subscribers.length=0}}function R(e,n,r,o){var i=t(r),u=void 0,a=void 0,s=!0;if(i){try{u=r(o)}catch(t){s=!1,a=t}if(n===u)return void I(n,new TypeError("A promises callback cannot return that same promise."))}else u=o;n._state!==w||(i&&s?T(n,u):!1===s?I(n,a):e===S?M(n,u):e===C&&I(n,u))}var L=0;function B(t){t[b]=L++,t._state=void 0,t._result=void 0,t._subscribers=[]}var N=function(){function t(t,n){this._instanceConstructor=t,this.promise=new t(A),this.promise[b]||B(this.promise),e(n)?(this.length=n.length,this._remaining=n.length,this._result=new Array(this.length),0===this.length?M(this.promise,this._result):(this.length=this.length||0,this._enumerate(n),0===this._remaining&&M(this.promise,this._result))):I(this.promise,new Error("Array Methods must be provided an Array"))}return t.prototype._enumerate=function(t){for(var e=0;this._state===w&&e<t.length;e++)this._eachEntry(t[e],e)},t.prototype._eachEntry=function(t,e){var n=this._instanceConstructor,r=n.resolve;if(r===P){var o=void 0,i=void 0,u=!1;try{o=t.then}catch(t){u=!0,i=t}if(o===O&&t._state!==w)this._settledAt(t._state,e,t._result);else if("function"!=typeof o)this._remaining--,this._result[e]=t;else if(n===U){var a=new n(A);u?I(a,i):E(a,t,o),this._willSettleAt(a,e)}else this._willSettleAt(new n(function(e){return e(t)}),e)}else this._willSettleAt(r(t),e)},t.prototype._settledAt=function(t,e,n){var r=this.promise;r._state===w&&(this._remaining--,t===C?I(r,n):this._result[e]=n),0===this._remaining&&M(r,this._result)},t.prototype._willSettleAt=function(t,e){var n=this;x(t,void 0,function(t){return n._settledAt(S,e,t)},function(t){return n._settledAt(C,e,t)})},t}();var U=function(){function e(t){this[b]=L++,this._result=this._state=void 0,this._subscribers=[],A!==t&&("function"!=typeof t&&function(){throw new TypeError("You must pass a resolver function as the first argument to the promise constructor")}(),this instanceof e?function(t,e){try{e(function(e){T(t,e)},function(e){I(t,e)})}catch(e){I(t,e)}}(this,t):function(){throw new TypeError("Failed to construct 'Promise': Please use the 'new' operator, this object constructor cannot be called as a function.")}())}return e.prototype.catch=function(t){return this.then(null,t)},e.prototype.finally=function(e){var n=this,r=n.constructor;return t(e)?n.then(function(t){return r.resolve(e()).then(function(){return t})},function(t){return r.resolve(e()).then(function(){throw t})}):n.then(e,e)},e}();return U.prototype.then=O,U.all=function(t){return new N(this,t).promise},U.race=function(t){var n=this;return e(t)?new n(function(e,r){for(var o=t.length,i=0;i<o;i++)n.resolve(t[i]).then(e,r)}):new n(function(t,e){return e(new TypeError("You must pass an array to race."))})},U.resolve=P,U.reject=function(t){var e=new this(A);return I(e,t),e},U._setScheduler=function(t){i=t},U._setAsap=function(t){u=t},U._asap=u,U.polyfill=function(){var t=void 0;if(void 0!==n.g)t=n.g;else if("undefined"!=typeof self)t=self;else try{t=Function("return this")()}catch(t){throw new Error("polyfill failed because global object is unavailable in this environment")}var e=t.Promise;if(e){var r=null;try{r=Object.prototype.toString.call(e.resolve())}catch(t){}if("[object Promise]"===r&&!e.cast)return}t.Promise=U},U.Promise=U,U}()},15860(t,e,n){n(36956),t.exports=self.fetch.bind(self)},19233(t,e,n){"use strict";var r,o=this&&this.__extends||(r=function(t,e){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])},r(t,e)},function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");function n(){this.constructor=t}r(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)});Object.defineProperty(e,"__esModule",{value:!0});var i=n(63724),u=n(76604),a=n(52402),s=n(1068),c=n(70688),l=n(98788),p=n(76656),f=n(41744),d=n(84020),_=n(58688),y=function(t){function e(e){var n=t.call(this,e)||this;return n.account=new u.default(e),n.agents=new a.default(e),n.aiSceneAnalysis=new s.default(e),n.analytics=new c.default(e),n.encoding=new l.default(e),n.general=new p.default(e),n.notifications=new f.default(e),n.player=new d.default(e),n.streams=new _.default(e),n}return o(e,t),e}(i.BaseAPI);e.default=y},76604(t,e,n){"use strict";var r,o=this&&this.__extends||(r=function(t,e){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])},r(t,e)},function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");function n(){this.constructor=t}r(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)});Object.defineProperty(e,"__esModule",{value:!0});var i=n(63724),u=n(60868),a=n(49128),s=n(73708),c=function(t){function e(e){var n=t.call(this,e)||this;return n.information=new u.default(e),n.apiKeys=new a.default(e),n.organizations=new s.default(e),n}return o(e,t),e}(i.BaseAPI);e.default=c},49128(t,e,n){"use strict";var r,o=this&&this.__extends||(r=function(t,e){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])},r(t,e)},function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");function n(){this.constructor=t}r(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)});Object.defineProperty(e,"__esModule",{value:!0});var i=n(63724),u=n(46058),a=n(21020),s=n(92805),c=n(95497),l=function(t){function e(e){return t.call(this,e)||this}return o(e,t),e.prototype.create=function(){return this.restClient.post("/account/api-keys",{}).then(function(t){return(0,u.map)(t,a.default)})},e.prototype.delete=function(t){var e={api_key_id:t};return this.restClient.delete("/account/api-keys/{api_key_id}",e).then(function(t){return(0,u.map)(t,s.default)})},e.prototype.get=function(t){var e={api_key_id:t};return this.restClient.get("/account/api-keys/{api_key_id}",e).then(function(t){return(0,u.map)(t,a.default)})},e.prototype.list=function(){return this.restClient.get("/account/api-keys",{}).then(function(t){return new c.default(t,a.default)})},e}(i.BaseAPI);e.default=l},60868(t,e,n){"use strict";var r,o=this&&this.__extends||(r=function(t,e){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])},r(t,e)},function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");function n(){this.constructor=t}r(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)});Object.defineProperty(e,"__esModule",{value:!0});var i=n(63724),u=n(46058),a=n(64189),s=function(t){function e(e){return t.call(this,e)||this}return o(e,t),e.prototype.get=function(){return this.restClient.get("/account/information",{}).then(function(t){return(0,u.map)(t,a.default)})},e}(i.BaseAPI);e.default=s},73708(t,e,n){"use strict";var r,o=this&&this.__extends||(r=function(t,e){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])},r(t,e)},function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");function n(){this.constructor=t}r(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)});Object.defineProperty(e,"__esModule",{value:!0});var i=n(63724),u=n(46058),a=n(37535),s=n(73033),c=n(11454),l=n(7015),p=n(6097),f=n(95497),d=function(t){function e(e){var n=t.call(this,e)||this;return n.subOrganizations=new a.default(e),n.tenants=new s.default(e),n.invitations=new c.default(e),n.groups=new l.default(e),n}return o(e,t),e.prototype.create=function(t){return this.restClient.post("/account/organizations",{},t).then(function(t){return(0,u.map)(t,p.default)})},e.prototype.get=function(t){var e={organization_id:t};return this.restClient.get("/account/organizations/{organization_id}",e).then(function(t){return(0,u.map)(t,p.default)})},e.prototype.list=function(){return this.restClient.get("/account/organizations",{}).then(function(t){return new f.default(t,p.default)})},e.prototype.update=function(t,e){var n={organization_id:t};return this.restClient.put("/account/organizations/{organization_id}",n,e).then(function(t){return(0,u.map)(t,p.default)})},e}(i.BaseAPI);e.default=d},73908(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.GroupListQueryParamsBuilder=void 0;var n=function(){function t(){this.internalParams={}}return t.prototype.offset=function(t){return this.internalParams.offset=t,this},t.prototype.limit=function(t){return this.internalParams.limit=t,this},t.prototype.buildQueryParams=function(){return this.internalParams},t}();e.GroupListQueryParamsBuilder=n},7015(t,e,n){"use strict";var r,o=this&&this.__extends||(r=function(t,e){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])},r(t,e)},function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");function n(){this.constructor=t}r(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)});Object.defineProperty(e,"__esModule",{value:!0});var i=n(63724),u=n(46058),a=n(82366),s=n(69294),c=n(95690),l=n(92805),p=n(77391),f=n(95497),d=n(73908),_=function(t){function e(e){var n=t.call(this,e)||this;return n.tenants=new a.default(e),n.invitations=new s.default(e),n.permissions=new c.default(e),n}return o(e,t),e.prototype.create=function(t,e){var n={organization_id:t};return this.restClient.post("/account/organizations/{organization_id}/groups",n,e).then(function(t){return(0,u.map)(t,p.default)})},e.prototype.delete=function(t,e){var n={organization_id:t,group_id:e};return this.restClient.delete("/account/organizations/{organization_id}/groups/{group_id}",n).then(function(t){return(0,u.map)(t,l.default)})},e.prototype.get=function(t,e){var n={organization_id:t,group_id:e};return this.restClient.get("/account/organizations/{organization_id}/groups/{group_id}",n).then(function(t){return(0,u.map)(t,p.default)})},e.prototype.list=function(t,e){var n={organization_id:t},r={};return"function"==typeof e?r=e(new d.GroupListQueryParamsBuilder).buildQueryParams():e&&(r=e),this.restClient.get("/account/organizations/{organization_id}/groups",n,r).then(function(t){return new f.default(t,p.default)})},e}(i.BaseAPI);e.default=_},7943(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.InvitationListQueryParamsBuilder=void 0;var n=function(){function t(){this.internalParams={}}return t.prototype.offset=function(t){return this.internalParams.offset=t,this},t.prototype.limit=function(t){return this.internalParams.limit=t,this},t.prototype.buildQueryParams=function(){return this.internalParams},t}();e.InvitationListQueryParamsBuilder=n},69294(t,e,n){"use strict";var r,o=this&&this.__extends||(r=function(t,e){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])},r(t,e)},function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");function n(){this.constructor=t}r(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)});Object.defineProperty(e,"__esModule",{value:!0});var i=n(63724),u=n(46058),a=n(92805),s=n(14369),c=n(95497),l=n(7943),p=function(t){function e(e){return t.call(this,e)||this}return o(e,t),e.prototype.create=function(t,e,n){var r={organization_id:t,group_id:e};return this.restClient.post("/account/organizations/{organization_id}/groups/{group_id}/invitations",r,n).then(function(t){return(0,u.map)(t,s.default)})},e.prototype.delete=function(t,e,n){var r={organization_id:t,group_id:e,invitation_id:n};return this.restClient.delete("/account/organizations/{organization_id}/groups/{group_id}/invitations/{invitation_id}",r).then(function(t){return(0,u.map)(t,a.default)})},e.prototype.get=function(t,e,n){var r={organization_id:t,group_id:e,invitation_id:n};return this.restClient.get("/account/organizations/{organization_id}/groups/{group_id}/invitations/{invitation_id}",r).then(function(t){return(0,u.map)(t,s.default)})},e.prototype.list=function(t,e,n){var r={organization_id:t,group_id:e},o={};return"function"==typeof n?o=n(new l.InvitationListQueryParamsBuilder).buildQueryParams():n&&(o=n),this.restClient.get("/account/organizations/{organization_id}/groups/{group_id}/invitations",r,o).then(function(t){return new c.default(t,s.default)})},e}(i.BaseAPI);e.default=p},95690(t,e,n){"use strict";var r,o=this&&this.__extends||(r=function(t,e){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])},r(t,e)},function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");function n(){this.constructor=t}r(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)});Object.defineProperty(e,"__esModule",{value:!0});var i=n(63724),u=n(46058),a=n(33052),s=n(92805),c=n(95497),l=function(t){function e(e){return t.call(this,e)||this}return o(e,t),e.prototype.create=function(t,e,n){var r={organization_id:t,group_id:e};return this.restClient.post("/account/organizations/{organization_id}/groups/{group_id}/permissions",r,n).then(function(t){return(0,u.map)(t,a.default)})},e.prototype.delete=function(t,e,n){var r={organization_id:t,group_id:e,permission_id:n};return this.restClient.delete("/account/organizations/{organization_id}/groups/{group_id}/permissions/{permission_id}",r).then(function(t){return(0,u.map)(t,s.default)})},e.prototype.list=function(t,e){var n={organization_id:t,group_id:e};return this.restClient.get("/account/organizations/{organization_id}/groups/{group_id}/permissions",n).then(function(t){return new c.default(t,a.default)})},e}(i.BaseAPI);e.default=l},88247(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.TenantListQueryParamsBuilder=void 0;var n=function(){function t(){this.internalParams={}}return t.prototype.offset=function(t){return this.internalParams.offset=t,this},t.prototype.limit=function(t){return this.internalParams.limit=t,this},t.prototype.buildQueryParams=function(){return this.internalParams},t}();e.TenantListQueryParamsBuilder=n},82366(t,e,n){"use strict";var r,o=this&&this.__extends||(r=function(t,e){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])},r(t,e)},function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");function n(){this.constructor=t}r(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)});Object.defineProperty(e,"__esModule",{value:!0});var i=n(63724),u=n(46058),a=n(92805),s=n(27398),c=n(95497),l=n(88247),p=function(t){function e(e){return t.call(this,e)||this}return o(e,t),e.prototype.create=function(t,e,n){var r={organization_id:t,group_id:e};return this.restClient.post("/account/organizations/{organization_id}/groups/{group_id}/tenants",r,n).then(function(t){return(0,u.map)(t,s.default)})},e.prototype.delete=function(t,e,n){var r={organization_id:t,group_id:e,tenant_id:n};return this.restClient.delete("/account/organizations/{organization_id}/groups/{group_id}/tenants/{tenant_id}",r).then(function(t){return(0,u.map)(t,a.default)})},e.prototype.get=function(t,e,n){var r={organization_id:t,group_id:e,tenant_id:n};return this.restClient.get("/account/organizations/{organization_id}/groups/{group_id}/tenants/{tenant_id}",r).then(function(t){return(0,u.map)(t,s.default)})},e.prototype.list=function(t,e,n){var r={organization_id:t,group_id:e},o={};return"function"==typeof n?o=n(new l.TenantListQueryParamsBuilder).buildQueryParams():n&&(o=n),this.restClient.get("/account/organizations/{organization_id}/groups/{group_id}/tenants",r,o).then(function(t){return new c.default(t,s.default)})},e}(i.BaseAPI);e.default=p},11454(t,e,n){"use strict";var r,o=this&&this.__extends||(r=function(t,e){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])},r(t,e)},function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");function n(){this.constructor=t}r(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)});Object.defineProperty(e,"__esModule",{value:!0});var i=n(63724),u=n(10493),a=n(95497),s=function(t){function e(e){return t.call(this,e)||this}return o(e,t),e.prototype.list=function(t){var e={organization_id:t};return this.restClient.get("/account/organizations/{organization_id}/invitations",e).then(function(t){return new a.default(t,u.default)})},e}(i.BaseAPI);e.default=s},33202(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.OrganizationListQueryParamsBuilder=void 0;var n=function(){function t(){this.internalParams={}}return t.prototype.offset=function(t){return this.internalParams.offset=t,this},t.prototype.limit=function(t){return this.internalParams.limit=t,this},t.prototype.buildQueryParams=function(){return this.internalParams},t}();e.OrganizationListQueryParamsBuilder=n},37535(t,e,n){"use strict";var r,o=this&&this.__extends||(r=function(t,e){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])},r(t,e)},function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");function n(){this.constructor=t}r(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)});Object.defineProperty(e,"__esModule",{value:!0});var i=n(63724),u=n(6097),a=n(95497),s=n(33202),c=function(t){function e(e){return t.call(this,e)||this}return o(e,t),e.prototype.list=function(t,e){var n={organization_id:t},r={};return"function"==typeof e?r=e(new s.OrganizationListQueryParamsBuilder).buildQueryParams():e&&(r=e),this.restClient.get("/account/organizations/{organization_id}/sub-organizations",n,r).then(function(t){return new a.default(t,u.default)})},e}(i.BaseAPI);e.default=c},73033(t,e,n){"use strict";var r,o=this&&this.__extends||(r=function(t,e){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])},r(t,e)},function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");function n(){this.constructor=t}r(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)});Object.defineProperty(e,"__esModule",{value:!0});var i=n(63724),u=n(41406),a=n(95497),s=function(t){function e(e){return t.call(this,e)||this}return o(e,t),e.prototype.list=function(t){var e={organization_id:t};return this.restClient.get("/account/organizations/{organization_id}/tenants",e).then(function(t){return new a.default(t,u.default)})},e}(i.BaseAPI);e.default=s},52402(t,e,n){"use strict";var r,o=this&&this.__extends||(r=function(t,e){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])},r(t,e)},function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");function n(){this.constructor=t}r(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)});Object.defineProperty(e,"__esModule",{value:!0});var i=n(63724),u=n(90281),a=function(t){function e(e){var n=t.call(this,e)||this;return n.aisa=new u.default(e),n}return o(e,t),e}(i.BaseAPI);e.default=a},90281(t,e,n){"use strict";var r,o=this&&this.__extends||(r=function(t,e){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])},r(t,e)},function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");function n(){this.constructor=t}r(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)});Object.defineProperty(e,"__esModule",{value:!0});var i=n(63724),u=n(81206),a=function(t){function e(e){var n=t.call(this,e)||this;return n.sessions=new u.default(e),n}return o(e,t),e}(i.BaseAPI);e.default=a},81206(t,e,n){"use strict";var r,o=this&&this.__extends||(r=function(t,e){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])},r(t,e)},function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");function n(){this.constructor=t}r(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)});Object.defineProperty(e,"__esModule",{value:!0});var i=n(63724),u=n(46058),a=n(44766),s=n(25518),c=n(76118),l=function(t){function e(e){return t.call(this,e)||this}return o(e,t),e.prototype.create=function(){return this.restClient.post("/agents/aisa/sessions",{}).then(function(t){return(0,u.map)(t,c.default)})},e.prototype.delete=function(t){var e={session_id:t};return this.restClient.delete("/agents/aisa/sessions/{session_id}",e).then(function(t){return(0,u.map)(t,c.default)})},e.prototype.get=function(t){var e={session_id:t};return this.restClient.get("/agents/aisa/sessions/{session_id}",e).then(function(t){return(0,u.map)(t,a.default)})},e.prototype.list=function(){return this.restClient.get("/agents/aisa/sessions",{}).then(function(t){return(0,u.map)(t,s.default)})},e}(i.BaseAPI);e.default=l},1068(t,e,n){"use strict";var r,o=this&&this.__extends||(r=function(t,e){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])},r(t,e)},function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");function n(){this.constructor=t}r(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)});Object.defineProperty(e,"__esModule",{value:!0});var i=n(63724),u=n(79583),a=function(t){function e(e){var n=t.call(this,e)||this;return n.analyses=new u.default(e),n}return o(e,t),e}(i.BaseAPI);e.default=a},79583(t,e,n){"use strict";var r,o=this&&this.__extends||(r=function(t,e){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])},r(t,e)},function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");function n(){this.constructor=t}r(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)});Object.defineProperty(e,"__esModule",{value:!0});var i=n(63724),u=n(4380),a=function(t){function e(e){var n=t.call(this,e)||this;return n.byEncodingId=new u.default(e),n}return o(e,t),e}(i.BaseAPI);e.default=a},4380(t,e,n){"use strict";var r,o=this&&this.__extends||(r=function(t,e){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])},r(t,e)},function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");function n(){this.constructor=t}r(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)});Object.defineProperty(e,"__esModule",{value:!0});var i=n(63724),u=n(92270),a=n(98898),s=n(11874),c=function(t){function e(e){var n=t.call(this,e)||this;return n.details=new u.default(e),n.languages=new a.default(e),n.adPlacements=new s.default(e),n}return o(e,t),e}(i.BaseAPI);e.default=c},11874(t,e,n){"use strict";var r,o=this&&this.__extends||(r=function(t,e){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])},r(t,e)},function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");function n(){this.constructor=t}r(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)});Object.defineProperty(e,"__esModule",{value:!0});var i=n(63724),u=n(46058),a=n(30898),s=function(t){function e(e){return t.call(this,e)||this}return o(e,t),e.prototype.get=function(t){var e={encoding_id:t};return this.restClient.get("/ai-scene-analysis/analyses/by-encoding-id/{encoding_id}/ad-placements",e).then(function(t){return(0,u.map)(t,a.default)})},e}(i.BaseAPI);e.default=s},92270(t,e,n){"use strict";var r,o=this&&this.__extends||(r=function(t,e){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])},r(t,e)},function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");function n(){this.constructor=t}r(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)});Object.defineProperty(e,"__esModule",{value:!0});var i=n(63724),u=n(46058),a=n(93611),s=n(64009),c=function(t){function e(e){var n=t.call(this,e)||this;return n.language=new a.default(e),n}return o(e,t),e.prototype.get=function(t){var e={encoding_id:t};return this.restClient.get("/ai-scene-analysis/analyses/by-encoding-id/{encoding_id}/details",e).then(function(t){return(0,u.map)(t,s.default)})},e}(i.BaseAPI);e.default=c},93611(t,e,n){"use strict";var r,o=this&&this.__extends||(r=function(t,e){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])},r(t,e)},function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");function n(){this.constructor=t}r(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)});Object.defineProperty(e,"__esModule",{value:!0});var i=n(63724),u=n(46058),a=n(64009),s=function(t){function e(e){return t.call(this,e)||this}return o(e,t),e.prototype.get=function(t,e){var n={encoding_id:t,language_code:e};return this.restClient.get("/ai-scene-analysis/analyses/by-encoding-id/{encoding_id}/details/language/{language_code}",n).then(function(t){return(0,u.map)(t,a.default)})},e}(i.BaseAPI);e.default=s},98898(t,e,n){"use strict";var r,o=this&&this.__extends||(r=function(t,e){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])},r(t,e)},function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");function n(){this.constructor=t}r(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)});Object.defineProperty(e,"__esModule",{value:!0});var i=n(63724),u=n(46058),a=n(71428),s=function(t){function e(e){return t.call(this,e)||this}return o(e,t),e.prototype.get=function(t){var e={encoding_id:t};return this.restClient.get("/ai-scene-analysis/analyses/by-encoding-id/{encoding_id}/languages",e).then(function(t){return(0,u.map)(t,a.default)})},e}(i.BaseAPI);e.default=s},70688(t,e,n){"use strict";var r,o=this&&this.__extends||(r=function(t,e){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])},r(t,e)},function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");function n(){this.constructor=t}r(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)});Object.defineProperty(e,"__esModule",{value:!0});var i=n(63724),u=n(25),a=n(85489),s=n(50393),c=n(58725),l=n(48349),p=n(48557),f=n(68731),d=n(12009),_=n(12901),y=function(t){function e(e){var n=t.call(this,e)||this;return n.exports=new u.default(e),n.impressions=new a.default(e),n.insights=new s.default(e),n.metrics=new c.default(e),n.ads=new l.default(e),n.queries=new p.default(e),n.licenses=new f.default(e),n.virtualLicenses=new d.default(e),n.outputs=new _.default(e),n}return o(e,t),e}(i.BaseAPI);e.default=y},48349(t,e,n){"use strict";var r,o=this&&this.__extends||(r=function(t,e){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])},r(t,e)},function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");function n(){this.constructor=t}r(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)});Object.defineProperty(e,"__esModule",{value:!0});var i=n(63724),u=n(6217),a=function(t){function e(e){var n=t.call(this,e)||this;return n.queries=new u.default(e),n}return o(e,t),e}(i.BaseAPI);e.default=a},6217(t,e,n){"use strict";var r,o=this&&this.__extends||(r=function(t,e){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])},r(t,e)},function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");function n(){this.constructor=t}r(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)});Object.defineProperty(e,"__esModule",{value:!0});var i=n(63724),u=n(7795),a=n(26643),s=n(53119),c=n(64263),l=n(74263),p=n(88545),f=n(40699),d=n(40967),_=n(80437),y=function(t){function e(e){var n=t.call(this,e)||this;return n.count=new u.default(e),n.sum=new a.default(e),n.avg=new s.default(e),n.min=new c.default(e),n.max=new l.default(e),n.stddev=new p.default(e),n.percentile=new f.default(e),n.variance=new d.default(e),n.median=new _.default(e),n}return o(e,t),e}(i.BaseAPI);e.default=y},53119(t,e,n){"use strict";var r,o=this&&this.__extends||(r=function(t,e){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])},r(t,e)},function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");function n(){this.constructor=t}r(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)});Object.defineProperty(e,"__esModule",{value:!0});var i=n(63724),u=n(46058),a=n(51295),s=function(t){function e(e){return t.call(this,e)||this}return o(e,t),e.prototype.create=function(t){return this.restClient.post("/analytics/ads/queries/avg",{},t).then(function(t){return(0,u.map)(t,a.default)})},e}(i.BaseAPI);e.default=s},7795(t,e,n){"use strict";var r,o=this&&this.__extends||(r=function(t,e){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])},r(t,e)},function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");function n(){this.constructor=t}r(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)});Object.defineProperty(e,"__esModule",{value:!0});var i=n(63724),u=n(46058),a=n(51295),s=function(t){function e(e){return t.call(this,e)||this}return o(e,t),e.prototype.create=function(t){return this.restClient.post("/analytics/ads/queries/count",{},t).then(function(t){return(0,u.map)(t,a.default)})},e}(i.BaseAPI);e.default=s},74263(t,e,n){"use strict";var r,o=this&&this.__extends||(r=function(t,e){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])},r(t,e)},function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");function n(){this.constructor=t}r(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)});Object.defineProperty(e,"__esModule",{value:!0});var i=n(63724),u=n(46058),a=n(51295),s=function(t){function e(e){return t.call(this,e)||this}return o(e,t),e.prototype.create=function(t){return this.restClient.post("/analytics/ads/queries/max",{},t).then(function(t){return(0,u.map)(t,a.default)})},e}(i.BaseAPI);e.default=s},80437(t,e,n){"use strict";var r,o=this&&this.__extends||(r=function(t,e){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])},r(t,e)},function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");function n(){this.constructor=t}r(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)});Object.defineProperty(e,"__esModule",{value:!0});var i=n(63724),u=n(46058),a=n(51295),s=function(t){function e(e){return t.call(this,e)||this}return o(e,t),e.prototype.create=function(t){return this.restClient.post("/analytics/ads/queries/median",{},t).then(function(t){return(0,u.map)(t,a.default)})},e}(i.BaseAPI);e.default=s},64263(t,e,n){"use strict";var r,o=this&&this.__extends||(r=function(t,e){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])},r(t,e)},function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");function n(){this.constructor=t}r(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)});Object.defineProperty(e,"__esModule",{value:!0});var i=n(63724),u=n(46058),a=n(51295),s=function(t){function e(e){return t.call(this,e)||this}return o(e,t),e.prototype.create=function(t){return this.restClient.post("/analytics/ads/queries/min",{},t).then(function(t){return(0,u.map)(t,a.default)})},e}(i.BaseAPI);e.default=s},40699(t,e,n){"use strict";var r,o=this&&this.__extends||(r=function(t,e){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])},r(t,e)},function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");function n(){this.constructor=t}r(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)});Object.defineProperty(e,"__esModule",{value:!0});var i=n(63724),u=n(46058),a=n(51295),s=function(t){function e(e){return t.call(this,e)||this}return o(e,t),e.prototype.create=function(t){return this.restClient.post("/analytics/ads/queries/percentile",{},t).then(function(t){return(0,u.map)(t,a.default)})},e}(i.BaseAPI);e.default=s},88545(t,e,n){"use strict";var r,o=this&&this.__extends||(r=function(t,e){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])},r(t,e)},function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");function n(){this.constructor=t}r(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)});Object.defineProperty(e,"__esModule",{value:!0});var i=n(63724),u=n(46058),a=n(51295),s=function(t){function e(e){return t.call(this,e)||this}return o(e,t),e.prototype.create=function(t){return this.restClient.post("/analytics/ads/queries/stddev",{},t).then(function(t){return(0,u.map)(t,a.default)})},e}(i.BaseAPI);e.default=s},26643(t,e,n){"use strict";var r,o=this&&this.__extends||(r=function(t,e){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])},r(t,e)},function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");function n(){this.constructor=t}r(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)});Object.defineProperty(e,"__esModule",{value:!0});var i=n(63724),u=n(46058),a=n(51295),s=function(t){function e(e){return t.call(this,e)||this}return o(e,t),e.prototype.create=function(t){return this.restClient.post("/analytics/ads/queries/sum",{},t).then(function(t){return(0,u.map)(t,a.default)})},e}(i.BaseAPI);e.default=s},40967(t,e,n){"use strict";var r,o=this&&this.__extends||(r=function(t,e){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])},r(t,e)},function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");function n(){this.constructor=t}r(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)});Object.defineProperty(e,"__esModule",{value:!0});var i=n(63724),u=n(46058),a=n(51295),s=function(t){function e(e){return t.call(this,e)||this}return o(e,t),e.prototype.create=function(t){return this.restClient.post("/analytics/ads/queries/variance",{},t).then(function(t){return(0,u.map)(t,a.default)})},e}(i.BaseAPI);e.default=s},96619(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.AnalyticsExportTaskListQueryParamsBuilder=void 0;var n=function(){function t(){this.internalParams={}}return t.prototype.offset=function(t){return this.internalParams.offset=t,this},t.prototype.limit=function(t){return this.internalParams.limit=t,this},t.prototype.buildQueryParams=function(){return this.internalParams},t}();e.AnalyticsExportTaskListQueryParamsBuilder=n},25(t,e,n){"use strict";var r,o=this&&this.__extends||(r=function(t,e){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])},r(t,e)},function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");function n(){this.constructor=t}r(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)});Object.defineProperty(e,"__esModule",{value:!0});var i=n(63724),u=n(46058),a=n(45507),s=n(95497),c=n(96619),l=function(t){function e(e){return t.call(this,e)||this}return o(e,t),e.prototype.create=function(t){return this.restClient.post("/analytics/exports",{},t).then(function(t){return(0,u.map)(t,a.default)})},e.prototype.get=function(t){var e={export_task_id:t};return this.restClient.get("/analytics/exports/{export_task_id}",e).then(function(t){return(0,u.map)(t,a.default)})},e.prototype.list=function(t){var e={};return"function"==typeof t?e=t(new c.AnalyticsExportTaskListQueryParamsBuilder).buildQueryParams():t&&(e=t),this.restClient.get("/analytics/exports",{},e).then(function(t){return new s.default(t,a.default)})},e}(i.BaseAPI);e.default=l},85489(t,e,n){"use strict";var r,o=this&&this.__extends||(r=function(t,e){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])},r(t,e)},function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");function n(){this.constructor=t}r(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)});Object.defineProperty(e,"__esModule",{value:!0});var i=n(63724),u=n(46058),a=n(96286),s=n(82839),c=function(t){function e(e){var n=t.call(this,e)||this;return n.errors=new a.default(e),n}return o(e,t),e.prototype.getImpressions=function(t){return this.restClient.post("/analytics/impressions",{},t).then(function(t){return(0,u.map)(t,s.default)})},e}(i.BaseAPI);e.default=c},96286(t,e,n){"use strict";var r,o=this&&this.__extends||(r=function(t,e){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])},r(t,e)},function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");function n(){this.constructor=t}r(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)});Object.defineProperty(e,"__esModule",{value:!0});var i=n(63724),u=n(46058),a=n(21827),s=function(t){function e(e){return t.call(this,e)||this}return o(e,t),e.prototype.create=function(t,e){var n={impression_id:t};return this.restClient.post("/analytics/impressions/{impression_id}/errors",n,e).then(function(t){return(0,u.map)(t,a.default)})},e}(i.BaseAPI);e.default=s},50393(t,e,n){"use strict";var r,o=this&&this.__extends||(r=function(t,e){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])},r(t,e)},function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");function n(){this.constructor=t}r(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)});Object.defineProperty(e,"__esModule",{value:!0});var i=n(63724),u=n(37593),a=function(t){function e(e){var n=t.call(this,e)||this;return n.organizations=new u.default(e),n}return o(e,t),e}(i.BaseAPI);e.default=a},37593(t,e,n){"use strict";var r,o=this&&this.__extends||(r=function(t,e){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])},r(t,e)},function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");function n(){this.constructor=t}r(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)});Object.defineProperty(e,"__esModule",{value:!0});var i=n(63724),u=n(7148),a=function(t){function e(e){var n=t.call(this,e)||this;return n.settings=new u.default(e),n}return o(e,t),e}(i.BaseAPI);e.default=a},7148(t,e,n){"use strict";var r,o=this&&this.__extends||(r=function(t,e){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])},r(t,e)},function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");function n(){this.constructor=t}r(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)});Object.defineProperty(e,"__esModule",{value:!0});var i=n(63724),u=n(46058),a=n(5131),s=function(t){function e(e){return t.call(this,e)||this}return o(e,t),e.prototype.get=function(t){var e={organization_id:t};return this.restClient.get("/analytics/insights/organizations/{organization_id}/settings",e).then(function(t){return(0,u.map)(t,a.default)})},e.prototype.update=function(t,e){var n={organization_id:t};return this.restClient.put("/analytics/insights/organizations/{organization_id}/settings",n,e).then(function(t){return(0,u.map)(t,a.default)})},e}(i.BaseAPI);e.default=s},57904(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.AnalyticsLicenseListQueryParamsBuilder=void 0;var n=function(){function t(){this.internalParams={}}return t.prototype.offset=function(t){return this.internalParams.offset=t,this},t.prototype.limit=function(t){return this.internalParams.limit=t,this},t.prototype.buildQueryParams=function(){return this.internalParams},t}();e.AnalyticsLicenseListQueryParamsBuilder=n},68731(t,e,n){"use strict";var r,o=this&&this.__extends||(r=function(t,e){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])},r(t,e)},function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");function n(){this.constructor=t}r(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)});Object.defineProperty(e,"__esModule",{value:!0});var i=n(63724),u=n(46058),a=n(38010),s=n(77597),c=n(95497),l=n(57904),p=function(t){function e(e){var n=t.call(this,e)||this;return n.domains=new a.default(e),n}return o(e,t),e.prototype.create=function(t){return this.restClient.post("/analytics/licenses",{},t).then(function(t){return(0,u.map)(t,s.default)})},e.prototype.get=function(t){var e={license_id:t};return this.restClient.get("/analytics/licenses/{license_id}",e).then(function(t){return(0,u.map)(t,s.default)})},e.prototype.list=function(t){var e={};return"function"==typeof t?e=t(new l.AnalyticsLicenseListQueryParamsBuilder).buildQueryParams():t&&(e=t),this.restClient.get("/analytics/licenses",{},e).then(function(t){return new c.default(t,s.default)})},e.prototype.update=function(t,e){var n={license_id:t};return this.restClient.put("/analytics/licenses/{license_id}",n,e).then(function(t){return(0,u.map)(t,s.default)})},e}(i.BaseAPI);e.default=p},38010(t,e,n){"use strict";var r,o=this&&this.__extends||(r=function(t,e){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])},r(t,e)},function(t,e){if("function"!=typeof e&&n