btrz-api-client 9.3.0 → 9.5.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.
@@ -7,7 +7,7 @@ var BtrzApiClient=(()=>{var m=(e,t)=>()=>{try{return t||e((t={exports:{}}).expor
7
7
  `);return r===-1?"":a.stack.slice(r+1)})();try{if(!u.stack)u.stack=c;else if(c){let r=c.indexOf(`
8
8
  `),s=r===-1?-1:c.indexOf(`
9
9
  `,r+1),o=s===-1?"":c.slice(s+1);String(u.stack).endsWith(o)||(u.stack+=`
10
- `+c)}}catch{}}throw u}}_request(t,n){typeof t=="string"?(n=n||{},n.url=t):n=t||{},n=we(this.defaults,n);let{transitional:u,paramsSerializer:a,headers:c}=n;u!==void 0&&Gt.assertOptions(u,{silentJSONParsing:X.transitional(X.boolean),forcedJSONParsing:X.transitional(X.boolean),clarifyTimeoutError:X.transitional(X.boolean),legacyInterceptorReqResOrdering:X.transitional(X.boolean),advertiseZstdAcceptEncoding:X.transitional(X.boolean),validateStatusUndefinedResolves:X.transitional(X.boolean)},!1),a!=null&&($.isFunction(a)?n.paramsSerializer={serialize:a}:Gt.assertOptions(a,{encode:X.function,serialize:X.function},!0)),n.allowAbsoluteUrls!==void 0||(this.defaults.allowAbsoluteUrls!==void 0?n.allowAbsoluteUrls=this.defaults.allowAbsoluteUrls:n.allowAbsoluteUrls=!0),Gt.assertOptions(n,{baseUrl:X.spelling("baseURL"),withXsrfToken:X.spelling("withXSRFToken")},!0),n.method=(n.method||this.defaults.method||"get").toLowerCase();let r=c&&$.merge(c.common,c[n.method]);c&&$.forEach(["delete","get","head","post","put","patch","query","common"],q=>{delete c[q]}),n.headers=K.concat(r,c);let s=[],o=!0;this.interceptors.request.forEach(function(g){if(typeof g.runWhen=="function"&&g.runWhen(n)===!1)return;o=o&&g.synchronous;let b=n.transitional||Ir;b&&b.legacyInterceptorReqResOrdering?s.unshift(g.fulfilled,g.rejected):s.push(g.fulfilled,g.rejected)});let i=[];this.interceptors.response.forEach(function(g){i.push(g.fulfilled,g.rejected)});let d,p=0,f;if(!o){let q=[zs.bind(this),void 0];for(q.unshift(...s),q.push(...i),f=q.length,d=Promise.resolve(n);p<f;)d=d.then(q[p++],q[p++]);return d}f=s.length;let l=n;for(;p<f;){let q=s[p++],g=s[p++];try{l=q(l)}catch(b){g.call(this,b);break}}try{d=zs.call(this,l)}catch(q){return Promise.reject(q)}for(p=0,f=i.length;p<f;)d=d.then(i[p++],i[p++]);return d}getUri(t){t=we(this.defaults,t);let n=vs(t.baseURL,t.url,t.allowAbsoluteUrls,t);return Xs(n,t.params,t.paramsSerializer)}};$.forEach(["delete","get","head","options"],function(t){oe.prototype[t]=function(n,u){return this.request(we(u||{},{method:t,url:n,data:u&&$.hasOwnProp(u,"data")?u.data:void 0}))}});$.forEach(["post","put","patch","query"],function(t){function n(u){return function(c,r,s){return this.request(we(s||{},{method:t,headers:u?{"Content-Type":"multipart/form-data"}:{},url:c,data:r}))}}oe.prototype[t]=n(),t!=="query"&&(oe.prototype[t+"Form"]=n(!0))});var Nr=class e{constructor(t){if(typeof t!="function")throw new TypeError("executor must be a function.");let n;this.promise=new Promise(function(c){n=c});let u=this;this.promise.then(a=>{if(!u._listeners)return;let c=u._listeners.length;for(;c-- >0;)u._listeners[c](a);u._listeners=null}),this.promise.then=a=>{let c,r=new Promise(s=>{u.subscribe(s),c=s}).then(a);return r.cancel=function(){u.unsubscribe(c)},r},t(function(c,r,s){u.reason||(u.reason=new qe(c,r,s),n(u.reason))})}throwIfRequested(){if(this.reason)throw this.reason}subscribe(t){if(this.reason){t(this.reason);return}this._listeners?this._listeners.push(t):this._listeners=[t]}unsubscribe(t){if(!this._listeners)return;let n=this._listeners.indexOf(t);n!==-1&&this._listeners.splice(n,1)}toAbortSignal(){let t=new AbortController,n=u=>{t.abort(u)};return this.subscribe(n),t.signal.unsubscribe=()=>this.unsubscribe(n),t.signal}static source(){let t;return{token:new e(function(a){t=a}),cancel:t}}};function og(e){return function(n){return e.apply(null,n)}}function ng(e){return $.isObject(e)&&e.isAxiosError===!0}var Ur={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,PartialContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511,WebServerIsDown:521,ConnectionTimedOut:522,OriginIsUnreachable:523,TimeoutOccurred:524,SslHandshakeFailed:525,InvalidSslCertificate:526};Object.entries(Ur).forEach(([e,t])=>{Ur[t]=e});function As(e){let t=new oe(e),n=Cs(oe.prototype.request,t);return $.extend(n,oe.prototype,t,{allOwnKeys:!0}),$.extend(n,t,null,{allOwnKeys:!0}),n.create=function(a){return As(we(e,a))},n}var I=As(ke);I.Axios=oe;I.CanceledError=qe;I.CancelToken=Nr;I.isCancel=Qs;I.VERSION=Kr;I.toFormData=Tt;I.AxiosError=_;I.Cancel=I.CanceledError;I.all=function(t){return Promise.all(t)};I.spread=og;I.isAxiosError=ng;I.mergeConfig=we;I.AxiosHeaders=K;I.formToJSON=e=>Zs($.isHTMLForm(e)?new FormData(e):e);I.getAdapter=ks.getAdapter;I.HttpStatusCode=Ur;I.default=I;ea.exports=I});var sa=m((Iw,ra)=>{ra.exports={baseURL:"https://api.betterez.com",timeout:15e3,baseURLOverride:{inventory:e=>`${e}/inventory`,trips:e=>`${e}/inventory`,bpes:e=>`${e}/bpes`}}});var Jr=m((Vw,aa)=>{var ug={INTERNAL_AUTH_TOKEN_SYMBOL:"internal_auth_token"};aa.exports=ug});var y=m((Kw,oa)=>{var cg=Jr();function ig({token:e,jwtToken:t,internalAuthTokenProvider:n,headers:u}){let a={};if(e&&(a["x-api-key"]=`${e}`),u&&u.cookie&&u.cookie.includes("btrz-trusted")&&(a.cookie=u.cookie),t&&t===cg.INTERNAL_AUTH_TOKEN_SYMBOL){if(!n||typeof n.getToken!="function")throw new Error("Tried to make an internal API request, but no 'internalAuthTokenProvider' with a 'getToken' function was supplied to the API client");a.authorization=`Bearer ${n.getToken()}`}else t&&(a.authorization=`Bearer ${t}`);try{u&&typeof u=="object"&&!Array.isArray(u)&&Object.entries(u).forEach(([c,r])=>{a[c]||(c==="x-amzn-trace-id"&&r||c==="x-elevation-token")&&(a[c]=u[c])})}catch(c){console.log(c)}return a}oa.exports={authorizationHeaders:ig}});var ua=m((Ww,na)=>{var{authorizationHeaders:At}=y();function dg({client:e,internalAuthTokenProvider:t}){function n({token:r,query:s={},headers:o}){return e.get("/amenities",{params:s,headers:At({token:r,internalAuthTokenProvider:t,headers:o})})}function u({token:r,amenityId:s,query:o={},headers:i}){return e.get(`/amenities/${s}`,{params:o,headers:At({token:r,internalAuthTokenProvider:t,headers:i})})}function a({token:r,jwtToken:s,amenity:o,headers:i}){return e({url:"/amenities",method:"post",headers:At({token:r,jwtToken:s,internalAuthTokenProvider:t,headers:i}),data:{amenity:o}})}function c({token:r,jwtToken:s,amenityId:o,amenity:i,headers:d}){return e({url:`/amenities/${o}`,method:"put",headers:At({token:r,jwtToken:s,internalAuthTokenProvider:t,headers:d}),data:{amenity:i}})}return{all:n,get:u,create:a,update:c}}na.exports=dg});var ia=m((Jw,ca)=>{var{authorizationHeaders:er}=y();function pg({client:e,internalAuthTokenProvider:t}){function n({token:r,query:s={},headers:o}){return e.get("/amenity-groups",{params:s,headers:er({token:r,internalAuthTokenProvider:t,headers:o})})}function u({token:r,amenityGroupId:s,query:o={},headers:i}){return e.get(`/amenity-groups/${s}`,{params:o,headers:er({token:r,internalAuthTokenProvider:t,headers:i})})}function a({token:r,jwtToken:s,amenityGroup:o,headers:i}){return e({url:"/amenity-groups",method:"post",headers:er({token:r,jwtToken:s,internalAuthTokenProvider:t,headers:i}),data:{amenityGroup:o}})}function c({token:r,jwtToken:s,amenityGroupId:o,amenityGroup:i,headers:d}){return e({url:`/amenity-groups/${o}`,method:"put",headers:er({token:r,jwtToken:s,internalAuthTokenProvider:t,headers:d}),data:{amenityGroup:i}})}return{all:n,get:u,create:a,update:c}}ca.exports=pg});var pa=m((Xw,da)=>{var{authorizationHeaders:Ae}=y();function fg({client:e,internalAuthTokenProvider:t}){function n({token:s,jwtToken:o,query:i={},headers:d}){return e.get("/banks",{params:i,headers:Ae({token:s,jwtToken:o,internalAuthTokenProvider:t,headers:d})})}function u({bankId:s,token:o,headers:i,jwtToken:d}){return e.get(`/banks/${s}`,{headers:Ae({token:o,jwtToken:d,internalAuthTokenProvider:t,headers:i})})}function a({jwtToken:s,token:o,bank:i,headers:d}){return e({url:"/banks",method:"post",headers:Ae({token:o,jwtToken:s,internalAuthTokenProvider:t,headers:d}),data:{bank:i}})}function c({jwtToken:s,bankId:o,token:i,headers:d}){return e({url:`/banks/${o}`,method:"delete",headers:Ae({token:i,jwtToken:s,internalAuthTokenProvider:t,headers:d})})}function r({jwtToken:s,token:o,bankId:i,bank:d,headers:p}){return e({url:`/banks/${i}`,method:"put",headers:Ae({token:o,jwtToken:s,internalAuthTokenProvider:t,headers:p}),data:{bank:d}})}return{all:n,get:u,create:a,update:r,remove:c}}da.exports=fg});var la=m((Gw,ma)=>{var{authorizationHeaders:fa}=y();function mg({client:e,internalAuthTokenProvider:t}){function n({token:a,query:c={},headers:r}){return e({url:"/bare-routes",params:c,headers:fa({token:a,internalAuthTokenProvider:t,headers:r})})}function u({routeId:a,token:c,query:r={},headers:s}){return e({url:`/bare-routes/${a}`,params:r,headers:fa({token:c,internalAuthTokenProvider:t,headers:s})})}return{all:n,get:u}}ma.exports=mg});var ga=m((Zw,ha)=>{var{authorizationHeaders:tr}=y();function lg({client:e,internalAuthTokenProvider:t}){function n({token:r,jwtToken:s,query:o={},headers:i}){return e({url:"/brands",params:o,headers:tr({token:r,jwtToken:s,internalAuthTokenProvider:t,headers:i})})}function u({token:r,jwtToken:s,brand:o,headers:i}){return e({url:"/brands",method:"post",headers:tr({token:r,jwtToken:s,internalAuthTokenProvider:t,headers:i}),data:{brand:o}})}function a({jwtToken:r,token:s,brandId:o,brand:i,headers:d}){return e({url:`/brands/${o}`,method:"put",headers:tr({token:s,jwtToken:r,internalAuthTokenProvider:t,headers:d}),data:{brand:i}})}function c({token:r,brandId:s,jwtToken:o,headers:i}){return e({url:`/brands/${s}`,method:"get",headers:tr({token:r,internalAuthTokenProvider:t,jwtToken:o,headers:i})})}return{all:n,create:u,update:a,get:c}}ha.exports=lg});var ba=m((Qw,ya)=>{var{authorizationHeaders:hg}=y();function gg({client:e,internalAuthTokenProvider:t}){function n({token:u,bundleId:a,productId:c,query:r={},headers:s}){return e.get(`/bundle/${a}/product/${c}`,{params:r,headers:hg({token:u,internalAuthTokenProvider:t,headers:s})})}return{all:n}}ya.exports=gg});var qa=m((Yw,xa)=>{var{authorizationHeaders:$a}=y();function yg({client:e,internalAuthTokenProvider:t}){function n({token:a,jwtToken:c,query:r={},headers:s}){return e({url:"/bundles",params:r,headers:$a({token:a,jwtToken:c,internalAuthTokenProvider:t,headers:s})})}function u({token:a,jwtToken:c,bundleId:r,headers:s}){return e({url:`/bundles/${r}`,method:"get",headers:$a({token:a,internalAuthTokenProvider:t,jwtToken:c,headers:s})})}return{all:n,get:u}}xa.exports=yg});var Oa=m((vw,wa)=>{var{authorizationHeaders:Oe}=y();function bg({client:e,internalAuthTokenProvider:t}){function n({token:s,jwtToken:o,query:i={},headers:d}){return e.get("/change-requests",{params:i,headers:Oe({token:s,jwtToken:o,internalAuthTokenProvider:t,headers:d})})}function u({changerequestId:s,token:o,jwtToken:i,query:d={},headers:p}){return e({url:`/change-requests/${s}/manifests`,params:d,headers:Oe({token:o,internalAuthTokenProvider:t,jwtToken:i,headers:p})})}function a({data:s,token:o,jwtToken:i,headers:d}){return e({url:"/change-requests/manifests",method:"post",headers:Oe({token:o,jwtToken:i,internalAuthTokenProvider:t,headers:d}),data:s})}function c({changerequestId:s,data:o,token:i,jwtToken:d,headers:p}){return e({url:`/change-requests/${s}/manifests`,method:"put",headers:Oe({token:i,jwtToken:d,internalAuthTokenProvider:t,headers:p}),data:o})}return{all:n,get:u,create:a,update:c,schedules:{get({changeRequestId:s,token:o,jwtToken:i,query:d={},headers:p}){return e({url:`/change-requests/${s}/schedules`,params:d,headers:Oe({token:o,internalAuthTokenProvider:t,jwtToken:i,headers:p})})},create({data:s,token:o,jwtToken:i,headers:d}){return e({url:"/change-requests/schedules",method:"post",headers:Oe({token:o,jwtToken:i,internalAuthTokenProvider:t,headers:d}),data:s})},update({changeRequestId:s,data:o,token:i,jwtToken:d,headers:p}){return e({url:`/change-requests/${s}/schedules`,method:"put",headers:Oe({token:i,jwtToken:d,internalAuthTokenProvider:t,headers:p}),data:o})}}}}wa.exports=bg});var Sa=m((Pw,Fa)=>{var{authorizationHeaders:$g}=y();function xg({client:e,internalAuthTokenProvider:t}){function n({token:u,jwtToken:a,query:c={},headers:r}){return e({url:"/companies",params:c,headers:$g({token:u,jwtToken:a,internalAuthTokenProvider:t,headers:r})})}return{all:n}}Fa.exports=xg});var _a=m((Tw,Ea)=>{var{authorizationHeaders:Fe}=y();function qg({client:e,internalAuthTokenProvider:t}){function n({token:i,jwtToken:d,query:p={},headers:f}){return e.get("/control-classes",{params:p,headers:Fe({token:i,jwtToken:d,internalAuthTokenProvider:t,headers:f})})}function u({controlClassId:i,token:d,headers:p,jwtToken:f,query:l={}}){return e.get(`/control-classes/${i}`,{params:l,headers:Fe({token:d,jwtToken:f,internalAuthTokenProvider:t,headers:p})})}function a({jwtToken:i,token:d,controlClass:p,headers:f}){return e({url:"/control-classes",method:"post",headers:Fe({token:d,jwtToken:i,internalAuthTokenProvider:t,headers:f}),data:{controlClass:p}})}function c({jwtToken:i,controlClassId:d,token:p,headers:f}){return e({url:`/control-classes/${d}`,method:"delete",headers:Fe({token:p,jwtToken:i,internalAuthTokenProvider:t,headers:f})})}function r({jwtToken:i,token:d,controlClassId:p,controlClass:f,headers:l}){return e({url:`/control-classes/${p}`,method:"put",headers:Fe({token:d,jwtToken:i,internalAuthTokenProvider:t,headers:l}),data:{controlClass:f}})}let s={post:({token:i,jwtToken:d,controlClassId:p,data:f,headers:l})=>e({url:`/control-classes/${p}/schedules`,method:"post",headers:Fe({token:i,jwtToken:d,internalAuthTokenProvider:t,headers:l}),data:f})};function o({jwtToken:i,token:d,rootClassId:p,controlClassCloneOptions:f,headers:l}){return e({url:`/control-classes/${p}/clones`,method:"post",headers:Fe({token:d,jwtToken:i,internalAuthTokenProvider:t,headers:l}),data:{controlClassCloneOptions:f}})}return{all:n,get:u,create:a,update:r,remove:c,clone:o,schedules:s}}Ea.exports=qg});var Ha=m((kw,za)=>{var{authorizationHeaders:Ra}=y();function wg({client:e,internalAuthTokenProvider:t}){function n({token:a,jwtToken:c,query:r={},headers:s}){return e({url:"/countries",params:r,headers:Ra({token:a,jwtToken:c,internalAuthTokenProvider:t,headers:s})})}function u({token:a,jwtToken:c,id:r,query:s={},headers:o}){return e({url:`/countries/${r}`,params:s,headers:Ra({token:a,jwtToken:c,internalAuthTokenProvider:t,headers:o})})}return{all:n,get:u}}za.exports=wg});var ja=m((Aw,Ca)=>{var{authorizationHeaders:et}=y();function Og({client:e,internalAuthTokenProvider:t}){function n({token:s,query:o={},headers:i}){return e.get("/custom-content",{params:o,headers:et({token:s,internalAuthTokenProvider:t,headers:i})})}function u({customContentId:s,token:o,jwtToken:i,headers:d}){return e.get(`/custom-content/${s}`,{headers:et({token:o,jwtToken:i,internalAuthTokenProvider:t,headers:d})})}function a({jwtToken:s,token:o,customContent:i,headers:d}){return e({url:"/custom-content",method:"post",headers:et({token:o,jwtToken:s,internalAuthTokenProvider:t,headers:d}),data:{customContent:i}})}function c({jwtToken:s,customContentId:o,token:i,headers:d}){return e({url:`/custom-content/${o}`,method:"delete",headers:et({token:i,jwtToken:s,internalAuthTokenProvider:t,headers:d})})}function r({jwtToken:s,token:o,customContentId:i,customContent:d,headers:p}){return e({url:`/custom-content/${i}`,method:"put",headers:et({token:o,jwtToken:s,internalAuthTokenProvider:t,headers:p}),data:{customContent:d}})}return{all:n,get:u,create:a,update:r,remove:c}}Ca.exports=Og});var Na=m((eO,Da)=>{var{authorizationHeaders:tt}=y();function Fg({client:e,internalAuthTokenProvider:t}){function n({token:s,jwtToken:o,query:i={},headers:d}){return e({url:"/custom-fields",params:i,headers:tt({token:s,jwtToken:o,internalAuthTokenProvider:t,headers:d})})}function u({fieldId:s,token:o,jwtToken:i,query:d={},headers:p}){return e({url:`/custom-fields/${s}`,params:d,headers:tt({token:o,jwtToken:i,internalAuthTokenProvider:t,headers:p})})}function a({token:s,jwtToken:o,field:i,headers:d}){return e({url:"/custom-fields",method:"post",headers:tt({token:s,jwtToken:o,internalAuthTokenProvider:t,headers:d}),data:{field:i}})}function c({token:s,jwtToken:o,fieldId:i,field:d,headers:p}){return e({url:`/custom-fields/${i}`,method:"put",headers:tt({token:s,jwtToken:o,internalAuthTokenProvider:t,headers:p}),data:{field:d}})}return{all:n,get:u,create:a,update:c,types:{all({token:s,jwtToken:o,headers:i}){return e({url:"/custom-fields/types",headers:tt({token:s,jwtToken:o,internalAuthTokenProvider:t,headers:i})})}}}}Da.exports=Fg});var Ba=m((tO,Ua)=>{function Sg({client:e}){function t(){return e.get("/api-docs-v2",{})}return{get:t}}Ua.exports=Sg});var Va=m((rO,Ia)=>{function La(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var u=Object.getOwnPropertySymbols(e);t&&(u=u.filter(function(a){return Object.getOwnPropertyDescriptor(e,a).enumerable})),n.push.apply(n,u)}return n}function Ma(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?La(Object(n),!0).forEach(function(u){Eg(e,u,n[u])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):La(Object(n)).forEach(function(u){Object.defineProperty(e,u,Object.getOwnPropertyDescriptor(n,u))})}return e}function Eg(e,t,n){return(t=_g(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function _g(e){var t=Rg(e,"string");return typeof t=="symbol"?t:t+""}function Rg(e,t){if(typeof e!="object"||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var u=n.call(e,t||"default");if(typeof u!="object")return u;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}var{authorizationHeaders:rt}=y();function zg({client:e,internalAuthTokenProvider:t}){function n({token:s,jwtToken:o,query:i={},headers:d}){return e({url:"/document-types",method:"get",headers:rt({token:s,jwtToken:o,internalAuthTokenProvider:t,headers:d}),params:i})}function u({token:s,jwtToken:o,id:i,query:d={},headers:p,providerId:f}){let l=f?Ma(Ma({},d),{},{providerId:f}):d;return e({url:`/document-types/${i}`,method:"get",params:l,headers:rt({token:s,jwtToken:o,internalAuthTokenProvider:t,headers:p})})}function a({token:s,jwtToken:o,id:i,documenttype:d,data:p,headers:f}){let l=d||p;return e({url:`/document-types/${i}`,method:"put",headers:rt({token:s,jwtToken:o,internalAuthTokenProvider:t,headers:f}),data:{documenttype:l}})}function c({token:s,jwtToken:o,id:i,headers:d}){return e({url:`/document-types/${i}`,method:"delete",headers:rt({token:s,jwtToken:o,internalAuthTokenProvider:t,headers:d})})}function r({token:s,jwtToken:o,documenttype:i,data:d,headers:p}){let f=i||d;return e({url:"/document-types",method:"post",headers:rt({token:s,jwtToken:o,internalAuthTokenProvider:t,headers:p}),data:{documenttype:f}})}return{all:n,get:u,update:a,remove:c,create:r}}Ia.exports=zg});var Wa=m((sO,Ka)=>{var{authorizationHeaders:Hg}=y();function Cg({client:e,internalAuthTokenProvider:t}){function n({eventId:u,token:a,headers:c}){return e.get(`/event/${u}`,{headers:Hg({token:a,internalAuthTokenProvider:t,headers:c})})}return{get:n}}Ka.exports=Cg});var Ga=m((aO,Xa)=>{var{authorizationHeaders:Ja}=y();function jg({client:e,internalAuthTokenProvider:t}){function n({token:a,jwtToken:c,query:r={},headers:s}){return e.get("/external-passes",{params:r,headers:Ja({token:a,internalAuthTokenProvider:t,jwtToken:c,headers:s})})}function u({externalPassId:a,token:c,jwtToken:r,headers:s}){return e.get(`/external-passes/${a}`,{headers:Ja({token:c,internalAuthTokenProvider:t,jwtToken:r,headers:s})})}return{all:n,get:u}}Xa.exports=jg});var Qa=m((oO,Za)=>{var{authorizationHeaders:pe}=y();function Dg({client:e,internalAuthTokenProvider:t}){return{saldoMax:{all:({token:u,jwtToken:a,query:c={},headers:r})=>e.get("/external-wallets/saldo-max",{params:c,headers:pe({token:u,internalAuthTokenProvider:t,jwtToken:a,headers:r})}),create:({token:u,jwtToken:a,externalWallet:c,headers:r})=>e({url:"/external-wallets/saldo-max",method:"post",headers:pe({token:u,jwtToken:a,internalAuthTokenProvider:t,headers:r}),data:{externalWallet:c}}),get:({token:u,jwtToken:a,walletId:c,headers:r})=>e.get(`/external-wallets/saldo-max/${c}`,{headers:pe({token:u,jwtToken:a,internalAuthTokenProvider:t,headers:r})}),update:({token:u,jwtToken:a,externalWallet:c,headers:r})=>{let s={nip:c.nip,walletNumber:c.walletNumber,status:c.status};return e({url:`/external-wallets/saldo-max/${c._id}`,method:"put",headers:pe({token:u,jwtToken:a,internalAuthTokenProvider:t,headers:r}),data:{externalWallet:s}})},nip:{update:({token:u,jwtToken:a,walletId:c,nip:r,headers:s})=>e({url:`/external-wallets/saldo-max/${c}/nip`,method:"put",headers:pe({token:u,jwtToken:a,internalAuthTokenProvider:t,headers:s}),data:{nip:r}})},authorization:{create:({token:u,jwtToken:a,walletId:c,nip:r,nipAuthorization:s,headers:o})=>{let i=s!=null?{nipAuthorization:s}:{nip:r};return e({url:`/external-wallets/saldo-max/${c}/authorization`,method:"post",headers:pe({token:u,jwtToken:a,internalAuthTokenProvider:t,headers:o}),data:i})}},movements:{create:({token:u,jwtToken:a,walletId:c,movement:r,headers:s})=>e({url:`/external-wallets/saldo-max/${c}/movements`,method:"put",headers:pe({token:u,jwtToken:a,internalAuthTokenProvider:t,headers:s}),data:{movement:r}})},statements:{create:({token:u,jwtToken:a,walletId:c,statementRequest:r,headers:s})=>e({url:`/external-wallets/saldo-max/${c}/statements`,method:"post",headers:pe({token:u,jwtToken:a,internalAuthTokenProvider:t,headers:s}),data:r!=null?{statementRequest:r}:{}})}}}}Za.exports=Dg});var va=m((nO,Ya)=>{var{authorizationHeaders:st}=y();function Ng({client:e,internalAuthTokenProvider:t}){function n({token:s,jwtToken:o,query:i={},headers:d}){return e.get("/fare-type-modifiers",{params:i,headers:st({token:s,jwtToken:o,internalAuthTokenProvider:t,headers:d})})}function u({fareTypeModifierId:s,token:o,jwtToken:i,headers:d}){return e.get(`/fare-type-modifiers/${s}`,{headers:st({token:o,jwtToken:i,internalAuthTokenProvider:t,headers:d})})}function a({jwtToken:s,token:o,fareTypeModifier:i,headers:d}){return e({url:"/fare-type-modifiers",method:"post",headers:st({token:o,jwtToken:s,internalAuthTokenProvider:t,headers:d}),data:{fareTypeModifier:i}})}function c({jwtToken:s,fareTypeModifierId:o,token:i,headers:d}){return e({url:`/fare-type-modifiers/${o}`,method:"delete",headers:st({token:i,jwtToken:s,internalAuthTokenProvider:t,headers:d})})}function r({jwtToken:s,token:o,fareTypeModifierId:i,fareTypeModifier:d,headers:p}){return e({url:`/fare-type-modifiers/${i}`,method:"put",headers:st({token:o,jwtToken:s,internalAuthTokenProvider:t,headers:p}),data:{fareTypeModifier:d}})}return{all:n,get:u,create:a,update:r,remove:c}}Ya.exports=Ng});var Ta=m((uO,Pa)=>{var{authorizationHeaders:rr}=y();function Ug({client:e,internalAuthTokenProvider:t}){function n({token:r,jwtToken:s,query:o={},headers:i}){return e.get("/fallback-codes",{params:o,headers:rr({token:r,jwtToken:s,internalAuthTokenProvider:t,headers:i})})}function u({token:r,id:s,headers:o}){return e.get(`/fallback-code/${s}`,{headers:rr({token:r,internalAuthTokenProvider:t,headers:o})})}function a({token:r,jwtToken:s,fallbackCode:o,headers:i}){return e({url:"/fallback-codes",method:"post",headers:rr({token:r,jwtToken:s,internalAuthTokenProvider:t,headers:i}),data:{fallbackCode:o}})}function c({token:r,jwtToken:s,fallbackCodeId:o,fallbackCode:i,headers:d}){return e({url:`/fallback-code/${o}`,method:"put",headers:rr({token:r,jwtToken:s,internalAuthTokenProvider:t,headers:d}),data:{fallbackCode:i}})}return{all:n,get:u,create:a,update:c}}Pa.exports=Ug});var Aa=m((cO,ka)=>{var{authorizationHeaders:Xr}=y();function Bg({client:e,internalAuthTokenProvider:t}){function n({token:c,jwtToken:r,query:s={},headers:o}){return e({url:"/fare-classes",params:s,headers:Xr({token:c,jwtToken:r,internalAuthTokenProvider:t,headers:o})})}function u({token:c,jwtToken:r,fareClass:s,headers:o}){return e({url:"/fare-classes",method:"post",headers:Xr({token:c,jwtToken:r,internalAuthTokenProvider:t,headers:o}),data:{fareClass:s}})}function a({token:c,jwtToken:r,fareClassId:s,update:o,headers:i}){return e({url:`/fare-classes/${s}`,method:"patch",headers:Xr({token:c,jwtToken:r,internalAuthTokenProvider:t,headers:i}),data:{update:o}})}return{all:n,create:u,update:a}}ka.exports=Bg});var to=m((iO,eo)=>{var{authorizationHeaders:Le}=y();function Lg({client:e,internalAuthTokenProvider:t}){function n({token:s,query:o={},headers:i}){return e.get("/fares",{params:o,headers:Le({token:s,internalAuthTokenProvider:t,headers:i})})}function u({token:s,id:o,headers:i}){return e.get(`/fare/${o}`,{headers:Le({token:s,internalAuthTokenProvider:t,headers:i})})}function a({token:s,jwtToken:o,fare:i,headers:d}){return e({url:"/fares",method:"post",headers:Le({token:s,jwtToken:o,internalAuthTokenProvider:t,headers:d}),data:{fare:i}})}function c({token:s,jwtToken:o,fareId:i,fare:d,headers:p}){return e({url:`/fare/${i}`,method:"put",headers:Le({token:s,jwtToken:o,internalAuthTokenProvider:t,headers:p}),data:{fare:d}})}return{all:n,get:u,update:c,create:a,adjustments:{create({token:s,jwtToken:o,fareId:i,adjustmentsOverride:d,headers:p}){return e({url:`/fares/${i}/adjustments-overrides`,method:"post",headers:Le({token:s,jwtToken:o,internalAuthTokenProvider:t,headers:p}),data:{adjustmentsOverride:d}})},remove({token:s,jwtToken:o,fareId:i,adjustmentId:d,headers:p}){return e({url:`/fares/${i}/adjustments-override/${d}`,method:"delete",headers:Le({token:s,jwtToken:o,internalAuthTokenProvider:t,headers:p})})}}}}eo.exports=Lg});var so=m((dO,ro)=>{var{authorizationHeaders:sr}=y();function Mg({client:e,internalAuthTokenProvider:t}){function n({token:r,jwtToken:s,query:o={},headers:i}){return e.get("/fees",{params:o,headers:sr({token:r,jwtToken:s,internalAuthTokenProvider:t,headers:i})})}function u({token:r,jwtToken:s,feeId:o,headers:i}){return e.get(`/fees/${o}`,{headers:sr({token:r,jwtToken:s,internalAuthTokenProvider:t,headers:i})})}function a({token:r,jwtToken:s,fee:o,headers:i}){return e({url:"/fees",method:"post",headers:sr({token:r,jwtToken:s,internalAuthTokenProvider:t,headers:i}),data:{fee:o}})}function c({token:r,jwtToken:s,feeId:o,fee:i,headers:d}){return e({url:`/fees/${o}`,method:"put",headers:sr({token:r,jwtToken:s,internalAuthTokenProvider:t,headers:d}),data:{fee:i}})}return{all:n,get:u,create:a,update:c}}ro.exports=Mg});var oo=m((pO,ao)=>{var{authorizationHeaders:Gr}=y();function Ig({client:e,internalAuthTokenProvider:t}){function n({token:c,jwtToken:r,query:s={},headers:o}){return e.get("/filtered-trips",{params:s,headers:Gr({token:c,jwtToken:r,internalAuthTokenProvider:t,headers:o})})}function u({token:c,jwtToken:r,tripSegmentsId:s,headers:o}){return e({url:"/filtered-trips",method:"post",headers:Gr({token:c,jwtToken:r,internalAuthTokenProvider:t,headers:o}),data:{tripSegmentsId:s}})}function a({token:c,jwtToken:r,filteredTripId:s,headers:o}){return e({url:`/filtered-trip/${s}`,method:"delete",headers:Gr({token:c,jwtToken:r,internalAuthTokenProvider:t,headers:o})})}return{all:n,create:u,remove:a}}ao.exports=Ig});var uo=m((fO,no)=>{var{authorizationHeaders:Vg}=y();function Kg({client:e,internalAuthTokenProvider:t}){function n({token:u,jwtToken:a,filteredTrip:c,headers:r}){return e({url:"/v2/filtered-trips",method:"post",headers:Vg({token:u,jwtToken:a,internalAuthTokenProvider:t,headers:r}),data:{filteredTrip:c}})}return{create:n}}no.exports=Kg});var io=m((mO,co)=>{var{authorizationHeaders:at}=y();function Wg({client:e,internalAuthTokenProvider:t}){function n({token:s,jwtToken:o,query:i={},headers:d}){return e.get("/financing-costs",{params:i,headers:at({token:s,jwtToken:o,internalAuthTokenProvider:t,headers:d})})}function u({id:s,token:o,headers:i,jwtToken:d,query:p={}}){return e.get(`/financing-costs/${s}`,{params:p,headers:at({token:o,jwtToken:d,internalAuthTokenProvider:t,headers:i})})}function a({jwtToken:s,token:o,financingCost:i,headers:d}){return e({url:"/financing-costs",method:"post",headers:at({token:o,jwtToken:s,internalAuthTokenProvider:t,headers:d}),data:{financingcost:i}})}function c({jwtToken:s,id:o,token:i,headers:d,query:p={}}){return e({url:`/financing-costs/${o}`,method:"delete",params:p,headers:at({token:i,jwtToken:s,internalAuthTokenProvider:t,headers:d})})}function r({jwtToken:s,token:o,id:i,financingCost:d,headers:p}){return e({url:`/financing-costs/${i}`,method:"put",headers:at({token:o,jwtToken:s,internalAuthTokenProvider:t,headers:p}),data:{financingcost:d}})}return{all:n,get:u,create:a,update:r,remove:c}}co.exports=Wg});var fo=m((lO,po)=>{var{authorizationHeaders:ot}=y();function Jg({client:e,internalAuthTokenProvider:t}){function n({token:s,jwtToken:o,query:i={},headers:d}){return e.get("/garages",{params:i,headers:ot({token:s,jwtToken:o,internalAuthTokenProvider:t,headers:d})})}function u({token:s,jwtToken:o,garageId:i,headers:d}){return e.get(`/garages/${i}`,{headers:ot({token:s,jwtToken:o,internalAuthTokenProvider:t,headers:d})})}function a({token:s,jwtToken:o,data:i,headers:d}){return e({url:"/garages",method:"post",headers:ot({token:s,jwtToken:o,internalAuthTokenProvider:t,headers:d}),data:i})}function c({token:s,jwtToken:o,garageId:i,data:d,headers:p}){return e({url:`/garages/${i}`,method:"put",headers:ot({token:s,jwtToken:o,internalAuthTokenProvider:t,headers:p}),data:d})}function r({token:s,jwtToken:o,garageId:i,headers:d}){return e({url:`/garages/${i}`,method:"delete",headers:ot({token:s,jwtToken:o,internalAuthTokenProvider:t,headers:d})})}return{all:n,get:u,create:a,update:c,remove:r}}po.exports=Jg});var lo=m((hO,mo)=>{var{authorizationHeaders:nt}=y();function Xg({client:e,internalAuthTokenProvider:t}){function n({token:s,jwtToken:o,query:i={},headers:d}){return e.get("/getnet-terminals",{params:i,headers:nt({token:s,jwtToken:o,internalAuthTokenProvider:t,headers:d})})}function u({getnetTerminalId:s,token:o,jwtToken:i,headers:d}){return e.get(`/getnet-terminals/${s}`,{headers:nt({token:o,jwtToken:i,internalAuthTokenProvider:t,headers:d})})}function a({jwtToken:s,token:o,getnetTerminal:i,headers:d}){return e({url:"/getnet-terminals",method:"post",headers:nt({token:o,jwtToken:s,internalAuthTokenProvider:t,headers:d}),data:{getnetTerminal:i}})}function c({jwtToken:s,getnetTerminalId:o,token:i,headers:d}){return e({url:`/getnet-terminals/${o}`,method:"delete",headers:nt({token:i,jwtToken:s,internalAuthTokenProvider:t,headers:d})})}function r({jwtToken:s,token:o,getnetTerminalId:i,getnetTerminal:d,headers:p}){let f=i||d._id;return e({url:`/getnet-terminals/${f}`,method:"put",headers:nt({token:o,jwtToken:s,internalAuthTokenProvider:t,headers:p}),data:{getnetTerminal:{name:d.name,serialNumber:d.serialNumber,stationId:d.stationId}}})}return{all:n,get:u,create:a,remove:c,update:r}}mo.exports=Xg});var go=m((gO,ho)=>{var{authorizationHeaders:ut}=y();function Gg({client:e,internalAuthTokenProvider:t}){function n({token:s,query:o={},headers:i}){return e.get("/gift-certificate-definitions",{params:o,headers:ut({token:s,internalAuthTokenProvider:t,headers:i})})}function u({token:s,jwtToken:o,giftcertificateId:i,query:d={},headers:p}){return e({url:`/gift-certificate-definitions/${i}`,method:"get",headers:ut({token:s,jwtToken:o,internalAuthTokenProvider:t,headers:p}),params:d})}function a({token:s,jwtToken:o,giftcertificate:i,query:d={},headers:p}){return e({url:"/gift-certificate-definitions",method:"post",headers:ut({token:s,jwtToken:o,internalAuthTokenProvider:t,headers:p}),params:d,data:{giftcertificate:i}})}function c({token:s,jwtToken:o,giftcertificateId:i,giftcertificate:d,query:p={},headers:f}){return e({url:`/gift-certificate-definitions/${i}`,method:"put",headers:ut({token:s,jwtToken:o,internalAuthTokenProvider:t,headers:f}),params:p,data:{giftcertificate:d}})}function r({token:s,jwtToken:o,giftcertificateId:i,query:d={},headers:p}){return e({url:`/gift-certificate-definitions/${i}`,method:"delete",headers:ut({token:s,jwtToken:o,internalAuthTokenProvider:t,headers:p}),params:d})}return{all:n,get:u,create:a,update:c,remove:r}}ho.exports=Gg});var bo=m((yO,yo)=>{function Zg({client:e}){function t(){return e({url:"/healthcheck",method:"get"})}return{get:t}}yo.exports=Zg});var xo=m((bO,$o)=>{var{authorizationHeaders:ct}=y();function Qg({client:e,internalAuthTokenProvider:t}){function n({token:s,jwtToken:o,query:i={},headers:d}){return e.get("/holidays",{params:i,headers:ct({token:s,jwtToken:o,internalAuthTokenProvider:t,headers:d})})}function u({token:s,jwtToken:o,holidayId:i,query:d={},headers:p}){return e({url:`/holidays/${i}`,method:"get",headers:ct({token:s,jwtToken:o,internalAuthTokenProvider:t,headers:p}),params:d})}function a({token:s,jwtToken:o,holiday:i,headers:d}){return e({url:"/holidays",method:"post",headers:ct({token:s,jwtToken:o,internalAuthTokenProvider:t,headers:d}),data:{holiday:i}})}function c({token:s,jwtToken:o,holidayId:i,holiday:d,headers:p}){return e({url:`/holidays/${i}`,method:"put",headers:ct({token:s,jwtToken:o,internalAuthTokenProvider:t,headers:p}),data:{holiday:d}})}function r({token:s,jwtToken:o,holidayId:i,headers:d}){return e({url:`/holidays/${i}`,method:"delete",headers:ct({token:s,jwtToken:o,internalAuthTokenProvider:t,headers:d})})}return{all:n,get:u,create:a,update:c,remove:r}}$o.exports=Qg});var wo=m(($O,qo)=>{var{authorizationHeaders:it}=y();function Yg({client:e,internalAuthTokenProvider:t}){function n({token:s,query:o={},headers:i}){return e.get("/insurances",{params:o,headers:it({token:s,internalAuthTokenProvider:t,headers:i})})}function u({token:s,insuranceId:o,headers:i}){return e.get(`/insurances/${o}`,{headers:it({token:s,internalAuthTokenProvider:t,headers:i})})}function a({token:s,insurance:o,jwtToken:i,headers:d}){return e({url:"/insurances",method:"post",headers:it({token:s,jwtToken:i,internalAuthTokenProvider:t,headers:d}),data:{insurance:o}})}function c({token:s,insurance:o,jwtToken:i,insuranceId:d,headers:p}){return e({url:`/insurances/${d}`,method:"put",headers:it({token:s,jwtToken:i,internalAuthTokenProvider:t,headers:p}),data:{insurance:o}})}function r({token:s,jwtToken:o,insuranceId:i,headers:d}){return e({url:`/insurances/${i}`,method:"delete",headers:it({token:s,jwtToken:o,internalAuthTokenProvider:t,headers:d})})}return{all:n,create:a,get:u,update:c,remove:r}}qo.exports=Yg});var Fo=m((xO,Oo)=>{var{authorizationHeaders:vg}=y();function Pg({client:e,internalAuthTokenProvider:t}){function n({token:u,productId:a,declaredValue:c,query:r={},headers:s}){return e.get(`/insurances/${a}/cost`,{params:Object.assign(r,{declaredValue:c}),headers:vg({token:u,internalAuthTokenProvider:t,headers:s})})}return{get:n}}Oo.exports=Pg});var Eo=m((qO,So)=>{var{authorizationHeaders:dt}=y();function Tg({client:e,internalAuthTokenProvider:t}){function n({token:s,query:o={},jwtToken:i,headers:d}){return e({url:"/items",params:o,headers:dt({token:s,jwtToken:i,internalAuthTokenProvider:t,headers:d})})}function u({itemId:s,token:o,jwtToken:i,query:d={},headers:p}){return e.get(`/items/${s}`,{params:d,headers:dt({token:o,jwtToken:i,internalAuthTokenProvider:t,headers:p})})}function a({jwtToken:s,item:o,token:i,headers:d}){return e({url:"/items",method:"post",headers:dt({token:i,jwtToken:s,internalAuthTokenProvider:t,headers:d}),data:{item:o}})}function c({jwtToken:s,token:o,itemId:i,item:d,headers:p}){return e({url:`/items/${i}`,method:"put",headers:dt({token:o,jwtToken:s,internalAuthTokenProvider:t,headers:p}),data:{item:d}})}return{all:n,get:u,create:a,update:c,tickets:{update({jwtToken:s,token:o,soldItemId:i,ticketId:d,headers:p,query:f}){return e({url:`/items/${i}/tickets/${d}`,method:"put",headers:dt({token:o,jwtToken:s,internalAuthTokenProvider:t,headers:p}),params:f})}}}}So.exports=Tg});var Ro=m((wO,_o)=>{var{authorizationHeaders:pt}=y();function kg({client:e,internalAuthTokenProvider:t}){function n({token:s,jwtToken:o,query:i={},headers:d}){return e({url:"/journey-prices",params:i,headers:pt({token:s,jwtToken:o,internalAuthTokenProvider:t,headers:d})})}function u({id:s,token:o,jwtToken:i,query:d={},headers:p}){return e({url:`/journey-prices/${s}`,params:d,headers:pt({token:o,jwtToken:i,internalAuthTokenProvider:t,headers:p})})}function a({token:s,jwtToken:o,id:i,headers:d}){return e({url:`/journey-prices/${i}`,method:"delete",headers:pt({token:s,jwtToken:o,internalAuthTokenProvider:t,headers:d})})}function c({token:s,jwtToken:o,journeyPrice:i,headers:d}){return e({url:"/journey-prices",method:"post",headers:pt({token:s,jwtToken:o,internalAuthTokenProvider:t,headers:d}),data:{journeyPrice:i}})}function r({token:s,jwtToken:o,journeyPriceId:i,journeyPrice:d,headers:p}){return e({url:`/journey-prices/${i}`,method:"patch",headers:pt({token:s,jwtToken:o,internalAuthTokenProvider:t,headers:p}),data:{update:d}})}return{all:n,deleteById:a,get:u,create:c,update:r}}_o.exports=kg});var Ho=m((OO,zo)=>{var{authorizationHeaders:ft}=y();function Ag({client:e,internalAuthTokenProvider:t}){function n({token:s,jwtToken:o,query:i={},headers:d}){return e.get("/labels",{params:i,headers:ft({token:s,jwtToken:o,internalAuthTokenProvider:t,headers:d})})}function u({labelId:s,token:o,jwtToken:i,query:d={},headers:p}){return e.get(`/labels/${s}`,{params:d,headers:ft({token:o,jwtToken:i,internalAuthTokenProvider:t,headers:p})})}function a({jwtToken:s,label:o,token:i,headers:d}){return e({url:"/labels",method:"post",headers:ft({token:i,jwtToken:s,internalAuthTokenProvider:t,headers:d}),data:{label:o}})}function c({jwtToken:s,token:o,labelId:i,label:d,headers:p}){return e({url:`/labels/${i}`,method:"put",headers:ft({token:o,jwtToken:s,internalAuthTokenProvider:t,headers:p}),data:{label:d}})}function r({jwtToken:s,token:o,labelId:i,headers:d}){return e({url:`/labels/${i}`,method:"delete",headers:ft({token:o,jwtToken:s,internalAuthTokenProvider:t,headers:d})})}return{all:n,get:u,create:a,update:c,remove:r}}zo.exports=Ag});var jo=m((FO,Co)=>{var{authorizationHeaders:mt}=y();function ey({client:e,internalAuthTokenProvider:t}){function n({token:s,jwtToken:o,query:i={},headers:d}){return e({url:"/marital-status",method:"get",headers:mt({token:s,jwtToken:o,internalAuthTokenProvider:t,headers:d}),params:i})}function u({token:s,jwtToken:o,id:i,query:d={},headers:p}){return e({url:`/marital-status/${i}`,method:"get",headers:mt({token:s,jwtToken:o,internalAuthTokenProvider:t,headers:p}),params:d})}function a({token:s,jwtToken:o,id:i,data:d,query:p={},headers:f}){return e({url:`/marital-status/${i}`,method:"put",headers:mt({token:s,jwtToken:o,internalAuthTokenProvider:t,headers:f}),params:p,data:d})}function c({token:s,jwtToken:o,id:i,query:d={},headers:p}){return e({url:`/marital-status/${i}`,method:"delete",headers:mt({token:s,jwtToken:o,internalAuthTokenProvider:t,headers:p}),params:d})}function r({token:s,jwtToken:o,data:i,query:d={},headers:p}){return e({url:"/marital-status",method:"post",headers:mt({token:s,jwtToken:o,internalAuthTokenProvider:t,headers:p}),params:d,data:i})}return{all:n,get:u,update:a,remove:c,create:r}}Co.exports=ey});var No=m((SO,Do)=>{var{authorizationHeaders:lt}=y();function ty({client:e,internalAuthTokenProvider:t}){function n({token:s,query:o={},headers:i}){return e.get("/marketplace-modifiers",{params:o,headers:lt({token:s,internalAuthTokenProvider:t,headers:i})})}function u({marketplaceModifierId:s,token:o,headers:i}){return e.get(`/marketplace-modifiers/${s}`,{headers:lt({token:o,internalAuthTokenProvider:t,headers:i})})}function a({jwtToken:s,token:o,marketplaceModifier:i,headers:d}){return e({url:"/marketplace-modifiers",method:"post",headers:lt({token:o,jwtToken:s,internalAuthTokenProvider:t,headers:d}),data:{marketplaceModifier:i}})}function c({jwtToken:s,marketplaceModifierId:o,token:i,headers:d}){return e({url:`/marketplace-modifiers/${o}`,method:"delete",headers:lt({token:i,jwtToken:s,internalAuthTokenProvider:t,headers:d})})}function r({jwtToken:s,token:o,marketplaceModifierId:i,marketplaceModifier:d,headers:p}){return e({url:`/marketplace-modifiers/${i}`,method:"put",headers:lt({token:o,jwtToken:s,internalAuthTokenProvider:t,headers:p}),data:{marketplaceModifier:d}})}return{all:n,get:u,create:a,update:r,remove:c}}Do.exports=ty});var Bo=m((EO,Uo)=>{var{authorizationHeaders:ht}=y();function ry({client:e,internalAuthTokenProvider:t}){function n({token:s,query:o={},headers:i}){return e.get("/mit-terminals",{params:o,headers:ht({token:s,internalAuthTokenProvider:t,headers:i})})}function u({mitTerminalId:s,token:o,headers:i}){return e.get(`/mit-terminals/${s}`,{headers:ht({token:o,internalAuthTokenProvider:t,headers:i})})}function a({jwtToken:s,token:o,mitTerminal:i,headers:d}){return e({url:"/mit-terminals",method:"post",headers:ht({token:o,jwtToken:s,internalAuthTokenProvider:t,headers:d}),data:{mitTerminal:i}})}function c({jwtToken:s,mitTerminalId:o,token:i,headers:d}){return e({url:`/mit-terminals/${o}`,method:"delete",headers:ht({token:i,jwtToken:s,internalAuthTokenProvider:t,headers:d})})}function r({jwtToken:s,token:o,mitTerminalId:i,mitTerminal:d,headers:p}){return e({url:`/mit-terminals/${i}`,method:"put",headers:ht({token:o,jwtToken:s,internalAuthTokenProvider:t,headers:p}),data:{mitTerminal:d}})}return{all:n,get:u,create:a,update:r,remove:c}}Uo.exports=ry});var Mo=m((_O,Lo)=>{var{authorizationHeaders:gt}=y();function sy({client:e,internalAuthTokenProvider:t}){function n({token:s,jwtToken:o,query:i={},headers:d}){return e.get("/mit-terminals-settings",{params:i,headers:gt({token:s,jwtToken:o,internalAuthTokenProvider:t,headers:d})})}function u({id:s,token:o,jwtToken:i,headers:d}){return e.get(`/mit-terminals-settings/${s}`,{headers:gt({token:o,jwtToken:i,internalAuthTokenProvider:t,headers:d})})}function a({jwtToken:s,token:o,mitTerminalSettings:i,headers:d}){return e({url:"/mit-terminals-settings",method:"post",headers:gt({token:o,jwtToken:s,internalAuthTokenProvider:t,headers:d}),data:{mitTerminalSettings:i}})}function c({jwtToken:s,id:o,token:i,headers:d}){return e({url:`/mit-terminals-settings/${o}`,method:"delete",headers:gt({token:i,jwtToken:s,internalAuthTokenProvider:t,headers:d})})}function r({jwtToken:s,token:o,id:i,mitTerminalSettings:d,headers:p}){return e({url:`/mit-terminals-settings/${i}`,method:"put",headers:gt({token:o,jwtToken:s,internalAuthTokenProvider:t,headers:p}),data:{mitTerminalSettings:d}})}return{all:n,get:u,create:a,update:r,remove:c}}Lo.exports=sy});var Vo=m((RO,Io)=>{var{authorizationHeaders:fe}=y();function ay({client:e,internalAuthTokenProvider:t}){function n({token:s,jwtToken:o,query:i={},headers:d}){return e({url:"/operating-companies",params:i,headers:fe({token:s,jwtToken:o,internalAuthTokenProvider:t,headers:d})})}function u({token:s,jwtToken:o,operatingCompany:i,headers:d}){return e({url:"/operating-companies",method:"post",headers:fe({token:s,jwtToken:o,internalAuthTokenProvider:t,headers:d}),data:{operatingCompany:i}})}function a({jwtToken:s,token:o,operatingCompanyId:i,operatingCompany:d,headers:p}){return e({url:`/operating-companies/${i}`,method:"put",headers:fe({token:o,jwtToken:s,internalAuthTokenProvider:t,headers:p}),data:{operatingCompany:d}})}function c({token:s,operatingCompanyId:o,jwtToken:i,headers:d}){return e({url:`/operating-companies/${o}`,method:"get",headers:fe({token:s,internalAuthTokenProvider:t,jwtToken:i,headers:d})})}return{all:n,create:u,update:a,get:c,sequences:{create({jwtToken:s,token:o,operatingCompanyId:i,sequence:d,headers:p}){return e({url:`/operating-companies/${i}/sequences`,method:"post",headers:fe({token:o,jwtToken:s,internalAuthTokenProvider:t,headers:p}),data:d})},all({jwtToken:s,token:o,operatingCompanyId:i,headers:d}){return e({url:`/operating-companies/${i}/sequences`,method:"get",headers:fe({token:o,jwtToken:s,internalAuthTokenProvider:t,headers:d})})},get({jwtToken:s,token:o,operatingCompanyId:i,sequenceId:d,headers:p}){return e({url:`/operating-companies/${i}/sequences/${d}`,method:"get",headers:fe({token:o,jwtToken:s,internalAuthTokenProvider:t,headers:p})})},update({jwtToken:s,token:o,operatingCompanyId:i,sequenceId:d,sequence:p,headers:f}){return e({url:`/operating-companies/${i}/sequences/${d}`,method:"put",headers:fe({token:o,jwtToken:s,internalAuthTokenProvider:t,headers:f}),data:p})}}}}Io.exports=ay});var Wo=m((zO,Ko)=>{var{authorizationHeaders:Me}=y();function oy({client:e,internalAuthTokenProvider:t}){function n({token:o,query:i={},headers:d}){return e({url:"/operation-messages",method:"get",params:i,headers:Me({token:o,internalAuthTokenProvider:t,headers:d})})}function u({token:o,jwtToken:i,opMsgData:d,headers:p}){return e({url:"/operation-messages",method:"post",headers:Me({token:o,jwtToken:i,internalAuthTokenProvider:t,headers:p}),data:d})}function a({token:o,jwtToken:i,operationMessageId:d,opMsgData:p,headers:f}){return e({url:`/operation-messages/${d}`,method:"put",headers:Me({token:o,jwtToken:i,internalAuthTokenProvider:t,headers:f}),data:p})}function c({token:o,operationMessageId:i,headers:d}){return e({url:`/operation-messages/${i}`,method:"get",headers:Me({token:o,internalAuthTokenProvider:t,headers:d})})}function r({jwtToken:o,operationMessageId:i,token:d,headers:p}){return e({url:`/operation-messages/${i}`,method:"delete",headers:Me({token:d,jwtToken:o,internalAuthTokenProvider:t,headers:p})})}function s({token:o,jwtToken:i,opMsgData:d,headers:p}){return e({url:"/operation-messages-stations",method:"post",headers:Me({token:o,jwtToken:i,internalAuthTokenProvider:t,headers:p}),data:d})}return{get:c,all:n,create:u,update:a,remove:r,getByStation:s}}Ko.exports=oy});var Xo=m((HO,Jo)=>{var{authorizationHeaders:yt}=y();function ny({client:e,internalAuthTokenProvider:t}){function n({token:s,jwtToken:o,query:i={},headers:d}){return e({url:"/operation-reasons",method:"get",headers:yt({token:s,jwtToken:o,internalAuthTokenProvider:t,headers:d}),params:i})}function u({token:s,jwtToken:o,id:i,query:d={},headers:p}){return e({url:`/operation-reasons/${i}`,method:"get",headers:yt({token:s,jwtToken:o,internalAuthTokenProvider:t,headers:p}),params:d})}function a({token:s,jwtToken:o,id:i,operationReason:d,query:p={},headers:f}){return e({url:`/operation-reasons/${i}`,method:"put",headers:yt({token:s,jwtToken:o,internalAuthTokenProvider:t,headers:f}),params:p,data:{operationReason:d}})}function c({token:s,jwtToken:o,id:i,query:d={},headers:p}){return e({url:`/operation-reasons/${i}`,method:"delete",headers:yt({token:s,jwtToken:o,internalAuthTokenProvider:t,headers:p}),params:d})}function r({token:s,jwtToken:o,operationReason:i,query:d={},headers:p}){return e({url:"/operation-reasons",method:"post",headers:yt({token:s,jwtToken:o,internalAuthTokenProvider:t,headers:p}),params:d,data:{operationReason:i}})}return{all:n,get:u,update:a,remove:c,create:r}}Jo.exports=ny});var Zo=m((CO,Go)=>{var{authorizationHeaders:ar}=y();function uy({client:e,internalAuthTokenProvider:t}){function n({token:r,query:s={},headers:o}){return e("/parcel-zones",{params:s,headers:ar({token:r,internalAuthTokenProvider:t,headers:o})})}function u({token:r,parcelZone:s,jwtToken:o,headers:i}){return e({url:"/parcel-zones",method:"post",headers:ar({token:r,jwtToken:o,internalAuthTokenProvider:t,headers:i}),data:{parcelZone:s}})}function a({jwtToken:r,token:s,parcelZoneId:o,parcelZone:i,headers:d}){return e({url:`/parcel-zone/${o}`,method:"put",headers:ar({token:s,jwtToken:r,internalAuthTokenProvider:t,headers:d}),data:{parcelZone:i}})}function c({token:r,query:s={},headers:o}){return e.get("/parcel-zones/bucket",{params:s,headers:ar({token:r,internalAuthTokenProvider:t,headers:o})})}return{all:n,create:u,update:a,bucket:c}}Go.exports=uy});var Yo=m((jO,Qo)=>{var{authorizationHeaders:bt}=y();function cy({client:e,internalAuthTokenProvider:t}){function n({token:s,query:o={},headers:i}){return e.get("/payment-terminals",{params:o,headers:bt({token:s,internalAuthTokenProvider:t,headers:i})})}function u({paymentTerminalId:s,token:o,headers:i}){return e.get(`/payment-terminals/${s}`,{headers:bt({token:o,internalAuthTokenProvider:t,headers:i})})}function a({jwtToken:s,token:o,paymentTerminal:i,headers:d}){return e({url:"/payment-terminals",method:"post",headers:bt({token:o,jwtToken:s,internalAuthTokenProvider:t,headers:d}),data:{paymentTerminal:i}})}function c({jwtToken:s,paymentTerminalId:o,token:i,headers:d}){return e({url:`/payment-terminals/${o}`,method:"delete",headers:bt({token:i,jwtToken:s,internalAuthTokenProvider:t,headers:d})})}function r({jwtToken:s,token:o,paymentTerminalId:i,paymentTerminal:d,headers:p}){return e({url:`/payment-terminals/${i}`,method:"put",headers:bt({token:o,jwtToken:s,internalAuthTokenProvider:t,headers:p}),data:{paymentTerminal:d}})}return{all:n,get:u,create:a,update:r,remove:c}}Qo.exports=cy});var Po=m((DO,vo)=>{var{authorizationHeaders:iy}=y();function dy({client:e,internalAuthTokenProvider:t}){function n({token:u,jwtToken:a,query:c={},responseType:r="json",headers:s}){return e.get("/pay-on-accounts",{params:c,responseType:r,headers:iy({token:u,jwtToken:a,internalAuthTokenProvider:t,headers:s})})}return{all:n}}vo.exports=dy});var ko=m((NO,To)=>{var{authorizationHeaders:$t}=y();function py({client:e,internalAuthTokenProvider:t}){function n({token:s,jwtToken:o,query:i={},headers:d}){return e.get("/prisma-terminals",{params:i,headers:$t({token:s,jwtToken:o,internalAuthTokenProvider:t,headers:d})})}function u({prismaTerminalId:s,token:o,jwtToken:i,headers:d}){return e.get(`/prisma-terminals/${s}`,{headers:$t({token:o,jwtToken:i,internalAuthTokenProvider:t,headers:d})})}function a({jwtToken:s,token:o,prismaTerminal:i,headers:d}){return e({url:"/prisma-terminals",method:"post",headers:$t({token:o,jwtToken:s,internalAuthTokenProvider:t,headers:d}),data:{prismaTerminal:i}})}function c({jwtToken:s,prismaTerminalId:o,token:i,headers:d}){return e({url:`/prisma-terminals/${o}`,method:"delete",headers:$t({token:i,jwtToken:s,internalAuthTokenProvider:t,headers:d})})}function r({jwtToken:s,token:o,prismaTerminalId:i,prismaTerminal:d,headers:p}){return e({url:`/prisma-terminals/${i}`,method:"put",headers:$t({token:o,jwtToken:s,internalAuthTokenProvider:t,headers:p}),data:{prismaTerminal:d}})}return{all:n,get:u,create:a,update:r,remove:c}}To.exports=py});var en=m((UO,Ao)=>{var{authorizationHeaders:Ie}=y();function fy({client:e,internalAuthTokenProvider:t}){function n({token:o,query:i={},headers:d}){return e({url:"/products",params:i,headers:Ie({token:o,internalAuthTokenProvider:t,headers:d})})}function u({productId:o,token:i,jwtToken:d,query:p={},headers:f}){return e({url:`/products/${o}`,params:p,headers:Ie({token:i,internalAuthTokenProvider:t,jwtToken:d,headers:f})})}function a({data:o,token:i,jwtToken:d,headers:p}){return e({url:"/products",method:"post",headers:Ie({token:i,jwtToken:d,internalAuthTokenProvider:t,headers:p}),data:o})}function c({productId:o,data:i,token:d,jwtToken:p,headers:f}){return e({url:`/products/${o}`,method:"put",headers:Ie({token:d,jwtToken:p,internalAuthTokenProvider:t,headers:f}),data:i})}return{all:n,get:u,create:a,update:c,families:{all:({token:o,query:i={},headers:d})=>e({url:"/products/families",params:i,headers:Ie({token:o,internalAuthTokenProvider:t,headers:d})})},domains:{remove:({token:o,jwtToken:i,domain:d,headers:p})=>e({url:`/products/domains/${d}`,method:"delete",headers:Ie({token:o,jwtToken:i,internalAuthTokenProvider:t,headers:p})})}}}Ao.exports=fy});var rn=m((BO,tn)=>{var{authorizationHeaders:me}=y();function my({client:e,internalAuthTokenProvider:t}){function n({token:d,jwtToken:p,query:f={},headers:l}){return e.get("/promos",{params:f,headers:me({token:d,jwtToken:p,internalAuthTokenProvider:t,headers:l})})}function u({promoId:d,token:p,jwtToken:f,query:l={},headers:q}){return e.get(`/promos/${d}`,{params:l,headers:me({token:p,jwtToken:f,internalAuthTokenProvider:t,headers:q})})}function a({jwtToken:d,promo:p,token:f,headers:l}){return e({url:"/promos",method:"post",headers:me({token:f,jwtToken:d,internalAuthTokenProvider:t,headers:l}),data:{promo:p}})}function c({jwtToken:d,promoId:p,token:f,headers:l}){return e({url:`/promos/${p}`,method:"delete",headers:me({token:f,jwtToken:d,internalAuthTokenProvider:t,headers:l})})}function r({jwtToken:d,token:p,promoId:f,update:l,headers:q}){return e({url:`/promos/${f}`,method:"patch",headers:me({token:p,jwtToken:d,internalAuthTokenProvider:t,headers:q}),data:{update:l}})}function s({jwtToken:d,token:p,promoId:f,operations:l,headers:q}){return e({url:`/promo/${f}`,method:"patch",headers:me({token:p,jwtToken:d,internalAuthTokenProvider:t,headers:q}),data:{operations:l}})}function o({jwtToken:d,token:p,promoId:f,rule:l,headers:q}){return e({url:`/promos/${f}/rules`,method:"post",headers:me({token:p,jwtToken:d,internalAuthTokenProvider:t,headers:q}),data:{rule:l}})}function i({jwtToken:d,token:p,promoId:f,ruleId:l,rule:q,headers:g}){return e({url:`/promos/${f}/rules/${l}`,method:"put",headers:me({token:p,jwtToken:d,internalAuthTokenProvider:t,headers:g}),data:{rule:q}})}return{all:n,get:u,create:a,update:r,patch:s,remove:c,addRule:o,updateRule:i}}tn.exports=my});var an=m((LO,sn)=>{var{authorizationHeaders:L}=y();function ly({client:e,internalAuthTokenProvider:t}){function n({routeId:g,token:b,query:h={},headers:x}){return e({url:`/routes/${g}`,params:h,headers:L({token:b,internalAuthTokenProvider:t,headers:x})})}function u({token:g,productId:b,originId:h,destinationId:x,channel:w,query:H,headers:M}){let B=Object.assign({},H,{productId:b,originId:h,destinationId:x,channel:w});return e({url:"/routes/prices",params:B,headers:L({token:g,internalAuthTokenProvider:t,headers:M})})}function a({token:g,query:b={},headers:h}){return e.get("/routes",{params:b,headers:L({token:g,internalAuthTokenProvider:t,headers:h})})}function c({token:g,routeId:b,headers:h}){return e({url:`/routes/${b}/stations`,headers:L({token:g,internalAuthTokenProvider:t,headers:h})})}function r({token:g,jwtToken:b,data:h,headers:x}){return e({url:"/routes",method:"post",headers:L({token:g,jwtToken:b,internalAuthTokenProvider:t,headers:x}),data:h})}function s({token:g,jwtToken:b,data:h,routeId:x,headers:w}){return e({url:`/routes/${x}`,method:"put",headers:L({token:g,jwtToken:b,internalAuthTokenProvider:t,headers:w}),data:h})}function o({token:g,jwtToken:b,routeId:h,headers:x}){return e({url:`/routes/${h}`,method:"delete",headers:L({token:g,jwtToken:b,internalAuthTokenProvider:t,headers:x})})}return{get:n,prices:u,all:a,stations:c,create:r,update:s,remove:o,fareTables:{all({token:g,query:b={},headers:h}){return e({url:"/routes/fare-tables",params:b,headers:L({token:g,internalAuthTokenProvider:t,headers:h})})},create({token:g,jwtToken:b,routeId:h,fareTable:x,headers:w}){return e({url:`/routes/${h}/fare-tables`,method:"post",headers:L({token:g,jwtToken:b,internalAuthTokenProvider:t,headers:w}),data:{fareTable:x}})},update({token:g,jwtToken:b,routeId:h,fareTableId:x,fareTable:w,headers:H}){return e({url:`/routes/${h}/fare-tables/${x}`,method:"put",headers:L({token:g,jwtToken:b,internalAuthTokenProvider:t,headers:H}),data:{fareTable:w}})}},stops:{create({token:g,jwtToken:b,routeId:h,stop:x,headers:w}){return e({url:`/routes/${h}/stops`,method:"post",headers:L({token:g,jwtToken:b,internalAuthTokenProvider:t,headers:w}),data:x})}},fareRules:{get({token:g,jwtToken:b,routeId:h,headers:x}){return e({url:`/routes/${h}/fare-rules`,headers:L({token:g,jwtToken:b,internalAuthTokenProvider:t,headers:x})})},create({token:g,jwtToken:b,routeId:h,fareRule:x,headers:w}){return e({url:`/routes/${h}/fare-rules`,method:"post",headers:L({token:g,jwtToken:b,internalAuthTokenProvider:t,headers:w}),data:{fareRule:x}})},update({token:g,jwtToken:b,routeId:h,fareRuleId:x,fareRule:w,headers:H}){return e({url:`/routes/${h}/fare-rules/${x}`,method:"put",headers:L({token:g,jwtToken:b,internalAuthTokenProvider:t,headers:H}),data:{fareRule:w}})},remove({token:g,jwtToken:b,routeId:h,fareRuleId:x,headers:w}){return e({url:`/routes/${h}/fare-rules/${x}`,method:"delete",headers:L({token:g,jwtToken:b,internalAuthTokenProvider:t,headers:w})})}},priceBuckets:{get({token:g,jwtToken:b,routeId:h,headers:x}){return e({url:`/routes/${h}/price-buckets`,headers:L({token:g,jwtToken:b,internalAuthTokenProvider:t,headers:x})})},create({token:g,jwtToken:b,routeId:h,bucket:x,headers:w}){return e({url:`/routes/${h}/price-buckets`,method:"post",headers:L({token:g,jwtToken:b,internalAuthTokenProvider:t,headers:w}),data:{bucket:x}})},update({token:g,jwtToken:b,routeId:h,bucketId:x,bucket:w,headers:H}){return e({url:`/routes/${h}/price-buckets/${x}`,method:"put",headers:L({token:g,jwtToken:b,internalAuthTokenProvider:t,headers:H}),data:{bucket:w}})},remove({token:g,jwtToken:b,routeId:h,bucketId:x,headers:w}){return e({url:`/routes/${h}/price-buckets/${x}`,method:"delete",headers:L({token:g,jwtToken:b,internalAuthTokenProvider:t,headers:w})})}},crossBorderDistances:{get({token:g,jwtToken:b,routeId:h,headers:x}){return e({url:`/routes/${h}/cross-border-distances`,headers:L({token:g,jwtToken:b,internalAuthTokenProvider:t,headers:x})})},update({token:g,jwtToken:b,routeId:h,crossBorderDistances:x,headers:w}){return e({url:`/routes/${h}/cross-border-distances`,method:"put",headers:L({token:g,jwtToken:b,internalAuthTokenProvider:t,headers:w}),data:{crossBorderDistances:x}})}},prorationTables:{all({token:g,jwtToken:b,query:h={},headers:x}){return e({url:"/routes/proration-tables",params:h,headers:L({token:g,jwtToken:b,internalAuthTokenProvider:t,headers:x})})},getByRouteId({token:g,jwtToken:b,routeId:h,productId:x,headers:w}){let H=x?{productId:x}:{};return e({url:`/routes/${h}/proration-tables`,params:H,headers:L({token:g,jwtToken:b,internalAuthTokenProvider:t,headers:w})})},updateByRouteId({token:g,jwtToken:b,routeId:h,prorationTable:x,headers:w}){return e({url:`/routes/${h}/proration-tables`,method:"put",headers:L({token:g,jwtToken:b,internalAuthTokenProvider:t,headers:w}),data:{prorationTable:x}})}}}}sn.exports=ly});var nn=m((MO,on)=>{var{authorizationHeaders:or}=y();function hy({client:e,internalAuthTokenProvider:t}){function n({token:r,jwtToken:s,query:o={},headers:i}){return e.get("/schedule-groups",{params:o,headers:or({token:r,jwtToken:s,internalAuthTokenProvider:t,headers:i})})}function u({token:r,jwtToken:s,scheduleGroupId:o,query:i={},headers:d}){return e.get(`/schedule-groups/${o}`,{params:i,headers:or({token:r,jwtToken:s,internalAuthTokenProvider:t,headers:d})})}function a({token:r,jwtToken:s,scheduleGroup:o,headers:i}){return e({url:"/schedule-groups",method:"post",headers:or({token:r,jwtToken:s,internalAuthTokenProvider:t,headers:i}),data:{scheduleGroup:o}})}function c({token:r,jwtToken:s,scheduleGroupId:o,scheduleGroup:i,headers:d}){return e({url:`/schedule-groups/${o}`,method:"put",headers:or({token:r,jwtToken:s,internalAuthTokenProvider:t,headers:d}),data:{scheduleGroup:i}})}return{all:n,get:u,create:a,update:c}}on.exports=hy});var cn=m((IO,un)=>{var{authorizationHeaders:P}=y();function gy({client:e,internalAuthTokenProvider:t}){function n({token:p,query:f={},headers:l}){return e.get("/routes/schedules",{params:f,headers:P({token:p,internalAuthTokenProvider:t,headers:l})})}function u({token:p,routeId:f,scheduleId:l,headers:q,query:g={}}){return e.get(`/routes/${f}/schedules/${l}`,{params:g,headers:P({token:p,internalAuthTokenProvider:t,headers:q})})}function a({token:p,jwtToken:f,data:l,routeId:q,headers:g}){return e({url:`/routes/${q}/schedules`,method:"post",headers:P({token:p,jwtToken:f,internalAuthTokenProvider:t,headers:g}),data:l})}function c({token:p,jwtToken:f,data:l,routeId:q,headers:g}){return e({url:`/routes/${q}/schedules/validations`,method:"post",headers:P({token:p,jwtToken:f,internalAuthTokenProvider:t,headers:g}),data:l})}function r({token:p,jwtToken:f,data:l,routeId:q,scheduleId:g,headers:b}){return e({url:`/routes/${q}/schedules/${g}/validations`,method:"put",headers:P({token:p,jwtToken:f,internalAuthTokenProvider:t,headers:b}),data:l})}function s({token:p,jwtToken:f,data:l,routeId:q,scheduleId:g,headers:b}){return e({url:`/routes/${q}/schedules/${g}`,method:"put",headers:P({token:p,jwtToken:f,internalAuthTokenProvider:t,headers:b}),data:l})}function o({token:p,jwtToken:f,routeId:l,scheduleId:q,headers:g}){return e({url:`/routes/${l}/schedules/${q}`,method:"delete",headers:P({token:p,jwtToken:f,internalAuthTokenProvider:t,headers:g})})}return{all:n,get:u,create:a,update:s,delete:o,validations:c,runUpdateValidations:r,autoBouncing:{create:({token:p,jwtToken:f,data:l,headers:q})=>e({url:"/routes/schedules/auto-bouncing",method:"post",headers:P({token:p,jwtToken:f,internalAuthTokenProvider:t,headers:q}),data:l}),delete:({token:p,jwtToken:f,routeId:l,parentScheduleId:q,headers:g})=>e({url:`/routes/${l}/schedules/${q}/auto-bouncing`,method:"delete",headers:P({token:p,jwtToken:f,internalAuthTokenProvider:t,headers:g})})},exceptions:{create:({token:p,jwtToken:f,data:l,scheduleId:q,headers:g,query:b={}})=>e({url:`/schedules/${q}/schedule-exceptions`,method:"post",headers:P({token:p,jwtToken:f,internalAuthTokenProvider:t,headers:g}),data:l,params:b}),delete:({token:p,jwtToken:f,scheduleId:l,exceptionId:q,headers:g,query:b={}})=>e({url:`/schedules/${l}/schedule-exceptions/${q}`,method:"delete",headers:P({token:p,jwtToken:f,internalAuthTokenProvider:t,headers:g}),params:b}),update:({token:p,jwtToken:f,data:l,scheduleId:q,exceptionId:g,headers:b,query:h={}})=>e({url:`/schedules/${q}/schedule-exceptions/${g}`,method:"put",headers:P({token:p,jwtToken:f,internalAuthTokenProvider:t,headers:b}),data:l,params:h})}}}un.exports=gy});var pn=m((VO,dn)=>{var{authorizationHeaders:xt}=y();function yy({client:e,internalAuthTokenProvider:t}){function n({token:s,jwtToken:o,query:i={},headers:d}){return e({url:"/seat-classes",method:"get",headers:xt({token:s,jwtToken:o,internalAuthTokenProvider:t,headers:d}),params:i})}function u({token:s,jwtToken:o,id:i,query:d={},headers:p}){return e({url:`/seat-classes/${i}`,method:"get",headers:xt({token:s,jwtToken:o,internalAuthTokenProvider:t,headers:p}),params:d})}function a({token:s,jwtToken:o,id:i,data:d,query:p={},headers:f}){return e({url:`/seat-classes/${i}`,method:"put",headers:xt({token:s,jwtToken:o,internalAuthTokenProvider:t,headers:f}),params:p,data:d})}function c({token:s,jwtToken:o,id:i,query:d={},headers:p}){return e({url:`/seat-classes/${i}`,method:"delete",headers:xt({token:s,jwtToken:o,internalAuthTokenProvider:t,headers:p}),params:d})}function r({token:s,jwtToken:o,data:i,query:d={},headers:p}){return e({url:"/seat-classes",method:"post",headers:xt({token:s,jwtToken:o,internalAuthTokenProvider:t,headers:p}),params:d,data:i})}return{all:n,get:u,update:a,remove:c,create:r}}dn.exports=yy});var mn=m((KO,fn)=>{var{authorizationHeaders:nr}=y();function by({client:e,internalAuthTokenProvider:t}){function n({token:r,query:s={},headers:o}){return e.get("/seat-fees",{params:s,headers:nr({token:r,internalAuthTokenProvider:t,headers:o})})}function u({seatfeeId:r,token:s,headers:o}){return e.get(`/seat-fees/${r}`,{headers:nr({token:s,internalAuthTokenProvider:t,headers:o})})}function a({jwtToken:r,token:s,seatfee:o,headers:i}){return e({url:"/seat-fees",method:"post",headers:nr({token:s,jwtToken:r,internalAuthTokenProvider:t,headers:i}),data:{seatfee:o}})}function c({jwtToken:r,token:s,seatfeeId:o,seatfee:i,headers:d}){return e({url:`/seat-fees/${o}`,method:"put",headers:nr({token:s,jwtToken:r,internalAuthTokenProvider:t,headers:d}),data:{seatfee:i}})}return{all:n,get:u,create:a,update:c}}fn.exports=by});var hn=m((WO,ln)=>{var{authorizationHeaders:Se}=y();function $y({client:e,internalAuthTokenProvider:t}){function n({token:i,query:d={},headers:p}){return e.get("/seatmaps",{params:d,headers:Se({token:i,internalAuthTokenProvider:t,headers:p})})}function u({seatmapId:i,routeId:d,scheduleId:p,manifestDate:f,query:l={},token:q,headers:g}){return e.get(`/seatmaps/${i}/available-seats/${d}/${p}/${f}`,{params:l,headers:Se({token:q,internalAuthTokenProvider:t,headers:g})})}function a({seatmapId:i,token:d,jwtToken:p,query:f={},headers:l}){return e.get(`/seatmaps/${i}`,{params:f,headers:Se({token:d,jwtToken:p,internalAuthTokenProvider:t,headers:l})})}function c({token:i,jwtToken:d,seatmap:p,headers:f}){return e({url:"/seatmaps",method:"post",headers:Se({token:i,jwtToken:d,internalAuthTokenProvider:t,headers:f}),data:{seatmap:p}})}function r({token:i,jwtToken:d,seatmapId:p,seatmap:f,headers:l}){return e({url:`/seatmaps/${p}`,method:"put",headers:Se({token:i,jwtToken:d,internalAuthTokenProvider:t,headers:l}),data:{seatmap:f}})}function s({token:i,jwtToken:d,seatmapId:p,headers:f}){return e({url:`/seatmaps/${p}`,method:"delete",headers:Se({token:i,jwtToken:d,internalAuthTokenProvider:t,headers:f})})}function o({token:i,jwtToken:d,seatmapId:p,query:f={},headers:l}){return e.get(`/seatmaps/${p}/occupied-seats`,{params:f,headers:Se({token:i,jwtToken:d,internalAuthTokenProvider:t,headers:l})})}return{all:n,get:u,getById:a,create:c,remove:s,update:r,getOccupiedSeats:o}}ln.exports=$y});var yn=m((JO,gn)=>{var{authorizationHeaders:qt}=y();function xy({client:e,internalAuthTokenProvider:t}){function n({token:s,jwtToken:o,query:i={},headers:d}){return e.get("/segments-information",{params:i,headers:qt({token:s,jwtToken:o,internalAuthTokenProvider:t,headers:d})})}function u({segmentInformationId:s,token:o,headers:i,jwtToken:d}){return e.get(`/segments-information/${s}`,{headers:qt({token:o,jwtToken:d,internalAuthTokenProvider:t,headers:i})})}function a({jwtToken:s,token:o,segmentInformation:i,headers:d}){return e({url:"/segments-information",method:"post",headers:qt({token:o,jwtToken:s,internalAuthTokenProvider:t,headers:d}),data:{segmentInformation:i}})}function c({jwtToken:s,segmentInformationId:o,token:i,headers:d}){return e({url:`/segments-information/${o}`,method:"delete",headers:qt({token:i,jwtToken:s,internalAuthTokenProvider:t,headers:d})})}function r({jwtToken:s,token:o,segmentInformationId:i,segmentInformation:d,headers:p}){return e({url:`/segments-information/${i}`,method:"put",headers:qt({token:o,jwtToken:s,internalAuthTokenProvider:t,headers:p}),data:{segmentInformation:d}})}return{all:n,get:u,create:a,update:r,remove:c}}gn.exports=xy});var $n=m((XO,bn)=>{var{authorizationHeaders:ur}=y();function qy({client:e,internalAuthTokenProvider:t}){function n({token:r,jwtToken:s,query:o={},headers:i}){return e({url:"/service-numbers",params:o,headers:ur({token:r,jwtToken:s,internalAuthTokenProvider:t,headers:i})})}function u({token:r,jwtToken:s,serviceNumber:o,headers:i}){return e({url:"/service-numbers",method:"post",headers:ur({token:r,jwtToken:s,internalAuthTokenProvider:t,headers:i}),data:{serviceNumber:o}})}function a({jwtToken:r,token:s,serviceNumberId:o,serviceNumber:i,headers:d}){return e({url:`/service-numbers/${o}`,method:"put",headers:ur({token:s,jwtToken:r,internalAuthTokenProvider:t,headers:d}),data:{serviceNumber:i}})}function c({token:r,serviceNumberId:s,jwtToken:o,headers:i}){return e({url:`/service-numbers/${s}`,method:"get",headers:ur({token:r,internalAuthTokenProvider:t,jwtToken:o,headers:i})})}return{all:n,create:u,update:a,get:c}}bn.exports=qy});var qn=m((GO,xn)=>{var{authorizationHeaders:wt}=y();function wy({client:e,internalAuthTokenProvider:t}){function n({token:s,query:o={},headers:i}){return e.get("/service-types",{params:o,headers:wt({token:s,internalAuthTokenProvider:t,headers:i})})}function u({serviceTypeId:s,token:o,headers:i}){return e.get(`/service-types/${s}`,{headers:wt({token:o,internalAuthTokenProvider:t,headers:i})})}function a({jwtToken:s,token:o,serviceType:i,headers:d}){return e({url:"/service-types",method:"post",headers:wt({token:o,jwtToken:s,internalAuthTokenProvider:t,headers:d}),data:{serviceType:i}})}function c({jwtToken:s,serviceTypeId:o,token:i,headers:d}){return e({url:`/service-types/${o}`,method:"delete",headers:wt({token:i,jwtToken:s,internalAuthTokenProvider:t,headers:d})})}function r({jwtToken:s,token:o,serviceTypeId:i,serviceType:d,headers:p}){return e({url:`/service-types/${i}`,method:"put",headers:wt({token:o,jwtToken:s,internalAuthTokenProvider:t,headers:p}),data:{serviceType:d}})}return{all:n,get:u,create:a,update:r,remove:c}}xn.exports=wy});var On=m((ZO,wn)=>{var{authorizationHeaders:Oy}=y();function Fy({client:e,internalAuthTokenProvider:t}){function n({token:u,query:a={},headers:c}){return e.get("/ssrs",{params:a,headers:Oy({token:u,internalAuthTokenProvider:t,headers:c})})}return{all:n}}wn.exports=Fy});var Sn=m((QO,Fn)=>{var{authorizationHeaders:Ot}=y();function Sy({client:e,internalAuthTokenProvider:t}){function n({token:s,jwtToken:o,query:i={},headers:d}){return e({url:"/station-classes",method:"get",headers:Ot({token:s,jwtToken:o,internalAuthTokenProvider:t,headers:d}),params:i})}function u({token:s,jwtToken:o,stationClassId:i,query:d={},headers:p}){return e({url:`/station-classes/${i}`,method:"get",headers:Ot({token:s,jwtToken:o,internalAuthTokenProvider:t,headers:p}),params:d})}function a({token:s,jwtToken:o,stationClassId:i,data:d,headers:p}){return e({url:`/station-classes/${i}`,method:"put",headers:Ot({token:s,jwtToken:o,internalAuthTokenProvider:t,headers:p}),data:d})}function c({token:s,jwtToken:o,stationClassId:i,headers:d}){return e({url:`/station-classes/${i}`,method:"delete",headers:Ot({token:s,jwtToken:o,internalAuthTokenProvider:t,headers:d})})}function r({token:s,jwtToken:o,data:i,headers:d}){return e({url:"/station-classes",method:"post",headers:Ot({token:s,jwtToken:o,internalAuthTokenProvider:t,headers:d}),data:i})}return{all:n,get:u,update:a,remove:c,create:r}}Fn.exports=Sy});var _n=m((YO,En)=>{var{authorizationHeaders:Ey}=y();function _y({client:e,internalAuthTokenProvider:t}){function n({token:u,query:a={},headers:c}){return e.get("/station-groups",{params:a,headers:Ey({token:u,internalAuthTokenProvider:t,headers:c})})}return{all:n}}En.exports=_y});var zn=m((vO,Rn)=>{var{authorizationHeaders:cr}=y();function Ry({client:e,internalAuthTokenProvider:t}){function n({token:r,id:s,headers:o}){return e.get(`/stations/${s}`,{headers:cr({token:r,internalAuthTokenProvider:t,headers:o})})}function u({token:r,query:s={},headers:o}){return e.get("/stations",{params:s,headers:cr({token:r,internalAuthTokenProvider:t,headers:o})})}function a({token:r,jwtToken:s,data:o,headers:i}){return e({url:"/stations",method:"post",headers:cr({token:r,jwtToken:s,internalAuthTokenProvider:t,headers:i}),data:{station:o}})}function c({token:r,jwtToken:s,stationId:o,station:i,headers:d}){return e({url:`/station/${o}`,method:"put",headers:cr({token:r,jwtToken:s,internalAuthTokenProvider:t,headers:d}),data:{station:i}})}return{get:n,all:u,create:a,update:c}}Rn.exports=Ry});var Cn=m((PO,Hn)=>{var{authorizationHeaders:zy}=y();function Hy({client:e,internalAuthTokenProvider:t}){function n({token:u,query:a={},headers:c}){return e({url:"/stations/provinces",params:a,headers:zy({token:u,internalAuthTokenProvider:t,headers:c})})}return{all:n}}Hn.exports=Hy});var Dn=m((TO,jn)=>{var{authorizationHeaders:Cy}=y();function jy({client:e,internalAuthTokenProvider:t}){function n({token:u,query:a={},headers:c}){return e.get("/stations/zones",{params:a,headers:Cy({token:u,internalAuthTokenProvider:t,headers:c})})}return{get:n}}jn.exports=jy});var Un=m((kO,Nn)=>{var{authorizationHeaders:ne}=y();function Dy({client:e,internalAuthTokenProvider:t}){function n({token:s,query:o={},headers:i}){return e.get("/taxes",{params:o,headers:ne({token:s,internalAuthTokenProvider:t,headers:i})})}function u({taxId:s,token:o,query:i={},headers:d}){return e.get(`/taxes/${s}`,{params:i,headers:ne({token:o,internalAuthTokenProvider:t,headers:d})})}function a({jwtToken:s,tax:o,token:i,headers:d}){return e({url:"/taxes",method:"post",headers:ne({token:i,jwtToken:s,internalAuthTokenProvider:t,headers:d}),data:{tax:o}})}function c({jwtToken:s,token:o,taxId:i,tax:d,headers:p}){return e({url:`/taxes/${i}`,method:"put",headers:ne({token:o,jwtToken:s,internalAuthTokenProvider:t,headers:p}),data:{tax:d}})}return{all:n,get:u,create:a,update:c,exceptions:{create({jwtToken:s,token:o,taxException:i,headers:d}){return e({url:"/taxes/exceptions",method:"post",headers:ne({token:o,jwtToken:s,internalAuthTokenProvider:t,headers:d}),data:{taxException:i}})},update({jwtToken:s,token:o,taxExceptionId:i,taxException:d,headers:p}){return e({url:`/taxes/exceptions/${i}`,method:"put",headers:ne({token:o,jwtToken:s,internalAuthTokenProvider:t,headers:p}),data:{taxException:d}})},get({jwtToken:s,token:o,taxExceptionId:i,headers:d}){return e({url:`/taxes/exceptions/${i}`,headers:ne({token:o,jwtToken:s,internalAuthTokenProvider:t,headers:d})})},all({jwtToken:s,token:o,query:i={},headers:d}){return e({url:"/taxes/exceptions",params:i,headers:ne({token:o,jwtToken:s,internalAuthTokenProvider:t,headers:d})})},delete({jwtToken:s,token:o,taxExceptionId:i,headers:d}){return e({url:`/taxes/exceptions/${i}`,method:"delete",headers:ne({token:o,jwtToken:s,internalAuthTokenProvider:t,headers:d})})}}}}Nn.exports=Dy});var Ln=m((AO,Bn)=>{var{authorizationHeaders:ir}=y();function Ny({client:e,internalAuthTokenProvider:t}){function n({token:r,jwtToken:s,query:o={},headers:i}){return e({url:"/traveller-card-providers",params:o,headers:ir({token:r,jwtToken:s,internalAuthTokenProvider:t,headers:i})})}function u({token:r,jwtToken:s,travellerCardProvider:o,headers:i}){return e({url:"/traveller-card-providers",method:"post",headers:ir({token:r,jwtToken:s,internalAuthTokenProvider:t,headers:i}),data:{travellerCardProvider:o}})}function a({jwtToken:r,token:s,travellerCardProviderId:o,travellerCardProvider:i,headers:d}){return e({url:`/traveller-card-providers/${o}`,method:"put",headers:ir({token:s,jwtToken:r,internalAuthTokenProvider:t,headers:d}),data:{travellerCardProvider:i}})}function c({token:r,travellerCardProviderId:s,jwtToken:o,headers:i}){return e({url:`/traveller-card-providers/${s}`,method:"get",headers:ir({token:r,internalAuthTokenProvider:t,jwtToken:o,headers:i})})}return{all:n,create:u,update:a,get:c}}Bn.exports=Ny});var In=m((eF,Mn)=>{var{authorizationHeaders:Uy}=y();function By({client:e,internalAuthTokenProvider:t}){function n({token:u,jwtToken:a,headers:c}){return e.get("/traveller-card-providers/types",{headers:Uy({token:u,jwtToken:a,internalAuthTokenProvider:t,headers:c})})}return{all:n}}Mn.exports=By});var Kn=m((tF,Vn)=>{var{authorizationHeaders:Ft}=y();function Ly({client:e,internalAuthTokenProvider:t}){function n({token:s,jwtToken:o,query:i={},headers:d}){return e({url:"/traveller-card-types",params:i,headers:Ft({token:s,jwtToken:o,internalAuthTokenProvider:t,headers:d})})}function u({token:s,jwtToken:o,travellerCardType:i,headers:d}){return e({url:"/traveller-card-types",method:"post",headers:Ft({token:s,jwtToken:o,internalAuthTokenProvider:t,headers:d}),data:{travellerCardType:i}})}function a({jwtToken:s,token:o,travellerCardTypeId:i,travellerCardType:d,headers:p}){return e({url:`/traveller-card-types/${i}`,method:"put",headers:Ft({token:o,jwtToken:s,internalAuthTokenProvider:t,headers:p}),data:{travellerCardType:d}})}function c({token:s,travellerCardTypeId:o,jwtToken:i,headers:d}){return e({url:`/traveller-card-types/${o}`,method:"get",headers:Ft({token:s,internalAuthTokenProvider:t,jwtToken:i,headers:d})})}function r({token:s,travellerCardTypeId:o,jwtToken:i,headers:d}){return e({url:`/traveller-card-types/${o}`,method:"delete",headers:Ft({token:s,internalAuthTokenProvider:t,jwtToken:i,headers:d})})}return{all:n,create:u,update:a,get:c,remove:r}}Vn.exports=Ly});var Jn=m((rF,Wn)=>{var{authorizationHeaders:dr}=y();function My({client:e,internalAuthTokenProvider:t}){function n({token:r,jwtToken:s,query:o={},headers:i}){return e.get("/travel-routes",{params:o,headers:dr({token:r,jwtToken:s,internalAuthTokenProvider:t,headers:i})})}function u({travelRouteId:r,jwtToken:s,token:o,headers:i}){return e.get(`/travel-routes/${r}`,{headers:dr({token:o,jwtToken:s,internalAuthTokenProvider:t,headers:i})})}function a({jwtToken:r,token:s,travelRoute:o,headers:i}){return e({url:"/travel-routes",method:"post",headers:dr({token:s,jwtToken:r,internalAuthTokenProvider:t,headers:i}),data:{travelRoute:o}})}function c({jwtToken:r,token:s,travelRouteId:o,travelRoute:i,headers:d}){return e({url:`/travel-routes/${o}`,method:"put",headers:dr({token:s,jwtToken:r,internalAuthTokenProvider:t,headers:d}),data:{travelRoute:i}})}return{all:n,get:u,create:a,update:c}}Wn.exports=My});var Gn=m((sF,Xn)=>{var{authorizationHeaders:Iy}=y();function Vy({client:e,internalAuthTokenProvider:t}){function n({token:u,jwtToken:a,headers:c}){return e.get("/vehicle-types",{headers:Iy({token:u,jwtToken:a,internalAuthTokenProvider:t,headers:c})})}return{all:n}}Xn.exports=Vy});var Qn=m((aF,Zn)=>{var{authorizationHeaders:Ee}=y();function Ky({client:e,internalAuthTokenProvider:t}){function n({token:o,jwtToken:i,query:d={},headers:p}){return e.get("/vehicles",{params:d,headers:Ee({token:o,jwtToken:i,internalAuthTokenProvider:t,headers:p})})}function u({vehicleId:o,token:i,jwtToken:d,headers:p}){return e.get(`/vehicles/${o}`,{headers:Ee({token:i,jwtToken:d,internalAuthTokenProvider:t,headers:p})})}function a({jwtToken:o,token:i,vehicle:d,headers:p}){return e({url:"/vehicles",method:"post",headers:Ee({token:i,jwtToken:o,internalAuthTokenProvider:t,headers:p}),data:{vehicle:d}})}function c({jwtToken:o,vehicleId:i,token:d,headers:p}){return e({url:`/vehicles/${i}`,method:"delete",headers:Ee({token:d,jwtToken:o,internalAuthTokenProvider:t,headers:p})})}function r({jwtToken:o,token:i,vehicleId:d,vehicle:p,headers:f}){return e({url:`/vehicles/${d}`,method:"put",headers:Ee({token:i,jwtToken:o,internalAuthTokenProvider:t,headers:f}),data:{vehicle:p}})}return{all:n,get:u,create:a,update:r,remove:c,seatmaps:{create({jwtToken:o,token:i,vehicleId:d,seatmap:p,headers:f,newdesign:l}){return e({url:`/vehicles/${d}/seatmaps`,method:"post",headers:Ee({token:i,jwtToken:o,internalAuthTokenProvider:t,headers:f}),data:{seatmap:p,newdesign:l||!1}})},remove({jwtToken:o,vehicleId:i,seatMapId:d,token:p,headers:f,newdesign:l}){return e({url:`/vehicles/${i}/seatmaps/${d}`,method:"delete",headers:Ee({token:p,jwtToken:o,internalAuthTokenProvider:t,headers:f}),data:{newdesign:l||!1}})}}}}Zn.exports=Ky});var vn=m((oF,Yn)=>{var{authorizationHeaders:St}=y();function Wy({client:e,internalAuthTokenProvider:t}){function n({token:s,query:o={},headers:i}){return e.get("/zone-price-overages",{params:o,headers:St({token:s,internalAuthTokenProvider:t,headers:i})})}function u({zonePriceOverageId:s,token:o,headers:i}){return e.get(`/zone-price-overages/${s}`,{headers:St({token:o,internalAuthTokenProvider:t,headers:i})})}function a({jwtToken:s,token:o,zonePriceOverages:i,headers:d}){return e({url:"/zone-price-overages",method:"post",headers:St({token:o,jwtToken:s,internalAuthTokenProvider:t,headers:d}),data:{zonePriceOverages:i}})}function c({jwtToken:s,zonePriceOverageId:o,token:i,headers:d}){return e({url:`/zone-price-overages/${o}`,method:"delete",headers:St({token:i,jwtToken:s,internalAuthTokenProvider:t,headers:d})})}function r({jwtToken:s,token:o,zonePriceOverageId:i,zonePriceOverages:d,headers:p}){return e({url:`/zone-price-overages/${i}`,method:"put",headers:St({token:o,jwtToken:s,internalAuthTokenProvider:t,headers:p}),data:{zonePriceOverages:d}})}return{all:n,get:u,create:a,update:r,remove:c}}Yn.exports=Wy});var Tn=m((nF,Pn)=>{var{authorizationHeaders:Ve}=y();function Jy({client:e,internalAuthTokenProvider:t}){function n({token:o,query:i={},headers:d}){return e.get("/zone-prices",{params:i,headers:Ve({token:o,internalAuthTokenProvider:t,headers:d})})}function u({zonePriceId:o,token:i,headers:d}){return e.get(`/zone-prices/${o}`,{headers:Ve({token:i,internalAuthTokenProvider:t,headers:d})})}function a({jwtToken:o,token:i,zonePrice:d,headers:p}){return e({url:"/zone-prices",method:"post",headers:Ve({token:i,jwtToken:o,internalAuthTokenProvider:t,headers:p}),data:{zonePrice:d}})}function c({jwtToken:o,zonePriceId:i,token:d,headers:p}){return e({url:`/zone-prices/${i}`,method:"delete",headers:Ve({token:d,jwtToken:o,internalAuthTokenProvider:t,headers:p})})}function r({jwtToken:o,token:i,zonePriceId:d,zonePrice:p,headers:f}){return e({url:`/zone-prices/${d}`,method:"put",headers:Ve({token:i,jwtToken:o,internalAuthTokenProvider:t,headers:f}),data:{zonePrice:p}})}function s({jwtToken:o,token:i,payload:d,headers:p}){return e({url:"/zone-prices-for-parcels",method:"post",headers:Ve({token:i,jwtToken:o,internalAuthTokenProvider:t,headers:p}),data:d})}return{all:n,get:u,create:a,update:r,remove:c,forParcels:s}}Pn.exports=Jy});var An=m((uF,kn)=>{var{authorizationHeaders:Et}=y();function Xy({client:e,internalAuthTokenProvider:t}){function n({token:s,jwtToken:o,query:i={},headers:d}){return e({url:"/regions",method:"get",headers:Et({token:s,jwtToken:o,internalAuthTokenProvider:t,headers:d}),params:i})}function u({token:s,jwtToken:o,regionId:i,headers:d}){return e({url:`/regions/${i}`,method:"get",headers:Et({token:s,jwtToken:o,internalAuthTokenProvider:t,headers:d})})}function a({token:s,jwtToken:o,regionId:i,data:d,headers:p}){return e({url:`/regions/${i}`,method:"put",headers:Et({token:s,jwtToken:o,internalAuthTokenProvider:t,headers:p}),data:d})}function c({token:s,jwtToken:o,regionId:i,headers:d}){return e({url:`/regions/${i}`,method:"delete",headers:Et({token:s,jwtToken:o,internalAuthTokenProvider:t,headers:d})})}function r({token:s,jwtToken:o,data:i,headers:d}){return e({url:"/regions",method:"post",headers:Et({token:s,jwtToken:o,internalAuthTokenProvider:t,headers:d}),data:i})}return{all:n,get:u,update:a,remove:c,create:r}}kn.exports=Xy});var tu=m((cF,eu)=>{var{authorizationHeaders:Zr}=y();function Gy({client:e,internalAuthTokenProvider:t}){function n({token:c,jwtToken:r,query:s={},headers:o}){return e({url:"/trips",method:"get",params:s,headers:Zr({token:c,jwtToken:r,internalAuthTokenProvider:t,headers:o})})}function u({token:c,jwtToken:r,id:s,query:o={},headers:i}){return e({url:`/trip/${s}`,method:"get",params:o,headers:Zr({token:c,jwtToken:r,internalAuthTokenProvider:t,headers:i})})}function a({token:c,jwtToken:r,query:s={},headers:o}){return e({url:"/trips/pricing-simulation",method:"get",params:s,headers:Zr({token:c,jwtToken:r,internalAuthTokenProvider:t,headers:o})})}return{all:n,get:u,getPricingSimulation:a}}eu.exports=Gy});var su=m((iF,ru)=>{var{authorizationHeaders:Zy}=y();function Qy({client:e,internalAuthTokenProvider:t}){function n({token:u,jwtToken:a,data:c,headers:r}){return e({url:"/direct-trip-ids",method:"post",data:c,headers:Zy({token:u,jwtToken:a,internalAuthTokenProvider:t,headers:r})})}return{create:n}}ru.exports=Qy});var ou=m((dF,au)=>{var{authorizationHeaders:Yy}=y();function vy({client:e,internalAuthTokenProvider:t}){function n({token:u,jwtToken:a,routeId:c,query:r={},headers:s}){return e({url:`/segments-information-tables/${c}`,method:"get",params:r,headers:Yy({token:u,jwtToken:a,internalAuthTokenProvider:t,headers:s})})}return{get:n}}au.exports=vy});var uu=m((pF,nu)=>{function Py({client:e}){function t(){return e.get("/api-docs-v2",{})}return{get:t}}nu.exports=Py});var iu=m((fF,cu)=>{function Ty({client:e}){function t({headers:n}={}){return e({url:"/healthcheck",method:"get",headers:n||{}})}return{get:t}}cu.exports=Ty});var pu=m((mF,du)=>{function ky({client:e}){function t({headers:n}={}){return e({url:"/info",headers:n||{}})}return{get:t}}du.exports=ky});var mu=m((lF,fu)=>{var{authorizationHeaders:Ay}=y();function eb({client:e,internalAuthTokenProvider:t}){function n({token:u,query:a={},headers:c}){return e({url:"/paths",params:a,headers:Ay({token:u,internalAuthTokenProvider:t,headers:c})})}return{all:n}}fu.exports=eb});var hu=m((hF,lu)=>{var{authorizationHeaders:tb}=y();function rb({client:e,internalAuthTokenProvider:t}){function n({token:u,jwtToken:a,routeId:c,productId:r,headers:s}){return e({url:`/coltrane/routes/${c}/merged-fare-tables/${r}`,headers:tb({token:u,jwtToken:a,internalAuthTokenProvider:t,headers:s})})}return{get:n}}lu.exports=rb});var bu=m((gF,yu)=>{var{authorizationHeaders:gu}=y();function sb({client:e,internalAuthTokenProvider:t}){function n({jwtToken:a,accountId:c,headers:r}){return e({url:`/accounts/${c}`,headers:gu({jwtToken:a,internalAuthTokenProvider:t,headers:r})})}return{get:n,defaultUsers:{create({token:a,jwtToken:c,accountId:r,data:s,headers:o}){return e({url:`/accounts/${r}/default-users`,method:"post",headers:gu({token:a,jwtToken:c,internalAuthTokenProvider:t,headers:o}),data:s})}}}}yu.exports=sb});var xu=m((yF,$u)=>{var{authorizationHeaders:Qr}=y();function ab({client:e,internalAuthTokenProvider:t}){function n({token:c,jwtToken:r,agency:s,headers:o}){return e({url:"/agencies",method:"post",headers:Qr({token:c,jwtToken:r,internalAuthTokenProvider:t,headers:o}),data:{agency:s}})}function u({token:c,jwtToken:r,agencyId:s,agency:o,headers:i}){return e({url:`/agencies/${s}`,method:"put",headers:Qr({token:c,jwtToken:r,internalAuthTokenProvider:t,headers:i}),data:{agency:o}})}function a({token:c,jwtToken:r,agencyId:s,data:o,headers:i}){return e({url:`/agencies/${s}/credit-limit`,method:"put",headers:Qr({token:c,jwtToken:r,internalAuthTokenProvider:t,headers:i}),data:o})}return{create:n,update:u,putCreditLimit:a}}$u.exports=ab});var wu=m((bF,qu)=>{var{authorizationHeaders:_t}=y();function ob({client:e,internalAuthTokenProvider:t}){function n({token:s,jwtToken:o,query:i={},headers:d}){return e.get("/agency-types",{params:i,headers:_t({token:s,jwtToken:o,internalAuthTokenProvider:t,headers:d})})}function u({token:s,jwtToken:o,agencyTypeId:i,headers:d}){return e({url:`/agency-types/${i}`,headers:_t({token:s,jwtToken:o,internalAuthTokenProvider:t,headers:d})})}function a({token:s,jwtToken:o,agencyType:i,headers:d}){return e({url:"/agency-types",method:"post",headers:_t({token:s,jwtToken:o,internalAuthTokenProvider:t,headers:d}),data:{agencyType:i}})}function c({token:s,jwtToken:o,agencyTypeId:i,agencyType:d,headers:p}){return e({url:`/agency-types/${i}`,method:"put",headers:_t({token:s,jwtToken:o,internalAuthTokenProvider:t,headers:p}),data:{agencyType:d}})}function r({token:s,jwtToken:o,agencyTypeId:i,headers:d}){return e({url:`/agency-types/${i}`,method:"delete",headers:_t({token:s,jwtToken:o,internalAuthTokenProvider:t,headers:d})})}return{all:n,get:u,create:a,update:c,remove:r}}qu.exports=ob});var Fu=m(($F,Ou)=>{var{authorizationHeaders:nb}=y();function ub({client:e,internalAuthTokenProvider:t}){function n({token:u,jwtToken:a,headers:c}){return e.get("/application",{headers:nb({token:u,jwtToken:a,internalAuthTokenProvider:t,headers:c})})}return{get:n}}Ou.exports=ub});var _u=m((xF,Eu)=>{var{authorizationHeaders:Su}=y();function cb({client:e,internalAuthTokenProvider:t}){function n({token:a,id:c,jwtToken:r,headers:s}){return e.get(`/applications/${c}`,{headers:Su({token:a,jwtToken:r,internalAuthTokenProvider:t,headers:s})})}function u({token:a,appName:c,jwtToken:r,headers:s}){return e.get(`/applications/name/${c}`,{headers:Su({token:a,jwtToken:r,internalAuthTokenProvider:t,headers:s})})}return{get:n,getByName:u}}Eu.exports=cb});var zu=m((qF,Ru)=>{var{authorizationHeaders:Rt}=y();function ib({client:e,internalAuthTokenProvider:t}){function n({token:s,providerId:o,jwtToken:i,query:d={},headers:p}){return e.get(`/application-settings/${o}`,{headers:Rt({token:s,jwtToken:i,internalAuthTokenProvider:t,headers:p}),params:d})}function u({jwtToken:s,token:o,id:i,application:d,headers:p}){return e({url:`/application-settings/${i}`,method:"put",headers:Rt({token:o,jwtToken:s,internalAuthTokenProvider:t,headers:p}),data:{application:d}})}function a({jwtToken:s,token:o,id:i,headers:d}){return e({url:`/application-settings/${i}`,method:"delete",headers:Rt({token:o,jwtToken:s,internalAuthTokenProvider:t,headers:d})})}function c({jwtToken:s,token:o,id:i,headers:d}){return e({url:`/application-settings/${i}/keys`,method:"post",headers:Rt({token:o,jwtToken:s,internalAuthTokenProvider:t,headers:d})})}function r({jwtToken:s,token:o,application:i,headers:d}){return e({url:"/application-settings",method:"post",headers:Rt({token:o,jwtToken:s,internalAuthTokenProvider:t,headers:d}),data:{application:i}})}return{get:n,update:u,remove:a,regenerateKeys:c,create:r}}Ru.exports=ib});var Hu=m((pr,zt)=>{(function(e){var t=typeof pr=="object"&&pr,n=typeof zt=="object"&&zt&&zt.exports==t&&zt,u=typeof global=="object"&&global;(u.global===u||u.window===u)&&(e=u);var a=function(f){this.message=f};a.prototype=new Error,a.prototype.name="InvalidCharacterError";var c=function(f){throw new a(f)},r="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",s=/[\t\n\f\r ]/g,o=function(f){f=String(f).replace(s,"");var l=f.length;l%4==0&&(f=f.replace(/==?$/,""),l=f.length),(l%4==1||/[^+a-zA-Z0-9/]/.test(f))&&c("Invalid character: the string to be decoded is not correctly encoded.");for(var q=0,g,b,h="",x=-1;++x<l;)b=r.indexOf(f.charAt(x)),g=q%4?g*64+b:b,q++%4&&(h+=String.fromCharCode(255&g>>(-2*q&6)));return h},i=function(f){f=String(f),/[^\0-\xFF]/.test(f)&&c("The string to be encoded contains characters outside of the Latin1 range.");for(var l=f.length%3,q="",g=-1,b,h,x,w,H=f.length-l;++g<H;)b=f.charCodeAt(g)<<16,h=f.charCodeAt(++g)<<8,x=f.charCodeAt(++g),w=b+h+x,q+=r.charAt(w>>18&63)+r.charAt(w>>12&63)+r.charAt(w>>6&63)+r.charAt(w&63);return l==2?(b=f.charCodeAt(g)<<8,h=f.charCodeAt(++g),w=b+h,q+=r.charAt(w>>10)+r.charAt(w>>4&63)+r.charAt(w<<2&63)+"="):l==1&&(w=f.charCodeAt(g),q+=r.charAt(w>>2)+r.charAt(w<<4&63)+"=="),q},d={encode:i,decode:o,version:"1.0.0"};if(typeof define=="function"&&typeof define.amd=="object"&&define.amd)define(function(){return d});else if(t&&!t.nodeType)if(n)n.exports=d;else for(var p in d)d.hasOwnProperty(p)&&(t[p]=d[p]);else e.base64=d})(pr)});var Nu=m((wF,Du)=>{function Cu(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var u=Object.getOwnPropertySymbols(e);t&&(u=u.filter(function(a){return Object.getOwnPropertyDescriptor(e,a).enumerable})),n.push.apply(n,u)}return n}function ju(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?Cu(Object(n),!0).forEach(function(u){db(e,u,n[u])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Cu(Object(n)).forEach(function(u){Object.defineProperty(e,u,Object.getOwnPropertyDescriptor(n,u))})}return e}function db(e,t,n){return(t=pb(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function pb(e){var t=fb(e,"string");return typeof t=="symbol"?t:t+""}function fb(e,t){if(typeof e!="object"||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var u=n.call(e,t||"default");if(typeof u!="object")return u;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}var mb=Hu(),{authorizationHeaders:_e}=y();function lb({client:e,internalAuthTokenProvider:t}){function n({customerId:d,customer:p,token:f,jwtToken:l,headers:q}){return e({url:`/customers/${d}`,method:"put",headers:_e({token:f,jwtToken:l,internalAuthTokenProvider:t,headers:q}),data:p})}function u({token:d,jwtToken:p,query:f={},headers:l,providerId:q}){let g=q?ju(ju({},f),{},{providerId:q}):f;return e({url:"/customers",params:g,headers:_e({token:d,jwtToken:p,internalAuthTokenProvider:t,headers:l})})}function a({customerId:d,token:p,jwtToken:f,headers:l}){return e({url:`/customers/${d}`,headers:_e({token:p,jwtToken:f,internalAuthTokenProvider:t,headers:l})})}function c({customer:d,token:p,jwtToken:f,query:l,headers:q}){return e({url:"/customer",method:"post",headers:_e({token:p,jwtToken:f,internalAuthTokenProvider:t,headers:q}),data:{customer:d},params:l})}function r({email:d,password:p,apiKey:f}){let q={Authorization:`Basic ${mb.encode(`${d}:${p}`)}`},g={};return g["x-api-key"]=f,e({url:"/customers",method:"post",params:g,headers:q,data:{}})}function s({service:d,ticket:p,token:f,headers:l}){return e({url:"/customers/cas",headers:_e({token:f,internalAuthTokenProvider:t,headers:l}),method:"post",data:{service:d,ticket:p}})}function o({customerId:d,token:p,jwtToken:f,data:l,query:q,headers:g}){return e({url:`/customers/${d}`,method:"patch",params:q,headers:_e({token:p,jwtToken:f,internalAuthTokenProvider:t,headers:g}),data:l})}function i({destinationCustomerId:d,sourceCustomerIds:p,jwtToken:f,token:l}){return e({url:"/customers/merge",method:"post",headers:_e({token:l,jwtToken:f,internalAuthTokenProvider:t}),data:{destinationCustomerId:d,sourceCustomerIds:p}})}return{put:n,all:u,get:a,create:c,signIn:r,signInCas:s,update:o,merge:i}}Du.exports=lb});var Lu=m((OF,Bu)=>{var{authorizationHeaders:Uu}=y();function hb({client:e,internalAuthTokenProvider:t}){function n({token:a,jwtToken:c,headers:r}){return e({url:"/control-classes-settings",headers:Uu({token:a,jwtToken:c,internalAuthTokenProvider:t,headers:r})})}function u({token:a,jwtToken:c,controlClassesSettings:r,headers:s}){return e({url:"/control-classes-settings",method:"put",headers:Uu({token:a,jwtToken:c,internalAuthTokenProvider:t,headers:s}),data:r})}return{get:n,put:u}}Bu.exports=hb});var Iu=m((FF,Mu)=>{var{authorizationHeaders:gb}=y();function yb({client:e,internalAuthTokenProvider:t}){function n({token:u,userId:a,query:c={},headers:r}){return e.get(`/users/${a}/current-shift`,{headers:gb({token:u,internalAuthTokenProvider:t,headers:r}),params:c})}return{get:n}}Mu.exports=yb});var Ku=m((SF,Vu)=>{function bb({client:e}){function t(){return e.get("/api-docs-v2",{})}return{get:t}}Vu.exports=bb});var Ju=m((EF,Wu)=>{var{authorizationHeaders:Yr}=y();function $b({client:e,internalAuthTokenProvider:t}){function n({token:c,query:r={},headers:s}){return e({params:r,url:"/domains",headers:Yr({token:c,internalAuthTokenProvider:t,headers:s})})}function u({data:c,token:r,jwtToken:s,headers:o}){return e({url:"/domains",method:"post",headers:Yr({token:r,jwtToken:s,internalAuthTokenProvider:t,headers:o}),data:c})}function a({domain:c,token:r,jwtToken:s,headers:o}){return e({url:`/domains/${c}`,method:"delete",headers:Yr({token:r,jwtToken:s,internalAuthTokenProvider:t,headers:o})})}return{all:n,create:u,remove:a}}Wu.exports=$b});var Zu=m((_F,Gu)=>{function Xu(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var u=Object.getOwnPropertySymbols(e);t&&(u=u.filter(function(a){return Object.getOwnPropertyDescriptor(e,a).enumerable})),n.push.apply(n,u)}return n}function fr(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?Xu(Object(n),!0).forEach(function(u){xb(e,u,n[u])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Xu(Object(n)).forEach(function(u){Object.defineProperty(e,u,Object.getOwnPropertyDescriptor(n,u))})}return e}function xb(e,t,n){return(t=qb(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function qb(e){var t=wb(e,"string");return typeof t=="symbol"?t:t+""}function wb(e,t){if(typeof e!="object"||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var u=n.call(e,t||"default");if(typeof u!="object")return u;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}var{authorizationHeaders:A}=y();function Ob({client:e,internalAuthTokenProvider:t}){function n({token:i,jwtToken:d,dynamicFormId:p,query:f={},headers:l,providerId:q}){let g=q?fr(fr({},f),{},{providerId:q}):f;return e({url:`/dynamic-forms/${p}`,params:g,headers:A({token:i,jwtToken:d,internalAuthTokenProvider:t,headers:l})})}function u({token:i,jwtToken:d,dynamicFormId:p,query:f={},headers:l,providerId:q}){let g=q?fr(fr({},f),{},{providerId:q}):f;return e({url:`/renderable-dynamic-forms/${p}`,params:g,headers:A({token:i,jwtToken:d,internalAuthTokenProvider:t,headers:l})})}function a({token:i,jwtToken:d,query:p={},headers:f}){return e({url:"/dynamic-forms",params:p,headers:A({token:i,jwtToken:d,internalAuthTokenProvider:t,headers:f})})}function c({token:i,jwtToken:d,query:p={},data:f,headers:l}){return e({url:"/dynamic-forms",method:"post",headers:A({token:i,jwtToken:d,internalAuthTokenProvider:t,headers:l}),params:p,data:f})}function r({token:i,jwtToken:d,dynamicFormId:p,data:f,headers:l}){return e({url:`/dynamic-forms/${p}`,method:"put",headers:A({token:i,jwtToken:d,internalAuthTokenProvider:t,headers:l}),data:f})}function s({dynamicFormId:i,token:d,jwtToken:p,headers:f}){return e({url:`/dynamic-forms/${i}`,method:"delete",headers:A({token:d,jwtToken:p,internalAuthTokenProvider:t,headers:f})})}return{get:n,getRenderable:u,all:a,create:c,update:r,remove:s,fields:{get({token:i,jwtToken:d,dynamicFormFieldId:p,headers:f}={}){return e({url:`/dynamic-forms/fields/${p}`,headers:A({token:i,jwtToken:d,internalAuthTokenProvider:t,headers:f})})},all({token:i,jwtToken:d,query:p={},headers:f}){return e({url:"/dynamic-forms/fields",params:p,headers:A({token:i,jwtToken:d,internalAuthTokenProvider:t,headers:f})})},create({jwtToken:i,token:d,data:p,headers:f}){return e({url:"/dynamic-forms/fields",method:"post",headers:A({token:d,jwtToken:i,internalAuthTokenProvider:t,headers:f}),data:p})},update({jwtToken:i,token:d,dynamicFormFieldId:p,data:f,headers:l}){return e({url:`/dynamic-forms/fields/${p}`,method:"put",headers:A({token:d,jwtToken:i,internalAuthTokenProvider:t,headers:l}),data:f})},remove({dynamicFormFieldId:i,token:d,jwtToken:p,headers:f}){return e({url:`/dynamic-forms/fields/${i}`,method:"delete",headers:A({token:d,jwtToken:p,internalAuthTokenProvider:t,headers:f})})}}}}Gu.exports=Ob});var Yu=m((RF,Qu)=>{var{authorizationHeaders:Ht}=y();function Fb({client:e,internalAuthTokenProvider:t}){function n({token:s,jwtToken:o,query:i={},headers:d}){return e({params:i,url:"/email-settings",headers:Ht({token:s,jwtToken:o,internalAuthTokenProvider:t,headers:d})})}function u({token:s,jwtToken:o,email:i,query:d={},headers:p}){return e({params:d,url:`/email-settings/${i}`,headers:Ht({token:s,jwtToken:o,internalAuthTokenProvider:t,headers:p})})}function a({data:s,token:o,jwtToken:i,headers:d}){return e({url:"/email-settings",method:"post",headers:Ht({token:o,jwtToken:i,internalAuthTokenProvider:t,headers:d}),data:s})}function c({token:s,jwtToken:o,email:i,data:d,headers:p}){return e({url:`/email-settings/${i}`,method:"put",headers:Ht({token:s,jwtToken:o,internalAuthTokenProvider:t,headers:p}),data:d})}function r({email:s,token:o,jwtToken:i,headers:d}){return e({url:`/email-settings/${s}`,method:"delete",headers:Ht({token:o,jwtToken:i,internalAuthTokenProvider:t,headers:d})})}return{all:n,getByEmail:u,create:a,update:c,remove:r}}Qu.exports=Fb});var Pu=m((zF,vu)=>{var{authorizationHeaders:le}=y();function Sb({client:e,internalAuthTokenProvider:t}){function n({token:d,jwtToken:p,headers:f}){return e({url:"/email-templates/types",headers:le({token:d,jwtToken:p,internalAuthTokenProvider:t,headers:f})})}function u({token:d,jwtToken:p,query:f={},headers:l}){return e({url:"/email-templates",params:f,headers:le({token:d,jwtToken:p,internalAuthTokenProvider:t,headers:l})})}function a({token:d,jwtToken:p,emailTemplateId:f,query:l={},headers:q}){return e({url:`/email-templates/${f}`,params:l,headers:le({token:d,jwtToken:p,internalAuthTokenProvider:t,headers:q})})}function c({token:d,jwtToken:p,data:f,headers:l}){return e({url:"/email-templates",method:"post",headers:le({token:d,jwtToken:p,internalAuthTokenProvider:t,headers:l}),data:f})}function r({token:d,jwtToken:p,emailTemplateId:f,data:l,headers:q}){return e({url:`/email-templates/${f}`,method:"put",headers:le({token:d,jwtToken:p,internalAuthTokenProvider:t,headers:q}),data:l})}function s({token:d,jwtToken:p,emailTemplateId:f,headers:l}){return e({url:`/email-templates/${f}`,method:"delete",headers:le({token:d,jwtToken:p,internalAuthTokenProvider:t,headers:l})})}function o({token:d,jwtToken:p,mainTemplateId:f,agencyId:l,headers:q}){return e({url:"/sub-email-templates",method:"post",headers:le({token:d,jwtToken:p,internalAuthTokenProvider:t,headers:q}),data:{mainTemplateId:f,agencyId:l}})}return{getTypes:n,all:u,get:a,create:c,update:r,remove:s,createSub:o,versions:{update({token:d,jwtToken:p,emailTemplateId:f,versionId:l,query:q={},headers:g}){return e({url:`/email-templates/${f}/versions/${l}`,method:"put",headers:le({token:d,jwtToken:p,internalAuthTokenProvider:t,headers:g}),params:q})}}}}vu.exports=Sb});var ku=m((HF,Tu)=>{var{authorizationHeaders:he}=y();function Eb({client:e,internalAuthTokenProvider:t}){function n({token:d,jwtToken:p,headers:f}){return e({url:"/sms-templates/types",headers:he({token:d,jwtToken:p,internalAuthTokenProvider:t,headers:f})})}function u({token:d,jwtToken:p,query:f={},headers:l}){return e({url:"/sms-templates",params:f,headers:he({token:d,jwtToken:p,internalAuthTokenProvider:t,headers:l})})}function a({token:d,jwtToken:p,smsTemplateId:f,query:l={},headers:q}){return e({url:`/sms-templates/${f}`,params:l,headers:he({token:d,jwtToken:p,internalAuthTokenProvider:t,headers:q})})}function c({token:d,jwtToken:p,data:f,headers:l}){return e({url:"/sms-templates",method:"post",headers:he({token:d,jwtToken:p,internalAuthTokenProvider:t,headers:l}),data:f})}function r({token:d,jwtToken:p,smsTemplateId:f,data:l,headers:q}){return e({url:`/sms-templates/${f}`,method:"put",headers:he({token:d,jwtToken:p,internalAuthTokenProvider:t,headers:q}),data:l})}function s({token:d,jwtToken:p,smsTemplateId:f,headers:l}){return e({url:`/sms-templates/${f}`,method:"delete",headers:he({token:d,jwtToken:p,internalAuthTokenProvider:t,headers:l})})}function o({token:d,jwtToken:p,mainTemplateId:f,agencyId:l,headers:q}){return e({url:"/sub-sms-templates",method:"post",headers:he({token:d,jwtToken:p,internalAuthTokenProvider:t,headers:q}),data:{mainTemplateId:f,agencyId:l}})}return{getTypes:n,all:u,get:a,create:c,update:r,remove:s,createSub:o,versions:{update({token:d,jwtToken:p,smsTemplateId:f,versionId:l,query:q={},headers:g}){return e({url:`/sms-templates/${f}/versions/${l}`,method:"put",headers:he({token:d,jwtToken:p,internalAuthTokenProvider:t,headers:g}),params:q})}}}}Tu.exports=Eb});var tc=m((CF,ec)=>{var{authorizationHeaders:Au}=y();function _b({client:e,internalAuthTokenProvider:t}){function n({token:a,jwtToken:c,isoCode:r,query:s={},headers:o}){return e({params:s,url:`/exchange-rates/${r}`,headers:Au({token:a,jwtToken:c,internalAuthTokenProvider:t,headers:o})})}function u({data:a,token:c,jwtToken:r,headers:s}){return e({url:"/exchange-rates",method:"post",headers:Au({token:c,jwtToken:r,internalAuthTokenProvider:t,headers:s}),data:a})}return{allByIsoCode:n,create:u}}ec.exports=_b});var ac=m((jF,sc)=>{var{authorizationHeaders:rc}=y();function Rb({client:e,internalAuthTokenProvider:t}){function n({data:a,token:c,jwtToken:r,headers:s}){return e({url:"/exchange-receipt-settings",method:"put",headers:rc({token:c,jwtToken:r,internalAuthTokenProvider:t,headers:s}),data:a})}function u({token:a,jwtToken:c,headers:r}){return e({url:"/exchange-receipt-settings",method:"get",headers:rc({token:a,jwtToken:c,internalAuthTokenProvider:t,headers:r})})}return{update:n,get:u}}sc.exports=Rb});var nc=m((DF,oc)=>{var{authorizationHeaders:mr}=y();function zb({client:e,internalAuthTokenProvider:t}){function n({data:r,token:s,jwtToken:o,headers:i}){return e({url:"/external-customers/ado",method:"post",headers:mr({token:s,jwtToken:o,internalAuthTokenProvider:t,headers:i}),data:r})}function u({data:r,token:s,jwtToken:o,headers:i}){return e({url:"/external-customers/ado/confirmation",method:"post",headers:mr({token:s,jwtToken:o,internalAuthTokenProvider:t,headers:i}),data:r})}function a({data:r,token:s,jwtToken:o,headers:i}){return e({url:"/external-customers/ado/confirmation/resend",method:"post",headers:mr({token:s,jwtToken:o,internalAuthTokenProvider:t,headers:i}),data:r})}return{saldoMax:{get:({token:r,jwtToken:s,query:o,headers:i})=>e.get("/external-customers/ado",{params:o,headers:mr({token:r,jwtToken:s,internalAuthTokenProvider:t,headers:i})}),create:n,confirmation:{create:u,resend:{create:a}}},registerSaldoMax:n}}oc.exports=zb});var ic=m((NF,cc)=>{var{authorizationHeaders:uc}=y();function Hb({client:e,internalAuthTokenProvider:t}){function n({token:a,jwtToken:c,query:r,headers:s}){return e({url:"/goal-settings",params:r,headers:uc({token:a,jwtToken:c,internalAuthTokenProvider:t,headers:s})})}function u({jwtToken:a,token:c,goalSettings:r,headers:s}){return e({url:"/goal-settings",method:"put",headers:uc({token:c,jwtToken:a,internalAuthTokenProvider:t,headers:s}),data:{goalSettings:r}})}return{get:n,update:u}}cc.exports=Hb});var pc=m((UF,dc)=>{var{authorizationHeaders:lr}=y();function Cb({client:e,internalAuthTokenProvider:t}){function n({token:r,jwtToken:s,query:o={},headers:i}){return e({params:o,url:"/images",headers:lr({token:r,jwtToken:s,internalAuthTokenProvider:t,headers:i})})}function u({token:r,jwtToken:s,query:o={},headers:i,imageId:d}){return e({params:o,url:`/images/${d}`,headers:lr({token:r,jwtToken:s,internalAuthTokenProvider:t,headers:i})})}function a({jwtToken:r,token:s,image:o,headers:i}){return e({url:"/images",method:"post",headers:lr({token:s,jwtToken:r,internalAuthTokenProvider:t,headers:i}),data:{image:o}})}function c({imageId:r,token:s,jwtToken:o,headers:i}){return e({url:`/images/${r}`,method:"delete",headers:lr({token:s,jwtToken:o,internalAuthTokenProvider:t,headers:i})})}return{all:n,get:u,create:a,remove:c}}dc.exports=Cb});var mc=m((BF,fc)=>{var{authorizationHeaders:ue}=y();function jb({client:e,internalAuthTokenProvider:t}){return{invitations:{all({token:r,jwtToken:s,query:o={},headers:i}){return e({url:"/interline/invitations",params:o,headers:ue({token:r,jwtToken:s,internalAuthTokenProvider:t,headers:i})})},get({token:r,invitationId:s,headers:o}){return e.get(`/interline/invitations/${s}`,{headers:ue({token:r,internalAuthTokenProvider:t,headers:o})})},create({data:r,token:s,jwtToken:o,headers:i}){return e({url:"/interline/invitations",method:"post",headers:ue({token:s,jwtToken:o,internalAuthTokenProvider:t,headers:i}),data:r})},update({invitationId:r,data:s,token:o,jwtToken:i,headers:d}){return e({url:`/interline/invitations/${r}`,method:"put",headers:ue({token:o,jwtToken:i,internalAuthTokenProvider:t,headers:d}),data:s})}},consumers:{all({token:r,jwtToken:s,query:o={},headers:i}){return e({url:"/interline/consumers",params:o,headers:ue({token:r,jwtToken:s,internalAuthTokenProvider:t,headers:i})})}},providers:{all({token:r,jwtToken:s,query:o={},headers:i}){return e({url:"/interline/providers",params:o,headers:ue({token:r,jwtToken:s,internalAuthTokenProvider:t,headers:i})})}},network:{get({token:r,jwtToken:s,interlineId:o,headers:i}){return e.get(`/interline/${o}/network`,{headers:ue({token:r,jwtToken:s,internalAuthTokenProvider:t,headers:i})})},update({interlineId:r,data:s,token:o,jwtToken:i,headers:d}){return e({url:`/interline/${r}/network`,method:"put",headers:ue({token:o,jwtToken:i,internalAuthTokenProvider:t,headers:d}),data:s})}},remove({interlineId:r,token:s,jwtToken:o,headers:i}){return e({url:`/interline/${r}`,method:"delete",headers:ue({token:s,jwtToken:o,internalAuthTokenProvider:t,headers:i})})}}}fc.exports=jb});var hc=m((LF,lc)=>{var{authorizationHeaders:re}=y();function Db({client:e,internalAuthTokenProvider:t}){function n({token:o,context:i,query:d={},headers:p}){let f=Object.assign({},d,{context:i});return e({url:"lexicons/buscompany",params:f,headers:re({token:o,internalAuthTokenProvider:t,headers:p})})}function u({token:o,jwtToken:i,lexiconEntries:d,headers:p}){return e({url:"/lexicons",method:"post",headers:re({token:o,jwtToken:i,internalAuthTokenProvider:t,headers:p}),data:{entries:d}})}function a({token:o,jwtToken:i,entries:d,headers:p}){return e({url:"/lexicons",method:"put",headers:re({token:o,jwtToken:i,internalAuthTokenProvider:t,headers:p}),data:{entries:d}})}function c({token:o,jwtToken:i,updates:d,headers:p}){return e({url:"/lexicons",method:"patch",headers:re({token:o,jwtToken:i,internalAuthTokenProvider:t,headers:p}),data:{updates:d}})}function r({token:o,jwtToken:i,headers:d,lang:p,txt:f}){return e({url:`/lexicons/${encodeURIComponent(p)}/content`,params:{txt:f},headers:re({token:o,jwtToken:i,internalAuthTokenProvider:t,headers:d})})}return{all:n,create:u,createOrUpdateMany:a,updateMany:c,getByText:r,suggestions:{list({token:o,jwtToken:i,headers:d,params:p={}}){return e({url:"/lexicons/suggestions",params:p,headers:re({token:o,jwtToken:i,internalAuthTokenProvider:t,headers:d})})},getById({token:o,jwtToken:i,headers:d,suggestionId:p,params:f={}}){return e({url:`/lexicons/suggestions/${p}`,params:f,headers:re({token:o,jwtToken:i,internalAuthTokenProvider:t,headers:d})})},update({token:o,jwtToken:i,headers:d,suggestionId:p,data:f,superUserId:l,superUserHash:q}){let g={superUserId:l,superUserHash:q};return e({url:`/lexicons/suggestions/${p}`,method:"put",params:g,headers:re({token:o,jwtToken:i,internalAuthTokenProvider:t,headers:d}),data:f})},delete({token:o,jwtToken:i,headers:d,suggestionId:p}){return e({url:`/lexicons/suggestions/${p}`,method:"delete",headers:re({token:o,jwtToken:i,internalAuthTokenProvider:t,headers:d})})},create({token:o,jwtToken:i,headers:d,key:p,lang:f,data:l}){return e({url:`/lexicons/${encodeURIComponent(p)}/${encodeURIComponent(f)}/suggestion`,method:"post",headers:re({token:o,jwtToken:i,internalAuthTokenProvider:t,headers:d}),data:l})}}}}lc.exports=Db});var yc=m((MF,gc)=>{var{authorizationHeaders:Re}=y();function Nb({client:e,internalAuthTokenProvider:t}){return{agencies:{all({token:u,jwtToken:a,query:c={},headers:r}){return e({url:"/network/agencies",params:c,headers:Re({token:u,jwtToken:a,internalAuthTokenProvider:t,headers:r})})},get({token:u,jwtToken:a,query:c,headers:r,sellerId:s}){return e({url:`/network/agencies/${s}`,params:c||{},headers:Re({token:u,jwtToken:a,internalAuthTokenProvider:t,headers:r})})},update({jwtToken:u,token:a,sellerId:c,agency:r,headers:s,query:o}){return e({url:`/network/agencies/${c}`,method:"put",headers:Re({token:a,jwtToken:u,internalAuthTokenProvider:t,headers:s}),data:{agency:r},params:o})},create({jwtToken:u,token:a,agency:c,headers:r}){return e({url:"/network/agencies",method:"post",headers:Re({token:a,jwtToken:u,internalAuthTokenProvider:t,headers:r}),data:{agency:c}})},removeProduct({token:u,jwtToken:a,productId:c,headers:r}){return e({url:"/network/agencies/remove-product",method:"put",headers:Re({token:u,jwtToken:a,internalAuthTokenProvider:t,headers:r}),data:{productId:c}})},removeFare({token:u,jwtToken:a,fareId:c,headers:r}){return e({url:"/network/agencies/remove-fare",method:"put",headers:Re({token:u,jwtToken:a,internalAuthTokenProvider:t,headers:r}),data:{fareId:c}})},banks({token:u,jwtToken:a,providerId:c,headers:r}){return e({url:"/network/agencies/banks",params:{providerId:c},headers:Re({token:u,jwtToken:a,internalAuthTokenProvider:t,headers:r})})}}}}gc.exports=Nb});var xc=m((IF,$c)=>{var{authorizationHeaders:bc}=y();function Ub({client:e,internalAuthTokenProvider:t}){function n({token:a,jwtToken:c,query:r,headers:s}){return e({url:"/operation-settings",params:r,headers:bc({token:a,jwtToken:c,internalAuthTokenProvider:t,headers:s})})}function u({jwtToken:a,token:c,operationSettings:r,headers:s}){return e({url:"/operation-settings",method:"put",headers:bc({token:c,jwtToken:a,internalAuthTokenProvider:t,headers:s}),data:{operationSettings:r}})}return{get:n,update:u}}$c.exports=Ub});var Oc=m((VF,wc)=>{function qc(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var u=Object.getOwnPropertySymbols(e);t&&(u=u.filter(function(a){return Object.getOwnPropertyDescriptor(e,a).enumerable})),n.push.apply(n,u)}return n}function hr(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?qc(Object(n),!0).forEach(function(u){Bb(e,u,n[u])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):qc(Object(n)).forEach(function(u){Object.defineProperty(e,u,Object.getOwnPropertyDescriptor(n,u))})}return e}function Bb(e,t,n){return(t=Lb(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Lb(e){var t=Mb(e,"string");return typeof t=="symbol"?t:t+""}function Mb(e,t){if(typeof e!="object"||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var u=n.call(e,t||"default");if(typeof u!="object")return u;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}var{authorizationHeaders:Ct}=y();function Ib({client:e,internalAuthTokenProvider:t}){function n({token:s,jwtToken:o,query:i,headers:d,providerId:p}){let f=p?hr(hr({},i),{},{providerId:p}):i;return e({url:"/people-lookups",params:f,headers:Ct({token:s,jwtToken:o,internalAuthTokenProvider:t,headers:d})})}function u({token:s,jwtToken:o,query:i,headers:d,personId:p,providerId:f}){let l=f?hr(hr({},i),{},{providerId:f}):i;return e({url:`/people-lookups/${p}`,params:l,headers:Ct({token:s,jwtToken:o,internalAuthTokenProvider:t,headers:d})})}function a({jwtToken:s,token:o,personId:i,person:d,headers:p,providerId:f}){let l=f?{providerId:f}:{};return e({url:`/people-lookups/${i}`,method:"put",headers:Ct({token:o,jwtToken:s,internalAuthTokenProvider:t,headers:p}),params:l,data:{person:d}})}function c({jwtToken:s,token:o,person:i,headers:d,providerId:p}){let f=p?{providerId:p}:{};return e({url:"/people-lookups",method:"post",headers:Ct({token:o,jwtToken:s,internalAuthTokenProvider:t,headers:d}),params:f,data:{person:i}})}function r({personId:s,token:o,jwtToken:i,headers:d}){return e({url:`/people-lookups/${s}`,method:"delete",headers:Ct({token:o,jwtToken:i,internalAuthTokenProvider:t,headers:d})})}return{all:n,getById:u,update:a,create:c,remove:r}}wc.exports=Ib});var Ec=m((KF,Sc)=>{var{authorizationHeaders:Fc}=y();function Vb({client:e,internalAuthTokenProvider:t}){function n({token:a,jwtToken:c,headers:r}){return e({url:"/point-to-point-settings",headers:Fc({token:a,jwtToken:c,internalAuthTokenProvider:t,headers:r})})}function u({token:a,jwtToken:c,pointToPointSettings:r,headers:s}){return e({url:"/point-to-point-settings",method:"put",headers:Fc({token:a,jwtToken:c,internalAuthTokenProvider:t,headers:s}),data:r})}return{get:n,update:u}}Sc.exports=Vb});var zc=m((WF,Rc)=>{var{authorizationHeaders:_c}=y();function Kb({client:e,internalAuthTokenProvider:t}){function n({token:a,jwtToken:c,headers:r}){return e({url:"/market-pricing-settings",headers:_c({token:a,jwtToken:c,internalAuthTokenProvider:t,headers:r})})}function u({token:a,jwtToken:c,marketPricingSettings:r,headers:s}){return e({url:"/market-pricing-settings",method:"put",headers:_c({token:a,jwtToken:c,internalAuthTokenProvider:t,headers:s}),data:r})}return{get:n,update:u}}Rc.exports=Kb});var jc=m((JF,Cc)=>{var{authorizationHeaders:Hc}=y();function Wb({client:e,internalAuthTokenProvider:t}){function n({token:a,jwtToken:c,headers:r}){return e({url:"/multiproduct-sales-settings",headers:Hc({token:a,jwtToken:c,internalAuthTokenProvider:t,headers:r})})}function u({token:a,jwtToken:c,data:r,headers:s}){return e({url:"/multiproduct-sales-settings",method:"put",headers:Hc({token:a,jwtToken:c,internalAuthTokenProvider:t,headers:s}),data:r})}return{get:n,update:u}}Cc.exports=Wb});var Nc=m((XF,Dc)=>{var{authorizationHeaders:Jb}=y();function Xb({client:e,internalAuthTokenProvider:t}){function n({token:u,jwtToken:a,query:c,headers:r}){return e({url:"/printers",params:c||{},headers:Jb({token:u,jwtToken:a,internalAuthTokenProvider:t,headers:r})})}return{all:n}}Dc.exports=Xb});var Lc=m((GF,Bc)=>{var{authorizationHeaders:Uc}=y();function Gb({client:e,internalAuthTokenProvider:t}){function n({token:a,jwtToken:c,query:r,headers:s}){return e({url:"/print-settings",params:r,headers:Uc({token:a,jwtToken:c,internalAuthTokenProvider:t,headers:s})})}function u({jwtToken:a,token:c,printSettings:r,headers:s}){return e({url:"/print-settings",method:"put",headers:Uc({token:c,jwtToken:a,internalAuthTokenProvider:t,headers:s}),data:{printSettings:r}})}return{all:n,update:u}}Bc.exports=Gb});var Ic=m((ZF,Mc)=>{var{authorizationHeaders:Ke}=y();function Zb({client:e,internalAuthTokenProvider:t}){function n({token:o,jwtToken:i,query:d={},headers:p}){return e({url:"/print-templates",params:d,headers:Ke({token:o,jwtToken:i,internalAuthTokenProvider:t,headers:p})})}function u({token:o,jwtToken:i,printTemplateId:d,query:p={},headers:f}){return e({url:`/print-templates/${d}`,params:p,headers:Ke({token:o,jwtToken:i,internalAuthTokenProvider:t,headers:f})})}function a({jwtToken:o,token:i,printTemplateId:d,printTemplate:p,headers:f,query:l}){return e({url:`/print-templates/${d}`,method:"put",headers:Ke({token:i,jwtToken:o,internalAuthTokenProvider:t,headers:f}),data:{printTemplate:p},params:l})}function c({jwtToken:o,token:i,printTemplate:d,headers:p}){return e({url:"/print-templates",method:"post",headers:Ke({token:i,jwtToken:o,internalAuthTokenProvider:t,headers:p}),data:{printTemplate:d}})}function r({printTemplateId:o,token:i,jwtToken:d,headers:p}){return e({url:`/print-templates/${o}`,method:"delete",headers:Ke({token:i,jwtToken:d,internalAuthTokenProvider:t,headers:p})})}return{all:n,get:u,update:a,create:c,remove:r,versions:{update({printTemplateId:o,token:i,jwtToken:d,headers:p,query:f,versionId:l}){return e({url:`/print-templates/${o}/versions/${l}`,method:"put",headers:Ke({token:i,jwtToken:d,internalAuthTokenProvider:t,headers:p}),params:f})}}}}Mc.exports=Zb});var Wc=m((QF,Kc)=>{var{authorizationHeaders:Vc}=y();function Qb({client:e,internalAuthTokenProvider:t}){function n({token:a,jwtToken:c,headers:r}){return e({url:"/rms-settings",headers:Vc({token:a,jwtToken:c,internalAuthTokenProvider:t,headers:r})})}function u({token:a,jwtToken:c,revenueManagementSettings:r,headers:s}){return e({url:"/rms-settings",method:"put",headers:Vc({token:a,jwtToken:c,internalAuthTokenProvider:t,headers:s}),data:r})}return{get:n,update:u}}Kc.exports=Qb});var Gc=m((YF,Xc)=>{var{authorizationHeaders:Jc}=y();function Yb({client:e,internalAuthTokenProvider:t}){function n({token:a,jwtToken:c,headers:r}){return e({url:"/journey-prices-settings",headers:Jc({token:a,jwtToken:c,internalAuthTokenProvider:t,headers:r})})}function u({token:a,jwtToken:c,journeyPricesSettings:r,headers:s}){return e({url:"/journey-prices-settings",method:"put",headers:Jc({token:a,jwtToken:c,internalAuthTokenProvider:t,headers:s}),data:r})}return{get:n,update:u}}Xc.exports=Yb});var Qc=m((vF,Zc)=>{var{authorizationHeaders:vb}=y();function Pb({client:e,internalAuthTokenProvider:t}){function n({jwtToken:u,token:a,subPrintTemplate:c,headers:r}){return e({url:"/sub-print-templates",method:"post",headers:vb({token:a,jwtToken:u,internalAuthTokenProvider:t,headers:r}),data:{subPrintTemplate:c}})}return{create:n}}Zc.exports=Pb});var vc=m((PF,Yc)=>{var{authorizationHeaders:vr}=y();function Tb({client:e,internalAuthTokenProvider:t}){function n({jwtToken:c,token:r,bucketId:s,s3BucketData:o,headers:i}){return e({url:`/account/s3Buckets/${s}`,method:"put",headers:vr({token:r,jwtToken:c,internalAuthTokenProvider:t,headers:i}),data:o})}function u({jwtToken:c,token:r,bucketId:s,headers:o}){return e({url:`/account/s3Buckets/${s}`,method:"delete",headers:vr({token:r,jwtToken:c,internalAuthTokenProvider:t,headers:o})})}function a({jwtToken:c,token:r,s3BucketData:s,headers:o}){return e({url:"/account/s3Buckets",method:"post",headers:vr({token:r,jwtToken:c,internalAuthTokenProvider:t,headers:o}),data:s})}return{update:n,remove:u,create:a}}Yc.exports=Tb});var kc=m((TF,Tc)=>{var{authorizationHeaders:Pc}=y();function kb({client:e,internalAuthTokenProvider:t}){function n({jwtToken:a,token:c,query:r,headers:s}){return e({url:"/salesforce-settings",params:r,headers:Pc({token:c,jwtToken:a,internalAuthTokenProvider:t,headers:s})})}function u({jwtToken:a,token:c,salesforceSettings:r,headers:s}){return e({url:"/salesforce-settings",method:"put",headers:Pc({token:c,jwtToken:a,internalAuthTokenProvider:t,headers:s}),data:{salesforceSettings:r}})}return{get:n,update:u}}Tc.exports=kb});var ei=m((kF,Ac)=>{var{authorizationHeaders:D}=y();function Ab({client:e,internalAuthTokenProvider:t}){function n({jwtToken:F,token:S,query:O,headers:E}){return e.get("/shifts",{headers:D({token:S,jwtToken:F,internalAuthTokenProvider:t,headers:E}),params:O})}function u({token:F,userId:S,headers:O}){return e.get(`/shift/user/${S}`,{headers:D({token:F,internalAuthTokenProvider:t,headers:O})})}function a({jwtToken:F,token:S,shiftData:O,headers:E}){return e({url:"/shifts",method:"post",headers:D({token:S,jwtToken:F,internalAuthTokenProvider:t,headers:E}),data:O})}function c({jwtToken:F,token:S,shiftId:O,operations:E,headers:j,query:ge}){return e({url:`/shifts/${O}`,method:"patch",headers:D({token:S,jwtToken:F,internalAuthTokenProvider:t,headers:j}),data:{operations:E},params:ge})}return{all:n,get:u,create:a,update:c,requiresAgencyShiftClosure:{put({token:F,jwtToken:S,shiftId:O,headers:E,shiftData:j}){return e({url:`/shifts/${O}/requires-agency-shift-closure`,method:"put",headers:D({token:F,jwtToken:S,internalAuthTokenProvider:t,headers:E}),data:{shiftData:j}})}},payments:{get({token:F,jwtToken:S,shiftId:O,headers:E}){return e.get(`/shifts/${O}/payments`,{headers:D({token:F,jwtToken:S,internalAuthTokenProvider:t,headers:E})})}},vouchers:{get({token:F,jwtToken:S,shiftId:O,headers:E}){return e.get(`/shifts/${O}/vouchers`,{headers:D({token:F,jwtToken:S,internalAuthTokenProvider:t,headers:E})})}},transactions:{get({token:F,jwtToken:S,shiftId:O,headers:E}){return e.get(`/shifts/${O}/transactions`,{headers:D({token:F,jwtToken:S,internalAuthTokenProvider:t,headers:E})})}},tickets:{get({token:F,jwtToken:S,shiftId:O,headers:E}){return e.get(`/shifts/${O}/tickets`,{headers:D({token:F,jwtToken:S,internalAuthTokenProvider:t,headers:E})})}},fees:{get({token:F,jwtToken:S,shiftId:O,headers:E}){return e.get(`/shifts/${O}/fees`,{headers:D({token:F,jwtToken:S,internalAuthTokenProvider:t,headers:E})})}},refunds:{get({token:F,jwtToken:S,shiftId:O,headers:E}){return e.get(`/shifts/${O}/refunds`,{headers:D({token:F,jwtToken:S,internalAuthTokenProvider:t,headers:E})})}},items:{get({token:F,jwtToken:S,shiftId:O,headers:E}){return e.get(`/shifts/${O}/items`,{headers:D({token:F,jwtToken:S,internalAuthTokenProvider:t,headers:E})})}},redeemableItems:{get({token:F,jwtToken:S,shiftId:O,headers:E}){return e.get(`/shifts/${O}/redeemable-items`,{headers:D({token:F,jwtToken:S,internalAuthTokenProvider:t,headers:E})})}},giftCertificates:{get({token:F,jwtToken:S,shiftId:O,headers:E}){return e.get(`/shifts/${O}/gift-certificates`,{headers:D({token:F,jwtToken:S,internalAuthTokenProvider:t,headers:E})})}},parcels:{get({token:F,jwtToken:S,shiftId:O,headers:E}){return e.get(`/shifts/${O}/parcels`,{headers:D({token:F,jwtToken:S,internalAuthTokenProvider:t,headers:E})})}},insurances:{get({token:F,jwtToken:S,shiftId:O,headers:E}){return e.get(`/shifts/${O}/insurances`,{headers:D({token:F,jwtToken:S,internalAuthTokenProvider:t,headers:E})})}},invoices:{get({token:F,jwtToken:S,shiftId:O,headers:E}){return e.get(`/shifts/${O}/invoices`,{headers:D({token:F,jwtToken:S,internalAuthTokenProvider:t,headers:E})})}},deposits:{get({token:F,jwtToken:S,shiftId:O,headers:E}){return e.get(`/shifts/${O}/deposits`,{headers:D({token:F,jwtToken:S,internalAuthTokenProvider:t,headers:E})})},create({jwtToken:F,token:S,shiftId:O,deposit:E,headers:j}){return e({url:`/shifts/${O}/deposits`,method:"post",headers:D({token:S,jwtToken:F,internalAuthTokenProvider:t,headers:j}),data:E})}},manualTickets:{get({token:F,jwtToken:S,shiftId:O,headers:E}){return e.get(`/shifts/${O}/manual-tickets`,{headers:D({token:F,jwtToken:S,internalAuthTokenProvider:t,headers:E})})},create({jwtToken:F,token:S,shiftId:O,manualTicket:E,headers:j}){return e({url:`/shifts/${O}/manual-tickets`,method:"post",headers:D({token:S,jwtToken:F,internalAuthTokenProvider:t,headers:j}),data:E})}},locationClosures:{create({jwtToken:F,token:S,locationClosure:O,headers:E}){return e({url:"/shifts/location-closures",method:"post",headers:D({token:S,jwtToken:F,internalAuthTokenProvider:t,headers:E}),data:O})},all({jwtToken:F,token:S,query:O,headers:E}){return e.get("/shifts/location-closures",{headers:D({token:S,jwtToken:F,internalAuthTokenProvider:t,headers:E}),params:O})},get({token:F,jwtToken:S,locationClosureId:O,headers:E}){return e.get(`/shifts/location-closures/${O}`,{headers:D({token:F,jwtToken:S,internalAuthTokenProvider:t,headers:E})})},comments:{create({jwtToken:F,token:S,locationClosureId:O,locationClosureComment:E,headers:j}){return e({url:`/shifts/location-closures/${O}/comments`,method:"post",headers:D({token:S,jwtToken:F,internalAuthTokenProvider:t,headers:j}),data:E})}},status:{update({jwtToken:F,token:S,locationClosureId:O,locationClosureStatusChange:E,headers:j}){return e({url:`/shifts/location-closures/${O}/status`,method:"put",headers:D({token:S,jwtToken:F,internalAuthTokenProvider:t,headers:j}),data:E})}}},startingBalances:{create({jwtToken:F,token:S,shiftId:O,startingBalance:E,headers:j}){return e({url:`/shifts/${O}/starting-balance`,method:"post",headers:D({token:S,jwtToken:F,internalAuthTokenProvider:t,headers:j}),data:E})}},purchaseLimitPayments:{get({token:F,jwtToken:S,locationId:O,query:E,headers:j}){return e.get(`/shifts/${O}/purchase-limit-payments`,{headers:D({token:F,jwtToken:S,internalAuthTokenProvider:t,headers:j}),params:E})}},salesSummary:{get({token:F,jwtToken:S,shiftId:O,query:E,headers:j}){return e.get(`/shifts/${O}/sales-summary`,{headers:D({token:F,jwtToken:S,internalAuthTokenProvider:t,headers:j}),params:E})}},commissions:{get({token:F,jwtToken:S,shiftId:O,headers:E}){return e.get(`/shifts/${O}/commissions`,{headers:D({token:F,jwtToken:S,internalAuthTokenProvider:t,headers:E})})}}}}Ac.exports=Ab});var si=m((AF,ri)=>{var{authorizationHeaders:ti}=y();function e$({client:e,internalAuthTokenProvider:t}){function n({token:a,jwtToken:c,query:r,headers:s}){return e({url:"/shift-settings",params:r,headers:ti({token:a,jwtToken:c,internalAuthTokenProvider:t,headers:s})})}function u({jwtToken:a,token:c,shiftSettings:r,headers:s}){return e({url:"/shift-settings",method:"put",headers:ti({token:c,jwtToken:a,internalAuthTokenProvider:t,headers:s}),data:{shiftSettings:r}})}return{get:n,update:u}}ri.exports=e$});var oi=m((eS,ai)=>{var{authorizationHeaders:Pr}=y();function t$({client:e,internalAuthTokenProvider:t}){function n({token:c,jwtToken:r,modelName:s,headers:o}){return e({url:`/system-models/${s}/settings`,headers:Pr({token:c,jwtToken:r,internalAuthTokenProvider:t,headers:o})})}function u({jwtToken:c,token:r,modelName:s,systemModelSettings:o,headers:i}){return e({url:`/system-models/${s}/settings`,method:"put",headers:Pr({token:r,jwtToken:c,internalAuthTokenProvider:t,headers:i}),data:{systemModelSettings:o}})}function a({jwtToken:c,token:r,modelName:s,action:o,payload:i,headers:d}){return e({url:`/system-models/${s}/validations`,method:"post",headers:Pr({token:r,jwtToken:c,internalAuthTokenProvider:t,headers:d}),data:{action:o,payload:i}})}return{get:n,update:u,validate:a}}ai.exports=t$});var ci=m((tS,ui)=>{var{authorizationHeaders:ni}=y();function r$({client:e,internalAuthTokenProvider:t}){function n({token:a,jwtToken:c,headers:r}){return e({url:"/ticket-movement-settings",headers:ni({token:a,jwtToken:c,internalAuthTokenProvider:t,headers:r})})}function u({token:a,jwtToken:c,ticketMovementSettings:r,headers:s}){return e({url:"/ticket-movement-settings",method:"put",headers:ni({token:a,jwtToken:c,internalAuthTokenProvider:t,headers:s}),data:r})}return{get:n,update:u}}ui.exports=r$});var pi=m((rS,di)=>{var{authorizationHeaders:ii}=y();function s$({client:e,internalAuthTokenProvider:t}){function n({token:a,jwtToken:c,headers:r,query:s}){return e.get("/tokens",{headers:ii({token:a,jwtToken:c,internalAuthTokenProvider:t,headers:r}),params:s})}function u({data:a,token:c,jwtToken:r,headers:s}){return e({url:"/tokens",method:"post",headers:ii({token:c,jwtToken:r,internalAuthTokenProvider:t,headers:s}),data:a})}return{get:n,create:u}}di.exports=s$});var mi=m((sS,fi)=>{var{authorizationHeaders:jt}=y();function a$({client:e,internalAuthTokenProvider:t}){function n({token:s,jwtToken:o,query:i,headers:d}){return e({url:"/travellers",headers:jt({token:s,jwtToken:o,internalAuthTokenProvider:t,headers:d}),params:i})}function u({token:s,jwtToken:o,id:i,query:d={},headers:p}){return e({url:`/travellers/${i}`,method:"get",headers:jt({token:s,jwtToken:o,internalAuthTokenProvider:t,headers:p}),params:d})}function a({token:s,jwtToken:o,id:i,data:d,query:p={},headers:f}){return e({url:`/travellers/${i}`,method:"put",params:p,headers:jt({token:s,jwtToken:o,internalAuthTokenProvider:t,headers:f}),data:d})}function c({token:s,jwtToken:o,id:i,query:d={},headers:p}){return e({url:`/travellers/${i}`,method:"delete",params:d,headers:jt({token:s,jwtToken:o,internalAuthTokenProvider:t,headers:p})})}function r({token:s,jwtToken:o,query:i={},data:d,headers:p}){return e({url:"/travellers",method:"post",headers:jt({token:s,jwtToken:o,internalAuthTokenProvider:t,headers:p}),params:i,data:d})}return{all:n,get:u,update:a,remove:c,create:r}}fi.exports=a$});var hi=m((aS,li)=>{var{authorizationHeaders:Tr}=y();function o$({client:e,internalAuthTokenProvider:t}){function n({token:c,jwtToken:r,data:s,headers:o}){return e({url:"/trusted-machines",method:"post",withCredentials:!0,headers:Tr({token:c,jwtToken:r,internalAuthTokenProvider:t,headers:o}),data:s})}function u({token:c,jwtToken:r,id:s,headers:o}){return e({url:`/trusted-machines/${s}`,method:"get",headers:Tr({token:c,jwtToken:r,internalAuthTokenProvider:t,headers:o})})}function a({token:c,jwtToken:r,query:s={},headers:o}){return e({params:s,url:"/trusted-machines",headers:Tr({token:c,jwtToken:r,internalAuthTokenProvider:t,headers:o})})}return{create:n,get:u,all:a}}li.exports=o$});var bi=m((oS,yi)=>{var{authorizationHeaders:gi}=y();function n$({client:e,internalAuthTokenProvider:t}){function n({jwtToken:a,token:c,query:r,headers:s}){return e({url:"/twilio-settings",params:r,headers:gi({token:c,jwtToken:a,internalAuthTokenProvider:t,headers:s})})}function u({jwtToken:a,token:c,twilioSettings:r,headers:s}){return e({url:"/twilio-settings",method:"put",headers:gi({token:c,jwtToken:a,internalAuthTokenProvider:t,headers:s}),data:{twilioSettings:r}})}return{get:n,update:u}}yi.exports=n$});var xi=m((nS,$i)=>{var{authorizationHeaders:G}=y();function u$({client:e,internalAuthTokenProvider:t}){function n({token:g,jwtToken:b,id:h,headers:x}={}){return e({url:`/user/${h}`,headers:G({token:g,jwtToken:b,internalAuthTokenProvider:t,headers:x})})}function u({token:g,jwtToken:b,id:h,headers:x}={}){return e({url:`/users/${h}`,headers:G({token:g,jwtToken:b,internalAuthTokenProvider:t,headers:x})})}function a({token:g,jwtToken:b,query:h={},headers:x}){return e({url:"/users",params:h,headers:G({token:g,jwtToken:b,internalAuthTokenProvider:t,headers:x})})}function c({token:g,jwtToken:b,query:h={},data:x,headers:w}){return e({url:"/users",method:"post",headers:G({token:g,jwtToken:b,internalAuthTokenProvider:t,headers:w}),params:h,data:x})}function r({token:g,jwtToken:b,query:h={},data:x,headers:w}){return c({token:g,jwtToken:b,query:h,data:x,headers:w})}function s({token:g,jwtToken:b,userId:h,user:x,headers:w}){return e({url:`/users/${h}`,method:"put",headers:G({token:g,jwtToken:b,internalAuthTokenProvider:t,headers:w}),data:{user:x}})}function o({token:g,jwtToken:b,id:h,headers:x}){return e({url:`/users/${h}`,method:"delete",headers:G({token:g,jwtToken:b,internalAuthTokenProvider:t,headers:x})})}function i({token:g,jwtToken:b,users:h,headers:x}){return e({url:"/users/import",method:"post",headers:G({token:g,jwtToken:b,internalAuthTokenProvider:t,headers:x}),data:{users:h}})}function d({token:g,jwtToken:b,offlineUserId:h,headers:x}){return e({url:"/users/impersonate",method:"post",headers:G({token:g,jwtToken:b,internalAuthTokenProvider:t,headers:x}),data:{offlineUserId:h}})}function p({token:g,jwtToken:b,userId:h,headers:x}){return e({url:`/users/${h}/mfa`,method:"post",headers:G({token:g,jwtToken:b,internalAuthTokenProvider:t,headers:x})})}function f({token:g,jwtToken:b,userId:h,totpToken:x,headers:w}){return e({url:`/users/${h}/mfa`,method:"put",headers:G({token:g,jwtToken:b,internalAuthTokenProvider:t,headers:w}),data:{token:x}})}function l({token:g,jwtToken:b,userId:h,headers:x}){return e({url:`/users/${h}/mfa`,method:"delete",headers:G({token:g,jwtToken:b,internalAuthTokenProvider:t,headers:x})})}return{get:n,getV2:u,all:a,create:r,login:c,update:s,delete:o,createOrUpdateMany:i,impersonate:d,startMfa:p,confirmMfa:f,disableMfa:l,sequences:{get({token:g,jwtToken:b,userId:h,sequenceId:x,headers:w}){return e({url:`/users/${h}/sequences/${x}`,headers:G({token:g,jwtToken:b,internalAuthTokenProvider:t,headers:w})})},all({token:g,jwtToken:b,userId:h,query:x={},headers:w}){return e({url:`/users/${h}/sequences`,params:x,headers:G({token:g,jwtToken:b,internalAuthTokenProvider:t,headers:w})})},create({jwtToken:g,token:b,userId:h,sequence:x,headers:w}){return e({url:`/users/${h}/sequences`,method:"post",headers:G({token:b,jwtToken:g,internalAuthTokenProvider:t,headers:w}),data:x})},update({jwtToken:g,token:b,userId:h,sequenceId:x,sequence:w,headers:H}){return e({url:`/users/${h}/sequences/${x}`,method:"put",headers:G({token:b,jwtToken:g,internalAuthTokenProvider:t,headers:H}),data:w})},transfer({jwtToken:g,token:b,userId:h,sequenceId:x,newUserId:w,headers:H}){return e({url:`/users/${h}/sequences/${x}`,method:"patch",headers:G({token:b,jwtToken:g,internalAuthTokenProvider:t,headers:H}),data:{operation:"transfer",newUserId:w}})}}}}$i.exports=u$});var wi=m((uS,qi)=>{var{authorizationHeaders:gr}=y();function c$({client:e,internalAuthTokenProvider:t}){function n({token:r,jwtToken:s,query:o={},headers:i}){return e({url:"/verified-emails",headers:gr({token:r,jwtToken:s,internalAuthTokenProvider:t,headers:i}),params:o})}function u({token:r,jwtToken:s,email:o,headers:i}){return e({url:`/verified-emails/${encodeURIComponent(o)}`,headers:gr({token:r,jwtToken:s,internalAuthTokenProvider:t,headers:i})})}function a({token:r,jwtToken:s,data:o,headers:i}){return e({url:"/verified-emails",method:"post",headers:gr({token:r,jwtToken:s,internalAuthTokenProvider:t,headers:i}),data:o})}function c({token:r,jwtToken:s,email:o,data:i,headers:d}){return e({url:`/verified-emails/${encodeURIComponent(o)}`,method:"put",headers:gr({token:r,jwtToken:s,internalAuthTokenProvider:t,headers:d}),data:i})}return{all:n,get:u,create:a,update:c}}qi.exports=c$});var Si=m((cS,Fi)=>{var{authorizationHeaders:Oi}=y();function i$({client:e,internalAuthTokenProvider:t}){function n({token:a,jwtToken:c,query:r={},headers:s}){return e({params:r,url:"/websales-config",headers:Oi({token:a,jwtToken:c,internalAuthTokenProvider:t,headers:s})})}function u({token:a,jwtToken:c,websalesConfigId:r,websalesConfig:s,headers:o}){return e({url:`/websales-config/${r}`,method:"put",headers:Oi({token:a,jwtToken:c,internalAuthTokenProvider:t,headers:o}),data:s})}return{get:n,update:u}}Fi.exports=i$});var Ri=m((iS,_i)=>{var{authorizationHeaders:Ei}=y();function d$({client:e,internalAuthTokenProvider:t}){function n({token:a,jwtToken:c,headers:r}){return e({url:"/transport-regulation-settings/cnrt",headers:Ei({token:a,jwtToken:c,internalAuthTokenProvider:t,headers:r})})}function u({token:a,jwtToken:c,transportRegulationSettings:r,headers:s}){return e({url:"/transport-regulation-settings/cnrt",method:"put",headers:Ei({token:a,jwtToken:c,internalAuthTokenProvider:t,headers:s}),data:r})}return{get:n,update:u}}_i.exports=d$});var Hi=m((dS,zi)=>{function p$({client:e}){function t(){return e.get("/api-docs-v2",{})}return{get:t}}zi.exports=p$});var ji=m((pS,Ci)=>{var{authorizationHeaders:f$}=y();function m$({client:e,internalAuthTokenProvider:t}){function n({token:u,parcelQuoteData:a,jwtToken:c,headers:r}){return e({url:"/parcel-quotes",method:"post",headers:f$({token:u,jwtToken:c,internalAuthTokenProvider:t,headers:r}),data:a})}return{get:n}}Ci.exports=m$});var Ni=m((fS,Di)=>{var{authorizationHeaders:l$}=y();function h$({client:e,internalAuthTokenProvider:t}){function n({token:u,jwtToken:a,query:c={},headers:r}){return e.get("/payment-providers",{params:c,headers:l$({token:u,jwtToken:a,internalAuthTokenProvider:t,headers:r})})}return{all:n}}Di.exports=h$});var Bi=m((mS,Ui)=>{var{authorizationHeaders:Z}=y();function g$({client:e,internalAuthTokenProvider:t}){function n({token:g,id:b,query:h={},headers:x}){return e({url:`/cart/${b}`,params:h,headers:Z({token:g,internalAuthTokenProvider:t,headers:x})})}function u({token:g,cart:b,jwtToken:h,headers:x}){return e({url:"/cart",method:"post",headers:Z({token:g,jwtToken:h,internalAuthTokenProvider:t,headers:x}),data:b})}function a({token:g,cartId:b,cart:h,jwtToken:x,headers:w}){return e({url:`/cart/${b}/items`,method:"post",headers:Z({token:g,jwtToken:x,internalAuthTokenProvider:t,headers:w}),data:h})}function c({token:g,cartId:b,params:h,jwtToken:x,headers:w}){return e({url:`/cart/${b}/items`,method:"delete",headers:Z({token:g,jwtToken:x,internalAuthTokenProvider:t,headers:w}),params:h})}function r({token:g,cartId:b,itemId:h,jwtToken:x,headers:w}){return e({url:`/carts/${b}/paid-in-items/${h}`,method:"delete",headers:Z({token:g,jwtToken:x,internalAuthTokenProvider:t,headers:w})})}function s({token:g,cartId:b,params:h,jwtToken:x,headers:w}){return e({url:`/carts/${b}/paid-in-items`,method:"delete",headers:Z({token:g,jwtToken:x,internalAuthTokenProvider:t,headers:w}),params:h||{}})}let o={get({token:g,jwtToken:b,cartId:h,query:x={},headers:w}){return e({url:`/carts/${h}/loyalty-points-amount`,params:x,headers:Z({token:g,jwtToken:b,internalAuthTokenProvider:t,headers:w})})}};function i({token:g,jwtToken:b,cartId:h,data:x,headers:w}){return e({url:`/cart/${h}`,method:"patch",headers:Z({token:g,jwtToken:b,internalAuthTokenProvider:t,headers:w}),data:x})}return{get:n,create:u,add:a,deleteItems:c,deletePaidInItem:r,deletePaidInItems:s,loyaltyPointsAmount:o,patch:i,partialDepositStatus:{get({token:g,jwtToken:b,shiftId:h,headers:x}){return e.get(`/cart/${h}/partial-deposit-status`,{headers:Z({token:g,jwtToken:b,internalAuthTokenProvider:t,headers:x})})}},payments:{delete({token:g,cartId:b,jwtToken:h,headers:x}){return e({url:`/carts/${b}/payments`,method:"delete",headers:Z({token:g,jwtToken:h,internalAuthTokenProvider:t,headers:x})})},put({token:g,cartId:b,jwtToken:h,headers:x,payment:w}){return e({url:`/carts/${b}/payments`,method:"put",headers:Z({token:g,jwtToken:h,internalAuthTokenProvider:t,headers:x}),data:w})}},taxExemptPaymentMethod:{post({token:g,cartId:b,jwtToken:h,headers:x,data:w={}}){return e({url:`/carts/${b}/tax-exempt-payment-method`,method:"POST",headers:Z({token:g,jwtToken:h,internalAuthTokenProvider:t,headers:x}),data:w})}},financingCosts:{create({token:g,jwtToken:b,headers:h,cartId:x,financingCost:w,query:H={}}){return e({url:`/carts/${x}/financing-costs`,method:"POST",params:H,headers:Z({token:g,jwtToken:b,internalAuthTokenProvider:t,headers:h}),data:{financingcost:w}})},delete({token:g,jwtToken:b,headers:h,cartId:x,query:w={}}){return e({url:`/carts/${x}/financing-costs`,method:"delete",params:w,headers:Z({token:g,jwtToken:b,internalAuthTokenProvider:t,headers:h})})}},expirationTime:{create({token:g,jwtToken:b,headers:h,cartId:x,expirationTime:w}){return e({url:`/carts/${x}/expiration-time`,method:"post",headers:Z({token:g,jwtToken:b,internalAuthTokenProvider:t,headers:h}),data:{expirationTimeData:w}})}}}}Ui.exports=g$});var Mi=m((lS,Li)=>{var{authorizationHeaders:y$}=y();function b$({client:e,internalAuthTokenProvider:t}){function n({token:u,GCNumber:a,query:c={},headers:r}){return e({url:`/gift-certificates/${a}`,params:c,headers:y$({token:u,internalAuthTokenProvider:t,headers:r})})}return{get:n}}Li.exports=b$});var Vi=m((hS,Ii)=>{var{authorizationHeaders:$$}=y();function x$({client:e,internalAuthTokenProvider:t}){function n({token:u,query:a={},headers:c}){return e.get("/custom-fields",{params:a,headers:$$({token:u,internalAuthTokenProvider:t,headers:c})})}return{all:n}}Ii.exports=x$});var Wi=m((gS,Ki)=>{var{authorizationHeaders:yr}=y();function q$({client:e,internalAuthTokenProvider:t}){function n({token:r,order:s,jwtToken:o,headers:i}){return e({url:"/order",method:"post",headers:yr({token:r,jwtToken:o,internalAuthTokenProvider:t,headers:i}),data:s})}function u({token:r,orderId:s,query:o={},headers:i}){return e({url:`/order/${s}`,params:o,headers:yr({token:r,internalAuthTokenProvider:t,headers:i})})}function a({token:r,orderId:s,payments:o,jwtToken:i,headers:d,query:p={}}){return e({url:`/orders/${s}/payments`,method:"post",data:o,params:p,headers:yr({token:r,jwtToken:i,internalAuthTokenProvider:t,headers:d})})}function c({token:r,jwtToken:s,headers:o,operation:i,query:d={}}){return e({url:"/orders",method:"patch",headers:yr({token:r,jwtToken:s,internalAuthTokenProvider:t,headers:o}),data:{operation:i},params:d})}return{create:n,get:u,overwrite:a,patch:c}}Ki.exports=q$});var Xi=m((yS,Ji)=>{var{authorizationHeaders:w$}=y();function O$({client:e,internalAuthTokenProvider:t}){function n({token:u,voucher:a,headers:c}){return e({url:`/vouchers/${a.number}?cartId=${a.cartId}&firstName=${a.firstName}&lastName=${a.lastName}&displayCurrencyCode=${a.displayCurrencyCode||""}`,headers:w$({token:u,internalAuthTokenProvider:t,headers:c})})}return{get:n}}Ji.exports=O$});var Qi=m((bS,Zi)=>{var{authorizationHeaders:Gi}=y();function F$({client:e,internalAuthTokenProvider:t}){function n({token:a,jwtToken:c,cartId:r,query:s={},headers:o}){return e({url:`/cart/${r}/promos`,method:"post",headers:Gi({token:a,jwtToken:c,internalAuthTokenProvider:t,headers:o}),params:s})}function u({token:a,jwtToken:c,cartId:r,query:s={},headers:o}){return e({url:`/cart/${r}`,method:"delete",headers:Gi({token:a,jwtToken:c,internalAuthTokenProvider:t,headers:o}),params:s})}return{create:n,remove:u}}Zi.exports=F$});var vi=m(($S,Yi)=>{var{authorizationHeaders:S$}=y();function E$({client:e,internalAuthTokenProvider:t}){function n({token:u,query:a={},headers:c}){return e.get("/bundles",{params:a,headers:S$({token:u,internalAuthTokenProvider:t,headers:c})})}return{all:n}}Yi.exports=E$});var ki=m((xS,Ti)=>{var{authorizationHeaders:Pi}=y();function _$({client:e,internalAuthTokenProvider:t}){function n({token:a,redeemableItemId:c,query:r={},headers:s}){return e({url:`/redeemable-items/${c}`,params:r,headers:Pi({token:a,internalAuthTokenProvider:t,headers:s})})}function u({token:a,jwtToken:c,query:r={},headers:s}){return e({url:"/redeemable-items",params:r,headers:Pi({token:a,jwtToken:c,headers:s})})}return{get:n,getValid:u}}Ti.exports=_$});var ed=m((qS,Ai)=>{var{authorizationHeaders:R$}=y();function z$({client:e,internalAuthTokenProvider:t}){function n({token:u,jwtToken:a,flexpassId:c,headers:r}){return e({url:`/flexpasses/${c}`,headers:R$({token:u,jwtToken:a,internalAuthTokenProvider:t,headers:r})})}return{get:n}}Ai.exports=z$});var rd=m((wS,td)=>{var{authorizationHeaders:H$}=y();function C$({client:e,internalAuthTokenProvider:t}){function n({token:u,data:a,jwtToken:c,headers:r}){return e({url:"/sync-entry",method:"patch",headers:H$({token:u,jwtToken:c,internalAuthTokenProvider:t,headers:r}),data:a})}return{patch:n}}td.exports=C$});var ad=m((OS,sd)=>{var{authorizationHeaders:j$}=y();function D$({client:e,internalAuthTokenProvider:t}){function n({token:u,jwtToken:a,id:c,headers:r,query:s={}}){return e({url:`/check-in/${c}`,params:s,headers:j$({token:u,jwtToken:a,internalAuthTokenProvider:t,headers:r})})}return{get:n}}sd.exports=D$});var nd=m((FS,od)=>{var{authorizationHeaders:kr}=y();function N$({client:e,internalAuthTokenProvider:t}){function n({token:c,jwtToken:r,cancelData:s,headers:o}){return e({url:"/cancellations",method:"POST",data:{cancellation:s},headers:kr({token:c,jwtToken:r,internalAuthTokenProvider:t,headers:o})})}function u({token:c,jwtToken:r,cancelSet:s,headers:o}){return e({url:"/cancellations",method:"PUT",data:s,headers:kr({token:c,jwtToken:r,internalAuthTokenProvider:t,headers:o})})}function a({token:c,jwtToken:r,pendingTransactionId:s,paymentResult:o,headers:i}){return e({url:`/cancellations/${s}`,method:"PUT",data:{paymentResult:o},headers:kr({token:c,jwtToken:r,internalAuthTokenProvider:t,headers:i})})}return{sets:{create:n},refunds:{create:u},update:a}}od.exports=N$});var cd=m((SS,ud)=>{function U$({client:e,internalAuthTokenProvider:t}){function n(){return e.get("/api-docs-v2",{})}return{get:n}}ud.exports=U$});var pd=m((ES,dd)=>{var{authorizationHeaders:id}=y();function B$({client:e,internalAuthTokenProvider:t}){function n({token:a,jwtToken:c,query:r={},headers:s}){return e.get("/accounting-items",{params:r,headers:id({token:a,jwtToken:c,internalAuthTokenProvider:t,headers:s})})}function u({accountingItemId:a,token:c,jwtToken:r,headers:s}){return e.get(`/accounting-items/${a}`,{headers:id({token:c,jwtToken:r,internalAuthTokenProvider:t,headers:s})})}return{all:n,get:u}}dd.exports=B$});var md=m((_S,fd)=>{var{authorizationHeaders:L$}=y();function M$({client:e,internalAuthTokenProvider:t}){function n({token:u,jwtToken:a,trxId:c,headers:r}){return e({url:"/appliedInsurances",params:{trxId:c},headers:L$({token:u,jwtToken:a,internalAuthTokenProvider:t,headers:r})})}return{all:n}}fd.exports=M$});var hd=m((RS,ld)=>{var{authorizationHeaders:I$}=y();function V$({client:e,internalAuthTokenProvider:t}){function n({token:u,query:a={},headers:c}){return e({url:"/calendar-entries",params:a,headers:I$({token:u,internalAuthTokenProvider:t,headers:c})})}return{all:n}}ld.exports=V$});var bd=m((zS,yd)=>{var{authorizationHeaders:gd}=y();function K$({client:e,internalAuthTokenProvider:t}){function n({jwtToken:a,token:c,externalBooking:r,headers:s,query:o={}}){return e({url:"/external-bookings",method:"post",data:r,params:o,headers:gd({token:c,jwtToken:a,internalAuthTokenProvider:t,headers:s})})}function u({jwtToken:a,token:c,ticketId:r,headers:s}){return e({url:`/external-bookings/${r}`,method:"delete",headers:gd({token:c,jwtToken:a,internalAuthTokenProvider:t,headers:s})})}return{create:n,remove:u}}yd.exports=K$});var xd=m((HS,$d)=>{var{authorizationHeaders:W$}=y();function J$({client:e,internalAuthTokenProvider:t}){function n({jwtToken:u,token:a,flexpassId:c,tripId:r,headers:s}){return e({url:`/flexpasses/${c}/scannings/${r}`,method:"delete",headers:W$({token:a,jwtToken:u,internalAuthTokenProvider:t,headers:s})})}return{deleteScanBytripId:n}}$d.exports=J$});var wd=m((CS,qd)=>{var{authorizationHeaders:X$}=y();function G$({client:e,internalAuthTokenProvider:t}){function n({jwtToken:u,token:a,customer:c,page:r,headers:s}){let o={customer:c};return r!=null&&(o.page=r),e({url:"/gift-certificates",method:"get",params:o,headers:X$({token:a,jwtToken:u,internalAuthTokenProvider:t,headers:s})})}return{list:n}}qd.exports=G$});var Sd=m((jS,Fd)=>{var{authorizationHeaders:Od}=y();function Z$({client:e,internalAuthTokenProvider:t}){function n({token:a,jwtToken:c,query:r={},headers:s}){return e.get("/loans",{params:r,headers:Od({token:a,jwtToken:c,internalAuthTokenProvider:t,headers:s})})}function u({loanId:a,token:c,jwtToken:r,headers:s}){return e.get(`/loans/${a}`,{headers:Od({token:c,jwtToken:r,internalAuthTokenProvider:t,headers:s})})}return{all:n,get:u}}Fd.exports=Z$});var Rd=m((DS,_d)=>{function Ed(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var u=Object.getOwnPropertySymbols(e);t&&(u=u.filter(function(a){return Object.getOwnPropertyDescriptor(e,a).enumerable})),n.push.apply(n,u)}return n}function Q$(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?Ed(Object(n),!0).forEach(function(u){Y$(e,u,n[u])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Ed(Object(n)).forEach(function(u){Object.defineProperty(e,u,Object.getOwnPropertyDescriptor(n,u))})}return e}function Y$(e,t,n){return(t=v$(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function v$(e){var t=P$(e,"string");return typeof t=="symbol"?t:t+""}function P$(e,t){if(typeof e!="object"||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var u=n.call(e,t||"default");if(typeof u!="object")return u;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}var{authorizationHeaders:N}=y();function T$({client:e,internalAuthTokenProvider:t}){function n({token:R,jwtToken:z,headers:F,data:S}){return e({url:"/manifests/dispatch/reporting",method:"post",headers:N({token:R,jwtToken:z,internalAuthTokenProvider:t,headers:F}),data:S})}function u({token:R,jwtToken:z,headers:F,manifestId:S,data:O}){return e({url:`manifests/${S}/dispatch/reporting`,method:"put",headers:N({token:R,jwtToken:z,internalAuthTokenProvider:t,headers:F}),data:O})}function a({token:R,jwtToken:z,headers:F,manifestId:S,data:O,query:E}){return e({url:`manifests/${S}/dispatches`,method:"post",headers:N({token:R,jwtToken:z,internalAuthTokenProvider:t,headers:F}),data:O,params:E})}function c({token:R,jwtToken:z,query:F={},headers:S}){return e({url:"/manifests",method:"get",params:F,headers:N({token:R,jwtToken:z,internalAuthTokenProvider:t,headers:S})})}function r({token:R,jwtToken:z,manifestId:F,query:S={},headers:O}){return e({url:`/manifests/${F}`,method:"get",params:S,headers:N({token:R,jwtToken:z,internalAuthTokenProvider:t,headers:O})})}function s({token:R,jwtToken:z,data:F,headers:S,mode:O}){let E={mode:"sync"};return O&&(E.mode=O),e({url:"/manifests/status",params:E,method:"put",headers:N({token:R,jwtToken:z,internalAuthTokenProvider:t,headers:S}),data:F})}function o({token:R,jwtToken:z,providerId:F,data:S,headers:O}){return e({url:"/all-manifests",method:"post",params:{providerId:F},headers:N({token:R,jwtToken:z,internalAuthTokenProvider:t,headers:O}),data:S})}function i({token:R,jwtToken:z,query:F={},headers:S}){return e({url:"/outlook-manifests",method:"get",params:F,headers:N({token:R,jwtToken:z,internalAuthTokenProvider:t,headers:S})})}function d({token:R,jwtToken:z,query:F={},operations:S,headers:O}){return e({url:"/manifests",method:"patch",params:F,headers:N({token:R,jwtToken:z,internalAuthTokenProvider:t,headers:O}),data:{operations:S}})}function p({token:R,jwtToken:z,providerId:F,data:S,headers:O,query:E={}}){return e({url:"/manifests",method:"put",params:Q$({providerId:F,manifestId:S.manifestId},E),headers:N({token:R,jwtToken:z,internalAuthTokenProvider:t,headers:O}),data:S})}function f({token:R,jwtToken:z,manifestId:F,query:S={},data:O,headers:E}){return e({url:`/manifests/${F}/users`,method:"post",headers:N({token:R,jwtToken:z,internalAuthTokenProvider:t,headers:E}),params:S,data:O})}function l({token:R,jwtToken:z,manifestId:F,userId:S,headers:O}){return e({url:`/manifests/${F}/users/${S}`,method:"delete",headers:N({token:R,jwtToken:z,internalAuthTokenProvider:t,headers:O})})}function q({token:R,jwtToken:z,manifestId:F,query:S={},data:O,headers:E}){return e({url:`/manifests/${F}/capacity-exceptions`,method:"post",headers:N({token:R,jwtToken:z,internalAuthTokenProvider:t,headers:E}),params:S,data:O})}function g({token:R,jwtToken:z,manifestId:F,exceptionId:S,headers:O}){return e({url:`/manifests/${F}/capacity-exceptions/${S}`,method:"delete",headers:N({token:R,jwtToken:z,internalAuthTokenProvider:t,headers:O})})}function b({token:R,jwtToken:z,manifestId:F,query:S={},data:O,headers:E}){return e({url:`/manifests/${F}/comments`,method:"put",headers:N({token:R,jwtToken:z,internalAuthTokenProvider:t,headers:E}),params:S,data:O})}function h({token:R,jwtToken:z,manifestId:F,query:S={},data:O,headers:E}){return e({url:`/manifests/${F}/status`,method:"put",headers:N({token:R,jwtToken:z,internalAuthTokenProvider:t,headers:E}),params:S,data:O})}function x({token:R,jwtToken:z,manifestKey:F,query:S={},headers:O}){return e({url:`/manifests/${F}/sales-authorizations`,method:"get",params:S,headers:N({token:R,jwtToken:z,internalAuthTokenProvider:t,headers:O})})}return{get:c,getAll:o,getById:r,outlook:i,patch:d,save:p,addUser:f,removeUser:l,updateComment:b,updateStatus:h,addCapacityException:q,removeCapacityException:g,dispatch:a,updateDispatchReporting:u,createDispatchReporting:n,statusBulkUpdate:s,getSalesAuthorizations:x,manifestsExceptions:{update({token:R,jwtToken:z,manifestKey:F,manifestException:S,headers:O,query:E={}}){return e({url:`/manifests/${F}/manifests-exceptions`,method:"put",headers:N({token:R,jwtToken:z,internalAuthTokenProvider:t,headers:O}),params:E,data:{manifestException:S}})}},checkIn:{create({token:R,jwtToken:z,query:F={},headers:S,data:O,manifestId:E,legFromId:j}){return e({url:`/manifests/${E}/checkin/${j}`,method:"post",headers:N({token:R,jwtToken:z,internalAuthTokenProvider:t,headers:S}),params:F,data:O})},open({token:R,jwtToken:z,query:F={},headers:S,manifestId:O,legFromId:E}){return e({url:`/manifests/${O}/checkin/${E}`,method:"patch",headers:N({token:R,jwtToken:z,internalAuthTokenProvider:t,headers:S}),params:F,data:{operation:{name:"open_check_in"}}})},close({token:R,jwtToken:z,query:F={},headers:S,manifestId:O,legFromId:E}){return e({url:`/manifests/${O}/checkin/${E}`,method:"patch",headers:N({token:R,jwtToken:z,internalAuthTokenProvider:t,headers:S}),params:F,data:{operation:{name:"close_check_in"}}})}},legs:{update({token:R,jwtToken:z,data:F,query:S={},headers:O,manifestId:E,legFromId:j}){return e({url:`/manifests/${E}/legs/${j}`,method:"put",headers:N({token:R,jwtToken:z,internalAuthTokenProvider:t,headers:O}),params:S,data:F})},tickets:{update({token:R,jwtToken:z,data:F,query:S={},headers:O,manifestId:E,legFromId:j,ticketId:ge}){return e({url:`/manifests/${E}/legs/${j}/tickets/${ge}`,method:"put",headers:N({token:R,jwtToken:z,internalAuthTokenProvider:t,headers:O}),params:S,data:F})},noshow({token:R,jwtToken:z,query:F={},headers:S,manifestId:O,legFromId:E,ticketId:j}){return e({url:`/manifests/${O}/legs/${E}/tickets/${j}/noshow`,method:"put",headers:N({token:R,jwtToken:z,internalAuthTokenProvider:t,headers:S}),params:F})}}},reports:{get({token:R,jwtToken:z,query:F={},responseType:S="json",id:O,headers:E}){return e({url:`/manifests/${O}/reports`,method:"get",responseType:S,params:F,headers:N({token:R,jwtToken:z,internalAuthTokenProvider:t,headers:E})})}},labels:{add({token:R,jwtToken:z,manifestId:F,query:S={},headers:O,data:E}){return e({url:`/manifests/${F}/labels`,method:"post",headers:N({token:R,jwtToken:z,internalAuthTokenProvider:t,headers:O}),params:S,data:E})},remove({token:R,jwtToken:z,manifestId:F,labelId:S,headers:O}){return e({url:`/manifests/${F}/labels/${S}`,method:"delete",headers:N({token:R,jwtToken:z,internalAuthTokenProvider:t,headers:O})})}},driverRelays:{update({token:R,jwtToken:z,manifestId:F,query:S={bypassValidation:!1},headers:O,data:E}){return e({url:`/manifests/${F}/driver-relays`,method:"put",headers:N({token:R,jwtToken:z,internalAuthTokenProvider:t,headers:O}),params:S,data:E})}},tripClose:{add({token:R,jwtToken:z,manifestId:F,query:S={},headers:O}){return e({url:`/manifests/${F}/trip-close`,method:"post",headers:N({token:R,jwtToken:z,internalAuthTokenProvider:t,headers:O}),params:S})}}}}_d.exports=T$});var Hd=m((NS,zd)=>{var{authorizationHeaders:k$}=y();function A$({client:e,internalAuthTokenProvider:t}){function n({token:u,jwtToken:a,ticketId:c,params:r,headers:s}){return e({url:`/manifest-leg-for-tickets/${c}`,headers:k$({token:u,jwtToken:a,internalAuthTokenProvider:t,headers:s}),params:r})}return{get:n}}zd.exports=A$});var jd=m((US,Cd)=>{var{authorizationHeaders:ex}=y();function tx({client:e,internalAuthTokenProvider:t}){function n({token:u,jwtToken:a,movement:c,query:r={},headers:s}){return e({url:"/movements",method:"post",params:r,headers:ex({token:u,jwtToken:a,internalAuthTokenProvider:t,headers:s}),data:c})}return{create:n}}Cd.exports=tx});var Nd=m((BS,Dd)=>{var{authorizationHeaders:rx}=y();function sx({client:e,internalAuthTokenProvider:t}){function n({token:u,jwtToken:a,query:c={},headers:r}){return e({url:"/outlook-trips",headers:rx({token:u,jwtToken:a,internalAuthTokenProvider:t,headers:r}),params:c})}return{get:n}}Dd.exports=sx});var Bd=m((LS,Ud)=>{var{authorizationHeaders:Ar}=y();function ax({client:e,internalAuthTokenProvider:t}){function n({token:c,jwtToken:r,payment:s,headers:o}){return e({method:"post",url:"/pago-express/info",data:{payment:s},headers:Ar({token:c,jwtToken:r,internalAuthTokenProvider:t,headers:o})})}function u({token:c,jwtToken:r,payment:s,headers:o}){return e({method:"post",url:"/pago-express/pay",data:{payment:s},headers:Ar({token:c,jwtToken:r,internalAuthTokenProvider:t,headers:o})})}function a({token:c,jwtToken:r,reversePayment:s,headers:o}){return e({method:"post",url:"/pago-express/reverse",data:{reversePayment:s},headers:Ar({token:c,jwtToken:r,internalAuthTokenProvider:t,headers:o})})}return{info:n,pay:u,reverse:a}}Ud.exports=ax});var Vd=m((MS,Id)=>{function Ld(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var u=Object.getOwnPropertySymbols(e);t&&(u=u.filter(function(a){return Object.getOwnPropertyDescriptor(e,a).enumerable})),n.push.apply(n,u)}return n}function Md(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?Ld(Object(n),!0).forEach(function(u){ox(e,u,n[u])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Ld(Object(n)).forEach(function(u){Object.defineProperty(e,u,Object.getOwnPropertyDescriptor(n,u))})}return e}function ox(e,t,n){return(t=nx(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function nx(e){var t=ux(e,"string");return typeof t=="symbol"?t:t+""}function ux(e,t){if(typeof e!="object"||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var u=n.call(e,t||"default");if(typeof u!="object")return u;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}var{authorizationHeaders:Dt}=y();function cx({client:e,internalAuthTokenProvider:t}){function n({token:s,jwtToken:o,id:i,headers:d}){return e({url:`/parcels/${i}`,headers:Dt({token:s,jwtToken:o,internalAuthTokenProvider:t,headers:d})})}function u({token:s,jwtToken:o,query:i={},headers:d,providerId:p}){let f=p?Md(Md({},i),{},{providerId:p}):i;return e({url:"/parcels",params:f,headers:Dt({token:s,jwtToken:o,internalAuthTokenProvider:t,headers:d})})}function a({token:s,jwtToken:o,id:i,operationType:d,locationData:p,headers:f}){return e({url:`/parcels/${i}/scans`,method:"post",headers:Dt({token:s,jwtToken:o,internalAuthTokenProvider:t,headers:f}),data:{operationType:d,locationData:p}})}function c({token:s,jwtToken:o,headers:i,id:d,comment:p}){return e({url:`/parcels/${d}/user-comments`,method:"post",headers:Dt({token:s,jwtToken:o,internalAuthTokenProvider:t,headers:i}),data:{comment:p}})}function r({token:s,jwtToken:o,headers:i,id:d,commentId:p}){return e({url:`/parcels/${d}/user-comments/${p}`,method:"delete",headers:Dt({token:s,jwtToken:o,internalAuthTokenProvider:t,headers:i})})}return{get:n,all:u,addScan:a,addComment:c,deleteComment:r}}Id.exports=cx});var Wd=m((IS,Kd)=>{var{authorizationHeaders:We}=y();function ix({client:e,internalAuthTokenProvider:t}){function n({token:s,jwtToken:o,query:i,headers:d}){return e({url:"/parcels-manifests",headers:We({token:s,jwtToken:o,internalAuthTokenProvider:t,headers:d}),params:i})}function u({token:s,jwtToken:o,id:i,format:d,headers:p}){return e({url:`/parcels-manifests/${i}`,method:"get",headers:We({token:s,jwtToken:o,internalAuthTokenProvider:t,headers:p}),params:d!=null?{format:d}:void 0})}function a({token:s,jwtToken:o,query:i={},data:d,headers:p}){return e({url:"/parcels-manifests",method:"post",headers:We({token:s,jwtToken:o,internalAuthTokenProvider:t,headers:p}),params:i,data:d})}return{all:n,get:u,create:a,parcels:{remove({token:s,jwtToken:o,manifestId:i,parcelId:d,headers:p}){return e({url:`/parcels-manifests/${i}/parcels/${d}`,method:"delete",headers:We({token:s,jwtToken:o,internalAuthTokenProvider:t,headers:p})})},create({token:s,jwtToken:o,manifestId:i,query:d={},data:p,headers:f}){return e({url:`/parcels-manifests/${i}/parcels`,method:"post",headers:We({token:s,jwtToken:o,internalAuthTokenProvider:t,headers:f}),params:d,data:p})}},vehicles:{createOrUpdate({token:s,jwtToken:o,manifestId:i,query:d={},data:p,headers:f}){return e({url:`/parcels-manifests/${i}/vehicles`,method:"post",headers:We({token:s,jwtToken:o,internalAuthTokenProvider:t,headers:f}),params:d,data:{parcelManifestVehicle:p}})}}}}Kd.exports=ix});var Xd=m((VS,Jd)=>{var{authorizationHeaders:br}=y();function dx({client:e,internalAuthTokenProvider:t}){function n({token:r,jwtToken:s,query:o,headers:i}){return e({url:"/passenger-check-in-info",headers:br({token:r,jwtToken:s,internalAuthTokenProvider:t,headers:i}),params:o})}function u({token:r,jwtToken:s,id:o,headers:i}){return e({url:`/passenger-check-in-info/${o}`,method:"get",headers:br({token:r,jwtToken:s,internalAuthTokenProvider:t,headers:i})})}function a({token:r,jwtToken:s,id:o,data:i,headers:d,query:p}){return e({url:`/passenger-check-in-info/${o}`,method:"put",params:p,headers:br({token:r,jwtToken:s,internalAuthTokenProvider:t,headers:d}),data:i})}function c({token:r,jwtToken:s,query:o={},data:i,headers:d}){return e({url:"/passenger-check-in-info",method:"post",headers:br({token:r,jwtToken:s,internalAuthTokenProvider:t,headers:d}),params:o,data:i})}return{all:n,get:u,update:a,create:c}}Jd.exports=dx});var Zd=m((KS,Gd)=>{var{authorizationHeaders:es}=y();function px({client:e,internalAuthTokenProvider:t}){function n({token:c,jwtToken:r,redemption:s,headers:o}){return e({url:"/redemptions",method:"post",headers:es({token:c,jwtToken:r,internalAuthTokenProvider:t,headers:o}),data:s})}function u({token:c,jwtToken:r,passId:s,timezone:o,headers:i}){return e({url:`/redemptions/validate/${s}`,params:{timezone:o},method:"get",headers:es({token:c,jwtToken:r,internalAuthTokenProvider:t,headers:i})})}function a({token:c,jwtToken:r,data:s,headers:o}){return e({url:"/unredeem",method:"post",headers:es({token:c,jwtToken:r,internalAuthTokenProvider:t,headers:o}),data:s})}return{create:n,getValidate:u,unredeem:a}}Gd.exports=px});var vd=m((WS,Yd)=>{var{authorizationHeaders:Qd}=y();function fx({client:e,internalAuthTokenProvider:t}){return{manifestForecasts:{all({token:u,jwtToken:a,query:c={},headers:r}){return e.get("/rms/manifest-forecast",{params:c,headers:Qd({token:u,jwtToken:a,internalAuthTokenProvider:t,headers:r})})},get({scheduleId:u,token:a,jwtToken:c,query:r={},headers:s}){return e.get(`/rms/manifest-forecast/${u}`,{params:r,headers:Qd({token:a,jwtToken:c,internalAuthTokenProvider:t,headers:s})})}}}}Yd.exports=fx});var Td=m((JS,Pd)=>{var{authorizationHeaders:Nt}=y();function mx({client:e,internalAuthTokenProvider:t}){function n({token:s,jwtToken:o,query:i,headers:d}){return e({url:"/scheduled-notifications",headers:Nt({token:s,jwtToken:o,internalAuthTokenProvider:t,headers:d}),params:i})}function u({token:s,jwtToken:o,id:i,headers:d}){return e({url:`/scheduled-notifications/${i}`,method:"get",headers:Nt({token:s,jwtToken:o,internalAuthTokenProvider:t,headers:d})})}function a({token:s,jwtToken:o,id:i,data:d,headers:p,query:f}){return e({url:`/scheduled-notifications/${i}`,method:"put",params:f,headers:Nt({token:s,jwtToken:o,internalAuthTokenProvider:t,headers:p}),data:d})}function c({token:s,jwtToken:o,id:i,headers:d}){return e({url:`/scheduled-notifications/${i}`,method:"delete",headers:Nt({token:s,jwtToken:o,internalAuthTokenProvider:t,headers:d})})}function r({token:s,jwtToken:o,query:i={},data:d,headers:p}){return e({url:"/scheduled-notifications",method:"post",headers:Nt({token:s,jwtToken:o,internalAuthTokenProvider:t,headers:p}),params:i,data:d})}return{all:n,get:u,update:a,remove:c,create:r}}Pd.exports=mx});var Ad=m((XS,kd)=>{var{authorizationHeaders:lx}=y();function hx({client:e,internalAuthTokenProvider:t}){function n({token:u,jwtToken:a,productId:c,ticketId:r,providerId:s,headers:o}){return e({url:`/products/${c}/segments/${r}`,headers:lx({token:u,jwtToken:a,internalAuthTokenProvider:t,headers:o}),params:{providerId:s}})}return{all:n}}kd.exports=hx});var tp=m((GS,ep)=>{var{authorizationHeaders:gx}=y();function yx({client:e,internalAuthTokenProvider:t}){function n({token:u,jwtToken:a,query:c={},headers:r}){return e.get("/sold-items/fulfillment",{params:c,headers:gx({token:u,jwtToken:a,internalAuthTokenProvider:t,headers:r})})}return{all:n}}ep.exports=yx});var ap=m((ZS,sp)=>{var{authorizationHeaders:rp}=y();function bx({client:e,internalAuthTokenProvider:t}){function n({token:a,jwtToken:c,soldItemId:r,headers:s,query:o}){return e.get(`/sold-items/${r}`,{params:o,headers:rp({token:a,jwtToken:c,internalAuthTokenProvider:t,headers:s})})}function u({token:a,jwtToken:c,headers:r,query:s}){return e.get("/sold-items",{params:s,headers:rp({token:a,jwtToken:c,internalAuthTokenProvider:t,headers:r})})}return{all:u,get:n}}sp.exports=bx});var cp=m((QS,up)=>{function op(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var u=Object.getOwnPropertySymbols(e);t&&(u=u.filter(function(a){return Object.getOwnPropertyDescriptor(e,a).enumerable})),n.push.apply(n,u)}return n}function np(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?op(Object(n),!0).forEach(function(u){$x(e,u,n[u])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):op(Object(n)).forEach(function(u){Object.defineProperty(e,u,Object.getOwnPropertyDescriptor(n,u))})}return e}function $x(e,t,n){return(t=xx(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function xx(e){var t=qx(e,"string");return typeof t=="symbol"?t:t+""}function qx(e,t){if(typeof e!="object"||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var u=n.call(e,t||"default");if(typeof u!="object")return u;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}var{authorizationHeaders:Je}=y();function wx({client:e,internalAuthTokenProvider:t}){function n({token:o,jwtToken:i,id:d,headers:p,query:f}){return e({url:`/tickets/${d}`,method:"get",params:f,headers:Je({token:o,jwtToken:i,internalAuthTokenProvider:t,headers:p})})}function u({token:o,jwtToken:i,id:d,operations:p,warningsEnabled:f,headers:l}){return e({url:`/tickets/${d}`,method:"patch",headers:Je({token:o,jwtToken:i,internalAuthTokenProvider:t,headers:l}),data:{operations:p,warningsEnabled:f}})}function a({token:o,jwtToken:i,ticketId:d,headers:p}){return e({url:`/tickets/${d}/companion-tickets`,headers:Je({token:o,jwtToken:i,headers:p})})}function c({token:o,jwtToken:i,query:d={},headers:p,providerId:f}){let l=f?np(np({},d),{},{providerId:f}):d;return e({url:"/tickets",params:l,headers:Je({token:o,jwtToken:i,internalAuthTokenProvider:t,headers:p})})}function r({token:o,jwtToken:i,ticketId:d,data:p,headers:f}){return e({url:`/tickets/${d}/delivery`,method:"put",headers:Je({token:o,jwtToken:i,internalAuthTokenProvider:t,headers:f}),data:p})}function s({token:o,jwtToken:i,ticketId:d,data:p,headers:f}){return e({url:`/tickets/${d}/passenger`,method:"put",headers:Je({token:o,jwtToken:i,internalAuthTokenProvider:t,headers:f}),data:p})}return{get:n,all:c,patch:u,companionTickets:a,updateDelivery:r,updatePassenger:s}}up.exports=wx});var dp=m((YS,ip)=>{var{authorizationHeaders:Ox}=y();function Fx({client:e,internalAuthTokenProvider:t}){function n({token:u,jwtToken:a,id:c,providerId:r,headers:s}){return e({url:`/transaction/${c}?providerId=${r}`,headers:Ox({token:u,jwtToken:a,internalAuthTokenProvider:t,headers:s})})}return{get:n}}ip.exports=Fx});var fp=m((vS,pp)=>{var{authorizationHeaders:ee}=y();function Sx({client:e,internalAuthTokenProvider:t}){function n({token:l,jwtToken:q,trxId:g,query:b,headers:h}){return e({url:`/transactions/${g}`,headers:ee({token:l,jwtToken:q,internalAuthTokenProvider:t,headers:h}),params:b})}function u({token:l,jwtToken:q,query:g,headers:b}){return e({url:"/transactions",headers:ee({token:l,jwtToken:q,internalAuthTokenProvider:t,headers:b}),params:g})}function a({token:l,jwtToken:q,trxId:g,headers:b}){return e({url:`/transactions/${g}/tickets`,headers:ee({token:l,jwtToken:q,internalAuthTokenProvider:t,headers:b})})}function c({token:l,jwtToken:q,trxId:g,headers:b}){return e({url:`/transactions/${g}/applied-insurance`,headers:ee({token:l,jwtToken:q,internalAuthTokenProvider:t,headers:b})})}function r({token:l,jwtToken:q,transactionId:g,ticketIds:b,headers:h}){return e({url:`/transactions/${g}/companion-tickets`,params:{ticketIds:b.join(",")},headers:ee({token:l,jwtToken:q,internalAuthTokenProvider:t,headers:h})})}function s({jwtToken:l,transactionId:q,allEligibleTransactions:g,avoidEmail:b,token:h,headers:x}){let w={name:"expire_payment",avoidEmail:b,transactionIds:[q]};return g&&delete w.transactionIds,e({url:"/transactions/status",method:"patch",params:{},headers:ee({internalAuthTokenProvider:t,jwtToken:l,token:h,headers:x}),data:{operation:w}})}function o({token:l,jwtToken:q,transactionId:g,headers:b,displayAll:h,channel:x}){return e({url:`/transactions/${g}/cancellable-items`,params:{displayAll:!!h,channel:x||""},headers:ee({token:l,jwtToken:q,internalAuthTokenProvider:t,headers:b})})}let i={update({token:l,jwtToken:q,trxId:g,paymentResult:b,headers:h}){return e({url:`/transactions/${g}/payments`,method:"put",headers:ee({token:l,jwtToken:q,internalAuthTokenProvider:t,headers:h}),data:{paymentResult:b}})}},d={create({token:l,jwtToken:q,transactionId:g,query:b,invoice:h,headers:x}){return e({url:`/transactions/${g}/invoices`,method:"post",headers:ee({token:l,jwtToken:q,internalAuthTokenProvider:t,headers:x}),params:b,data:h})}},p={create({token:l,jwtToken:q,transactionId:g,query:b,creditNote:h,headers:x}){return e({url:`/transactions/${g}/credit-notes`,method:"post",headers:ee({token:l,jwtToken:q,internalAuthTokenProvider:t,headers:x}),params:b,data:h})}};function f({token:l,jwtToken:q,trxId:g,data:b,headers:h}){return e({url:`/transactions/${g}/delivery`,method:"put",headers:ee({token:l,jwtToken:q,internalAuthTokenProvider:t,headers:h}),data:b})}return{all:u,get:n,getTickets:a,appliedInsurance:c,companionTickets:r,expireAll:s,updateDelivery:f,cancellableItems:o,payments:i,invoices:d,creditNotes:p}}pp.exports=Sx});var lp=m((PS,mp)=>{var{authorizationHeaders:Ex}=y();function _x({client:e,internalAuthTokenProvider:t}){function n({token:u,jwtToken:a,productId:c,params:r,headers:s}){return e({url:`/trip-change-info/${c}`,headers:Ex({token:u,jwtToken:a,internalAuthTokenProvider:t,headers:s}),params:r})}return{get:n}}mp.exports=_x});var yp=m((TS,gp)=>{var{authorizationHeaders:hp}=y();function Rx({client:e,internalAuthTokenProvider:t}){function n({token:a,jwtToken:c,headers:r}){return e({url:"/cancellation-settings",method:"get",headers:hp({token:a,jwtToken:c,internalAuthTokenProvider:t,headers:r})})}function u({token:a,jwtToken:c,data:r,headers:s}){return e({url:"/cancellation-settings",method:"put",headers:hp({token:a,jwtToken:c,internalAuthTokenProvider:t,headers:s}),data:r})}return{get:n,update:u}}gp.exports=Rx});var $p=m((kS,bp)=>{var{authorizationHeaders:$r}=y();function zx({client:e,internalAuthTokenProvider:t}){return{all({token:n,jwtToken:u,query:a={},headers:c}){return e({url:"/vehicle-assignments",params:a,headers:$r({token:n,jwtToken:u,internalAuthTokenProvider:t,headers:c})})},get({token:n,jwtToken:u,vehicleAssignmentId:a,headers:c}){return e.get(`/vehicle-assignments/${a}`,{headers:$r({token:n,jwtToken:u,internalAuthTokenProvider:t,headers:c})})},create({data:n,token:u,jwtToken:a,headers:c}){return e({url:"/vehicle-assignments",method:"post",headers:$r({token:u,jwtToken:a,internalAuthTokenProvider:t,headers:c}),data:n})},update({vehicleAssignmentId:n,data:u,token:a,jwtToken:c,headers:r}){return e({url:`/vehicle-assignments/${n}`,method:"put",headers:$r({token:a,jwtToken:c,internalAuthTokenProvider:t,headers:r}),data:u})}}}bp.exports=zx});var wp=m((AS,qp)=>{var{authorizationHeaders:xp}=y();function Hx({client:e,internalAuthTokenProvider:t}){function n({jwtToken:a,token:c,headers:r,query:s={},voucher:o={}}){return e({url:"/vouchers",method:"POST",params:s,data:o,headers:xp({jwtToken:a,token:c,internalAuthTokenProvider:t,headers:r})})}function u({token:a,jwtToken:c,compensation:r,query:s={},headers:o}){return e({url:"/vouchers/compensations",method:"post",params:s,headers:xp({token:a,jwtToken:c,internalAuthTokenProvider:t,headers:o}),data:r})}return{create:n,compensations:{create:u}}}qp.exports=Hx});var Fp=m((eE,Op)=>{var{authorizationHeaders:xr}=y();function Cx({client:e,internalAuthTokenProvider:t}){function n({token:r,jwtToken:s,query:o,headers:i}){return e({url:"/waitlists",headers:xr({token:r,jwtToken:s,internalAuthTokenProvider:t,headers:i}),params:o})}function u({token:r,jwtToken:s,waitlistId:o,headers:i}){return e({url:`/waitlists/${o}`,method:"get",headers:xr({token:r,jwtToken:s,internalAuthTokenProvider:t,headers:i})})}function a({token:r,jwtToken:s,waitlistId:o,headers:i}){return e({url:`/waitlists/${o}`,method:"delete",headers:xr({token:r,jwtToken:s,internalAuthTokenProvider:t,headers:i})})}function c({token:r,jwtToken:s,data:o,headers:i}){return e({url:"/waitlists",method:"post",headers:xr({token:r,jwtToken:s,internalAuthTokenProvider:t,headers:i}),data:o})}return{all:n,get:u,remove:a,create:c}}Op.exports=Cx});var Ep=m((tE,Sp)=>{var{authorizationHeaders:jx}=y();function Dx({client:e,internalAuthTokenProvider:t}){return{cnrt:{create({data:u,token:a,jwtToken:c,headers:r}){return e({url:"/transport-regulations/cnrt/manifests",method:"post",headers:jx({token:a,jwtToken:c,internalAuthTokenProvider:t,headers:r}),data:u})}}}}Sp.exports=Dx});var zp=m((rE,Rp)=>{var{authorizationHeaders:_p}=y();function Nx({client:e,internalAuthTokenProvider:t}){function n({token:a,jwtToken:c,id:r,headers:s}){return e({url:`/types/${r}`,headers:_p({token:a,jwtToken:c,internalAuthTokenProvider:t,headers:s})})}function u({token:a,jwtToken:c,name:r,headers:s}){return e({url:`/types?name=${r}`,headers:_p({token:a,jwtToken:c,internalAuthTokenProvider:t,headers:s})})}return{get:n,getByName:u}}Rp.exports=Nx});var Cp=m((sE,Hp)=>{var{authorizationHeaders:ts}=y();function Ux({client:e,internalAuthTokenProvider:t}){function n({token:c,customReport:r,jwtToken:s,headers:o}){return e({url:"/custom-reports",method:"post",headers:ts({token:c,jwtToken:s,internalAuthTokenProvider:t,headers:o}),data:{customReport:r}})}function u({token:c,jwtToken:r,query:s={},headers:o}){return e({url:"/custom-reports",params:s,headers:ts({token:c,jwtToken:r,internalAuthTokenProvider:t,headers:o})})}function a({token:c,jwtToken:r,customReportId:s,headers:o}){return e({url:`/custom-reports/${s}`,method:"delete",headers:ts({token:c,jwtToken:r,internalAuthTokenProvider:t,headers:o})})}return{create:n,all:u,remove:a}}Hp.exports=Ux});var Dp=m((aE,jp)=>{var{authorizationHeaders:Bx}=y();function Lx({client:e,internalAuthTokenProvider:t}){function n({token:u,jwtToken:a,report:c,headers:r}){return e({url:"/email",method:"post",data:c,headers:Bx({token:u,jwtToken:a,internalAuthTokenProvider:t,headers:r})})}return{post:n}}jp.exports=Lx});var Up=m((oE,Np)=>{var{authorizationHeaders:Mx}=y();function Ix({client:e,internalAuthTokenProvider:t}){function n({token:u,jwtToken:a,query:c={},headers:r}){return e({url:"/trip-manifests",params:c,headers:Mx({token:u,jwtToken:a,internalAuthTokenProvider:t,headers:r})})}return{all:n}}Np.exports=Ix});var Mp=m((nE,Lp)=>{var{authorizationHeaders:Bp}=y();function Vx({client:e,internalAuthTokenProvider:t}){function n({token:a,jwtToken:c,query:r={},data:s,headers:o}){return e({url:"/manifest-notifications",method:"post",params:r,data:s,headers:Bp({token:a,jwtToken:c,internalAuthTokenProvider:t,headers:o})})}function u({token:a,query:c={},headers:r}){return e.get("/manifest-notifications",{params:c,headers:Bp({token:a,internalAuthTokenProvider:t,headers:r})})}return{create:n,all:u}}Lp.exports=Vx});var Vp=m((uE,Ip)=>{var{authorizationHeaders:Kx}=y();function Wx({client:e,internalAuthTokenProvider:t}){function n({token:u,jwtToken:a,responseType:c="json",trxId:r,lang:s,date:o,channel:i,headers:d}){return e({url:"/printed-tickets",params:{trxId:r,lang:s,date:o,channel:i},responseType:c,headers:Kx({token:u,jwtToken:a,internalAuthTokenProvider:t,headers:d})})}return{get:n}}Ip.exports=Wx});var Wp=m((cE,Kp)=>{var{authorizationHeaders:Jx}=y();function Xx({client:e,internalAuthTokenProvider:t}){function n({token:u,jwtToken:a,query:c={},itemId:r,headers:s,responseType:o}){let i=`/pdf-tickets/${r}`;if(c.type==="product")switch(c.family){case"ticket":i=`/pdf-tickets/${r}`;break;case"reservation":i=`/pdf-reservations/${r}`;break;case"paid in":i=`/pdf-paid-ins/${r}`;break;case"paid out":i=`/pdf-paid-outs/${r}`;break;case"parcel":i=`/pdf-parcels/${r}`;break;case"flexpass":i=`/pdf-flexpasses/${r}`;break;case"bundle":i=`/pdf-redeemable-items/${r}`;break;default:break}return c.type==="giftCertificate"&&(i=`/pdf-gift-certificates/${r}`),c.type==="voucher"&&(i=`/pdf-vouchers/${r}`),c.type==="transaction"&&(i=`/pdf-transactions/${r}`),c.type==="ssr"&&(i=`/pdf-ssrs/${r}`),c.type==="manifest"&&(i=`/pdf-manifests/${r}`),c.type==="passengersManifest"&&(i=`/pdf-passengers-manifests/${r}`),c.type==="order"&&(i=`/pdf-orders/${r}`),c.type==="shift"&&(i=`/pdf-shifts/${r}`),c.type==="remainderSlip"&&(i=`/pdf-remainder-slip/${r}`),c.type==="exchange"&&(i=`/pdf-exchanges/${r}`),c.type==="invoice"&&(i=`/pdf-invoices/${r}`),c.type==="locationClosure"&&(i=`/pdf-location-closures/${r}`),c.type==="parcelManifest"&&(i=`/pdf-parcels-manifests/${r}`),c.type==="startingBalance"&&(i=`/pdf-starting-balance/${r}`),c.type==="partialShiftDeposits"&&(i=`/pdf-partial-shift-deposits-id/${r}`),c.type==="shiftLocationClosure"&&(i=`/pdf-shift-location-closures/${r}`),c.type==="bankDepositSlip"&&(i=`/pdf-bank-deposit-slips/${r}`),c.type==="terminalVoucher"&&(i=`/pdf-terminal-voucher/${r}`),c.type==="manualTickets"&&(i=`/pdf-manual-tickets/${r}`),c.type==="externalWalletVoucher"&&(i=`/pdf-external-wallet-voucher/${r}`),e.get(i,{params:c,responseType:o||"blob",headers:Jx({token:u,jwtToken:a,internalAuthTokenProvider:t,headers:s})})}return{get:n}}Kp.exports=Xx});var Xp=m((iE,Jp)=>{var{authorizationHeaders:Gx}=y();function Zx({client:e,internalAuthTokenProvider:t}){function n({token:u,jwtToken:a,query:c={},itemId:r,headers:s}){let o=`/pdf-tickets/${r}`;if(c.type==="product")switch(c.family){case"ticket":o=`/pdf-tickets/${r}`;break;case"reservation":o=`/pdf-reservations/${r}`;break;case"paid in":o=`/pdf-paid-ins/${r}`;break;case"paid out":o=`/pdf-paid-outs/${r}`;break;case"parcel":o=`/pdf-parcels/${r}`;break;case"flexpass":o=`/pdf-flexpasses/${r}`;break;case"bundle":o=`/pdf-redeemable-items/${r}`;break;default:break}return(c.type==="pre_trip_notification"||c.type==="post_trip_notification")&&(o=`/queue-notifications/manifest-notification-data/${r}`),c.type==="parcel_confirmation"&&(o=`/pdf-parcels/${r}`),c.type==="redeemable_items_confirmation"&&(o=`/pdf-redeemable-items/${r}`),c.type==="sold_item_confirmation"&&(o=`/pdf-paid-ins/${r}`),(c.type==="customer_card_membership"||c.type==="scanning_badge"||c.type==="customer_activation"||c.type==="customer_activation_mobile"||c.type==="customer_password_reset"||c.type==="customer_password_reset_mobile")&&(o=`/pdf-customer/${r}`),(c.type==="giftCertificate"||c.type==="gift_certificate_notification")&&(o=`/pdf-gift-certificates/${r}`),c.type==="user_password_reset"&&(o=`/pdf-users/${r}`),(c.type==="voucher"||c.type==="voucher_notification"||c.type==="compensation_voucher")&&(o=`/pdf-vouchers/${r}`),(c.type==="new_account"||c.type==="new_seller_account"||c.type==="interline_provider_invite")&&(o=`/pdf-accounts/${r}`),(c.type==="transaction"||c.type==="operator_purchase"||c.type==="operator_ssr")&&(o=`/pdf-transactions/${r}`),c.type==="ssr"&&(o=`/pdf-ssrs/${r}`),c.type==="passengersManifest"&&(o=`/pdf-passengers-manifests/${r}`),(c.type==="reaccomodation"||c.type==="ticket_movement")&&(o=`/pdf-tickets/${r}`),(c.type==="manifest"||c.type==="manifest_notification"||c.type==="operator_manifest_capacity")&&(o=`/pdf-manifests/${r}`),["order","order_confirmation","cancellation","change"].includes(c.type)&&(o=`/pdf-orders/${r}`),c.type==="shift"&&(o=`/pdf-shifts/${r}`),c.type==="remainderSlip"&&(o=`/pdf-remainder-slip/${r}`),c.type==="exchange"&&(o=`/pdf-exchanges/${r}`),c.type==="invoice"&&(o=`/pdf-invoices/${r}`),c.type==="locationClosure"&&(o=`/pdf-location-closures/${r}`),c.type==="parcelManifest"&&(o=`/pdf-parcels-manifests/${r}`),c.type==="startingBalance"&&(o=`/pdf-starting-balance/${r}`),c.type==="partialShiftDeposits"&&(o=`/pdf-partial-shift-deposits/${r}`),c.type==="shiftLocationClosure"&&(o=`/pdf-shift-location-closures/${r}`),c.type==="bankDepositSlip"&&(o=`/pdf-bank-deposit-slips/${r}`),c.type==="terminalVoucher"&&(o=`/pdf-terminal-voucher/${r}`),c.type==="manualTickets"&&(o=`/pdf-manual-tickets/${r}`),c.type==="externalWalletVoucher"&&(o=`/pdf-external-wallet-voucher/${r}`),e.get(o,{params:c,headers:Gx({token:u,jwtToken:a,internalAuthTokenProvider:t,headers:s})})}return{get:n}}Jp.exports=Zx});var Zp=m((dE,Gp)=>{var{authorizationHeaders:Qx}=y();function Yx({client:e,internalAuthTokenProvider:t}){function n({token:u,jwtToken:a,query:c={},headers:r}){return e({url:"/email",method:"post",params:c,headers:Qx({token:u,jwtToken:a,internalAuthTokenProvider:t,headers:r})})}return{create:n}}Gp.exports=Yx});var vp=m((pE,Yp)=>{var{authorizationHeaders:Qp}=y();function vx({client:e,internalAuthTokenProvider:t}){function n({token:a,jwtToken:c,query:r={},headers:s}){return e({url:"/customers/reset",method:"post",params:r,headers:Qp({token:a,jwtToken:c,internalAuthTokenProvider:t,headers:s})})}function u({token:a,query:c={},data:r,headers:s}){return e({url:"/customers/activation",method:"post",params:c,data:r,headers:Qp({token:a,internalAuthTokenProvider:t,headers:s})})}return{sendResetPasswordEmail:n,sendActivationEmail:u}}Yp.exports=vx});var kp=m((fE,Tp)=>{var{authorizationHeaders:Pp}=y();function Px({client:e,internalAuthTokenProvider:t}){function n({data:a,token:c,jwtToken:r,headers:s}){return e({url:"/external-customers/ado/registration",method:"post",headers:Pp({token:c,jwtToken:r,internalAuthTokenProvider:t,headers:s}),data:a})}function u({token:a,jwtToken:c,walletId:r,headers:s}){return e({url:`/external-customers/ado/external-wallets/${encodeURIComponent(r)}/statements`,method:"post",headers:Pp({token:a,jwtToken:c,internalAuthTokenProvider:t,headers:s}),data:{}})}return{requestSaldoMaxVerificationCode:n,sendSaldoMaxStatementEmail:u}}Tp.exports=Px});var ef=m((mE,Ap)=>{var{authorizationHeaders:qr}=y();function Tx({client:e,internalAuthTokenProvider:t}){return{phoneNumbers:{all({isocode:n,token:u,jwtToken:a,query:c={},headers:r}){return e.get(`/twilio/phone-numbers/${n}`,{params:c,headers:qr({token:u,jwtToken:a,internalAuthTokenProvider:t,headers:r})})},create({token:n,jwtToken:u,phoneNumberData:a={},headers:c}){return e({url:"/twilio/phone-numbers",method:"post",data:{phoneNumber:a},headers:qr({token:n,jwtToken:u,internalAuthTokenProvider:t,headers:c})})}},sms:{create({token:n,jwtToken:u,smsMsg:a={},headers:c}){return e({url:"/twilio/sms",method:"post",data:{sms:a},headers:qr({token:n,jwtToken:u,internalAuthTokenProvider:t,headers:c})})}},whatsapp:{create({token:n,jwtToken:u,whatsappMsg:a={},headers:c}){return e({url:"/twilio/whatsapp",method:"post",data:{whatsapp:a},headers:qr({token:n,jwtToken:u,internalAuthTokenProvider:t,headers:c})})}}}}Ap.exports=Tx});var rf=m((lE,tf)=>{var{authorizationHeaders:kx}=y();function Ax({client:e,internalAuthTokenProvider:t}){return{sms:{create({token:n,jwtToken:u,smsMsg:a={},headers:c}){return e({url:"/salesforce/sms",method:"post",data:{sms:a},headers:kx({token:n,jwtToken:u,internalAuthTokenProvider:t,headers:c})})}}}}tf.exports=Ax});var of=m((hE,af)=>{var{authorizationHeaders:sf}=y();function eq({client:e,internalAuthTokenProvider:t}){function n({token:a,jwtToken:c,urlData:r,headers:s}){return e({url:"/short-urls",method:"post",headers:sf({token:a,jwtToken:c,internalAuthTokenProvider:t,headers:s}),data:{urlData:r}})}function u({token:a,shortId:c,maxRedirects:r=0,headers:s}){return e({url:`/u/${encodeURIComponent(c)}`,method:"get",maxRedirects:r,validateStatus:o=>o===302||o>=200&&o<300,headers:sf({token:a,internalAuthTokenProvider:t,headers:s})})}return{create:n,getByShortId:u}}af.exports=eq});var uf=m((gE,nf)=>{var{authorizationHeaders:ze}=y();function tq({client:e,internalAuthTokenProvider:t}){return{emailByType:{create({token:n,jwtToken:u,data:a,headers:c}){return e({url:"/notify/email",method:"post",data:a||{},headers:ze({token:n,jwtToken:u,internalAuthTokenProvider:t,headers:c})})}},smsByType:{create({token:n,jwtToken:u,data:a,headers:c}){return e({url:"/notify/sms",method:"post",data:a||{},headers:ze({token:n,jwtToken:u,internalAuthTokenProvider:t,headers:c})})}},childUsers:{create({token:n,jwtToken:u,email:a,lang:c,accountId:r,headers:s}){return e({url:"/notify-child-user",method:"post",data:{email:a,lang:c,accountId:r},headers:ze({token:n,jwtToken:u,internalAuthTokenProvider:t,headers:s})})}},newSeller:{create({token:n,jwtToken:u,sellerEmail:a,sellerDomain:c,providerAdminEmail:r,lang:s,headers:o}){return e({url:"/notify-new-seller",method:"post",data:{sellerEmail:a,sellerDomain:c,providerAdminEmail:r,lang:s},headers:ze({token:n,jwtToken:u,internalAuthTokenProvider:t,headers:o})})}},tickets:{create({token:n,jwtToken:u,query:a,operation:c,to:r,ticketId:s,headers:o}){return e({url:`/notify-tickets/${s}`,method:"post",params:a,data:{to:r,operation:c},headers:ze({token:n,jwtToken:u,internalAuthTokenProvider:t,headers:o})})}},vouchers:{create({token:n,jwtToken:u,query:a,data:c,headers:r}){return e({url:"/notify-vouchers",method:"post",params:a,data:c,headers:ze({token:n,jwtToken:u,internalAuthTokenProvider:t,headers:r})})}},manifest:{create({token:n,jwtToken:u,data:a,headers:c}){return e({url:"/notify-manifest",method:"post",data:a,headers:ze({token:n,jwtToken:u,internalAuthTokenProvider:t,headers:c})})}}}}nf.exports=tq});var df=m((yE,cf)=>{var{authorizationHeaders:rq}=y();function sq({client:e,internalAuthTokenProvider:t}){function n({token:u,jwtToken:a,query:c={},orderRulesValidation:r,headers:s}){return e({url:"/orders-rules-validations",method:"post",params:c,data:{orderRulesValidation:r},headers:rq({token:u,jwtToken:a,internalAuthTokenProvider:t,headers:s})})}return{create:n}}cf.exports=sq});var lf=m((bE,mf)=>{function pf(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var u=Object.getOwnPropertySymbols(e);t&&(u=u.filter(function(a){return Object.getOwnPropertyDescriptor(e,a).enumerable})),n.push.apply(n,u)}return n}function ff(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?pf(Object(n),!0).forEach(function(u){aq(e,u,n[u])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):pf(Object(n)).forEach(function(u){Object.defineProperty(e,u,Object.getOwnPropertyDescriptor(n,u))})}return e}function aq(e,t,n){return(t=oq(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function oq(e){var t=nq(e,"string");return typeof t=="symbol"?t:t+""}function nq(e,t){if(typeof e!="object"||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var u=n.call(e,t||"default");if(typeof u!="object")return u;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}var{authorizationHeaders:uq}=y();function cq({client:e,internalAuthTokenProvider:t}){function n({token:u,jwtToken:a,formData:c,headers:r}){let s=typeof c.getHeaders=="function"?c.getHeaders():{};return e({url:"/files",method:"post",headers:ff(ff({},uq({token:u,jwtToken:a,internalAuthTokenProvider:t,headers:r})),s),data:c})}return{upload:n}}mf.exports=cq});var bf=m(($E,yf)=>{function hf(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var u=Object.getOwnPropertySymbols(e);t&&(u=u.filter(function(a){return Object.getOwnPropertyDescriptor(e,a).enumerable})),n.push.apply(n,u)}return n}function gf(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?hf(Object(n),!0).forEach(function(u){iq(e,u,n[u])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):hf(Object(n)).forEach(function(u){Object.defineProperty(e,u,Object.getOwnPropertyDescriptor(n,u))})}return e}function iq(e,t,n){return(t=dq(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function dq(e){var t=pq(e,"string");return typeof t=="symbol"?t:t+""}function pq(e,t){if(typeof e!="object"||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var u=n.call(e,t||"default");if(typeof u!="object")return u;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}var{authorizationHeaders:fq}=y();function mq({client:e,internalAuthTokenProvider:t}){function n({token:u,jwtToken:a,formData:c,headers:r}){let s=typeof c.getHeaders=="function"?c.getHeaders():{};return e({url:"/images",method:"post",headers:gf(gf({},fq({token:u,jwtToken:a,internalAuthTokenProvider:t,headers:r})),s),data:c})}return{create:n}}yf.exports=mq});var xf=m((xE,$f)=>{var{authorizationHeaders:rs}=y();function lq({client:e,internalAuthTokenProvider:t}){function n({token:c,context:r,query:s={},headers:o}){let i=Object.assign({},s,{context:r});return e({url:"/programs",params:i,headers:rs({token:c,internalAuthTokenProvider:t,headers:o})})}function u({token:c,jwtToken:r,program:s,headers:o}){return e({url:"/programs",method:"post",headers:rs({token:c,jwtToken:r,internalAuthTokenProvider:t,headers:o}),data:s})}function a({token:c,jwtToken:r,programId:s,program:o,headers:i}){return e({url:`/programs/${s}`,method:"put",headers:rs({token:c,jwtToken:r,internalAuthTokenProvider:t,headers:i}),data:o})}return{all:n,create:u,put:a}}$f.exports=lq});var wf=m((qE,qf)=>{var{authorizationHeaders:ss}=y();function hq({client:e,internalAuthTokenProvider:t}){function n({token:c,jwtToken:r,programId:s,query:o={},headers:i}){return e({url:`/programs/${s}/movements`,params:o,headers:ss({token:c,jwtToken:r,internalAuthTokenProvider:t,headers:i})})}function u({token:c,jwtToken:r,programId:s,movement:o,query:i={},headers:d}){return e({url:`/programs/${s}/movements`,method:"post",params:i,headers:ss({token:c,jwtToken:r,internalAuthTokenProvider:t,headers:d}),data:o})}return{all:n,create:u,balance:{get({token:c,jwtToken:r,programId:s,customerId:o,query:i={},headers:d}){return e({url:`/programs/${s}/movements/balance/${o}`,params:i,headers:ss({token:c,jwtToken:r,internalAuthTokenProvider:t,headers:d})})}}}}qf.exports=hq});var Ff=m((wE,Of)=>{var{authorizationHeaders:Ut}=y();function gq({client:e,internalAuthTokenProvider:t}){function n({token:s,jwtToken:o,context:i,query:d={},headers:p}){let f=Object.assign({},d,{context:i});return e({url:"/subscriptions",params:f,headers:Ut({token:s,jwtToken:o,internalAuthTokenProvider:t,headers:p})})}function u({token:s,jwtToken:o,id:i,headers:d}){return e({url:`/subscriptions/${i}`,method:"get",headers:Ut({token:s,jwtToken:o,internalAuthTokenProvider:t,headers:d})})}function a({token:s,jwtToken:o,subscription:i,headers:d}){return e({url:"/subscriptions",method:"post",headers:Ut({token:s,jwtToken:o,internalAuthTokenProvider:t,headers:d}),data:i})}function c({token:s,jwtToken:o,id:i,subscription:d,headers:p}){return e({url:`/subscriptions/${i}`,method:"put",headers:Ut({token:s,jwtToken:o,internalAuthTokenProvider:t,headers:p}),data:d})}function r({token:s,jwtToken:o,id:i,headers:d}){return e({url:`/subscriptions/${i}`,method:"delete",headers:Ut({token:s,jwtToken:o,internalAuthTokenProvider:t,headers:d})})}return{all:n,create:a,getById:u,put:c,deleteById:r}}Of.exports=gq});var Ef=m((OE,Sf)=>{var{authorizationHeaders:yq}=y();function bq({client:e,internalAuthTokenProvider:t}){function n({token:u,jwtToken:a,context:c,query:r={},headers:s}){let o=Object.assign({},r,{context:c});return e({url:"/events",params:o,headers:yq({token:u,jwtToken:a,internalAuthTokenProvider:t,headers:s})})}return{all:n}}Sf.exports=bq});var Rf=m((FE,_f)=>{var{authorizationHeaders:He}=y();function $q({client:e,internalAuthTokenProvider:t}){function n({token:i,jwtToken:d,context:p,query:f={},headers:l}){let q=Object.assign({},f,{context:p});return e({url:"/undelivered",params:q,headers:He({token:i,jwtToken:d,internalAuthTokenProvider:t,headers:l})})}function u({token:i,jwtToken:d,id:p,headers:f}){return e({url:`/undelivered/${p}`,method:"get",headers:He({token:i,jwtToken:d,internalAuthTokenProvider:t,headers:f})})}function a({token:i,jwtToken:d,operation:p,headers:f}){return e({url:"/undelivered",method:"patch",headers:He({token:i,jwtToken:d,internalAuthTokenProvider:t,headers:f}),data:p})}function c({token:i,jwtToken:d,id:p,headers:f}){return e({url:`/undelivered/${p}/retry`,method:"put",headers:He({token:i,jwtToken:d,internalAuthTokenProvider:t,headers:f})})}function r({token:i,jwtToken:d,headers:p}){return e({url:"/undelivered/retry-all",method:"put",headers:He({token:i,jwtToken:d,internalAuthTokenProvider:t,headers:p})})}function s({token:i,jwtToken:d,id:p,headers:f}){return e({url:`/undelivered/${p}`,method:"delete",headers:He({token:i,jwtToken:d,internalAuthTokenProvider:t,headers:f})})}function o({token:i,jwtToken:d,headers:p}){return e({url:"/undelivered/batch-all",method:"delete",headers:He({token:i,jwtToken:d,internalAuthTokenProvider:t,headers:p})})}return{all:n,getById:u,patch:a,resend:c,resendAll:r,deleteById:s,deleteAll:o}}_f.exports=$q});var Hf=m((SE,zf)=>{var{authorizationHeaders:xq}=y();function qq({client:e,internalAuthTokenProvider:t}){function n({token:u,jwtToken:a,webhook:c,headers:r}){return e({url:"/emit",method:"post",headers:xq({token:u,jwtToken:a,internalAuthTokenProvider:t,headers:r}),data:c})}return{emit:n}}zf.exports=qq});var jf=m((EE,Cf)=>{var{authorizationHeaders:wq}=y();function Oq({client:e,internalAuthTokenProvider:t}){function n({token:u,jwtToken:a,headers:c}){return e({url:"/access-ticket",method:"post",headers:wq({token:u,jwtToken:a,internalAuthTokenProvider:t,headers:c})})}return{create:n}}Cf.exports=Oq});var Nf=m((_E,Df)=>{var{authorizationHeaders:Fq}=y();function Sq({client:e,internalAuthTokenProvider:t}){function n({token:u,jwtToken:a,params:c,headers:r}){return e({url:"/seat",method:"post",headers:Fq({token:u,jwtToken:a,internalAuthTokenProvider:t,headers:r}),params:c})}return{update:n}}Df.exports=Sq});var Lf=m((RE,Bf)=>{var{authorizationHeaders:Uf}=y();function Eq({client:e,internalAuthTokenProvider:t}){function n({token:a,jwtToken:c,query:r={},headers:s}){return e.get("/adyen-payment-methods",{params:r,headers:Uf({token:a,jwtToken:c,internalAuthTokenProvider:t,headers:s})})}function u({token:a,jwtToken:c,headers:r,data:s}){return e.get("/adyen-terminals",{headers:Uf({token:a,jwtToken:c,internalAuthTokenProvider:t,headers:r}),data:s})}return{getPaymentMethods:n,getTerminals:u}}Bf.exports=Eq});var If=m((zE,Mf)=>{var{authorizationHeaders:wr}=y();function _q({client:e,internalAuthTokenProvider:t}){function n({token:r,jwtToken:s,query:o,headers:i}){return e.get("/cbs-token",{params:o,headers:wr({token:r,jwtToken:s,internalAuthTokenProvider:t,headers:i})})}function u({token:r,jwtToken:s,riskEvaluation:o,headers:i}){return e.post("/cbs-evaluate-risk",o,{headers:wr({token:r,jwtToken:s,internalAuthTokenProvider:t,headers:i})})}function a({token:r,jwtToken:s,body:o,headers:i}){return e.post("/cbs-pa-enrollment",o,{headers:wr({token:r,jwtToken:s,internalAuthTokenProvider:t,headers:i})})}function c({token:r,jwtToken:s,body:o,headers:i}){return e.post("/cbs-validate-pa-enrollment",o,{headers:wr({token:r,jwtToken:s,internalAuthTokenProvider:t,headers:i})})}return{getToken:n,evaluateRisk:u,payerAuthenticationEnrollment:a,validatePayerAuthenticationEnrollment:c}}Mf.exports=_q});var Kf=m((HE,Vf)=>{function Rq({client:e}){function t(){return e.get("/api-docs-v2",{})}return{get:t}}Vf.exports=Rq});var Jf=m((CE,Wf)=>{var{authorizationHeaders:Bt}=y();function zq({client:e,internalAuthTokenProvider:t}){function n({token:r,jwtToken:s,headers:o}){return e.get("/cardpointe-terminals",{params:{},headers:Bt({token:r,jwtToken:s,internalAuthTokenProvider:t,headers:o})})}function u({token:r,jwtToken:s,merchantId:o,terminalId:i,headers:d}){return e({url:`/cardpointe-terminals/${o}/${i}`,method:"delete",headers:Bt({token:r,jwtToken:s,internalAuthTokenProvider:t,headers:d})})}return{all:n,remove:u,readCard:{get({token:r,jwtToken:s,readCardResultId:o,headers:i}){return e.get(`/cardpointe-terminals/read-card/${o}`,{params:{},headers:Bt({token:r,jwtToken:s,internalAuthTokenProvider:t,headers:i})})},create({token:r,jwtToken:s,readCard:o,providerId:i,headers:d}){return e({url:"/cardpointe-terminals/read-card",method:"post",params:i!=null?{providerId:i}:{},headers:Bt({token:r,jwtToken:s,internalAuthTokenProvider:t,headers:d}),data:{readCard:o}})}},ping:{create({token:r,jwtToken:s,ping:o,headers:i}){return e({url:"/cardpointe-terminals/ping",method:"post",headers:Bt({token:r,jwtToken:s,internalAuthTokenProvider:t,headers:i}),data:{ping:o}})}}}}Wf.exports={cardpointeTerminalsFactory:zq}});var Gf=m((jE,Xf)=>{var{authorizationHeaders:ce}=y();function Hq({client:e,internalAuthTokenProvider:t}){function n({token:p,jwtToken:f,query:l={},headers:q}){return e.get("/payment-methods",{params:l,headers:ce({token:p,jwtToken:f,internalAuthTokenProvider:t,headers:q})})}function u({token:p,jwtToken:f,providerName:l,headers:q}){return e({url:`/payment-methods?providerName=${l}`,headers:ce({token:p,jwtToken:f,internalAuthTokenProvider:t,headers:q})})}function a({token:p,jwtToken:f,paymentMethod:l,headers:q}){return e({url:"/payment-methods",method:"post",headers:ce({token:p,jwtToken:f,internalAuthTokenProvider:t,headers:q}),data:{paymentMethod:l}})}function c({token:p,jwtToken:f,paymentMethodId:l,headers:q,query:g={}}){return e.get(`/payment-methods/${l}`,{params:g,headers:ce({token:p,jwtToken:f,internalAuthTokenProvider:t,headers:q})})}function r({token:p,jwtToken:f,paymentMethodId:l,paymentMethod:q,headers:g}){return e({url:`/payment-methods/${l}`,method:"put",headers:ce({token:p,jwtToken:f,internalAuthTokenProvider:t,headers:g}),data:{paymentMethod:q}})}function s({token:p,jwtToken:f,agencyId:l,providerId:q,paymentMethodNames:g,headers:b}){return e({url:"/payment-methods-to-agencies",method:"post",headers:ce({token:p,jwtToken:f,internalAuthTokenProvider:t,headers:b}),data:{providerId:q,agencyId:l,paymentMethodNames:g}})}function o({token:p,jwtToken:f,accountId:l}){return e({url:"/default-payment-methods",method:"post",headers:ce({token:p,jwtToken:f,internalAuthTokenProvider:t}),data:{accountId:l}})}function i({token:p,jwtToken:f,paymentMethodId:l}){return e({url:`/payment-methods/${l}/customers`,method:"delete",headers:ce({token:p,jwtToken:f,internalAuthTokenProvider:t})})}function d({token:p,jwtToken:f,domain:l}){return e({url:`/payment-methods/domains/${l}`,method:"delete",headers:ce({token:p,jwtToken:f,internalAuthTokenProvider:t})})}return{all:n,getByProviderName:u,create:a,get:c,setToAgency:s,update:r,createDefaultPaymentMethods:o,deleteCustomersCreditCardInfo:i,deletePaymentMethodsDomain:d}}Xf.exports=Hq});var Qf=m((DE,Zf)=>{var{authorizationHeaders:Cq}=y();function jq({client:e,internalAuthTokenProvider:t}){function n({token:u,jwtToken:a,referenceNumberRequest:c,headers:r}){return e({url:"/reference-numbers",method:"post",headers:Cq({token:u,jwtToken:a,internalAuthTokenProvider:t,headers:r}),data:{referenceNumberRequest:c}})}return{create:n}}Zf.exports=jq});var Pf=m((NE,vf)=>{var{authorizationHeaders:Yf}=y();function Dq({client:e,internalAuthTokenProvider:t}){function n({token:a,jwtToken:c,payments:r,headers:s}){return e({url:"/payments",method:"post",headers:Yf({token:a,jwtToken:c,internalAuthTokenProvider:t,headers:s}),data:{payments:r}})}function u({token:a,jwtToken:c,transactionId:r,headers:s}){return e.get(`/transactions/${r}`,{params:{},headers:Yf({token:a,jwtToken:c,internalAuthTokenProvider:t,headers:s})})}return{create:n,get:u}}vf.exports=Dq});var Af=m((UE,kf)=>{var{authorizationHeaders:Tf}=y();function Nq({client:e,internalAuthTokenProvider:t}){function n({token:a,jwtToken:c,transactionId:r,referenceNumber:s,headers:o}){return e.get(`/referenced-payments/${r}/${s}/status`,{params:{},headers:Tf({token:a,jwtToken:c,internalAuthTokenProvider:t,headers:o})})}function u({token:a,jwtToken:c,externalType:r,referenceNumber:s,paymentResult:o,query:i={},headers:d}){return e({url:`/referenced-payments/${r}/${s}/results`,method:"post",params:i,headers:Tf({token:a,jwtToken:c,headers:d}),data:{paymentResult:o}})}return{getStatus:n,update:u}}kf.exports=Nq});var tm=m((BE,em)=>{var{authorizationHeaders:as}=y();function Uq({client:e,internalAuthTokenProvider:t}){function n({token:c,jwtToken:r,paymentMethodId:s,customerId:o,headers:i}){return e.get(`/payment-methods/${s}/customers/${o}`,{params:{},headers:as({token:c,jwtToken:r,internalAuthTokenProvider:t,headers:i})})}function u({token:c,jwtToken:r,paymentMethodId:s,customer:o,headers:i}){return e({url:`/payment-methods/${s}/customers`,method:"post",headers:as({token:c,jwtToken:r,internalAuthTokenProvider:t,headers:i}),data:{customer:o}})}function a({token:c,jwtToken:r,paymentMethodId:s,customerId:o,headers:i}){return e({url:`/payment-methods/${s}/customers/${o}`,method:"delete",headers:as({token:c,jwtToken:r,internalAuthTokenProvider:t,headers:i})})}return{remove:a,create:u,get:n}}em.exports=Uq});var sm=m((LE,rm)=>{var{authorizationHeaders:Or}=y();function Bq({client:e,internalAuthTokenProvider:t}){function n({token:r,jwtToken:s,paymentMethodId:o,customerId:i,customerCardId:d,headers:p}){return e.get(`/payment-methods/${o}/customers/${i}/cards/${d}`,{params:{},headers:Or({token:r,jwtToken:s,internalAuthTokenProvider:t,headers:p})})}function u({token:r,jwtToken:s,paymentMethodId:o,customerId:i,headers:d}){return e.get(`/payment-methods/${o}/customers/${i}/cards`,{params:{},headers:Or({token:r,jwtToken:s,internalAuthTokenProvider:t,headers:d})})}function a({token:r,jwtToken:s,paymentMethodId:o,customerId:i,customerCard:d,headers:p}){return e({url:`/payment-methods/${o}/customers/${i}/cards`,method:"post",headers:Or({token:r,jwtToken:s,internalAuthTokenProvider:t,headers:p}),data:{customerCard:d}})}function c({token:r,jwtToken:s,paymentMethodId:o,customerId:i,customerCardId:d,headers:p}){return e({url:`/payment-methods/${o}/customers/${i}/cards/${d}`,method:"delete",headers:Or({token:r,jwtToken:s,internalAuthTokenProvider:t,headers:p})})}return{remove:c,create:a,get:n,all:u}}rm.exports=Bq});var os=m((ME,om)=>{var{authorizationHeaders:am}=y();function Lq({client:e,internalAuthTokenProvider:t}){function n({token:u,jwtToken:a,data:c,providerId:r,headers:s}){return e({url:`/square-webhooks/${r}`,method:"post",headers:am({token:u,jwtToken:a,internalAuthTokenProvider:t,headers:s}),data:c})}return{create:n}}function Mq({client:e,internalAuthTokenProvider:t}){function n({token:u,jwtToken:a,headers:c}){return e.get("/square-terminals",{params:{},headers:am({token:u,jwtToken:a,internalAuthTokenProvider:t,headers:c})})}return{get:n}}om.exports={squareWebhooksFactory:Lq,squareTerminalsFactory:Mq}});var um=m((IE,nm)=>{var{authorizationHeaders:Fr}=y();function Iq({client:e,internalAuthTokenProvider:t}){function n(c){return c??t}return{token:{get({jwtToken:c,headers:r,internalAuthTokenProvider:s}){return e({url:"/oxxo/token",headers:Fr({jwtToken:c,internalAuthTokenProvider:n(s),headers:r})})}},payments:{all({jwtToken:c,headers:r,oxxoToken:s,query:o,internalAuthTokenProvider:i}){return e({url:`/oxxo/${s}/payments`,params:o,headers:Fr({jwtToken:c,internalAuthTokenProvider:n(i),headers:r})})},update({jwtToken:c,headers:r,oxxoToken:s,query:o,referenceNumber:i,data:d,internalAuthTokenProvider:p}){return e({url:`/oxxo/${s}/payments/${i}`,method:"post",params:o,data:d,headers:Fr({jwtToken:c,internalAuthTokenProvider:n(p),headers:r})})},reverse({jwtToken:c,headers:r,query:s,referenceNumber:o,data:i,internalAuthTokenProvider:d,oxxoToken:p}){return e({url:`/oxxo/${p}/reverse/${o}`,method:"post",params:s,data:i,headers:Fr({jwtToken:c,internalAuthTokenProvider:n(d),headers:r})})}}}}nm.exports=Iq});var im=m((VE,cm)=>{var{authorizationHeaders:Lt}=y();function Vq({client:e,internalAuthTokenProvider:t}){function n(r){return r??t}return{payments:{all({token:r,jwtToken:s,headers:o,query:i,internalAuthTokenProvider:d}){return e({url:"/datalogic/payments",params:i,headers:Lt({token:r,jwtToken:s,internalAuthTokenProvider:n(d),headers:o})})},update({token:r,jwtToken:s,headers:o,query:i,referenceNumber:d,data:p,internalAuthTokenProvider:f}){return e({url:`/datalogic/payments/${d}`,method:"post",params:i,data:p,headers:Lt({token:r,jwtToken:s,internalAuthTokenProvider:n(f),headers:o})})},reverse({token:r,jwtToken:s,headers:o,query:i,referenceNumber:d,data:p,internalAuthTokenProvider:f}){return e({url:`/datalogic/reverse/${d}`,method:"post",params:i,data:p,headers:Lt({token:r,jwtToken:s,internalAuthTokenProvider:n(f),headers:o})})}},referenceNumber:{get({token:r,jwtToken:s,headers:o,internalAuthTokenProvider:i}){return e({url:"/datalogic/reference-number",headers:Lt({token:r,jwtToken:s,internalAuthTokenProvider:n(i),headers:o})})}},authCode:{get({token:r,jwtToken:s,headers:o,internalAuthTokenProvider:i}){return e({url:"/datalogic/auth-code",headers:Lt({token:r,jwtToken:s,internalAuthTokenProvider:n(i),headers:o})})}}}}cm.exports=Vq});var pm=m((KE,dm)=>{var{authorizationHeaders:T}=y();function Kq({client:e,internalAuthTokenProvider:t}){return{payments:{get({token:r,jwtToken:s,id:o,query:i={},headers:d}){return e.get(`/prisma-terminals/payments/${o}`,{params:i,headers:T({token:r,jwtToken:s,internalAuthTokenProvider:t,headers:d})})},create({token:r,jwtToken:s,prismaPayment:o,query:i={},headers:d}){return e({url:"/prisma-terminals/payments",method:"post",headers:T({token:r,jwtToken:s,internalAuthTokenProvider:t,headers:d}),params:i,data:{prismaPayment:o}})},delete({token:r,jwtToken:s,id:o,query:i={},headers:d}){return e({url:`/prisma-terminals/payments/${o}`,method:"delete",headers:T({token:r,jwtToken:s,internalAuthTokenProvider:t,headers:d}),params:i})},update({token:r,jwtToken:s,id:o,prismaPayment:i,query:d={},headers:p}){return e({url:`/prisma-terminals/payments/${o}`,method:"put",headers:T({token:r,jwtToken:s,internalAuthTokenProvider:t,headers:p}),params:d,data:{prismaPayment:i}})},reversals:{get({token:r,jwtToken:s,id:o,query:i={},headers:d}){return e.get(`/prisma-terminals/reversals/${o}`,{params:i,headers:T({token:r,jwtToken:s,internalAuthTokenProvider:t,headers:d})})},create({token:r,jwtToken:s,id:o,prismaReversal:i,query:d={},headers:p}){return e({url:`/prisma-terminals/payments/${o}/reversals`,method:"post",headers:T({token:r,jwtToken:s,internalAuthTokenProvider:t,headers:p}),params:d,data:{prismaReversal:i}})},delete({token:r,jwtToken:s,id:o,query:i={},headers:d}){return e({url:`/prisma-terminals/reversals/${o}`,method:"delete",headers:T({token:r,jwtToken:s,internalAuthTokenProvider:t,headers:d}),params:i})}},refunds:{get({token:r,jwtToken:s,id:o,query:i={},headers:d}){return e.get(`/prisma-terminals/refunds/${o}`,{params:i,headers:T({token:r,jwtToken:s,internalAuthTokenProvider:t,headers:d})})},create({token:r,jwtToken:s,id:o,prismaRefund:i,query:d={},headers:p}){return e({url:`/prisma-terminals/payments/${o}/refunds`,method:"post",headers:T({token:r,jwtToken:s,internalAuthTokenProvider:t,headers:p}),params:d,data:{prismaRefund:i}})},delete({token:r,jwtToken:s,id:o,query:i={},headers:d}){return e({url:`/prisma-terminals/refunds/${o}`,method:"delete",headers:T({token:r,jwtToken:s,internalAuthTokenProvider:t,headers:d}),params:i})},update({token:r,jwtToken:s,id:o,prismaRefund:i,query:d={},headers:p}){return e({url:`/prisma-terminals/refunds/${o}`,method:"put",headers:T({token:r,jwtToken:s,internalAuthTokenProvider:t,headers:p}),params:d,data:{prismaRefund:i}})}}},settlements:{create({token:r,jwtToken:s,settlement:o,query:i={},headers:d}){return e({url:"/prisma-terminals/settlements",method:"post",headers:T({token:r,jwtToken:s,internalAuthTokenProvider:t,headers:d}),params:i,data:{settlement:o}})}}}}dm.exports=Kq});var mm=m((WE,fm)=>{var{authorizationHeaders:ns}=y();function Wq({client:e,internalAuthTokenProvider:t}){return{mit:{update({token:a,jwtToken:c,id:r,terminalPayment:s,query:o={},headers:i}){return e({url:`/terminal-payments/mit/${r}`,method:"put",headers:ns({token:a,jwtToken:c,internalAuthTokenProvider:t,headers:i}),params:o,data:{terminalPayment:s}})},get({token:a,jwtToken:c,id:r,query:s={},headers:o}){return e.get(`/terminal-payments/mit/${r}`,{params:s,headers:ns({token:a,jwtToken:c,internalAuthTokenProvider:t,headers:o})})}},webhooks:{getnet({data:a,providerId:c,headers:r={},token:s,jwtToken:o}){let i=s&&o?ns({token:s,jwtToken:o,internalAuthTokenProvider:t,headers:r}):r;return e({url:`/terminal-payments/webhooks/getnet/${c}`,method:"post",headers:i,data:a})}}}}fm.exports=Wq});var gm=m((JE,hm)=>{var{authorizationHeaders:lm}=y();function Jq({client:e,internalAuthTokenProvider:t}){function n({token:a,jwtToken:c,headers:r,query:s={}}){return e.get("/stripe-terminals",{params:s,headers:lm({token:a,jwtToken:c,internalAuthTokenProvider:t,headers:r})})}function u({token:a,jwtToken:c,id:r,stripePayment:s,headers:o}){return e({url:`/stripe-terminals/${r}/simulate`,method:"post",headers:lm({token:a,jwtToken:c,internalAuthTokenProvider:t,headers:o}),data:{stripePayment:s}})}return{all:n,simulate:u}}hm.exports=Jq});var bm=m((XE,ym)=>{var{authorizationHeaders:Xq}=y();function Gq({client:e,internalAuthTokenProvider:t}){function n({token:u,jwtToken:a,providerName:c,data:r,headers:s}){return e.post("/stripe-payment-intent",{providerName:c,data:r},{headers:Xq({token:u,jwtToken:a,internalAuthTokenProvider:t,headers:s})})}return{createPaymentIntent:n}}ym.exports=Gq});var xm=m((GE,$m)=>{function Zq({client:e}){function t(){return e.get("/api-docs-v2",{})}return{get:t}}$m.exports=Zq});var wm=m((ZE,qm)=>{var{authorizationHeaders:Mt}=y();function Qq({client:e,internalAuthTokenProvider:t}){function n({token:s,jwtToken:o,query:i={},headers:d}){return e({url:"/providers",method:"get",headers:Mt({token:s,jwtToken:o,internalAuthTokenProvider:t,headers:d}),params:i})}function u({token:s,jwtToken:o,id:i,query:d={},headers:p}){return e({url:`/providers/${i}`,method:"get",headers:Mt({token:s,jwtToken:o,internalAuthTokenProvider:t,headers:p}),params:d})}function a({token:s,jwtToken:o,id:i,data:d,query:p={},headers:f}){return e({url:`/providers/${i}`,method:"put",headers:Mt({token:s,jwtToken:o,internalAuthTokenProvider:t,headers:f}),params:p,data:d})}function c({token:s,jwtToken:o,id:i,query:d={},headers:p}){return e({url:`/providers/${i}`,method:"delete",headers:Mt({token:s,jwtToken:o,internalAuthTokenProvider:t,headers:p}),params:d})}function r({token:s,jwtToken:o,data:i,query:d={},headers:p}){return e({url:"/providers",method:"post",headers:Mt({token:s,jwtToken:o,internalAuthTokenProvider:t,headers:p}),params:d,data:i})}return{all:n,get:u,update:a,remove:c,create:r}}qm.exports=Qq});var Fm=m((QE,Om)=>{var{authorizationHeaders:It}=y();function Yq({client:e,internalAuthTokenProvider:t}){function n({token:s,jwtToken:o,invoiceProviderId:i,query:d={},headers:p}){return e({url:`/providers/${i}/sequences`,method:"get",headers:It({token:s,jwtToken:o,internalAuthTokenProvider:t,headers:p}),params:d})}function u({token:s,jwtToken:o,invoiceProviderId:i,invoiceProviderSequenceId:d,query:p={},headers:f}){return e({url:`/providers/${i}/sequences/${d}`,method:"get",headers:It({token:s,jwtToken:o,internalAuthTokenProvider:t,headers:f}),params:p})}function a({token:s,jwtToken:o,invoiceProviderId:i,id:d,query:p={},headers:f}){return e({url:`/providers/${i}/sequences/${d}`,method:"delete",headers:It({token:s,jwtToken:o,internalAuthTokenProvider:t,headers:f}),params:p})}function c({token:s,jwtToken:o,invoiceProviderId:i,data:d,query:p={},headers:f}){return e({url:`/providers/${i}/sequences`,method:"post",headers:It({token:s,jwtToken:o,internalAuthTokenProvider:t,headers:f}),params:p,data:d})}function r({token:s,jwtToken:o,invoiceProviderId:i,invoiceProviderSequenceId:d,data:p,query:f={},headers:l}){return e({url:`/providers/${i}/sequences/${d}`,method:"put",headers:It({token:s,jwtToken:o,internalAuthTokenProvider:t,headers:l}),params:f,data:p})}return{all:n,get:u,remove:a,create:c,update:r}}Om.exports=Yq});var _m=m((YE,Em)=>{var{authorizationHeaders:Sm}=y();function vq({client:e,internalAuthTokenProvider:t}){function n({token:a,jwtToken:c,data:r,query:s={},headers:o}){return e({url:"/infile",method:"post",headers:Sm({token:a,jwtToken:c,internalAuthTokenProvider:t,headers:o}),params:s,data:r})}function u({token:a,jwtToken:c,data:r,query:s={},headers:o}){return s.onlyValidateRequest=!0,e({url:"/infile",method:"post",headers:Sm({token:a,jwtToken:c,internalAuthTokenProvider:t,headers:o}),params:s,data:r})}return{create:n,validateCreate:u}}Em.exports=vq});var Hm=m((vE,zm)=>{var{authorizationHeaders:Rm}=y();function Pq({client:e,internalAuthTokenProvider:t}){function n({token:a,jwtToken:c,data:r,query:s={},headers:o}){return e({url:"/infile-json",method:"post",headers:Rm({token:a,jwtToken:c,internalAuthTokenProvider:t,headers:o}),params:s,data:r})}function u({token:a,jwtToken:c,data:r,query:s={},headers:o}){return s.onlyValidateRequest=!0,e({url:"/infile-json",method:"post",headers:Rm({token:a,jwtToken:c,internalAuthTokenProvider:t,headers:o}),params:s,data:r})}return{create:n,validateCreate:u}}zm.exports=Pq});var Dm=m((PE,jm)=>{var{authorizationHeaders:Cm}=y();function Tq({client:e,internalAuthTokenProvider:t}){function n({token:a,jwtToken:c,data:r,query:s={},headers:o}){return e({url:"/system",method:"post",headers:Cm({token:a,jwtToken:c,internalAuthTokenProvider:t,headers:o}),params:s,data:r})}function u({token:a,jwtToken:c,data:r,query:s={},headers:o}){return s.onlyValidateRequest=!0,e({url:"/system",method:"post",headers:Cm({token:a,jwtToken:c,internalAuthTokenProvider:t,headers:o}),params:s,data:r})}return{create:n,validateCreate:u}}jm.exports=Tq});var Bm=m((TE,Um)=>{var{authorizationHeaders:Nm}=y();function kq({client:e,internalAuthTokenProvider:t}){function n({token:a,jwtToken:c,data:r,query:s={},headers:o}){return e({url:"/dlink",method:"post",headers:Nm({token:a,jwtToken:c,internalAuthTokenProvider:t,headers:o}),params:s,data:r})}function u({token:a,jwtToken:c,data:r,query:s={},headers:o}){return s.onlyValidateRequest=!0,e({url:"/dlink",method:"post",headers:Nm({token:a,jwtToken:c,internalAuthTokenProvider:t,headers:o}),params:s,data:r})}return{create:n,validateCreate:u}}Um.exports=kq});var Im=m((kE,Mm)=>{var{authorizationHeaders:Lm}=y();function Aq({client:e,internalAuthTokenProvider:t}){function n({token:a,jwtToken:c,data:r,query:s={},headers:o}){return e({url:"/gti",method:"post",headers:Lm({token:a,jwtToken:c,internalAuthTokenProvider:t,headers:o}),params:s,data:r})}function u({token:a,jwtToken:c,data:r,query:s={},headers:o}){return s.onlyValidateRequest=!0,e({url:"/gti",method:"post",headers:Lm({token:a,jwtToken:c,internalAuthTokenProvider:t,headers:o}),params:s,data:r})}return{create:n,validateCreate:u}}Mm.exports=Aq});var Km=m((AE,Vm)=>{var{authorizationHeaders:ew}=y();function tw({client:e,internalAuthTokenProvider:t}){function n({token:u,jwtToken:a,query:c={},responseType:r="json",headers:s}){return e({url:"/pdfs",method:"get",responseType:r,headers:ew({token:u,jwtToken:a,internalAuthTokenProvider:t,headers:s}),params:c})}return{all:n}}Vm.exports=tw});var Jm=m((e_,Wm)=>{var{authorizationHeaders:rw}=y();function sw({client:e,internalAuthTokenProvider:t}){function n({token:u,jwtToken:a,data:c,query:r={},headers:s}){return e({url:"/emails",method:"post",headers:rw({token:u,jwtToken:a,internalAuthTokenProvider:t,headers:s}),params:r,data:c})}return{create:n}}Wm.exports=sw});var Gm=m((t_,Xm)=>{var{authorizationHeaders:aw}=y();function ow({client:e,internalAuthTokenProvider:t}){function n({token:u,jwtToken:a,query:c={},headers:r}){return e({url:"/tax-ids",method:"get",headers:aw({token:u,jwtToken:a,internalAuthTokenProvider:t,headers:r}),params:c})}return{all:n}}Xm.exports=ow});var Qm=m((r_,Zm)=>{var{authorizationHeaders:Vt}=y();function nw({client:e,internalAuthTokenProvider:t}){function n({token:s,jwtToken:o,query:i={},headers:d}){return e({url:"/invoices",method:"get",headers:Vt({token:s,jwtToken:o,internalAuthTokenProvider:t,headers:d}),params:i})}function u({token:s,jwtToken:o,id:i,query:d={},headers:p}){return e({url:`/invoices/${i}`,method:"get",headers:Vt({token:s,jwtToken:o,internalAuthTokenProvider:t,headers:p}),params:d})}function a({token:s,jwtToken:o,query:i={},headers:d}){return e({url:"/failures",method:"get",headers:Vt({token:s,jwtToken:o,internalAuthTokenProvider:t,headers:d}),params:i})}function c({token:s,jwtToken:o,data:i,query:d={},headers:p}){return e({url:"/retry",method:"post",headers:Vt({token:s,jwtToken:o,internalAuthTokenProvider:t,headers:p}),params:d,data:i})}function r({token:s,jwtToken:o,data:i,query:d={},headers:p}){return e({url:"/retry",method:"put",headers:Vt({token:s,jwtToken:o,internalAuthTokenProvider:t,headers:p}),params:d,data:i})}return{all:n,get:u,getInvoicesFailures:a,retryInvoicing:c,overrideBuyerRetryInvoicing:r}}Zm.exports=nw});var vm=m((s_,Ym)=>{var{authorizationHeaders:us}=y();function uw({client:e,internalAuthTokenProvider:t}){function n({token:c,jwtToken:r,headers:s}){return e({url:"/bpe-configurations",method:"get",headers:us({token:c,jwtToken:r,internalAuthTokenProvider:t,headers:s})})}function u({token:c,jwtToken:r,bpeConfiguration:s,headers:o}){return e({url:"/bpe-configurations",method:"post",headers:us({token:c,jwtToken:r,internalAuthTokenProvider:t,headers:o}),data:{bpeConfiguration:s}})}function a({token:c,jwtToken:r,bpeConfiguration:s,headers:o}){return e({url:"/bpe-configurations",method:"put",headers:us({token:c,jwtToken:r,internalAuthTokenProvider:t,headers:o}),data:{bpeConfiguration:s}})}return{get:n,create:u,update:a}}Ym.exports=uw});var Tm=m((a_,Pm)=>{var{authorizationHeaders:cw}=y();function iw({client:e}){function t({token:n,query:u={},headers:a}){return e({url:"/scanner-app-location",headers:cw({token:n,headers:a}),params:u})}return{get:t}}Pm.exports=iw});var Am=m((o_,km)=>{function dw({client:e}){function t({data:n,headers:u}){return e({url:"/authenticate",method:"post",headers:u,data:n})}return{create:t}}km.exports=dw});var rl=m((n_,tl)=>{var{authorizationHeaders:el}=y();function pw({client:e,version:t}){function n({jwtToken:a,data:c,headers:r}){return e({url:`/${t}/client`,method:"post",headers:el({jwtToken:a,headers:r}),data:c})}function u({jwtToken:a,clientId:c}){return e({url:`/${t}/client`,method:"get",headers:Object.assign({clientId:c},el({jwtToken:a}))})}return{create:n,get:u}}tl.exports=pw});var al=m((u_,sl)=>{var{authorizationHeaders:cs}=y();function fw({client:e,version:t}){function n({jwtToken:c,clientId:r}){return e({url:`/${t}/client/integrations`,method:"get",headers:Object.assign({clientId:r},cs({jwtToken:c}))})}function u({jwtToken:c,clientId:r,data:s}){return e({url:`/${t}/client/integrations`,method:"post",headers:Object.assign({clientId:r},cs({jwtToken:c})),data:s})}function a({jwtToken:c,clientId:r,integrationType:s}){return e({url:`/${t}/client/integrations/${s}`,method:"delete",headers:Object.assign({clientId:r},cs({jwtToken:c}))})}return{get:n,create:u,remove:a}}sl.exports=fw});var Bw=m((c_,nl)=>{function ol(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var u=Object.getOwnPropertySymbols(e);t&&(u=u.filter(function(a){return Object.getOwnPropertyDescriptor(e,a).enumerable})),n.push.apply(n,u)}return n}function Sr(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?ol(Object(n),!0).forEach(function(u){mw(e,u,n[u])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):ol(Object(n)).forEach(function(u){Object.defineProperty(e,u,Object.getOwnPropertyDescriptor(n,u))})}return e}function mw(e,t,n){return(t=lw(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function lw(e){var t=hw(e,"string");return typeof t=="symbol"?t:t+""}function hw(e,t){if(typeof e!="object"||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var u=n.call(e,t||"default");if(typeof u!="object")return u;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}var gw=ta(),yw=sa();function V(e){let{baseURL:t,headers:n,timeout:u,overrideFn:a,agents:c}=e,s={baseURL:a?a(t):t,timeout:u,headers:{Accept:"application/json"}};return n&&n["x-amzn-trace-id"]&&(s.headers["x-amzn-trace-id"]=n["x-amzn-trace-id"]),c&&(c.httpAgent||c.httpsAgent)&&(s=Sr(Sr({},s),c)),gw.create(s)}function bw({baseURL:e,headers:t,timeout:n,overrideFn:u,internalAuthTokenProvider:a,agents:c}){let r=V({baseURL:e,headers:t,timeout:n,overrideFn:u,agents:c});return{amenities:ua()({client:r,internalAuthTokenProvider:a}),amenityGroups:ia()({client:r,internalAuthTokenProvider:a}),banks:pa()({client:r,internalAuthTokenProvider:a}),bareRoutes:la()({client:r,internalAuthTokenProvider:a}),brands:ga()({client:r,internalAuthTokenProvider:a}),bundleFares:ba()({client:r,internalAuthTokenProvider:a}),bundles:qa()({client:r,internalAuthTokenProvider:a}),changeRequests:Oa()({client:r,internalAuthTokenProvider:a}),companies:Sa()({client:r,internalAuthTokenProvider:a}),controlClasses:_a()({client:r,internalAuthTokenProvider:a}),countries:Ha()({client:r,internalAuthTokenProvider:a}),customContent:ja()({client:r,internalAuthTokenProvider:a}),customFields:Na()({client:r,internalAuthTokenProvider:a}),docs:Ba()({client:r}),documentTypes:Va()({client:r,internalAuthTokenProvider:a}),events:Wa()({client:r,internalAuthTokenProvider:a}),externalPasses:Ga()({client:r,internalAuthTokenProvider:a}),externalWallets:Qa()({client:r,internalAuthTokenProvider:a}),fareTypeModifiers:va()({client:r,internalAuthTokenProvider:a}),fallbackCodes:Ta()({client:r,internalAuthTokenProvider:a}),fareClasses:Aa()({client:r,internalAuthTokenProvider:a}),fares:to()({client:r,internalAuthTokenProvider:a}),fees:so()({client:r,internalAuthTokenProvider:a}),filteredTrips:oo()({client:r,internalAuthTokenProvider:a}),filteredTripsV2:uo()({client:r,internalAuthTokenProvider:a}),financingCosts:io()({client:r,internalAuthTokenProvider:a}),garages:fo()({client:r,internalAuthTokenProvider:a}),getnetTerminals:lo()({client:r,internalAuthTokenProvider:a}),giftCertificateDefinitions:go()({client:r,internalAuthTokenProvider:a}),healthCheck:bo()({client:r,internalAuthTokenProvider:a}),holidays:xo()({client:r,internalAuthTokenProvider:a}),insurances:wo()({client:r,internalAuthTokenProvider:a}),insurancesCost:Fo()({client:r,internalAuthTokenProvider:a}),items:Eo()({client:r,internalAuthTokenProvider:a}),journeyPrices:Ro()({client:r,internalAuthTokenProvider:a}),labels:Ho()({client:r,internalAuthTokenProvider:a}),maritalStatus:jo()({client:r,internalAuthTokenProvider:a}),marketplaceModifiers:No()({client:r,internalAuthTokenProvider:a}),mitTerminals:Bo()({client:r,internalAuthTokenProvider:a}),mitTerminalsSettings:Mo()({client:r,internalAuthTokenProvider:a}),operatingCompanies:Vo()({client:r,internalAuthTokenProvider:a}),operationMessages:Wo()({client:r,internalAuthTokenProvider:a}),operationReasons:Xo()({client:r,internalAuthTokenProvider:a}),parcelZones:Zo()({client:r,internalAuthTokenProvider:a}),paymentTerminals:Yo()({client:r,internalAuthTokenProvider:a}),payOnAccounts:Po()({client:r,internalAuthTokenProvider:a}),prismaTerminals:ko()({client:r,internalAuthTokenProvider:a}),products:en()({client:r,internalAuthTokenProvider:a}),promos:rn()({client:r,internalAuthTokenProvider:a}),routes:an()({client:r,internalAuthTokenProvider:a}),scheduleGroups:nn()({client:r,internalAuthTokenProvider:a}),schedules:cn()({client:r,internalAuthTokenProvider:a}),seatClasses:pn()({client:r,internalAuthTokenProvider:a}),seatfees:mn()({client:r,internalAuthTokenProvider:a}),seatmaps:hn()({client:r,internalAuthTokenProvider:a}),segmentsInformation:yn()({client:r,internalAuthTokenProvider:a}),serviceNumbers:$n()({client:r,internalAuthTokenProvider:a}),serviceTypes:qn()({client:r,internalAuthTokenProvider:a}),ssrs:On()({client:r,internalAuthTokenProvider:a}),stationClasses:Sn()({client:r,internalAuthTokenProvider:a}),stationGroups:_n()({client:r,internalAuthTokenProvider:a}),stations:zn()({client:r,internalAuthTokenProvider:a}),stationsProvinces:Cn()({client:r,internalAuthTokenProvider:a}),stationsZones:Dn()({client:r,internalAuthTokenProvider:a}),taxes:Un()({client:r,internalAuthTokenProvider:a}),travellerCardProviders:Ln()({client:r,internalAuthTokenProvider:a}),travellerCardProvidersTypes:In()({client:r,internalAuthTokenProvider:a}),travellerCardTypes:Kn()({client:r,internalAuthTokenProvider:a}),travelRoutes:Jn()({client:r,internalAuthTokenProvider:a}),vehicleTypes:Gn()({client:r,internalAuthTokenProvider:a}),vehicles:Qn()({client:r,internalAuthTokenProvider:a}),zonePriceOverages:vn()({client:r,internalAuthTokenProvider:a}),zonePrices:Tn()({client:r,internalAuthTokenProvider:a}),regions:An()({client:r,internalAuthTokenProvider:a}),__test:{client:r}}}function $w({baseURL:e,headers:t,timeout:n,overrideFn:u,internalAuthTokenProvider:a,agents:c}){let r=V({baseURL:e,headers:t,timeout:n,overrideFn:u,agents:c});return{trips:tu()({client:r,internalAuthTokenProvider:a}),tripIds:su()({client:r,internalAuthTokenProvider:a}),segmentsInformationTables:ou()({client:r,internalAuthTokenProvider:a}),__test_trips:{client:r}}}function xw({baseURL:e,headers:t,timeout:n,overrideFn:u,internalAuthTokenProvider:a,agents:c}){let r=V({baseURL:e,headers:t,timeout:n,overrideFn:u,agents:c});return{docs:uu()({client:r}),healthcheck:iu()({client:r}),info:pu()({client:r}),paths:mu()({client:r,internalAuthTokenProvider:a}),mergedFareTables:hu()({client:r,internalAuthTokenProvider:a}),__test:{client:r}}}function qw({baseURL:e,headers:t,timeout:n,overrideFn:u,internalAuthTokenProvider:a,agents:c}){let r=V({baseURL:e,headers:t,timeout:n,overrideFn:u,agents:c});return{accounts:bu()({client:r,internalAuthTokenProvider:a}),agencies:xu()({client:r,internalAuthTokenProvider:a}),agencyTypes:wu()({client:r,internalAuthTokenProvider:a}),application:Fu()({client:r,internalAuthTokenProvider:a}),applications:_u()({client:r,internalAuthTokenProvider:a}),applicationSettings:zu()({client:r,internalAuthTokenProvider:a}),customers:Nu()({client:r,internalAuthTokenProvider:a}),controlClassesSettings:Lu()({client:r,internalAuthTokenProvider:a}),currentShifts:Iu()({client:r,internalAuthTokenProvider:a}),docs:Ku()({client:r}),domains:Ju()({client:r,internalAuthTokenProvider:a}),dynamicForms:Zu()({client:r,internalAuthTokenProvider:a}),emailSettings:Yu()({client:r,internalAuthTokenProvider:a}),emailTemplates:Pu()({client:r,internalAuthTokenProvider:a}),smsTemplates:ku()({client:r,internalAuthTokenProvider:a}),exchangeRates:tc()({client:r,internalAuthTokenProvider:a}),exchangeReceipts:ac()({client:r,internalAuthTokenProvider:a}),externalCustomers:nc()({client:r,internalAuthTokenProvider:a}),goalSettings:ic()({client:r,internalAuthTokenProvider:a}),images:pc()({client:r,internalAuthTokenProvider:a}),interline:mc()({client:r,internalAuthTokenProvider:a}),lexicons:hc()({client:r,internalAuthTokenProvider:a}),network:yc()({client:r,internalAuthTokenProvider:a}),operationSettings:xc()({client:r,internalAuthTokenProvider:a}),peopleLookups:Oc()({client:r,internalAuthTokenProvider:a}),pointToPointSettings:Ec()({client:r,internalAuthTokenProvider:a}),marketPricingSettings:zc()({client:r,internalAuthTokenProvider:a}),multiproductSalesSettings:jc()({client:r,internalAuthTokenProvider:a}),printers:Nc()({client:r,internalAuthTokenProvider:a}),printSettings:Lc()({client:r,internalAuthTokenProvider:a}),printTemplates:Ic()({client:r,internalAuthTokenProvider:a}),revenueManagementSettings:Wc()({client:r,internalAuthTokenProvider:a}),journeyPricesSettings:Gc()({client:r,internalAuthTokenProvider:a}),subPrintTemplates:Qc()({client:r,internalAuthTokenProvider:a}),s3Buckets:vc()({client:r,internalAuthTokenProvider:a}),salesforceSettings:kc()({client:r,internalAuthTokenProvider:a}),shifts:ei()({client:r,internalAuthTokenProvider:a}),shiftSettings:si()({client:r,internalAuthTokenProvider:a}),systemModelSettings:oi()({client:r,internalAuthTokenProvider:a}),ticketMovementSettings:ci()({client:r,internalAuthTokenProvider:a}),tokens:pi()({client:r,internalAuthTokenProvider:a}),travellers:mi()({client:r,internalAuthTokenProvider:a}),trustedMachines:hi()({client:r,internalAuthTokenProvider:a}),twilioSettings:bi()({client:r,internalAuthTokenProvider:a}),users:xi()({client:r,internalAuthTokenProvider:a}),verifiedEmails:wi()({client:r,internalAuthTokenProvider:a}),__test:{client:r},websalesConfig:Si()({client:r,internalAuthTokenProvider:a}),transportRegulationSettingsForCNRT:Ri()({client:r,internalAuthTokenProvider:a})}}function ww({baseURL:e,headers:t,timeout:n,overrideFn:u,internalAuthTokenProvider:a,agents:c}){let r=V({baseURL:e,headers:t,timeout:n,overrideFn:u,agents:c});return{docs:Hi()({client:r}),parcelQuotes:ji()({client:r,internalAuthTokenProvider:a}),paymentProviders:Ni()({client:r,internalAuthTokenProvider:a}),cart:Bi()({client:r,internalAuthTokenProvider:a}),giftCertificates:Mi()({client:r,internalAuthTokenProvider:a}),customFields:Vi()({client:r,internalAuthTokenProvider:a}),order:Wi()({client:r,internalAuthTokenProvider:a}),voucher:Xi()({client:r,internalAuthTokenProvider:a}),cartPromo:Qi()({client:r,internalAuthTokenProvider:a}),bundles:vi()({client:r,internalAuthTokenProvider:a}),redeemableItems:ki()({client:r,internalAuthTokenProvider:a}),flexpasses:ed()({client:r,internalAuthTokenProvider:a}),syncEntry:rd()({client:r,internalAuthTokenProvider:a}),checkInInfo:ad()({client:r,internalAuthTokenProvider:a}),cancellations:nd()({client:r,internalAuthTokenProvider:a}),__test:{client:r}}}function Ow({baseURL:e,headers:t,timeout:n,overrideFn:u,internalAuthTokenProvider:a,agents:c}){let r=V({baseURL:e,headers:t,timeout:n,overrideFn:u,agents:c});return{docs:cd()({client:r}),accountingItems:pd()({client:r,internalAuthTokenProvider:a}),appliedInsurance:md()({client:r,internalAuthTokenProvider:a}),calendarEntries:hd()({client:r,internalAuthTokenProvider:a}),externalBookings:bd()({client:r,internalAuthTokenProvider:a}),flexpasses:xd()({client:r,internalAuthTokenProvider:a}),giftCertificates:wd()({client:r,internalAuthTokenProvider:a}),loans:Sd()({client:r,internalAuthTokenProvider:a}),manifest:Rd()({client:r,internalAuthTokenProvider:a}),manifestLegForTickets:Hd()({client:r,internalAuthTokenProvider:a}),movements:jd()({client:r,internalAuthTokenProvider:a}),outlookTrips:Nd()({client:r,internalAuthTokenProvider:a}),pagoExpress:Bd()({client:r,internalAuthTokenProvider:a}),parcel:Vd()({client:r,internalAuthTokenProvider:a}),parcelManifests:Wd()({client:r,internalAuthTokenProvider:a}),passengerCheckInInfo:Xd()({client:r,internalAuthTokenProvider:a}),redemption:Zd()({client:r,internalAuthTokenProvider:a}),rms:vd()({client:r,internalAuthTokenProvider:a}),scheduledNotifications:Td()({client:r,internalAuthTokenProvider:a}),segments:Ad()({client:r,internalAuthTokenProvider:a}),soldItemsFulfillment:tp()({client:r,internalAuthTokenProvider:a}),soldItems:ap()({client:r,internalAuthTokenProvider:a}),tickets:cp()({client:r,internalAuthTokenProvider:a}),transaction:dp()({client:r,internalAuthTokenProvider:a}),transactions:fp()({client:r,internalAuthTokenProvider:a}),tripChangeInfo:lp()({client:r,internalAuthTokenProvider:a}),cancellationSettings:yp()({client:r,internalAuthTokenProvider:a}),vehicleAssignments:$p()({client:r,internalAuthTokenProvider:a}),vouchers:wp()({client:r,internalAuthTokenProvider:a}),waitlists:Fp()({client:r,internalAuthTokenProvider:a}),transportRegulations:Ep()({client:r,internalAuthTokenProvider:a}),__test:{client:r}}}function Fw({baseURL:e,headers:t,timeout:n,overrideFn:u,internalAuthTokenProvider:a,agents:c}){let r=V({baseURL:e,headers:t,timeout:n,overrideFn:u,agents:c});return{reportTypes:zp()({client:r,internalAuthTokenProvider:a}),customReports:Cp()({client:r,internalAuthTokenProvider:a}),reportEmail:Dp()({client:r,internalAuthTokenProvider:a}),tripManifests:Up()({client:r,internalAuthTokenProvider:a}),__test:{client:r}}}function Sw({baseURL:e,headers:t,timeout:n,overrideFn:u,internalAuthTokenProvider:a,agents:c}){let r=V({baseURL:e,headers:t,timeout:n,overrideFn:u,agents:c});return{manifestNotifications:Mp()({client:r,internalAuthTokenProvider:a}),printedTickets:Vp()({client:r,internalAuthTokenProvider:a}),pdfs:Wp()({client:r,internalAuthTokenProvider:a}),pdfData:Xp()({client:r,internalAuthTokenProvider:a}),email:Zp()({client:r,internalAuthTokenProvider:a}),customers:vp()({client:r,internalAuthTokenProvider:a}),externalCustomers:kp()({client:r,internalAuthTokenProvider:a}),twilio:ef()({client:r,internalAuthTokenProvider:a}),salesforce:rf()({client:r,internalAuthTokenProvider:a}),shortUrls:of()({client:r,internalAuthTokenProvider:a}),notify:uf()({client:r,internalAuthTokenProvider:a}),ordersRulesValidations:df()({client:r,internalAuthTokenProvider:a}),__test:{client:r}}}function Ew({baseURL:e,headers:t,timeout:n,overrideFn:u,internalAuthTokenProvider:a,agents:c}){let r=V({baseURL:e,headers:t,timeout:n,overrideFn:u,agents:c});return{files:lf()({client:r,internalAuthTokenProvider:a}),images:bf()({client:r,internalAuthTokenProvider:a}),__test:{client:r}}}function _w({baseURL:e,headers:t,timeout:n,overrideFn:u,internalAuthTokenProvider:a,agents:c}){let r=V({baseURL:e,headers:t,timeout:n,overrideFn:u,agents:c});return{programs:xf()({client:r,internalAuthTokenProvider:a}),movements:wf()({client:r,internalAuthTokenProvider:a}),__test:{client:r}}}function Rw({baseURL:e,headers:t,timeout:n,overrideFn:u,internalAuthTokenProvider:a,agents:c}){let r=V({baseURL:e,headers:t,timeout:n,overrideFn:u,agents:c});return{subscriptions:Ff()({client:r,internalAuthTokenProvider:a}),events:Ef()({client:r,internalAuthTokenProvider:a}),undelivered:Rf()({client:r,internalAuthTokenProvider:a}),webhooks:Hf()({client:r,internalAuthTokenProvider:a}),__test:{client:r}}}function zw({baseURL:e,headers:t,timeout:n,overrideFn:u,internalAuthTokenProvider:a,agents:c}){let r=V({baseURL:e,headers:t,timeout:n,overrideFn:u,agents:c});return{accessTicket:jf()({client:r,internalAuthTokenProvider:a}),seat:Nf()({client:r,internalAuthTokenProvider:a}),__test:{client:r}}}function Hw({baseURL:e,headers:t,timeout:n,overrideFn:u,internalAuthTokenProvider:a,agents:c}){let r=V({baseURL:e,headers:t,timeout:n,overrideFn:u,agents:c});return{adyen:Lf()({client:r,internalAuthTokenProvider:a}),cybersource3ds:If()({client:r,internalAuthTokenProvider:a}),docs:Kf()({client:r}),cardpointeTerminals:Jf().cardpointeTerminalsFactory({client:r,internalAuthTokenProvider:a}),paymentMethods:Gf()({client:r,internalAuthTokenProvider:a}),referenceNumbers:Qf()({client:r,internalAuthTokenProvider:a}),payments:Pf()({client:r,internalAuthTokenProvider:a}),referencedPayments:Af()({client:r,internalAuthTokenProvider:a}),customers:tm()({client:r,internalAuthTokenProvider:a}),customerCards:sm()({client:r,internalAuthTokenProvider:a}),squareTerminals:os().squareTerminalsFactory({client:r,internalAuthTokenProvider:a}),squareWebhooks:os().squareWebhooksFactory({client:r,internalAuthTokenProvider:a}),oxxo:um()({client:r,internalAuthTokenProvider:a}),datalogic:im()({client:r,internalAuthTokenProvider:a}),prismaTerminals:pm()({client:r,internalAuthTokenProvider:a}),terminalPayments:mm()({client:r,internalAuthTokenProvider:a}),stripeTerminals:gm()({client:r,internalAuthTokenProvider:a}),stripe3ds:bm()({client:r,internalAuthTokenProvider:a}),__test:{client:r}}}function Cw({baseURL:e,headers:t,timeout:n,overrideFn:u,internalAuthTokenProvider:a,agents:c}){let r=V({baseURL:e,headers:t,timeout:n,overrideFn:u,agents:c});return{docs:xm()({client:r}),providers:wm()({client:r,internalAuthTokenProvider:a}),providersSequences:Fm()({client:r,internalAuthTokenProvider:a}),infile:_m()({client:r,internalAuthTokenProvider:a}),infileJson:Hm()({client:r,internalAuthTokenProvider:a}),system:Dm()({client:r,internalAuthTokenProvider:a}),dlink:Bm()({client:r,internalAuthTokenProvider:a}),gti:Im()({client:r,internalAuthTokenProvider:a}),pdfs:Km()({client:r,internalAuthTokenProvider:a}),emails:Jm()({client:r,internalAuthTokenProvider:a}),taxIds:Gm()({client:r,internalAuthTokenProvider:a}),invoices:Qm()({client:r,internalAuthTokenProvider:a}),__test:{client:r}}}function jw({baseURL:e,headers:t,timeout:n,overrideFn:u,internalAuthTokenProvider:a,agents:c}){let r=V({baseURL:e,headers:t,timeout:n,overrideFn:u,agents:c});return{configuration:vm()({client:r,internalAuthTokenProvider:a}),__test:{client:r}}}function Dw({baseURL:e,headers:t,timeout:n,overrideFn:u,internalAuthTokenProvider:a,agents:c}){let r=V({baseURL:e,headers:t,timeout:n,overrideFn:u,agents:c});return{scannerAppLocation:Tm()({client:r,internalAuthTokenProvider:a}),__test:{client:r}}}function Nw({baseURL:e,headers:t,timeout:n,overrideFn:u,agents:a}){let c=V({baseURL:e,headers:t,timeout:n,overrideFn:u,agents:a}),r="v2";return{auth:Am()({client:c}),clients:rl()({client:c,version:r}),integrations:al()({client:c,version:r}),__test:{client:c}}}function Uw(e){let{baseURL:t,baseURLOverride:n={},headers:u,timeout:a=0,internalAuthTokenProvider:c,agents:r}=e||yw;return{constants:Jr(),_cleanClient:V({baseURL:t,headers:u,timeout:a,agents:r}),inventory:Sr(Sr({},bw({baseURL:t,headers:u,timeout:a,overrideFn:n.inventory,internalAuthTokenProvider:c,agents:r})),$w({baseURL:t,headers:u,timeout:a,overrideFn:n.trips,internalAuthTokenProvider:c,agents:r})),coltrane:xw({baseURL:t,headers:u,timeout:a,overrideFn:n.coltrane,internalAuthTokenProvider:c,agents:r}),accounts:qw({baseURL:t,headers:u,timeout:a,overrideFn:n.accounts,internalAuthTokenProvider:c,agents:r}),sales:ww({baseURL:t,headers:u,timeout:a,overrideFn:n.sales,internalAuthTokenProvider:c,agents:r}),operations:Ow({baseURL:t,headers:u,timeout:a,overrideFn:n.operations,internalAuthTokenProvider:c,agents:r}),reports:Fw({baseURL:t,headers:u,timeout:a,overrideFn:n.reports,internalAuthTokenProvider:c,agents:r}),notifications:Sw({baseURL:t,headers:u,timeout:a,overrideFn:n.notifications,internalAuthTokenProvider:c,agents:r}),uploads:Ew({baseURL:t,headers:u,timeout:a,overrideFn:n.uploads,internalAuthTokenProvider:c,agents:r}),loyalty:_w({baseURL:t,headers:u,timeout:a,overrideFn:n.loyalty,internalAuthTokenProvider:c,agents:r}),webhooks:Rw({baseURL:t,headers:u,timeout:a,overrideFn:n.webhooks,internalAuthTokenProvider:c,agents:r}),seatmaps:zw({baseURL:t,headers:u,timeout:a,overrideFn:n.seatmaps,internalAuthTokenProvider:c,agents:r}),btrzpay:Hw({baseURL:t,headers:u,timeout:a,overrideFn:n.btrzpay,internalAuthTokenProvider:c,agents:r}),invoices:Cw({baseURL:t,headers:u,timeout:a,overrideFn:n.invoices,internalAuthTokenProvider:c,agents:r}),bpes:jw({baseURL:t,headers:u,timeout:a,overrideFn:n.bpes,internalAuthTokenProvider:c,agents:r}),gps:Dw({baseURL:t,headers:u,timeout:a,overrideFn:n.invoices,internalAuthTokenProvider:c,agents:r}),ratality:Nw({baseURL:t,headers:u,timeout:a,overrideFn:n.ratality,agents:r})}}nl.exports={clientFactory:V,createApiClient:Uw}});return Bw();})();
10
+ `+c)}}catch{}}throw u}}_request(t,n){typeof t=="string"?(n=n||{},n.url=t):n=t||{},n=we(this.defaults,n);let{transitional:u,paramsSerializer:a,headers:c}=n;u!==void 0&&Gt.assertOptions(u,{silentJSONParsing:X.transitional(X.boolean),forcedJSONParsing:X.transitional(X.boolean),clarifyTimeoutError:X.transitional(X.boolean),legacyInterceptorReqResOrdering:X.transitional(X.boolean),advertiseZstdAcceptEncoding:X.transitional(X.boolean),validateStatusUndefinedResolves:X.transitional(X.boolean)},!1),a!=null&&($.isFunction(a)?n.paramsSerializer={serialize:a}:Gt.assertOptions(a,{encode:X.function,serialize:X.function},!0)),n.allowAbsoluteUrls!==void 0||(this.defaults.allowAbsoluteUrls!==void 0?n.allowAbsoluteUrls=this.defaults.allowAbsoluteUrls:n.allowAbsoluteUrls=!0),Gt.assertOptions(n,{baseUrl:X.spelling("baseURL"),withXsrfToken:X.spelling("withXSRFToken")},!0),n.method=(n.method||this.defaults.method||"get").toLowerCase();let r=c&&$.merge(c.common,c[n.method]);c&&$.forEach(["delete","get","head","post","put","patch","query","common"],q=>{delete c[q]}),n.headers=K.concat(r,c);let s=[],o=!0;this.interceptors.request.forEach(function(g){if(typeof g.runWhen=="function"&&g.runWhen(n)===!1)return;o=o&&g.synchronous;let b=n.transitional||Ir;b&&b.legacyInterceptorReqResOrdering?s.unshift(g.fulfilled,g.rejected):s.push(g.fulfilled,g.rejected)});let i=[];this.interceptors.response.forEach(function(g){i.push(g.fulfilled,g.rejected)});let d,p=0,f;if(!o){let q=[zs.bind(this),void 0];for(q.unshift(...s),q.push(...i),f=q.length,d=Promise.resolve(n);p<f;)d=d.then(q[p++],q[p++]);return d}f=s.length;let l=n;for(;p<f;){let q=s[p++],g=s[p++];try{l=q(l)}catch(b){g.call(this,b);break}}try{d=zs.call(this,l)}catch(q){return Promise.reject(q)}for(p=0,f=i.length;p<f;)d=d.then(i[p++],i[p++]);return d}getUri(t){t=we(this.defaults,t);let n=vs(t.baseURL,t.url,t.allowAbsoluteUrls,t);return Xs(n,t.params,t.paramsSerializer)}};$.forEach(["delete","get","head","options"],function(t){oe.prototype[t]=function(n,u){return this.request(we(u||{},{method:t,url:n,data:u&&$.hasOwnProp(u,"data")?u.data:void 0}))}});$.forEach(["post","put","patch","query"],function(t){function n(u){return function(c,r,s){return this.request(we(s||{},{method:t,headers:u?{"Content-Type":"multipart/form-data"}:{},url:c,data:r}))}}oe.prototype[t]=n(),t!=="query"&&(oe.prototype[t+"Form"]=n(!0))});var Nr=class e{constructor(t){if(typeof t!="function")throw new TypeError("executor must be a function.");let n;this.promise=new Promise(function(c){n=c});let u=this;this.promise.then(a=>{if(!u._listeners)return;let c=u._listeners.length;for(;c-- >0;)u._listeners[c](a);u._listeners=null}),this.promise.then=a=>{let c,r=new Promise(s=>{u.subscribe(s),c=s}).then(a);return r.cancel=function(){u.unsubscribe(c)},r},t(function(c,r,s){u.reason||(u.reason=new qe(c,r,s),n(u.reason))})}throwIfRequested(){if(this.reason)throw this.reason}subscribe(t){if(this.reason){t(this.reason);return}this._listeners?this._listeners.push(t):this._listeners=[t]}unsubscribe(t){if(!this._listeners)return;let n=this._listeners.indexOf(t);n!==-1&&this._listeners.splice(n,1)}toAbortSignal(){let t=new AbortController,n=u=>{t.abort(u)};return this.subscribe(n),t.signal.unsubscribe=()=>this.unsubscribe(n),t.signal}static source(){let t;return{token:new e(function(a){t=a}),cancel:t}}};function og(e){return function(n){return e.apply(null,n)}}function ng(e){return $.isObject(e)&&e.isAxiosError===!0}var Ur={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,PartialContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511,WebServerIsDown:521,ConnectionTimedOut:522,OriginIsUnreachable:523,TimeoutOccurred:524,SslHandshakeFailed:525,InvalidSslCertificate:526};Object.entries(Ur).forEach(([e,t])=>{Ur[t]=e});function As(e){let t=new oe(e),n=Cs(oe.prototype.request,t);return $.extend(n,oe.prototype,t,{allOwnKeys:!0}),$.extend(n,t,null,{allOwnKeys:!0}),n.create=function(a){return As(we(e,a))},n}var I=As(ke);I.Axios=oe;I.CanceledError=qe;I.CancelToken=Nr;I.isCancel=Qs;I.VERSION=Kr;I.toFormData=Tt;I.AxiosError=_;I.Cancel=I.CanceledError;I.all=function(t){return Promise.all(t)};I.spread=og;I.isAxiosError=ng;I.mergeConfig=we;I.AxiosHeaders=K;I.formToJSON=e=>Zs($.isHTMLForm(e)?new FormData(e):e);I.getAdapter=ks.getAdapter;I.HttpStatusCode=Ur;I.default=I;ea.exports=I});var sa=m((Iw,ra)=>{ra.exports={baseURL:"https://api.betterez.com",timeout:15e3,baseURLOverride:{inventory:e=>`${e}/inventory`,trips:e=>`${e}/inventory`,bpes:e=>`${e}/bpes`}}});var Jr=m((Vw,aa)=>{var ug={INTERNAL_AUTH_TOKEN_SYMBOL:"internal_auth_token"};aa.exports=ug});var y=m((Kw,oa)=>{var cg=Jr();function ig({token:e,jwtToken:t,internalAuthTokenProvider:n,headers:u}){let a={};if(e&&(a["x-api-key"]=`${e}`),u&&u.cookie&&u.cookie.includes("btrz-trusted")&&(a.cookie=u.cookie),t&&t===cg.INTERNAL_AUTH_TOKEN_SYMBOL){if(!n||typeof n.getToken!="function")throw new Error("Tried to make an internal API request, but no 'internalAuthTokenProvider' with a 'getToken' function was supplied to the API client");a.authorization=`Bearer ${n.getToken()}`}else t&&(a.authorization=`Bearer ${t}`);try{u&&typeof u=="object"&&!Array.isArray(u)&&Object.entries(u).forEach(([c,r])=>{a[c]||(c==="x-amzn-trace-id"&&r||c==="x-elevation-token")&&(a[c]=u[c])})}catch(c){console.log(c)}return a}oa.exports={authorizationHeaders:ig}});var ua=m((Ww,na)=>{var{authorizationHeaders:At}=y();function dg({client:e,internalAuthTokenProvider:t}){function n({token:r,query:s={},headers:o}){return e.get("/amenities",{params:s,headers:At({token:r,internalAuthTokenProvider:t,headers:o})})}function u({token:r,amenityId:s,query:o={},headers:i}){return e.get(`/amenities/${s}`,{params:o,headers:At({token:r,internalAuthTokenProvider:t,headers:i})})}function a({token:r,jwtToken:s,amenity:o,headers:i}){return e({url:"/amenities",method:"post",headers:At({token:r,jwtToken:s,internalAuthTokenProvider:t,headers:i}),data:{amenity:o}})}function c({token:r,jwtToken:s,amenityId:o,amenity:i,headers:d}){return e({url:`/amenities/${o}`,method:"put",headers:At({token:r,jwtToken:s,internalAuthTokenProvider:t,headers:d}),data:{amenity:i}})}return{all:n,get:u,create:a,update:c}}na.exports=dg});var ia=m((Jw,ca)=>{var{authorizationHeaders:er}=y();function pg({client:e,internalAuthTokenProvider:t}){function n({token:r,query:s={},headers:o}){return e.get("/amenity-groups",{params:s,headers:er({token:r,internalAuthTokenProvider:t,headers:o})})}function u({token:r,amenityGroupId:s,query:o={},headers:i}){return e.get(`/amenity-groups/${s}`,{params:o,headers:er({token:r,internalAuthTokenProvider:t,headers:i})})}function a({token:r,jwtToken:s,amenityGroup:o,headers:i}){return e({url:"/amenity-groups",method:"post",headers:er({token:r,jwtToken:s,internalAuthTokenProvider:t,headers:i}),data:{amenityGroup:o}})}function c({token:r,jwtToken:s,amenityGroupId:o,amenityGroup:i,headers:d}){return e({url:`/amenity-groups/${o}`,method:"put",headers:er({token:r,jwtToken:s,internalAuthTokenProvider:t,headers:d}),data:{amenityGroup:i}})}return{all:n,get:u,create:a,update:c}}ca.exports=pg});var pa=m((Xw,da)=>{var{authorizationHeaders:Ae}=y();function fg({client:e,internalAuthTokenProvider:t}){function n({token:s,jwtToken:o,query:i={},headers:d}){return e.get("/banks",{params:i,headers:Ae({token:s,jwtToken:o,internalAuthTokenProvider:t,headers:d})})}function u({bankId:s,token:o,headers:i,jwtToken:d}){return e.get(`/banks/${s}`,{headers:Ae({token:o,jwtToken:d,internalAuthTokenProvider:t,headers:i})})}function a({jwtToken:s,token:o,bank:i,headers:d}){return e({url:"/banks",method:"post",headers:Ae({token:o,jwtToken:s,internalAuthTokenProvider:t,headers:d}),data:{bank:i}})}function c({jwtToken:s,bankId:o,token:i,headers:d}){return e({url:`/banks/${o}`,method:"delete",headers:Ae({token:i,jwtToken:s,internalAuthTokenProvider:t,headers:d})})}function r({jwtToken:s,token:o,bankId:i,bank:d,headers:p}){return e({url:`/banks/${i}`,method:"put",headers:Ae({token:o,jwtToken:s,internalAuthTokenProvider:t,headers:p}),data:{bank:d}})}return{all:n,get:u,create:a,update:r,remove:c}}da.exports=fg});var la=m((Gw,ma)=>{var{authorizationHeaders:fa}=y();function mg({client:e,internalAuthTokenProvider:t}){function n({token:a,query:c={},headers:r}){return e({url:"/bare-routes",params:c,headers:fa({token:a,internalAuthTokenProvider:t,headers:r})})}function u({routeId:a,token:c,query:r={},headers:s}){return e({url:`/bare-routes/${a}`,params:r,headers:fa({token:c,internalAuthTokenProvider:t,headers:s})})}return{all:n,get:u}}ma.exports=mg});var ga=m((Zw,ha)=>{var{authorizationHeaders:tr}=y();function lg({client:e,internalAuthTokenProvider:t}){function n({token:r,jwtToken:s,query:o={},headers:i}){return e({url:"/brands",params:o,headers:tr({token:r,jwtToken:s,internalAuthTokenProvider:t,headers:i})})}function u({token:r,jwtToken:s,brand:o,headers:i}){return e({url:"/brands",method:"post",headers:tr({token:r,jwtToken:s,internalAuthTokenProvider:t,headers:i}),data:{brand:o}})}function a({jwtToken:r,token:s,brandId:o,brand:i,headers:d}){return e({url:`/brands/${o}`,method:"put",headers:tr({token:s,jwtToken:r,internalAuthTokenProvider:t,headers:d}),data:{brand:i}})}function c({token:r,brandId:s,jwtToken:o,headers:i}){return e({url:`/brands/${s}`,method:"get",headers:tr({token:r,internalAuthTokenProvider:t,jwtToken:o,headers:i})})}return{all:n,create:u,update:a,get:c}}ha.exports=lg});var ba=m((Qw,ya)=>{var{authorizationHeaders:hg}=y();function gg({client:e,internalAuthTokenProvider:t}){function n({token:u,bundleId:a,productId:c,query:r={},headers:s}){return e.get(`/bundle/${a}/product/${c}`,{params:r,headers:hg({token:u,internalAuthTokenProvider:t,headers:s})})}return{all:n}}ya.exports=gg});var qa=m((Yw,xa)=>{var{authorizationHeaders:$a}=y();function yg({client:e,internalAuthTokenProvider:t}){function n({token:a,jwtToken:c,query:r={},headers:s}){return e({url:"/bundles",params:r,headers:$a({token:a,jwtToken:c,internalAuthTokenProvider:t,headers:s})})}function u({token:a,jwtToken:c,bundleId:r,headers:s}){return e({url:`/bundles/${r}`,method:"get",headers:$a({token:a,internalAuthTokenProvider:t,jwtToken:c,headers:s})})}return{all:n,get:u}}xa.exports=yg});var Oa=m((vw,wa)=>{var{authorizationHeaders:Oe}=y();function bg({client:e,internalAuthTokenProvider:t}){function n({token:s,jwtToken:o,query:i={},headers:d}){return e.get("/change-requests",{params:i,headers:Oe({token:s,jwtToken:o,internalAuthTokenProvider:t,headers:d})})}function u({changerequestId:s,token:o,jwtToken:i,query:d={},headers:p}){return e({url:`/change-requests/${s}/manifests`,params:d,headers:Oe({token:o,internalAuthTokenProvider:t,jwtToken:i,headers:p})})}function a({data:s,token:o,jwtToken:i,headers:d}){return e({url:"/change-requests/manifests",method:"post",headers:Oe({token:o,jwtToken:i,internalAuthTokenProvider:t,headers:d}),data:s})}function c({changerequestId:s,data:o,token:i,jwtToken:d,headers:p}){return e({url:`/change-requests/${s}/manifests`,method:"put",headers:Oe({token:i,jwtToken:d,internalAuthTokenProvider:t,headers:p}),data:o})}return{all:n,get:u,create:a,update:c,schedules:{get({changeRequestId:s,token:o,jwtToken:i,query:d={},headers:p}){return e({url:`/change-requests/${s}/schedules`,params:d,headers:Oe({token:o,internalAuthTokenProvider:t,jwtToken:i,headers:p})})},create({data:s,token:o,jwtToken:i,headers:d}){return e({url:"/change-requests/schedules",method:"post",headers:Oe({token:o,jwtToken:i,internalAuthTokenProvider:t,headers:d}),data:s})},update({changeRequestId:s,data:o,token:i,jwtToken:d,headers:p}){return e({url:`/change-requests/${s}/schedules`,method:"put",headers:Oe({token:i,jwtToken:d,internalAuthTokenProvider:t,headers:p}),data:o})}}}}wa.exports=bg});var Sa=m((Pw,Fa)=>{var{authorizationHeaders:$g}=y();function xg({client:e,internalAuthTokenProvider:t}){function n({token:u,jwtToken:a,query:c={},headers:r}){return e({url:"/companies",params:c,headers:$g({token:u,jwtToken:a,internalAuthTokenProvider:t,headers:r})})}return{all:n}}Fa.exports=xg});var _a=m((Tw,Ea)=>{var{authorizationHeaders:Fe}=y();function qg({client:e,internalAuthTokenProvider:t}){function n({token:i,jwtToken:d,query:p={},headers:f}){return e.get("/control-classes",{params:p,headers:Fe({token:i,jwtToken:d,internalAuthTokenProvider:t,headers:f})})}function u({controlClassId:i,token:d,headers:p,jwtToken:f,query:l={}}){return e.get(`/control-classes/${i}`,{params:l,headers:Fe({token:d,jwtToken:f,internalAuthTokenProvider:t,headers:p})})}function a({jwtToken:i,token:d,controlClass:p,headers:f}){return e({url:"/control-classes",method:"post",headers:Fe({token:d,jwtToken:i,internalAuthTokenProvider:t,headers:f}),data:{controlClass:p}})}function c({jwtToken:i,controlClassId:d,token:p,headers:f}){return e({url:`/control-classes/${d}`,method:"delete",headers:Fe({token:p,jwtToken:i,internalAuthTokenProvider:t,headers:f})})}function r({jwtToken:i,token:d,controlClassId:p,controlClass:f,headers:l}){return e({url:`/control-classes/${p}`,method:"put",headers:Fe({token:d,jwtToken:i,internalAuthTokenProvider:t,headers:l}),data:{controlClass:f}})}let s={post:({token:i,jwtToken:d,controlClassId:p,data:f,headers:l})=>e({url:`/control-classes/${p}/schedules`,method:"post",headers:Fe({token:i,jwtToken:d,internalAuthTokenProvider:t,headers:l}),data:f})};function o({jwtToken:i,token:d,rootClassId:p,controlClassCloneOptions:f,headers:l}){return e({url:`/control-classes/${p}/clones`,method:"post",headers:Fe({token:d,jwtToken:i,internalAuthTokenProvider:t,headers:l}),data:{controlClassCloneOptions:f}})}return{all:n,get:u,create:a,update:r,remove:c,clone:o,schedules:s}}Ea.exports=qg});var Ha=m((kw,za)=>{var{authorizationHeaders:Ra}=y();function wg({client:e,internalAuthTokenProvider:t}){function n({token:a,jwtToken:c,query:r={},headers:s}){return e({url:"/countries",params:r,headers:Ra({token:a,jwtToken:c,internalAuthTokenProvider:t,headers:s})})}function u({token:a,jwtToken:c,id:r,query:s={},headers:o}){return e({url:`/countries/${r}`,params:s,headers:Ra({token:a,jwtToken:c,internalAuthTokenProvider:t,headers:o})})}return{all:n,get:u}}za.exports=wg});var ja=m((Aw,Ca)=>{var{authorizationHeaders:et}=y();function Og({client:e,internalAuthTokenProvider:t}){function n({token:s,query:o={},headers:i}){return e.get("/custom-content",{params:o,headers:et({token:s,internalAuthTokenProvider:t,headers:i})})}function u({customContentId:s,token:o,jwtToken:i,headers:d}){return e.get(`/custom-content/${s}`,{headers:et({token:o,jwtToken:i,internalAuthTokenProvider:t,headers:d})})}function a({jwtToken:s,token:o,customContent:i,headers:d}){return e({url:"/custom-content",method:"post",headers:et({token:o,jwtToken:s,internalAuthTokenProvider:t,headers:d}),data:{customContent:i}})}function c({jwtToken:s,customContentId:o,token:i,headers:d}){return e({url:`/custom-content/${o}`,method:"delete",headers:et({token:i,jwtToken:s,internalAuthTokenProvider:t,headers:d})})}function r({jwtToken:s,token:o,customContentId:i,customContent:d,headers:p}){return e({url:`/custom-content/${i}`,method:"put",headers:et({token:o,jwtToken:s,internalAuthTokenProvider:t,headers:p}),data:{customContent:d}})}return{all:n,get:u,create:a,update:r,remove:c}}Ca.exports=Og});var Na=m((eO,Da)=>{var{authorizationHeaders:tt}=y();function Fg({client:e,internalAuthTokenProvider:t}){function n({token:s,jwtToken:o,query:i={},headers:d}){return e({url:"/custom-fields",params:i,headers:tt({token:s,jwtToken:o,internalAuthTokenProvider:t,headers:d})})}function u({fieldId:s,token:o,jwtToken:i,query:d={},headers:p}){return e({url:`/custom-fields/${s}`,params:d,headers:tt({token:o,jwtToken:i,internalAuthTokenProvider:t,headers:p})})}function a({token:s,jwtToken:o,field:i,headers:d}){return e({url:"/custom-fields",method:"post",headers:tt({token:s,jwtToken:o,internalAuthTokenProvider:t,headers:d}),data:{field:i}})}function c({token:s,jwtToken:o,fieldId:i,field:d,headers:p}){return e({url:`/custom-fields/${i}`,method:"put",headers:tt({token:s,jwtToken:o,internalAuthTokenProvider:t,headers:p}),data:{field:d}})}return{all:n,get:u,create:a,update:c,types:{all({token:s,jwtToken:o,headers:i}){return e({url:"/custom-fields/types",headers:tt({token:s,jwtToken:o,internalAuthTokenProvider:t,headers:i})})}}}}Da.exports=Fg});var Ba=m((tO,Ua)=>{function Sg({client:e}){function t(){return e.get("/api-docs-v2",{})}return{get:t}}Ua.exports=Sg});var Va=m((rO,Ia)=>{function La(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var u=Object.getOwnPropertySymbols(e);t&&(u=u.filter(function(a){return Object.getOwnPropertyDescriptor(e,a).enumerable})),n.push.apply(n,u)}return n}function Ma(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?La(Object(n),!0).forEach(function(u){Eg(e,u,n[u])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):La(Object(n)).forEach(function(u){Object.defineProperty(e,u,Object.getOwnPropertyDescriptor(n,u))})}return e}function Eg(e,t,n){return(t=_g(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function _g(e){var t=Rg(e,"string");return typeof t=="symbol"?t:t+""}function Rg(e,t){if(typeof e!="object"||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var u=n.call(e,t||"default");if(typeof u!="object")return u;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}var{authorizationHeaders:rt}=y();function zg({client:e,internalAuthTokenProvider:t}){function n({token:s,jwtToken:o,query:i={},headers:d}){return e({url:"/document-types",method:"get",headers:rt({token:s,jwtToken:o,internalAuthTokenProvider:t,headers:d}),params:i})}function u({token:s,jwtToken:o,id:i,query:d={},headers:p,providerId:f}){let l=f?Ma(Ma({},d),{},{providerId:f}):d;return e({url:`/document-types/${i}`,method:"get",params:l,headers:rt({token:s,jwtToken:o,internalAuthTokenProvider:t,headers:p})})}function a({token:s,jwtToken:o,id:i,documenttype:d,data:p,headers:f}){let l=d||p;return e({url:`/document-types/${i}`,method:"put",headers:rt({token:s,jwtToken:o,internalAuthTokenProvider:t,headers:f}),data:{documenttype:l}})}function c({token:s,jwtToken:o,id:i,headers:d}){return e({url:`/document-types/${i}`,method:"delete",headers:rt({token:s,jwtToken:o,internalAuthTokenProvider:t,headers:d})})}function r({token:s,jwtToken:o,documenttype:i,data:d,headers:p}){let f=i||d;return e({url:"/document-types",method:"post",headers:rt({token:s,jwtToken:o,internalAuthTokenProvider:t,headers:p}),data:{documenttype:f}})}return{all:n,get:u,update:a,remove:c,create:r}}Ia.exports=zg});var Wa=m((sO,Ka)=>{var{authorizationHeaders:Hg}=y();function Cg({client:e,internalAuthTokenProvider:t}){function n({eventId:u,token:a,headers:c}){return e.get(`/event/${u}`,{headers:Hg({token:a,internalAuthTokenProvider:t,headers:c})})}return{get:n}}Ka.exports=Cg});var Ga=m((aO,Xa)=>{var{authorizationHeaders:Ja}=y();function jg({client:e,internalAuthTokenProvider:t}){function n({token:a,jwtToken:c,query:r={},headers:s}){return e.get("/external-passes",{params:r,headers:Ja({token:a,internalAuthTokenProvider:t,jwtToken:c,headers:s})})}function u({externalPassId:a,token:c,jwtToken:r,headers:s}){return e.get(`/external-passes/${a}`,{headers:Ja({token:c,internalAuthTokenProvider:t,jwtToken:r,headers:s})})}return{all:n,get:u}}Xa.exports=jg});var Qa=m((oO,Za)=>{var{authorizationHeaders:pe}=y();function Dg({client:e,internalAuthTokenProvider:t}){return{saldoMax:{all:({token:u,jwtToken:a,query:c={},headers:r})=>e.get("/external-wallets/saldo-max",{params:c,headers:pe({token:u,internalAuthTokenProvider:t,jwtToken:a,headers:r})}),create:({token:u,jwtToken:a,externalWallet:c,headers:r})=>e({url:"/external-wallets/saldo-max",method:"post",headers:pe({token:u,jwtToken:a,internalAuthTokenProvider:t,headers:r}),data:{externalWallet:c}}),get:({token:u,jwtToken:a,walletId:c,headers:r})=>e.get(`/external-wallets/saldo-max/${c}`,{headers:pe({token:u,jwtToken:a,internalAuthTokenProvider:t,headers:r})}),update:({token:u,jwtToken:a,externalWallet:c,headers:r})=>{let s={nip:c.nip,walletNumber:c.walletNumber,status:c.status};return e({url:`/external-wallets/saldo-max/${c._id}`,method:"put",headers:pe({token:u,jwtToken:a,internalAuthTokenProvider:t,headers:r}),data:{externalWallet:s}})},nip:{update:({token:u,jwtToken:a,walletId:c,nip:r,headers:s})=>e({url:`/external-wallets/saldo-max/${c}/nip`,method:"put",headers:pe({token:u,jwtToken:a,internalAuthTokenProvider:t,headers:s}),data:{nip:r}})},authorization:{create:({token:u,jwtToken:a,walletId:c,nip:r,nipAuthorization:s,headers:o})=>{let i=s!=null?{nipAuthorization:s}:{nip:r};return e({url:`/external-wallets/saldo-max/${c}/authorization`,method:"post",headers:pe({token:u,jwtToken:a,internalAuthTokenProvider:t,headers:o}),data:i})}},movements:{create:({token:u,jwtToken:a,walletId:c,movement:r,headers:s})=>e({url:`/external-wallets/saldo-max/${c}/movements`,method:"put",headers:pe({token:u,jwtToken:a,internalAuthTokenProvider:t,headers:s}),data:{movement:r}})},statements:{create:({token:u,jwtToken:a,walletId:c,statementRequest:r,headers:s})=>e({url:`/external-wallets/saldo-max/${c}/statements`,method:"post",headers:pe({token:u,jwtToken:a,internalAuthTokenProvider:t,headers:s}),data:r!=null?{statementRequest:r}:{}})}}}}Za.exports=Dg});var va=m((nO,Ya)=>{var{authorizationHeaders:st}=y();function Ng({client:e,internalAuthTokenProvider:t}){function n({token:s,jwtToken:o,query:i={},headers:d}){return e.get("/fare-type-modifiers",{params:i,headers:st({token:s,jwtToken:o,internalAuthTokenProvider:t,headers:d})})}function u({fareTypeModifierId:s,token:o,jwtToken:i,headers:d}){return e.get(`/fare-type-modifiers/${s}`,{headers:st({token:o,jwtToken:i,internalAuthTokenProvider:t,headers:d})})}function a({jwtToken:s,token:o,fareTypeModifier:i,headers:d}){return e({url:"/fare-type-modifiers",method:"post",headers:st({token:o,jwtToken:s,internalAuthTokenProvider:t,headers:d}),data:{fareTypeModifier:i}})}function c({jwtToken:s,fareTypeModifierId:o,token:i,headers:d}){return e({url:`/fare-type-modifiers/${o}`,method:"delete",headers:st({token:i,jwtToken:s,internalAuthTokenProvider:t,headers:d})})}function r({jwtToken:s,token:o,fareTypeModifierId:i,fareTypeModifier:d,headers:p}){return e({url:`/fare-type-modifiers/${i}`,method:"put",headers:st({token:o,jwtToken:s,internalAuthTokenProvider:t,headers:p}),data:{fareTypeModifier:d}})}return{all:n,get:u,create:a,update:r,remove:c}}Ya.exports=Ng});var Ta=m((uO,Pa)=>{var{authorizationHeaders:rr}=y();function Ug({client:e,internalAuthTokenProvider:t}){function n({token:r,jwtToken:s,query:o={},headers:i}){return e.get("/fallback-codes",{params:o,headers:rr({token:r,jwtToken:s,internalAuthTokenProvider:t,headers:i})})}function u({token:r,id:s,headers:o}){return e.get(`/fallback-code/${s}`,{headers:rr({token:r,internalAuthTokenProvider:t,headers:o})})}function a({token:r,jwtToken:s,fallbackCode:o,headers:i}){return e({url:"/fallback-codes",method:"post",headers:rr({token:r,jwtToken:s,internalAuthTokenProvider:t,headers:i}),data:{fallbackCode:o}})}function c({token:r,jwtToken:s,fallbackCodeId:o,fallbackCode:i,headers:d}){return e({url:`/fallback-code/${o}`,method:"put",headers:rr({token:r,jwtToken:s,internalAuthTokenProvider:t,headers:d}),data:{fallbackCode:i}})}return{all:n,get:u,create:a,update:c}}Pa.exports=Ug});var Aa=m((cO,ka)=>{var{authorizationHeaders:Xr}=y();function Bg({client:e,internalAuthTokenProvider:t}){function n({token:c,jwtToken:r,query:s={},headers:o}){return e({url:"/fare-classes",params:s,headers:Xr({token:c,jwtToken:r,internalAuthTokenProvider:t,headers:o})})}function u({token:c,jwtToken:r,fareClass:s,headers:o}){return e({url:"/fare-classes",method:"post",headers:Xr({token:c,jwtToken:r,internalAuthTokenProvider:t,headers:o}),data:{fareClass:s}})}function a({token:c,jwtToken:r,fareClassId:s,update:o,headers:i}){return e({url:`/fare-classes/${s}`,method:"patch",headers:Xr({token:c,jwtToken:r,internalAuthTokenProvider:t,headers:i}),data:{update:o}})}return{all:n,create:u,update:a}}ka.exports=Bg});var to=m((iO,eo)=>{var{authorizationHeaders:Le}=y();function Lg({client:e,internalAuthTokenProvider:t}){function n({token:s,query:o={},headers:i}){return e.get("/fares",{params:o,headers:Le({token:s,internalAuthTokenProvider:t,headers:i})})}function u({token:s,id:o,headers:i}){return e.get(`/fare/${o}`,{headers:Le({token:s,internalAuthTokenProvider:t,headers:i})})}function a({token:s,jwtToken:o,fare:i,headers:d}){return e({url:"/fares",method:"post",headers:Le({token:s,jwtToken:o,internalAuthTokenProvider:t,headers:d}),data:{fare:i}})}function c({token:s,jwtToken:o,fareId:i,fare:d,headers:p}){return e({url:`/fare/${i}`,method:"put",headers:Le({token:s,jwtToken:o,internalAuthTokenProvider:t,headers:p}),data:{fare:d}})}return{all:n,get:u,update:c,create:a,adjustments:{create({token:s,jwtToken:o,fareId:i,adjustmentsOverride:d,headers:p}){return e({url:`/fares/${i}/adjustments-overrides`,method:"post",headers:Le({token:s,jwtToken:o,internalAuthTokenProvider:t,headers:p}),data:{adjustmentsOverride:d}})},remove({token:s,jwtToken:o,fareId:i,adjustmentId:d,headers:p}){return e({url:`/fares/${i}/adjustments-override/${d}`,method:"delete",headers:Le({token:s,jwtToken:o,internalAuthTokenProvider:t,headers:p})})}}}}eo.exports=Lg});var so=m((dO,ro)=>{var{authorizationHeaders:sr}=y();function Mg({client:e,internalAuthTokenProvider:t}){function n({token:r,jwtToken:s,query:o={},headers:i}){return e.get("/fees",{params:o,headers:sr({token:r,jwtToken:s,internalAuthTokenProvider:t,headers:i})})}function u({token:r,jwtToken:s,feeId:o,headers:i}){return e.get(`/fees/${o}`,{headers:sr({token:r,jwtToken:s,internalAuthTokenProvider:t,headers:i})})}function a({token:r,jwtToken:s,fee:o,headers:i}){return e({url:"/fees",method:"post",headers:sr({token:r,jwtToken:s,internalAuthTokenProvider:t,headers:i}),data:{fee:o}})}function c({token:r,jwtToken:s,feeId:o,fee:i,headers:d}){return e({url:`/fees/${o}`,method:"put",headers:sr({token:r,jwtToken:s,internalAuthTokenProvider:t,headers:d}),data:{fee:i}})}return{all:n,get:u,create:a,update:c}}ro.exports=Mg});var oo=m((pO,ao)=>{var{authorizationHeaders:Gr}=y();function Ig({client:e,internalAuthTokenProvider:t}){function n({token:c,jwtToken:r,query:s={},headers:o}){return e.get("/filtered-trips",{params:s,headers:Gr({token:c,jwtToken:r,internalAuthTokenProvider:t,headers:o})})}function u({token:c,jwtToken:r,tripSegmentsId:s,headers:o}){return e({url:"/filtered-trips",method:"post",headers:Gr({token:c,jwtToken:r,internalAuthTokenProvider:t,headers:o}),data:{tripSegmentsId:s}})}function a({token:c,jwtToken:r,filteredTripId:s,headers:o}){return e({url:`/filtered-trip/${s}`,method:"delete",headers:Gr({token:c,jwtToken:r,internalAuthTokenProvider:t,headers:o})})}return{all:n,create:u,remove:a}}ao.exports=Ig});var uo=m((fO,no)=>{var{authorizationHeaders:Vg}=y();function Kg({client:e,internalAuthTokenProvider:t}){function n({token:u,jwtToken:a,filteredTrip:c,headers:r}){return e({url:"/v2/filtered-trips",method:"post",headers:Vg({token:u,jwtToken:a,internalAuthTokenProvider:t,headers:r}),data:{filteredTrip:c}})}return{create:n}}no.exports=Kg});var io=m((mO,co)=>{var{authorizationHeaders:at}=y();function Wg({client:e,internalAuthTokenProvider:t}){function n({token:s,jwtToken:o,query:i={},headers:d}){return e.get("/financing-costs",{params:i,headers:at({token:s,jwtToken:o,internalAuthTokenProvider:t,headers:d})})}function u({id:s,token:o,headers:i,jwtToken:d,query:p={}}){return e.get(`/financing-costs/${s}`,{params:p,headers:at({token:o,jwtToken:d,internalAuthTokenProvider:t,headers:i})})}function a({jwtToken:s,token:o,financingCost:i,headers:d}){return e({url:"/financing-costs",method:"post",headers:at({token:o,jwtToken:s,internalAuthTokenProvider:t,headers:d}),data:{financingcost:i}})}function c({jwtToken:s,id:o,token:i,headers:d,query:p={}}){return e({url:`/financing-costs/${o}`,method:"delete",params:p,headers:at({token:i,jwtToken:s,internalAuthTokenProvider:t,headers:d})})}function r({jwtToken:s,token:o,id:i,financingCost:d,headers:p}){return e({url:`/financing-costs/${i}`,method:"put",headers:at({token:o,jwtToken:s,internalAuthTokenProvider:t,headers:p}),data:{financingcost:d}})}return{all:n,get:u,create:a,update:r,remove:c}}co.exports=Wg});var fo=m((lO,po)=>{var{authorizationHeaders:ot}=y();function Jg({client:e,internalAuthTokenProvider:t}){function n({token:s,jwtToken:o,query:i={},headers:d}){return e.get("/garages",{params:i,headers:ot({token:s,jwtToken:o,internalAuthTokenProvider:t,headers:d})})}function u({token:s,jwtToken:o,garageId:i,headers:d}){return e.get(`/garages/${i}`,{headers:ot({token:s,jwtToken:o,internalAuthTokenProvider:t,headers:d})})}function a({token:s,jwtToken:o,data:i,headers:d}){return e({url:"/garages",method:"post",headers:ot({token:s,jwtToken:o,internalAuthTokenProvider:t,headers:d}),data:i})}function c({token:s,jwtToken:o,garageId:i,data:d,headers:p}){return e({url:`/garages/${i}`,method:"put",headers:ot({token:s,jwtToken:o,internalAuthTokenProvider:t,headers:p}),data:d})}function r({token:s,jwtToken:o,garageId:i,headers:d}){return e({url:`/garages/${i}`,method:"delete",headers:ot({token:s,jwtToken:o,internalAuthTokenProvider:t,headers:d})})}return{all:n,get:u,create:a,update:c,remove:r}}po.exports=Jg});var lo=m((hO,mo)=>{var{authorizationHeaders:nt}=y();function Xg({client:e,internalAuthTokenProvider:t}){function n({token:s,jwtToken:o,query:i={},headers:d}){return e.get("/getnet-terminals",{params:i,headers:nt({token:s,jwtToken:o,internalAuthTokenProvider:t,headers:d})})}function u({getnetTerminalId:s,token:o,jwtToken:i,headers:d}){return e.get(`/getnet-terminals/${s}`,{headers:nt({token:o,jwtToken:i,internalAuthTokenProvider:t,headers:d})})}function a({jwtToken:s,token:o,getnetTerminal:i,headers:d}){return e({url:"/getnet-terminals",method:"post",headers:nt({token:o,jwtToken:s,internalAuthTokenProvider:t,headers:d}),data:{getnetTerminal:i}})}function c({jwtToken:s,getnetTerminalId:o,token:i,headers:d}){return e({url:`/getnet-terminals/${o}`,method:"delete",headers:nt({token:i,jwtToken:s,internalAuthTokenProvider:t,headers:d})})}function r({jwtToken:s,token:o,getnetTerminalId:i,getnetTerminal:d,headers:p}){let f=i||d._id;return e({url:`/getnet-terminals/${f}`,method:"put",headers:nt({token:o,jwtToken:s,internalAuthTokenProvider:t,headers:p}),data:{getnetTerminal:{name:d.name,serialNumber:d.serialNumber,stationId:d.stationId}}})}return{all:n,get:u,create:a,remove:c,update:r}}mo.exports=Xg});var go=m((gO,ho)=>{var{authorizationHeaders:ut}=y();function Gg({client:e,internalAuthTokenProvider:t}){function n({token:s,query:o={},headers:i}){return e.get("/gift-certificate-definitions",{params:o,headers:ut({token:s,internalAuthTokenProvider:t,headers:i})})}function u({token:s,jwtToken:o,giftcertificateId:i,query:d={},headers:p}){return e({url:`/gift-certificate-definitions/${i}`,method:"get",headers:ut({token:s,jwtToken:o,internalAuthTokenProvider:t,headers:p}),params:d})}function a({token:s,jwtToken:o,giftcertificate:i,query:d={},headers:p}){return e({url:"/gift-certificate-definitions",method:"post",headers:ut({token:s,jwtToken:o,internalAuthTokenProvider:t,headers:p}),params:d,data:{giftcertificate:i}})}function c({token:s,jwtToken:o,giftcertificateId:i,giftcertificate:d,query:p={},headers:f}){return e({url:`/gift-certificate-definitions/${i}`,method:"put",headers:ut({token:s,jwtToken:o,internalAuthTokenProvider:t,headers:f}),params:p,data:{giftcertificate:d}})}function r({token:s,jwtToken:o,giftcertificateId:i,query:d={},headers:p}){return e({url:`/gift-certificate-definitions/${i}`,method:"delete",headers:ut({token:s,jwtToken:o,internalAuthTokenProvider:t,headers:p}),params:d})}return{all:n,get:u,create:a,update:c,remove:r}}ho.exports=Gg});var bo=m((yO,yo)=>{function Zg({client:e}){function t(){return e({url:"/healthcheck",method:"get"})}return{get:t}}yo.exports=Zg});var xo=m((bO,$o)=>{var{authorizationHeaders:ct}=y();function Qg({client:e,internalAuthTokenProvider:t}){function n({token:s,jwtToken:o,query:i={},headers:d}){return e.get("/holidays",{params:i,headers:ct({token:s,jwtToken:o,internalAuthTokenProvider:t,headers:d})})}function u({token:s,jwtToken:o,holidayId:i,query:d={},headers:p}){return e({url:`/holidays/${i}`,method:"get",headers:ct({token:s,jwtToken:o,internalAuthTokenProvider:t,headers:p}),params:d})}function a({token:s,jwtToken:o,holiday:i,headers:d}){return e({url:"/holidays",method:"post",headers:ct({token:s,jwtToken:o,internalAuthTokenProvider:t,headers:d}),data:{holiday:i}})}function c({token:s,jwtToken:o,holidayId:i,holiday:d,headers:p}){return e({url:`/holidays/${i}`,method:"put",headers:ct({token:s,jwtToken:o,internalAuthTokenProvider:t,headers:p}),data:{holiday:d}})}function r({token:s,jwtToken:o,holidayId:i,headers:d}){return e({url:`/holidays/${i}`,method:"delete",headers:ct({token:s,jwtToken:o,internalAuthTokenProvider:t,headers:d})})}return{all:n,get:u,create:a,update:c,remove:r}}$o.exports=Qg});var wo=m(($O,qo)=>{var{authorizationHeaders:it}=y();function Yg({client:e,internalAuthTokenProvider:t}){function n({token:s,query:o={},headers:i}){return e.get("/insurances",{params:o,headers:it({token:s,internalAuthTokenProvider:t,headers:i})})}function u({token:s,insuranceId:o,headers:i}){return e.get(`/insurances/${o}`,{headers:it({token:s,internalAuthTokenProvider:t,headers:i})})}function a({token:s,insurance:o,jwtToken:i,headers:d}){return e({url:"/insurances",method:"post",headers:it({token:s,jwtToken:i,internalAuthTokenProvider:t,headers:d}),data:{insurance:o}})}function c({token:s,insurance:o,jwtToken:i,insuranceId:d,headers:p}){return e({url:`/insurances/${d}`,method:"put",headers:it({token:s,jwtToken:i,internalAuthTokenProvider:t,headers:p}),data:{insurance:o}})}function r({token:s,jwtToken:o,insuranceId:i,headers:d}){return e({url:`/insurances/${i}`,method:"delete",headers:it({token:s,jwtToken:o,internalAuthTokenProvider:t,headers:d})})}return{all:n,create:a,get:u,update:c,remove:r}}qo.exports=Yg});var Fo=m((xO,Oo)=>{var{authorizationHeaders:vg}=y();function Pg({client:e,internalAuthTokenProvider:t}){function n({token:u,productId:a,declaredValue:c,query:r={},headers:s}){return e.get(`/insurances/${a}/cost`,{params:Object.assign(r,{declaredValue:c}),headers:vg({token:u,internalAuthTokenProvider:t,headers:s})})}return{get:n}}Oo.exports=Pg});var Eo=m((qO,So)=>{var{authorizationHeaders:dt}=y();function Tg({client:e,internalAuthTokenProvider:t}){function n({token:s,query:o={},jwtToken:i,headers:d}){return e({url:"/items",params:o,headers:dt({token:s,jwtToken:i,internalAuthTokenProvider:t,headers:d})})}function u({itemId:s,token:o,jwtToken:i,query:d={},headers:p}){return e.get(`/items/${s}`,{params:d,headers:dt({token:o,jwtToken:i,internalAuthTokenProvider:t,headers:p})})}function a({jwtToken:s,item:o,token:i,headers:d}){return e({url:"/items",method:"post",headers:dt({token:i,jwtToken:s,internalAuthTokenProvider:t,headers:d}),data:{item:o}})}function c({jwtToken:s,token:o,itemId:i,item:d,headers:p}){return e({url:`/items/${i}`,method:"put",headers:dt({token:o,jwtToken:s,internalAuthTokenProvider:t,headers:p}),data:{item:d}})}return{all:n,get:u,create:a,update:c,tickets:{update({jwtToken:s,token:o,soldItemId:i,ticketId:d,headers:p,query:f}){return e({url:`/items/${i}/tickets/${d}`,method:"put",headers:dt({token:o,jwtToken:s,internalAuthTokenProvider:t,headers:p}),params:f})}}}}So.exports=Tg});var Ro=m((wO,_o)=>{var{authorizationHeaders:pt}=y();function kg({client:e,internalAuthTokenProvider:t}){function n({token:s,jwtToken:o,query:i={},headers:d}){return e({url:"/journey-prices",params:i,headers:pt({token:s,jwtToken:o,internalAuthTokenProvider:t,headers:d})})}function u({id:s,token:o,jwtToken:i,query:d={},headers:p}){return e({url:`/journey-prices/${s}`,params:d,headers:pt({token:o,jwtToken:i,internalAuthTokenProvider:t,headers:p})})}function a({token:s,jwtToken:o,id:i,headers:d}){return e({url:`/journey-prices/${i}`,method:"delete",headers:pt({token:s,jwtToken:o,internalAuthTokenProvider:t,headers:d})})}function c({token:s,jwtToken:o,journeyPrice:i,headers:d}){return e({url:"/journey-prices",method:"post",headers:pt({token:s,jwtToken:o,internalAuthTokenProvider:t,headers:d}),data:{journeyPrice:i}})}function r({token:s,jwtToken:o,journeyPriceId:i,journeyPrice:d,headers:p}){return e({url:`/journey-prices/${i}`,method:"patch",headers:pt({token:s,jwtToken:o,internalAuthTokenProvider:t,headers:p}),data:{update:d}})}return{all:n,deleteById:a,get:u,create:c,update:r}}_o.exports=kg});var Ho=m((OO,zo)=>{var{authorizationHeaders:ft}=y();function Ag({client:e,internalAuthTokenProvider:t}){function n({token:s,jwtToken:o,query:i={},headers:d}){return e.get("/labels",{params:i,headers:ft({token:s,jwtToken:o,internalAuthTokenProvider:t,headers:d})})}function u({labelId:s,token:o,jwtToken:i,query:d={},headers:p}){return e.get(`/labels/${s}`,{params:d,headers:ft({token:o,jwtToken:i,internalAuthTokenProvider:t,headers:p})})}function a({jwtToken:s,label:o,token:i,headers:d}){return e({url:"/labels",method:"post",headers:ft({token:i,jwtToken:s,internalAuthTokenProvider:t,headers:d}),data:{label:o}})}function c({jwtToken:s,token:o,labelId:i,label:d,headers:p}){return e({url:`/labels/${i}`,method:"put",headers:ft({token:o,jwtToken:s,internalAuthTokenProvider:t,headers:p}),data:{label:d}})}function r({jwtToken:s,token:o,labelId:i,headers:d}){return e({url:`/labels/${i}`,method:"delete",headers:ft({token:o,jwtToken:s,internalAuthTokenProvider:t,headers:d})})}return{all:n,get:u,create:a,update:c,remove:r}}zo.exports=Ag});var jo=m((FO,Co)=>{var{authorizationHeaders:mt}=y();function ey({client:e,internalAuthTokenProvider:t}){function n({token:s,jwtToken:o,query:i={},headers:d}){return e({url:"/marital-status",method:"get",headers:mt({token:s,jwtToken:o,internalAuthTokenProvider:t,headers:d}),params:i})}function u({token:s,jwtToken:o,id:i,query:d={},headers:p}){return e({url:`/marital-status/${i}`,method:"get",headers:mt({token:s,jwtToken:o,internalAuthTokenProvider:t,headers:p}),params:d})}function a({token:s,jwtToken:o,id:i,data:d,query:p={},headers:f}){return e({url:`/marital-status/${i}`,method:"put",headers:mt({token:s,jwtToken:o,internalAuthTokenProvider:t,headers:f}),params:p,data:d})}function c({token:s,jwtToken:o,id:i,query:d={},headers:p}){return e({url:`/marital-status/${i}`,method:"delete",headers:mt({token:s,jwtToken:o,internalAuthTokenProvider:t,headers:p}),params:d})}function r({token:s,jwtToken:o,data:i,query:d={},headers:p}){return e({url:"/marital-status",method:"post",headers:mt({token:s,jwtToken:o,internalAuthTokenProvider:t,headers:p}),params:d,data:i})}return{all:n,get:u,update:a,remove:c,create:r}}Co.exports=ey});var No=m((SO,Do)=>{var{authorizationHeaders:lt}=y();function ty({client:e,internalAuthTokenProvider:t}){function n({token:s,query:o={},headers:i}){return e.get("/marketplace-modifiers",{params:o,headers:lt({token:s,internalAuthTokenProvider:t,headers:i})})}function u({marketplaceModifierId:s,token:o,headers:i}){return e.get(`/marketplace-modifiers/${s}`,{headers:lt({token:o,internalAuthTokenProvider:t,headers:i})})}function a({jwtToken:s,token:o,marketplaceModifier:i,headers:d}){return e({url:"/marketplace-modifiers",method:"post",headers:lt({token:o,jwtToken:s,internalAuthTokenProvider:t,headers:d}),data:{marketplaceModifier:i}})}function c({jwtToken:s,marketplaceModifierId:o,token:i,headers:d}){return e({url:`/marketplace-modifiers/${o}`,method:"delete",headers:lt({token:i,jwtToken:s,internalAuthTokenProvider:t,headers:d})})}function r({jwtToken:s,token:o,marketplaceModifierId:i,marketplaceModifier:d,headers:p}){return e({url:`/marketplace-modifiers/${i}`,method:"put",headers:lt({token:o,jwtToken:s,internalAuthTokenProvider:t,headers:p}),data:{marketplaceModifier:d}})}return{all:n,get:u,create:a,update:r,remove:c}}Do.exports=ty});var Bo=m((EO,Uo)=>{var{authorizationHeaders:ht}=y();function ry({client:e,internalAuthTokenProvider:t}){function n({token:s,query:o={},headers:i}){return e.get("/mit-terminals",{params:o,headers:ht({token:s,internalAuthTokenProvider:t,headers:i})})}function u({mitTerminalId:s,token:o,headers:i}){return e.get(`/mit-terminals/${s}`,{headers:ht({token:o,internalAuthTokenProvider:t,headers:i})})}function a({jwtToken:s,token:o,mitTerminal:i,headers:d}){return e({url:"/mit-terminals",method:"post",headers:ht({token:o,jwtToken:s,internalAuthTokenProvider:t,headers:d}),data:{mitTerminal:i}})}function c({jwtToken:s,mitTerminalId:o,token:i,headers:d}){return e({url:`/mit-terminals/${o}`,method:"delete",headers:ht({token:i,jwtToken:s,internalAuthTokenProvider:t,headers:d})})}function r({jwtToken:s,token:o,mitTerminalId:i,mitTerminal:d,headers:p}){return e({url:`/mit-terminals/${i}`,method:"put",headers:ht({token:o,jwtToken:s,internalAuthTokenProvider:t,headers:p}),data:{mitTerminal:d}})}return{all:n,get:u,create:a,update:r,remove:c}}Uo.exports=ry});var Mo=m((_O,Lo)=>{var{authorizationHeaders:gt}=y();function sy({client:e,internalAuthTokenProvider:t}){function n({token:s,jwtToken:o,query:i={},headers:d}){return e.get("/mit-terminals-settings",{params:i,headers:gt({token:s,jwtToken:o,internalAuthTokenProvider:t,headers:d})})}function u({id:s,token:o,jwtToken:i,headers:d}){return e.get(`/mit-terminals-settings/${s}`,{headers:gt({token:o,jwtToken:i,internalAuthTokenProvider:t,headers:d})})}function a({jwtToken:s,token:o,mitTerminalSettings:i,headers:d}){return e({url:"/mit-terminals-settings",method:"post",headers:gt({token:o,jwtToken:s,internalAuthTokenProvider:t,headers:d}),data:{mitTerminalSettings:i}})}function c({jwtToken:s,id:o,token:i,headers:d}){return e({url:`/mit-terminals-settings/${o}`,method:"delete",headers:gt({token:i,jwtToken:s,internalAuthTokenProvider:t,headers:d})})}function r({jwtToken:s,token:o,id:i,mitTerminalSettings:d,headers:p}){return e({url:`/mit-terminals-settings/${i}`,method:"put",headers:gt({token:o,jwtToken:s,internalAuthTokenProvider:t,headers:p}),data:{mitTerminalSettings:d}})}return{all:n,get:u,create:a,update:r,remove:c}}Lo.exports=sy});var Vo=m((RO,Io)=>{var{authorizationHeaders:fe}=y();function ay({client:e,internalAuthTokenProvider:t}){function n({token:s,jwtToken:o,query:i={},headers:d}){return e({url:"/operating-companies",params:i,headers:fe({token:s,jwtToken:o,internalAuthTokenProvider:t,headers:d})})}function u({token:s,jwtToken:o,operatingCompany:i,headers:d}){return e({url:"/operating-companies",method:"post",headers:fe({token:s,jwtToken:o,internalAuthTokenProvider:t,headers:d}),data:{operatingCompany:i}})}function a({jwtToken:s,token:o,operatingCompanyId:i,operatingCompany:d,headers:p}){return e({url:`/operating-companies/${i}`,method:"put",headers:fe({token:o,jwtToken:s,internalAuthTokenProvider:t,headers:p}),data:{operatingCompany:d}})}function c({token:s,operatingCompanyId:o,jwtToken:i,headers:d}){return e({url:`/operating-companies/${o}`,method:"get",headers:fe({token:s,internalAuthTokenProvider:t,jwtToken:i,headers:d})})}return{all:n,create:u,update:a,get:c,sequences:{create({jwtToken:s,token:o,operatingCompanyId:i,sequence:d,headers:p}){return e({url:`/operating-companies/${i}/sequences`,method:"post",headers:fe({token:o,jwtToken:s,internalAuthTokenProvider:t,headers:p}),data:d})},all({jwtToken:s,token:o,operatingCompanyId:i,headers:d}){return e({url:`/operating-companies/${i}/sequences`,method:"get",headers:fe({token:o,jwtToken:s,internalAuthTokenProvider:t,headers:d})})},get({jwtToken:s,token:o,operatingCompanyId:i,sequenceId:d,headers:p}){return e({url:`/operating-companies/${i}/sequences/${d}`,method:"get",headers:fe({token:o,jwtToken:s,internalAuthTokenProvider:t,headers:p})})},update({jwtToken:s,token:o,operatingCompanyId:i,sequenceId:d,sequence:p,headers:f}){return e({url:`/operating-companies/${i}/sequences/${d}`,method:"put",headers:fe({token:o,jwtToken:s,internalAuthTokenProvider:t,headers:f}),data:p})}}}}Io.exports=ay});var Wo=m((zO,Ko)=>{var{authorizationHeaders:Me}=y();function oy({client:e,internalAuthTokenProvider:t}){function n({token:o,query:i={},headers:d}){return e({url:"/operation-messages",method:"get",params:i,headers:Me({token:o,internalAuthTokenProvider:t,headers:d})})}function u({token:o,jwtToken:i,opMsgData:d,headers:p}){return e({url:"/operation-messages",method:"post",headers:Me({token:o,jwtToken:i,internalAuthTokenProvider:t,headers:p}),data:d})}function a({token:o,jwtToken:i,operationMessageId:d,opMsgData:p,headers:f}){return e({url:`/operation-messages/${d}`,method:"put",headers:Me({token:o,jwtToken:i,internalAuthTokenProvider:t,headers:f}),data:p})}function c({token:o,operationMessageId:i,headers:d}){return e({url:`/operation-messages/${i}`,method:"get",headers:Me({token:o,internalAuthTokenProvider:t,headers:d})})}function r({jwtToken:o,operationMessageId:i,token:d,headers:p}){return e({url:`/operation-messages/${i}`,method:"delete",headers:Me({token:d,jwtToken:o,internalAuthTokenProvider:t,headers:p})})}function s({token:o,jwtToken:i,opMsgData:d,headers:p}){return e({url:"/operation-messages-stations",method:"post",headers:Me({token:o,jwtToken:i,internalAuthTokenProvider:t,headers:p}),data:d})}return{get:c,all:n,create:u,update:a,remove:r,getByStation:s}}Ko.exports=oy});var Xo=m((HO,Jo)=>{var{authorizationHeaders:yt}=y();function ny({client:e,internalAuthTokenProvider:t}){function n({token:s,jwtToken:o,query:i={},headers:d}){return e({url:"/operation-reasons",method:"get",headers:yt({token:s,jwtToken:o,internalAuthTokenProvider:t,headers:d}),params:i})}function u({token:s,jwtToken:o,id:i,query:d={},headers:p}){return e({url:`/operation-reasons/${i}`,method:"get",headers:yt({token:s,jwtToken:o,internalAuthTokenProvider:t,headers:p}),params:d})}function a({token:s,jwtToken:o,id:i,operationReason:d,query:p={},headers:f}){return e({url:`/operation-reasons/${i}`,method:"put",headers:yt({token:s,jwtToken:o,internalAuthTokenProvider:t,headers:f}),params:p,data:{operationReason:d}})}function c({token:s,jwtToken:o,id:i,query:d={},headers:p}){return e({url:`/operation-reasons/${i}`,method:"delete",headers:yt({token:s,jwtToken:o,internalAuthTokenProvider:t,headers:p}),params:d})}function r({token:s,jwtToken:o,operationReason:i,query:d={},headers:p}){return e({url:"/operation-reasons",method:"post",headers:yt({token:s,jwtToken:o,internalAuthTokenProvider:t,headers:p}),params:d,data:{operationReason:i}})}return{all:n,get:u,update:a,remove:c,create:r}}Jo.exports=ny});var Zo=m((CO,Go)=>{var{authorizationHeaders:ar}=y();function uy({client:e,internalAuthTokenProvider:t}){function n({token:r,query:s={},headers:o}){return e("/parcel-zones",{params:s,headers:ar({token:r,internalAuthTokenProvider:t,headers:o})})}function u({token:r,parcelZone:s,jwtToken:o,headers:i}){return e({url:"/parcel-zones",method:"post",headers:ar({token:r,jwtToken:o,internalAuthTokenProvider:t,headers:i}),data:{parcelZone:s}})}function a({jwtToken:r,token:s,parcelZoneId:o,parcelZone:i,headers:d}){return e({url:`/parcel-zone/${o}`,method:"put",headers:ar({token:s,jwtToken:r,internalAuthTokenProvider:t,headers:d}),data:{parcelZone:i}})}function c({token:r,query:s={},headers:o}){return e.get("/parcel-zones/bucket",{params:s,headers:ar({token:r,internalAuthTokenProvider:t,headers:o})})}return{all:n,create:u,update:a,bucket:c}}Go.exports=uy});var Yo=m((jO,Qo)=>{var{authorizationHeaders:bt}=y();function cy({client:e,internalAuthTokenProvider:t}){function n({token:s,query:o={},headers:i}){return e.get("/payment-terminals",{params:o,headers:bt({token:s,internalAuthTokenProvider:t,headers:i})})}function u({paymentTerminalId:s,token:o,headers:i}){return e.get(`/payment-terminals/${s}`,{headers:bt({token:o,internalAuthTokenProvider:t,headers:i})})}function a({jwtToken:s,token:o,paymentTerminal:i,headers:d}){return e({url:"/payment-terminals",method:"post",headers:bt({token:o,jwtToken:s,internalAuthTokenProvider:t,headers:d}),data:{paymentTerminal:i}})}function c({jwtToken:s,paymentTerminalId:o,token:i,headers:d}){return e({url:`/payment-terminals/${o}`,method:"delete",headers:bt({token:i,jwtToken:s,internalAuthTokenProvider:t,headers:d})})}function r({jwtToken:s,token:o,paymentTerminalId:i,paymentTerminal:d,headers:p}){return e({url:`/payment-terminals/${i}`,method:"put",headers:bt({token:o,jwtToken:s,internalAuthTokenProvider:t,headers:p}),data:{paymentTerminal:d}})}return{all:n,get:u,create:a,update:r,remove:c}}Qo.exports=cy});var Po=m((DO,vo)=>{var{authorizationHeaders:iy}=y();function dy({client:e,internalAuthTokenProvider:t}){function n({token:u,jwtToken:a,query:c={},responseType:r="json",headers:s}){return e.get("/pay-on-accounts",{params:c,responseType:r,headers:iy({token:u,jwtToken:a,internalAuthTokenProvider:t,headers:s})})}return{all:n}}vo.exports=dy});var ko=m((NO,To)=>{var{authorizationHeaders:$t}=y();function py({client:e,internalAuthTokenProvider:t}){function n({token:s,jwtToken:o,query:i={},headers:d}){return e.get("/prisma-terminals",{params:i,headers:$t({token:s,jwtToken:o,internalAuthTokenProvider:t,headers:d})})}function u({prismaTerminalId:s,token:o,jwtToken:i,headers:d}){return e.get(`/prisma-terminals/${s}`,{headers:$t({token:o,jwtToken:i,internalAuthTokenProvider:t,headers:d})})}function a({jwtToken:s,token:o,prismaTerminal:i,headers:d}){return e({url:"/prisma-terminals",method:"post",headers:$t({token:o,jwtToken:s,internalAuthTokenProvider:t,headers:d}),data:{prismaTerminal:i}})}function c({jwtToken:s,prismaTerminalId:o,token:i,headers:d}){return e({url:`/prisma-terminals/${o}`,method:"delete",headers:$t({token:i,jwtToken:s,internalAuthTokenProvider:t,headers:d})})}function r({jwtToken:s,token:o,prismaTerminalId:i,prismaTerminal:d,headers:p}){return e({url:`/prisma-terminals/${i}`,method:"put",headers:$t({token:o,jwtToken:s,internalAuthTokenProvider:t,headers:p}),data:{prismaTerminal:d}})}return{all:n,get:u,create:a,update:r,remove:c}}To.exports=py});var en=m((UO,Ao)=>{var{authorizationHeaders:Ie}=y();function fy({client:e,internalAuthTokenProvider:t}){function n({token:o,query:i={},headers:d}){return e({url:"/products",params:i,headers:Ie({token:o,internalAuthTokenProvider:t,headers:d})})}function u({productId:o,token:i,jwtToken:d,query:p={},headers:f}){return e({url:`/products/${o}`,params:p,headers:Ie({token:i,internalAuthTokenProvider:t,jwtToken:d,headers:f})})}function a({data:o,token:i,jwtToken:d,headers:p}){return e({url:"/products",method:"post",headers:Ie({token:i,jwtToken:d,internalAuthTokenProvider:t,headers:p}),data:o})}function c({productId:o,data:i,token:d,jwtToken:p,headers:f}){return e({url:`/products/${o}`,method:"put",headers:Ie({token:d,jwtToken:p,internalAuthTokenProvider:t,headers:f}),data:i})}return{all:n,get:u,create:a,update:c,families:{all:({token:o,query:i={},headers:d})=>e({url:"/products/families",params:i,headers:Ie({token:o,internalAuthTokenProvider:t,headers:d})})},domains:{remove:({token:o,jwtToken:i,domain:d,headers:p})=>e({url:`/products/domains/${d}`,method:"delete",headers:Ie({token:o,jwtToken:i,internalAuthTokenProvider:t,headers:p})})}}}Ao.exports=fy});var rn=m((BO,tn)=>{var{authorizationHeaders:me}=y();function my({client:e,internalAuthTokenProvider:t}){function n({token:d,jwtToken:p,query:f={},headers:l}){return e.get("/promos",{params:f,headers:me({token:d,jwtToken:p,internalAuthTokenProvider:t,headers:l})})}function u({promoId:d,token:p,jwtToken:f,query:l={},headers:q}){return e.get(`/promos/${d}`,{params:l,headers:me({token:p,jwtToken:f,internalAuthTokenProvider:t,headers:q})})}function a({jwtToken:d,promo:p,token:f,headers:l}){return e({url:"/promos",method:"post",headers:me({token:f,jwtToken:d,internalAuthTokenProvider:t,headers:l}),data:{promo:p}})}function c({jwtToken:d,promoId:p,token:f,headers:l}){return e({url:`/promos/${p}`,method:"delete",headers:me({token:f,jwtToken:d,internalAuthTokenProvider:t,headers:l})})}function r({jwtToken:d,token:p,promoId:f,update:l,headers:q}){return e({url:`/promos/${f}`,method:"patch",headers:me({token:p,jwtToken:d,internalAuthTokenProvider:t,headers:q}),data:{update:l}})}function s({jwtToken:d,token:p,promoId:f,operations:l,headers:q}){return e({url:`/promo/${f}`,method:"patch",headers:me({token:p,jwtToken:d,internalAuthTokenProvider:t,headers:q}),data:{operations:l}})}function o({jwtToken:d,token:p,promoId:f,rule:l,headers:q}){return e({url:`/promos/${f}/rules`,method:"post",headers:me({token:p,jwtToken:d,internalAuthTokenProvider:t,headers:q}),data:{rule:l}})}function i({jwtToken:d,token:p,promoId:f,ruleId:l,rule:q,headers:g}){return e({url:`/promos/${f}/rules/${l}`,method:"put",headers:me({token:p,jwtToken:d,internalAuthTokenProvider:t,headers:g}),data:{rule:q}})}return{all:n,get:u,create:a,update:r,patch:s,remove:c,addRule:o,updateRule:i}}tn.exports=my});var an=m((LO,sn)=>{var{authorizationHeaders:L}=y();function ly({client:e,internalAuthTokenProvider:t}){function n({routeId:g,token:b,query:h={},headers:x}){return e({url:`/routes/${g}`,params:h,headers:L({token:b,internalAuthTokenProvider:t,headers:x})})}function u({token:g,productId:b,originId:h,destinationId:x,channel:w,query:H,headers:M}){let B=Object.assign({},H,{productId:b,originId:h,destinationId:x,channel:w});return e({url:"/routes/prices",params:B,headers:L({token:g,internalAuthTokenProvider:t,headers:M})})}function a({token:g,query:b={},headers:h}){return e.get("/routes",{params:b,headers:L({token:g,internalAuthTokenProvider:t,headers:h})})}function c({token:g,routeId:b,headers:h}){return e({url:`/routes/${b}/stations`,headers:L({token:g,internalAuthTokenProvider:t,headers:h})})}function r({token:g,jwtToken:b,data:h,headers:x}){return e({url:"/routes",method:"post",headers:L({token:g,jwtToken:b,internalAuthTokenProvider:t,headers:x}),data:h})}function s({token:g,jwtToken:b,data:h,routeId:x,headers:w}){return e({url:`/routes/${x}`,method:"put",headers:L({token:g,jwtToken:b,internalAuthTokenProvider:t,headers:w}),data:h})}function o({token:g,jwtToken:b,routeId:h,headers:x}){return e({url:`/routes/${h}`,method:"delete",headers:L({token:g,jwtToken:b,internalAuthTokenProvider:t,headers:x})})}return{get:n,prices:u,all:a,stations:c,create:r,update:s,remove:o,fareTables:{all({token:g,query:b={},headers:h}){return e({url:"/routes/fare-tables",params:b,headers:L({token:g,internalAuthTokenProvider:t,headers:h})})},create({token:g,jwtToken:b,routeId:h,fareTable:x,headers:w}){return e({url:`/routes/${h}/fare-tables`,method:"post",headers:L({token:g,jwtToken:b,internalAuthTokenProvider:t,headers:w}),data:{fareTable:x}})},update({token:g,jwtToken:b,routeId:h,fareTableId:x,fareTable:w,headers:H}){return e({url:`/routes/${h}/fare-tables/${x}`,method:"put",headers:L({token:g,jwtToken:b,internalAuthTokenProvider:t,headers:H}),data:{fareTable:w}})}},stops:{create({token:g,jwtToken:b,routeId:h,stop:x,headers:w}){return e({url:`/routes/${h}/stops`,method:"post",headers:L({token:g,jwtToken:b,internalAuthTokenProvider:t,headers:w}),data:x})}},fareRules:{get({token:g,jwtToken:b,routeId:h,headers:x}){return e({url:`/routes/${h}/fare-rules`,headers:L({token:g,jwtToken:b,internalAuthTokenProvider:t,headers:x})})},create({token:g,jwtToken:b,routeId:h,fareRule:x,headers:w}){return e({url:`/routes/${h}/fare-rules`,method:"post",headers:L({token:g,jwtToken:b,internalAuthTokenProvider:t,headers:w}),data:{fareRule:x}})},update({token:g,jwtToken:b,routeId:h,fareRuleId:x,fareRule:w,headers:H}){return e({url:`/routes/${h}/fare-rules/${x}`,method:"put",headers:L({token:g,jwtToken:b,internalAuthTokenProvider:t,headers:H}),data:{fareRule:w}})},remove({token:g,jwtToken:b,routeId:h,fareRuleId:x,headers:w}){return e({url:`/routes/${h}/fare-rules/${x}`,method:"delete",headers:L({token:g,jwtToken:b,internalAuthTokenProvider:t,headers:w})})}},priceBuckets:{get({token:g,jwtToken:b,routeId:h,headers:x}){return e({url:`/routes/${h}/price-buckets`,headers:L({token:g,jwtToken:b,internalAuthTokenProvider:t,headers:x})})},create({token:g,jwtToken:b,routeId:h,bucket:x,headers:w}){return e({url:`/routes/${h}/price-buckets`,method:"post",headers:L({token:g,jwtToken:b,internalAuthTokenProvider:t,headers:w}),data:{bucket:x}})},update({token:g,jwtToken:b,routeId:h,bucketId:x,bucket:w,headers:H}){return e({url:`/routes/${h}/price-buckets/${x}`,method:"put",headers:L({token:g,jwtToken:b,internalAuthTokenProvider:t,headers:H}),data:{bucket:w}})},remove({token:g,jwtToken:b,routeId:h,bucketId:x,headers:w}){return e({url:`/routes/${h}/price-buckets/${x}`,method:"delete",headers:L({token:g,jwtToken:b,internalAuthTokenProvider:t,headers:w})})}},crossBorderDistances:{get({token:g,jwtToken:b,routeId:h,headers:x}){return e({url:`/routes/${h}/cross-border-distances`,headers:L({token:g,jwtToken:b,internalAuthTokenProvider:t,headers:x})})},update({token:g,jwtToken:b,routeId:h,crossBorderDistances:x,headers:w}){return e({url:`/routes/${h}/cross-border-distances`,method:"put",headers:L({token:g,jwtToken:b,internalAuthTokenProvider:t,headers:w}),data:{crossBorderDistances:x}})}},prorationTables:{all({token:g,jwtToken:b,query:h={},headers:x}){return e({url:"/routes/proration-tables",params:h,headers:L({token:g,jwtToken:b,internalAuthTokenProvider:t,headers:x})})},getByRouteId({token:g,jwtToken:b,routeId:h,productId:x,headers:w}){let H=x?{productId:x}:{};return e({url:`/routes/${h}/proration-tables`,params:H,headers:L({token:g,jwtToken:b,internalAuthTokenProvider:t,headers:w})})},updateByRouteId({token:g,jwtToken:b,routeId:h,prorationTable:x,headers:w}){return e({url:`/routes/${h}/proration-tables`,method:"put",headers:L({token:g,jwtToken:b,internalAuthTokenProvider:t,headers:w}),data:{prorationTable:x}})}}}}sn.exports=ly});var nn=m((MO,on)=>{var{authorizationHeaders:or}=y();function hy({client:e,internalAuthTokenProvider:t}){function n({token:r,jwtToken:s,query:o={},headers:i}){return e.get("/schedule-groups",{params:o,headers:or({token:r,jwtToken:s,internalAuthTokenProvider:t,headers:i})})}function u({token:r,jwtToken:s,scheduleGroupId:o,query:i={},headers:d}){return e.get(`/schedule-groups/${o}`,{params:i,headers:or({token:r,jwtToken:s,internalAuthTokenProvider:t,headers:d})})}function a({token:r,jwtToken:s,scheduleGroup:o,headers:i}){return e({url:"/schedule-groups",method:"post",headers:or({token:r,jwtToken:s,internalAuthTokenProvider:t,headers:i}),data:{scheduleGroup:o}})}function c({token:r,jwtToken:s,scheduleGroupId:o,scheduleGroup:i,headers:d}){return e({url:`/schedule-groups/${o}`,method:"put",headers:or({token:r,jwtToken:s,internalAuthTokenProvider:t,headers:d}),data:{scheduleGroup:i}})}return{all:n,get:u,create:a,update:c}}on.exports=hy});var cn=m((IO,un)=>{var{authorizationHeaders:P}=y();function gy({client:e,internalAuthTokenProvider:t}){function n({token:p,query:f={},headers:l}){return e.get("/routes/schedules",{params:f,headers:P({token:p,internalAuthTokenProvider:t,headers:l})})}function u({token:p,routeId:f,scheduleId:l,headers:q,query:g={}}){return e.get(`/routes/${f}/schedules/${l}`,{params:g,headers:P({token:p,internalAuthTokenProvider:t,headers:q})})}function a({token:p,jwtToken:f,data:l,routeId:q,headers:g}){return e({url:`/routes/${q}/schedules`,method:"post",headers:P({token:p,jwtToken:f,internalAuthTokenProvider:t,headers:g}),data:l})}function c({token:p,jwtToken:f,data:l,routeId:q,headers:g}){return e({url:`/routes/${q}/schedules/validations`,method:"post",headers:P({token:p,jwtToken:f,internalAuthTokenProvider:t,headers:g}),data:l})}function r({token:p,jwtToken:f,data:l,routeId:q,scheduleId:g,headers:b}){return e({url:`/routes/${q}/schedules/${g}/validations`,method:"put",headers:P({token:p,jwtToken:f,internalAuthTokenProvider:t,headers:b}),data:l})}function s({token:p,jwtToken:f,data:l,routeId:q,scheduleId:g,headers:b}){return e({url:`/routes/${q}/schedules/${g}`,method:"put",headers:P({token:p,jwtToken:f,internalAuthTokenProvider:t,headers:b}),data:l})}function o({token:p,jwtToken:f,routeId:l,scheduleId:q,headers:g}){return e({url:`/routes/${l}/schedules/${q}`,method:"delete",headers:P({token:p,jwtToken:f,internalAuthTokenProvider:t,headers:g})})}return{all:n,get:u,create:a,update:s,delete:o,validations:c,runUpdateValidations:r,autoBouncing:{create:({token:p,jwtToken:f,data:l,headers:q})=>e({url:"/routes/schedules/auto-bouncing",method:"post",headers:P({token:p,jwtToken:f,internalAuthTokenProvider:t,headers:q}),data:l}),delete:({token:p,jwtToken:f,routeId:l,parentScheduleId:q,headers:g})=>e({url:`/routes/${l}/schedules/${q}/auto-bouncing`,method:"delete",headers:P({token:p,jwtToken:f,internalAuthTokenProvider:t,headers:g})})},exceptions:{create:({token:p,jwtToken:f,data:l,scheduleId:q,headers:g,query:b={}})=>e({url:`/schedules/${q}/schedule-exceptions`,method:"post",headers:P({token:p,jwtToken:f,internalAuthTokenProvider:t,headers:g}),data:l,params:b}),delete:({token:p,jwtToken:f,scheduleId:l,exceptionId:q,headers:g,query:b={}})=>e({url:`/schedules/${l}/schedule-exceptions/${q}`,method:"delete",headers:P({token:p,jwtToken:f,internalAuthTokenProvider:t,headers:g}),params:b}),update:({token:p,jwtToken:f,data:l,scheduleId:q,exceptionId:g,headers:b,query:h={}})=>e({url:`/schedules/${q}/schedule-exceptions/${g}`,method:"put",headers:P({token:p,jwtToken:f,internalAuthTokenProvider:t,headers:b}),data:l,params:h})}}}un.exports=gy});var pn=m((VO,dn)=>{var{authorizationHeaders:xt}=y();function yy({client:e,internalAuthTokenProvider:t}){function n({token:s,jwtToken:o,query:i={},headers:d}){return e({url:"/seat-classes",method:"get",headers:xt({token:s,jwtToken:o,internalAuthTokenProvider:t,headers:d}),params:i})}function u({token:s,jwtToken:o,id:i,query:d={},headers:p}){return e({url:`/seat-classes/${i}`,method:"get",headers:xt({token:s,jwtToken:o,internalAuthTokenProvider:t,headers:p}),params:d})}function a({token:s,jwtToken:o,id:i,data:d,query:p={},headers:f}){return e({url:`/seat-classes/${i}`,method:"put",headers:xt({token:s,jwtToken:o,internalAuthTokenProvider:t,headers:f}),params:p,data:d})}function c({token:s,jwtToken:o,id:i,query:d={},headers:p}){return e({url:`/seat-classes/${i}`,method:"delete",headers:xt({token:s,jwtToken:o,internalAuthTokenProvider:t,headers:p}),params:d})}function r({token:s,jwtToken:o,data:i,query:d={},headers:p}){return e({url:"/seat-classes",method:"post",headers:xt({token:s,jwtToken:o,internalAuthTokenProvider:t,headers:p}),params:d,data:i})}return{all:n,get:u,update:a,remove:c,create:r}}dn.exports=yy});var mn=m((KO,fn)=>{var{authorizationHeaders:nr}=y();function by({client:e,internalAuthTokenProvider:t}){function n({token:r,query:s={},headers:o}){return e.get("/seat-fees",{params:s,headers:nr({token:r,internalAuthTokenProvider:t,headers:o})})}function u({seatfeeId:r,token:s,headers:o}){return e.get(`/seat-fees/${r}`,{headers:nr({token:s,internalAuthTokenProvider:t,headers:o})})}function a({jwtToken:r,token:s,seatfee:o,headers:i}){return e({url:"/seat-fees",method:"post",headers:nr({token:s,jwtToken:r,internalAuthTokenProvider:t,headers:i}),data:{seatfee:o}})}function c({jwtToken:r,token:s,seatfeeId:o,seatfee:i,headers:d}){return e({url:`/seat-fees/${o}`,method:"put",headers:nr({token:s,jwtToken:r,internalAuthTokenProvider:t,headers:d}),data:{seatfee:i}})}return{all:n,get:u,create:a,update:c}}fn.exports=by});var hn=m((WO,ln)=>{var{authorizationHeaders:Se}=y();function $y({client:e,internalAuthTokenProvider:t}){function n({token:i,query:d={},headers:p}){return e.get("/seatmaps",{params:d,headers:Se({token:i,internalAuthTokenProvider:t,headers:p})})}function u({seatmapId:i,routeId:d,scheduleId:p,manifestDate:f,query:l={},token:q,headers:g}){return e.get(`/seatmaps/${i}/available-seats/${d}/${p}/${f}`,{params:l,headers:Se({token:q,internalAuthTokenProvider:t,headers:g})})}function a({seatmapId:i,token:d,jwtToken:p,query:f={},headers:l}){return e.get(`/seatmaps/${i}`,{params:f,headers:Se({token:d,jwtToken:p,internalAuthTokenProvider:t,headers:l})})}function c({token:i,jwtToken:d,seatmap:p,headers:f}){return e({url:"/seatmaps",method:"post",headers:Se({token:i,jwtToken:d,internalAuthTokenProvider:t,headers:f}),data:{seatmap:p}})}function r({token:i,jwtToken:d,seatmapId:p,seatmap:f,headers:l}){return e({url:`/seatmaps/${p}`,method:"put",headers:Se({token:i,jwtToken:d,internalAuthTokenProvider:t,headers:l}),data:{seatmap:f}})}function s({token:i,jwtToken:d,seatmapId:p,headers:f}){return e({url:`/seatmaps/${p}`,method:"delete",headers:Se({token:i,jwtToken:d,internalAuthTokenProvider:t,headers:f})})}function o({token:i,jwtToken:d,seatmapId:p,query:f={},headers:l}){return e.get(`/seatmaps/${p}/occupied-seats`,{params:f,headers:Se({token:i,jwtToken:d,internalAuthTokenProvider:t,headers:l})})}return{all:n,get:u,getById:a,create:c,remove:s,update:r,getOccupiedSeats:o}}ln.exports=$y});var yn=m((JO,gn)=>{var{authorizationHeaders:qt}=y();function xy({client:e,internalAuthTokenProvider:t}){function n({token:s,jwtToken:o,query:i={},headers:d}){return e.get("/segments-information",{params:i,headers:qt({token:s,jwtToken:o,internalAuthTokenProvider:t,headers:d})})}function u({segmentInformationId:s,token:o,headers:i,jwtToken:d}){return e.get(`/segments-information/${s}`,{headers:qt({token:o,jwtToken:d,internalAuthTokenProvider:t,headers:i})})}function a({jwtToken:s,token:o,segmentInformation:i,headers:d}){return e({url:"/segments-information",method:"post",headers:qt({token:o,jwtToken:s,internalAuthTokenProvider:t,headers:d}),data:{segmentInformation:i}})}function c({jwtToken:s,segmentInformationId:o,token:i,headers:d}){return e({url:`/segments-information/${o}`,method:"delete",headers:qt({token:i,jwtToken:s,internalAuthTokenProvider:t,headers:d})})}function r({jwtToken:s,token:o,segmentInformationId:i,segmentInformation:d,headers:p}){return e({url:`/segments-information/${i}`,method:"put",headers:qt({token:o,jwtToken:s,internalAuthTokenProvider:t,headers:p}),data:{segmentInformation:d}})}return{all:n,get:u,create:a,update:r,remove:c}}gn.exports=xy});var $n=m((XO,bn)=>{var{authorizationHeaders:ur}=y();function qy({client:e,internalAuthTokenProvider:t}){function n({token:r,jwtToken:s,query:o={},headers:i}){return e({url:"/service-numbers",params:o,headers:ur({token:r,jwtToken:s,internalAuthTokenProvider:t,headers:i})})}function u({token:r,jwtToken:s,serviceNumber:o,headers:i}){return e({url:"/service-numbers",method:"post",headers:ur({token:r,jwtToken:s,internalAuthTokenProvider:t,headers:i}),data:{serviceNumber:o}})}function a({jwtToken:r,token:s,serviceNumberId:o,serviceNumber:i,headers:d}){return e({url:`/service-numbers/${o}`,method:"put",headers:ur({token:s,jwtToken:r,internalAuthTokenProvider:t,headers:d}),data:{serviceNumber:i}})}function c({token:r,serviceNumberId:s,jwtToken:o,headers:i}){return e({url:`/service-numbers/${s}`,method:"get",headers:ur({token:r,internalAuthTokenProvider:t,jwtToken:o,headers:i})})}return{all:n,create:u,update:a,get:c}}bn.exports=qy});var qn=m((GO,xn)=>{var{authorizationHeaders:wt}=y();function wy({client:e,internalAuthTokenProvider:t}){function n({token:s,query:o={},headers:i}){return e.get("/service-types",{params:o,headers:wt({token:s,internalAuthTokenProvider:t,headers:i})})}function u({serviceTypeId:s,token:o,headers:i}){return e.get(`/service-types/${s}`,{headers:wt({token:o,internalAuthTokenProvider:t,headers:i})})}function a({jwtToken:s,token:o,serviceType:i,headers:d}){return e({url:"/service-types",method:"post",headers:wt({token:o,jwtToken:s,internalAuthTokenProvider:t,headers:d}),data:{serviceType:i}})}function c({jwtToken:s,serviceTypeId:o,token:i,headers:d}){return e({url:`/service-types/${o}`,method:"delete",headers:wt({token:i,jwtToken:s,internalAuthTokenProvider:t,headers:d})})}function r({jwtToken:s,token:o,serviceTypeId:i,serviceType:d,headers:p}){return e({url:`/service-types/${i}`,method:"put",headers:wt({token:o,jwtToken:s,internalAuthTokenProvider:t,headers:p}),data:{serviceType:d}})}return{all:n,get:u,create:a,update:r,remove:c}}xn.exports=wy});var On=m((ZO,wn)=>{var{authorizationHeaders:Oy}=y();function Fy({client:e,internalAuthTokenProvider:t}){function n({token:u,query:a={},headers:c}){return e.get("/ssrs",{params:a,headers:Oy({token:u,internalAuthTokenProvider:t,headers:c})})}return{all:n}}wn.exports=Fy});var Sn=m((QO,Fn)=>{var{authorizationHeaders:Ot}=y();function Sy({client:e,internalAuthTokenProvider:t}){function n({token:s,jwtToken:o,query:i={},headers:d}){return e({url:"/station-classes",method:"get",headers:Ot({token:s,jwtToken:o,internalAuthTokenProvider:t,headers:d}),params:i})}function u({token:s,jwtToken:o,stationClassId:i,query:d={},headers:p}){return e({url:`/station-classes/${i}`,method:"get",headers:Ot({token:s,jwtToken:o,internalAuthTokenProvider:t,headers:p}),params:d})}function a({token:s,jwtToken:o,stationClassId:i,data:d,headers:p}){return e({url:`/station-classes/${i}`,method:"put",headers:Ot({token:s,jwtToken:o,internalAuthTokenProvider:t,headers:p}),data:d})}function c({token:s,jwtToken:o,stationClassId:i,headers:d}){return e({url:`/station-classes/${i}`,method:"delete",headers:Ot({token:s,jwtToken:o,internalAuthTokenProvider:t,headers:d})})}function r({token:s,jwtToken:o,data:i,headers:d}){return e({url:"/station-classes",method:"post",headers:Ot({token:s,jwtToken:o,internalAuthTokenProvider:t,headers:d}),data:i})}return{all:n,get:u,update:a,remove:c,create:r}}Fn.exports=Sy});var _n=m((YO,En)=>{var{authorizationHeaders:Ey}=y();function _y({client:e,internalAuthTokenProvider:t}){function n({token:u,query:a={},headers:c}){return e.get("/station-groups",{params:a,headers:Ey({token:u,internalAuthTokenProvider:t,headers:c})})}return{all:n}}En.exports=_y});var zn=m((vO,Rn)=>{var{authorizationHeaders:cr}=y();function Ry({client:e,internalAuthTokenProvider:t}){function n({token:r,id:s,headers:o}){return e.get(`/stations/${s}`,{headers:cr({token:r,internalAuthTokenProvider:t,headers:o})})}function u({token:r,query:s={},headers:o}){return e.get("/stations",{params:s,headers:cr({token:r,internalAuthTokenProvider:t,headers:o})})}function a({token:r,jwtToken:s,data:o,headers:i}){return e({url:"/stations",method:"post",headers:cr({token:r,jwtToken:s,internalAuthTokenProvider:t,headers:i}),data:{station:o}})}function c({token:r,jwtToken:s,stationId:o,station:i,headers:d}){return e({url:`/station/${o}`,method:"put",headers:cr({token:r,jwtToken:s,internalAuthTokenProvider:t,headers:d}),data:{station:i}})}return{get:n,all:u,create:a,update:c}}Rn.exports=Ry});var Cn=m((PO,Hn)=>{var{authorizationHeaders:zy}=y();function Hy({client:e,internalAuthTokenProvider:t}){function n({token:u,query:a={},headers:c}){return e({url:"/stations/provinces",params:a,headers:zy({token:u,internalAuthTokenProvider:t,headers:c})})}return{all:n}}Hn.exports=Hy});var Dn=m((TO,jn)=>{var{authorizationHeaders:Cy}=y();function jy({client:e,internalAuthTokenProvider:t}){function n({token:u,query:a={},headers:c}){return e.get("/stations/zones",{params:a,headers:Cy({token:u,internalAuthTokenProvider:t,headers:c})})}return{get:n}}jn.exports=jy});var Un=m((kO,Nn)=>{var{authorizationHeaders:ne}=y();function Dy({client:e,internalAuthTokenProvider:t}){function n({token:s,query:o={},headers:i}){return e.get("/taxes",{params:o,headers:ne({token:s,internalAuthTokenProvider:t,headers:i})})}function u({taxId:s,token:o,query:i={},headers:d}){return e.get(`/taxes/${s}`,{params:i,headers:ne({token:o,internalAuthTokenProvider:t,headers:d})})}function a({jwtToken:s,tax:o,token:i,headers:d}){return e({url:"/taxes",method:"post",headers:ne({token:i,jwtToken:s,internalAuthTokenProvider:t,headers:d}),data:{tax:o}})}function c({jwtToken:s,token:o,taxId:i,tax:d,headers:p}){return e({url:`/taxes/${i}`,method:"put",headers:ne({token:o,jwtToken:s,internalAuthTokenProvider:t,headers:p}),data:{tax:d}})}return{all:n,get:u,create:a,update:c,exceptions:{create({jwtToken:s,token:o,taxException:i,headers:d}){return e({url:"/taxes/exceptions",method:"post",headers:ne({token:o,jwtToken:s,internalAuthTokenProvider:t,headers:d}),data:{taxException:i}})},update({jwtToken:s,token:o,taxExceptionId:i,taxException:d,headers:p}){return e({url:`/taxes/exceptions/${i}`,method:"put",headers:ne({token:o,jwtToken:s,internalAuthTokenProvider:t,headers:p}),data:{taxException:d}})},get({jwtToken:s,token:o,taxExceptionId:i,headers:d}){return e({url:`/taxes/exceptions/${i}`,headers:ne({token:o,jwtToken:s,internalAuthTokenProvider:t,headers:d})})},all({jwtToken:s,token:o,query:i={},headers:d}){return e({url:"/taxes/exceptions",params:i,headers:ne({token:o,jwtToken:s,internalAuthTokenProvider:t,headers:d})})},delete({jwtToken:s,token:o,taxExceptionId:i,headers:d}){return e({url:`/taxes/exceptions/${i}`,method:"delete",headers:ne({token:o,jwtToken:s,internalAuthTokenProvider:t,headers:d})})}}}}Nn.exports=Dy});var Ln=m((AO,Bn)=>{var{authorizationHeaders:ir}=y();function Ny({client:e,internalAuthTokenProvider:t}){function n({token:r,jwtToken:s,query:o={},headers:i}){return e({url:"/traveller-card-providers",params:o,headers:ir({token:r,jwtToken:s,internalAuthTokenProvider:t,headers:i})})}function u({token:r,jwtToken:s,travellerCardProvider:o,headers:i}){return e({url:"/traveller-card-providers",method:"post",headers:ir({token:r,jwtToken:s,internalAuthTokenProvider:t,headers:i}),data:{travellerCardProvider:o}})}function a({jwtToken:r,token:s,travellerCardProviderId:o,travellerCardProvider:i,headers:d}){return e({url:`/traveller-card-providers/${o}`,method:"put",headers:ir({token:s,jwtToken:r,internalAuthTokenProvider:t,headers:d}),data:{travellerCardProvider:i}})}function c({token:r,travellerCardProviderId:s,jwtToken:o,headers:i}){return e({url:`/traveller-card-providers/${s}`,method:"get",headers:ir({token:r,internalAuthTokenProvider:t,jwtToken:o,headers:i})})}return{all:n,create:u,update:a,get:c}}Bn.exports=Ny});var In=m((eF,Mn)=>{var{authorizationHeaders:Uy}=y();function By({client:e,internalAuthTokenProvider:t}){function n({token:u,jwtToken:a,headers:c}){return e.get("/traveller-card-providers/types",{headers:Uy({token:u,jwtToken:a,internalAuthTokenProvider:t,headers:c})})}return{all:n}}Mn.exports=By});var Kn=m((tF,Vn)=>{var{authorizationHeaders:Ft}=y();function Ly({client:e,internalAuthTokenProvider:t}){function n({token:s,jwtToken:o,query:i={},headers:d}){return e({url:"/traveller-card-types",params:i,headers:Ft({token:s,jwtToken:o,internalAuthTokenProvider:t,headers:d})})}function u({token:s,jwtToken:o,travellerCardType:i,headers:d}){return e({url:"/traveller-card-types",method:"post",headers:Ft({token:s,jwtToken:o,internalAuthTokenProvider:t,headers:d}),data:{travellerCardType:i}})}function a({jwtToken:s,token:o,travellerCardTypeId:i,travellerCardType:d,headers:p}){return e({url:`/traveller-card-types/${i}`,method:"put",headers:Ft({token:o,jwtToken:s,internalAuthTokenProvider:t,headers:p}),data:{travellerCardType:d}})}function c({token:s,travellerCardTypeId:o,jwtToken:i,headers:d}){return e({url:`/traveller-card-types/${o}`,method:"get",headers:Ft({token:s,internalAuthTokenProvider:t,jwtToken:i,headers:d})})}function r({token:s,travellerCardTypeId:o,jwtToken:i,headers:d}){return e({url:`/traveller-card-types/${o}`,method:"delete",headers:Ft({token:s,internalAuthTokenProvider:t,jwtToken:i,headers:d})})}return{all:n,create:u,update:a,get:c,remove:r}}Vn.exports=Ly});var Jn=m((rF,Wn)=>{var{authorizationHeaders:dr}=y();function My({client:e,internalAuthTokenProvider:t}){function n({token:r,jwtToken:s,query:o={},headers:i}){return e.get("/travel-routes",{params:o,headers:dr({token:r,jwtToken:s,internalAuthTokenProvider:t,headers:i})})}function u({travelRouteId:r,jwtToken:s,token:o,headers:i}){return e.get(`/travel-routes/${r}`,{headers:dr({token:o,jwtToken:s,internalAuthTokenProvider:t,headers:i})})}function a({jwtToken:r,token:s,travelRoute:o,headers:i}){return e({url:"/travel-routes",method:"post",headers:dr({token:s,jwtToken:r,internalAuthTokenProvider:t,headers:i}),data:{travelRoute:o}})}function c({jwtToken:r,token:s,travelRouteId:o,travelRoute:i,headers:d}){return e({url:`/travel-routes/${o}`,method:"put",headers:dr({token:s,jwtToken:r,internalAuthTokenProvider:t,headers:d}),data:{travelRoute:i}})}return{all:n,get:u,create:a,update:c}}Wn.exports=My});var Gn=m((sF,Xn)=>{var{authorizationHeaders:Iy}=y();function Vy({client:e,internalAuthTokenProvider:t}){function n({token:u,jwtToken:a,headers:c}){return e.get("/vehicle-types",{headers:Iy({token:u,jwtToken:a,internalAuthTokenProvider:t,headers:c})})}return{all:n}}Xn.exports=Vy});var Qn=m((aF,Zn)=>{var{authorizationHeaders:Ee}=y();function Ky({client:e,internalAuthTokenProvider:t}){function n({token:o,jwtToken:i,query:d={},headers:p}){return e.get("/vehicles",{params:d,headers:Ee({token:o,jwtToken:i,internalAuthTokenProvider:t,headers:p})})}function u({vehicleId:o,token:i,jwtToken:d,headers:p}){return e.get(`/vehicles/${o}`,{headers:Ee({token:i,jwtToken:d,internalAuthTokenProvider:t,headers:p})})}function a({jwtToken:o,token:i,vehicle:d,headers:p}){return e({url:"/vehicles",method:"post",headers:Ee({token:i,jwtToken:o,internalAuthTokenProvider:t,headers:p}),data:{vehicle:d}})}function c({jwtToken:o,vehicleId:i,token:d,headers:p}){return e({url:`/vehicles/${i}`,method:"delete",headers:Ee({token:d,jwtToken:o,internalAuthTokenProvider:t,headers:p})})}function r({jwtToken:o,token:i,vehicleId:d,vehicle:p,headers:f}){return e({url:`/vehicles/${d}`,method:"put",headers:Ee({token:i,jwtToken:o,internalAuthTokenProvider:t,headers:f}),data:{vehicle:p}})}return{all:n,get:u,create:a,update:r,remove:c,seatmaps:{create({jwtToken:o,token:i,vehicleId:d,seatmap:p,headers:f,newdesign:l}){return e({url:`/vehicles/${d}/seatmaps`,method:"post",headers:Ee({token:i,jwtToken:o,internalAuthTokenProvider:t,headers:f}),data:{seatmap:p,newdesign:l||!1}})},remove({jwtToken:o,vehicleId:i,seatMapId:d,token:p,headers:f,newdesign:l}){return e({url:`/vehicles/${i}/seatmaps/${d}`,method:"delete",headers:Ee({token:p,jwtToken:o,internalAuthTokenProvider:t,headers:f}),data:{newdesign:l||!1}})}}}}Zn.exports=Ky});var vn=m((oF,Yn)=>{var{authorizationHeaders:St}=y();function Wy({client:e,internalAuthTokenProvider:t}){function n({token:s,query:o={},headers:i}){return e.get("/zone-price-overages",{params:o,headers:St({token:s,internalAuthTokenProvider:t,headers:i})})}function u({zonePriceOverageId:s,token:o,headers:i}){return e.get(`/zone-price-overages/${s}`,{headers:St({token:o,internalAuthTokenProvider:t,headers:i})})}function a({jwtToken:s,token:o,zonePriceOverages:i,headers:d}){return e({url:"/zone-price-overages",method:"post",headers:St({token:o,jwtToken:s,internalAuthTokenProvider:t,headers:d}),data:{zonePriceOverages:i}})}function c({jwtToken:s,zonePriceOverageId:o,token:i,headers:d}){return e({url:`/zone-price-overages/${o}`,method:"delete",headers:St({token:i,jwtToken:s,internalAuthTokenProvider:t,headers:d})})}function r({jwtToken:s,token:o,zonePriceOverageId:i,zonePriceOverages:d,headers:p}){return e({url:`/zone-price-overages/${i}`,method:"put",headers:St({token:o,jwtToken:s,internalAuthTokenProvider:t,headers:p}),data:{zonePriceOverages:d}})}return{all:n,get:u,create:a,update:r,remove:c}}Yn.exports=Wy});var Tn=m((nF,Pn)=>{var{authorizationHeaders:Ve}=y();function Jy({client:e,internalAuthTokenProvider:t}){function n({token:o,query:i={},headers:d}){return e.get("/zone-prices",{params:i,headers:Ve({token:o,internalAuthTokenProvider:t,headers:d})})}function u({zonePriceId:o,token:i,headers:d}){return e.get(`/zone-prices/${o}`,{headers:Ve({token:i,internalAuthTokenProvider:t,headers:d})})}function a({jwtToken:o,token:i,zonePrice:d,headers:p}){return e({url:"/zone-prices",method:"post",headers:Ve({token:i,jwtToken:o,internalAuthTokenProvider:t,headers:p}),data:{zonePrice:d}})}function c({jwtToken:o,zonePriceId:i,token:d,headers:p}){return e({url:`/zone-prices/${i}`,method:"delete",headers:Ve({token:d,jwtToken:o,internalAuthTokenProvider:t,headers:p})})}function r({jwtToken:o,token:i,zonePriceId:d,zonePrice:p,headers:f}){return e({url:`/zone-prices/${d}`,method:"put",headers:Ve({token:i,jwtToken:o,internalAuthTokenProvider:t,headers:f}),data:{zonePrice:p}})}function s({jwtToken:o,token:i,payload:d,headers:p}){return e({url:"/zone-prices-for-parcels",method:"post",headers:Ve({token:i,jwtToken:o,internalAuthTokenProvider:t,headers:p}),data:d})}return{all:n,get:u,create:a,update:r,remove:c,forParcels:s}}Pn.exports=Jy});var An=m((uF,kn)=>{var{authorizationHeaders:Et}=y();function Xy({client:e,internalAuthTokenProvider:t}){function n({token:s,jwtToken:o,query:i={},headers:d}){return e({url:"/regions",method:"get",headers:Et({token:s,jwtToken:o,internalAuthTokenProvider:t,headers:d}),params:i})}function u({token:s,jwtToken:o,regionId:i,headers:d}){return e({url:`/regions/${i}`,method:"get",headers:Et({token:s,jwtToken:o,internalAuthTokenProvider:t,headers:d})})}function a({token:s,jwtToken:o,regionId:i,data:d,headers:p}){return e({url:`/regions/${i}`,method:"put",headers:Et({token:s,jwtToken:o,internalAuthTokenProvider:t,headers:p}),data:d})}function c({token:s,jwtToken:o,regionId:i,headers:d}){return e({url:`/regions/${i}`,method:"delete",headers:Et({token:s,jwtToken:o,internalAuthTokenProvider:t,headers:d})})}function r({token:s,jwtToken:o,data:i,headers:d}){return e({url:"/regions",method:"post",headers:Et({token:s,jwtToken:o,internalAuthTokenProvider:t,headers:d}),data:i})}return{all:n,get:u,update:a,remove:c,create:r}}kn.exports=Xy});var tu=m((cF,eu)=>{var{authorizationHeaders:Zr}=y();function Gy({client:e,internalAuthTokenProvider:t}){function n({token:c,jwtToken:r,query:s={},headers:o}){return e({url:"/trips",method:"get",params:s,headers:Zr({token:c,jwtToken:r,internalAuthTokenProvider:t,headers:o})})}function u({token:c,jwtToken:r,id:s,query:o={},headers:i}){return e({url:`/trip/${s}`,method:"get",params:o,headers:Zr({token:c,jwtToken:r,internalAuthTokenProvider:t,headers:i})})}function a({token:c,jwtToken:r,query:s={},headers:o}){return e({url:"/trips/pricing-simulation",method:"get",params:s,headers:Zr({token:c,jwtToken:r,internalAuthTokenProvider:t,headers:o})})}return{all:n,get:u,getPricingSimulation:a}}eu.exports=Gy});var su=m((iF,ru)=>{var{authorizationHeaders:Zy}=y();function Qy({client:e,internalAuthTokenProvider:t}){function n({token:u,jwtToken:a,data:c,headers:r}){return e({url:"/direct-trip-ids",method:"post",data:c,headers:Zy({token:u,jwtToken:a,internalAuthTokenProvider:t,headers:r})})}return{create:n}}ru.exports=Qy});var ou=m((dF,au)=>{var{authorizationHeaders:Yy}=y();function vy({client:e,internalAuthTokenProvider:t}){function n({token:u,jwtToken:a,routeId:c,query:r={},headers:s}){return e({url:`/segments-information-tables/${c}`,method:"get",params:r,headers:Yy({token:u,jwtToken:a,internalAuthTokenProvider:t,headers:s})})}return{get:n}}au.exports=vy});var uu=m((pF,nu)=>{function Py({client:e}){function t(){return e.get("/api-docs-v2",{})}return{get:t}}nu.exports=Py});var iu=m((fF,cu)=>{function Ty({client:e}){function t({headers:n}={}){return e({url:"/healthcheck",method:"get",headers:n||{}})}return{get:t}}cu.exports=Ty});var pu=m((mF,du)=>{function ky({client:e}){function t({headers:n}={}){return e({url:"/info",headers:n||{}})}return{get:t}}du.exports=ky});var mu=m((lF,fu)=>{var{authorizationHeaders:Ay}=y();function eb({client:e,internalAuthTokenProvider:t}){function n({token:u,query:a={},headers:c}){return e({url:"/paths",params:a,headers:Ay({token:u,internalAuthTokenProvider:t,headers:c})})}return{all:n}}fu.exports=eb});var hu=m((hF,lu)=>{var{authorizationHeaders:tb}=y();function rb({client:e,internalAuthTokenProvider:t}){function n({token:u,jwtToken:a,routeId:c,productId:r,headers:s}){return e({url:`/coltrane/routes/${c}/merged-fare-tables/${r}`,headers:tb({token:u,jwtToken:a,internalAuthTokenProvider:t,headers:s})})}return{get:n}}lu.exports=rb});var bu=m((gF,yu)=>{var{authorizationHeaders:gu}=y();function sb({client:e,internalAuthTokenProvider:t}){function n({jwtToken:a,accountId:c,headers:r}){return e({url:`/accounts/${c}`,headers:gu({jwtToken:a,internalAuthTokenProvider:t,headers:r})})}return{get:n,defaultUsers:{create({token:a,jwtToken:c,accountId:r,data:s,headers:o}){return e({url:`/accounts/${r}/default-users`,method:"post",headers:gu({token:a,jwtToken:c,internalAuthTokenProvider:t,headers:o}),data:s})}}}}yu.exports=sb});var xu=m((yF,$u)=>{var{authorizationHeaders:Qr}=y();function ab({client:e,internalAuthTokenProvider:t}){function n({token:c,jwtToken:r,agency:s,headers:o}){return e({url:"/agencies",method:"post",headers:Qr({token:c,jwtToken:r,internalAuthTokenProvider:t,headers:o}),data:{agency:s}})}function u({token:c,jwtToken:r,agencyId:s,agency:o,headers:i}){return e({url:`/agencies/${s}`,method:"put",headers:Qr({token:c,jwtToken:r,internalAuthTokenProvider:t,headers:i}),data:{agency:o}})}function a({token:c,jwtToken:r,agencyId:s,data:o,headers:i}){return e({url:`/agencies/${s}/credit-limit`,method:"put",headers:Qr({token:c,jwtToken:r,internalAuthTokenProvider:t,headers:i}),data:o})}return{create:n,update:u,putCreditLimit:a}}$u.exports=ab});var wu=m((bF,qu)=>{var{authorizationHeaders:_t}=y();function ob({client:e,internalAuthTokenProvider:t}){function n({token:s,jwtToken:o,query:i={},headers:d}){return e.get("/agency-types",{params:i,headers:_t({token:s,jwtToken:o,internalAuthTokenProvider:t,headers:d})})}function u({token:s,jwtToken:o,agencyTypeId:i,headers:d}){return e({url:`/agency-types/${i}`,headers:_t({token:s,jwtToken:o,internalAuthTokenProvider:t,headers:d})})}function a({token:s,jwtToken:o,agencyType:i,headers:d}){return e({url:"/agency-types",method:"post",headers:_t({token:s,jwtToken:o,internalAuthTokenProvider:t,headers:d}),data:{agencyType:i}})}function c({token:s,jwtToken:o,agencyTypeId:i,agencyType:d,headers:p}){return e({url:`/agency-types/${i}`,method:"put",headers:_t({token:s,jwtToken:o,internalAuthTokenProvider:t,headers:p}),data:{agencyType:d}})}function r({token:s,jwtToken:o,agencyTypeId:i,headers:d}){return e({url:`/agency-types/${i}`,method:"delete",headers:_t({token:s,jwtToken:o,internalAuthTokenProvider:t,headers:d})})}return{all:n,get:u,create:a,update:c,remove:r}}qu.exports=ob});var Fu=m(($F,Ou)=>{var{authorizationHeaders:nb}=y();function ub({client:e,internalAuthTokenProvider:t}){function n({token:u,jwtToken:a,headers:c}){return e.get("/application",{headers:nb({token:u,jwtToken:a,internalAuthTokenProvider:t,headers:c})})}return{get:n}}Ou.exports=ub});var _u=m((xF,Eu)=>{var{authorizationHeaders:Su}=y();function cb({client:e,internalAuthTokenProvider:t}){function n({token:a,id:c,jwtToken:r,headers:s}){return e.get(`/applications/${c}`,{headers:Su({token:a,jwtToken:r,internalAuthTokenProvider:t,headers:s})})}function u({token:a,appName:c,jwtToken:r,headers:s}){return e.get(`/applications/name/${c}`,{headers:Su({token:a,jwtToken:r,internalAuthTokenProvider:t,headers:s})})}return{get:n,getByName:u}}Eu.exports=cb});var zu=m((qF,Ru)=>{var{authorizationHeaders:Rt}=y();function ib({client:e,internalAuthTokenProvider:t}){function n({token:s,providerId:o,jwtToken:i,query:d={},headers:p}){return e.get(`/application-settings/${o}`,{headers:Rt({token:s,jwtToken:i,internalAuthTokenProvider:t,headers:p}),params:d})}function u({jwtToken:s,token:o,id:i,application:d,headers:p}){return e({url:`/application-settings/${i}`,method:"put",headers:Rt({token:o,jwtToken:s,internalAuthTokenProvider:t,headers:p}),data:{application:d}})}function a({jwtToken:s,token:o,id:i,headers:d}){return e({url:`/application-settings/${i}`,method:"delete",headers:Rt({token:o,jwtToken:s,internalAuthTokenProvider:t,headers:d})})}function c({jwtToken:s,token:o,id:i,headers:d}){return e({url:`/application-settings/${i}/keys`,method:"post",headers:Rt({token:o,jwtToken:s,internalAuthTokenProvider:t,headers:d})})}function r({jwtToken:s,token:o,application:i,headers:d}){return e({url:"/application-settings",method:"post",headers:Rt({token:o,jwtToken:s,internalAuthTokenProvider:t,headers:d}),data:{application:i}})}return{get:n,update:u,remove:a,regenerateKeys:c,create:r}}Ru.exports=ib});var Hu=m((pr,zt)=>{(function(e){var t=typeof pr=="object"&&pr,n=typeof zt=="object"&&zt&&zt.exports==t&&zt,u=typeof global=="object"&&global;(u.global===u||u.window===u)&&(e=u);var a=function(f){this.message=f};a.prototype=new Error,a.prototype.name="InvalidCharacterError";var c=function(f){throw new a(f)},r="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",s=/[\t\n\f\r ]/g,o=function(f){f=String(f).replace(s,"");var l=f.length;l%4==0&&(f=f.replace(/==?$/,""),l=f.length),(l%4==1||/[^+a-zA-Z0-9/]/.test(f))&&c("Invalid character: the string to be decoded is not correctly encoded.");for(var q=0,g,b,h="",x=-1;++x<l;)b=r.indexOf(f.charAt(x)),g=q%4?g*64+b:b,q++%4&&(h+=String.fromCharCode(255&g>>(-2*q&6)));return h},i=function(f){f=String(f),/[^\0-\xFF]/.test(f)&&c("The string to be encoded contains characters outside of the Latin1 range.");for(var l=f.length%3,q="",g=-1,b,h,x,w,H=f.length-l;++g<H;)b=f.charCodeAt(g)<<16,h=f.charCodeAt(++g)<<8,x=f.charCodeAt(++g),w=b+h+x,q+=r.charAt(w>>18&63)+r.charAt(w>>12&63)+r.charAt(w>>6&63)+r.charAt(w&63);return l==2?(b=f.charCodeAt(g)<<8,h=f.charCodeAt(++g),w=b+h,q+=r.charAt(w>>10)+r.charAt(w>>4&63)+r.charAt(w<<2&63)+"="):l==1&&(w=f.charCodeAt(g),q+=r.charAt(w>>2)+r.charAt(w<<4&63)+"=="),q},d={encode:i,decode:o,version:"1.0.0"};if(typeof define=="function"&&typeof define.amd=="object"&&define.amd)define(function(){return d});else if(t&&!t.nodeType)if(n)n.exports=d;else for(var p in d)d.hasOwnProperty(p)&&(t[p]=d[p]);else e.base64=d})(pr)});var Nu=m((wF,Du)=>{function Cu(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var u=Object.getOwnPropertySymbols(e);t&&(u=u.filter(function(a){return Object.getOwnPropertyDescriptor(e,a).enumerable})),n.push.apply(n,u)}return n}function ju(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?Cu(Object(n),!0).forEach(function(u){db(e,u,n[u])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Cu(Object(n)).forEach(function(u){Object.defineProperty(e,u,Object.getOwnPropertyDescriptor(n,u))})}return e}function db(e,t,n){return(t=pb(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function pb(e){var t=fb(e,"string");return typeof t=="symbol"?t:t+""}function fb(e,t){if(typeof e!="object"||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var u=n.call(e,t||"default");if(typeof u!="object")return u;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}var mb=Hu(),{authorizationHeaders:_e}=y();function lb({client:e,internalAuthTokenProvider:t}){function n({customerId:d,customer:p,token:f,jwtToken:l,headers:q}){return e({url:`/customers/${d}`,method:"put",headers:_e({token:f,jwtToken:l,internalAuthTokenProvider:t,headers:q}),data:p})}function u({token:d,jwtToken:p,query:f={},headers:l,providerId:q}){let g=q?ju(ju({},f),{},{providerId:q}):f;return e({url:"/customers",params:g,headers:_e({token:d,jwtToken:p,internalAuthTokenProvider:t,headers:l})})}function a({customerId:d,token:p,jwtToken:f,headers:l}){return e({url:`/customers/${d}`,headers:_e({token:p,jwtToken:f,internalAuthTokenProvider:t,headers:l})})}function c({customer:d,token:p,jwtToken:f,query:l,headers:q}){return e({url:"/customer",method:"post",headers:_e({token:p,jwtToken:f,internalAuthTokenProvider:t,headers:q}),data:{customer:d},params:l})}function r({email:d,password:p,apiKey:f}){let q={Authorization:`Basic ${mb.encode(`${d}:${p}`)}`},g={};return g["x-api-key"]=f,e({url:"/customers",method:"post",params:g,headers:q,data:{}})}function s({service:d,ticket:p,token:f,headers:l}){return e({url:"/customers/cas",headers:_e({token:f,internalAuthTokenProvider:t,headers:l}),method:"post",data:{service:d,ticket:p}})}function o({customerId:d,token:p,jwtToken:f,data:l,query:q,headers:g}){return e({url:`/customers/${d}`,method:"patch",params:q,headers:_e({token:p,jwtToken:f,internalAuthTokenProvider:t,headers:g}),data:l})}function i({destinationCustomerId:d,sourceCustomerIds:p,jwtToken:f,token:l}){return e({url:"/customers/merge",method:"post",headers:_e({token:l,jwtToken:f,internalAuthTokenProvider:t}),data:{destinationCustomerId:d,sourceCustomerIds:p}})}return{put:n,all:u,get:a,create:c,signIn:r,signInCas:s,update:o,merge:i}}Du.exports=lb});var Lu=m((OF,Bu)=>{var{authorizationHeaders:Uu}=y();function hb({client:e,internalAuthTokenProvider:t}){function n({token:a,jwtToken:c,headers:r}){return e({url:"/control-classes-settings",headers:Uu({token:a,jwtToken:c,internalAuthTokenProvider:t,headers:r})})}function u({token:a,jwtToken:c,controlClassesSettings:r,headers:s}){return e({url:"/control-classes-settings",method:"put",headers:Uu({token:a,jwtToken:c,internalAuthTokenProvider:t,headers:s}),data:r})}return{get:n,put:u}}Bu.exports=hb});var Iu=m((FF,Mu)=>{var{authorizationHeaders:gb}=y();function yb({client:e,internalAuthTokenProvider:t}){function n({token:u,userId:a,query:c={},headers:r}){return e.get(`/users/${a}/current-shift`,{headers:gb({token:u,internalAuthTokenProvider:t,headers:r}),params:c})}return{get:n}}Mu.exports=yb});var Ku=m((SF,Vu)=>{function bb({client:e}){function t(){return e.get("/api-docs-v2",{})}return{get:t}}Vu.exports=bb});var Ju=m((EF,Wu)=>{var{authorizationHeaders:Yr}=y();function $b({client:e,internalAuthTokenProvider:t}){function n({token:c,query:r={},headers:s}){return e({params:r,url:"/domains",headers:Yr({token:c,internalAuthTokenProvider:t,headers:s})})}function u({data:c,token:r,jwtToken:s,headers:o}){return e({url:"/domains",method:"post",headers:Yr({token:r,jwtToken:s,internalAuthTokenProvider:t,headers:o}),data:c})}function a({domain:c,token:r,jwtToken:s,headers:o}){return e({url:`/domains/${c}`,method:"delete",headers:Yr({token:r,jwtToken:s,internalAuthTokenProvider:t,headers:o})})}return{all:n,create:u,remove:a}}Wu.exports=$b});var Zu=m((_F,Gu)=>{function Xu(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var u=Object.getOwnPropertySymbols(e);t&&(u=u.filter(function(a){return Object.getOwnPropertyDescriptor(e,a).enumerable})),n.push.apply(n,u)}return n}function fr(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?Xu(Object(n),!0).forEach(function(u){xb(e,u,n[u])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Xu(Object(n)).forEach(function(u){Object.defineProperty(e,u,Object.getOwnPropertyDescriptor(n,u))})}return e}function xb(e,t,n){return(t=qb(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function qb(e){var t=wb(e,"string");return typeof t=="symbol"?t:t+""}function wb(e,t){if(typeof e!="object"||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var u=n.call(e,t||"default");if(typeof u!="object")return u;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}var{authorizationHeaders:A}=y();function Ob({client:e,internalAuthTokenProvider:t}){function n({token:i,jwtToken:d,dynamicFormId:p,query:f={},headers:l,providerId:q}){let g=q?fr(fr({},f),{},{providerId:q}):f;return e({url:`/dynamic-forms/${p}`,params:g,headers:A({token:i,jwtToken:d,internalAuthTokenProvider:t,headers:l})})}function u({token:i,jwtToken:d,dynamicFormId:p,query:f={},headers:l,providerId:q}){let g=q?fr(fr({},f),{},{providerId:q}):f;return e({url:`/renderable-dynamic-forms/${p}`,params:g,headers:A({token:i,jwtToken:d,internalAuthTokenProvider:t,headers:l})})}function a({token:i,jwtToken:d,query:p={},headers:f}){return e({url:"/dynamic-forms",params:p,headers:A({token:i,jwtToken:d,internalAuthTokenProvider:t,headers:f})})}function c({token:i,jwtToken:d,query:p={},data:f,headers:l}){return e({url:"/dynamic-forms",method:"post",headers:A({token:i,jwtToken:d,internalAuthTokenProvider:t,headers:l}),params:p,data:f})}function r({token:i,jwtToken:d,dynamicFormId:p,data:f,headers:l}){return e({url:`/dynamic-forms/${p}`,method:"put",headers:A({token:i,jwtToken:d,internalAuthTokenProvider:t,headers:l}),data:f})}function s({dynamicFormId:i,token:d,jwtToken:p,headers:f}){return e({url:`/dynamic-forms/${i}`,method:"delete",headers:A({token:d,jwtToken:p,internalAuthTokenProvider:t,headers:f})})}return{get:n,getRenderable:u,all:a,create:c,update:r,remove:s,fields:{get({token:i,jwtToken:d,dynamicFormFieldId:p,headers:f}={}){return e({url:`/dynamic-forms/fields/${p}`,headers:A({token:i,jwtToken:d,internalAuthTokenProvider:t,headers:f})})},all({token:i,jwtToken:d,query:p={},headers:f}){return e({url:"/dynamic-forms/fields",params:p,headers:A({token:i,jwtToken:d,internalAuthTokenProvider:t,headers:f})})},create({jwtToken:i,token:d,data:p,headers:f}){return e({url:"/dynamic-forms/fields",method:"post",headers:A({token:d,jwtToken:i,internalAuthTokenProvider:t,headers:f}),data:p})},update({jwtToken:i,token:d,dynamicFormFieldId:p,data:f,headers:l}){return e({url:`/dynamic-forms/fields/${p}`,method:"put",headers:A({token:d,jwtToken:i,internalAuthTokenProvider:t,headers:l}),data:f})},remove({dynamicFormFieldId:i,token:d,jwtToken:p,headers:f}){return e({url:`/dynamic-forms/fields/${i}`,method:"delete",headers:A({token:d,jwtToken:p,internalAuthTokenProvider:t,headers:f})})}}}}Gu.exports=Ob});var Yu=m((RF,Qu)=>{var{authorizationHeaders:Ht}=y();function Fb({client:e,internalAuthTokenProvider:t}){function n({token:s,jwtToken:o,query:i={},headers:d}){return e({params:i,url:"/email-settings",headers:Ht({token:s,jwtToken:o,internalAuthTokenProvider:t,headers:d})})}function u({token:s,jwtToken:o,email:i,query:d={},headers:p}){return e({params:d,url:`/email-settings/${i}`,headers:Ht({token:s,jwtToken:o,internalAuthTokenProvider:t,headers:p})})}function a({data:s,token:o,jwtToken:i,headers:d}){return e({url:"/email-settings",method:"post",headers:Ht({token:o,jwtToken:i,internalAuthTokenProvider:t,headers:d}),data:s})}function c({token:s,jwtToken:o,email:i,data:d,headers:p}){return e({url:`/email-settings/${i}`,method:"put",headers:Ht({token:s,jwtToken:o,internalAuthTokenProvider:t,headers:p}),data:d})}function r({email:s,token:o,jwtToken:i,headers:d}){return e({url:`/email-settings/${s}`,method:"delete",headers:Ht({token:o,jwtToken:i,internalAuthTokenProvider:t,headers:d})})}return{all:n,getByEmail:u,create:a,update:c,remove:r}}Qu.exports=Fb});var Pu=m((zF,vu)=>{var{authorizationHeaders:le}=y();function Sb({client:e,internalAuthTokenProvider:t}){function n({token:d,jwtToken:p,headers:f}){return e({url:"/email-templates/types",headers:le({token:d,jwtToken:p,internalAuthTokenProvider:t,headers:f})})}function u({token:d,jwtToken:p,query:f={},headers:l}){return e({url:"/email-templates",params:f,headers:le({token:d,jwtToken:p,internalAuthTokenProvider:t,headers:l})})}function a({token:d,jwtToken:p,emailTemplateId:f,query:l={},headers:q}){return e({url:`/email-templates/${f}`,params:l,headers:le({token:d,jwtToken:p,internalAuthTokenProvider:t,headers:q})})}function c({token:d,jwtToken:p,data:f,headers:l}){return e({url:"/email-templates",method:"post",headers:le({token:d,jwtToken:p,internalAuthTokenProvider:t,headers:l}),data:f})}function r({token:d,jwtToken:p,emailTemplateId:f,data:l,headers:q}){return e({url:`/email-templates/${f}`,method:"put",headers:le({token:d,jwtToken:p,internalAuthTokenProvider:t,headers:q}),data:l})}function s({token:d,jwtToken:p,emailTemplateId:f,headers:l}){return e({url:`/email-templates/${f}`,method:"delete",headers:le({token:d,jwtToken:p,internalAuthTokenProvider:t,headers:l})})}function o({token:d,jwtToken:p,mainTemplateId:f,agencyId:l,headers:q}){return e({url:"/sub-email-templates",method:"post",headers:le({token:d,jwtToken:p,internalAuthTokenProvider:t,headers:q}),data:{mainTemplateId:f,agencyId:l}})}return{getTypes:n,all:u,get:a,create:c,update:r,remove:s,createSub:o,versions:{update({token:d,jwtToken:p,emailTemplateId:f,versionId:l,query:q={},headers:g}){return e({url:`/email-templates/${f}/versions/${l}`,method:"put",headers:le({token:d,jwtToken:p,internalAuthTokenProvider:t,headers:g}),params:q})}}}}vu.exports=Sb});var ku=m((HF,Tu)=>{var{authorizationHeaders:he}=y();function Eb({client:e,internalAuthTokenProvider:t}){function n({token:d,jwtToken:p,headers:f}){return e({url:"/sms-templates/types",headers:he({token:d,jwtToken:p,internalAuthTokenProvider:t,headers:f})})}function u({token:d,jwtToken:p,query:f={},headers:l}){return e({url:"/sms-templates",params:f,headers:he({token:d,jwtToken:p,internalAuthTokenProvider:t,headers:l})})}function a({token:d,jwtToken:p,smsTemplateId:f,query:l={},headers:q}){return e({url:`/sms-templates/${f}`,params:l,headers:he({token:d,jwtToken:p,internalAuthTokenProvider:t,headers:q})})}function c({token:d,jwtToken:p,data:f,headers:l}){return e({url:"/sms-templates",method:"post",headers:he({token:d,jwtToken:p,internalAuthTokenProvider:t,headers:l}),data:f})}function r({token:d,jwtToken:p,smsTemplateId:f,data:l,headers:q}){return e({url:`/sms-templates/${f}`,method:"put",headers:he({token:d,jwtToken:p,internalAuthTokenProvider:t,headers:q}),data:l})}function s({token:d,jwtToken:p,smsTemplateId:f,headers:l}){return e({url:`/sms-templates/${f}`,method:"delete",headers:he({token:d,jwtToken:p,internalAuthTokenProvider:t,headers:l})})}function o({token:d,jwtToken:p,mainTemplateId:f,agencyId:l,headers:q}){return e({url:"/sub-sms-templates",method:"post",headers:he({token:d,jwtToken:p,internalAuthTokenProvider:t,headers:q}),data:{mainTemplateId:f,agencyId:l}})}return{getTypes:n,all:u,get:a,create:c,update:r,remove:s,createSub:o,versions:{update({token:d,jwtToken:p,smsTemplateId:f,versionId:l,query:q={},headers:g}){return e({url:`/sms-templates/${f}/versions/${l}`,method:"put",headers:he({token:d,jwtToken:p,internalAuthTokenProvider:t,headers:g}),params:q})}}}}Tu.exports=Eb});var tc=m((CF,ec)=>{var{authorizationHeaders:Au}=y();function _b({client:e,internalAuthTokenProvider:t}){function n({token:a,jwtToken:c,isoCode:r,query:s={},headers:o}){return e({params:s,url:`/exchange-rates/${r}`,headers:Au({token:a,jwtToken:c,internalAuthTokenProvider:t,headers:o})})}function u({data:a,token:c,jwtToken:r,headers:s}){return e({url:"/exchange-rates",method:"post",headers:Au({token:c,jwtToken:r,internalAuthTokenProvider:t,headers:s}),data:a})}return{allByIsoCode:n,create:u}}ec.exports=_b});var ac=m((jF,sc)=>{var{authorizationHeaders:rc}=y();function Rb({client:e,internalAuthTokenProvider:t}){function n({data:a,token:c,jwtToken:r,headers:s}){return e({url:"/exchange-receipt-settings",method:"put",headers:rc({token:c,jwtToken:r,internalAuthTokenProvider:t,headers:s}),data:a})}function u({token:a,jwtToken:c,headers:r}){return e({url:"/exchange-receipt-settings",method:"get",headers:rc({token:a,jwtToken:c,internalAuthTokenProvider:t,headers:r})})}return{update:n,get:u}}sc.exports=Rb});var nc=m((DF,oc)=>{var{authorizationHeaders:mr}=y();function zb({client:e,internalAuthTokenProvider:t}){function n({data:r,token:s,jwtToken:o,headers:i}){return e({url:"/external-customers/ado",method:"post",headers:mr({token:s,jwtToken:o,internalAuthTokenProvider:t,headers:i}),data:r})}function u({data:r,token:s,jwtToken:o,headers:i}){return e({url:"/external-customers/ado/confirmation",method:"post",headers:mr({token:s,jwtToken:o,internalAuthTokenProvider:t,headers:i}),data:r})}function a({data:r,token:s,jwtToken:o,headers:i}){return e({url:"/external-customers/ado/confirmation/resend",method:"post",headers:mr({token:s,jwtToken:o,internalAuthTokenProvider:t,headers:i}),data:r})}return{saldoMax:{get:({token:r,jwtToken:s,query:o,headers:i})=>e.get("/external-customers/ado",{params:o,headers:mr({token:r,jwtToken:s,internalAuthTokenProvider:t,headers:i})}),create:n,confirmation:{create:u,resend:{create:a}}},registerSaldoMax:n}}oc.exports=zb});var ic=m((NF,cc)=>{var{authorizationHeaders:uc}=y();function Hb({client:e,internalAuthTokenProvider:t}){function n({token:a,jwtToken:c,query:r,headers:s}){return e({url:"/goal-settings",params:r,headers:uc({token:a,jwtToken:c,internalAuthTokenProvider:t,headers:s})})}function u({jwtToken:a,token:c,goalSettings:r,headers:s}){return e({url:"/goal-settings",method:"put",headers:uc({token:c,jwtToken:a,internalAuthTokenProvider:t,headers:s}),data:{goalSettings:r}})}return{get:n,update:u}}cc.exports=Hb});var pc=m((UF,dc)=>{var{authorizationHeaders:lr}=y();function Cb({client:e,internalAuthTokenProvider:t}){function n({token:r,jwtToken:s,query:o={},headers:i}){return e({params:o,url:"/images",headers:lr({token:r,jwtToken:s,internalAuthTokenProvider:t,headers:i})})}function u({token:r,jwtToken:s,query:o={},headers:i,imageId:d}){return e({params:o,url:`/images/${d}`,headers:lr({token:r,jwtToken:s,internalAuthTokenProvider:t,headers:i})})}function a({jwtToken:r,token:s,image:o,headers:i}){return e({url:"/images",method:"post",headers:lr({token:s,jwtToken:r,internalAuthTokenProvider:t,headers:i}),data:{image:o}})}function c({imageId:r,token:s,jwtToken:o,headers:i}){return e({url:`/images/${r}`,method:"delete",headers:lr({token:s,jwtToken:o,internalAuthTokenProvider:t,headers:i})})}return{all:n,get:u,create:a,remove:c}}dc.exports=Cb});var mc=m((BF,fc)=>{var{authorizationHeaders:ue}=y();function jb({client:e,internalAuthTokenProvider:t}){return{invitations:{all({token:r,jwtToken:s,query:o={},headers:i}){return e({url:"/interline/invitations",params:o,headers:ue({token:r,jwtToken:s,internalAuthTokenProvider:t,headers:i})})},get({token:r,invitationId:s,headers:o}){return e.get(`/interline/invitations/${s}`,{headers:ue({token:r,internalAuthTokenProvider:t,headers:o})})},create({data:r,token:s,jwtToken:o,headers:i}){return e({url:"/interline/invitations",method:"post",headers:ue({token:s,jwtToken:o,internalAuthTokenProvider:t,headers:i}),data:r})},update({invitationId:r,data:s,token:o,jwtToken:i,headers:d}){return e({url:`/interline/invitations/${r}`,method:"put",headers:ue({token:o,jwtToken:i,internalAuthTokenProvider:t,headers:d}),data:s})}},consumers:{all({token:r,jwtToken:s,query:o={},headers:i}){return e({url:"/interline/consumers",params:o,headers:ue({token:r,jwtToken:s,internalAuthTokenProvider:t,headers:i})})}},providers:{all({token:r,jwtToken:s,query:o={},headers:i}){return e({url:"/interline/providers",params:o,headers:ue({token:r,jwtToken:s,internalAuthTokenProvider:t,headers:i})})}},network:{get({token:r,jwtToken:s,interlineId:o,headers:i}){return e.get(`/interline/${o}/network`,{headers:ue({token:r,jwtToken:s,internalAuthTokenProvider:t,headers:i})})},update({interlineId:r,data:s,token:o,jwtToken:i,headers:d}){return e({url:`/interline/${r}/network`,method:"put",headers:ue({token:o,jwtToken:i,internalAuthTokenProvider:t,headers:d}),data:s})}},remove({interlineId:r,token:s,jwtToken:o,headers:i}){return e({url:`/interline/${r}`,method:"delete",headers:ue({token:s,jwtToken:o,internalAuthTokenProvider:t,headers:i})})}}}fc.exports=jb});var hc=m((LF,lc)=>{var{authorizationHeaders:re}=y();function Db({client:e,internalAuthTokenProvider:t}){function n({token:o,context:i,query:d={},headers:p}){let f=Object.assign({},d,{context:i});return e({url:"lexicons/buscompany",params:f,headers:re({token:o,internalAuthTokenProvider:t,headers:p})})}function u({token:o,jwtToken:i,lexiconEntries:d,headers:p}){return e({url:"/lexicons",method:"post",headers:re({token:o,jwtToken:i,internalAuthTokenProvider:t,headers:p}),data:{entries:d}})}function a({token:o,jwtToken:i,entries:d,headers:p}){return e({url:"/lexicons",method:"put",headers:re({token:o,jwtToken:i,internalAuthTokenProvider:t,headers:p}),data:{entries:d}})}function c({token:o,jwtToken:i,updates:d,headers:p}){return e({url:"/lexicons",method:"patch",headers:re({token:o,jwtToken:i,internalAuthTokenProvider:t,headers:p}),data:{updates:d}})}function r({token:o,jwtToken:i,headers:d,lang:p,txt:f}){return e({url:`/lexicons/${encodeURIComponent(p)}/content`,params:{txt:f},headers:re({token:o,jwtToken:i,internalAuthTokenProvider:t,headers:d})})}return{all:n,create:u,createOrUpdateMany:a,updateMany:c,getByText:r,suggestions:{list({token:o,jwtToken:i,headers:d,params:p={}}){return e({url:"/lexicons/suggestions",params:p,headers:re({token:o,jwtToken:i,internalAuthTokenProvider:t,headers:d})})},getById({token:o,jwtToken:i,headers:d,suggestionId:p,params:f={}}){return e({url:`/lexicons/suggestions/${p}`,params:f,headers:re({token:o,jwtToken:i,internalAuthTokenProvider:t,headers:d})})},update({token:o,jwtToken:i,headers:d,suggestionId:p,data:f,superUserId:l,superUserHash:q}){let g={superUserId:l,superUserHash:q};return e({url:`/lexicons/suggestions/${p}`,method:"put",params:g,headers:re({token:o,jwtToken:i,internalAuthTokenProvider:t,headers:d}),data:f})},delete({token:o,jwtToken:i,headers:d,suggestionId:p}){return e({url:`/lexicons/suggestions/${p}`,method:"delete",headers:re({token:o,jwtToken:i,internalAuthTokenProvider:t,headers:d})})},create({token:o,jwtToken:i,headers:d,key:p,lang:f,data:l}){return e({url:`/lexicons/${encodeURIComponent(p)}/${encodeURIComponent(f)}/suggestion`,method:"post",headers:re({token:o,jwtToken:i,internalAuthTokenProvider:t,headers:d}),data:l})}}}}lc.exports=Db});var yc=m((MF,gc)=>{var{authorizationHeaders:Re}=y();function Nb({client:e,internalAuthTokenProvider:t}){return{agencies:{all({token:u,jwtToken:a,query:c={},headers:r}){return e({url:"/network/agencies",params:c,headers:Re({token:u,jwtToken:a,internalAuthTokenProvider:t,headers:r})})},get({token:u,jwtToken:a,query:c,headers:r,sellerId:s}){return e({url:`/network/agencies/${s}`,params:c||{},headers:Re({token:u,jwtToken:a,internalAuthTokenProvider:t,headers:r})})},update({jwtToken:u,token:a,sellerId:c,agency:r,headers:s,query:o}){return e({url:`/network/agencies/${c}`,method:"put",headers:Re({token:a,jwtToken:u,internalAuthTokenProvider:t,headers:s}),data:{agency:r},params:o})},create({jwtToken:u,token:a,agency:c,headers:r}){return e({url:"/network/agencies",method:"post",headers:Re({token:a,jwtToken:u,internalAuthTokenProvider:t,headers:r}),data:{agency:c}})},removeProduct({token:u,jwtToken:a,productId:c,headers:r}){return e({url:"/network/agencies/remove-product",method:"put",headers:Re({token:u,jwtToken:a,internalAuthTokenProvider:t,headers:r}),data:{productId:c}})},removeFare({token:u,jwtToken:a,fareId:c,headers:r}){return e({url:"/network/agencies/remove-fare",method:"put",headers:Re({token:u,jwtToken:a,internalAuthTokenProvider:t,headers:r}),data:{fareId:c}})},banks({token:u,jwtToken:a,providerId:c,headers:r}){return e({url:"/network/agencies/banks",params:{providerId:c},headers:Re({token:u,jwtToken:a,internalAuthTokenProvider:t,headers:r})})}}}}gc.exports=Nb});var xc=m((IF,$c)=>{var{authorizationHeaders:bc}=y();function Ub({client:e,internalAuthTokenProvider:t}){function n({token:a,jwtToken:c,query:r,headers:s}){return e({url:"/operation-settings",params:r,headers:bc({token:a,jwtToken:c,internalAuthTokenProvider:t,headers:s})})}function u({jwtToken:a,token:c,operationSettings:r,headers:s}){return e({url:"/operation-settings",method:"put",headers:bc({token:c,jwtToken:a,internalAuthTokenProvider:t,headers:s}),data:{operationSettings:r}})}return{get:n,update:u}}$c.exports=Ub});var Oc=m((VF,wc)=>{function qc(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var u=Object.getOwnPropertySymbols(e);t&&(u=u.filter(function(a){return Object.getOwnPropertyDescriptor(e,a).enumerable})),n.push.apply(n,u)}return n}function hr(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?qc(Object(n),!0).forEach(function(u){Bb(e,u,n[u])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):qc(Object(n)).forEach(function(u){Object.defineProperty(e,u,Object.getOwnPropertyDescriptor(n,u))})}return e}function Bb(e,t,n){return(t=Lb(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Lb(e){var t=Mb(e,"string");return typeof t=="symbol"?t:t+""}function Mb(e,t){if(typeof e!="object"||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var u=n.call(e,t||"default");if(typeof u!="object")return u;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}var{authorizationHeaders:Ct}=y();function Ib({client:e,internalAuthTokenProvider:t}){function n({token:s,jwtToken:o,query:i,headers:d,providerId:p}){let f=p?hr(hr({},i),{},{providerId:p}):i;return e({url:"/people-lookups",params:f,headers:Ct({token:s,jwtToken:o,internalAuthTokenProvider:t,headers:d})})}function u({token:s,jwtToken:o,query:i,headers:d,personId:p,providerId:f}){let l=f?hr(hr({},i),{},{providerId:f}):i;return e({url:`/people-lookups/${p}`,params:l,headers:Ct({token:s,jwtToken:o,internalAuthTokenProvider:t,headers:d})})}function a({jwtToken:s,token:o,personId:i,person:d,headers:p,providerId:f}){let l=f?{providerId:f}:{};return e({url:`/people-lookups/${i}`,method:"put",headers:Ct({token:o,jwtToken:s,internalAuthTokenProvider:t,headers:p}),params:l,data:{person:d}})}function c({jwtToken:s,token:o,person:i,headers:d,providerId:p}){let f=p?{providerId:p}:{};return e({url:"/people-lookups",method:"post",headers:Ct({token:o,jwtToken:s,internalAuthTokenProvider:t,headers:d}),params:f,data:{person:i}})}function r({personId:s,token:o,jwtToken:i,headers:d}){return e({url:`/people-lookups/${s}`,method:"delete",headers:Ct({token:o,jwtToken:i,internalAuthTokenProvider:t,headers:d})})}return{all:n,getById:u,update:a,create:c,remove:r}}wc.exports=Ib});var Ec=m((KF,Sc)=>{var{authorizationHeaders:Fc}=y();function Vb({client:e,internalAuthTokenProvider:t}){function n({token:a,jwtToken:c,headers:r}){return e({url:"/point-to-point-settings",headers:Fc({token:a,jwtToken:c,internalAuthTokenProvider:t,headers:r})})}function u({token:a,jwtToken:c,pointToPointSettings:r,headers:s}){return e({url:"/point-to-point-settings",method:"put",headers:Fc({token:a,jwtToken:c,internalAuthTokenProvider:t,headers:s}),data:r})}return{get:n,update:u}}Sc.exports=Vb});var zc=m((WF,Rc)=>{var{authorizationHeaders:_c}=y();function Kb({client:e,internalAuthTokenProvider:t}){function n({token:a,jwtToken:c,headers:r}){return e({url:"/market-pricing-settings",headers:_c({token:a,jwtToken:c,internalAuthTokenProvider:t,headers:r})})}function u({token:a,jwtToken:c,marketPricingSettings:r,headers:s}){return e({url:"/market-pricing-settings",method:"put",headers:_c({token:a,jwtToken:c,internalAuthTokenProvider:t,headers:s}),data:r})}return{get:n,update:u}}Rc.exports=Kb});var jc=m((JF,Cc)=>{var{authorizationHeaders:Hc}=y();function Wb({client:e,internalAuthTokenProvider:t}){function n({token:a,jwtToken:c,headers:r}){return e({url:"/multiproduct-sales-settings",headers:Hc({token:a,jwtToken:c,internalAuthTokenProvider:t,headers:r})})}function u({token:a,jwtToken:c,data:r,headers:s}){return e({url:"/multiproduct-sales-settings",method:"put",headers:Hc({token:a,jwtToken:c,internalAuthTokenProvider:t,headers:s}),data:r})}return{get:n,update:u}}Cc.exports=Wb});var Nc=m((XF,Dc)=>{var{authorizationHeaders:Jb}=y();function Xb({client:e,internalAuthTokenProvider:t}){function n({token:u,jwtToken:a,query:c,headers:r}){return e({url:"/printers",params:c||{},headers:Jb({token:u,jwtToken:a,internalAuthTokenProvider:t,headers:r})})}return{all:n}}Dc.exports=Xb});var Lc=m((GF,Bc)=>{var{authorizationHeaders:Uc}=y();function Gb({client:e,internalAuthTokenProvider:t}){function n({token:a,jwtToken:c,query:r,headers:s}){return e({url:"/print-settings",params:r,headers:Uc({token:a,jwtToken:c,internalAuthTokenProvider:t,headers:s})})}function u({jwtToken:a,token:c,printSettings:r,headers:s}){return e({url:"/print-settings",method:"put",headers:Uc({token:c,jwtToken:a,internalAuthTokenProvider:t,headers:s}),data:{printSettings:r}})}return{all:n,update:u}}Bc.exports=Gb});var Ic=m((ZF,Mc)=>{var{authorizationHeaders:Ke}=y();function Zb({client:e,internalAuthTokenProvider:t}){function n({token:o,jwtToken:i,query:d={},headers:p}){return e({url:"/print-templates",params:d,headers:Ke({token:o,jwtToken:i,internalAuthTokenProvider:t,headers:p})})}function u({token:o,jwtToken:i,printTemplateId:d,query:p={},headers:f}){return e({url:`/print-templates/${d}`,params:p,headers:Ke({token:o,jwtToken:i,internalAuthTokenProvider:t,headers:f})})}function a({jwtToken:o,token:i,printTemplateId:d,printTemplate:p,headers:f,query:l}){return e({url:`/print-templates/${d}`,method:"put",headers:Ke({token:i,jwtToken:o,internalAuthTokenProvider:t,headers:f}),data:{printTemplate:p},params:l})}function c({jwtToken:o,token:i,printTemplate:d,headers:p}){return e({url:"/print-templates",method:"post",headers:Ke({token:i,jwtToken:o,internalAuthTokenProvider:t,headers:p}),data:{printTemplate:d}})}function r({printTemplateId:o,token:i,jwtToken:d,headers:p}){return e({url:`/print-templates/${o}`,method:"delete",headers:Ke({token:i,jwtToken:d,internalAuthTokenProvider:t,headers:p})})}return{all:n,get:u,update:a,create:c,remove:r,versions:{update({printTemplateId:o,token:i,jwtToken:d,headers:p,query:f,versionId:l}){return e({url:`/print-templates/${o}/versions/${l}`,method:"put",headers:Ke({token:i,jwtToken:d,internalAuthTokenProvider:t,headers:p}),params:f})}}}}Mc.exports=Zb});var Wc=m((QF,Kc)=>{var{authorizationHeaders:Vc}=y();function Qb({client:e,internalAuthTokenProvider:t}){function n({token:a,jwtToken:c,headers:r}){return e({url:"/rms-settings",headers:Vc({token:a,jwtToken:c,internalAuthTokenProvider:t,headers:r})})}function u({token:a,jwtToken:c,revenueManagementSettings:r,headers:s}){return e({url:"/rms-settings",method:"put",headers:Vc({token:a,jwtToken:c,internalAuthTokenProvider:t,headers:s}),data:r})}return{get:n,update:u}}Kc.exports=Qb});var Gc=m((YF,Xc)=>{var{authorizationHeaders:Jc}=y();function Yb({client:e,internalAuthTokenProvider:t}){function n({token:a,jwtToken:c,headers:r}){return e({url:"/journey-prices-settings",headers:Jc({token:a,jwtToken:c,internalAuthTokenProvider:t,headers:r})})}function u({token:a,jwtToken:c,journeyPricesSettings:r,headers:s}){return e({url:"/journey-prices-settings",method:"put",headers:Jc({token:a,jwtToken:c,internalAuthTokenProvider:t,headers:s}),data:r})}return{get:n,update:u}}Xc.exports=Yb});var Qc=m((vF,Zc)=>{var{authorizationHeaders:vb}=y();function Pb({client:e,internalAuthTokenProvider:t}){function n({jwtToken:u,token:a,subPrintTemplate:c,headers:r}){return e({url:"/sub-print-templates",method:"post",headers:vb({token:a,jwtToken:u,internalAuthTokenProvider:t,headers:r}),data:{subPrintTemplate:c}})}return{create:n}}Zc.exports=Pb});var vc=m((PF,Yc)=>{var{authorizationHeaders:vr}=y();function Tb({client:e,internalAuthTokenProvider:t}){function n({jwtToken:c,token:r,bucketId:s,s3BucketData:o,headers:i}){return e({url:`/account/s3Buckets/${s}`,method:"put",headers:vr({token:r,jwtToken:c,internalAuthTokenProvider:t,headers:i}),data:o})}function u({jwtToken:c,token:r,bucketId:s,headers:o}){return e({url:`/account/s3Buckets/${s}`,method:"delete",headers:vr({token:r,jwtToken:c,internalAuthTokenProvider:t,headers:o})})}function a({jwtToken:c,token:r,s3BucketData:s,headers:o}){return e({url:"/account/s3Buckets",method:"post",headers:vr({token:r,jwtToken:c,internalAuthTokenProvider:t,headers:o}),data:s})}return{update:n,remove:u,create:a}}Yc.exports=Tb});var kc=m((TF,Tc)=>{var{authorizationHeaders:Pc}=y();function kb({client:e,internalAuthTokenProvider:t}){function n({jwtToken:a,token:c,query:r,headers:s}){return e({url:"/salesforce-settings",params:r,headers:Pc({token:c,jwtToken:a,internalAuthTokenProvider:t,headers:s})})}function u({jwtToken:a,token:c,salesforceSettings:r,headers:s}){return e({url:"/salesforce-settings",method:"put",headers:Pc({token:c,jwtToken:a,internalAuthTokenProvider:t,headers:s}),data:{salesforceSettings:r}})}return{get:n,update:u}}Tc.exports=kb});var ei=m((kF,Ac)=>{var{authorizationHeaders:D}=y();function Ab({client:e,internalAuthTokenProvider:t}){function n({jwtToken:F,token:S,query:O,headers:E}){return e.get("/shifts",{headers:D({token:S,jwtToken:F,internalAuthTokenProvider:t,headers:E}),params:O})}function u({token:F,userId:S,headers:O}){return e.get(`/shift/user/${S}`,{headers:D({token:F,internalAuthTokenProvider:t,headers:O})})}function a({jwtToken:F,token:S,shiftData:O,headers:E}){return e({url:"/shifts",method:"post",headers:D({token:S,jwtToken:F,internalAuthTokenProvider:t,headers:E}),data:O})}function c({jwtToken:F,token:S,shiftId:O,operations:E,headers:j,query:ge}){return e({url:`/shifts/${O}`,method:"patch",headers:D({token:S,jwtToken:F,internalAuthTokenProvider:t,headers:j}),data:{operations:E},params:ge})}return{all:n,get:u,create:a,update:c,requiresAgencyShiftClosure:{put({token:F,jwtToken:S,shiftId:O,headers:E,shiftData:j}){return e({url:`/shifts/${O}/requires-agency-shift-closure`,method:"put",headers:D({token:F,jwtToken:S,internalAuthTokenProvider:t,headers:E}),data:{shiftData:j}})}},payments:{get({token:F,jwtToken:S,shiftId:O,headers:E}){return e.get(`/shifts/${O}/payments`,{headers:D({token:F,jwtToken:S,internalAuthTokenProvider:t,headers:E})})}},vouchers:{get({token:F,jwtToken:S,shiftId:O,headers:E}){return e.get(`/shifts/${O}/vouchers`,{headers:D({token:F,jwtToken:S,internalAuthTokenProvider:t,headers:E})})}},transactions:{get({token:F,jwtToken:S,shiftId:O,headers:E}){return e.get(`/shifts/${O}/transactions`,{headers:D({token:F,jwtToken:S,internalAuthTokenProvider:t,headers:E})})}},tickets:{get({token:F,jwtToken:S,shiftId:O,headers:E}){return e.get(`/shifts/${O}/tickets`,{headers:D({token:F,jwtToken:S,internalAuthTokenProvider:t,headers:E})})}},fees:{get({token:F,jwtToken:S,shiftId:O,headers:E}){return e.get(`/shifts/${O}/fees`,{headers:D({token:F,jwtToken:S,internalAuthTokenProvider:t,headers:E})})}},refunds:{get({token:F,jwtToken:S,shiftId:O,headers:E}){return e.get(`/shifts/${O}/refunds`,{headers:D({token:F,jwtToken:S,internalAuthTokenProvider:t,headers:E})})}},items:{get({token:F,jwtToken:S,shiftId:O,headers:E}){return e.get(`/shifts/${O}/items`,{headers:D({token:F,jwtToken:S,internalAuthTokenProvider:t,headers:E})})}},redeemableItems:{get({token:F,jwtToken:S,shiftId:O,headers:E}){return e.get(`/shifts/${O}/redeemable-items`,{headers:D({token:F,jwtToken:S,internalAuthTokenProvider:t,headers:E})})}},giftCertificates:{get({token:F,jwtToken:S,shiftId:O,headers:E}){return e.get(`/shifts/${O}/gift-certificates`,{headers:D({token:F,jwtToken:S,internalAuthTokenProvider:t,headers:E})})}},parcels:{get({token:F,jwtToken:S,shiftId:O,headers:E}){return e.get(`/shifts/${O}/parcels`,{headers:D({token:F,jwtToken:S,internalAuthTokenProvider:t,headers:E})})}},insurances:{get({token:F,jwtToken:S,shiftId:O,headers:E}){return e.get(`/shifts/${O}/insurances`,{headers:D({token:F,jwtToken:S,internalAuthTokenProvider:t,headers:E})})}},invoices:{get({token:F,jwtToken:S,shiftId:O,headers:E}){return e.get(`/shifts/${O}/invoices`,{headers:D({token:F,jwtToken:S,internalAuthTokenProvider:t,headers:E})})}},deposits:{get({token:F,jwtToken:S,shiftId:O,headers:E}){return e.get(`/shifts/${O}/deposits`,{headers:D({token:F,jwtToken:S,internalAuthTokenProvider:t,headers:E})})},create({jwtToken:F,token:S,shiftId:O,deposit:E,headers:j}){return e({url:`/shifts/${O}/deposits`,method:"post",headers:D({token:S,jwtToken:F,internalAuthTokenProvider:t,headers:j}),data:E})}},manualTickets:{get({token:F,jwtToken:S,shiftId:O,headers:E}){return e.get(`/shifts/${O}/manual-tickets`,{headers:D({token:F,jwtToken:S,internalAuthTokenProvider:t,headers:E})})},create({jwtToken:F,token:S,shiftId:O,manualTicket:E,headers:j}){return e({url:`/shifts/${O}/manual-tickets`,method:"post",headers:D({token:S,jwtToken:F,internalAuthTokenProvider:t,headers:j}),data:E})}},locationClosures:{create({jwtToken:F,token:S,locationClosure:O,headers:E}){return e({url:"/shifts/location-closures",method:"post",headers:D({token:S,jwtToken:F,internalAuthTokenProvider:t,headers:E}),data:O})},all({jwtToken:F,token:S,query:O,headers:E}){return e.get("/shifts/location-closures",{headers:D({token:S,jwtToken:F,internalAuthTokenProvider:t,headers:E}),params:O})},get({token:F,jwtToken:S,locationClosureId:O,headers:E}){return e.get(`/shifts/location-closures/${O}`,{headers:D({token:F,jwtToken:S,internalAuthTokenProvider:t,headers:E})})},comments:{create({jwtToken:F,token:S,locationClosureId:O,locationClosureComment:E,headers:j}){return e({url:`/shifts/location-closures/${O}/comments`,method:"post",headers:D({token:S,jwtToken:F,internalAuthTokenProvider:t,headers:j}),data:E})}},status:{update({jwtToken:F,token:S,locationClosureId:O,locationClosureStatusChange:E,headers:j}){return e({url:`/shifts/location-closures/${O}/status`,method:"put",headers:D({token:S,jwtToken:F,internalAuthTokenProvider:t,headers:j}),data:E})}}},startingBalances:{create({jwtToken:F,token:S,shiftId:O,startingBalance:E,headers:j}){return e({url:`/shifts/${O}/starting-balance`,method:"post",headers:D({token:S,jwtToken:F,internalAuthTokenProvider:t,headers:j}),data:E})}},purchaseLimitPayments:{get({token:F,jwtToken:S,locationId:O,query:E,headers:j}){return e.get(`/shifts/${O}/purchase-limit-payments`,{headers:D({token:F,jwtToken:S,internalAuthTokenProvider:t,headers:j}),params:E})}},salesSummary:{get({token:F,jwtToken:S,shiftId:O,query:E,headers:j}){return e.get(`/shifts/${O}/sales-summary`,{headers:D({token:F,jwtToken:S,internalAuthTokenProvider:t,headers:j}),params:E})}},commissions:{get({token:F,jwtToken:S,shiftId:O,headers:E}){return e.get(`/shifts/${O}/commissions`,{headers:D({token:F,jwtToken:S,internalAuthTokenProvider:t,headers:E})})}}}}Ac.exports=Ab});var si=m((AF,ri)=>{var{authorizationHeaders:ti}=y();function e$({client:e,internalAuthTokenProvider:t}){function n({token:a,jwtToken:c,query:r,headers:s}){return e({url:"/shift-settings",params:r,headers:ti({token:a,jwtToken:c,internalAuthTokenProvider:t,headers:s})})}function u({jwtToken:a,token:c,shiftSettings:r,headers:s}){return e({url:"/shift-settings",method:"put",headers:ti({token:c,jwtToken:a,internalAuthTokenProvider:t,headers:s}),data:{shiftSettings:r}})}return{get:n,update:u}}ri.exports=e$});var oi=m((eS,ai)=>{var{authorizationHeaders:Pr}=y();function t$({client:e,internalAuthTokenProvider:t}){function n({token:c,jwtToken:r,modelName:s,headers:o}){return e({url:`/system-models/${s}/settings`,headers:Pr({token:c,jwtToken:r,internalAuthTokenProvider:t,headers:o})})}function u({jwtToken:c,token:r,modelName:s,systemModelSettings:o,headers:i}){return e({url:`/system-models/${s}/settings`,method:"put",headers:Pr({token:r,jwtToken:c,internalAuthTokenProvider:t,headers:i}),data:{systemModelSettings:o}})}function a({jwtToken:c,token:r,modelName:s,action:o,payload:i,headers:d}){return e({url:`/system-models/${s}/validations`,method:"post",headers:Pr({token:r,jwtToken:c,internalAuthTokenProvider:t,headers:d}),data:{action:o,payload:i}})}return{get:n,update:u,validate:a}}ai.exports=t$});var ci=m((tS,ui)=>{var{authorizationHeaders:ni}=y();function r$({client:e,internalAuthTokenProvider:t}){function n({token:a,jwtToken:c,headers:r}){return e({url:"/ticket-movement-settings",headers:ni({token:a,jwtToken:c,internalAuthTokenProvider:t,headers:r})})}function u({token:a,jwtToken:c,ticketMovementSettings:r,headers:s}){return e({url:"/ticket-movement-settings",method:"put",headers:ni({token:a,jwtToken:c,internalAuthTokenProvider:t,headers:s}),data:r})}return{get:n,update:u}}ui.exports=r$});var pi=m((rS,di)=>{var{authorizationHeaders:ii}=y();function s$({client:e,internalAuthTokenProvider:t}){function n({token:a,jwtToken:c,headers:r,query:s}){return e.get("/tokens",{headers:ii({token:a,jwtToken:c,internalAuthTokenProvider:t,headers:r}),params:s})}function u({data:a,token:c,jwtToken:r,headers:s}){return e({url:"/tokens",method:"post",headers:ii({token:c,jwtToken:r,internalAuthTokenProvider:t,headers:s}),data:a})}return{get:n,create:u}}di.exports=s$});var mi=m((sS,fi)=>{var{authorizationHeaders:jt}=y();function a$({client:e,internalAuthTokenProvider:t}){function n({token:s,jwtToken:o,query:i,headers:d}){return e({url:"/travellers",headers:jt({token:s,jwtToken:o,internalAuthTokenProvider:t,headers:d}),params:i})}function u({token:s,jwtToken:o,id:i,query:d={},headers:p}){return e({url:`/travellers/${i}`,method:"get",headers:jt({token:s,jwtToken:o,internalAuthTokenProvider:t,headers:p}),params:d})}function a({token:s,jwtToken:o,id:i,data:d,query:p={},headers:f}){return e({url:`/travellers/${i}`,method:"put",params:p,headers:jt({token:s,jwtToken:o,internalAuthTokenProvider:t,headers:f}),data:d})}function c({token:s,jwtToken:o,id:i,query:d={},headers:p}){return e({url:`/travellers/${i}`,method:"delete",params:d,headers:jt({token:s,jwtToken:o,internalAuthTokenProvider:t,headers:p})})}function r({token:s,jwtToken:o,query:i={},data:d,headers:p}){return e({url:"/travellers",method:"post",headers:jt({token:s,jwtToken:o,internalAuthTokenProvider:t,headers:p}),params:i,data:d})}return{all:n,get:u,update:a,remove:c,create:r}}fi.exports=a$});var hi=m((aS,li)=>{var{authorizationHeaders:Tr}=y();function o$({client:e,internalAuthTokenProvider:t}){function n({token:c,jwtToken:r,data:s,headers:o}){return e({url:"/trusted-machines",method:"post",withCredentials:!0,headers:Tr({token:c,jwtToken:r,internalAuthTokenProvider:t,headers:o}),data:s})}function u({token:c,jwtToken:r,id:s,headers:o}){return e({url:`/trusted-machines/${s}`,method:"get",headers:Tr({token:c,jwtToken:r,internalAuthTokenProvider:t,headers:o})})}function a({token:c,jwtToken:r,query:s={},headers:o}){return e({params:s,url:"/trusted-machines",headers:Tr({token:c,jwtToken:r,internalAuthTokenProvider:t,headers:o})})}return{create:n,get:u,all:a}}li.exports=o$});var bi=m((oS,yi)=>{var{authorizationHeaders:gi}=y();function n$({client:e,internalAuthTokenProvider:t}){function n({jwtToken:a,token:c,query:r,headers:s}){return e({url:"/twilio-settings",params:r,headers:gi({token:c,jwtToken:a,internalAuthTokenProvider:t,headers:s})})}function u({jwtToken:a,token:c,twilioSettings:r,headers:s}){return e({url:"/twilio-settings",method:"put",headers:gi({token:c,jwtToken:a,internalAuthTokenProvider:t,headers:s}),data:{twilioSettings:r}})}return{get:n,update:u}}yi.exports=n$});var xi=m((nS,$i)=>{var{authorizationHeaders:G}=y();function u$({client:e,internalAuthTokenProvider:t}){function n({token:g,jwtToken:b,id:h,headers:x}={}){return e({url:`/user/${h}`,headers:G({token:g,jwtToken:b,internalAuthTokenProvider:t,headers:x})})}function u({token:g,jwtToken:b,id:h,headers:x}={}){return e({url:`/users/${h}`,headers:G({token:g,jwtToken:b,internalAuthTokenProvider:t,headers:x})})}function a({token:g,jwtToken:b,query:h={},headers:x}){return e({url:"/users",params:h,headers:G({token:g,jwtToken:b,internalAuthTokenProvider:t,headers:x})})}function c({token:g,jwtToken:b,query:h={},data:x,headers:w}){return e({url:"/users",method:"post",headers:G({token:g,jwtToken:b,internalAuthTokenProvider:t,headers:w}),params:h,data:x})}function r({token:g,jwtToken:b,query:h={},data:x,headers:w}){return c({token:g,jwtToken:b,query:h,data:x,headers:w})}function s({token:g,jwtToken:b,userId:h,user:x,headers:w}){return e({url:`/users/${h}`,method:"put",headers:G({token:g,jwtToken:b,internalAuthTokenProvider:t,headers:w}),data:{user:x}})}function o({token:g,jwtToken:b,id:h,headers:x}){return e({url:`/users/${h}`,method:"delete",headers:G({token:g,jwtToken:b,internalAuthTokenProvider:t,headers:x})})}function i({token:g,jwtToken:b,users:h,headers:x}){return e({url:"/users/import",method:"post",headers:G({token:g,jwtToken:b,internalAuthTokenProvider:t,headers:x}),data:{users:h}})}function d({token:g,jwtToken:b,offlineUserId:h,headers:x}){return e({url:"/users/impersonate",method:"post",headers:G({token:g,jwtToken:b,internalAuthTokenProvider:t,headers:x}),data:{offlineUserId:h}})}function p({token:g,jwtToken:b,userId:h,headers:x}){return e({url:`/users/${h}/mfa`,method:"post",headers:G({token:g,jwtToken:b,internalAuthTokenProvider:t,headers:x})})}function f({token:g,jwtToken:b,userId:h,totpToken:x,headers:w}){return e({url:`/users/${h}/mfa`,method:"put",headers:G({token:g,jwtToken:b,internalAuthTokenProvider:t,headers:w}),data:{token:x}})}function l({token:g,jwtToken:b,userId:h,headers:x}){return e({url:`/users/${h}/mfa`,method:"delete",headers:G({token:g,jwtToken:b,internalAuthTokenProvider:t,headers:x})})}return{get:n,getV2:u,all:a,create:r,login:c,update:s,delete:o,createOrUpdateMany:i,impersonate:d,startMfa:p,confirmMfa:f,disableMfa:l,sequences:{get({token:g,jwtToken:b,userId:h,sequenceId:x,headers:w}){return e({url:`/users/${h}/sequences/${x}`,headers:G({token:g,jwtToken:b,internalAuthTokenProvider:t,headers:w})})},all({token:g,jwtToken:b,userId:h,query:x={},headers:w}){return e({url:`/users/${h}/sequences`,params:x,headers:G({token:g,jwtToken:b,internalAuthTokenProvider:t,headers:w})})},create({jwtToken:g,token:b,userId:h,sequence:x,headers:w}){return e({url:`/users/${h}/sequences`,method:"post",headers:G({token:b,jwtToken:g,internalAuthTokenProvider:t,headers:w}),data:x})},update({jwtToken:g,token:b,userId:h,sequenceId:x,sequence:w,headers:H}){return e({url:`/users/${h}/sequences/${x}`,method:"put",headers:G({token:b,jwtToken:g,internalAuthTokenProvider:t,headers:H}),data:w})},transfer({jwtToken:g,token:b,userId:h,sequenceId:x,newUserId:w,headers:H}){return e({url:`/users/${h}/sequences/${x}`,method:"patch",headers:G({token:b,jwtToken:g,internalAuthTokenProvider:t,headers:H}),data:{operation:"transfer",newUserId:w}})}}}}$i.exports=u$});var wi=m((uS,qi)=>{var{authorizationHeaders:gr}=y();function c$({client:e,internalAuthTokenProvider:t}){function n({token:r,jwtToken:s,query:o={},headers:i}){return e({url:"/verified-emails",headers:gr({token:r,jwtToken:s,internalAuthTokenProvider:t,headers:i}),params:o})}function u({token:r,jwtToken:s,email:o,headers:i}){return e({url:`/verified-emails/${encodeURIComponent(o)}`,headers:gr({token:r,jwtToken:s,internalAuthTokenProvider:t,headers:i})})}function a({token:r,jwtToken:s,data:o,headers:i}){return e({url:"/verified-emails",method:"post",headers:gr({token:r,jwtToken:s,internalAuthTokenProvider:t,headers:i}),data:o})}function c({token:r,jwtToken:s,email:o,data:i,headers:d}){return e({url:`/verified-emails/${encodeURIComponent(o)}`,method:"put",headers:gr({token:r,jwtToken:s,internalAuthTokenProvider:t,headers:d}),data:i})}return{all:n,get:u,create:a,update:c}}qi.exports=c$});var Si=m((cS,Fi)=>{var{authorizationHeaders:Oi}=y();function i$({client:e,internalAuthTokenProvider:t}){function n({token:a,jwtToken:c,query:r={},headers:s}){return e({params:r,url:"/websales-config",headers:Oi({token:a,jwtToken:c,internalAuthTokenProvider:t,headers:s})})}function u({token:a,jwtToken:c,websalesConfigId:r,websalesConfig:s,headers:o}){return e({url:`/websales-config/${r}`,method:"put",headers:Oi({token:a,jwtToken:c,internalAuthTokenProvider:t,headers:o}),data:s})}return{get:n,update:u}}Fi.exports=i$});var Ri=m((iS,_i)=>{var{authorizationHeaders:Ei}=y();function d$({client:e,internalAuthTokenProvider:t}){function n({token:a,jwtToken:c,headers:r}){return e({url:"/transport-regulation-settings/cnrt",headers:Ei({token:a,jwtToken:c,internalAuthTokenProvider:t,headers:r})})}function u({token:a,jwtToken:c,transportRegulationSettings:r,headers:s}){return e({url:"/transport-regulation-settings/cnrt",method:"put",headers:Ei({token:a,jwtToken:c,internalAuthTokenProvider:t,headers:s}),data:r})}return{get:n,update:u}}_i.exports=d$});var Hi=m((dS,zi)=>{function p$({client:e}){function t(){return e.get("/api-docs-v2",{})}return{get:t}}zi.exports=p$});var ji=m((pS,Ci)=>{var{authorizationHeaders:f$}=y();function m$({client:e,internalAuthTokenProvider:t}){function n({token:u,parcelQuoteData:a,jwtToken:c,headers:r}){return e({url:"/parcel-quotes",method:"post",headers:f$({token:u,jwtToken:c,internalAuthTokenProvider:t,headers:r}),data:a})}return{get:n}}Ci.exports=m$});var Ni=m((fS,Di)=>{var{authorizationHeaders:l$}=y();function h$({client:e,internalAuthTokenProvider:t}){function n({token:u,jwtToken:a,query:c={},headers:r}){return e.get("/payment-providers",{params:c,headers:l$({token:u,jwtToken:a,internalAuthTokenProvider:t,headers:r})})}return{all:n}}Di.exports=h$});var Bi=m((mS,Ui)=>{var{authorizationHeaders:Z}=y();function g$({client:e,internalAuthTokenProvider:t}){function n({token:g,id:b,query:h={},headers:x}){return e({url:`/cart/${b}`,params:h,headers:Z({token:g,internalAuthTokenProvider:t,headers:x})})}function u({token:g,cart:b,jwtToken:h,headers:x}){return e({url:"/cart",method:"post",headers:Z({token:g,jwtToken:h,internalAuthTokenProvider:t,headers:x}),data:b})}function a({token:g,cartId:b,cart:h,jwtToken:x,headers:w}){return e({url:`/cart/${b}/items`,method:"post",headers:Z({token:g,jwtToken:x,internalAuthTokenProvider:t,headers:w}),data:h})}function c({token:g,cartId:b,params:h,jwtToken:x,headers:w}){return e({url:`/cart/${b}/items`,method:"delete",headers:Z({token:g,jwtToken:x,internalAuthTokenProvider:t,headers:w}),params:h})}function r({token:g,cartId:b,itemId:h,jwtToken:x,headers:w}){return e({url:`/carts/${b}/paid-in-items/${h}`,method:"delete",headers:Z({token:g,jwtToken:x,internalAuthTokenProvider:t,headers:w})})}function s({token:g,cartId:b,params:h,jwtToken:x,headers:w}){return e({url:`/carts/${b}/paid-in-items`,method:"delete",headers:Z({token:g,jwtToken:x,internalAuthTokenProvider:t,headers:w}),params:h||{}})}let o={get({token:g,jwtToken:b,cartId:h,query:x={},headers:w}){return e({url:`/carts/${h}/loyalty-points-amount`,params:x,headers:Z({token:g,jwtToken:b,internalAuthTokenProvider:t,headers:w})})}};function i({token:g,jwtToken:b,cartId:h,data:x,headers:w}){return e({url:`/cart/${h}`,method:"patch",headers:Z({token:g,jwtToken:b,internalAuthTokenProvider:t,headers:w}),data:x})}return{get:n,create:u,add:a,deleteItems:c,deletePaidInItem:r,deletePaidInItems:s,loyaltyPointsAmount:o,patch:i,partialDepositStatus:{get({token:g,jwtToken:b,shiftId:h,headers:x}){return e.get(`/cart/${h}/partial-deposit-status`,{headers:Z({token:g,jwtToken:b,internalAuthTokenProvider:t,headers:x})})}},payments:{delete({token:g,cartId:b,jwtToken:h,headers:x}){return e({url:`/carts/${b}/payments`,method:"delete",headers:Z({token:g,jwtToken:h,internalAuthTokenProvider:t,headers:x})})},put({token:g,cartId:b,jwtToken:h,headers:x,payment:w}){return e({url:`/carts/${b}/payments`,method:"put",headers:Z({token:g,jwtToken:h,internalAuthTokenProvider:t,headers:x}),data:w})}},taxExemptPaymentMethod:{post({token:g,cartId:b,jwtToken:h,headers:x,data:w={}}){return e({url:`/carts/${b}/tax-exempt-payment-method`,method:"POST",headers:Z({token:g,jwtToken:h,internalAuthTokenProvider:t,headers:x}),data:w})}},financingCosts:{create({token:g,jwtToken:b,headers:h,cartId:x,financingCost:w,query:H={}}){return e({url:`/carts/${x}/financing-costs`,method:"POST",params:H,headers:Z({token:g,jwtToken:b,internalAuthTokenProvider:t,headers:h}),data:{financingcost:w}})},delete({token:g,jwtToken:b,headers:h,cartId:x,query:w={}}){return e({url:`/carts/${x}/financing-costs`,method:"delete",params:w,headers:Z({token:g,jwtToken:b,internalAuthTokenProvider:t,headers:h})})}},expirationTime:{create({token:g,jwtToken:b,headers:h,cartId:x,expirationTime:w}){return e({url:`/carts/${x}/expiration-time`,method:"post",headers:Z({token:g,jwtToken:b,internalAuthTokenProvider:t,headers:h}),data:{expirationTimeData:w}})}}}}Ui.exports=g$});var Mi=m((lS,Li)=>{var{authorizationHeaders:y$}=y();function b$({client:e,internalAuthTokenProvider:t}){function n({token:u,GCNumber:a,query:c={},headers:r}){return e({url:`/gift-certificates/${a}`,params:c,headers:y$({token:u,internalAuthTokenProvider:t,headers:r})})}return{get:n}}Li.exports=b$});var Vi=m((hS,Ii)=>{var{authorizationHeaders:$$}=y();function x$({client:e,internalAuthTokenProvider:t}){function n({token:u,query:a={},headers:c}){return e.get("/custom-fields",{params:a,headers:$$({token:u,internalAuthTokenProvider:t,headers:c})})}return{all:n}}Ii.exports=x$});var Wi=m((gS,Ki)=>{var{authorizationHeaders:yr}=y();function q$({client:e,internalAuthTokenProvider:t}){function n({token:r,order:s,jwtToken:o,headers:i}){return e({url:"/order",method:"post",headers:yr({token:r,jwtToken:o,internalAuthTokenProvider:t,headers:i}),data:s})}function u({token:r,orderId:s,query:o={},headers:i}){return e({url:`/order/${s}`,params:o,headers:yr({token:r,internalAuthTokenProvider:t,headers:i})})}function a({token:r,orderId:s,payments:o,jwtToken:i,headers:d,query:p={}}){return e({url:`/orders/${s}/payments`,method:"post",data:o,params:p,headers:yr({token:r,jwtToken:i,internalAuthTokenProvider:t,headers:d})})}function c({token:r,jwtToken:s,headers:o,operation:i,query:d={}}){return e({url:"/orders",method:"patch",headers:yr({token:r,jwtToken:s,internalAuthTokenProvider:t,headers:o}),data:{operation:i},params:d})}return{create:n,get:u,overwrite:a,patch:c}}Ki.exports=q$});var Xi=m((yS,Ji)=>{var{authorizationHeaders:w$}=y();function O$({client:e,internalAuthTokenProvider:t}){function n({token:u,voucher:a,headers:c}){return e({url:`/vouchers/${a.number}?cartId=${a.cartId}&firstName=${a.firstName}&lastName=${a.lastName}&displayCurrencyCode=${a.displayCurrencyCode||""}`,headers:w$({token:u,internalAuthTokenProvider:t,headers:c})})}return{get:n}}Ji.exports=O$});var Qi=m((bS,Zi)=>{var{authorizationHeaders:Gi}=y();function F$({client:e,internalAuthTokenProvider:t}){function n({token:a,jwtToken:c,cartId:r,query:s={},headers:o}){return e({url:`/cart/${r}/promos`,method:"post",headers:Gi({token:a,jwtToken:c,internalAuthTokenProvider:t,headers:o}),params:s})}function u({token:a,jwtToken:c,cartId:r,query:s={},headers:o}){return e({url:`/cart/${r}`,method:"delete",headers:Gi({token:a,jwtToken:c,internalAuthTokenProvider:t,headers:o}),params:s})}return{create:n,remove:u}}Zi.exports=F$});var vi=m(($S,Yi)=>{var{authorizationHeaders:S$}=y();function E$({client:e,internalAuthTokenProvider:t}){function n({token:u,query:a={},headers:c}){return e.get("/bundles",{params:a,headers:S$({token:u,internalAuthTokenProvider:t,headers:c})})}return{all:n}}Yi.exports=E$});var ki=m((xS,Ti)=>{var{authorizationHeaders:Pi}=y();function _$({client:e,internalAuthTokenProvider:t}){function n({token:a,redeemableItemId:c,query:r={},headers:s}){return e({url:`/redeemable-items/${c}`,params:r,headers:Pi({token:a,internalAuthTokenProvider:t,headers:s})})}function u({token:a,jwtToken:c,query:r={},headers:s}){return e({url:"/redeemable-items",params:r,headers:Pi({token:a,jwtToken:c,headers:s})})}return{get:n,getValid:u}}Ti.exports=_$});var ed=m((qS,Ai)=>{var{authorizationHeaders:R$}=y();function z$({client:e,internalAuthTokenProvider:t}){function n({token:u,jwtToken:a,flexpassId:c,headers:r}){return e({url:`/flexpasses/${c}`,headers:R$({token:u,jwtToken:a,internalAuthTokenProvider:t,headers:r})})}return{get:n}}Ai.exports=z$});var rd=m((wS,td)=>{var{authorizationHeaders:H$}=y();function C$({client:e,internalAuthTokenProvider:t}){function n({token:u,data:a,jwtToken:c,headers:r}){return e({url:"/sync-entry",method:"patch",headers:H$({token:u,jwtToken:c,internalAuthTokenProvider:t,headers:r}),data:a})}return{patch:n}}td.exports=C$});var ad=m((OS,sd)=>{var{authorizationHeaders:j$}=y();function D$({client:e,internalAuthTokenProvider:t}){function n({token:u,jwtToken:a,id:c,headers:r,query:s={}}){return e({url:`/check-in/${c}`,params:s,headers:j$({token:u,jwtToken:a,internalAuthTokenProvider:t,headers:r})})}return{get:n}}sd.exports=D$});var nd=m((FS,od)=>{var{authorizationHeaders:kr}=y();function N$({client:e,internalAuthTokenProvider:t}){function n({token:c,jwtToken:r,cancelData:s,headers:o}){return e({url:"/cancellations",method:"POST",data:{cancellation:s},headers:kr({token:c,jwtToken:r,internalAuthTokenProvider:t,headers:o})})}function u({token:c,jwtToken:r,cancelSet:s,headers:o}){return e({url:"/cancellations",method:"PUT",data:s,headers:kr({token:c,jwtToken:r,internalAuthTokenProvider:t,headers:o})})}function a({token:c,jwtToken:r,pendingTransactionId:s,paymentResult:o,headers:i}){return e({url:`/cancellations/${s}`,method:"PUT",data:{paymentResult:o},headers:kr({token:c,jwtToken:r,internalAuthTokenProvider:t,headers:i})})}return{sets:{create:n},refunds:{create:u},update:a}}od.exports=N$});var cd=m((SS,ud)=>{function U$({client:e,internalAuthTokenProvider:t}){function n(){return e.get("/api-docs-v2",{})}return{get:n}}ud.exports=U$});var pd=m((ES,dd)=>{var{authorizationHeaders:id}=y();function B$({client:e,internalAuthTokenProvider:t}){function n({token:a,jwtToken:c,query:r={},headers:s}){return e.get("/accounting-items",{params:r,headers:id({token:a,jwtToken:c,internalAuthTokenProvider:t,headers:s})})}function u({accountingItemId:a,token:c,jwtToken:r,headers:s}){return e.get(`/accounting-items/${a}`,{headers:id({token:c,jwtToken:r,internalAuthTokenProvider:t,headers:s})})}return{all:n,get:u}}dd.exports=B$});var md=m((_S,fd)=>{var{authorizationHeaders:L$}=y();function M$({client:e,internalAuthTokenProvider:t}){function n({token:u,jwtToken:a,trxId:c,headers:r}){return e({url:"/appliedInsurances",params:{trxId:c},headers:L$({token:u,jwtToken:a,internalAuthTokenProvider:t,headers:r})})}return{all:n}}fd.exports=M$});var hd=m((RS,ld)=>{var{authorizationHeaders:I$}=y();function V$({client:e,internalAuthTokenProvider:t}){function n({token:u,query:a={},headers:c}){return e({url:"/calendar-entries",params:a,headers:I$({token:u,internalAuthTokenProvider:t,headers:c})})}return{all:n}}ld.exports=V$});var bd=m((zS,yd)=>{var{authorizationHeaders:gd}=y();function K$({client:e,internalAuthTokenProvider:t}){function n({jwtToken:a,token:c,externalBooking:r,headers:s,query:o={}}){return e({url:"/external-bookings",method:"post",data:r,params:o,headers:gd({token:c,jwtToken:a,internalAuthTokenProvider:t,headers:s})})}function u({jwtToken:a,token:c,ticketId:r,headers:s}){return e({url:`/external-bookings/${r}`,method:"delete",headers:gd({token:c,jwtToken:a,internalAuthTokenProvider:t,headers:s})})}return{create:n,remove:u}}yd.exports=K$});var xd=m((HS,$d)=>{var{authorizationHeaders:W$}=y();function J$({client:e,internalAuthTokenProvider:t}){function n({jwtToken:u,token:a,flexpassId:c,tripId:r,headers:s}){return e({url:`/flexpasses/${c}/scannings/${r}`,method:"delete",headers:W$({token:a,jwtToken:u,internalAuthTokenProvider:t,headers:s})})}return{deleteScanBytripId:n}}$d.exports=J$});var wd=m((CS,qd)=>{var{authorizationHeaders:X$}=y();function G$({client:e,internalAuthTokenProvider:t}){function n({jwtToken:u,token:a,customer:c,page:r,headers:s}){let o={customer:c};return r!=null&&(o.page=r),e({url:"/gift-certificates",method:"get",params:o,headers:X$({token:a,jwtToken:u,internalAuthTokenProvider:t,headers:s})})}return{list:n}}qd.exports=G$});var Sd=m((jS,Fd)=>{var{authorizationHeaders:Od}=y();function Z$({client:e,internalAuthTokenProvider:t}){function n({token:a,jwtToken:c,query:r={},headers:s}){return e.get("/loans",{params:r,headers:Od({token:a,jwtToken:c,internalAuthTokenProvider:t,headers:s})})}function u({loanId:a,token:c,jwtToken:r,headers:s}){return e.get(`/loans/${a}`,{headers:Od({token:c,jwtToken:r,internalAuthTokenProvider:t,headers:s})})}return{all:n,get:u}}Fd.exports=Z$});var Rd=m((DS,_d)=>{function Ed(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var u=Object.getOwnPropertySymbols(e);t&&(u=u.filter(function(a){return Object.getOwnPropertyDescriptor(e,a).enumerable})),n.push.apply(n,u)}return n}function Q$(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?Ed(Object(n),!0).forEach(function(u){Y$(e,u,n[u])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Ed(Object(n)).forEach(function(u){Object.defineProperty(e,u,Object.getOwnPropertyDescriptor(n,u))})}return e}function Y$(e,t,n){return(t=v$(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function v$(e){var t=P$(e,"string");return typeof t=="symbol"?t:t+""}function P$(e,t){if(typeof e!="object"||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var u=n.call(e,t||"default");if(typeof u!="object")return u;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}var{authorizationHeaders:N}=y();function T$({client:e,internalAuthTokenProvider:t}){function n({token:R,jwtToken:z,headers:F,data:S}){return e({url:"/manifests/dispatch/reporting",method:"post",headers:N({token:R,jwtToken:z,internalAuthTokenProvider:t,headers:F}),data:S})}function u({token:R,jwtToken:z,headers:F,manifestId:S,data:O}){return e({url:`manifests/${S}/dispatch/reporting`,method:"put",headers:N({token:R,jwtToken:z,internalAuthTokenProvider:t,headers:F}),data:O})}function a({token:R,jwtToken:z,headers:F,manifestId:S,data:O,query:E}){return e({url:`manifests/${S}/dispatches`,method:"post",headers:N({token:R,jwtToken:z,internalAuthTokenProvider:t,headers:F}),data:O,params:E})}function c({token:R,jwtToken:z,query:F={},headers:S}){return e({url:"/manifests",method:"get",params:F,headers:N({token:R,jwtToken:z,internalAuthTokenProvider:t,headers:S})})}function r({token:R,jwtToken:z,manifestId:F,query:S={},headers:O}){return e({url:`/manifests/${F}`,method:"get",params:S,headers:N({token:R,jwtToken:z,internalAuthTokenProvider:t,headers:O})})}function s({token:R,jwtToken:z,data:F,headers:S,mode:O}){let E={mode:"sync"};return O&&(E.mode=O),e({url:"/manifests/status",params:E,method:"put",headers:N({token:R,jwtToken:z,internalAuthTokenProvider:t,headers:S}),data:F})}function o({token:R,jwtToken:z,providerId:F,data:S,headers:O}){return e({url:"/all-manifests",method:"post",params:{providerId:F},headers:N({token:R,jwtToken:z,internalAuthTokenProvider:t,headers:O}),data:S})}function i({token:R,jwtToken:z,query:F={},headers:S}){return e({url:"/outlook-manifests",method:"get",params:F,headers:N({token:R,jwtToken:z,internalAuthTokenProvider:t,headers:S})})}function d({token:R,jwtToken:z,query:F={},operations:S,headers:O}){return e({url:"/manifests",method:"patch",params:F,headers:N({token:R,jwtToken:z,internalAuthTokenProvider:t,headers:O}),data:{operations:S}})}function p({token:R,jwtToken:z,providerId:F,data:S,headers:O,query:E={}}){return e({url:"/manifests",method:"put",params:Q$({providerId:F,manifestId:S.manifestId},E),headers:N({token:R,jwtToken:z,internalAuthTokenProvider:t,headers:O}),data:S})}function f({token:R,jwtToken:z,manifestId:F,query:S={},data:O,headers:E}){return e({url:`/manifests/${F}/users`,method:"post",headers:N({token:R,jwtToken:z,internalAuthTokenProvider:t,headers:E}),params:S,data:O})}function l({token:R,jwtToken:z,manifestId:F,userId:S,headers:O}){return e({url:`/manifests/${F}/users/${S}`,method:"delete",headers:N({token:R,jwtToken:z,internalAuthTokenProvider:t,headers:O})})}function q({token:R,jwtToken:z,manifestId:F,query:S={},data:O,headers:E}){return e({url:`/manifests/${F}/capacity-exceptions`,method:"post",headers:N({token:R,jwtToken:z,internalAuthTokenProvider:t,headers:E}),params:S,data:O})}function g({token:R,jwtToken:z,manifestId:F,exceptionId:S,headers:O}){return e({url:`/manifests/${F}/capacity-exceptions/${S}`,method:"delete",headers:N({token:R,jwtToken:z,internalAuthTokenProvider:t,headers:O})})}function b({token:R,jwtToken:z,manifestId:F,query:S={},data:O,headers:E}){return e({url:`/manifests/${F}/comments`,method:"put",headers:N({token:R,jwtToken:z,internalAuthTokenProvider:t,headers:E}),params:S,data:O})}function h({token:R,jwtToken:z,manifestId:F,query:S={},data:O,headers:E}){return e({url:`/manifests/${F}/status`,method:"put",headers:N({token:R,jwtToken:z,internalAuthTokenProvider:t,headers:E}),params:S,data:O})}function x({token:R,jwtToken:z,manifestKey:F,query:S={},headers:O}){return e({url:`/manifests/${F}/sales-authorizations`,method:"get",params:S,headers:N({token:R,jwtToken:z,internalAuthTokenProvider:t,headers:O})})}return{get:c,getAll:o,getById:r,outlook:i,patch:d,save:p,addUser:f,removeUser:l,updateComment:b,updateStatus:h,addCapacityException:q,removeCapacityException:g,dispatch:a,updateDispatchReporting:u,createDispatchReporting:n,statusBulkUpdate:s,getSalesAuthorizations:x,manifestsExceptions:{update({token:R,jwtToken:z,manifestKey:F,manifestException:S,headers:O,query:E={}}){return e({url:`/manifests/${F}/manifests-exceptions`,method:"put",headers:N({token:R,jwtToken:z,internalAuthTokenProvider:t,headers:O}),params:E,data:{manifestException:S}})}},checkIn:{create({token:R,jwtToken:z,query:F={},headers:S,data:O,manifestId:E,legFromId:j}){return e({url:`/manifests/${E}/checkin/${j}`,method:"post",headers:N({token:R,jwtToken:z,internalAuthTokenProvider:t,headers:S}),params:F,data:O})},open({token:R,jwtToken:z,query:F={},headers:S,manifestId:O,legFromId:E}){return e({url:`/manifests/${O}/checkin/${E}`,method:"patch",headers:N({token:R,jwtToken:z,internalAuthTokenProvider:t,headers:S}),params:F,data:{operation:{name:"open_check_in"}}})},close({token:R,jwtToken:z,query:F={},headers:S,manifestId:O,legFromId:E}){return e({url:`/manifests/${O}/checkin/${E}`,method:"patch",headers:N({token:R,jwtToken:z,internalAuthTokenProvider:t,headers:S}),params:F,data:{operation:{name:"close_check_in"}}})}},legs:{update({token:R,jwtToken:z,data:F,query:S={},headers:O,manifestId:E,legFromId:j}){return e({url:`/manifests/${E}/legs/${j}`,method:"put",headers:N({token:R,jwtToken:z,internalAuthTokenProvider:t,headers:O}),params:S,data:F})},tickets:{update({token:R,jwtToken:z,data:F,query:S={},headers:O,manifestId:E,legFromId:j,ticketId:ge}){return e({url:`/manifests/${E}/legs/${j}/tickets/${ge}`,method:"put",headers:N({token:R,jwtToken:z,internalAuthTokenProvider:t,headers:O}),params:S,data:F})},noshow({token:R,jwtToken:z,query:F={},headers:S,manifestId:O,legFromId:E,ticketId:j}){return e({url:`/manifests/${O}/legs/${E}/tickets/${j}/noshow`,method:"put",headers:N({token:R,jwtToken:z,internalAuthTokenProvider:t,headers:S}),params:F})}}},reports:{get({token:R,jwtToken:z,query:F={},responseType:S="json",id:O,headers:E}){return e({url:`/manifests/${O}/reports`,method:"get",responseType:S,params:F,headers:N({token:R,jwtToken:z,internalAuthTokenProvider:t,headers:E})})}},labels:{add({token:R,jwtToken:z,manifestId:F,query:S={},headers:O,data:E}){return e({url:`/manifests/${F}/labels`,method:"post",headers:N({token:R,jwtToken:z,internalAuthTokenProvider:t,headers:O}),params:S,data:E})},remove({token:R,jwtToken:z,manifestId:F,labelId:S,headers:O}){return e({url:`/manifests/${F}/labels/${S}`,method:"delete",headers:N({token:R,jwtToken:z,internalAuthTokenProvider:t,headers:O})})}},driverRelays:{update({token:R,jwtToken:z,manifestId:F,query:S={bypassValidation:!1},headers:O,data:E}){return e({url:`/manifests/${F}/driver-relays`,method:"put",headers:N({token:R,jwtToken:z,internalAuthTokenProvider:t,headers:O}),params:S,data:E})}},tripClose:{add({token:R,jwtToken:z,manifestId:F,query:S={},headers:O}){return e({url:`/manifests/${F}/trip-close`,method:"post",headers:N({token:R,jwtToken:z,internalAuthTokenProvider:t,headers:O}),params:S})}}}}_d.exports=T$});var Hd=m((NS,zd)=>{var{authorizationHeaders:k$}=y();function A$({client:e,internalAuthTokenProvider:t}){function n({token:u,jwtToken:a,ticketId:c,params:r,headers:s}){return e({url:`/manifest-leg-for-tickets/${c}`,headers:k$({token:u,jwtToken:a,internalAuthTokenProvider:t,headers:s}),params:r})}return{get:n}}zd.exports=A$});var jd=m((US,Cd)=>{var{authorizationHeaders:ex}=y();function tx({client:e,internalAuthTokenProvider:t}){function n({token:u,jwtToken:a,movement:c,query:r={},headers:s}){return e({url:"/movements",method:"post",params:r,headers:ex({token:u,jwtToken:a,internalAuthTokenProvider:t,headers:s}),data:c})}return{create:n}}Cd.exports=tx});var Nd=m((BS,Dd)=>{var{authorizationHeaders:rx}=y();function sx({client:e,internalAuthTokenProvider:t}){function n({token:u,jwtToken:a,query:c={},headers:r}){return e({url:"/outlook-trips",headers:rx({token:u,jwtToken:a,internalAuthTokenProvider:t,headers:r}),params:c})}return{get:n}}Dd.exports=sx});var Bd=m((LS,Ud)=>{var{authorizationHeaders:Ar}=y();function ax({client:e,internalAuthTokenProvider:t}){function n({token:c,jwtToken:r,payment:s,headers:o}){return e({method:"post",url:"/pago-express/info",data:{payment:s},headers:Ar({token:c,jwtToken:r,internalAuthTokenProvider:t,headers:o})})}function u({token:c,jwtToken:r,payment:s,headers:o}){return e({method:"post",url:"/pago-express/pay",data:{payment:s},headers:Ar({token:c,jwtToken:r,internalAuthTokenProvider:t,headers:o})})}function a({token:c,jwtToken:r,reversePayment:s,headers:o}){return e({method:"post",url:"/pago-express/reverse",data:{reversePayment:s},headers:Ar({token:c,jwtToken:r,internalAuthTokenProvider:t,headers:o})})}return{info:n,pay:u,reverse:a}}Ud.exports=ax});var Vd=m((MS,Id)=>{function Ld(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var u=Object.getOwnPropertySymbols(e);t&&(u=u.filter(function(a){return Object.getOwnPropertyDescriptor(e,a).enumerable})),n.push.apply(n,u)}return n}function Md(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?Ld(Object(n),!0).forEach(function(u){ox(e,u,n[u])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Ld(Object(n)).forEach(function(u){Object.defineProperty(e,u,Object.getOwnPropertyDescriptor(n,u))})}return e}function ox(e,t,n){return(t=nx(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function nx(e){var t=ux(e,"string");return typeof t=="symbol"?t:t+""}function ux(e,t){if(typeof e!="object"||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var u=n.call(e,t||"default");if(typeof u!="object")return u;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}var{authorizationHeaders:Dt}=y();function cx({client:e,internalAuthTokenProvider:t}){function n({token:s,jwtToken:o,id:i,headers:d}){return e({url:`/parcels/${i}`,headers:Dt({token:s,jwtToken:o,internalAuthTokenProvider:t,headers:d})})}function u({token:s,jwtToken:o,query:i={},headers:d,providerId:p}){let f=p?Md(Md({},i),{},{providerId:p}):i;return e({url:"/parcels",params:f,headers:Dt({token:s,jwtToken:o,internalAuthTokenProvider:t,headers:d})})}function a({token:s,jwtToken:o,id:i,operationType:d,locationData:p,headers:f}){return e({url:`/parcels/${i}/scans`,method:"post",headers:Dt({token:s,jwtToken:o,internalAuthTokenProvider:t,headers:f}),data:{operationType:d,locationData:p}})}function c({token:s,jwtToken:o,headers:i,id:d,comment:p}){return e({url:`/parcels/${d}/user-comments`,method:"post",headers:Dt({token:s,jwtToken:o,internalAuthTokenProvider:t,headers:i}),data:{comment:p}})}function r({token:s,jwtToken:o,headers:i,id:d,commentId:p}){return e({url:`/parcels/${d}/user-comments/${p}`,method:"delete",headers:Dt({token:s,jwtToken:o,internalAuthTokenProvider:t,headers:i})})}return{get:n,all:u,addScan:a,addComment:c,deleteComment:r}}Id.exports=cx});var Wd=m((IS,Kd)=>{var{authorizationHeaders:We}=y();function ix({client:e,internalAuthTokenProvider:t}){function n({token:s,jwtToken:o,query:i,headers:d}){return e({url:"/parcels-manifests",headers:We({token:s,jwtToken:o,internalAuthTokenProvider:t,headers:d}),params:i})}function u({token:s,jwtToken:o,id:i,format:d,headers:p}){return e({url:`/parcels-manifests/${i}`,method:"get",headers:We({token:s,jwtToken:o,internalAuthTokenProvider:t,headers:p}),params:d!=null?{format:d}:void 0})}function a({token:s,jwtToken:o,query:i={},data:d,headers:p}){return e({url:"/parcels-manifests",method:"post",headers:We({token:s,jwtToken:o,internalAuthTokenProvider:t,headers:p}),params:i,data:d})}return{all:n,get:u,create:a,parcels:{remove({token:s,jwtToken:o,manifestId:i,parcelId:d,headers:p}){return e({url:`/parcels-manifests/${i}/parcels/${d}`,method:"delete",headers:We({token:s,jwtToken:o,internalAuthTokenProvider:t,headers:p})})},create({token:s,jwtToken:o,manifestId:i,query:d={},data:p,headers:f}){return e({url:`/parcels-manifests/${i}/parcels`,method:"post",headers:We({token:s,jwtToken:o,internalAuthTokenProvider:t,headers:f}),params:d,data:p})}},vehicles:{createOrUpdate({token:s,jwtToken:o,manifestId:i,query:d={},data:p,headers:f}){return e({url:`/parcels-manifests/${i}/vehicles`,method:"post",headers:We({token:s,jwtToken:o,internalAuthTokenProvider:t,headers:f}),params:d,data:{parcelManifestVehicle:p}})}}}}Kd.exports=ix});var Xd=m((VS,Jd)=>{var{authorizationHeaders:br}=y();function dx({client:e,internalAuthTokenProvider:t}){function n({token:r,jwtToken:s,query:o,headers:i}){return e({url:"/passenger-check-in-info",headers:br({token:r,jwtToken:s,internalAuthTokenProvider:t,headers:i}),params:o})}function u({token:r,jwtToken:s,id:o,headers:i}){return e({url:`/passenger-check-in-info/${o}`,method:"get",headers:br({token:r,jwtToken:s,internalAuthTokenProvider:t,headers:i})})}function a({token:r,jwtToken:s,id:o,data:i,headers:d,query:p}){return e({url:`/passenger-check-in-info/${o}`,method:"put",params:p,headers:br({token:r,jwtToken:s,internalAuthTokenProvider:t,headers:d}),data:i})}function c({token:r,jwtToken:s,query:o={},data:i,headers:d}){return e({url:"/passenger-check-in-info",method:"post",headers:br({token:r,jwtToken:s,internalAuthTokenProvider:t,headers:d}),params:o,data:i})}return{all:n,get:u,update:a,create:c}}Jd.exports=dx});var Zd=m((KS,Gd)=>{var{authorizationHeaders:es}=y();function px({client:e,internalAuthTokenProvider:t}){function n({token:c,jwtToken:r,redemption:s,headers:o}){return e({url:"/redemptions",method:"post",headers:es({token:c,jwtToken:r,internalAuthTokenProvider:t,headers:o}),data:s})}function u({token:c,jwtToken:r,passId:s,timezone:o,headers:i}){return e({url:`/redemptions/validate/${s}`,params:{timezone:o},method:"get",headers:es({token:c,jwtToken:r,internalAuthTokenProvider:t,headers:i})})}function a({token:c,jwtToken:r,data:s,headers:o}){return e({url:"/unredeem",method:"post",headers:es({token:c,jwtToken:r,internalAuthTokenProvider:t,headers:o}),data:s})}return{create:n,getValidate:u,unredeem:a}}Gd.exports=px});var vd=m((WS,Yd)=>{var{authorizationHeaders:Qd}=y();function fx({client:e,internalAuthTokenProvider:t}){return{manifestForecasts:{all({token:u,jwtToken:a,query:c={},headers:r}){return e.get("/rms/manifest-forecast",{params:c,headers:Qd({token:u,jwtToken:a,internalAuthTokenProvider:t,headers:r})})},get({scheduleId:u,token:a,jwtToken:c,query:r={},headers:s}){return e.get(`/rms/manifest-forecast/${u}`,{params:r,headers:Qd({token:a,jwtToken:c,internalAuthTokenProvider:t,headers:s})})}}}}Yd.exports=fx});var Td=m((JS,Pd)=>{var{authorizationHeaders:Nt}=y();function mx({client:e,internalAuthTokenProvider:t}){function n({token:s,jwtToken:o,query:i,headers:d}){return e({url:"/scheduled-notifications",headers:Nt({token:s,jwtToken:o,internalAuthTokenProvider:t,headers:d}),params:i})}function u({token:s,jwtToken:o,id:i,headers:d}){return e({url:`/scheduled-notifications/${i}`,method:"get",headers:Nt({token:s,jwtToken:o,internalAuthTokenProvider:t,headers:d})})}function a({token:s,jwtToken:o,id:i,data:d,headers:p,query:f}){return e({url:`/scheduled-notifications/${i}`,method:"put",params:f,headers:Nt({token:s,jwtToken:o,internalAuthTokenProvider:t,headers:p}),data:d})}function c({token:s,jwtToken:o,id:i,headers:d}){return e({url:`/scheduled-notifications/${i}`,method:"delete",headers:Nt({token:s,jwtToken:o,internalAuthTokenProvider:t,headers:d})})}function r({token:s,jwtToken:o,query:i={},data:d,headers:p}){return e({url:"/scheduled-notifications",method:"post",headers:Nt({token:s,jwtToken:o,internalAuthTokenProvider:t,headers:p}),params:i,data:d})}return{all:n,get:u,update:a,remove:c,create:r}}Pd.exports=mx});var Ad=m((XS,kd)=>{var{authorizationHeaders:lx}=y();function hx({client:e,internalAuthTokenProvider:t}){function n({token:u,jwtToken:a,productId:c,ticketId:r,providerId:s,headers:o}){return e({url:`/products/${c}/segments/${r}`,headers:lx({token:u,jwtToken:a,internalAuthTokenProvider:t,headers:o}),params:{providerId:s}})}return{all:n}}kd.exports=hx});var tp=m((GS,ep)=>{var{authorizationHeaders:gx}=y();function yx({client:e,internalAuthTokenProvider:t}){function n({token:u,jwtToken:a,query:c={},headers:r}){return e.get("/sold-items/fulfillment",{params:c,headers:gx({token:u,jwtToken:a,internalAuthTokenProvider:t,headers:r})})}return{all:n}}ep.exports=yx});var ap=m((ZS,sp)=>{var{authorizationHeaders:rp}=y();function bx({client:e,internalAuthTokenProvider:t}){function n({token:a,jwtToken:c,soldItemId:r,headers:s,query:o}){return e.get(`/sold-items/${r}`,{params:o,headers:rp({token:a,jwtToken:c,internalAuthTokenProvider:t,headers:s})})}function u({token:a,jwtToken:c,headers:r,query:s}){return e.get("/sold-items",{params:s,headers:rp({token:a,jwtToken:c,internalAuthTokenProvider:t,headers:r})})}return{all:u,get:n}}sp.exports=bx});var cp=m((QS,up)=>{function op(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var u=Object.getOwnPropertySymbols(e);t&&(u=u.filter(function(a){return Object.getOwnPropertyDescriptor(e,a).enumerable})),n.push.apply(n,u)}return n}function np(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?op(Object(n),!0).forEach(function(u){$x(e,u,n[u])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):op(Object(n)).forEach(function(u){Object.defineProperty(e,u,Object.getOwnPropertyDescriptor(n,u))})}return e}function $x(e,t,n){return(t=xx(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function xx(e){var t=qx(e,"string");return typeof t=="symbol"?t:t+""}function qx(e,t){if(typeof e!="object"||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var u=n.call(e,t||"default");if(typeof u!="object")return u;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}var{authorizationHeaders:Je}=y();function wx({client:e,internalAuthTokenProvider:t}){function n({token:o,jwtToken:i,id:d,headers:p,query:f}){return e({url:`/tickets/${d}`,method:"get",params:f,headers:Je({token:o,jwtToken:i,internalAuthTokenProvider:t,headers:p})})}function u({token:o,jwtToken:i,id:d,operations:p,warningsEnabled:f,headers:l}){return e({url:`/tickets/${d}`,method:"patch",headers:Je({token:o,jwtToken:i,internalAuthTokenProvider:t,headers:l}),data:{operations:p,warningsEnabled:f}})}function a({token:o,jwtToken:i,ticketId:d,headers:p}){return e({url:`/tickets/${d}/companion-tickets`,headers:Je({token:o,jwtToken:i,headers:p})})}function c({token:o,jwtToken:i,query:d={},headers:p,providerId:f}){let l=f?np(np({},d),{},{providerId:f}):d;return e({url:"/tickets",params:l,headers:Je({token:o,jwtToken:i,internalAuthTokenProvider:t,headers:p})})}function r({token:o,jwtToken:i,ticketId:d,data:p,headers:f}){return e({url:`/tickets/${d}/delivery`,method:"put",headers:Je({token:o,jwtToken:i,internalAuthTokenProvider:t,headers:f}),data:p})}function s({token:o,jwtToken:i,ticketId:d,data:p,headers:f}){return e({url:`/tickets/${d}/passenger`,method:"put",headers:Je({token:o,jwtToken:i,internalAuthTokenProvider:t,headers:f}),data:p})}return{get:n,all:c,patch:u,companionTickets:a,updateDelivery:r,updatePassenger:s}}up.exports=wx});var dp=m((YS,ip)=>{var{authorizationHeaders:Ox}=y();function Fx({client:e,internalAuthTokenProvider:t}){function n({token:u,jwtToken:a,id:c,providerId:r,headers:s}){return e({url:`/transaction/${c}?providerId=${r}`,headers:Ox({token:u,jwtToken:a,internalAuthTokenProvider:t,headers:s})})}return{get:n}}ip.exports=Fx});var fp=m((vS,pp)=>{var{authorizationHeaders:ee}=y();function Sx({client:e,internalAuthTokenProvider:t}){function n({token:l,jwtToken:q,trxId:g,query:b,headers:h}){return e({url:`/transactions/${g}`,headers:ee({token:l,jwtToken:q,internalAuthTokenProvider:t,headers:h}),params:b})}function u({token:l,jwtToken:q,query:g,headers:b}){return e({url:"/transactions",headers:ee({token:l,jwtToken:q,internalAuthTokenProvider:t,headers:b}),params:g})}function a({token:l,jwtToken:q,trxId:g,headers:b}){return e({url:`/transactions/${g}/tickets`,headers:ee({token:l,jwtToken:q,internalAuthTokenProvider:t,headers:b})})}function c({token:l,jwtToken:q,trxId:g,headers:b}){return e({url:`/transactions/${g}/applied-insurance`,headers:ee({token:l,jwtToken:q,internalAuthTokenProvider:t,headers:b})})}function r({token:l,jwtToken:q,transactionId:g,ticketIds:b,headers:h}){return e({url:`/transactions/${g}/companion-tickets`,params:{ticketIds:b.join(",")},headers:ee({token:l,jwtToken:q,internalAuthTokenProvider:t,headers:h})})}function s({jwtToken:l,transactionId:q,allEligibleTransactions:g,avoidEmail:b,token:h,headers:x}){let w={name:"expire_payment",avoidEmail:b,transactionIds:[q]};return g&&delete w.transactionIds,e({url:"/transactions/status",method:"patch",params:{},headers:ee({internalAuthTokenProvider:t,jwtToken:l,token:h,headers:x}),data:{operation:w}})}function o({token:l,jwtToken:q,transactionId:g,headers:b,displayAll:h,channel:x}){return e({url:`/transactions/${g}/cancellable-items`,params:{displayAll:!!h,channel:x||""},headers:ee({token:l,jwtToken:q,internalAuthTokenProvider:t,headers:b})})}let i={update({token:l,jwtToken:q,trxId:g,paymentResult:b,headers:h}){return e({url:`/transactions/${g}/payments`,method:"put",headers:ee({token:l,jwtToken:q,internalAuthTokenProvider:t,headers:h}),data:{paymentResult:b}})}},d={create({token:l,jwtToken:q,transactionId:g,query:b,invoice:h,headers:x}){return e({url:`/transactions/${g}/invoices`,method:"post",headers:ee({token:l,jwtToken:q,internalAuthTokenProvider:t,headers:x}),params:b,data:h})}},p={create({token:l,jwtToken:q,transactionId:g,query:b,creditNote:h,headers:x}){return e({url:`/transactions/${g}/credit-notes`,method:"post",headers:ee({token:l,jwtToken:q,internalAuthTokenProvider:t,headers:x}),params:b,data:h})}};function f({token:l,jwtToken:q,trxId:g,data:b,headers:h}){return e({url:`/transactions/${g}/delivery`,method:"put",headers:ee({token:l,jwtToken:q,internalAuthTokenProvider:t,headers:h}),data:b})}return{all:u,get:n,getTickets:a,appliedInsurance:c,companionTickets:r,expireAll:s,updateDelivery:f,cancellableItems:o,payments:i,invoices:d,creditNotes:p}}pp.exports=Sx});var lp=m((PS,mp)=>{var{authorizationHeaders:Ex}=y();function _x({client:e,internalAuthTokenProvider:t}){function n({token:u,jwtToken:a,productId:c,params:r,headers:s}){return e({url:`/trip-change-info/${c}`,headers:Ex({token:u,jwtToken:a,internalAuthTokenProvider:t,headers:s}),params:r})}return{get:n}}mp.exports=_x});var yp=m((TS,gp)=>{var{authorizationHeaders:hp}=y();function Rx({client:e,internalAuthTokenProvider:t}){function n({token:a,jwtToken:c,headers:r}){return e({url:"/cancellation-settings",method:"get",headers:hp({token:a,jwtToken:c,internalAuthTokenProvider:t,headers:r})})}function u({token:a,jwtToken:c,data:r,headers:s}){return e({url:"/cancellation-settings",method:"put",headers:hp({token:a,jwtToken:c,internalAuthTokenProvider:t,headers:s}),data:r})}return{get:n,update:u}}gp.exports=Rx});var $p=m((kS,bp)=>{var{authorizationHeaders:$r}=y();function zx({client:e,internalAuthTokenProvider:t}){return{all({token:n,jwtToken:u,query:a={},headers:c}){return e({url:"/vehicle-assignments",params:a,headers:$r({token:n,jwtToken:u,internalAuthTokenProvider:t,headers:c})})},get({token:n,jwtToken:u,vehicleAssignmentId:a,headers:c}){return e.get(`/vehicle-assignments/${a}`,{headers:$r({token:n,jwtToken:u,internalAuthTokenProvider:t,headers:c})})},create({data:n,token:u,jwtToken:a,headers:c}){return e({url:"/vehicle-assignments",method:"post",headers:$r({token:u,jwtToken:a,internalAuthTokenProvider:t,headers:c}),data:n})},update({vehicleAssignmentId:n,data:u,token:a,jwtToken:c,headers:r}){return e({url:`/vehicle-assignments/${n}`,method:"put",headers:$r({token:a,jwtToken:c,internalAuthTokenProvider:t,headers:r}),data:u})}}}bp.exports=zx});var wp=m((AS,qp)=>{var{authorizationHeaders:xp}=y();function Hx({client:e,internalAuthTokenProvider:t}){function n({jwtToken:a,token:c,headers:r,query:s={},voucher:o={}}){return e({url:"/vouchers",method:"POST",params:s,data:o,headers:xp({jwtToken:a,token:c,internalAuthTokenProvider:t,headers:r})})}function u({token:a,jwtToken:c,compensation:r,query:s={},headers:o}){return e({url:"/vouchers/compensations",method:"post",params:s,headers:xp({token:a,jwtToken:c,internalAuthTokenProvider:t,headers:o}),data:r})}return{create:n,compensations:{create:u}}}qp.exports=Hx});var Fp=m((eE,Op)=>{var{authorizationHeaders:xr}=y();function Cx({client:e,internalAuthTokenProvider:t}){function n({token:r,jwtToken:s,query:o,headers:i}){return e({url:"/waitlists",headers:xr({token:r,jwtToken:s,internalAuthTokenProvider:t,headers:i}),params:o})}function u({token:r,jwtToken:s,waitlistId:o,headers:i}){return e({url:`/waitlists/${o}`,method:"get",headers:xr({token:r,jwtToken:s,internalAuthTokenProvider:t,headers:i})})}function a({token:r,jwtToken:s,waitlistId:o,headers:i}){return e({url:`/waitlists/${o}`,method:"delete",headers:xr({token:r,jwtToken:s,internalAuthTokenProvider:t,headers:i})})}function c({token:r,jwtToken:s,data:o,headers:i}){return e({url:"/waitlists",method:"post",headers:xr({token:r,jwtToken:s,internalAuthTokenProvider:t,headers:i}),data:o})}return{all:n,get:u,remove:a,create:c}}Op.exports=Cx});var Ep=m((tE,Sp)=>{var{authorizationHeaders:jx}=y();function Dx({client:e,internalAuthTokenProvider:t}){return{cnrt:{create({data:u,token:a,jwtToken:c,headers:r}){return e({url:"/transport-regulations/cnrt/manifests",method:"post",headers:jx({token:a,jwtToken:c,internalAuthTokenProvider:t,headers:r}),data:u})}}}}Sp.exports=Dx});var zp=m((rE,Rp)=>{var{authorizationHeaders:_p}=y();function Nx({client:e,internalAuthTokenProvider:t}){function n({token:a,jwtToken:c,id:r,headers:s}){return e({url:`/types/${r}`,headers:_p({token:a,jwtToken:c,internalAuthTokenProvider:t,headers:s})})}function u({token:a,jwtToken:c,name:r,headers:s}){return e({url:`/types?name=${r}`,headers:_p({token:a,jwtToken:c,internalAuthTokenProvider:t,headers:s})})}return{get:n,getByName:u}}Rp.exports=Nx});var Cp=m((sE,Hp)=>{var{authorizationHeaders:ts}=y();function Ux({client:e,internalAuthTokenProvider:t}){function n({token:c,customReport:r,jwtToken:s,headers:o}){return e({url:"/custom-reports",method:"post",headers:ts({token:c,jwtToken:s,internalAuthTokenProvider:t,headers:o}),data:{customReport:r}})}function u({token:c,jwtToken:r,query:s={},headers:o}){return e({url:"/custom-reports",params:s,headers:ts({token:c,jwtToken:r,internalAuthTokenProvider:t,headers:o})})}function a({token:c,jwtToken:r,customReportId:s,headers:o}){return e({url:`/custom-reports/${s}`,method:"delete",headers:ts({token:c,jwtToken:r,internalAuthTokenProvider:t,headers:o})})}return{create:n,all:u,remove:a}}Hp.exports=Ux});var Dp=m((aE,jp)=>{var{authorizationHeaders:Bx}=y();function Lx({client:e,internalAuthTokenProvider:t}){function n({token:u,jwtToken:a,report:c,headers:r}){return e({url:"/email",method:"post",data:c,headers:Bx({token:u,jwtToken:a,internalAuthTokenProvider:t,headers:r})})}return{post:n}}jp.exports=Lx});var Up=m((oE,Np)=>{var{authorizationHeaders:Mx}=y();function Ix({client:e,internalAuthTokenProvider:t}){function n({token:u,jwtToken:a,query:c={},headers:r}){return e({url:"/trip-manifests",params:c,headers:Mx({token:u,jwtToken:a,internalAuthTokenProvider:t,headers:r})})}return{all:n}}Np.exports=Ix});var Mp=m((nE,Lp)=>{var{authorizationHeaders:Bp}=y();function Vx({client:e,internalAuthTokenProvider:t}){function n({token:a,jwtToken:c,query:r={},data:s,headers:o}){return e({url:"/manifest-notifications",method:"post",params:r,data:s,headers:Bp({token:a,jwtToken:c,internalAuthTokenProvider:t,headers:o})})}function u({token:a,query:c={},headers:r}){return e.get("/manifest-notifications",{params:c,headers:Bp({token:a,internalAuthTokenProvider:t,headers:r})})}return{create:n,all:u}}Lp.exports=Vx});var Vp=m((uE,Ip)=>{var{authorizationHeaders:Kx}=y();function Wx({client:e,internalAuthTokenProvider:t}){function n({token:u,jwtToken:a,responseType:c="json",trxId:r,lang:s,date:o,channel:i,headers:d}){return e({url:"/printed-tickets",params:{trxId:r,lang:s,date:o,channel:i},responseType:c,headers:Kx({token:u,jwtToken:a,internalAuthTokenProvider:t,headers:d})})}return{get:n}}Ip.exports=Wx});var Wp=m((cE,Kp)=>{var{authorizationHeaders:Jx}=y();function Xx({client:e,internalAuthTokenProvider:t}){function n({token:u,jwtToken:a,query:c={},itemId:r,headers:s,responseType:o}){let i=`/pdf-tickets/${r}`;if(c.type==="product")switch(c.family){case"ticket":i=`/pdf-tickets/${r}`;break;case"reservation":i=`/pdf-reservations/${r}`;break;case"paid in":i=`/pdf-paid-ins/${r}`;break;case"paid out":i=`/pdf-paid-outs/${r}`;break;case"parcel":i=`/pdf-parcels/${r}`;break;case"flexpass":i=`/pdf-flexpasses/${r}`;break;case"bundle":case"open-return":i=`/pdf-redeemable-items/${r}`;break;default:break}return c.type==="giftCertificate"&&(i=`/pdf-gift-certificates/${r}`),c.type==="voucher"&&(i=`/pdf-vouchers/${r}`),c.type==="transaction"&&(i=`/pdf-transactions/${r}`),c.type==="ssr"&&(i=`/pdf-ssrs/${r}`),c.type==="manifest"&&(i=`/pdf-manifests/${r}`),c.type==="passengersManifest"&&(i=`/pdf-passengers-manifests/${r}`),c.type==="order"&&(i=`/pdf-orders/${r}`),c.type==="shift"&&(i=`/pdf-shifts/${r}`),c.type==="remainderSlip"&&(i=`/pdf-remainder-slip/${r}`),c.type==="exchange"&&(i=`/pdf-exchanges/${r}`),c.type==="invoice"&&(i=`/pdf-invoices/${r}`),c.type==="locationClosure"&&(i=`/pdf-location-closures/${r}`),c.type==="parcelManifest"&&(i=`/pdf-parcels-manifests/${r}`),c.type==="startingBalance"&&(i=`/pdf-starting-balance/${r}`),c.type==="partialShiftDeposits"&&(i=`/pdf-partial-shift-deposits-id/${r}`),c.type==="shiftLocationClosure"&&(i=`/pdf-shift-location-closures/${r}`),c.type==="bankDepositSlip"&&(i=`/pdf-bank-deposit-slips/${r}`),c.type==="terminalVoucher"&&(i=`/pdf-terminal-voucher/${r}`),c.type==="manualTickets"&&(i=`/pdf-manual-tickets/${r}`),c.type==="externalWalletVoucher"&&(i=`/pdf-external-wallet-voucher/${r}`),e.get(i,{params:c,responseType:o||"blob",headers:Jx({token:u,jwtToken:a,internalAuthTokenProvider:t,headers:s})})}return{get:n}}Kp.exports=Xx});var Xp=m((iE,Jp)=>{var{authorizationHeaders:Gx}=y();function Zx({client:e,internalAuthTokenProvider:t}){function n({token:u,jwtToken:a,query:c={},itemId:r,headers:s}){let o=`/pdf-tickets/${r}`;if(c.type==="product")switch(c.family){case"ticket":o=`/pdf-tickets/${r}`;break;case"reservation":o=`/pdf-reservations/${r}`;break;case"paid in":o=`/pdf-paid-ins/${r}`;break;case"paid out":o=`/pdf-paid-outs/${r}`;break;case"parcel":o=`/pdf-parcels/${r}`;break;case"flexpass":o=`/pdf-flexpasses/${r}`;break;case"bundle":case"open-return":o=`/pdf-redeemable-items/${r}`;break;default:break}return(c.type==="pre_trip_notification"||c.type==="post_trip_notification")&&(o=`/queue-notifications/manifest-notification-data/${r}`),c.type==="parcel_confirmation"&&(o=`/pdf-parcels/${r}`),c.type==="redeemable_items_confirmation"&&(o=`/pdf-redeemable-items/${r}`),c.type==="sold_item_confirmation"&&(o=`/pdf-paid-ins/${r}`),(c.type==="customer_card_membership"||c.type==="scanning_badge"||c.type==="customer_activation"||c.type==="customer_activation_mobile"||c.type==="customer_password_reset"||c.type==="customer_password_reset_mobile")&&(o=`/pdf-customer/${r}`),(c.type==="giftCertificate"||c.type==="gift_certificate_notification")&&(o=`/pdf-gift-certificates/${r}`),c.type==="user_password_reset"&&(o=`/pdf-users/${r}`),(c.type==="voucher"||c.type==="voucher_notification"||c.type==="compensation_voucher")&&(o=`/pdf-vouchers/${r}`),(c.type==="new_account"||c.type==="new_seller_account"||c.type==="interline_provider_invite")&&(o=`/pdf-accounts/${r}`),(c.type==="transaction"||c.type==="operator_purchase"||c.type==="operator_ssr")&&(o=`/pdf-transactions/${r}`),c.type==="ssr"&&(o=`/pdf-ssrs/${r}`),c.type==="passengersManifest"&&(o=`/pdf-passengers-manifests/${r}`),(c.type==="reaccomodation"||c.type==="ticket_movement")&&(o=`/pdf-tickets/${r}`),(c.type==="manifest"||c.type==="manifest_notification"||c.type==="operator_manifest_capacity")&&(o=`/pdf-manifests/${r}`),["order","order_confirmation","cancellation","change"].includes(c.type)&&(o=`/pdf-orders/${r}`),c.type==="shift"&&(o=`/pdf-shifts/${r}`),c.type==="remainderSlip"&&(o=`/pdf-remainder-slip/${r}`),c.type==="exchange"&&(o=`/pdf-exchanges/${r}`),c.type==="invoice"&&(o=`/pdf-invoices/${r}`),c.type==="locationClosure"&&(o=`/pdf-location-closures/${r}`),c.type==="parcelManifest"&&(o=`/pdf-parcels-manifests/${r}`),c.type==="startingBalance"&&(o=`/pdf-starting-balance/${r}`),c.type==="partialShiftDeposits"&&(o=`/pdf-partial-shift-deposits/${r}`),c.type==="shiftLocationClosure"&&(o=`/pdf-shift-location-closures/${r}`),c.type==="bankDepositSlip"&&(o=`/pdf-bank-deposit-slips/${r}`),c.type==="terminalVoucher"&&(o=`/pdf-terminal-voucher/${r}`),c.type==="manualTickets"&&(o=`/pdf-manual-tickets/${r}`),c.type==="externalWalletVoucher"&&(o=`/pdf-external-wallet-voucher/${r}`),e.get(o,{params:c,headers:Gx({token:u,jwtToken:a,internalAuthTokenProvider:t,headers:s})})}return{get:n}}Jp.exports=Zx});var Zp=m((dE,Gp)=>{var{authorizationHeaders:Qx}=y();function Yx({client:e,internalAuthTokenProvider:t}){function n({token:u,jwtToken:a,query:c={},headers:r}){return e({url:"/email",method:"post",params:c,headers:Qx({token:u,jwtToken:a,internalAuthTokenProvider:t,headers:r})})}return{create:n}}Gp.exports=Yx});var vp=m((pE,Yp)=>{var{authorizationHeaders:Qp}=y();function vx({client:e,internalAuthTokenProvider:t}){function n({token:a,jwtToken:c,query:r={},headers:s}){return e({url:"/customers/reset",method:"post",params:r,headers:Qp({token:a,jwtToken:c,internalAuthTokenProvider:t,headers:s})})}function u({token:a,query:c={},data:r,headers:s}){return e({url:"/customers/activation",method:"post",params:c,data:r,headers:Qp({token:a,internalAuthTokenProvider:t,headers:s})})}return{sendResetPasswordEmail:n,sendActivationEmail:u}}Yp.exports=vx});var kp=m((fE,Tp)=>{var{authorizationHeaders:Pp}=y();function Px({client:e,internalAuthTokenProvider:t}){function n({data:a,token:c,jwtToken:r,headers:s}){return e({url:"/external-customers/ado/registration",method:"post",headers:Pp({token:c,jwtToken:r,internalAuthTokenProvider:t,headers:s}),data:a})}function u({token:a,jwtToken:c,walletId:r,headers:s}){return e({url:`/external-customers/ado/external-wallets/${encodeURIComponent(r)}/statements`,method:"post",headers:Pp({token:a,jwtToken:c,internalAuthTokenProvider:t,headers:s}),data:{}})}return{requestSaldoMaxVerificationCode:n,sendSaldoMaxStatementEmail:u}}Tp.exports=Px});var ef=m((mE,Ap)=>{var{authorizationHeaders:qr}=y();function Tx({client:e,internalAuthTokenProvider:t}){return{phoneNumbers:{all({isocode:n,token:u,jwtToken:a,query:c={},headers:r}){return e.get(`/twilio/phone-numbers/${n}`,{params:c,headers:qr({token:u,jwtToken:a,internalAuthTokenProvider:t,headers:r})})},create({token:n,jwtToken:u,phoneNumberData:a={},headers:c}){return e({url:"/twilio/phone-numbers",method:"post",data:{phoneNumber:a},headers:qr({token:n,jwtToken:u,internalAuthTokenProvider:t,headers:c})})}},sms:{create({token:n,jwtToken:u,smsMsg:a={},headers:c}){return e({url:"/twilio/sms",method:"post",data:{sms:a},headers:qr({token:n,jwtToken:u,internalAuthTokenProvider:t,headers:c})})}},whatsapp:{create({token:n,jwtToken:u,whatsappMsg:a={},headers:c}){return e({url:"/twilio/whatsapp",method:"post",data:{whatsapp:a},headers:qr({token:n,jwtToken:u,internalAuthTokenProvider:t,headers:c})})}}}}Ap.exports=Tx});var rf=m((lE,tf)=>{var{authorizationHeaders:kx}=y();function Ax({client:e,internalAuthTokenProvider:t}){return{sms:{create({token:n,jwtToken:u,smsMsg:a={},headers:c}){return e({url:"/salesforce/sms",method:"post",data:{sms:a},headers:kx({token:n,jwtToken:u,internalAuthTokenProvider:t,headers:c})})}}}}tf.exports=Ax});var of=m((hE,af)=>{var{authorizationHeaders:sf}=y();function eq({client:e,internalAuthTokenProvider:t}){function n({token:a,jwtToken:c,urlData:r,headers:s}){return e({url:"/short-urls",method:"post",headers:sf({token:a,jwtToken:c,internalAuthTokenProvider:t,headers:s}),data:{urlData:r}})}function u({token:a,shortId:c,maxRedirects:r=0,headers:s}){return e({url:`/u/${encodeURIComponent(c)}`,method:"get",maxRedirects:r,validateStatus:o=>o===302||o>=200&&o<300,headers:sf({token:a,internalAuthTokenProvider:t,headers:s})})}return{create:n,getByShortId:u}}af.exports=eq});var uf=m((gE,nf)=>{var{authorizationHeaders:ze}=y();function tq({client:e,internalAuthTokenProvider:t}){return{emailByType:{create({token:n,jwtToken:u,data:a,headers:c}){return e({url:"/notify/email",method:"post",data:a||{},headers:ze({token:n,jwtToken:u,internalAuthTokenProvider:t,headers:c})})}},smsByType:{create({token:n,jwtToken:u,data:a,headers:c}){return e({url:"/notify/sms",method:"post",data:a||{},headers:ze({token:n,jwtToken:u,internalAuthTokenProvider:t,headers:c})})}},childUsers:{create({token:n,jwtToken:u,email:a,lang:c,accountId:r,headers:s}){return e({url:"/notify-child-user",method:"post",data:{email:a,lang:c,accountId:r},headers:ze({token:n,jwtToken:u,internalAuthTokenProvider:t,headers:s})})}},newSeller:{create({token:n,jwtToken:u,sellerEmail:a,sellerDomain:c,providerAdminEmail:r,lang:s,headers:o}){return e({url:"/notify-new-seller",method:"post",data:{sellerEmail:a,sellerDomain:c,providerAdminEmail:r,lang:s},headers:ze({token:n,jwtToken:u,internalAuthTokenProvider:t,headers:o})})}},tickets:{create({token:n,jwtToken:u,query:a,operation:c,to:r,ticketId:s,headers:o}){return e({url:`/notify-tickets/${s}`,method:"post",params:a,data:{to:r,operation:c},headers:ze({token:n,jwtToken:u,internalAuthTokenProvider:t,headers:o})})}},vouchers:{create({token:n,jwtToken:u,query:a,data:c,headers:r}){return e({url:"/notify-vouchers",method:"post",params:a,data:c,headers:ze({token:n,jwtToken:u,internalAuthTokenProvider:t,headers:r})})}},manifest:{create({token:n,jwtToken:u,data:a,headers:c}){return e({url:"/notify-manifest",method:"post",data:a,headers:ze({token:n,jwtToken:u,internalAuthTokenProvider:t,headers:c})})}}}}nf.exports=tq});var df=m((yE,cf)=>{var{authorizationHeaders:rq}=y();function sq({client:e,internalAuthTokenProvider:t}){function n({token:u,jwtToken:a,query:c={},orderRulesValidation:r,headers:s}){return e({url:"/orders-rules-validations",method:"post",params:c,data:{orderRulesValidation:r},headers:rq({token:u,jwtToken:a,internalAuthTokenProvider:t,headers:s})})}return{create:n}}cf.exports=sq});var lf=m((bE,mf)=>{function pf(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var u=Object.getOwnPropertySymbols(e);t&&(u=u.filter(function(a){return Object.getOwnPropertyDescriptor(e,a).enumerable})),n.push.apply(n,u)}return n}function ff(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?pf(Object(n),!0).forEach(function(u){aq(e,u,n[u])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):pf(Object(n)).forEach(function(u){Object.defineProperty(e,u,Object.getOwnPropertyDescriptor(n,u))})}return e}function aq(e,t,n){return(t=oq(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function oq(e){var t=nq(e,"string");return typeof t=="symbol"?t:t+""}function nq(e,t){if(typeof e!="object"||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var u=n.call(e,t||"default");if(typeof u!="object")return u;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}var{authorizationHeaders:uq}=y();function cq({client:e,internalAuthTokenProvider:t}){function n({token:u,jwtToken:a,formData:c,headers:r}){let s=typeof c.getHeaders=="function"?c.getHeaders():{};return e({url:"/files",method:"post",headers:ff(ff({},uq({token:u,jwtToken:a,internalAuthTokenProvider:t,headers:r})),s),data:c})}return{upload:n}}mf.exports=cq});var bf=m(($E,yf)=>{function hf(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var u=Object.getOwnPropertySymbols(e);t&&(u=u.filter(function(a){return Object.getOwnPropertyDescriptor(e,a).enumerable})),n.push.apply(n,u)}return n}function gf(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?hf(Object(n),!0).forEach(function(u){iq(e,u,n[u])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):hf(Object(n)).forEach(function(u){Object.defineProperty(e,u,Object.getOwnPropertyDescriptor(n,u))})}return e}function iq(e,t,n){return(t=dq(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function dq(e){var t=pq(e,"string");return typeof t=="symbol"?t:t+""}function pq(e,t){if(typeof e!="object"||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var u=n.call(e,t||"default");if(typeof u!="object")return u;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}var{authorizationHeaders:fq}=y();function mq({client:e,internalAuthTokenProvider:t}){function n({token:u,jwtToken:a,formData:c,headers:r}){let s=typeof c.getHeaders=="function"?c.getHeaders():{};return e({url:"/images",method:"post",headers:gf(gf({},fq({token:u,jwtToken:a,internalAuthTokenProvider:t,headers:r})),s),data:c})}return{create:n}}yf.exports=mq});var xf=m((xE,$f)=>{var{authorizationHeaders:rs}=y();function lq({client:e,internalAuthTokenProvider:t}){function n({token:c,context:r,query:s={},headers:o}){let i=Object.assign({},s,{context:r});return e({url:"/programs",params:i,headers:rs({token:c,internalAuthTokenProvider:t,headers:o})})}function u({token:c,jwtToken:r,program:s,headers:o}){return e({url:"/programs",method:"post",headers:rs({token:c,jwtToken:r,internalAuthTokenProvider:t,headers:o}),data:s})}function a({token:c,jwtToken:r,programId:s,program:o,headers:i}){return e({url:`/programs/${s}`,method:"put",headers:rs({token:c,jwtToken:r,internalAuthTokenProvider:t,headers:i}),data:o})}return{all:n,create:u,put:a}}$f.exports=lq});var wf=m((qE,qf)=>{var{authorizationHeaders:ss}=y();function hq({client:e,internalAuthTokenProvider:t}){function n({token:c,jwtToken:r,programId:s,query:o={},headers:i}){return e({url:`/programs/${s}/movements`,params:o,headers:ss({token:c,jwtToken:r,internalAuthTokenProvider:t,headers:i})})}function u({token:c,jwtToken:r,programId:s,movement:o,query:i={},headers:d}){return e({url:`/programs/${s}/movements`,method:"post",params:i,headers:ss({token:c,jwtToken:r,internalAuthTokenProvider:t,headers:d}),data:o})}return{all:n,create:u,balance:{get({token:c,jwtToken:r,programId:s,customerId:o,query:i={},headers:d}){return e({url:`/programs/${s}/movements/balance/${o}`,params:i,headers:ss({token:c,jwtToken:r,internalAuthTokenProvider:t,headers:d})})}}}}qf.exports=hq});var Ff=m((wE,Of)=>{var{authorizationHeaders:Ut}=y();function gq({client:e,internalAuthTokenProvider:t}){function n({token:s,jwtToken:o,context:i,query:d={},headers:p}){let f=Object.assign({},d,{context:i});return e({url:"/subscriptions",params:f,headers:Ut({token:s,jwtToken:o,internalAuthTokenProvider:t,headers:p})})}function u({token:s,jwtToken:o,id:i,headers:d}){return e({url:`/subscriptions/${i}`,method:"get",headers:Ut({token:s,jwtToken:o,internalAuthTokenProvider:t,headers:d})})}function a({token:s,jwtToken:o,subscription:i,headers:d}){return e({url:"/subscriptions",method:"post",headers:Ut({token:s,jwtToken:o,internalAuthTokenProvider:t,headers:d}),data:i})}function c({token:s,jwtToken:o,id:i,subscription:d,headers:p}){return e({url:`/subscriptions/${i}`,method:"put",headers:Ut({token:s,jwtToken:o,internalAuthTokenProvider:t,headers:p}),data:d})}function r({token:s,jwtToken:o,id:i,headers:d}){return e({url:`/subscriptions/${i}`,method:"delete",headers:Ut({token:s,jwtToken:o,internalAuthTokenProvider:t,headers:d})})}return{all:n,create:a,getById:u,put:c,deleteById:r}}Of.exports=gq});var Ef=m((OE,Sf)=>{var{authorizationHeaders:yq}=y();function bq({client:e,internalAuthTokenProvider:t}){function n({token:u,jwtToken:a,context:c,query:r={},headers:s}){let o=Object.assign({},r,{context:c});return e({url:"/events",params:o,headers:yq({token:u,jwtToken:a,internalAuthTokenProvider:t,headers:s})})}return{all:n}}Sf.exports=bq});var Rf=m((FE,_f)=>{var{authorizationHeaders:He}=y();function $q({client:e,internalAuthTokenProvider:t}){function n({token:i,jwtToken:d,context:p,query:f={},headers:l}){let q=Object.assign({},f,{context:p});return e({url:"/undelivered",params:q,headers:He({token:i,jwtToken:d,internalAuthTokenProvider:t,headers:l})})}function u({token:i,jwtToken:d,id:p,headers:f}){return e({url:`/undelivered/${p}`,method:"get",headers:He({token:i,jwtToken:d,internalAuthTokenProvider:t,headers:f})})}function a({token:i,jwtToken:d,operation:p,headers:f}){return e({url:"/undelivered",method:"patch",headers:He({token:i,jwtToken:d,internalAuthTokenProvider:t,headers:f}),data:p})}function c({token:i,jwtToken:d,id:p,headers:f}){return e({url:`/undelivered/${p}/retry`,method:"put",headers:He({token:i,jwtToken:d,internalAuthTokenProvider:t,headers:f})})}function r({token:i,jwtToken:d,headers:p}){return e({url:"/undelivered/retry-all",method:"put",headers:He({token:i,jwtToken:d,internalAuthTokenProvider:t,headers:p})})}function s({token:i,jwtToken:d,id:p,headers:f}){return e({url:`/undelivered/${p}`,method:"delete",headers:He({token:i,jwtToken:d,internalAuthTokenProvider:t,headers:f})})}function o({token:i,jwtToken:d,headers:p}){return e({url:"/undelivered/batch-all",method:"delete",headers:He({token:i,jwtToken:d,internalAuthTokenProvider:t,headers:p})})}return{all:n,getById:u,patch:a,resend:c,resendAll:r,deleteById:s,deleteAll:o}}_f.exports=$q});var Hf=m((SE,zf)=>{var{authorizationHeaders:xq}=y();function qq({client:e,internalAuthTokenProvider:t}){function n({token:u,jwtToken:a,webhook:c,headers:r}){return e({url:"/emit",method:"post",headers:xq({token:u,jwtToken:a,internalAuthTokenProvider:t,headers:r}),data:c})}return{emit:n}}zf.exports=qq});var jf=m((EE,Cf)=>{var{authorizationHeaders:wq}=y();function Oq({client:e,internalAuthTokenProvider:t}){function n({token:u,jwtToken:a,headers:c}){return e({url:"/access-ticket",method:"post",headers:wq({token:u,jwtToken:a,internalAuthTokenProvider:t,headers:c})})}return{create:n}}Cf.exports=Oq});var Nf=m((_E,Df)=>{var{authorizationHeaders:Fq}=y();function Sq({client:e,internalAuthTokenProvider:t}){function n({token:u,jwtToken:a,params:c,headers:r}){return e({url:"/seat",method:"post",headers:Fq({token:u,jwtToken:a,internalAuthTokenProvider:t,headers:r}),params:c})}return{update:n}}Df.exports=Sq});var Lf=m((RE,Bf)=>{var{authorizationHeaders:Uf}=y();function Eq({client:e,internalAuthTokenProvider:t}){function n({token:a,jwtToken:c,query:r={},headers:s}){return e.get("/adyen-payment-methods",{params:r,headers:Uf({token:a,jwtToken:c,internalAuthTokenProvider:t,headers:s})})}function u({token:a,jwtToken:c,headers:r,data:s}){return e.get("/adyen-terminals",{headers:Uf({token:a,jwtToken:c,internalAuthTokenProvider:t,headers:r}),data:s})}return{getPaymentMethods:n,getTerminals:u}}Bf.exports=Eq});var If=m((zE,Mf)=>{var{authorizationHeaders:wr}=y();function _q({client:e,internalAuthTokenProvider:t}){function n({token:r,jwtToken:s,query:o,headers:i}){return e.get("/cbs-token",{params:o,headers:wr({token:r,jwtToken:s,internalAuthTokenProvider:t,headers:i})})}function u({token:r,jwtToken:s,riskEvaluation:o,headers:i}){return e.post("/cbs-evaluate-risk",o,{headers:wr({token:r,jwtToken:s,internalAuthTokenProvider:t,headers:i})})}function a({token:r,jwtToken:s,body:o,headers:i}){return e.post("/cbs-pa-enrollment",o,{headers:wr({token:r,jwtToken:s,internalAuthTokenProvider:t,headers:i})})}function c({token:r,jwtToken:s,body:o,headers:i}){return e.post("/cbs-validate-pa-enrollment",o,{headers:wr({token:r,jwtToken:s,internalAuthTokenProvider:t,headers:i})})}return{getToken:n,evaluateRisk:u,payerAuthenticationEnrollment:a,validatePayerAuthenticationEnrollment:c}}Mf.exports=_q});var Kf=m((HE,Vf)=>{function Rq({client:e}){function t(){return e.get("/api-docs-v2",{})}return{get:t}}Vf.exports=Rq});var Jf=m((CE,Wf)=>{var{authorizationHeaders:Bt}=y();function zq({client:e,internalAuthTokenProvider:t}){function n({token:r,jwtToken:s,headers:o}){return e.get("/cardpointe-terminals",{params:{},headers:Bt({token:r,jwtToken:s,internalAuthTokenProvider:t,headers:o})})}function u({token:r,jwtToken:s,merchantId:o,terminalId:i,headers:d}){return e({url:`/cardpointe-terminals/${o}/${i}`,method:"delete",headers:Bt({token:r,jwtToken:s,internalAuthTokenProvider:t,headers:d})})}return{all:n,remove:u,readCard:{get({token:r,jwtToken:s,readCardResultId:o,headers:i}){return e.get(`/cardpointe-terminals/read-card/${o}`,{params:{},headers:Bt({token:r,jwtToken:s,internalAuthTokenProvider:t,headers:i})})},create({token:r,jwtToken:s,readCard:o,providerId:i,headers:d}){return e({url:"/cardpointe-terminals/read-card",method:"post",params:i!=null?{providerId:i}:{},headers:Bt({token:r,jwtToken:s,internalAuthTokenProvider:t,headers:d}),data:{readCard:o}})}},ping:{create({token:r,jwtToken:s,ping:o,headers:i}){return e({url:"/cardpointe-terminals/ping",method:"post",headers:Bt({token:r,jwtToken:s,internalAuthTokenProvider:t,headers:i}),data:{ping:o}})}}}}Wf.exports={cardpointeTerminalsFactory:zq}});var Gf=m((jE,Xf)=>{var{authorizationHeaders:ce}=y();function Hq({client:e,internalAuthTokenProvider:t}){function n({token:p,jwtToken:f,query:l={},headers:q}){return e.get("/payment-methods",{params:l,headers:ce({token:p,jwtToken:f,internalAuthTokenProvider:t,headers:q})})}function u({token:p,jwtToken:f,providerName:l,headers:q}){return e({url:`/payment-methods?providerName=${l}`,headers:ce({token:p,jwtToken:f,internalAuthTokenProvider:t,headers:q})})}function a({token:p,jwtToken:f,paymentMethod:l,headers:q}){return e({url:"/payment-methods",method:"post",headers:ce({token:p,jwtToken:f,internalAuthTokenProvider:t,headers:q}),data:{paymentMethod:l}})}function c({token:p,jwtToken:f,paymentMethodId:l,headers:q,query:g={}}){return e.get(`/payment-methods/${l}`,{params:g,headers:ce({token:p,jwtToken:f,internalAuthTokenProvider:t,headers:q})})}function r({token:p,jwtToken:f,paymentMethodId:l,paymentMethod:q,headers:g}){return e({url:`/payment-methods/${l}`,method:"put",headers:ce({token:p,jwtToken:f,internalAuthTokenProvider:t,headers:g}),data:{paymentMethod:q}})}function s({token:p,jwtToken:f,agencyId:l,providerId:q,paymentMethodNames:g,headers:b}){return e({url:"/payment-methods-to-agencies",method:"post",headers:ce({token:p,jwtToken:f,internalAuthTokenProvider:t,headers:b}),data:{providerId:q,agencyId:l,paymentMethodNames:g}})}function o({token:p,jwtToken:f,accountId:l}){return e({url:"/default-payment-methods",method:"post",headers:ce({token:p,jwtToken:f,internalAuthTokenProvider:t}),data:{accountId:l}})}function i({token:p,jwtToken:f,paymentMethodId:l}){return e({url:`/payment-methods/${l}/customers`,method:"delete",headers:ce({token:p,jwtToken:f,internalAuthTokenProvider:t})})}function d({token:p,jwtToken:f,domain:l}){return e({url:`/payment-methods/domains/${l}`,method:"delete",headers:ce({token:p,jwtToken:f,internalAuthTokenProvider:t})})}return{all:n,getByProviderName:u,create:a,get:c,setToAgency:s,update:r,createDefaultPaymentMethods:o,deleteCustomersCreditCardInfo:i,deletePaymentMethodsDomain:d}}Xf.exports=Hq});var Qf=m((DE,Zf)=>{var{authorizationHeaders:Cq}=y();function jq({client:e,internalAuthTokenProvider:t}){function n({token:u,jwtToken:a,referenceNumberRequest:c,headers:r}){return e({url:"/reference-numbers",method:"post",headers:Cq({token:u,jwtToken:a,internalAuthTokenProvider:t,headers:r}),data:{referenceNumberRequest:c}})}return{create:n}}Zf.exports=jq});var Pf=m((NE,vf)=>{var{authorizationHeaders:Yf}=y();function Dq({client:e,internalAuthTokenProvider:t}){function n({token:a,jwtToken:c,payments:r,headers:s}){return e({url:"/payments",method:"post",headers:Yf({token:a,jwtToken:c,internalAuthTokenProvider:t,headers:s}),data:{payments:r}})}function u({token:a,jwtToken:c,transactionId:r,headers:s}){return e.get(`/transactions/${r}`,{params:{},headers:Yf({token:a,jwtToken:c,internalAuthTokenProvider:t,headers:s})})}return{create:n,get:u}}vf.exports=Dq});var Af=m((UE,kf)=>{var{authorizationHeaders:Tf}=y();function Nq({client:e,internalAuthTokenProvider:t}){function n({token:a,jwtToken:c,transactionId:r,referenceNumber:s,headers:o}){return e.get(`/referenced-payments/${r}/${s}/status`,{params:{},headers:Tf({token:a,jwtToken:c,internalAuthTokenProvider:t,headers:o})})}function u({token:a,jwtToken:c,externalType:r,referenceNumber:s,paymentResult:o,query:i={},headers:d}){return e({url:`/referenced-payments/${r}/${s}/results`,method:"post",params:i,headers:Tf({token:a,jwtToken:c,headers:d}),data:{paymentResult:o}})}return{getStatus:n,update:u}}kf.exports=Nq});var tm=m((BE,em)=>{var{authorizationHeaders:as}=y();function Uq({client:e,internalAuthTokenProvider:t}){function n({token:c,jwtToken:r,paymentMethodId:s,customerId:o,headers:i}){return e.get(`/payment-methods/${s}/customers/${o}`,{params:{},headers:as({token:c,jwtToken:r,internalAuthTokenProvider:t,headers:i})})}function u({token:c,jwtToken:r,paymentMethodId:s,customer:o,headers:i}){return e({url:`/payment-methods/${s}/customers`,method:"post",headers:as({token:c,jwtToken:r,internalAuthTokenProvider:t,headers:i}),data:{customer:o}})}function a({token:c,jwtToken:r,paymentMethodId:s,customerId:o,headers:i}){return e({url:`/payment-methods/${s}/customers/${o}`,method:"delete",headers:as({token:c,jwtToken:r,internalAuthTokenProvider:t,headers:i})})}return{remove:a,create:u,get:n}}em.exports=Uq});var sm=m((LE,rm)=>{var{authorizationHeaders:Or}=y();function Bq({client:e,internalAuthTokenProvider:t}){function n({token:r,jwtToken:s,paymentMethodId:o,customerId:i,customerCardId:d,headers:p}){return e.get(`/payment-methods/${o}/customers/${i}/cards/${d}`,{params:{},headers:Or({token:r,jwtToken:s,internalAuthTokenProvider:t,headers:p})})}function u({token:r,jwtToken:s,paymentMethodId:o,customerId:i,headers:d}){return e.get(`/payment-methods/${o}/customers/${i}/cards`,{params:{},headers:Or({token:r,jwtToken:s,internalAuthTokenProvider:t,headers:d})})}function a({token:r,jwtToken:s,paymentMethodId:o,customerId:i,customerCard:d,headers:p}){return e({url:`/payment-methods/${o}/customers/${i}/cards`,method:"post",headers:Or({token:r,jwtToken:s,internalAuthTokenProvider:t,headers:p}),data:{customerCard:d}})}function c({token:r,jwtToken:s,paymentMethodId:o,customerId:i,customerCardId:d,headers:p}){return e({url:`/payment-methods/${o}/customers/${i}/cards/${d}`,method:"delete",headers:Or({token:r,jwtToken:s,internalAuthTokenProvider:t,headers:p})})}return{remove:c,create:a,get:n,all:u}}rm.exports=Bq});var os=m((ME,om)=>{var{authorizationHeaders:am}=y();function Lq({client:e,internalAuthTokenProvider:t}){function n({token:u,jwtToken:a,data:c,providerId:r,headers:s}){return e({url:`/square-webhooks/${r}`,method:"post",headers:am({token:u,jwtToken:a,internalAuthTokenProvider:t,headers:s}),data:c})}return{create:n}}function Mq({client:e,internalAuthTokenProvider:t}){function n({token:u,jwtToken:a,headers:c}){return e.get("/square-terminals",{params:{},headers:am({token:u,jwtToken:a,internalAuthTokenProvider:t,headers:c})})}return{get:n}}om.exports={squareWebhooksFactory:Lq,squareTerminalsFactory:Mq}});var um=m((IE,nm)=>{var{authorizationHeaders:Fr}=y();function Iq({client:e,internalAuthTokenProvider:t}){function n(c){return c??t}return{token:{get({jwtToken:c,headers:r,internalAuthTokenProvider:s}){return e({url:"/oxxo/token",headers:Fr({jwtToken:c,internalAuthTokenProvider:n(s),headers:r})})}},payments:{all({jwtToken:c,headers:r,oxxoToken:s,query:o,internalAuthTokenProvider:i}){return e({url:`/oxxo/${s}/payments`,params:o,headers:Fr({jwtToken:c,internalAuthTokenProvider:n(i),headers:r})})},update({jwtToken:c,headers:r,oxxoToken:s,query:o,referenceNumber:i,data:d,internalAuthTokenProvider:p}){return e({url:`/oxxo/${s}/payments/${i}`,method:"post",params:o,data:d,headers:Fr({jwtToken:c,internalAuthTokenProvider:n(p),headers:r})})},reverse({jwtToken:c,headers:r,query:s,referenceNumber:o,data:i,internalAuthTokenProvider:d,oxxoToken:p}){return e({url:`/oxxo/${p}/reverse/${o}`,method:"post",params:s,data:i,headers:Fr({jwtToken:c,internalAuthTokenProvider:n(d),headers:r})})}}}}nm.exports=Iq});var im=m((VE,cm)=>{var{authorizationHeaders:Lt}=y();function Vq({client:e,internalAuthTokenProvider:t}){function n(r){return r??t}return{payments:{all({token:r,jwtToken:s,headers:o,query:i,internalAuthTokenProvider:d}){return e({url:"/datalogic/payments",params:i,headers:Lt({token:r,jwtToken:s,internalAuthTokenProvider:n(d),headers:o})})},update({token:r,jwtToken:s,headers:o,query:i,referenceNumber:d,data:p,internalAuthTokenProvider:f}){return e({url:`/datalogic/payments/${d}`,method:"post",params:i,data:p,headers:Lt({token:r,jwtToken:s,internalAuthTokenProvider:n(f),headers:o})})},reverse({token:r,jwtToken:s,headers:o,query:i,referenceNumber:d,data:p,internalAuthTokenProvider:f}){return e({url:`/datalogic/reverse/${d}`,method:"post",params:i,data:p,headers:Lt({token:r,jwtToken:s,internalAuthTokenProvider:n(f),headers:o})})}},referenceNumber:{get({token:r,jwtToken:s,headers:o,internalAuthTokenProvider:i}){return e({url:"/datalogic/reference-number",headers:Lt({token:r,jwtToken:s,internalAuthTokenProvider:n(i),headers:o})})}},authCode:{get({token:r,jwtToken:s,headers:o,internalAuthTokenProvider:i}){return e({url:"/datalogic/auth-code",headers:Lt({token:r,jwtToken:s,internalAuthTokenProvider:n(i),headers:o})})}}}}cm.exports=Vq});var pm=m((KE,dm)=>{var{authorizationHeaders:T}=y();function Kq({client:e,internalAuthTokenProvider:t}){return{payments:{get({token:r,jwtToken:s,id:o,query:i={},headers:d}){return e.get(`/prisma-terminals/payments/${o}`,{params:i,headers:T({token:r,jwtToken:s,internalAuthTokenProvider:t,headers:d})})},create({token:r,jwtToken:s,prismaPayment:o,query:i={},headers:d}){return e({url:"/prisma-terminals/payments",method:"post",headers:T({token:r,jwtToken:s,internalAuthTokenProvider:t,headers:d}),params:i,data:{prismaPayment:o}})},delete({token:r,jwtToken:s,id:o,query:i={},headers:d}){return e({url:`/prisma-terminals/payments/${o}`,method:"delete",headers:T({token:r,jwtToken:s,internalAuthTokenProvider:t,headers:d}),params:i})},update({token:r,jwtToken:s,id:o,prismaPayment:i,query:d={},headers:p}){return e({url:`/prisma-terminals/payments/${o}`,method:"put",headers:T({token:r,jwtToken:s,internalAuthTokenProvider:t,headers:p}),params:d,data:{prismaPayment:i}})},reversals:{get({token:r,jwtToken:s,id:o,query:i={},headers:d}){return e.get(`/prisma-terminals/reversals/${o}`,{params:i,headers:T({token:r,jwtToken:s,internalAuthTokenProvider:t,headers:d})})},create({token:r,jwtToken:s,id:o,prismaReversal:i,query:d={},headers:p}){return e({url:`/prisma-terminals/payments/${o}/reversals`,method:"post",headers:T({token:r,jwtToken:s,internalAuthTokenProvider:t,headers:p}),params:d,data:{prismaReversal:i}})},delete({token:r,jwtToken:s,id:o,query:i={},headers:d}){return e({url:`/prisma-terminals/reversals/${o}`,method:"delete",headers:T({token:r,jwtToken:s,internalAuthTokenProvider:t,headers:d}),params:i})}},refunds:{get({token:r,jwtToken:s,id:o,query:i={},headers:d}){return e.get(`/prisma-terminals/refunds/${o}`,{params:i,headers:T({token:r,jwtToken:s,internalAuthTokenProvider:t,headers:d})})},create({token:r,jwtToken:s,id:o,prismaRefund:i,query:d={},headers:p}){return e({url:`/prisma-terminals/payments/${o}/refunds`,method:"post",headers:T({token:r,jwtToken:s,internalAuthTokenProvider:t,headers:p}),params:d,data:{prismaRefund:i}})},delete({token:r,jwtToken:s,id:o,query:i={},headers:d}){return e({url:`/prisma-terminals/refunds/${o}`,method:"delete",headers:T({token:r,jwtToken:s,internalAuthTokenProvider:t,headers:d}),params:i})},update({token:r,jwtToken:s,id:o,prismaRefund:i,query:d={},headers:p}){return e({url:`/prisma-terminals/refunds/${o}`,method:"put",headers:T({token:r,jwtToken:s,internalAuthTokenProvider:t,headers:p}),params:d,data:{prismaRefund:i}})}}},settlements:{create({token:r,jwtToken:s,settlement:o,query:i={},headers:d}){return e({url:"/prisma-terminals/settlements",method:"post",headers:T({token:r,jwtToken:s,internalAuthTokenProvider:t,headers:d}),params:i,data:{settlement:o}})}}}}dm.exports=Kq});var mm=m((WE,fm)=>{var{authorizationHeaders:ns}=y();function Wq({client:e,internalAuthTokenProvider:t}){return{mit:{update({token:a,jwtToken:c,id:r,terminalPayment:s,query:o={},headers:i}){return e({url:`/terminal-payments/mit/${r}`,method:"put",headers:ns({token:a,jwtToken:c,internalAuthTokenProvider:t,headers:i}),params:o,data:{terminalPayment:s}})},get({token:a,jwtToken:c,id:r,query:s={},headers:o}){return e.get(`/terminal-payments/mit/${r}`,{params:s,headers:ns({token:a,jwtToken:c,internalAuthTokenProvider:t,headers:o})})}},webhooks:{getnet({data:a,providerId:c,headers:r={},token:s,jwtToken:o}){let i=s&&o?ns({token:s,jwtToken:o,internalAuthTokenProvider:t,headers:r}):r;return e({url:`/terminal-payments/webhooks/getnet/${c}`,method:"post",headers:i,data:a})}}}}fm.exports=Wq});var gm=m((JE,hm)=>{var{authorizationHeaders:lm}=y();function Jq({client:e,internalAuthTokenProvider:t}){function n({token:a,jwtToken:c,headers:r,query:s={}}){return e.get("/stripe-terminals",{params:s,headers:lm({token:a,jwtToken:c,internalAuthTokenProvider:t,headers:r})})}function u({token:a,jwtToken:c,id:r,stripePayment:s,headers:o}){return e({url:`/stripe-terminals/${r}/simulate`,method:"post",headers:lm({token:a,jwtToken:c,internalAuthTokenProvider:t,headers:o}),data:{stripePayment:s}})}return{all:n,simulate:u}}hm.exports=Jq});var bm=m((XE,ym)=>{var{authorizationHeaders:Xq}=y();function Gq({client:e,internalAuthTokenProvider:t}){function n({token:u,jwtToken:a,providerName:c,data:r,headers:s}){return e.post("/stripe-payment-intent",{providerName:c,data:r},{headers:Xq({token:u,jwtToken:a,internalAuthTokenProvider:t,headers:s})})}return{createPaymentIntent:n}}ym.exports=Gq});var xm=m((GE,$m)=>{function Zq({client:e}){function t(){return e.get("/api-docs-v2",{})}return{get:t}}$m.exports=Zq});var wm=m((ZE,qm)=>{var{authorizationHeaders:Mt}=y();function Qq({client:e,internalAuthTokenProvider:t}){function n({token:s,jwtToken:o,query:i={},headers:d}){return e({url:"/providers",method:"get",headers:Mt({token:s,jwtToken:o,internalAuthTokenProvider:t,headers:d}),params:i})}function u({token:s,jwtToken:o,id:i,query:d={},headers:p}){return e({url:`/providers/${i}`,method:"get",headers:Mt({token:s,jwtToken:o,internalAuthTokenProvider:t,headers:p}),params:d})}function a({token:s,jwtToken:o,id:i,data:d,query:p={},headers:f}){return e({url:`/providers/${i}`,method:"put",headers:Mt({token:s,jwtToken:o,internalAuthTokenProvider:t,headers:f}),params:p,data:d})}function c({token:s,jwtToken:o,id:i,query:d={},headers:p}){return e({url:`/providers/${i}`,method:"delete",headers:Mt({token:s,jwtToken:o,internalAuthTokenProvider:t,headers:p}),params:d})}function r({token:s,jwtToken:o,data:i,query:d={},headers:p}){return e({url:"/providers",method:"post",headers:Mt({token:s,jwtToken:o,internalAuthTokenProvider:t,headers:p}),params:d,data:i})}return{all:n,get:u,update:a,remove:c,create:r}}qm.exports=Qq});var Fm=m((QE,Om)=>{var{authorizationHeaders:It}=y();function Yq({client:e,internalAuthTokenProvider:t}){function n({token:s,jwtToken:o,invoiceProviderId:i,query:d={},headers:p}){return e({url:`/providers/${i}/sequences`,method:"get",headers:It({token:s,jwtToken:o,internalAuthTokenProvider:t,headers:p}),params:d})}function u({token:s,jwtToken:o,invoiceProviderId:i,invoiceProviderSequenceId:d,query:p={},headers:f}){return e({url:`/providers/${i}/sequences/${d}`,method:"get",headers:It({token:s,jwtToken:o,internalAuthTokenProvider:t,headers:f}),params:p})}function a({token:s,jwtToken:o,invoiceProviderId:i,id:d,query:p={},headers:f}){return e({url:`/providers/${i}/sequences/${d}`,method:"delete",headers:It({token:s,jwtToken:o,internalAuthTokenProvider:t,headers:f}),params:p})}function c({token:s,jwtToken:o,invoiceProviderId:i,data:d,query:p={},headers:f}){return e({url:`/providers/${i}/sequences`,method:"post",headers:It({token:s,jwtToken:o,internalAuthTokenProvider:t,headers:f}),params:p,data:d})}function r({token:s,jwtToken:o,invoiceProviderId:i,invoiceProviderSequenceId:d,data:p,query:f={},headers:l}){return e({url:`/providers/${i}/sequences/${d}`,method:"put",headers:It({token:s,jwtToken:o,internalAuthTokenProvider:t,headers:l}),params:f,data:p})}return{all:n,get:u,remove:a,create:c,update:r}}Om.exports=Yq});var _m=m((YE,Em)=>{var{authorizationHeaders:Sm}=y();function vq({client:e,internalAuthTokenProvider:t}){function n({token:a,jwtToken:c,data:r,query:s={},headers:o}){return e({url:"/infile",method:"post",headers:Sm({token:a,jwtToken:c,internalAuthTokenProvider:t,headers:o}),params:s,data:r})}function u({token:a,jwtToken:c,data:r,query:s={},headers:o}){return s.onlyValidateRequest=!0,e({url:"/infile",method:"post",headers:Sm({token:a,jwtToken:c,internalAuthTokenProvider:t,headers:o}),params:s,data:r})}return{create:n,validateCreate:u}}Em.exports=vq});var Hm=m((vE,zm)=>{var{authorizationHeaders:Rm}=y();function Pq({client:e,internalAuthTokenProvider:t}){function n({token:a,jwtToken:c,data:r,query:s={},headers:o}){return e({url:"/infile-json",method:"post",headers:Rm({token:a,jwtToken:c,internalAuthTokenProvider:t,headers:o}),params:s,data:r})}function u({token:a,jwtToken:c,data:r,query:s={},headers:o}){return s.onlyValidateRequest=!0,e({url:"/infile-json",method:"post",headers:Rm({token:a,jwtToken:c,internalAuthTokenProvider:t,headers:o}),params:s,data:r})}return{create:n,validateCreate:u}}zm.exports=Pq});var Dm=m((PE,jm)=>{var{authorizationHeaders:Cm}=y();function Tq({client:e,internalAuthTokenProvider:t}){function n({token:a,jwtToken:c,data:r,query:s={},headers:o}){return e({url:"/system",method:"post",headers:Cm({token:a,jwtToken:c,internalAuthTokenProvider:t,headers:o}),params:s,data:r})}function u({token:a,jwtToken:c,data:r,query:s={},headers:o}){return s.onlyValidateRequest=!0,e({url:"/system",method:"post",headers:Cm({token:a,jwtToken:c,internalAuthTokenProvider:t,headers:o}),params:s,data:r})}return{create:n,validateCreate:u}}jm.exports=Tq});var Bm=m((TE,Um)=>{var{authorizationHeaders:Nm}=y();function kq({client:e,internalAuthTokenProvider:t}){function n({token:a,jwtToken:c,data:r,query:s={},headers:o}){return e({url:"/dlink",method:"post",headers:Nm({token:a,jwtToken:c,internalAuthTokenProvider:t,headers:o}),params:s,data:r})}function u({token:a,jwtToken:c,data:r,query:s={},headers:o}){return s.onlyValidateRequest=!0,e({url:"/dlink",method:"post",headers:Nm({token:a,jwtToken:c,internalAuthTokenProvider:t,headers:o}),params:s,data:r})}return{create:n,validateCreate:u}}Um.exports=kq});var Im=m((kE,Mm)=>{var{authorizationHeaders:Lm}=y();function Aq({client:e,internalAuthTokenProvider:t}){function n({token:a,jwtToken:c,data:r,query:s={},headers:o}){return e({url:"/gti",method:"post",headers:Lm({token:a,jwtToken:c,internalAuthTokenProvider:t,headers:o}),params:s,data:r})}function u({token:a,jwtToken:c,data:r,query:s={},headers:o}){return s.onlyValidateRequest=!0,e({url:"/gti",method:"post",headers:Lm({token:a,jwtToken:c,internalAuthTokenProvider:t,headers:o}),params:s,data:r})}return{create:n,validateCreate:u}}Mm.exports=Aq});var Km=m((AE,Vm)=>{var{authorizationHeaders:ew}=y();function tw({client:e,internalAuthTokenProvider:t}){function n({token:u,jwtToken:a,query:c={},responseType:r="json",headers:s}){return e({url:"/pdfs",method:"get",responseType:r,headers:ew({token:u,jwtToken:a,internalAuthTokenProvider:t,headers:s}),params:c})}return{all:n}}Vm.exports=tw});var Jm=m((e_,Wm)=>{var{authorizationHeaders:rw}=y();function sw({client:e,internalAuthTokenProvider:t}){function n({token:u,jwtToken:a,data:c,query:r={},headers:s}){return e({url:"/emails",method:"post",headers:rw({token:u,jwtToken:a,internalAuthTokenProvider:t,headers:s}),params:r,data:c})}return{create:n}}Wm.exports=sw});var Gm=m((t_,Xm)=>{var{authorizationHeaders:aw}=y();function ow({client:e,internalAuthTokenProvider:t}){function n({token:u,jwtToken:a,query:c={},headers:r}){return e({url:"/tax-ids",method:"get",headers:aw({token:u,jwtToken:a,internalAuthTokenProvider:t,headers:r}),params:c})}return{all:n}}Xm.exports=ow});var Qm=m((r_,Zm)=>{var{authorizationHeaders:Vt}=y();function nw({client:e,internalAuthTokenProvider:t}){function n({token:s,jwtToken:o,query:i={},headers:d}){return e({url:"/invoices",method:"get",headers:Vt({token:s,jwtToken:o,internalAuthTokenProvider:t,headers:d}),params:i})}function u({token:s,jwtToken:o,id:i,query:d={},headers:p}){return e({url:`/invoices/${i}`,method:"get",headers:Vt({token:s,jwtToken:o,internalAuthTokenProvider:t,headers:p}),params:d})}function a({token:s,jwtToken:o,query:i={},headers:d}){return e({url:"/failures",method:"get",headers:Vt({token:s,jwtToken:o,internalAuthTokenProvider:t,headers:d}),params:i})}function c({token:s,jwtToken:o,data:i,query:d={},headers:p}){return e({url:"/retry",method:"post",headers:Vt({token:s,jwtToken:o,internalAuthTokenProvider:t,headers:p}),params:d,data:i})}function r({token:s,jwtToken:o,data:i,query:d={},headers:p}){return e({url:"/retry",method:"put",headers:Vt({token:s,jwtToken:o,internalAuthTokenProvider:t,headers:p}),params:d,data:i})}return{all:n,get:u,getInvoicesFailures:a,retryInvoicing:c,overrideBuyerRetryInvoicing:r}}Zm.exports=nw});var vm=m((s_,Ym)=>{var{authorizationHeaders:us}=y();function uw({client:e,internalAuthTokenProvider:t}){function n({token:c,jwtToken:r,headers:s}){return e({url:"/bpe-configurations",method:"get",headers:us({token:c,jwtToken:r,internalAuthTokenProvider:t,headers:s})})}function u({token:c,jwtToken:r,bpeConfiguration:s,headers:o}){return e({url:"/bpe-configurations",method:"post",headers:us({token:c,jwtToken:r,internalAuthTokenProvider:t,headers:o}),data:{bpeConfiguration:s}})}function a({token:c,jwtToken:r,bpeConfiguration:s,headers:o}){return e({url:"/bpe-configurations",method:"put",headers:us({token:c,jwtToken:r,internalAuthTokenProvider:t,headers:o}),data:{bpeConfiguration:s}})}return{get:n,create:u,update:a}}Ym.exports=uw});var Tm=m((a_,Pm)=>{var{authorizationHeaders:cw}=y();function iw({client:e}){function t({token:n,query:u={},headers:a}){return e({url:"/scanner-app-location",headers:cw({token:n,headers:a}),params:u})}return{get:t}}Pm.exports=iw});var Am=m((o_,km)=>{function dw({client:e}){function t({data:n,headers:u}){return e({url:"/authenticate",method:"post",headers:u,data:n})}return{create:t}}km.exports=dw});var rl=m((n_,tl)=>{var{authorizationHeaders:el}=y();function pw({client:e,version:t}){function n({jwtToken:a,data:c,headers:r}){return e({url:`/${t}/client`,method:"post",headers:el({jwtToken:a,headers:r}),data:c})}function u({jwtToken:a,clientId:c}){return e({url:`/${t}/client`,method:"get",headers:Object.assign({clientId:c},el({jwtToken:a}))})}return{create:n,get:u}}tl.exports=pw});var al=m((u_,sl)=>{var{authorizationHeaders:cs}=y();function fw({client:e,version:t}){function n({jwtToken:c,clientId:r}){return e({url:`/${t}/client/integrations`,method:"get",headers:Object.assign({clientId:r},cs({jwtToken:c}))})}function u({jwtToken:c,clientId:r,data:s}){return e({url:`/${t}/client/integrations`,method:"post",headers:Object.assign({clientId:r},cs({jwtToken:c})),data:s})}function a({jwtToken:c,clientId:r,integrationType:s}){return e({url:`/${t}/client/integrations/${s}`,method:"delete",headers:Object.assign({clientId:r},cs({jwtToken:c}))})}return{get:n,create:u,remove:a}}sl.exports=fw});var Bw=m((c_,nl)=>{function ol(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var u=Object.getOwnPropertySymbols(e);t&&(u=u.filter(function(a){return Object.getOwnPropertyDescriptor(e,a).enumerable})),n.push.apply(n,u)}return n}function Sr(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?ol(Object(n),!0).forEach(function(u){mw(e,u,n[u])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):ol(Object(n)).forEach(function(u){Object.defineProperty(e,u,Object.getOwnPropertyDescriptor(n,u))})}return e}function mw(e,t,n){return(t=lw(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function lw(e){var t=hw(e,"string");return typeof t=="symbol"?t:t+""}function hw(e,t){if(typeof e!="object"||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var u=n.call(e,t||"default");if(typeof u!="object")return u;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}var gw=ta(),yw=sa();function V(e){let{baseURL:t,headers:n,timeout:u,overrideFn:a,agents:c}=e,s={baseURL:a?a(t):t,timeout:u,headers:{Accept:"application/json"}};return n&&n["x-amzn-trace-id"]&&(s.headers["x-amzn-trace-id"]=n["x-amzn-trace-id"]),c&&(c.httpAgent||c.httpsAgent)&&(s=Sr(Sr({},s),c)),gw.create(s)}function bw({baseURL:e,headers:t,timeout:n,overrideFn:u,internalAuthTokenProvider:a,agents:c}){let r=V({baseURL:e,headers:t,timeout:n,overrideFn:u,agents:c});return{amenities:ua()({client:r,internalAuthTokenProvider:a}),amenityGroups:ia()({client:r,internalAuthTokenProvider:a}),banks:pa()({client:r,internalAuthTokenProvider:a}),bareRoutes:la()({client:r,internalAuthTokenProvider:a}),brands:ga()({client:r,internalAuthTokenProvider:a}),bundleFares:ba()({client:r,internalAuthTokenProvider:a}),bundles:qa()({client:r,internalAuthTokenProvider:a}),changeRequests:Oa()({client:r,internalAuthTokenProvider:a}),companies:Sa()({client:r,internalAuthTokenProvider:a}),controlClasses:_a()({client:r,internalAuthTokenProvider:a}),countries:Ha()({client:r,internalAuthTokenProvider:a}),customContent:ja()({client:r,internalAuthTokenProvider:a}),customFields:Na()({client:r,internalAuthTokenProvider:a}),docs:Ba()({client:r}),documentTypes:Va()({client:r,internalAuthTokenProvider:a}),events:Wa()({client:r,internalAuthTokenProvider:a}),externalPasses:Ga()({client:r,internalAuthTokenProvider:a}),externalWallets:Qa()({client:r,internalAuthTokenProvider:a}),fareTypeModifiers:va()({client:r,internalAuthTokenProvider:a}),fallbackCodes:Ta()({client:r,internalAuthTokenProvider:a}),fareClasses:Aa()({client:r,internalAuthTokenProvider:a}),fares:to()({client:r,internalAuthTokenProvider:a}),fees:so()({client:r,internalAuthTokenProvider:a}),filteredTrips:oo()({client:r,internalAuthTokenProvider:a}),filteredTripsV2:uo()({client:r,internalAuthTokenProvider:a}),financingCosts:io()({client:r,internalAuthTokenProvider:a}),garages:fo()({client:r,internalAuthTokenProvider:a}),getnetTerminals:lo()({client:r,internalAuthTokenProvider:a}),giftCertificateDefinitions:go()({client:r,internalAuthTokenProvider:a}),healthCheck:bo()({client:r,internalAuthTokenProvider:a}),holidays:xo()({client:r,internalAuthTokenProvider:a}),insurances:wo()({client:r,internalAuthTokenProvider:a}),insurancesCost:Fo()({client:r,internalAuthTokenProvider:a}),items:Eo()({client:r,internalAuthTokenProvider:a}),journeyPrices:Ro()({client:r,internalAuthTokenProvider:a}),labels:Ho()({client:r,internalAuthTokenProvider:a}),maritalStatus:jo()({client:r,internalAuthTokenProvider:a}),marketplaceModifiers:No()({client:r,internalAuthTokenProvider:a}),mitTerminals:Bo()({client:r,internalAuthTokenProvider:a}),mitTerminalsSettings:Mo()({client:r,internalAuthTokenProvider:a}),operatingCompanies:Vo()({client:r,internalAuthTokenProvider:a}),operationMessages:Wo()({client:r,internalAuthTokenProvider:a}),operationReasons:Xo()({client:r,internalAuthTokenProvider:a}),parcelZones:Zo()({client:r,internalAuthTokenProvider:a}),paymentTerminals:Yo()({client:r,internalAuthTokenProvider:a}),payOnAccounts:Po()({client:r,internalAuthTokenProvider:a}),prismaTerminals:ko()({client:r,internalAuthTokenProvider:a}),products:en()({client:r,internalAuthTokenProvider:a}),promos:rn()({client:r,internalAuthTokenProvider:a}),routes:an()({client:r,internalAuthTokenProvider:a}),scheduleGroups:nn()({client:r,internalAuthTokenProvider:a}),schedules:cn()({client:r,internalAuthTokenProvider:a}),seatClasses:pn()({client:r,internalAuthTokenProvider:a}),seatfees:mn()({client:r,internalAuthTokenProvider:a}),seatmaps:hn()({client:r,internalAuthTokenProvider:a}),segmentsInformation:yn()({client:r,internalAuthTokenProvider:a}),serviceNumbers:$n()({client:r,internalAuthTokenProvider:a}),serviceTypes:qn()({client:r,internalAuthTokenProvider:a}),ssrs:On()({client:r,internalAuthTokenProvider:a}),stationClasses:Sn()({client:r,internalAuthTokenProvider:a}),stationGroups:_n()({client:r,internalAuthTokenProvider:a}),stations:zn()({client:r,internalAuthTokenProvider:a}),stationsProvinces:Cn()({client:r,internalAuthTokenProvider:a}),stationsZones:Dn()({client:r,internalAuthTokenProvider:a}),taxes:Un()({client:r,internalAuthTokenProvider:a}),travellerCardProviders:Ln()({client:r,internalAuthTokenProvider:a}),travellerCardProvidersTypes:In()({client:r,internalAuthTokenProvider:a}),travellerCardTypes:Kn()({client:r,internalAuthTokenProvider:a}),travelRoutes:Jn()({client:r,internalAuthTokenProvider:a}),vehicleTypes:Gn()({client:r,internalAuthTokenProvider:a}),vehicles:Qn()({client:r,internalAuthTokenProvider:a}),zonePriceOverages:vn()({client:r,internalAuthTokenProvider:a}),zonePrices:Tn()({client:r,internalAuthTokenProvider:a}),regions:An()({client:r,internalAuthTokenProvider:a}),__test:{client:r}}}function $w({baseURL:e,headers:t,timeout:n,overrideFn:u,internalAuthTokenProvider:a,agents:c}){let r=V({baseURL:e,headers:t,timeout:n,overrideFn:u,agents:c});return{trips:tu()({client:r,internalAuthTokenProvider:a}),tripIds:su()({client:r,internalAuthTokenProvider:a}),segmentsInformationTables:ou()({client:r,internalAuthTokenProvider:a}),__test_trips:{client:r}}}function xw({baseURL:e,headers:t,timeout:n,overrideFn:u,internalAuthTokenProvider:a,agents:c}){let r=V({baseURL:e,headers:t,timeout:n,overrideFn:u,agents:c});return{docs:uu()({client:r}),healthcheck:iu()({client:r}),info:pu()({client:r}),paths:mu()({client:r,internalAuthTokenProvider:a}),mergedFareTables:hu()({client:r,internalAuthTokenProvider:a}),__test:{client:r}}}function qw({baseURL:e,headers:t,timeout:n,overrideFn:u,internalAuthTokenProvider:a,agents:c}){let r=V({baseURL:e,headers:t,timeout:n,overrideFn:u,agents:c});return{accounts:bu()({client:r,internalAuthTokenProvider:a}),agencies:xu()({client:r,internalAuthTokenProvider:a}),agencyTypes:wu()({client:r,internalAuthTokenProvider:a}),application:Fu()({client:r,internalAuthTokenProvider:a}),applications:_u()({client:r,internalAuthTokenProvider:a}),applicationSettings:zu()({client:r,internalAuthTokenProvider:a}),customers:Nu()({client:r,internalAuthTokenProvider:a}),controlClassesSettings:Lu()({client:r,internalAuthTokenProvider:a}),currentShifts:Iu()({client:r,internalAuthTokenProvider:a}),docs:Ku()({client:r}),domains:Ju()({client:r,internalAuthTokenProvider:a}),dynamicForms:Zu()({client:r,internalAuthTokenProvider:a}),emailSettings:Yu()({client:r,internalAuthTokenProvider:a}),emailTemplates:Pu()({client:r,internalAuthTokenProvider:a}),smsTemplates:ku()({client:r,internalAuthTokenProvider:a}),exchangeRates:tc()({client:r,internalAuthTokenProvider:a}),exchangeReceipts:ac()({client:r,internalAuthTokenProvider:a}),externalCustomers:nc()({client:r,internalAuthTokenProvider:a}),goalSettings:ic()({client:r,internalAuthTokenProvider:a}),images:pc()({client:r,internalAuthTokenProvider:a}),interline:mc()({client:r,internalAuthTokenProvider:a}),lexicons:hc()({client:r,internalAuthTokenProvider:a}),network:yc()({client:r,internalAuthTokenProvider:a}),operationSettings:xc()({client:r,internalAuthTokenProvider:a}),peopleLookups:Oc()({client:r,internalAuthTokenProvider:a}),pointToPointSettings:Ec()({client:r,internalAuthTokenProvider:a}),marketPricingSettings:zc()({client:r,internalAuthTokenProvider:a}),multiproductSalesSettings:jc()({client:r,internalAuthTokenProvider:a}),printers:Nc()({client:r,internalAuthTokenProvider:a}),printSettings:Lc()({client:r,internalAuthTokenProvider:a}),printTemplates:Ic()({client:r,internalAuthTokenProvider:a}),revenueManagementSettings:Wc()({client:r,internalAuthTokenProvider:a}),journeyPricesSettings:Gc()({client:r,internalAuthTokenProvider:a}),subPrintTemplates:Qc()({client:r,internalAuthTokenProvider:a}),s3Buckets:vc()({client:r,internalAuthTokenProvider:a}),salesforceSettings:kc()({client:r,internalAuthTokenProvider:a}),shifts:ei()({client:r,internalAuthTokenProvider:a}),shiftSettings:si()({client:r,internalAuthTokenProvider:a}),systemModelSettings:oi()({client:r,internalAuthTokenProvider:a}),ticketMovementSettings:ci()({client:r,internalAuthTokenProvider:a}),tokens:pi()({client:r,internalAuthTokenProvider:a}),travellers:mi()({client:r,internalAuthTokenProvider:a}),trustedMachines:hi()({client:r,internalAuthTokenProvider:a}),twilioSettings:bi()({client:r,internalAuthTokenProvider:a}),users:xi()({client:r,internalAuthTokenProvider:a}),verifiedEmails:wi()({client:r,internalAuthTokenProvider:a}),__test:{client:r},websalesConfig:Si()({client:r,internalAuthTokenProvider:a}),transportRegulationSettingsForCNRT:Ri()({client:r,internalAuthTokenProvider:a})}}function ww({baseURL:e,headers:t,timeout:n,overrideFn:u,internalAuthTokenProvider:a,agents:c}){let r=V({baseURL:e,headers:t,timeout:n,overrideFn:u,agents:c});return{docs:Hi()({client:r}),parcelQuotes:ji()({client:r,internalAuthTokenProvider:a}),paymentProviders:Ni()({client:r,internalAuthTokenProvider:a}),cart:Bi()({client:r,internalAuthTokenProvider:a}),giftCertificates:Mi()({client:r,internalAuthTokenProvider:a}),customFields:Vi()({client:r,internalAuthTokenProvider:a}),order:Wi()({client:r,internalAuthTokenProvider:a}),voucher:Xi()({client:r,internalAuthTokenProvider:a}),cartPromo:Qi()({client:r,internalAuthTokenProvider:a}),bundles:vi()({client:r,internalAuthTokenProvider:a}),redeemableItems:ki()({client:r,internalAuthTokenProvider:a}),flexpasses:ed()({client:r,internalAuthTokenProvider:a}),syncEntry:rd()({client:r,internalAuthTokenProvider:a}),checkInInfo:ad()({client:r,internalAuthTokenProvider:a}),cancellations:nd()({client:r,internalAuthTokenProvider:a}),__test:{client:r}}}function Ow({baseURL:e,headers:t,timeout:n,overrideFn:u,internalAuthTokenProvider:a,agents:c}){let r=V({baseURL:e,headers:t,timeout:n,overrideFn:u,agents:c});return{docs:cd()({client:r}),accountingItems:pd()({client:r,internalAuthTokenProvider:a}),appliedInsurance:md()({client:r,internalAuthTokenProvider:a}),calendarEntries:hd()({client:r,internalAuthTokenProvider:a}),externalBookings:bd()({client:r,internalAuthTokenProvider:a}),flexpasses:xd()({client:r,internalAuthTokenProvider:a}),giftCertificates:wd()({client:r,internalAuthTokenProvider:a}),loans:Sd()({client:r,internalAuthTokenProvider:a}),manifest:Rd()({client:r,internalAuthTokenProvider:a}),manifestLegForTickets:Hd()({client:r,internalAuthTokenProvider:a}),movements:jd()({client:r,internalAuthTokenProvider:a}),outlookTrips:Nd()({client:r,internalAuthTokenProvider:a}),pagoExpress:Bd()({client:r,internalAuthTokenProvider:a}),parcel:Vd()({client:r,internalAuthTokenProvider:a}),parcelManifests:Wd()({client:r,internalAuthTokenProvider:a}),passengerCheckInInfo:Xd()({client:r,internalAuthTokenProvider:a}),redemption:Zd()({client:r,internalAuthTokenProvider:a}),rms:vd()({client:r,internalAuthTokenProvider:a}),scheduledNotifications:Td()({client:r,internalAuthTokenProvider:a}),segments:Ad()({client:r,internalAuthTokenProvider:a}),soldItemsFulfillment:tp()({client:r,internalAuthTokenProvider:a}),soldItems:ap()({client:r,internalAuthTokenProvider:a}),tickets:cp()({client:r,internalAuthTokenProvider:a}),transaction:dp()({client:r,internalAuthTokenProvider:a}),transactions:fp()({client:r,internalAuthTokenProvider:a}),tripChangeInfo:lp()({client:r,internalAuthTokenProvider:a}),cancellationSettings:yp()({client:r,internalAuthTokenProvider:a}),vehicleAssignments:$p()({client:r,internalAuthTokenProvider:a}),vouchers:wp()({client:r,internalAuthTokenProvider:a}),waitlists:Fp()({client:r,internalAuthTokenProvider:a}),transportRegulations:Ep()({client:r,internalAuthTokenProvider:a}),__test:{client:r}}}function Fw({baseURL:e,headers:t,timeout:n,overrideFn:u,internalAuthTokenProvider:a,agents:c}){let r=V({baseURL:e,headers:t,timeout:n,overrideFn:u,agents:c});return{reportTypes:zp()({client:r,internalAuthTokenProvider:a}),customReports:Cp()({client:r,internalAuthTokenProvider:a}),reportEmail:Dp()({client:r,internalAuthTokenProvider:a}),tripManifests:Up()({client:r,internalAuthTokenProvider:a}),__test:{client:r}}}function Sw({baseURL:e,headers:t,timeout:n,overrideFn:u,internalAuthTokenProvider:a,agents:c}){let r=V({baseURL:e,headers:t,timeout:n,overrideFn:u,agents:c});return{manifestNotifications:Mp()({client:r,internalAuthTokenProvider:a}),printedTickets:Vp()({client:r,internalAuthTokenProvider:a}),pdfs:Wp()({client:r,internalAuthTokenProvider:a}),pdfData:Xp()({client:r,internalAuthTokenProvider:a}),email:Zp()({client:r,internalAuthTokenProvider:a}),customers:vp()({client:r,internalAuthTokenProvider:a}),externalCustomers:kp()({client:r,internalAuthTokenProvider:a}),twilio:ef()({client:r,internalAuthTokenProvider:a}),salesforce:rf()({client:r,internalAuthTokenProvider:a}),shortUrls:of()({client:r,internalAuthTokenProvider:a}),notify:uf()({client:r,internalAuthTokenProvider:a}),ordersRulesValidations:df()({client:r,internalAuthTokenProvider:a}),__test:{client:r}}}function Ew({baseURL:e,headers:t,timeout:n,overrideFn:u,internalAuthTokenProvider:a,agents:c}){let r=V({baseURL:e,headers:t,timeout:n,overrideFn:u,agents:c});return{files:lf()({client:r,internalAuthTokenProvider:a}),images:bf()({client:r,internalAuthTokenProvider:a}),__test:{client:r}}}function _w({baseURL:e,headers:t,timeout:n,overrideFn:u,internalAuthTokenProvider:a,agents:c}){let r=V({baseURL:e,headers:t,timeout:n,overrideFn:u,agents:c});return{programs:xf()({client:r,internalAuthTokenProvider:a}),movements:wf()({client:r,internalAuthTokenProvider:a}),__test:{client:r}}}function Rw({baseURL:e,headers:t,timeout:n,overrideFn:u,internalAuthTokenProvider:a,agents:c}){let r=V({baseURL:e,headers:t,timeout:n,overrideFn:u,agents:c});return{subscriptions:Ff()({client:r,internalAuthTokenProvider:a}),events:Ef()({client:r,internalAuthTokenProvider:a}),undelivered:Rf()({client:r,internalAuthTokenProvider:a}),webhooks:Hf()({client:r,internalAuthTokenProvider:a}),__test:{client:r}}}function zw({baseURL:e,headers:t,timeout:n,overrideFn:u,internalAuthTokenProvider:a,agents:c}){let r=V({baseURL:e,headers:t,timeout:n,overrideFn:u,agents:c});return{accessTicket:jf()({client:r,internalAuthTokenProvider:a}),seat:Nf()({client:r,internalAuthTokenProvider:a}),__test:{client:r}}}function Hw({baseURL:e,headers:t,timeout:n,overrideFn:u,internalAuthTokenProvider:a,agents:c}){let r=V({baseURL:e,headers:t,timeout:n,overrideFn:u,agents:c});return{adyen:Lf()({client:r,internalAuthTokenProvider:a}),cybersource3ds:If()({client:r,internalAuthTokenProvider:a}),docs:Kf()({client:r}),cardpointeTerminals:Jf().cardpointeTerminalsFactory({client:r,internalAuthTokenProvider:a}),paymentMethods:Gf()({client:r,internalAuthTokenProvider:a}),referenceNumbers:Qf()({client:r,internalAuthTokenProvider:a}),payments:Pf()({client:r,internalAuthTokenProvider:a}),referencedPayments:Af()({client:r,internalAuthTokenProvider:a}),customers:tm()({client:r,internalAuthTokenProvider:a}),customerCards:sm()({client:r,internalAuthTokenProvider:a}),squareTerminals:os().squareTerminalsFactory({client:r,internalAuthTokenProvider:a}),squareWebhooks:os().squareWebhooksFactory({client:r,internalAuthTokenProvider:a}),oxxo:um()({client:r,internalAuthTokenProvider:a}),datalogic:im()({client:r,internalAuthTokenProvider:a}),prismaTerminals:pm()({client:r,internalAuthTokenProvider:a}),terminalPayments:mm()({client:r,internalAuthTokenProvider:a}),stripeTerminals:gm()({client:r,internalAuthTokenProvider:a}),stripe3ds:bm()({client:r,internalAuthTokenProvider:a}),__test:{client:r}}}function Cw({baseURL:e,headers:t,timeout:n,overrideFn:u,internalAuthTokenProvider:a,agents:c}){let r=V({baseURL:e,headers:t,timeout:n,overrideFn:u,agents:c});return{docs:xm()({client:r}),providers:wm()({client:r,internalAuthTokenProvider:a}),providersSequences:Fm()({client:r,internalAuthTokenProvider:a}),infile:_m()({client:r,internalAuthTokenProvider:a}),infileJson:Hm()({client:r,internalAuthTokenProvider:a}),system:Dm()({client:r,internalAuthTokenProvider:a}),dlink:Bm()({client:r,internalAuthTokenProvider:a}),gti:Im()({client:r,internalAuthTokenProvider:a}),pdfs:Km()({client:r,internalAuthTokenProvider:a}),emails:Jm()({client:r,internalAuthTokenProvider:a}),taxIds:Gm()({client:r,internalAuthTokenProvider:a}),invoices:Qm()({client:r,internalAuthTokenProvider:a}),__test:{client:r}}}function jw({baseURL:e,headers:t,timeout:n,overrideFn:u,internalAuthTokenProvider:a,agents:c}){let r=V({baseURL:e,headers:t,timeout:n,overrideFn:u,agents:c});return{configuration:vm()({client:r,internalAuthTokenProvider:a}),__test:{client:r}}}function Dw({baseURL:e,headers:t,timeout:n,overrideFn:u,internalAuthTokenProvider:a,agents:c}){let r=V({baseURL:e,headers:t,timeout:n,overrideFn:u,agents:c});return{scannerAppLocation:Tm()({client:r,internalAuthTokenProvider:a}),__test:{client:r}}}function Nw({baseURL:e,headers:t,timeout:n,overrideFn:u,agents:a}){let c=V({baseURL:e,headers:t,timeout:n,overrideFn:u,agents:a}),r="v2";return{auth:Am()({client:c}),clients:rl()({client:c,version:r}),integrations:al()({client:c,version:r}),__test:{client:c}}}function Uw(e){let{baseURL:t,baseURLOverride:n={},headers:u,timeout:a=0,internalAuthTokenProvider:c,agents:r}=e||yw;return{constants:Jr(),_cleanClient:V({baseURL:t,headers:u,timeout:a,agents:r}),inventory:Sr(Sr({},bw({baseURL:t,headers:u,timeout:a,overrideFn:n.inventory,internalAuthTokenProvider:c,agents:r})),$w({baseURL:t,headers:u,timeout:a,overrideFn:n.trips,internalAuthTokenProvider:c,agents:r})),coltrane:xw({baseURL:t,headers:u,timeout:a,overrideFn:n.coltrane,internalAuthTokenProvider:c,agents:r}),accounts:qw({baseURL:t,headers:u,timeout:a,overrideFn:n.accounts,internalAuthTokenProvider:c,agents:r}),sales:ww({baseURL:t,headers:u,timeout:a,overrideFn:n.sales,internalAuthTokenProvider:c,agents:r}),operations:Ow({baseURL:t,headers:u,timeout:a,overrideFn:n.operations,internalAuthTokenProvider:c,agents:r}),reports:Fw({baseURL:t,headers:u,timeout:a,overrideFn:n.reports,internalAuthTokenProvider:c,agents:r}),notifications:Sw({baseURL:t,headers:u,timeout:a,overrideFn:n.notifications,internalAuthTokenProvider:c,agents:r}),uploads:Ew({baseURL:t,headers:u,timeout:a,overrideFn:n.uploads,internalAuthTokenProvider:c,agents:r}),loyalty:_w({baseURL:t,headers:u,timeout:a,overrideFn:n.loyalty,internalAuthTokenProvider:c,agents:r}),webhooks:Rw({baseURL:t,headers:u,timeout:a,overrideFn:n.webhooks,internalAuthTokenProvider:c,agents:r}),seatmaps:zw({baseURL:t,headers:u,timeout:a,overrideFn:n.seatmaps,internalAuthTokenProvider:c,agents:r}),btrzpay:Hw({baseURL:t,headers:u,timeout:a,overrideFn:n.btrzpay,internalAuthTokenProvider:c,agents:r}),invoices:Cw({baseURL:t,headers:u,timeout:a,overrideFn:n.invoices,internalAuthTokenProvider:c,agents:r}),bpes:jw({baseURL:t,headers:u,timeout:a,overrideFn:n.bpes,internalAuthTokenProvider:c,agents:r}),gps:Dw({baseURL:t,headers:u,timeout:a,overrideFn:n.invoices,internalAuthTokenProvider:c,agents:r}),ratality:Nw({baseURL:t,headers:u,timeout:a,overrideFn:n.ratality,agents:r})}}nl.exports={clientFactory:V,createApiClient:Uw}});return Bw();})();
11
11
  /*! Bundled license information:
12
12
 
13
13
  axios/dist/browser/axios.cjs: