btrz-api-client 9.29.0 → 9.32.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/client-standalone-min.js +6 -6
- package/lib/client.js +4 -0
- package/lib/endpoints/btrzpay/stripe-terminals.js +4 -1
- package/lib/endpoints/notifications/operator-notifications.js +170 -0
- package/package.json +1 -1
- package/src/client.js +1 -0
- package/src/endpoints/btrzpay/stripe-terminals.js +4 -2
- package/src/endpoints/notifications/operator-notifications.js +116 -0
- package/test/all.test.js +1 -0
- package/test/endpoints/btrzpay/stripe-terminals.tests.js +3 -2
- package/test/endpoints/notifications/operator-notifications.test.js +82 -0
- package/types/endpoints/notifications/operator-notifications.d.ts +44 -0
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
(function(root,factory){if(typeof module==="object"&&module.exports){module.exports=factory();}else if(typeof define==="function"&&define.amd){define([],factory);}else{root.BtrzApiClient=factory();}})(typeof globalThis!=="undefined"?globalThis:this,function(){
|
|
2
|
-
var BtrzApiClient=(()=>{var m=(e,t)=>()=>{try{return t||e((t={exports:{}}).exports,t),t.exports}catch(n){throw t=0,n}};var
|
|
3
|
-
`).forEach(function(r){o=r.indexOf(":"),n=r.substring(0,o).trim().toLowerCase(),c=r.substring(o+1).trim(),!(!n||t[n]&&
|
|
4
|
-
`)}getSetCookie(){return this.get("set-cookie")||[]}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(t){return t instanceof this?t:new this(t)}static concat(t,...n){let c=new this(t);return n.forEach(o=>c.set(o)),c}static accessor(t){let c=(this[Fs]=this[Fs]={accessors:{}}).accessors,o=this.prototype;function i(r){let s=Pe(r);c[s]||(Ch(o,r),c[s]=!0)}return $.isArray(t)?t.forEach(i):i(t),this}};Z.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]);$.reduceDescriptors(Z.prototype,({value:e},t)=>{let n=t[0].toUpperCase()+t.slice(1);return{get:()=>e,set(c){this[n]=c}}});$.freezeMethods(Z);var jh="[REDACTED ****]";function Dh(e){if($.hasOwnProp(e,"toJSON"))return!0;let t=Object.getPrototypeOf(e);for(;t&&t!==Object.prototype;){if($.hasOwnProp(t,"toJSON"))return!0;t=Object.getPrototypeOf(t)}return!1}function Nh(e,t){let n=new Set(t.map(i=>String(i).toLowerCase())),c=[],o=i=>{if(i===null||typeof i!="object"||$.isBuffer(i))return i;if(c.indexOf(i)!==-1)return;i instanceof Z&&(i=i.toJSON()),c.push(i);let r;if($.isArray(i))r=[],i.forEach((s,a)=>{let u=o(s);$.isUndefined(u)||(r[a]=u)});else{if(!$.isPlainObject(i)&&Dh(i))return c.pop(),i;r=Object.create(null);for(let[s,a]of Object.entries(i)){let u=n.has(s.toLowerCase())?jh:o(a);$.isUndefined(u)||(r[s]=u)}}return c.pop(),r};return o(e)}var E=class e extends Error{static from(t,n,c,o,i,r){let s=new e(t.message,n||t.code,c,o,i);return Object.defineProperty(s,"cause",{__proto__:null,value:t,writable:!0,enumerable:!1,configurable:!0}),s.name=t.name,t.status!=null&&s.status==null&&(s.status=t.status),r&&Object.assign(s,r),s}constructor(t,n,c,o,i){super(t),Object.defineProperty(this,"message",{__proto__:null,value:t,enumerable:!0,writable:!0,configurable:!0}),this.name="AxiosError",this.isAxiosError=!0,n&&(this.code=n),c&&(this.config=c),o&&(this.request=o),i&&(this.response=i,this.status=i.status)}toJSON(){let t=this.config,n=t&&$.hasOwnProp(t,"redact")?t.redact:void 0,c=$.isArray(n)&&n.length>0?Nh(t,n):$.toJSONObject(t);return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:c,code:this.code,status:this.status}}};E.ERR_BAD_OPTION_VALUE="ERR_BAD_OPTION_VALUE";E.ERR_BAD_OPTION="ERR_BAD_OPTION";E.ECONNABORTED="ECONNABORTED";E.ETIMEDOUT="ETIMEDOUT";E.ECONNREFUSED="ECONNREFUSED";E.ERR_NETWORK="ERR_NETWORK";E.ERR_FR_TOO_MANY_REDIRECTS="ERR_FR_TOO_MANY_REDIRECTS";E.ERR_DEPRECATED="ERR_DEPRECATED";E.ERR_BAD_RESPONSE="ERR_BAD_RESPONSE";E.ERR_BAD_REQUEST="ERR_BAD_REQUEST";E.ERR_CANCELED="ERR_CANCELED";E.ERR_NOT_SUPPORT="ERR_NOT_SUPPORT";E.ERR_INVALID_URL="ERR_INVALID_URL";E.ERR_FORM_DATA_DEPTH_EXCEEDED="ERR_FORM_DATA_DEPTH_EXCEEDED";var Uh=null,Ys=100;function Vr(e){return $.isPlainObject(e)||$.isArray(e)}function vs(e){return $.endsWith(e,"[]")?e.slice(0,-2):e}function Br(e,t,n){return e?e.concat(t).map(function(o,i){return o=vs(o),!n&&i?"["+o+"]":o}).join(n?".":""):t}function Bh(e){return $.isArray(e)&&!e.some(Vr)}var Lh=$.toFlatObject($,{},null,function(t){return/^is[A-Z]/.test(t)});function or(e,t,n){if(!$.isObject(e))throw new TypeError("target must be an object");t=t||new FormData,n=$.toFlatObject(n,{metaTokens:!0,dots:!1,indexes:!1},!1,function(x,w){return!$.isUndefined(w[x])});let c=n.metaTokens,o=n.visitor||q,i=n.dots,r=n.indexes,s=n.Blob||typeof Blob<"u"&&Blob,a=n.maxDepth===void 0?Ys:n.maxDepth,u=s&&$.isSpecCompliantForm(t),d=[];if(!$.isFunction(o))throw new TypeError("visitor must be a function");function p(g){if(g===null)return"";if($.isDate(g))return g.toISOString();if($.isBoolean(g))return g.toString();if(!u&&$.isBlob(g))throw new E("Blob is not supported. Use a Buffer instead.");if($.isArrayBuffer(g)||$.isTypedArray(g)){if(u&&typeof s=="function")return new s([g]);if(typeof Buffer<"u")return Buffer.from(g);throw new E("Blob is not supported. Use a Buffer instead.",E.ERR_NOT_SUPPORT)}return g}function f(g){if(g>a)throw new E("Object is too deeply nested ("+g+" levels). Max depth: "+a,E.ERR_FORM_DATA_DEPTH_EXCEEDED)}function l(g,x){if(a===1/0)return JSON.stringify(g);let w=[];return JSON.stringify(g,function(W,I){if(!$.isObject(I))return I;for(;w.length&&w[w.length-1]!==this;)w.pop();return w.push(I),f(x+w.length-1),I})}function q(g,x,w){let D=g;if($.isReactNative(t)&&$.isReactNativeBlob(g))return t.append(Br(w,x,i),p(g)),!1;if(g&&!w&&typeof g=="object"){if($.endsWith(x,"{}"))x=c?x:x.slice(0,-2),g=l(g,1);else if($.isArray(g)&&Bh(g)||($.isFileList(g)||$.endsWith(x,"[]"))&&(D=$.toArray(g)))return x=vs(x),D.forEach(function(I,re){!($.isUndefined(I)||I===null)&&t.append(r===!0?Br([x],re,i):r===null?x:x+"[]",p(I))}),!1}return Vr(g)?!0:(t.append(Br(w,x,i),p(g)),!1)}let y=Object.assign(Lh,{defaultVisitor:q,convertValue:p,isVisitable:Vr});function b(g,x,w=0){if(!$.isUndefined(g)){if(f(w),d.indexOf(g)!==-1)throw new Error("Circular reference detected in "+x.join("."));d.push(g),$.forEach(g,function(W,I){(!($.isUndefined(W)||W===null)&&o.call(t,W,$.isString(I)?I.trim():I,x,y))===!0&&b(W,x?x.concat(I):[I],w+1)}),d.pop()}}if(!$.isObject(e))throw new TypeError("data must be an object");return b(e),t}function Ss(e){let t={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+"};return encodeURIComponent(e).replace(/[!'()~]|%20/g,function(c){return t[c]})}function Zr(e,t){this._pairs=[],e&&or(e,this,t)}var Ps=Zr.prototype;Ps.append=function(t,n){this._pairs.push([t,n])};Ps.toString=function(t){let n=t?c=>t.call(this,c,Ss):Ss;return this._pairs.map(function(o){return n(o[0])+"="+n(o[1])},"").join("&")};function Mh(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+")}function Ts(e,t,n){if(!t)return e;e=e||"";let c=$.isFunction(n)?{serialize:n}:n,o=$.getSafeProp(c,"encode")||Mh,i=$.getSafeProp(c,"serialize"),r;if(i?r=i(t,c):r=$.isURLSearchParams(t)?t.toString():new Zr(t,c).toString(o),r){let s=e.indexOf("#");s!==-1&&(e=e.slice(0,s)),e+=(e.indexOf("?")===-1?"?":"&")+r}return e}var tr=class{constructor(){this.handlers=[]}use(t,n,c){return this.handlers.push({fulfilled:t,rejected:n,synchronous:c?c.synchronous:!1,runWhen:c?c.runWhen:null}),this.handlers.length-1}eject(t){this.handlers[t]&&(this.handlers[t]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(t){$.forEach(this.handlers,function(c){c!==null&&t(c)})}},Qr={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1,legacyInterceptorReqResOrdering:!0,advertiseZstdAcceptEncoding:!1,validateStatusUndefinedResolves:!0},Ih=typeof URLSearchParams<"u"?URLSearchParams:Zr,Vh=typeof FormData<"u"?FormData:null,Kh=typeof Blob<"u"?Blob:null,Wh={isBrowser:!0,classes:{URLSearchParams:Ih,FormData:Vh,Blob:Kh},protocols:["http","https","file","blob","url","data"]},Yr=typeof window<"u"&&typeof document<"u",Kr=typeof navigator=="object"&&navigator||void 0,Jh=Yr&&(!Kr||["ReactNative","NativeScript","NS"].indexOf(Kr.product)<0),Xh=typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof self.importScripts=="function",Gh=Yr&&window.location.href||"http://localhost",Zh=Object.freeze({__proto__:null,hasBrowserEnv:Yr,hasStandardBrowserEnv:Jh,hasStandardBrowserWebWorkerEnv:Xh,navigator:Kr,origin:Gh}),Q={...Zh,...Wh};function Qh(e,t){return or(e,new Q.classes.URLSearchParams,{visitor:function(n,c,o,i){return Q.isNode&&$.isBuffer(n)?(this.append(c,n.toString("base64")),!1):i.defaultVisitor.apply(this,arguments)},...t})}var Es=Ys;function ks(e){if(e>Es)throw new E("FormData field is too deeply nested ("+e+" levels). Max depth: "+Es,E.ERR_FORM_DATA_DEPTH_EXCEEDED)}function Yh(e){let t=[],n=/\w+|\[(\w*)]/g,c;for(;(c=n.exec(e))!==null;)ks(t.length),t.push(c[0]==="[]"?"":c[1]||c[0]);return t}function vh(e){let t={},n=Object.keys(e),c,o=n.length,i;for(c=0;c<o;c++)i=n[c],t[i]=e[i];return t}function As(e){function t(n,c,o,i){ks(i);let r=n[i++];if(r==="__proto__")return!0;let s=Number.isFinite(+r),a=i>=n.length;return r=!r&&$.isArray(o)?o.length:r,a?($.hasOwnProp(o,r)?o[r]=$.isArray(o[r])?o[r].concat(c):[o[r],c]:o[r]=c,!s):((!$.hasOwnProp(o,r)||!$.isObject(o[r]))&&(o[r]=[]),t(n,c,o[r],i)&&$.isArray(o[r])&&(o[r]=vh(o[r])),!s)}if($.isFormData(e)&&$.isFunction(e.entries)){let n={};return $.forEachEntry(e,(c,o)=>{t(Yh(c),o,n,0)}),n}return null}var Le=(e,t)=>e!=null&&$.hasOwnProp(e,t)?e[t]:void 0;function Ph(e,t,n){if($.isString(e))try{return(t||JSON.parse)(e),$.trim(e)}catch(c){if(c.name!=="SyntaxError")throw c}return(n||JSON.stringify)(e)}var et={transitional:Qr,adapter:["xhr","http","fetch"],transformRequest:[function(t,n){let c=n.getContentType()||"",o=c.indexOf("application/json")>-1,i=$.isObject(t);if(i&&$.isHTMLForm(t)&&(t=new FormData(t)),$.isFormData(t))return o?JSON.stringify(As(t)):t;if($.isArrayBuffer(t)||$.isBuffer(t)||$.isStream(t)||$.isFile(t)||$.isBlob(t)||$.isReadableStream(t))return t;if($.isArrayBufferView(t))return t.buffer;if($.isURLSearchParams(t))return n.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),t.toString();let s;if(i){let a=Le(this,"formSerializer");if(c.indexOf("application/x-www-form-urlencoded")>-1)return Qh(t,a).toString();if((s=$.isFileList(t))||c.indexOf("multipart/form-data")>-1){let u=Le(this,"env"),d=u&&u.FormData;return or(s?{"files[]":t}:t,d&&new d,a)}}return i||o?(n.setContentType("application/json",!1),Ph(t)):t}],transformResponse:[function(t){let n=Le(this,"transitional")||et.transitional,c=n&&n.forcedJSONParsing,o=Le(this,"responseType"),i=o==="json";if($.isResponse(t)||$.isReadableStream(t))return t;if(t&&$.isString(t)&&(c&&!o||i)){let s=!(n&&n.silentJSONParsing)&&i;try{return JSON.parse(t,Le(this,"parseReviver"))}catch(a){if(s)throw a.name==="SyntaxError"?E.from(a,E.ERR_BAD_RESPONSE,this,null,Le(this,"response")):a}}return t}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:Q.classes.FormData,Blob:Q.classes.Blob},validateStatus:function(t){return t>=200&&t<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};$.forEach(["delete","get","head","post","put","patch","query"],e=>{et.headers[e]={}});function Lr(e,t){let n=this||et,c=t||n,o=Z.from(c.headers),i=c.data;return $.forEach(e,function(s){i=s.call(n,i,o.normalize(),t?t.status:void 0)}),o.normalize(),i}function ea(e){return!!(e&&e.__CANCEL__)}var Ee=class extends E{constructor(t,n,c){super(t??"canceled",E.ERR_CANCELED,n,c),this.name="CanceledError",this.__CANCEL__=!0}};function ta(e,t,n){let c=n.config.validateStatus;!n.status||!c||c(n.status)?e(n):t(new E("Request failed with status code "+n.status,n.status>=400&&n.status<500?E.ERR_BAD_REQUEST:E.ERR_BAD_RESPONSE,n.config,n.request,n))}function Th(e){let t=/^([-+\w]{1,25}):(?:\/\/)?/.exec(e);return t&&t[1]||""}function kh(e,t){e=e||10;let n=new Array(e),c=new Array(e),o=0,i=0,r;return t=t!==void 0?t:1e3,function(a){let u=Date.now(),d=c[i];r||(r=u),n[o]=a,c[o]=u;let p=i,f=0;for(;p!==o;)f+=n[p++],p=p%e;if(o=(o+1)%e,o===i&&(i=(i+1)%e),u-r<t)return;let l=d&&u-d;return l?Math.round(f*1e3/l):void 0}}function Ah(e,t){let n=0,c=1e3/t,o,i,r=(u,d=Date.now())=>{n=d,o=null,i&&(clearTimeout(i),i=null),e(...u)};return[(...u)=>{let d=Date.now(),p=d-n;p>=c?r(u,d):(o=u,i||(i=setTimeout(()=>{i=null,r(o)},c-p)))},()=>o&&r(o)]}var rr=(e,t,n=3)=>{let c=0,o=kh(50,250);return Ah(i=>{if(!i||typeof i.loaded!="number")return;let r=i.loaded,s=i.lengthComputable?i.total:void 0,a=s!=null?Math.min(r,s):r,u=Math.max(0,a-c),d=o(u);c=Math.max(c,a);let p={loaded:a,total:s,progress:s?a/s:void 0,bytes:u,rate:d||void 0,estimated:d&&s?(s-a)/d:void 0,event:i,lengthComputable:s!=null,[t?"download":"upload"]:!0};e(p)},n)},Rs=(e,t)=>{let n=e!=null;return[c=>t[0]({lengthComputable:n,total:e,loaded:c}),t[1]]},_s=e=>(...t)=>$.asap(()=>e(...t)),eg=Q.hasStandardBrowserEnv?((e,t)=>n=>(n=new URL(n,Q.origin),e.protocol===n.protocol&&e.host===n.host&&(t||e.port===n.port)))(new URL(Q.origin),Q.navigator&&/(msie|trident)/i.test(Q.navigator.userAgent)):()=>!0,tg=Q.hasStandardBrowserEnv?{write(e,t,n,c,o,i,r){if(typeof document>"u")return;let s=[`${e}=${encodeURIComponent(t)}`];$.isNumber(n)&&s.push(`expires=${new Date(n).toUTCString()}`),$.isString(c)&&s.push(`path=${c}`),$.isString(o)&&s.push(`domain=${o}`),i===!0&&s.push("secure"),$.isString(r)&&s.push(`SameSite=${r}`),document.cookie=s.join("; ")},read(e){if(typeof document>"u")return null;let t=document.cookie.split(";");for(let n=0;n<t.length;n++){let c=t[n].replace(/^\s+/,""),o=c.indexOf("=");if(o!==-1&&c.slice(0,o)===e)try{return decodeURIComponent(c.slice(o+1))}catch{return c.slice(o+1)}}return null},remove(e){this.write(e,"",Date.now()-864e5,"/")}}:{write(){},read(){return null},remove(){}};function rg(e){return typeof e!="string"?!1:/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)}function sg(e,t){return t?e.replace(/\/?\/$/,"")+"/"+t.replace(/^\/+/,""):e}var ag=/^https?:(?!\/\/)/i,og=/[\t\n\r]/g;function ng(e){let t=0;for(;t<e.length&&e.charCodeAt(t)<=32;)t++;return e.slice(t)}function ug(e){return ng(e).replace(og,"")}function zs(e,t){if(typeof e=="string"&&ag.test(ug(e)))throw new E('Invalid URL: missing "//" after protocol',E.ERR_INVALID_URL,t)}function ra(e,t,n,c){zs(t,c);let o=!rg(t);return e&&(o||n===!1)?(zs(e,c),sg(e,t)):t}var Hs=e=>e instanceof Z?{...e}:e;function Re(e,t){e=e||{},t=t||{};let n=Object.create(null);Object.defineProperty(n,"hasOwnProperty",{__proto__:null,value:Object.prototype.hasOwnProperty,enumerable:!1,writable:!0,configurable:!0});function c(d,p,f,l){return $.isPlainObject(d)&&$.isPlainObject(p)?$.merge.call({caseless:l},d,p):$.isPlainObject(p)?$.merge({},p):$.isArray(p)?p.slice():p}function o(d,p,f,l){if($.isUndefined(p)){if(!$.isUndefined(d))return c(void 0,d,f,l)}else return c(d,p,f,l)}function i(d,p){if(!$.isUndefined(p))return c(void 0,p)}function r(d,p){if($.isUndefined(p)){if(!$.isUndefined(d))return c(void 0,d)}else return c(void 0,p)}function s(d){let p=$.hasOwnProp(t,"transitional")?t.transitional:void 0;if(!$.isUndefined(p))if($.isPlainObject(p)){if($.hasOwnProp(p,d))return p[d]}else return;let f=$.hasOwnProp(e,"transitional")?e.transitional:void 0;if($.isPlainObject(f)&&$.hasOwnProp(f,d))return f[d]}function a(d,p,f){if($.hasOwnProp(t,f))return c(d,p);if($.hasOwnProp(e,f))return c(void 0,d)}let u={url:i,method:i,data:i,baseURL:r,transformRequest:r,transformResponse:r,paramsSerializer:r,timeout:r,timeoutMessage:r,withCredentials:r,withXSRFToken:r,adapter:r,responseType:r,xsrfCookieName:r,xsrfHeaderName:r,onUploadProgress:r,onDownloadProgress:r,decompress:r,maxContentLength:r,maxBodyLength:r,beforeRedirect:r,transport:r,httpAgent:r,httpsAgent:r,cancelToken:r,socketPath:r,allowedSocketPaths:r,responseEncoding:r,validateStatus:a,headers:(d,p,f)=>o(Hs(d),Hs(p),f,!0)};return $.forEach(Object.keys({...e,...t}),function(p){if(p==="__proto__"||p==="constructor"||p==="prototype")return;let f=$.hasOwnProp(u,p)?u[p]:o,l=$.hasOwnProp(e,p)?e[p]:void 0,q=$.hasOwnProp(t,p)?t[p]:void 0,y=f(l,q,p);$.isUndefined(y)&&f!==a||(n[p]=y)}),$.hasOwnProp(t,"validateStatus")&&$.isUndefined(t.validateStatus)&&s("validateStatusUndefinedResolves")===!1&&($.hasOwnProp(e,"validateStatus")?n.validateStatus=c(void 0,e.validateStatus):delete n.validateStatus),n}var cg=["content-type","content-length"];function ig(e,t,n){if(n!=="content-only"){e.set(t);return}Object.entries(t||{}).forEach(([c,o])=>{cg.includes(c.toLowerCase())&&e.set(c,o)})}var dg=e=>encodeURIComponent(e).replace(/%([0-9A-F]{2})/gi,(t,n)=>String.fromCharCode(parseInt(n,16)));function sa(e){let t=Re({},e),n=f=>$.hasOwnProp(t,f)?t[f]:void 0,c=n("data"),o=n("withXSRFToken"),i=n("xsrfHeaderName"),r=n("xsrfCookieName"),s=n("headers"),a=n("auth"),u=n("baseURL"),d=n("allowAbsoluteUrls"),p=n("url");if(t.headers=s=Z.from(s),t.url=Ts(ra(u,p,d,t),n("params"),n("paramsSerializer")),a){let f=$.getSafeProp(a,"username")||"",l=$.getSafeProp(a,"password")||"";try{s.set("Authorization","Basic "+btoa(f+":"+(l?dg(l):"")))}catch(q){throw E.from(q,E.ERR_BAD_OPTION_VALUE,e)}}if($.isFormData(c)&&(Q.hasStandardBrowserEnv||Q.hasStandardBrowserWebWorkerEnv||$.isReactNative(c)?s.setContentType(void 0):$.isFunction(c.getHeaders)&&ig(s,c.getHeaders(),n("formDataHeaderPolicy"))),Q.hasStandardBrowserEnv&&($.isFunction(o)&&(o=o(t)),o===!0||o==null&&eg(t.url))){let l=i&&r&&tg.read(r);l&&s.set(i,l)}return t}var pg=typeof XMLHttpRequest<"u",fg=pg&&function(e){return new Promise(function(n,c){let o=sa(e),i=o.data,r=Z.from(o.headers).normalize(),{responseType:s,onUploadProgress:a,onDownloadProgress:u}=o,d,p,f,l,q;function y(){l&&l(),q&&q(),o.cancelToken&&o.cancelToken.unsubscribe(d),o.signal&&o.signal.removeEventListener("abort",d)}let b=new XMLHttpRequest;b.open(o.method.toUpperCase(),o.url,!0),b.timeout=o.timeout;function g(){if(!b)return;let w=Z.from("getAllResponseHeaders"in b&&b.getAllResponseHeaders()),W={data:!s||s==="text"||s==="json"?b.responseText:b.response,status:b.status,statusText:b.statusText,headers:w,config:e,request:b};ta(function(re){n(re),y()},function(re){c(re),y()},W),b=null}"onloadend"in b?b.onloadend=g:b.onreadystatechange=function(){!b||b.readyState!==4||b.status===0&&!(b.responseURL&&b.responseURL.startsWith("file:"))||setTimeout(g)},b.onabort=function(){b&&(c(new E("Request aborted",E.ECONNABORTED,e,b)),y(),b=null)},b.onerror=function(D){let W=D&&D.message?D.message:"Network Error",I=new E(W,E.ERR_NETWORK,e,b);I.event=D||null,c(I),y(),b=null},b.ontimeout=function(){let D=o.timeout?"timeout of "+o.timeout+"ms exceeded":"timeout exceeded",W=o.transitional||Qr;o.timeoutErrorMessage&&(D=o.timeoutErrorMessage),c(new E(D,W.clarifyTimeoutError?E.ETIMEDOUT:E.ECONNABORTED,e,b)),y(),b=null},i===void 0&&r.setContentType(null),"setRequestHeader"in b&&$.forEach(Qs(r),function(D,W){b.setRequestHeader(W,D)}),$.isUndefined(o.withCredentials)||(b.withCredentials=!!o.withCredentials),s&&s!=="json"&&(b.responseType=o.responseType),u&&([f,q]=rr(u,!0),b.addEventListener("progress",f)),a&&b.upload&&([p,l]=rr(a),b.upload.addEventListener("progress",p),b.upload.addEventListener("loadend",l)),(o.cancelToken||o.signal)&&(d=w=>{b&&(c(!w||w.type?new Ee(null,e,b):w),b.abort(),y(),b=null)},o.cancelToken&&o.cancelToken.subscribe(d),o.signal&&(o.signal.aborted?d():o.signal.addEventListener("abort",d)));let x=Th(o.url);if(x&&!Q.protocols.includes(x)){c(new E("Unsupported protocol "+x+":",E.ERR_BAD_REQUEST,e)),y();return}b.send(i||null)})},mg=(e,t)=>{if(e=e?e.filter(Boolean):[],!t&&!e.length)return;let n=new AbortController,c=!1,o=function(a){if(!c){c=!0,r();let u=a instanceof Error?a:this.reason;n.abort(u instanceof E?u:new Ee(u instanceof Error?u.message:u))}},i=t&&setTimeout(()=>{i=null,o(new E(`timeout of ${t}ms exceeded`,E.ETIMEDOUT))},t),r=()=>{e&&(i&&clearTimeout(i),i=null,e.forEach(a=>{a.unsubscribe?a.unsubscribe(o):a.removeEventListener("abort",o)}),e=null)};e.forEach(a=>a.addEventListener("abort",o,{once:!0}));let{signal:s}=n;return s.unsubscribe=()=>$.asap(r),s},lg=function*(e,t){let n=e.byteLength;if(n<t){yield e;return}let c=0,o;for(;c<n;)o=c+t,yield e.slice(c,o),c=o},hg=async function*(e,t){for await(let n of gg(e))yield*lg(n,t)},gg=async function*(e){if(e[Symbol.asyncIterator]){yield*e;return}let t=e.getReader();try{for(;;){let{done:n,value:c}=await t.read();if(n)break;yield c}}finally{await t.cancel()}},Cs=(e,t,n,c)=>{let o=hg(e,t),i=0,r,s=a=>{r||(r=!0,c&&c(a))};return new ReadableStream({async pull(a){try{let{done:u,value:d}=await o.next();if(u){s(),a.close();return}let p=d.byteLength;if(n){let f=i+=p;n(f)}a.enqueue(new Uint8Array(d))}catch(u){throw s(u),u}},cancel(a){return s(a),o.return()}},{highWaterMark:2})},sr=e=>e>=48&&e<=57||e>=65&&e<=70||e>=97&&e<=102,yg=(e,t,n)=>t+2<n&&sr(e.charCodeAt(t+1))&&sr(e.charCodeAt(t+2));function bg(e){if(!e||typeof e!="string"||!e.startsWith("data:"))return 0;let t=e.indexOf(",");if(t<0)return 0;let n=e.slice(5,t),c=e.slice(t+1);if(/;base64/i.test(n)){let r=c.length,s=c.length;for(let l=0;l<s;l++)if(c.charCodeAt(l)===37&&l+2<s){let q=c.charCodeAt(l+1),y=c.charCodeAt(l+2);sr(q)&&sr(y)&&(r-=2,l+=2)}let a=0,u=s-1,d=l=>l>=2&&c.charCodeAt(l-2)===37&&c.charCodeAt(l-1)===51&&(c.charCodeAt(l)===68||c.charCodeAt(l)===100);u>=0&&(c.charCodeAt(u)===61?(a++,u--):d(u)&&(a++,u-=3)),a===1&&u>=0&&(c.charCodeAt(u)===61||d(u))&&a++;let f=Math.floor(r/4)*3-(a||0);return f>0?f:0}let i=0;for(let r=0,s=c.length;r<s;r++){let a=c.charCodeAt(r);if(a===37&&yg(c,r,s))i+=1,r+=2;else if(a<128)i+=1;else if(a<2048)i+=2;else if(a>=55296&&a<=56319&&r+1<s){let u=c.charCodeAt(r+1);u>=56320&&u<=57343?(i+=4,r++):i+=3}else i+=3}return i}var vr="1.18.1",js=64*1024,{isFunction:Pt}=$,$g=e=>encodeURIComponent(e).replace(/%([0-9A-F]{2})/gi,(t,n)=>String.fromCharCode(parseInt(n,16))),Ds=e=>{if(!$.isString(e))return e;try{return decodeURIComponent(e)}catch{return e}},Ns=(e,...t)=>{try{return!!e(...t)}catch{return!1}},xg=e=>{let t=e.indexOf("://"),n=e;return t!==-1&&(n=n.slice(t+3)),n.includes("@")||n.includes(":")},qg=e=>{let t=$.global!==void 0&&$.global!==null?$.global:globalThis,{ReadableStream:n,TextEncoder:c}=t;e=$.merge.call({skipUndefined:!0},{Request:t.Request,Response:t.Response},e);let{fetch:o,Request:i,Response:r}=e,s=o?Pt(o):typeof fetch=="function",a=Pt(i),u=Pt(r);if(!s)return!1;let d=s&&Pt(n),p=s&&(typeof c=="function"?(g=>x=>g.encode(x))(new c):async g=>new Uint8Array(await new i(g).arrayBuffer())),f=a&&d&&Ns(()=>{let g=!1,x=new i(Q.origin,{body:new n,method:"POST",get duplex(){return g=!0,"half"}}),w=x.headers.has("Content-Type");return x.body!=null&&x.body.cancel(),g&&!w}),l=u&&d&&Ns(()=>$.isReadableStream(new r("").body)),q={stream:l&&(g=>g.body)};s&&["text","arrayBuffer","blob","formData","stream"].forEach(g=>{!q[g]&&(q[g]=(x,w)=>{let D=x&&x[g];if(D)return D.call(x);throw new E(`Response type '${g}' is not supported`,E.ERR_NOT_SUPPORT,w)})});let y=async g=>{if(g==null)return 0;if($.isBlob(g))return g.size;if($.isSpecCompliantForm(g))return(await new i(Q.origin,{method:"POST",body:g}).arrayBuffer()).byteLength;if($.isArrayBufferView(g)||$.isArrayBuffer(g))return g.byteLength;if($.isURLSearchParams(g)&&(g=g+""),$.isString(g))return(await p(g)).byteLength},b=async(g,x)=>{let w=$.toFiniteNumber(g.getContentLength());return w??y(x)};return async g=>{let{url:x,method:w,data:D,signal:W,cancelToken:I,timeout:re,onDownloadProgress:Ue,onUploadProgress:Be,responseType:se,headers:ae,withCredentials:H="same-origin",fetchOptions:C,maxContentLength:z,maxBodyLength:j}=sa(g),V=$.isNumber(z)&&z>-1,S=$.isNumber(j)&&j>-1,_=M=>$.hasOwnProp(g,M)?g[M]:void 0,R=o||fetch;se=se?(se+"").toLowerCase():"text";let O=mg([W,I&&I.toAbortSignal()],re),F=null,N=O&&O.unsubscribe&&(()=>{O.unsubscribe()}),J,we=null,ys=()=>new E("Request body larger than maxBodyLength limit",E.ERR_BAD_REQUEST,g,F);try{let M,A=_("auth");if(A){let U=$.getSafeProp(A,"username")||"",k=$.getSafeProp(A,"password")||"";M={username:U,password:k}}if(xg(x)){let U=new URL(x,Q.origin);if(!M&&(U.username||U.password)){let k=Ds(U.username),ge=Ds(U.password);M={username:k,password:ge}}(U.username||U.password)&&(U.username="",U.password="",x=U.href)}if(M&&(ae.delete("authorization"),ae.set("Authorization","Basic "+btoa($g((M.username||"")+":"+(M.password||""))))),V&&typeof x=="string"&&x.startsWith("data:")&&bg(x)>z)throw new E("maxContentLength size of "+z+" exceeded",E.ERR_BAD_RESPONSE,g,F);if(S&&w!=="get"&&w!=="head"){let U=await y(D);if(typeof U=="number"&&isFinite(U)&&(J=U,U>j))throw ys()}let vt=S&&($.isReadableStream(D)||$.isStream(D)),bs=(U,k,ge)=>Cs(U,js,Oe=>{if(S&&Oe>j)throw we=ys();k&&k(Oe)},ge);if(f&&w!=="get"&&w!=="head"&&(Be||vt)){if(J=J??await b(ae,D),J!==0||vt){let U=new i(x,{method:"POST",body:D,duplex:"half"}),k;if($.isFormData(D)&&(k=U.headers.get("content-type"))&&ae.setContentType(k),U.body){let[ge,Oe]=Be&&Rs(J,rr(_s(Be)))||[];D=bs(U.body,ge,Oe)}}}else if(vt&&!a&&d&&w!=="get"&&w!=="head")D=bs(D);else if(vt&&a&&!f&&w!=="get"&&w!=="head")throw new E("Stream request bodies are not supported by the current fetch implementation",E.ERR_NOT_SUPPORT,g,F);$.isString(H)||(H=H?"include":"omit");let zl=a&&"credentials"in i.prototype;if($.isFormData(D)){let U=ae.getContentType();U&&/^multipart\/form-data/i.test(U)&&!/boundary=/i.test(U)&&ae.delete("content-type")}ae.set("User-Agent","axios/"+vr,!1);let $s={...C,signal:O,method:w.toUpperCase(),headers:Qs(ae.normalize()),body:D,duplex:"half",credentials:zl?H:void 0};F=a&&new i(x,$s);let ie=await(a?R(F,C):R(x,$s)),xs=Z.from(ie.headers);if(V){let U=$.toFiniteNumber(xs.getContentLength());if(U!=null&&U>z)throw new E("maxContentLength size of "+z+" exceeded",E.ERR_BAD_RESPONSE,g,F)}let Nr=l&&(se==="stream"||se==="response");if(l&&ie.body&&(Ue||V||Nr&&N)){let U={};["status","statusText","headers"].forEach(ve=>{U[ve]=ie[ve]});let k=$.toFiniteNumber(xs.getContentLength()),[ge,Oe]=Ue&&Rs(k,rr(_s(Ue),!0))||[],qs=0,Hl=ve=>{if(V&&(qs=ve,qs>z))throw new E("maxContentLength size of "+z+" exceeded",E.ERR_BAD_RESPONSE,g,F);ge&&ge(ve)};ie=new r(Cs(ie.body,js,Hl,()=>{Oe&&Oe(),N&&N()}),U)}se=se||"text";let de=await q[$.findKey(q,se)||"text"](ie,g);if(V&&!l&&!Nr){let U;if(de!=null&&(typeof de.byteLength=="number"?U=de.byteLength:typeof de.size=="number"?U=de.size:typeof de=="string"&&(U=typeof c=="function"?new c().encode(de).byteLength:de.length)),typeof U=="number"&&U>z)throw new E("maxContentLength size of "+z+" exceeded",E.ERR_BAD_RESPONSE,g,F)}return!Nr&&N&&N(),await new Promise((U,k)=>{ta(U,k,{data:de,headers:Z.from(ie.headers),status:ie.status,statusText:ie.statusText,config:g,request:F})})}catch(M){if(N&&N(),O&&O.aborted&&O.reason instanceof E){let A=O.reason;throw A.config=g,F&&(A.request=F),M!==A&&Object.defineProperty(A,"cause",{__proto__:null,value:M,writable:!0,enumerable:!1,configurable:!0}),A}if(we)throw F&&!we.request&&(we.request=F),we;if(M instanceof E)throw F&&!M.request&&(M.request=F),M;if(M&&M.name==="TypeError"&&/Load failed|fetch/i.test(M.message)){let A=new E("Network Error",E.ERR_NETWORK,g,F,M&&M.response);throw Object.defineProperty(A,"cause",{__proto__:null,value:M.cause||M,writable:!0,enumerable:!1,configurable:!0}),A}throw E.from(M,M&&M.code,g,F,M&&M.response)}}},wg=new Map,aa=e=>{let t=e&&e.env||{},{fetch:n,Request:c,Response:o}=t,i=[c,o,n],r=i.length,s=r,a,u,d=wg;for(;s--;)a=i[s],u=d.get(a),u===void 0&&d.set(a,u=s?new Map:qg(t)),d=u;return u};aa();var Pr={http:Uh,xhr:fg,fetch:{get:aa}};$.forEach(Pr,(e,t)=>{if(e){try{Object.defineProperty(e,"name",{__proto__:null,value:t})}catch{}Object.defineProperty(e,"adapterName",{__proto__:null,value:t})}});var Us=e=>`- ${e}`,Og=e=>$.isFunction(e)||e===null||e===!1;function Fg(e,t){e=$.isArray(e)?e:[e];let{length:n}=e,c,o,i={};for(let r=0;r<n;r++){c=e[r];let s;if(o=c,!Og(c)&&(o=Pr[(s=String(c)).toLowerCase()],o===void 0))throw new E(`Unknown adapter '${s}'`);if(o&&($.isFunction(o)||(o=o.get(t))))break;i[s||"#"+r]=o}if(!o){let r=Object.entries(i).map(([a,u])=>`adapter ${a} `+(u===!1?"is not supported by the environment":"is not available in the build")),s=n?r.length>1?`since :
|
|
5
|
-
`+r.map(
|
|
6
|
-
`):" "+
|
|
2
|
+
var BtrzApiClient=(()=>{var m=(e,t)=>()=>{try{return t||e((t={exports:{}}).exports,t),t.exports}catch(n){throw t=0,n}};var ia=m((gO,ca)=>{"use strict";function Is(e,t){return function(){return e.apply(t,arguments)}}var{toString:Nl}=Object.prototype,{getPrototypeOf:Me}=Object,{iterator:ke,toStringTag:Vs}=Symbol,tr=(({hasOwnProperty:e})=>(t,n)=>e.call(t,n))(Object.prototype),Te=(e,t)=>{let n=e,c=[];for(;n!=null&&n!==Object.prototype;){if(c.indexOf(n)!==-1)return!1;if(c.push(n),tr(n,t))return!0;n=Me(n)}return!1},Ul=(e,t)=>e!=null&&Te(e,t)?e[t]:void 0,Gr=(e=>t=>{let n=Nl.call(t);return e[n]||(e[n]=n.slice(8,-1).toLowerCase())})(Object.create(null)),oe=e=>(e=e.toLowerCase(),t=>Gr(t)===e),or=e=>t=>typeof t===e,{isArray:Se}=Array,Ie=or("undefined");function Ve(e){return e!==null&&!Ie(e)&&e.constructor!==null&&!Ie(e.constructor)&&T(e.constructor.isBuffer)&&e.constructor.isBuffer(e)}var Ks=oe("ArrayBuffer");function Bl(e){let t;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?t=ArrayBuffer.isView(e):t=e&&e.buffer&&Ks(e.buffer),t}var Ll=or("string"),T=or("function"),Ws=or("number"),Ke=e=>e!==null&&typeof e=="object",Ml=e=>e===!0||e===!1,kt=e=>{if(!Ke(e))return!1;let t=Me(e);return(t===null||t===Object.prototype||Me(t)===null)&&!Te(e,Vs)&&!Te(e,ke)},Il=e=>{if(!Ke(e)||Ve(e))return!1;try{return Object.keys(e).length===0&&Object.getPrototypeOf(e)===Object.prototype}catch{return!1}},Vl=oe("Date"),Kl=oe("File"),Wl=e=>!!(e&&typeof e.uri<"u"),Jl=e=>e&&typeof e.getParts<"u",Xl=oe("Blob"),Gl=oe("FileList"),Zl=e=>Ke(e)&&T(e.pipe);function Ql(){return typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{}}var Os=Ql(),Fs=typeof Os.FormData<"u"?Os.FormData:void 0,Yl=e=>{if(!e)return!1;if(Fs&&e instanceof Fs)return!0;let t=Me(e);if(!t||t===Object.prototype||!T(e.append))return!1;let n=Gr(e);return n==="formdata"||n==="object"&&T(e.toString)&&e.toString()==="[object FormData]"},vl=oe("URLSearchParams"),[Pl,Tl,kl,Al]=["ReadableStream","Request","Response","Headers"].map(oe),eh=e=>e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function Ae(e,t,{allOwnKeys:n=!1}={}){if(e===null||typeof e>"u")return;let c,o;if(typeof e!="object"&&(e=[e]),Se(e))for(c=0,o=e.length;c<o;c++)t.call(null,e[c],c,e);else{if(Ve(e))return;let i=n?Object.getOwnPropertyNames(e):Object.keys(e),r=i.length,s;for(c=0;c<r;c++)s=i[c],t.call(null,e[s],s,e)}}function Js(e,t){if(Ve(e))return null;t=t.toLowerCase();let n=Object.keys(e),c=n.length,o;for(;c-- >0;)if(o=n[c],t===o.toLowerCase())return o;return null}var Fe=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:global,Xs=e=>!Ie(e)&&e!==Fe;function Vr(...e){let{caseless:t,skipUndefined:n}=Xs(this)&&this||{},c={},o=(i,r)=>{if(r==="__proto__"||r==="constructor"||r==="prototype")return;let s=t&&typeof r=="string"&&Js(c,r)||r,a=tr(c,s)?c[s]:void 0;kt(a)&&kt(i)?c[s]=Vr(a,i):kt(i)?c[s]=Vr({},i):Se(i)?c[s]=i.slice():(!n||!Ie(i))&&(c[s]=i)};for(let i=0,r=e.length;i<r;i++){let s=e[i];if(!s||Ve(s)||(Ae(s,o),typeof s!="object"||Se(s)))continue;let a=Object.getOwnPropertySymbols(s);for(let u=0;u<a.length;u++){let d=a[u];fh.call(s,d)&&o(s[d],d)}}return c}var th=(e,t,n,{allOwnKeys:c}={})=>(Ae(t,(o,i)=>{n&&T(o)?Object.defineProperty(e,i,{__proto__:null,value:Is(o,n),writable:!0,enumerable:!0,configurable:!0}):Object.defineProperty(e,i,{__proto__:null,value:o,writable:!0,enumerable:!0,configurable:!0})},{allOwnKeys:c}),e),rh=e=>(e.charCodeAt(0)===65279&&(e=e.slice(1)),e),sh=(e,t,n,c)=>{e.prototype=Object.create(t.prototype,c),Object.defineProperty(e.prototype,"constructor",{__proto__:null,value:e,writable:!0,enumerable:!1,configurable:!0}),Object.defineProperty(e,"super",{__proto__:null,value:t.prototype}),n&&Object.assign(e.prototype,n)},ah=(e,t,n,c)=>{let o,i,r,s={};if(t=t||{},e==null)return t;do{for(o=Object.getOwnPropertyNames(e),i=o.length;i-- >0;)r=o[i],(!c||c(r,e,t))&&!s[r]&&(t[r]=e[r],s[r]=!0);e=n!==!1&&Me(e)}while(e&&(!n||n(e,t))&&e!==Object.prototype);return t},oh=(e,t,n)=>{e=String(e),(n===void 0||n>e.length)&&(n=e.length),n-=t.length;let c=e.indexOf(t,n);return c!==-1&&c===n},nh=e=>{if(!e)return null;if(Se(e))return e;let t=e.length;if(!Ws(t))return null;let n=new Array(t);for(;t-- >0;)n[t]=e[t];return n},uh=(e=>t=>e&&t instanceof e)(typeof Uint8Array<"u"&&Me(Uint8Array)),ch=(e,t)=>{let c=(e&&e[ke]).call(e),o;for(;(o=c.next())&&!o.done;){let i=o.value;t.call(e,i[0],i[1])}},ih=(e,t)=>{let n,c=[];for(;(n=e.exec(t))!==null;)c.push(n);return c},dh=oe("HTMLFormElement"),ph=e=>e.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(n,c,o){return c.toUpperCase()+o}),{propertyIsEnumerable:fh}=Object.prototype,mh=oe("RegExp"),Gs=(e,t)=>{let n=Object.getOwnPropertyDescriptors(e),c={};Ae(n,(o,i)=>{let r;(r=t(o,i,e))!==!1&&(c[i]=r||o)}),Object.defineProperties(e,c)},lh=e=>{Gs(e,(t,n)=>{if(T(e)&&["arguments","caller","callee"].includes(n))return!1;let c=e[n];if(T(c)){if(t.enumerable=!1,"writable"in t){t.writable=!1;return}t.set||(t.set=()=>{throw Error("Can not rewrite read-only method '"+n+"'")})}})},hh=(e,t)=>{let n={},c=o=>{o.forEach(i=>{n[i]=!0})};return Se(e)?c(e):c(String(e).split(t)),n},gh=()=>{},yh=(e,t)=>e!=null&&Number.isFinite(e=+e)?e:t;function bh(e){return!!(e&&T(e.append)&&e[Vs]==="FormData"&&e[ke])}var $h=e=>{let t=new WeakSet,n=c=>{if(Ke(c)){if(t.has(c))return;if(Ve(c))return c;if(!("toJSON"in c)){t.add(c);let o=Se(c)?[]:{};return Ae(c,(i,r)=>{let s=n(i);!Ie(s)&&(o[r]=s)}),t.delete(c),o}}return c};return n(e)},xh=oe("AsyncFunction"),qh=e=>e&&(Ke(e)||T(e))&&T(e.then)&&T(e.catch),Zs=((e,t)=>e?setImmediate:t?((n,c)=>(Fe.addEventListener("message",({source:o,data:i})=>{o===Fe&&i===n&&c.length&&c.shift()()},!1),o=>{c.push(o),Fe.postMessage(n,"*")}))(`axios@${Math.random()}`,[]):n=>setTimeout(n))(typeof setImmediate=="function",T(Fe.postMessage)),wh=typeof queueMicrotask<"u"?queueMicrotask.bind(Fe):typeof process<"u"&&process.nextTick||Zs,Qs=e=>e!=null&&T(e[ke]),Oh=e=>e!=null&&Te(e,ke)&&Qs(e),$={isArray:Se,isArrayBuffer:Ks,isBuffer:Ve,isFormData:Yl,isArrayBufferView:Bl,isString:Ll,isNumber:Ws,isBoolean:Ml,isObject:Ke,isPlainObject:kt,isEmptyObject:Il,isReadableStream:Pl,isRequest:Tl,isResponse:kl,isHeaders:Al,isUndefined:Ie,isDate:Vl,isFile:Kl,isReactNativeBlob:Wl,isReactNative:Jl,isBlob:Xl,isRegExp:mh,isFunction:T,isStream:Zl,isURLSearchParams:vl,isTypedArray:uh,isFileList:Gl,forEach:Ae,merge:Vr,extend:th,trim:eh,stripBOM:rh,inherits:sh,toFlatObject:ah,kindOf:Gr,kindOfTest:oe,endsWith:oh,toArray:nh,forEachEntry:ch,matchAll:ih,isHTMLForm:dh,hasOwnProperty:tr,hasOwnProp:tr,hasOwnInPrototypeChain:Te,getSafeProp:Ul,reduceDescriptors:Gs,freezeMethods:lh,toObjectSet:hh,toCamelCase:ph,noop:gh,toFiniteNumber:yh,findKey:Js,global:Fe,isContextDefined:Xs,isSpecCompliantForm:bh,toJSONObject:$h,isAsyncFn:xh,isThenable:qh,setImmediate:Zs,asap:wh,isIterable:Qs,isSafeIterable:Oh},Fh=$.toObjectSet(["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"]),Sh=e=>{let t={},n,c,o;return e&&e.split(`
|
|
3
|
+
`).forEach(function(r){o=r.indexOf(":"),n=r.substring(0,o).trim().toLowerCase(),c=r.substring(o+1).trim(),!(!n||t[n]&&Fh[n])&&(n==="set-cookie"?t[n]?t[n].push(c):t[n]=[c]:t[n]=t[n]?t[n]+", "+c:c)}),t};function Eh(e){let t=0,n=e.length;for(;t<n;){let c=e.charCodeAt(t);if(c!==9&&c!==32)break;t+=1}for(;n>t;){let c=e.charCodeAt(n-1);if(c!==9&&c!==32)break;n-=1}return t===0&&n===e.length?e:e.slice(t,n)}var Rh=new RegExp("[\\u0000-\\u0008\\u000a-\\u001f\\u007f]+","g"),_h=new RegExp("[^\\u0009\\u0020-\\u007e\\u0080-\\u00ff]+","g");function Zr(e,t){return $.isArray(e)?e.map(n=>Zr(n,t)):Eh(String(e).replace(t,""))}var zh=e=>Zr(e,Rh),Hh=e=>Zr(e,_h);function Ys(e){let t=Object.create(null);return $.forEach(e.toJSON(),(n,c)=>{t[c]=Hh(n)}),t}var Ss=Symbol("internals");function Pe(e){return e&&String(e).trim().toLowerCase()}function At(e){return e===!1||e==null?e:$.isArray(e)?e.map(At):zh(String(e))}function Ch(e){let t=Object.create(null),n=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g,c;for(;c=n.exec(e);)t[c[1]]=c[2];return t}var jh=e=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim());function Br(e,t,n,c,o){if($.isFunction(c))return c.call(this,t,n);if(o&&(t=n),!!$.isString(t)){if($.isString(c))return t.indexOf(c)!==-1;if($.isRegExp(c))return c.test(t)}}function Dh(e){return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(t,n,c)=>n.toUpperCase()+c)}function Nh(e,t){let n=$.toCamelCase(" "+t);["get","set","has"].forEach(c=>{Object.defineProperty(e,c+n,{__proto__:null,value:function(o,i,r){return this[c].call(this,t,o,i,r)},configurable:!0})})}var Z=class{constructor(t){t&&this.set(t)}set(t,n,c){let o=this;function i(s,a,u){let d=Pe(a);if(!d)return;let p=$.findKey(o,d);(!p||o[p]===void 0||u===!0||u===void 0&&o[p]!==!1)&&(o[p||a]=At(s))}let r=(s,a)=>$.forEach(s,(u,d)=>i(u,d,a));if($.isPlainObject(t)||t instanceof this.constructor)r(t,n);else if($.isString(t)&&(t=t.trim())&&!jh(t))r(Sh(t),n);else if($.isObject(t)&&$.isSafeIterable(t)){let s=Object.create(null),a,u;for(let d of t){if(!$.isArray(d))throw new TypeError("Object iterator must return a key-value pair");u=d[0],$.hasOwnProp(s,u)?(a=s[u],s[u]=$.isArray(a)?[...a,d[1]]:[a,d[1]]):s[u]=d[1]}r(s,n)}else t!=null&&i(n,t,c);return this}get(t,n){if(t=Pe(t),t){let c=$.findKey(this,t);if(c){let o=this[c];if(!n)return o;if(n===!0)return Ch(o);if($.isFunction(n))return n.call(this,o,c);if($.isRegExp(n))return n.exec(o);throw new TypeError("parser must be boolean|regexp|function")}}}has(t,n){if(t=Pe(t),t){let c=$.findKey(this,t);return!!(c&&this[c]!==void 0&&(!n||Br(this,this[c],c,n)))}return!1}delete(t,n){let c=this,o=!1;function i(r){if(r=Pe(r),r){let s=$.findKey(c,r);s&&(!n||Br(c,c[s],s,n))&&(delete c[s],o=!0)}}return $.isArray(t)?t.forEach(i):i(t),o}clear(t){let n=Object.keys(this),c=n.length,o=!1;for(;c--;){let i=n[c];(!t||Br(this,this[i],i,t,!0))&&(delete this[i],o=!0)}return o}normalize(t){let n=this,c={};return $.forEach(this,(o,i)=>{let r=$.findKey(c,i);if(r){n[r]=At(o),delete n[i];return}let s=t?Dh(i):String(i).trim();s!==i&&delete n[i],n[s]=At(o),c[s]=!0}),this}concat(...t){return this.constructor.concat(this,...t)}toJSON(t){let n=Object.create(null);return $.forEach(this,(c,o)=>{c!=null&&c!==!1&&(n[o]=t&&$.isArray(c)?c.join(", "):c)}),n}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map(([t,n])=>t+": "+n).join(`
|
|
4
|
+
`)}getSetCookie(){return this.get("set-cookie")||[]}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(t){return t instanceof this?t:new this(t)}static concat(t,...n){let c=new this(t);return n.forEach(o=>c.set(o)),c}static accessor(t){let c=(this[Ss]=this[Ss]={accessors:{}}).accessors,o=this.prototype;function i(r){let s=Pe(r);c[s]||(Nh(o,r),c[s]=!0)}return $.isArray(t)?t.forEach(i):i(t),this}};Z.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]);$.reduceDescriptors(Z.prototype,({value:e},t)=>{let n=t[0].toUpperCase()+t.slice(1);return{get:()=>e,set(c){this[n]=c}}});$.freezeMethods(Z);var Uh="[REDACTED ****]";function Bh(e){if($.hasOwnProp(e,"toJSON"))return!0;let t=Object.getPrototypeOf(e);for(;t&&t!==Object.prototype;){if($.hasOwnProp(t,"toJSON"))return!0;t=Object.getPrototypeOf(t)}return!1}function Lh(e,t){let n=new Set(t.map(i=>String(i).toLowerCase())),c=[],o=i=>{if(i===null||typeof i!="object"||$.isBuffer(i))return i;if(c.indexOf(i)!==-1)return;i instanceof Z&&(i=i.toJSON()),c.push(i);let r;if($.isArray(i))r=[],i.forEach((s,a)=>{let u=o(s);$.isUndefined(u)||(r[a]=u)});else{if(!$.isPlainObject(i)&&Bh(i))return c.pop(),i;r=Object.create(null);for(let[s,a]of Object.entries(i)){let u=n.has(s.toLowerCase())?Uh:o(a);$.isUndefined(u)||(r[s]=u)}}return c.pop(),r};return o(e)}var E=class e extends Error{static from(t,n,c,o,i,r){let s=new e(t.message,n||t.code,c,o,i);return Object.defineProperty(s,"cause",{__proto__:null,value:t,writable:!0,enumerable:!1,configurable:!0}),s.name=t.name,t.status!=null&&s.status==null&&(s.status=t.status),r&&Object.assign(s,r),s}constructor(t,n,c,o,i){super(t),Object.defineProperty(this,"message",{__proto__:null,value:t,enumerable:!0,writable:!0,configurable:!0}),this.name="AxiosError",this.isAxiosError=!0,n&&(this.code=n),c&&(this.config=c),o&&(this.request=o),i&&(this.response=i,this.status=i.status)}toJSON(){let t=this.config,n=t&&$.hasOwnProp(t,"redact")?t.redact:void 0,c=$.isArray(n)&&n.length>0?Lh(t,n):$.toJSONObject(t);return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:c,code:this.code,status:this.status}}};E.ERR_BAD_OPTION_VALUE="ERR_BAD_OPTION_VALUE";E.ERR_BAD_OPTION="ERR_BAD_OPTION";E.ECONNABORTED="ECONNABORTED";E.ETIMEDOUT="ETIMEDOUT";E.ECONNREFUSED="ECONNREFUSED";E.ERR_NETWORK="ERR_NETWORK";E.ERR_FR_TOO_MANY_REDIRECTS="ERR_FR_TOO_MANY_REDIRECTS";E.ERR_DEPRECATED="ERR_DEPRECATED";E.ERR_BAD_RESPONSE="ERR_BAD_RESPONSE";E.ERR_BAD_REQUEST="ERR_BAD_REQUEST";E.ERR_CANCELED="ERR_CANCELED";E.ERR_NOT_SUPPORT="ERR_NOT_SUPPORT";E.ERR_INVALID_URL="ERR_INVALID_URL";E.ERR_FORM_DATA_DEPTH_EXCEEDED="ERR_FORM_DATA_DEPTH_EXCEEDED";var Mh=null,vs=100;function Kr(e){return $.isPlainObject(e)||$.isArray(e)}function Ps(e){return $.endsWith(e,"[]")?e.slice(0,-2):e}function Lr(e,t,n){return e?e.concat(t).map(function(o,i){return o=Ps(o),!n&&i?"["+o+"]":o}).join(n?".":""):t}function Ih(e){return $.isArray(e)&&!e.some(Kr)}var Vh=$.toFlatObject($,{},null,function(t){return/^is[A-Z]/.test(t)});function nr(e,t,n){if(!$.isObject(e))throw new TypeError("target must be an object");t=t||new FormData,n=$.toFlatObject(n,{metaTokens:!0,dots:!1,indexes:!1},!1,function(x,w){return!$.isUndefined(w[x])});let c=n.metaTokens,o=n.visitor||q,i=n.dots,r=n.indexes,s=n.Blob||typeof Blob<"u"&&Blob,a=n.maxDepth===void 0?vs:n.maxDepth,u=s&&$.isSpecCompliantForm(t),d=[];if(!$.isFunction(o))throw new TypeError("visitor must be a function");function p(g){if(g===null)return"";if($.isDate(g))return g.toISOString();if($.isBoolean(g))return g.toString();if(!u&&$.isBlob(g))throw new E("Blob is not supported. Use a Buffer instead.");if($.isArrayBuffer(g)||$.isTypedArray(g)){if(u&&typeof s=="function")return new s([g]);if(typeof Buffer<"u")return Buffer.from(g);throw new E("Blob is not supported. Use a Buffer instead.",E.ERR_NOT_SUPPORT)}return g}function f(g){if(g>a)throw new E("Object is too deeply nested ("+g+" levels). Max depth: "+a,E.ERR_FORM_DATA_DEPTH_EXCEEDED)}function l(g,x){if(a===1/0)return JSON.stringify(g);let w=[];return JSON.stringify(g,function(W,I){if(!$.isObject(I))return I;for(;w.length&&w[w.length-1]!==this;)w.pop();return w.push(I),f(x+w.length-1),I})}function q(g,x,w){let D=g;if($.isReactNative(t)&&$.isReactNativeBlob(g))return t.append(Lr(w,x,i),p(g)),!1;if(g&&!w&&typeof g=="object"){if($.endsWith(x,"{}"))x=c?x:x.slice(0,-2),g=l(g,1);else if($.isArray(g)&&Ih(g)||($.isFileList(g)||$.endsWith(x,"[]"))&&(D=$.toArray(g)))return x=Ps(x),D.forEach(function(I,re){!($.isUndefined(I)||I===null)&&t.append(r===!0?Lr([x],re,i):r===null?x:x+"[]",p(I))}),!1}return Kr(g)?!0:(t.append(Lr(w,x,i),p(g)),!1)}let y=Object.assign(Vh,{defaultVisitor:q,convertValue:p,isVisitable:Kr});function b(g,x,w=0){if(!$.isUndefined(g)){if(f(w),d.indexOf(g)!==-1)throw new Error("Circular reference detected in "+x.join("."));d.push(g),$.forEach(g,function(W,I){(!($.isUndefined(W)||W===null)&&o.call(t,W,$.isString(I)?I.trim():I,x,y))===!0&&b(W,x?x.concat(I):[I],w+1)}),d.pop()}}if(!$.isObject(e))throw new TypeError("data must be an object");return b(e),t}function Es(e){let t={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+"};return encodeURIComponent(e).replace(/[!'()~]|%20/g,function(c){return t[c]})}function Qr(e,t){this._pairs=[],e&&nr(e,this,t)}var Ts=Qr.prototype;Ts.append=function(t,n){this._pairs.push([t,n])};Ts.toString=function(t){let n=t?c=>t.call(this,c,Es):Es;return this._pairs.map(function(o){return n(o[0])+"="+n(o[1])},"").join("&")};function Kh(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+")}function ks(e,t,n){if(!t)return e;e=e||"";let c=$.isFunction(n)?{serialize:n}:n,o=$.getSafeProp(c,"encode")||Kh,i=$.getSafeProp(c,"serialize"),r;if(i?r=i(t,c):r=$.isURLSearchParams(t)?t.toString():new Qr(t,c).toString(o),r){let s=e.indexOf("#");s!==-1&&(e=e.slice(0,s)),e+=(e.indexOf("?")===-1?"?":"&")+r}return e}var rr=class{constructor(){this.handlers=[]}use(t,n,c){return this.handlers.push({fulfilled:t,rejected:n,synchronous:c?c.synchronous:!1,runWhen:c?c.runWhen:null}),this.handlers.length-1}eject(t){this.handlers[t]&&(this.handlers[t]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(t){$.forEach(this.handlers,function(c){c!==null&&t(c)})}},Yr={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1,legacyInterceptorReqResOrdering:!0,advertiseZstdAcceptEncoding:!1,validateStatusUndefinedResolves:!0},Wh=typeof URLSearchParams<"u"?URLSearchParams:Qr,Jh=typeof FormData<"u"?FormData:null,Xh=typeof Blob<"u"?Blob:null,Gh={isBrowser:!0,classes:{URLSearchParams:Wh,FormData:Jh,Blob:Xh},protocols:["http","https","file","blob","url","data"]},vr=typeof window<"u"&&typeof document<"u",Wr=typeof navigator=="object"&&navigator||void 0,Zh=vr&&(!Wr||["ReactNative","NativeScript","NS"].indexOf(Wr.product)<0),Qh=typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof self.importScripts=="function",Yh=vr&&window.location.href||"http://localhost",vh=Object.freeze({__proto__:null,hasBrowserEnv:vr,hasStandardBrowserEnv:Zh,hasStandardBrowserWebWorkerEnv:Qh,navigator:Wr,origin:Yh}),Q={...vh,...Gh};function Ph(e,t){return nr(e,new Q.classes.URLSearchParams,{visitor:function(n,c,o,i){return Q.isNode&&$.isBuffer(n)?(this.append(c,n.toString("base64")),!1):i.defaultVisitor.apply(this,arguments)},...t})}var Rs=vs;function As(e){if(e>Rs)throw new E("FormData field is too deeply nested ("+e+" levels). Max depth: "+Rs,E.ERR_FORM_DATA_DEPTH_EXCEEDED)}function Th(e){let t=[],n=/\w+|\[(\w*)]/g,c;for(;(c=n.exec(e))!==null;)As(t.length),t.push(c[0]==="[]"?"":c[1]||c[0]);return t}function kh(e){let t={},n=Object.keys(e),c,o=n.length,i;for(c=0;c<o;c++)i=n[c],t[i]=e[i];return t}function ea(e){function t(n,c,o,i){As(i);let r=n[i++];if(r==="__proto__")return!0;let s=Number.isFinite(+r),a=i>=n.length;return r=!r&&$.isArray(o)?o.length:r,a?($.hasOwnProp(o,r)?o[r]=$.isArray(o[r])?o[r].concat(c):[o[r],c]:o[r]=c,!s):((!$.hasOwnProp(o,r)||!$.isObject(o[r]))&&(o[r]=[]),t(n,c,o[r],i)&&$.isArray(o[r])&&(o[r]=kh(o[r])),!s)}if($.isFormData(e)&&$.isFunction(e.entries)){let n={};return $.forEachEntry(e,(c,o)=>{t(Th(c),o,n,0)}),n}return null}var Le=(e,t)=>e!=null&&$.hasOwnProp(e,t)?e[t]:void 0;function Ah(e,t,n){if($.isString(e))try{return(t||JSON.parse)(e),$.trim(e)}catch(c){if(c.name!=="SyntaxError")throw c}return(n||JSON.stringify)(e)}var et={transitional:Yr,adapter:["xhr","http","fetch"],transformRequest:[function(t,n){let c=n.getContentType()||"",o=c.indexOf("application/json")>-1,i=$.isObject(t);if(i&&$.isHTMLForm(t)&&(t=new FormData(t)),$.isFormData(t))return o?JSON.stringify(ea(t)):t;if($.isArrayBuffer(t)||$.isBuffer(t)||$.isStream(t)||$.isFile(t)||$.isBlob(t)||$.isReadableStream(t))return t;if($.isArrayBufferView(t))return t.buffer;if($.isURLSearchParams(t))return n.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),t.toString();let s;if(i){let a=Le(this,"formSerializer");if(c.indexOf("application/x-www-form-urlencoded")>-1)return Ph(t,a).toString();if((s=$.isFileList(t))||c.indexOf("multipart/form-data")>-1){let u=Le(this,"env"),d=u&&u.FormData;return nr(s?{"files[]":t}:t,d&&new d,a)}}return i||o?(n.setContentType("application/json",!1),Ah(t)):t}],transformResponse:[function(t){let n=Le(this,"transitional")||et.transitional,c=n&&n.forcedJSONParsing,o=Le(this,"responseType"),i=o==="json";if($.isResponse(t)||$.isReadableStream(t))return t;if(t&&$.isString(t)&&(c&&!o||i)){let s=!(n&&n.silentJSONParsing)&&i;try{return JSON.parse(t,Le(this,"parseReviver"))}catch(a){if(s)throw a.name==="SyntaxError"?E.from(a,E.ERR_BAD_RESPONSE,this,null,Le(this,"response")):a}}return t}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:Q.classes.FormData,Blob:Q.classes.Blob},validateStatus:function(t){return t>=200&&t<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};$.forEach(["delete","get","head","post","put","patch","query"],e=>{et.headers[e]={}});function Mr(e,t){let n=this||et,c=t||n,o=Z.from(c.headers),i=c.data;return $.forEach(e,function(s){i=s.call(n,i,o.normalize(),t?t.status:void 0)}),o.normalize(),i}function ta(e){return!!(e&&e.__CANCEL__)}var Ee=class extends E{constructor(t,n,c){super(t??"canceled",E.ERR_CANCELED,n,c),this.name="CanceledError",this.__CANCEL__=!0}};function ra(e,t,n){let c=n.config.validateStatus;!n.status||!c||c(n.status)?e(n):t(new E("Request failed with status code "+n.status,n.status>=400&&n.status<500?E.ERR_BAD_REQUEST:E.ERR_BAD_RESPONSE,n.config,n.request,n))}function eg(e){let t=/^([-+\w]{1,25}):(?:\/\/)?/.exec(e);return t&&t[1]||""}function tg(e,t){e=e||10;let n=new Array(e),c=new Array(e),o=0,i=0,r;return t=t!==void 0?t:1e3,function(a){let u=Date.now(),d=c[i];r||(r=u),n[o]=a,c[o]=u;let p=i,f=0;for(;p!==o;)f+=n[p++],p=p%e;if(o=(o+1)%e,o===i&&(i=(i+1)%e),u-r<t)return;let l=d&&u-d;return l?Math.round(f*1e3/l):void 0}}function rg(e,t){let n=0,c=1e3/t,o,i,r=(u,d=Date.now())=>{n=d,o=null,i&&(clearTimeout(i),i=null),e(...u)};return[(...u)=>{let d=Date.now(),p=d-n;p>=c?r(u,d):(o=u,i||(i=setTimeout(()=>{i=null,r(o)},c-p)))},()=>o&&r(o)]}var sr=(e,t,n=3)=>{let c=0,o=tg(50,250);return rg(i=>{if(!i||typeof i.loaded!="number")return;let r=i.loaded,s=i.lengthComputable?i.total:void 0,a=s!=null?Math.min(r,s):r,u=Math.max(0,a-c),d=o(u);c=Math.max(c,a);let p={loaded:a,total:s,progress:s?a/s:void 0,bytes:u,rate:d||void 0,estimated:d&&s?(s-a)/d:void 0,event:i,lengthComputable:s!=null,[t?"download":"upload"]:!0};e(p)},n)},_s=(e,t)=>{let n=e!=null;return[c=>t[0]({lengthComputable:n,total:e,loaded:c}),t[1]]},zs=e=>(...t)=>$.asap(()=>e(...t)),sg=Q.hasStandardBrowserEnv?((e,t)=>n=>(n=new URL(n,Q.origin),e.protocol===n.protocol&&e.host===n.host&&(t||e.port===n.port)))(new URL(Q.origin),Q.navigator&&/(msie|trident)/i.test(Q.navigator.userAgent)):()=>!0,ag=Q.hasStandardBrowserEnv?{write(e,t,n,c,o,i,r){if(typeof document>"u")return;let s=[`${e}=${encodeURIComponent(t)}`];$.isNumber(n)&&s.push(`expires=${new Date(n).toUTCString()}`),$.isString(c)&&s.push(`path=${c}`),$.isString(o)&&s.push(`domain=${o}`),i===!0&&s.push("secure"),$.isString(r)&&s.push(`SameSite=${r}`),document.cookie=s.join("; ")},read(e){if(typeof document>"u")return null;let t=document.cookie.split(";");for(let n=0;n<t.length;n++){let c=t[n].replace(/^\s+/,""),o=c.indexOf("=");if(o!==-1&&c.slice(0,o)===e)try{return decodeURIComponent(c.slice(o+1))}catch{return c.slice(o+1)}}return null},remove(e){this.write(e,"",Date.now()-864e5,"/")}}:{write(){},read(){return null},remove(){}};function og(e){return typeof e!="string"?!1:/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)}function ng(e,t){return t?e.replace(/\/?\/$/,"")+"/"+t.replace(/^\/+/,""):e}var ug=/^https?:(?!\/\/)/i,cg=/[\t\n\r]/g;function ig(e){let t=0;for(;t<e.length&&e.charCodeAt(t)<=32;)t++;return e.slice(t)}function dg(e){return ig(e).replace(cg,"")}function Hs(e,t){if(typeof e=="string"&&ug.test(dg(e)))throw new E('Invalid URL: missing "//" after protocol',E.ERR_INVALID_URL,t)}function sa(e,t,n,c){Hs(t,c);let o=!og(t);return e&&(o||n===!1)?(Hs(e,c),ng(e,t)):t}var Cs=e=>e instanceof Z?{...e}:e;function Re(e,t){e=e||{},t=t||{};let n=Object.create(null);Object.defineProperty(n,"hasOwnProperty",{__proto__:null,value:Object.prototype.hasOwnProperty,enumerable:!1,writable:!0,configurable:!0});function c(d,p,f,l){return $.isPlainObject(d)&&$.isPlainObject(p)?$.merge.call({caseless:l},d,p):$.isPlainObject(p)?$.merge({},p):$.isArray(p)?p.slice():p}function o(d,p,f,l){if($.isUndefined(p)){if(!$.isUndefined(d))return c(void 0,d,f,l)}else return c(d,p,f,l)}function i(d,p){if(!$.isUndefined(p))return c(void 0,p)}function r(d,p){if($.isUndefined(p)){if(!$.isUndefined(d))return c(void 0,d)}else return c(void 0,p)}function s(d){let p=$.hasOwnProp(t,"transitional")?t.transitional:void 0;if(!$.isUndefined(p))if($.isPlainObject(p)){if($.hasOwnProp(p,d))return p[d]}else return;let f=$.hasOwnProp(e,"transitional")?e.transitional:void 0;if($.isPlainObject(f)&&$.hasOwnProp(f,d))return f[d]}function a(d,p,f){if($.hasOwnProp(t,f))return c(d,p);if($.hasOwnProp(e,f))return c(void 0,d)}let u={url:i,method:i,data:i,baseURL:r,transformRequest:r,transformResponse:r,paramsSerializer:r,timeout:r,timeoutMessage:r,withCredentials:r,withXSRFToken:r,adapter:r,responseType:r,xsrfCookieName:r,xsrfHeaderName:r,onUploadProgress:r,onDownloadProgress:r,decompress:r,maxContentLength:r,maxBodyLength:r,beforeRedirect:r,transport:r,httpAgent:r,httpsAgent:r,cancelToken:r,socketPath:r,allowedSocketPaths:r,responseEncoding:r,validateStatus:a,headers:(d,p,f)=>o(Cs(d),Cs(p),f,!0)};return $.forEach(Object.keys({...e,...t}),function(p){if(p==="__proto__"||p==="constructor"||p==="prototype")return;let f=$.hasOwnProp(u,p)?u[p]:o,l=$.hasOwnProp(e,p)?e[p]:void 0,q=$.hasOwnProp(t,p)?t[p]:void 0,y=f(l,q,p);$.isUndefined(y)&&f!==a||(n[p]=y)}),$.hasOwnProp(t,"validateStatus")&&$.isUndefined(t.validateStatus)&&s("validateStatusUndefinedResolves")===!1&&($.hasOwnProp(e,"validateStatus")?n.validateStatus=c(void 0,e.validateStatus):delete n.validateStatus),n}var pg=["content-type","content-length"];function fg(e,t,n){if(n!=="content-only"){e.set(t);return}Object.entries(t||{}).forEach(([c,o])=>{pg.includes(c.toLowerCase())&&e.set(c,o)})}var mg=e=>encodeURIComponent(e).replace(/%([0-9A-F]{2})/gi,(t,n)=>String.fromCharCode(parseInt(n,16)));function aa(e){let t=Re({},e),n=f=>$.hasOwnProp(t,f)?t[f]:void 0,c=n("data"),o=n("withXSRFToken"),i=n("xsrfHeaderName"),r=n("xsrfCookieName"),s=n("headers"),a=n("auth"),u=n("baseURL"),d=n("allowAbsoluteUrls"),p=n("url");if(t.headers=s=Z.from(s),t.url=ks(sa(u,p,d,t),n("params"),n("paramsSerializer")),a){let f=$.getSafeProp(a,"username")||"",l=$.getSafeProp(a,"password")||"";try{s.set("Authorization","Basic "+btoa(f+":"+(l?mg(l):"")))}catch(q){throw E.from(q,E.ERR_BAD_OPTION_VALUE,e)}}if($.isFormData(c)&&(Q.hasStandardBrowserEnv||Q.hasStandardBrowserWebWorkerEnv||$.isReactNative(c)?s.setContentType(void 0):$.isFunction(c.getHeaders)&&fg(s,c.getHeaders(),n("formDataHeaderPolicy"))),Q.hasStandardBrowserEnv&&($.isFunction(o)&&(o=o(t)),o===!0||o==null&&sg(t.url))){let l=i&&r&&ag.read(r);l&&s.set(i,l)}return t}var lg=typeof XMLHttpRequest<"u",hg=lg&&function(e){return new Promise(function(n,c){let o=aa(e),i=o.data,r=Z.from(o.headers).normalize(),{responseType:s,onUploadProgress:a,onDownloadProgress:u}=o,d,p,f,l,q;function y(){l&&l(),q&&q(),o.cancelToken&&o.cancelToken.unsubscribe(d),o.signal&&o.signal.removeEventListener("abort",d)}let b=new XMLHttpRequest;b.open(o.method.toUpperCase(),o.url,!0),b.timeout=o.timeout;function g(){if(!b)return;let w=Z.from("getAllResponseHeaders"in b&&b.getAllResponseHeaders()),W={data:!s||s==="text"||s==="json"?b.responseText:b.response,status:b.status,statusText:b.statusText,headers:w,config:e,request:b};ra(function(re){n(re),y()},function(re){c(re),y()},W),b=null}"onloadend"in b?b.onloadend=g:b.onreadystatechange=function(){!b||b.readyState!==4||b.status===0&&!(b.responseURL&&b.responseURL.startsWith("file:"))||setTimeout(g)},b.onabort=function(){b&&(c(new E("Request aborted",E.ECONNABORTED,e,b)),y(),b=null)},b.onerror=function(D){let W=D&&D.message?D.message:"Network Error",I=new E(W,E.ERR_NETWORK,e,b);I.event=D||null,c(I),y(),b=null},b.ontimeout=function(){let D=o.timeout?"timeout of "+o.timeout+"ms exceeded":"timeout exceeded",W=o.transitional||Yr;o.timeoutErrorMessage&&(D=o.timeoutErrorMessage),c(new E(D,W.clarifyTimeoutError?E.ETIMEDOUT:E.ECONNABORTED,e,b)),y(),b=null},i===void 0&&r.setContentType(null),"setRequestHeader"in b&&$.forEach(Ys(r),function(D,W){b.setRequestHeader(W,D)}),$.isUndefined(o.withCredentials)||(b.withCredentials=!!o.withCredentials),s&&s!=="json"&&(b.responseType=o.responseType),u&&([f,q]=sr(u,!0),b.addEventListener("progress",f)),a&&b.upload&&([p,l]=sr(a),b.upload.addEventListener("progress",p),b.upload.addEventListener("loadend",l)),(o.cancelToken||o.signal)&&(d=w=>{b&&(c(!w||w.type?new Ee(null,e,b):w),b.abort(),y(),b=null)},o.cancelToken&&o.cancelToken.subscribe(d),o.signal&&(o.signal.aborted?d():o.signal.addEventListener("abort",d)));let x=eg(o.url);if(x&&!Q.protocols.includes(x)){c(new E("Unsupported protocol "+x+":",E.ERR_BAD_REQUEST,e)),y();return}b.send(i||null)})},gg=(e,t)=>{if(e=e?e.filter(Boolean):[],!t&&!e.length)return;let n=new AbortController,c=!1,o=function(a){if(!c){c=!0,r();let u=a instanceof Error?a:this.reason;n.abort(u instanceof E?u:new Ee(u instanceof Error?u.message:u))}},i=t&&setTimeout(()=>{i=null,o(new E(`timeout of ${t}ms exceeded`,E.ETIMEDOUT))},t),r=()=>{e&&(i&&clearTimeout(i),i=null,e.forEach(a=>{a.unsubscribe?a.unsubscribe(o):a.removeEventListener("abort",o)}),e=null)};e.forEach(a=>a.addEventListener("abort",o,{once:!0}));let{signal:s}=n;return s.unsubscribe=()=>$.asap(r),s},yg=function*(e,t){let n=e.byteLength;if(n<t){yield e;return}let c=0,o;for(;c<n;)o=c+t,yield e.slice(c,o),c=o},bg=async function*(e,t){for await(let n of $g(e))yield*yg(n,t)},$g=async function*(e){if(e[Symbol.asyncIterator]){yield*e;return}let t=e.getReader();try{for(;;){let{done:n,value:c}=await t.read();if(n)break;yield c}}finally{await t.cancel()}},js=(e,t,n,c)=>{let o=bg(e,t),i=0,r,s=a=>{r||(r=!0,c&&c(a))};return new ReadableStream({async pull(a){try{let{done:u,value:d}=await o.next();if(u){s(),a.close();return}let p=d.byteLength;if(n){let f=i+=p;n(f)}a.enqueue(new Uint8Array(d))}catch(u){throw s(u),u}},cancel(a){return s(a),o.return()}},{highWaterMark:2})},ar=e=>e>=48&&e<=57||e>=65&&e<=70||e>=97&&e<=102,xg=(e,t,n)=>t+2<n&&ar(e.charCodeAt(t+1))&&ar(e.charCodeAt(t+2));function qg(e){if(!e||typeof e!="string"||!e.startsWith("data:"))return 0;let t=e.indexOf(",");if(t<0)return 0;let n=e.slice(5,t),c=e.slice(t+1);if(/;base64/i.test(n)){let r=c.length,s=c.length;for(let l=0;l<s;l++)if(c.charCodeAt(l)===37&&l+2<s){let q=c.charCodeAt(l+1),y=c.charCodeAt(l+2);ar(q)&&ar(y)&&(r-=2,l+=2)}let a=0,u=s-1,d=l=>l>=2&&c.charCodeAt(l-2)===37&&c.charCodeAt(l-1)===51&&(c.charCodeAt(l)===68||c.charCodeAt(l)===100);u>=0&&(c.charCodeAt(u)===61?(a++,u--):d(u)&&(a++,u-=3)),a===1&&u>=0&&(c.charCodeAt(u)===61||d(u))&&a++;let f=Math.floor(r/4)*3-(a||0);return f>0?f:0}let i=0;for(let r=0,s=c.length;r<s;r++){let a=c.charCodeAt(r);if(a===37&&xg(c,r,s))i+=1,r+=2;else if(a<128)i+=1;else if(a<2048)i+=2;else if(a>=55296&&a<=56319&&r+1<s){let u=c.charCodeAt(r+1);u>=56320&&u<=57343?(i+=4,r++):i+=3}else i+=3}return i}var Pr="1.18.1",Ds=64*1024,{isFunction:Tt}=$,wg=e=>encodeURIComponent(e).replace(/%([0-9A-F]{2})/gi,(t,n)=>String.fromCharCode(parseInt(n,16))),Ns=e=>{if(!$.isString(e))return e;try{return decodeURIComponent(e)}catch{return e}},Us=(e,...t)=>{try{return!!e(...t)}catch{return!1}},Og=e=>{let t=e.indexOf("://"),n=e;return t!==-1&&(n=n.slice(t+3)),n.includes("@")||n.includes(":")},Fg=e=>{let t=$.global!==void 0&&$.global!==null?$.global:globalThis,{ReadableStream:n,TextEncoder:c}=t;e=$.merge.call({skipUndefined:!0},{Request:t.Request,Response:t.Response},e);let{fetch:o,Request:i,Response:r}=e,s=o?Tt(o):typeof fetch=="function",a=Tt(i),u=Tt(r);if(!s)return!1;let d=s&&Tt(n),p=s&&(typeof c=="function"?(g=>x=>g.encode(x))(new c):async g=>new Uint8Array(await new i(g).arrayBuffer())),f=a&&d&&Us(()=>{let g=!1,x=new i(Q.origin,{body:new n,method:"POST",get duplex(){return g=!0,"half"}}),w=x.headers.has("Content-Type");return x.body!=null&&x.body.cancel(),g&&!w}),l=u&&d&&Us(()=>$.isReadableStream(new r("").body)),q={stream:l&&(g=>g.body)};s&&["text","arrayBuffer","blob","formData","stream"].forEach(g=>{!q[g]&&(q[g]=(x,w)=>{let D=x&&x[g];if(D)return D.call(x);throw new E(`Response type '${g}' is not supported`,E.ERR_NOT_SUPPORT,w)})});let y=async g=>{if(g==null)return 0;if($.isBlob(g))return g.size;if($.isSpecCompliantForm(g))return(await new i(Q.origin,{method:"POST",body:g}).arrayBuffer()).byteLength;if($.isArrayBufferView(g)||$.isArrayBuffer(g))return g.byteLength;if($.isURLSearchParams(g)&&(g=g+""),$.isString(g))return(await p(g)).byteLength},b=async(g,x)=>{let w=$.toFiniteNumber(g.getContentLength());return w??y(x)};return async g=>{let{url:x,method:w,data:D,signal:W,cancelToken:I,timeout:re,onDownloadProgress:Ue,onUploadProgress:Be,responseType:se,headers:ae,withCredentials:H="same-origin",fetchOptions:C,maxContentLength:z,maxBodyLength:j}=aa(g),V=$.isNumber(z)&&z>-1,S=$.isNumber(j)&&j>-1,_=M=>$.hasOwnProp(g,M)?g[M]:void 0,R=o||fetch;se=se?(se+"").toLowerCase():"text";let O=gg([W,I&&I.toAbortSignal()],re),F=null,N=O&&O.unsubscribe&&(()=>{O.unsubscribe()}),J,we=null,bs=()=>new E("Request body larger than maxBodyLength limit",E.ERR_BAD_REQUEST,g,F);try{let M,A=_("auth");if(A){let U=$.getSafeProp(A,"username")||"",k=$.getSafeProp(A,"password")||"";M={username:U,password:k}}if(Og(x)){let U=new URL(x,Q.origin);if(!M&&(U.username||U.password)){let k=Ns(U.username),ge=Ns(U.password);M={username:k,password:ge}}(U.username||U.password)&&(U.username="",U.password="",x=U.href)}if(M&&(ae.delete("authorization"),ae.set("Authorization","Basic "+btoa(wg((M.username||"")+":"+(M.password||""))))),V&&typeof x=="string"&&x.startsWith("data:")&&qg(x)>z)throw new E("maxContentLength size of "+z+" exceeded",E.ERR_BAD_RESPONSE,g,F);if(S&&w!=="get"&&w!=="head"){let U=await y(D);if(typeof U=="number"&&isFinite(U)&&(J=U,U>j))throw bs()}let Pt=S&&($.isReadableStream(D)||$.isStream(D)),$s=(U,k,ge)=>js(U,Ds,Oe=>{if(S&&Oe>j)throw we=bs();k&&k(Oe)},ge);if(f&&w!=="get"&&w!=="head"&&(Be||Pt)){if(J=J??await b(ae,D),J!==0||Pt){let U=new i(x,{method:"POST",body:D,duplex:"half"}),k;if($.isFormData(D)&&(k=U.headers.get("content-type"))&&ae.setContentType(k),U.body){let[ge,Oe]=Be&&_s(J,sr(zs(Be)))||[];D=$s(U.body,ge,Oe)}}}else if(Pt&&!a&&d&&w!=="get"&&w!=="head")D=$s(D);else if(Pt&&a&&!f&&w!=="get"&&w!=="head")throw new E("Stream request bodies are not supported by the current fetch implementation",E.ERR_NOT_SUPPORT,g,F);$.isString(H)||(H=H?"include":"omit");let jl=a&&"credentials"in i.prototype;if($.isFormData(D)){let U=ae.getContentType();U&&/^multipart\/form-data/i.test(U)&&!/boundary=/i.test(U)&&ae.delete("content-type")}ae.set("User-Agent","axios/"+Pr,!1);let xs={...C,signal:O,method:w.toUpperCase(),headers:Ys(ae.normalize()),body:D,duplex:"half",credentials:jl?H:void 0};F=a&&new i(x,xs);let ie=await(a?R(F,C):R(x,xs)),qs=Z.from(ie.headers);if(V){let U=$.toFiniteNumber(qs.getContentLength());if(U!=null&&U>z)throw new E("maxContentLength size of "+z+" exceeded",E.ERR_BAD_RESPONSE,g,F)}let Ur=l&&(se==="stream"||se==="response");if(l&&ie.body&&(Ue||V||Ur&&N)){let U={};["status","statusText","headers"].forEach(ve=>{U[ve]=ie[ve]});let k=$.toFiniteNumber(qs.getContentLength()),[ge,Oe]=Ue&&_s(k,sr(zs(Ue),!0))||[],ws=0,Dl=ve=>{if(V&&(ws=ve,ws>z))throw new E("maxContentLength size of "+z+" exceeded",E.ERR_BAD_RESPONSE,g,F);ge&&ge(ve)};ie=new r(js(ie.body,Ds,Dl,()=>{Oe&&Oe(),N&&N()}),U)}se=se||"text";let de=await q[$.findKey(q,se)||"text"](ie,g);if(V&&!l&&!Ur){let U;if(de!=null&&(typeof de.byteLength=="number"?U=de.byteLength:typeof de.size=="number"?U=de.size:typeof de=="string"&&(U=typeof c=="function"?new c().encode(de).byteLength:de.length)),typeof U=="number"&&U>z)throw new E("maxContentLength size of "+z+" exceeded",E.ERR_BAD_RESPONSE,g,F)}return!Ur&&N&&N(),await new Promise((U,k)=>{ra(U,k,{data:de,headers:Z.from(ie.headers),status:ie.status,statusText:ie.statusText,config:g,request:F})})}catch(M){if(N&&N(),O&&O.aborted&&O.reason instanceof E){let A=O.reason;throw A.config=g,F&&(A.request=F),M!==A&&Object.defineProperty(A,"cause",{__proto__:null,value:M,writable:!0,enumerable:!1,configurable:!0}),A}if(we)throw F&&!we.request&&(we.request=F),we;if(M instanceof E)throw F&&!M.request&&(M.request=F),M;if(M&&M.name==="TypeError"&&/Load failed|fetch/i.test(M.message)){let A=new E("Network Error",E.ERR_NETWORK,g,F,M&&M.response);throw Object.defineProperty(A,"cause",{__proto__:null,value:M.cause||M,writable:!0,enumerable:!1,configurable:!0}),A}throw E.from(M,M&&M.code,g,F,M&&M.response)}}},Sg=new Map,oa=e=>{let t=e&&e.env||{},{fetch:n,Request:c,Response:o}=t,i=[c,o,n],r=i.length,s=r,a,u,d=Sg;for(;s--;)a=i[s],u=d.get(a),u===void 0&&d.set(a,u=s?new Map:Fg(t)),d=u;return u};oa();var Tr={http:Mh,xhr:hg,fetch:{get:oa}};$.forEach(Tr,(e,t)=>{if(e){try{Object.defineProperty(e,"name",{__proto__:null,value:t})}catch{}Object.defineProperty(e,"adapterName",{__proto__:null,value:t})}});var Bs=e=>`- ${e}`,Eg=e=>$.isFunction(e)||e===null||e===!1;function Rg(e,t){e=$.isArray(e)?e:[e];let{length:n}=e,c,o,i={};for(let r=0;r<n;r++){c=e[r];let s;if(o=c,!Eg(c)&&(o=Tr[(s=String(c)).toLowerCase()],o===void 0))throw new E(`Unknown adapter '${s}'`);if(o&&($.isFunction(o)||(o=o.get(t))))break;i[s||"#"+r]=o}if(!o){let r=Object.entries(i).map(([a,u])=>`adapter ${a} `+(u===!1?"is not supported by the environment":"is not available in the build")),s=n?r.length>1?`since :
|
|
5
|
+
`+r.map(Bs).join(`
|
|
6
|
+
`):" "+Bs(r[0]):"as no adapter specified";throw new E("There is no suitable adapter to dispatch the request "+s,E.ERR_NOT_SUPPORT)}return o}var na={getAdapter:Rg,adapters:Tr};function Ir(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new Ee(null,e)}function Ls(e){return Ir(e),e.headers=Z.from(e.headers),e.data=Mr.call(e,e.transformRequest),["post","put","patch"].indexOf(e.method)!==-1&&e.headers.setContentType("application/x-www-form-urlencoded",!1),na.getAdapter(e.adapter||et.adapter,e)(e).then(function(c){Ir(e),e.response=c;try{c.data=Mr.call(e,e.transformResponse,c)}finally{delete e.response}return c.headers=Z.from(c.headers),c},function(c){if(!ta(c)&&(Ir(e),c&&c.response)){e.response=c.response;try{c.response.data=Mr.call(e,e.transformResponse,c.response)}finally{delete e.response}c.response.headers=Z.from(c.response.headers)}return Promise.reject(c)})}var ur={};["object","boolean","number","function","string","symbol"].forEach((e,t)=>{ur[e]=function(c){return typeof c===e||"a"+(t<1?"n ":" ")+e}});var Ms={};ur.transitional=function(t,n,c){function o(i,r){return"[Axios v"+Pr+"] Transitional option '"+i+"'"+r+(c?". "+c:"")}return(i,r,s)=>{if(t===!1)throw new E(o(r," has been removed"+(n?" in "+n:"")),E.ERR_DEPRECATED);return n&&!Ms[r]&&(Ms[r]=!0,console.warn(o(r," has been deprecated since v"+n+" and will be removed in the near future"))),t?t(i,r,s):!0}};ur.spelling=function(t){return(n,c)=>(console.warn(`${c} is likely a misspelling of ${t}`),!0)};function _g(e,t,n){if(typeof e!="object"||e===null)throw new E("options must be an object",E.ERR_BAD_OPTION_VALUE);let c=Object.keys(e),o=c.length;for(;o-- >0;){let i=c[o],r=Object.prototype.hasOwnProperty.call(t,i)?t[i]:void 0;if(r){let s=e[i],a=s===void 0||r(s,i,e);if(a!==!0)throw new E("option "+i+" must be "+a,E.ERR_BAD_OPTION_VALUE);continue}if(n!==!0)throw new E("Unknown option "+i,E.ERR_BAD_OPTION)}}var er={assertOptions:_g,validators:ur},v=er.validators,pe=class{constructor(t){this.defaults=t||{},this.interceptors={request:new rr,response:new rr}}async request(t,n){try{return await this._request(t,n)}catch(c){if(c instanceof Error){let o={};Error.captureStackTrace?Error.captureStackTrace(o):o=new Error;let i=(()=>{if(!o.stack)return"";let r=o.stack.indexOf(`
|
|
7
7
|
`);return r===-1?"":o.stack.slice(r+1)})();try{if(!c.stack)c.stack=i;else if(i){let r=i.indexOf(`
|
|
8
8
|
`),s=r===-1?-1:i.indexOf(`
|
|
9
9
|
`,r+1),a=s===-1?"":i.slice(s+1);String(c.stack).endsWith(a)||(c.stack+=`
|
|
10
|
-
`+i)}}catch{}}throw c}}_request(t,n){typeof t=="string"?(n=n||{},n.url=t):n=t||{},n=Re(this.defaults,n);let{transitional:c,paramsSerializer:o,headers:i}=n;c!==void 0&&At.assertOptions(c,{silentJSONParsing:v.transitional(v.boolean),forcedJSONParsing:v.transitional(v.boolean),clarifyTimeoutError:v.transitional(v.boolean),legacyInterceptorReqResOrdering:v.transitional(v.boolean),advertiseZstdAcceptEncoding:v.transitional(v.boolean),validateStatusUndefinedResolves:v.transitional(v.boolean)},!1),o!=null&&($.isFunction(o)?n.paramsSerializer={serialize:o}:At.assertOptions(o,{encode:v.function,serialize:v.function},!0)),n.allowAbsoluteUrls!==void 0||(this.defaults.allowAbsoluteUrls!==void 0?n.allowAbsoluteUrls=this.defaults.allowAbsoluteUrls:n.allowAbsoluteUrls=!0),At.assertOptions(n,{baseUrl:v.spelling("baseURL"),withXsrfToken:v.spelling("withXSRFToken")},!0),n.method=(n.method||this.defaults.method||"get").toLowerCase();let r=i&&$.merge(i.common,i[n.method]);i&&$.forEach(["delete","get","head","post","put","patch","query","common"],q=>{delete i[q]}),n.headers=Z.concat(r,i);let s=[],a=!0;this.interceptors.request.forEach(function(y){if(typeof y.runWhen=="function"&&y.runWhen(n)===!1)return;a=a&&y.synchronous;let b=n.transitional||Qr;b&&b.legacyInterceptorReqResOrdering?s.unshift(y.fulfilled,y.rejected):s.push(y.fulfilled,y.rejected)});let u=[];this.interceptors.response.forEach(function(y){u.push(y.fulfilled,y.rejected)});let d,p=0,f;if(!a){let q=[Bs.bind(this),void 0];for(q.unshift(...s),q.push(...u),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++],y=s[p++];try{l=q(l)}catch(b){y.call(this,b);break}}try{d=Bs.call(this,l)}catch(q){return Promise.reject(q)}for(p=0,f=u.length;p<f;)d=d.then(u[p++],u[p++]);return d}getUri(t){t=Re(this.defaults,t);let n=ra(t.baseURL,t.url,t.allowAbsoluteUrls,t);return Ts(n,t.params,t.paramsSerializer)}};$.forEach(["delete","get","head","options"],function(t){pe.prototype[t]=function(n,c){return this.request(Re(c||{},{method:t,url:n,data:c&&$.hasOwnProp(c,"data")?c.data:void 0}))}});$.forEach(["post","put","patch","query"],function(t){function n(c){return function(i,r,s){return this.request(Re(s||{},{method:t,headers:c?{"Content-Type":"multipart/form-data"}:{},url:i,data:r}))}}pe.prototype[t]=n(),t!=="query"&&(pe.prototype[t+"Form"]=n(!0))});var Wr=class e{constructor(t){if(typeof t!="function")throw new TypeError("executor must be a function.");let n;this.promise=new Promise(function(i){n=i});let c=this;this.promise.then(o=>{if(!c._listeners)return;let i=c._listeners.length;for(;i-- >0;)c._listeners[i](o);c._listeners=null}),this.promise.then=o=>{let i,r=new Promise(s=>{c.subscribe(s),i=s}).then(o);return r.cancel=function(){c.unsubscribe(i)},r},t(function(i,r,s){c.reason||(c.reason=new Ee(i,r,s),n(c.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=c=>{t.abort(c)};return this.subscribe(n),t.signal.unsubscribe=()=>this.unsubscribe(n),t.signal}static source(){let t;return{token:new e(function(o){t=o}),cancel:t}}};function Eg(e){return function(n){return e.apply(null,n)}}function Rg(e){return $.isObject(e)&&e.isAxiosError===!0}var Jr={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(Jr).forEach(([e,t])=>{Jr[t]=e});function na(e){let t=new pe(e),n=Ms(pe.prototype.request,t);return $.extend(n,pe.prototype,t,{allOwnKeys:!0}),$.extend(n,t,null,{allOwnKeys:!0}),n.create=function(o){return na(Re(e,o))},n}var X=na(et);X.Axios=pe;X.CanceledError=Ee;X.CancelToken=Wr;X.isCancel=ea;X.VERSION=vr;X.toFormData=or;X.AxiosError=E;X.Cancel=X.CanceledError;X.all=function(t){return Promise.all(t)};X.spread=Eg;X.isAxiosError=Rg;X.mergeConfig=Re;X.AxiosHeaders=Z;X.formToJSON=e=>As($.isHTMLForm(e)?new FormData(e):e);X.getAdapter=oa.getAdapter;X.HttpStatusCode=Jr;X.default=X;ua.exports=X});var da=m((mO,ia)=>{ia.exports={baseURL:"https://api.betterez.com",timeout:15e3,baseURLOverride:{inventory:e=>`${e}/inventory`,trips:e=>`${e}/inventory`,bpes:e=>`${e}/bpes`}}});var Tr=m((lO,pa)=>{var _g={INTERNAL_AUTH_TOKEN_SYMBOL:"internal_auth_token"};pa.exports=_g});var h=m((hO,fa)=>{var zg=Tr();function Hg({token:e,jwtToken:t,internalAuthTokenProvider:n,headers:c}){let o={};if(e&&(o["x-api-key"]=`${e}`),c&&c.cookie&&c.cookie.includes("btrz-trusted")&&(o.cookie=c.cookie),t&&t===zg.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");o.authorization=`Bearer ${n.getToken()}`}else t&&(o.authorization=`Bearer ${t}`);try{c&&typeof c=="object"&&!Array.isArray(c)&&Object.entries(c).forEach(([i,r])=>{o[i]||(i==="x-amzn-trace-id"&&r||i==="x-elevation-token")&&(o[i]=c[i])})}catch(i){console.log(i)}return o}fa.exports={authorizationHeaders:Hg}});var la=m((gO,ma)=>{var{authorizationHeaders:ur}=h();function Cg({client:e,internalAuthTokenProvider:t}){function n({token:r,query:s={},headers:a}){return e.get("/amenities",{params:s,headers:ur({token:r,internalAuthTokenProvider:t,headers:a})})}function c({token:r,amenityId:s,query:a={},headers:u}){return e.get(`/amenities/${s}`,{params:a,headers:ur({token:r,internalAuthTokenProvider:t,headers:u})})}function o({token:r,jwtToken:s,amenity:a,headers:u}){return e({url:"/amenities",method:"post",headers:ur({token:r,jwtToken:s,internalAuthTokenProvider:t,headers:u}),data:{amenity:a}})}function i({token:r,jwtToken:s,amenityId:a,amenity:u,headers:d}){return e({url:`/amenities/${a}`,method:"put",headers:ur({token:r,jwtToken:s,internalAuthTokenProvider:t,headers:d}),data:{amenity:u}})}return{all:n,get:c,create:o,update:i}}ma.exports=Cg});var ga=m((yO,ha)=>{var{authorizationHeaders:cr}=h();function jg({client:e,internalAuthTokenProvider:t}){function n({token:r,query:s={},headers:a}){return e.get("/amenity-groups",{params:s,headers:cr({token:r,internalAuthTokenProvider:t,headers:a})})}function c({token:r,amenityGroupId:s,query:a={},headers:u}){return e.get(`/amenity-groups/${s}`,{params:a,headers:cr({token:r,internalAuthTokenProvider:t,headers:u})})}function o({token:r,jwtToken:s,amenityGroup:a,headers:u}){return e({url:"/amenity-groups",method:"post",headers:cr({token:r,jwtToken:s,internalAuthTokenProvider:t,headers:u}),data:{amenityGroup:a}})}function i({token:r,jwtToken:s,amenityGroupId:a,amenityGroup:u,headers:d}){return e({url:`/amenity-groups/${a}`,method:"put",headers:cr({token:r,jwtToken:s,internalAuthTokenProvider:t,headers:d}),data:{amenityGroup:u}})}return{all:n,get:c,create:o,update:i}}ha.exports=jg});var ba=m((bO,ya)=>{var{authorizationHeaders:tt}=h();function Dg({client:e,internalAuthTokenProvider:t}){function n({token:s,jwtToken:a,query:u={},headers:d}){return e.get("/banks",{params:u,headers:tt({token:s,jwtToken:a,internalAuthTokenProvider:t,headers:d})})}function c({bankId:s,token:a,headers:u,jwtToken:d}){return e.get(`/banks/${s}`,{headers:tt({token:a,jwtToken:d,internalAuthTokenProvider:t,headers:u})})}function o({jwtToken:s,token:a,bank:u,headers:d}){return e({url:"/banks",method:"post",headers:tt({token:a,jwtToken:s,internalAuthTokenProvider:t,headers:d}),data:{bank:u}})}function i({jwtToken:s,bankId:a,token:u,headers:d}){return e({url:`/banks/${a}`,method:"delete",headers:tt({token:u,jwtToken:s,internalAuthTokenProvider:t,headers:d})})}function r({jwtToken:s,token:a,bankId:u,bank:d,headers:p}){return e({url:`/banks/${u}`,method:"put",headers:tt({token:a,jwtToken:s,internalAuthTokenProvider:t,headers:p}),data:{bank:d}})}return{all:n,get:c,create:o,update:r,remove:i}}ya.exports=Dg});var qa=m(($O,xa)=>{var{authorizationHeaders:$a}=h();function Ng({client:e,internalAuthTokenProvider:t}){function n({token:o,query:i={},headers:r}){return e({url:"/bare-routes",params:i,headers:$a({token:o,internalAuthTokenProvider:t,headers:r})})}function c({routeId:o,token:i,query:r={},headers:s}){return e({url:`/bare-routes/${o}`,params:r,headers:$a({token:i,internalAuthTokenProvider:t,headers:s})})}return{all:n,get:c}}xa.exports=Ng});var Oa=m((xO,wa)=>{var{authorizationHeaders:ir}=h();function Ug({client:e,internalAuthTokenProvider:t}){function n({token:r,jwtToken:s,query:a={},headers:u}){return e({url:"/brands",params:a,headers:ir({token:r,jwtToken:s,internalAuthTokenProvider:t,headers:u})})}function c({token:r,jwtToken:s,brand:a,headers:u}){return e({url:"/brands",method:"post",headers:ir({token:r,jwtToken:s,internalAuthTokenProvider:t,headers:u}),data:{brand:a}})}function o({jwtToken:r,token:s,brandId:a,brand:u,headers:d}){return e({url:`/brands/${a}`,method:"put",headers:ir({token:s,jwtToken:r,internalAuthTokenProvider:t,headers:d}),data:{brand:u}})}function i({token:r,brandId:s,jwtToken:a,headers:u}){return e({url:`/brands/${s}`,method:"get",headers:ir({token:r,internalAuthTokenProvider:t,jwtToken:a,headers:u})})}return{all:n,create:c,update:o,get:i}}wa.exports=Ug});var Sa=m((qO,Fa)=>{var{authorizationHeaders:Bg}=h();function Lg({client:e,internalAuthTokenProvider:t}){function n({token:c,bundleId:o,productId:i,query:r={},headers:s}){return e.get(`/bundle/${o}/product/${i}`,{params:r,headers:Bg({token:c,internalAuthTokenProvider:t,headers:s})})}return{all:n}}Fa.exports=Lg});var _a=m((wO,Ra)=>{var{authorizationHeaders:Ea}=h();function Mg({client:e,internalAuthTokenProvider:t}){function n({token:o,jwtToken:i,query:r={},headers:s}){return e({url:"/bundles",params:r,headers:Ea({token:o,jwtToken:i,internalAuthTokenProvider:t,headers:s})})}function c({token:o,jwtToken:i,bundleId:r,headers:s}){return e({url:`/bundles/${r}`,method:"get",headers:Ea({token:o,internalAuthTokenProvider:t,jwtToken:i,headers:s})})}return{all:n,get:c}}Ra.exports=Mg});var Ha=m((OO,za)=>{var{authorizationHeaders:_e}=h();function Ig({client:e,internalAuthTokenProvider:t}){function n({token:s,jwtToken:a,query:u={},headers:d}){return e.get("/change-requests",{params:u,headers:_e({token:s,jwtToken:a,internalAuthTokenProvider:t,headers:d})})}function c({changerequestId:s,token:a,jwtToken:u,query:d={},headers:p}){return e({url:`/change-requests/${s}/manifests`,params:d,headers:_e({token:a,internalAuthTokenProvider:t,jwtToken:u,headers:p})})}function o({data:s,token:a,jwtToken:u,headers:d}){return e({url:"/change-requests/manifests",method:"post",headers:_e({token:a,jwtToken:u,internalAuthTokenProvider:t,headers:d}),data:s})}function i({changerequestId:s,data:a,token:u,jwtToken:d,headers:p}){return e({url:`/change-requests/${s}/manifests`,method:"put",headers:_e({token:u,jwtToken:d,internalAuthTokenProvider:t,headers:p}),data:a})}return{all:n,get:c,create:o,update:i,schedules:{get({changeRequestId:s,token:a,jwtToken:u,query:d={},headers:p}){return e({url:`/change-requests/${s}/schedules`,params:d,headers:_e({token:a,internalAuthTokenProvider:t,jwtToken:u,headers:p})})},create({data:s,token:a,jwtToken:u,headers:d}){return e({url:"/change-requests/schedules",method:"post",headers:_e({token:a,jwtToken:u,internalAuthTokenProvider:t,headers:d}),data:s})},update({changeRequestId:s,data:a,token:u,jwtToken:d,headers:p}){return e({url:`/change-requests/${s}/schedules`,method:"put",headers:_e({token:u,jwtToken:d,internalAuthTokenProvider:t,headers:p}),data:a})}}}}za.exports=Ig});var ja=m((FO,Ca)=>{var{authorizationHeaders:Vg}=h();function Kg({client:e,internalAuthTokenProvider:t}){function n({token:c,jwtToken:o,query:i={},headers:r}){return e({url:"/companies",params:i,headers:Vg({token:c,jwtToken:o,internalAuthTokenProvider:t,headers:r})})}return{all:n}}Ca.exports=Kg});var Na=m((SO,Da)=>{var{authorizationHeaders:ze}=h();function Wg({client:e,internalAuthTokenProvider:t}){function n({token:u,jwtToken:d,query:p={},headers:f}){return e.get("/control-classes",{params:p,headers:ze({token:u,jwtToken:d,internalAuthTokenProvider:t,headers:f})})}function c({controlClassId:u,token:d,headers:p,jwtToken:f,query:l={}}){return e.get(`/control-classes/${u}`,{params:l,headers:ze({token:d,jwtToken:f,internalAuthTokenProvider:t,headers:p})})}function o({jwtToken:u,token:d,controlClass:p,headers:f}){return e({url:"/control-classes",method:"post",headers:ze({token:d,jwtToken:u,internalAuthTokenProvider:t,headers:f}),data:{controlClass:p}})}function i({jwtToken:u,controlClassId:d,token:p,headers:f}){return e({url:`/control-classes/${d}`,method:"delete",headers:ze({token:p,jwtToken:u,internalAuthTokenProvider:t,headers:f})})}function r({jwtToken:u,token:d,controlClassId:p,controlClass:f,headers:l}){return e({url:`/control-classes/${p}`,method:"put",headers:ze({token:d,jwtToken:u,internalAuthTokenProvider:t,headers:l}),data:{controlClass:f}})}let s={post:({token:u,jwtToken:d,controlClassId:p,data:f,headers:l})=>e({url:`/control-classes/${p}/schedules`,method:"post",headers:ze({token:u,jwtToken:d,internalAuthTokenProvider:t,headers:l}),data:f})};function a({jwtToken:u,token:d,rootClassId:p,controlClassCloneOptions:f,headers:l}){return e({url:`/control-classes/${p}/clones`,method:"post",headers:ze({token:d,jwtToken:u,internalAuthTokenProvider:t,headers:l}),data:{controlClassCloneOptions:f}})}return{all:n,get:c,create:o,update:r,remove:i,clone:a,schedules:s}}Da.exports=Wg});var La=m((EO,Ba)=>{var{authorizationHeaders:Ua}=h();function Jg({client:e,internalAuthTokenProvider:t}){function n({token:o,jwtToken:i,query:r={},headers:s}){return e({url:"/countries",params:r,headers:Ua({token:o,jwtToken:i,internalAuthTokenProvider:t,headers:s})})}function c({token:o,jwtToken:i,id:r,query:s={},headers:a}){return e({url:`/countries/${r}`,params:s,headers:Ua({token:o,jwtToken:i,internalAuthTokenProvider:t,headers:a})})}return{all:n,get:c}}Ba.exports=Jg});var Ia=m((RO,Ma)=>{var{authorizationHeaders:rt}=h();function Xg({client:e,internalAuthTokenProvider:t}){function n({token:s,query:a={},headers:u}){return e.get("/custom-content",{params:a,headers:rt({token:s,internalAuthTokenProvider:t,headers:u})})}function c({customContentId:s,token:a,jwtToken:u,headers:d}){return e.get(`/custom-content/${s}`,{headers:rt({token:a,jwtToken:u,internalAuthTokenProvider:t,headers:d})})}function o({jwtToken:s,token:a,customContent:u,headers:d}){return e({url:"/custom-content",method:"post",headers:rt({token:a,jwtToken:s,internalAuthTokenProvider:t,headers:d}),data:{customContent:u}})}function i({jwtToken:s,customContentId:a,token:u,headers:d}){return e({url:`/custom-content/${a}`,method:"delete",headers:rt({token:u,jwtToken:s,internalAuthTokenProvider:t,headers:d})})}function r({jwtToken:s,token:a,customContentId:u,customContent:d,headers:p}){return e({url:`/custom-content/${u}`,method:"put",headers:rt({token:a,jwtToken:s,internalAuthTokenProvider:t,headers:p}),data:{customContent:d}})}return{all:n,get:c,create:o,update:r,remove:i}}Ma.exports=Xg});var Ka=m((_O,Va)=>{var{authorizationHeaders:st}=h();function Gg({client:e,internalAuthTokenProvider:t}){function n({token:s,jwtToken:a,query:u={},headers:d}){return e({url:"/custom-fields",params:u,headers:st({token:s,jwtToken:a,internalAuthTokenProvider:t,headers:d})})}function c({fieldId:s,token:a,jwtToken:u,query:d={},headers:p}){return e({url:`/custom-fields/${s}`,params:d,headers:st({token:a,jwtToken:u,internalAuthTokenProvider:t,headers:p})})}function o({token:s,jwtToken:a,field:u,headers:d}){return e({url:"/custom-fields",method:"post",headers:st({token:s,jwtToken:a,internalAuthTokenProvider:t,headers:d}),data:{field:u}})}function i({token:s,jwtToken:a,fieldId:u,field:d,headers:p}){return e({url:`/custom-fields/${u}`,method:"put",headers:st({token:s,jwtToken:a,internalAuthTokenProvider:t,headers:p}),data:{field:d}})}return{all:n,get:c,create:o,update:i,types:{all({token:s,jwtToken:a,headers:u}){return e({url:"/custom-fields/types",headers:st({token:s,jwtToken:a,internalAuthTokenProvider:t,headers:u})})}}}}Va.exports=Gg});var Ja=m((zO,Wa)=>{function Zg({client:e}){function t(){return e.get("/api-docs-v2",{})}return{get:t}}Wa.exports=Zg});var Qa=m((HO,Za)=>{function Xa(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var c=Object.getOwnPropertySymbols(e);t&&(c=c.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),n.push.apply(n,c)}return n}function Ga(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?Xa(Object(n),!0).forEach(function(c){Qg(e,c,n[c])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Xa(Object(n)).forEach(function(c){Object.defineProperty(e,c,Object.getOwnPropertyDescriptor(n,c))})}return e}function Qg(e,t,n){return(t=Yg(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Yg(e){var t=vg(e,"string");return typeof t=="symbol"?t:t+""}function vg(e,t){if(typeof e!="object"||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var c=n.call(e,t||"default");if(typeof c!="object")return c;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}var{authorizationHeaders:at}=h();function Pg({client:e,internalAuthTokenProvider:t}){function n({token:s,jwtToken:a,query:u={},headers:d}){return e({url:"/document-types",method:"get",headers:at({token:s,jwtToken:a,internalAuthTokenProvider:t,headers:d}),params:u})}function c({token:s,jwtToken:a,id:u,query:d={},headers:p,providerId:f}){let l=f?Ga(Ga({},d),{},{providerId:f}):d;return e({url:`/document-types/${u}`,method:"get",params:l,headers:at({token:s,jwtToken:a,internalAuthTokenProvider:t,headers:p})})}function o({token:s,jwtToken:a,id:u,documenttype:d,data:p,headers:f}){let l=d||p;return e({url:`/document-types/${u}`,method:"put",headers:at({token:s,jwtToken:a,internalAuthTokenProvider:t,headers:f}),data:{documenttype:l}})}function i({token:s,jwtToken:a,id:u,headers:d}){return e({url:`/document-types/${u}`,method:"delete",headers:at({token:s,jwtToken:a,internalAuthTokenProvider:t,headers:d})})}function r({token:s,jwtToken:a,documenttype:u,data:d,headers:p}){let f=u||d;return e({url:"/document-types",method:"post",headers:at({token:s,jwtToken:a,internalAuthTokenProvider:t,headers:p}),data:{documenttype:f}})}return{all:n,get:c,update:o,remove:i,create:r}}Za.exports=Pg});var va=m((CO,Ya)=>{var{authorizationHeaders:Tg}=h();function kg({client:e,internalAuthTokenProvider:t}){function n({eventId:c,token:o,headers:i}){return e.get(`/event/${c}`,{headers:Tg({token:o,internalAuthTokenProvider:t,headers:i})})}return{get:n}}Ya.exports=kg});var ka=m((jO,Ta)=>{var{authorizationHeaders:Pa}=h();function Ag({client:e,internalAuthTokenProvider:t}){function n({token:o,jwtToken:i,query:r={},headers:s}){return e.get("/external-passes",{params:r,headers:Pa({token:o,internalAuthTokenProvider:t,jwtToken:i,headers:s})})}function c({externalPassId:o,token:i,jwtToken:r,headers:s}){return e.get(`/external-passes/${o}`,{headers:Pa({token:i,internalAuthTokenProvider:t,jwtToken:r,headers:s})})}return{all:n,get:c}}Ta.exports=Ag});var eo=m((DO,Aa)=>{var{authorizationHeaders:ye}=h();function ey({client:e,internalAuthTokenProvider:t}){return{saldoMax:{all:({token:c,jwtToken:o,query:i={},headers:r})=>e.get("/external-wallets/saldo-max",{params:i,headers:ye({token:c,internalAuthTokenProvider:t,jwtToken:o,headers:r})}),create:({token:c,jwtToken:o,externalWallet:i,headers:r})=>e({url:"/external-wallets/saldo-max",method:"post",headers:ye({token:c,jwtToken:o,internalAuthTokenProvider:t,headers:r}),data:{externalWallet:i}}),get:({token:c,jwtToken:o,walletId:i,headers:r})=>e.get(`/external-wallets/saldo-max/${i}`,{headers:ye({token:c,jwtToken:o,internalAuthTokenProvider:t,headers:r})}),update:({token:c,jwtToken:o,externalWallet:i,headers:r})=>{let s={nip:i.nip,walletNumber:i.walletNumber,status:i.status};return e({url:`/external-wallets/saldo-max/${i._id}`,method:"put",headers:ye({token:c,jwtToken:o,internalAuthTokenProvider:t,headers:r}),data:{externalWallet:s}})},nip:{update:({token:c,jwtToken:o,walletId:i,nip:r,headers:s})=>e({url:`/external-wallets/saldo-max/${i}/nip`,method:"put",headers:ye({token:c,jwtToken:o,internalAuthTokenProvider:t,headers:s}),data:{nip:r}})},authorization:{create:({token:c,jwtToken:o,walletId:i,nip:r,nipAuthorization:s,headers:a})=>{let u=s!=null?{nipAuthorization:s}:{nip:r};return e({url:`/external-wallets/saldo-max/${i}/authorization`,method:"post",headers:ye({token:c,jwtToken:o,internalAuthTokenProvider:t,headers:a}),data:u})}},movements:{create:({token:c,jwtToken:o,walletId:i,movement:r,headers:s})=>e({url:`/external-wallets/saldo-max/${i}/movements`,method:"put",headers:ye({token:c,jwtToken:o,internalAuthTokenProvider:t,headers:s}),data:{movement:r}})},statements:{create:({token:c,jwtToken:o,walletId:i,statementRequest:r,headers:s})=>e({url:`/external-wallets/saldo-max/${i}/statements`,method:"post",headers:ye({token:c,jwtToken:o,internalAuthTokenProvider:t,headers:s}),data:r!=null?{statementRequest:r}:{}})}}}}Aa.exports=ey});var ro=m((NO,to)=>{var{authorizationHeaders:ot}=h();function ty({client:e,internalAuthTokenProvider:t}){function n({token:s,jwtToken:a,query:u={},headers:d}){return e.get("/fare-type-modifiers",{params:u,headers:ot({token:s,jwtToken:a,internalAuthTokenProvider:t,headers:d})})}function c({fareTypeModifierId:s,token:a,jwtToken:u,headers:d}){return e.get(`/fare-type-modifiers/${s}`,{headers:ot({token:a,jwtToken:u,internalAuthTokenProvider:t,headers:d})})}function o({jwtToken:s,token:a,fareTypeModifier:u,headers:d}){return e({url:"/fare-type-modifiers",method:"post",headers:ot({token:a,jwtToken:s,internalAuthTokenProvider:t,headers:d}),data:{fareTypeModifier:u}})}function i({jwtToken:s,fareTypeModifierId:a,token:u,headers:d}){return e({url:`/fare-type-modifiers/${a}`,method:"delete",headers:ot({token:u,jwtToken:s,internalAuthTokenProvider:t,headers:d})})}function r({jwtToken:s,token:a,fareTypeModifierId:u,fareTypeModifier:d,headers:p}){return e({url:`/fare-type-modifiers/${u}`,method:"put",headers:ot({token:a,jwtToken:s,internalAuthTokenProvider:t,headers:p}),data:{fareTypeModifier:d}})}return{all:n,get:c,create:o,update:r,remove:i}}to.exports=ty});var ao=m((UO,so)=>{var{authorizationHeaders:dr}=h();function ry({client:e,internalAuthTokenProvider:t}){function n({token:r,jwtToken:s,query:a={},headers:u}){return e.get("/fallback-codes",{params:a,headers:dr({token:r,jwtToken:s,internalAuthTokenProvider:t,headers:u})})}function c({token:r,id:s,headers:a}){return e.get(`/fallback-code/${s}`,{headers:dr({token:r,internalAuthTokenProvider:t,headers:a})})}function o({token:r,jwtToken:s,fallbackCode:a,headers:u}){return e({url:"/fallback-codes",method:"post",headers:dr({token:r,jwtToken:s,internalAuthTokenProvider:t,headers:u}),data:{fallbackCode:a}})}function i({token:r,jwtToken:s,fallbackCodeId:a,fallbackCode:u,headers:d}){return e({url:`/fallback-code/${a}`,method:"put",headers:dr({token:r,jwtToken:s,internalAuthTokenProvider:t,headers:d}),data:{fallbackCode:u}})}return{all:n,get:c,create:o,update:i}}so.exports=ry});var no=m((BO,oo)=>{var{authorizationHeaders:kr}=h();function sy({client:e,internalAuthTokenProvider:t}){function n({token:i,jwtToken:r,query:s={},headers:a}){return e({url:"/fare-classes",params:s,headers:kr({token:i,jwtToken:r,internalAuthTokenProvider:t,headers:a})})}function c({token:i,jwtToken:r,fareClass:s,headers:a}){return e({url:"/fare-classes",method:"post",headers:kr({token:i,jwtToken:r,internalAuthTokenProvider:t,headers:a}),data:{fareClass:s}})}function o({token:i,jwtToken:r,fareClassId:s,update:a,headers:u}){return e({url:`/fare-classes/${s}`,method:"patch",headers:kr({token:i,jwtToken:r,internalAuthTokenProvider:t,headers:u}),data:{update:a}})}return{all:n,create:c,update:o}}oo.exports=sy});var co=m((LO,uo)=>{var{authorizationHeaders:We}=h();function ay({client:e,internalAuthTokenProvider:t}){function n({token:s,query:a={},headers:u}){return e.get("/fares",{params:a,headers:We({token:s,internalAuthTokenProvider:t,headers:u})})}function c({token:s,id:a,headers:u}){return e.get(`/fare/${a}`,{headers:We({token:s,internalAuthTokenProvider:t,headers:u})})}function o({token:s,jwtToken:a,fare:u,headers:d}){return e({url:"/fares",method:"post",headers:We({token:s,jwtToken:a,internalAuthTokenProvider:t,headers:d}),data:{fare:u}})}function i({token:s,jwtToken:a,fareId:u,fare:d,headers:p}){return e({url:`/fare/${u}`,method:"put",headers:We({token:s,jwtToken:a,internalAuthTokenProvider:t,headers:p}),data:{fare:d}})}return{all:n,get:c,update:i,create:o,adjustments:{create({token:s,jwtToken:a,fareId:u,adjustmentsOverride:d,headers:p}){return e({url:`/fares/${u}/adjustments-overrides`,method:"post",headers:We({token:s,jwtToken:a,internalAuthTokenProvider:t,headers:p}),data:{adjustmentsOverride:d}})},remove({token:s,jwtToken:a,fareId:u,adjustmentId:d,headers:p}){return e({url:`/fares/${u}/adjustments-override/${d}`,method:"delete",headers:We({token:s,jwtToken:a,internalAuthTokenProvider:t,headers:p})})}}}}uo.exports=ay});var po=m((MO,io)=>{var{authorizationHeaders:pr}=h();function oy({client:e,internalAuthTokenProvider:t}){function n({token:r,jwtToken:s,query:a={},headers:u}){return e.get("/fees",{params:a,headers:pr({token:r,jwtToken:s,internalAuthTokenProvider:t,headers:u})})}function c({token:r,jwtToken:s,feeId:a,headers:u}){return e.get(`/fees/${a}`,{headers:pr({token:r,jwtToken:s,internalAuthTokenProvider:t,headers:u})})}function o({token:r,jwtToken:s,fee:a,headers:u}){return e({url:"/fees",method:"post",headers:pr({token:r,jwtToken:s,internalAuthTokenProvider:t,headers:u}),data:{fee:a}})}function i({token:r,jwtToken:s,feeId:a,fee:u,headers:d}){return e({url:`/fees/${a}`,method:"put",headers:pr({token:r,jwtToken:s,internalAuthTokenProvider:t,headers:d}),data:{fee:u}})}return{all:n,get:c,create:o,update:i}}io.exports=oy});var mo=m((IO,fo)=>{var{authorizationHeaders:Ar}=h();function ny({client:e,internalAuthTokenProvider:t}){function n({token:i,jwtToken:r,query:s={},headers:a}){return e.get("/filtered-trips",{params:s,headers:Ar({token:i,jwtToken:r,internalAuthTokenProvider:t,headers:a})})}function c({token:i,jwtToken:r,tripSegmentsId:s,headers:a}){return e({url:"/filtered-trips",method:"post",headers:Ar({token:i,jwtToken:r,internalAuthTokenProvider:t,headers:a}),data:{tripSegmentsId:s}})}function o({token:i,jwtToken:r,filteredTripId:s,headers:a}){return e({url:`/filtered-trip/${s}`,method:"delete",headers:Ar({token:i,jwtToken:r,internalAuthTokenProvider:t,headers:a})})}return{all:n,create:c,remove:o}}fo.exports=ny});var ho=m((VO,lo)=>{var{authorizationHeaders:uy}=h();function cy({client:e,internalAuthTokenProvider:t}){function n({token:c,jwtToken:o,filteredTrip:i,headers:r}){return e({url:"/v2/filtered-trips",method:"post",headers:uy({token:c,jwtToken:o,internalAuthTokenProvider:t,headers:r}),data:{filteredTrip:i}})}return{create:n}}lo.exports=cy});var yo=m((KO,go)=>{var{authorizationHeaders:nt}=h();function iy({client:e,internalAuthTokenProvider:t}){function n({token:s,jwtToken:a,query:u={},headers:d}){return e.get("/financing-costs",{params:u,headers:nt({token:s,jwtToken:a,internalAuthTokenProvider:t,headers:d})})}function c({id:s,token:a,headers:u,jwtToken:d,query:p={}}){return e.get(`/financing-costs/${s}`,{params:p,headers:nt({token:a,jwtToken:d,internalAuthTokenProvider:t,headers:u})})}function o({jwtToken:s,token:a,financingCost:u,headers:d}){return e({url:"/financing-costs",method:"post",headers:nt({token:a,jwtToken:s,internalAuthTokenProvider:t,headers:d}),data:{financingcost:u}})}function i({jwtToken:s,id:a,token:u,headers:d,query:p={}}){return e({url:`/financing-costs/${a}`,method:"delete",params:p,headers:nt({token:u,jwtToken:s,internalAuthTokenProvider:t,headers:d})})}function r({jwtToken:s,token:a,id:u,financingCost:d,headers:p}){return e({url:`/financing-costs/${u}`,method:"put",headers:nt({token:a,jwtToken:s,internalAuthTokenProvider:t,headers:p}),data:{financingcost:d}})}return{all:n,get:c,create:o,update:r,remove:i}}go.exports=iy});var $o=m((WO,bo)=>{var{authorizationHeaders:ut}=h();function dy({client:e,internalAuthTokenProvider:t}){function n({token:s,jwtToken:a,query:u={},headers:d}){return e.get("/garages",{params:u,headers:ut({token:s,jwtToken:a,internalAuthTokenProvider:t,headers:d})})}function c({token:s,jwtToken:a,garageId:u,headers:d}){return e.get(`/garages/${u}`,{headers:ut({token:s,jwtToken:a,internalAuthTokenProvider:t,headers:d})})}function o({token:s,jwtToken:a,data:u,headers:d}){return e({url:"/garages",method:"post",headers:ut({token:s,jwtToken:a,internalAuthTokenProvider:t,headers:d}),data:u})}function i({token:s,jwtToken:a,garageId:u,data:d,headers:p}){return e({url:`/garages/${u}`,method:"put",headers:ut({token:s,jwtToken:a,internalAuthTokenProvider:t,headers:p}),data:d})}function r({token:s,jwtToken:a,garageId:u,headers:d}){return e({url:`/garages/${u}`,method:"delete",headers:ut({token:s,jwtToken:a,internalAuthTokenProvider:t,headers:d})})}return{all:n,get:c,create:o,update:i,remove:r}}bo.exports=dy});var qo=m((JO,xo)=>{var{authorizationHeaders:ct}=h();function py({client:e,internalAuthTokenProvider:t}){function n({token:s,jwtToken:a,query:u={},headers:d}){return e.get("/banorte-terminals",{params:u,headers:ct({token:s,jwtToken:a,internalAuthTokenProvider:t,headers:d})})}function c({banorteTerminalId:s,token:a,jwtToken:u,headers:d}){return e.get(`/banorte-terminals/${s}`,{headers:ct({token:a,jwtToken:u,internalAuthTokenProvider:t,headers:d})})}function o({jwtToken:s,token:a,banorteTerminal:u,headers:d}){return e({url:"/banorte-terminals",method:"post",headers:ct({token:a,jwtToken:s,internalAuthTokenProvider:t,headers:d}),data:{banorteTerminal:u}})}function i({jwtToken:s,banorteTerminalId:a,token:u,headers:d}){return e({url:`/banorte-terminals/${a}`,method:"delete",headers:ct({token:u,jwtToken:s,internalAuthTokenProvider:t,headers:d})})}function r({jwtToken:s,token:a,banorteTerminalId:u,banorteTerminal:d,headers:p}){let f=u||d._id;return e({url:`/banorte-terminals/${f}`,method:"put",headers:ct({token:a,jwtToken:s,internalAuthTokenProvider:t,headers:p}),data:{banorteTerminal:{name:d.name,serialNumber:d.serialNumber,stationId:d.stationId}}})}return{all:n,get:c,create:o,remove:i,update:r}}xo.exports=py});var Oo=m((XO,wo)=>{var{authorizationHeaders:it}=h();function fy({client:e,internalAuthTokenProvider:t}){function n({token:s,jwtToken:a,query:u={},headers:d}){return e.get("/getnet-terminals",{params:u,headers:it({token:s,jwtToken:a,internalAuthTokenProvider:t,headers:d})})}function c({getnetTerminalId:s,token:a,jwtToken:u,headers:d}){return e.get(`/getnet-terminals/${s}`,{headers:it({token:a,jwtToken:u,internalAuthTokenProvider:t,headers:d})})}function o({jwtToken:s,token:a,getnetTerminal:u,headers:d}){return e({url:"/getnet-terminals",method:"post",headers:it({token:a,jwtToken:s,internalAuthTokenProvider:t,headers:d}),data:{getnetTerminal:u}})}function i({jwtToken:s,getnetTerminalId:a,token:u,headers:d}){return e({url:`/getnet-terminals/${a}`,method:"delete",headers:it({token:u,jwtToken:s,internalAuthTokenProvider:t,headers:d})})}function r({jwtToken:s,token:a,getnetTerminalId:u,getnetTerminal:d,headers:p}){let f=u||d._id;return e({url:`/getnet-terminals/${f}`,method:"put",headers:it({token:a,jwtToken:s,internalAuthTokenProvider:t,headers:p}),data:{getnetTerminal:{name:d.name,serialNumber:d.serialNumber,stationId:d.stationId}}})}return{all:n,get:c,create:o,remove:i,update:r}}wo.exports=fy});var So=m((GO,Fo)=>{var{authorizationHeaders:dt}=h();function my({client:e,internalAuthTokenProvider:t}){function n({token:s,jwtToken:a,query:u={},headers:d}){return e.get("/clover-terminals",{params:u,headers:dt({token:s,jwtToken:a,internalAuthTokenProvider:t,headers:d})})}function c({cloverTerminalId:s,token:a,jwtToken:u,headers:d}){return e.get(`/clover-terminals/${s}`,{headers:dt({token:a,jwtToken:u,internalAuthTokenProvider:t,headers:d})})}function o({jwtToken:s,token:a,cloverTerminal:u,headers:d}){return e({url:"/clover-terminals",method:"post",headers:dt({token:a,jwtToken:s,internalAuthTokenProvider:t,headers:d}),data:{cloverTerminal:u}})}function i({jwtToken:s,cloverTerminalId:a,token:u,headers:d}){return e({url:`/clover-terminals/${a}`,method:"delete",headers:dt({token:u,jwtToken:s,internalAuthTokenProvider:t,headers:d})})}function r({jwtToken:s,token:a,cloverTerminalId:u,cloverTerminal:d,headers:p}){let f=u||d._id;return e({url:`/clover-terminals/${f}`,method:"put",headers:dt({token:a,jwtToken:s,internalAuthTokenProvider:t,headers:p}),data:{cloverTerminal:{name:d.name,serialNumber:d.serialNumber,stationId:d.stationId}}})}return{all:n,get:c,create:o,remove:i,update:r}}Fo.exports=my});var Ro=m((ZO,Eo)=>{var{authorizationHeaders:pt}=h();function ly({client:e,internalAuthTokenProvider:t}){function n({token:s,query:a={},headers:u}){return e.get("/gift-certificate-definitions",{params:a,headers:pt({token:s,internalAuthTokenProvider:t,headers:u})})}function c({token:s,jwtToken:a,giftcertificateId:u,query:d={},headers:p}){return e({url:`/gift-certificate-definitions/${u}`,method:"get",headers:pt({token:s,jwtToken:a,internalAuthTokenProvider:t,headers:p}),params:d})}function o({token:s,jwtToken:a,giftcertificate:u,query:d={},headers:p}){return e({url:"/gift-certificate-definitions",method:"post",headers:pt({token:s,jwtToken:a,internalAuthTokenProvider:t,headers:p}),params:d,data:{giftcertificate:u}})}function i({token:s,jwtToken:a,giftcertificateId:u,giftcertificate:d,query:p={},headers:f}){return e({url:`/gift-certificate-definitions/${u}`,method:"put",headers:pt({token:s,jwtToken:a,internalAuthTokenProvider:t,headers:f}),params:p,data:{giftcertificate:d}})}function r({token:s,jwtToken:a,giftcertificateId:u,query:d={},headers:p}){return e({url:`/gift-certificate-definitions/${u}`,method:"delete",headers:pt({token:s,jwtToken:a,internalAuthTokenProvider:t,headers:p}),params:d})}return{all:n,get:c,create:o,update:i,remove:r}}Eo.exports=ly});var zo=m((QO,_o)=>{function hy({client:e}){function t(){return e({url:"/healthcheck",method:"get"})}return{get:t}}_o.exports=hy});var Co=m((YO,Ho)=>{var{authorizationHeaders:ft}=h();function gy({client:e,internalAuthTokenProvider:t}){function n({token:s,jwtToken:a,query:u={},headers:d}){return e.get("/holidays",{params:u,headers:ft({token:s,jwtToken:a,internalAuthTokenProvider:t,headers:d})})}function c({token:s,jwtToken:a,holidayId:u,query:d={},headers:p}){return e({url:`/holidays/${u}`,method:"get",headers:ft({token:s,jwtToken:a,internalAuthTokenProvider:t,headers:p}),params:d})}function o({token:s,jwtToken:a,holiday:u,headers:d}){return e({url:"/holidays",method:"post",headers:ft({token:s,jwtToken:a,internalAuthTokenProvider:t,headers:d}),data:{holiday:u}})}function i({token:s,jwtToken:a,holidayId:u,holiday:d,headers:p}){return e({url:`/holidays/${u}`,method:"put",headers:ft({token:s,jwtToken:a,internalAuthTokenProvider:t,headers:p}),data:{holiday:d}})}function r({token:s,jwtToken:a,holidayId:u,headers:d}){return e({url:`/holidays/${u}`,method:"delete",headers:ft({token:s,jwtToken:a,internalAuthTokenProvider:t,headers:d})})}return{all:n,get:c,create:o,update:i,remove:r}}Ho.exports=gy});var Do=m((vO,jo)=>{var{authorizationHeaders:mt}=h();function yy({client:e,internalAuthTokenProvider:t}){function n({token:s,query:a={},headers:u}){return e.get("/insurances",{params:a,headers:mt({token:s,internalAuthTokenProvider:t,headers:u})})}function c({token:s,insuranceId:a,headers:u}){return e.get(`/insurances/${a}`,{headers:mt({token:s,internalAuthTokenProvider:t,headers:u})})}function o({token:s,insurance:a,jwtToken:u,headers:d}){return e({url:"/insurances",method:"post",headers:mt({token:s,jwtToken:u,internalAuthTokenProvider:t,headers:d}),data:{insurance:a}})}function i({token:s,insurance:a,jwtToken:u,insuranceId:d,headers:p}){return e({url:`/insurances/${d}`,method:"put",headers:mt({token:s,jwtToken:u,internalAuthTokenProvider:t,headers:p}),data:{insurance:a}})}function r({token:s,jwtToken:a,insuranceId:u,headers:d}){return e({url:`/insurances/${u}`,method:"delete",headers:mt({token:s,jwtToken:a,internalAuthTokenProvider:t,headers:d})})}return{all:n,create:o,get:c,update:i,remove:r}}jo.exports=yy});var Uo=m((PO,No)=>{var{authorizationHeaders:by}=h();function $y({client:e,internalAuthTokenProvider:t}){function n({token:c,productId:o,declaredValue:i,query:r={},headers:s}){return e.get(`/insurances/${o}/cost`,{params:Object.assign(r,{declaredValue:i}),headers:by({token:c,internalAuthTokenProvider:t,headers:s})})}return{get:n}}No.exports=$y});var Lo=m((TO,Bo)=>{var{authorizationHeaders:lt}=h();function xy({client:e,internalAuthTokenProvider:t}){function n({token:s,query:a={},jwtToken:u,headers:d}){return e({url:"/items",params:a,headers:lt({token:s,jwtToken:u,internalAuthTokenProvider:t,headers:d})})}function c({itemId:s,token:a,jwtToken:u,query:d={},headers:p}){return e.get(`/items/${s}`,{params:d,headers:lt({token:a,jwtToken:u,internalAuthTokenProvider:t,headers:p})})}function o({jwtToken:s,item:a,token:u,headers:d}){return e({url:"/items",method:"post",headers:lt({token:u,jwtToken:s,internalAuthTokenProvider:t,headers:d}),data:{item:a}})}function i({jwtToken:s,token:a,itemId:u,item:d,headers:p}){return e({url:`/items/${u}`,method:"put",headers:lt({token:a,jwtToken:s,internalAuthTokenProvider:t,headers:p}),data:{item:d}})}return{all:n,get:c,create:o,update:i,tickets:{update({jwtToken:s,token:a,soldItemId:u,ticketId:d,headers:p,query:f}){return e({url:`/items/${u}/tickets/${d}`,method:"put",headers:lt({token:a,jwtToken:s,internalAuthTokenProvider:t,headers:p}),params:f})}}}}Bo.exports=xy});var Io=m((kO,Mo)=>{var{authorizationHeaders:ht}=h();function qy({client:e,internalAuthTokenProvider:t}){function n({token:s,jwtToken:a,query:u={},headers:d}){return e({url:"/journey-prices",params:u,headers:ht({token:s,jwtToken:a,internalAuthTokenProvider:t,headers:d})})}function c({id:s,token:a,jwtToken:u,query:d={},headers:p}){return e({url:`/journey-prices/${s}`,params:d,headers:ht({token:a,jwtToken:u,internalAuthTokenProvider:t,headers:p})})}function o({token:s,jwtToken:a,id:u,headers:d}){return e({url:`/journey-prices/${u}`,method:"delete",headers:ht({token:s,jwtToken:a,internalAuthTokenProvider:t,headers:d})})}function i({token:s,jwtToken:a,journeyPrice:u,headers:d}){return e({url:"/journey-prices",method:"post",headers:ht({token:s,jwtToken:a,internalAuthTokenProvider:t,headers:d}),data:{journeyPrice:u}})}function r({token:s,jwtToken:a,journeyPriceId:u,journeyPrice:d,headers:p}){return e({url:`/journey-prices/${u}`,method:"patch",headers:ht({token:s,jwtToken:a,internalAuthTokenProvider:t,headers:p}),data:{update:d}})}return{all:n,deleteById:o,get:c,create:i,update:r}}Mo.exports=qy});var Ko=m((AO,Vo)=>{var{authorizationHeaders:gt}=h();function wy({client:e,internalAuthTokenProvider:t}){function n({token:s,jwtToken:a,query:u={},headers:d}){return e.get("/labels",{params:u,headers:gt({token:s,jwtToken:a,internalAuthTokenProvider:t,headers:d})})}function c({labelId:s,token:a,jwtToken:u,query:d={},headers:p}){return e.get(`/labels/${s}`,{params:d,headers:gt({token:a,jwtToken:u,internalAuthTokenProvider:t,headers:p})})}function o({jwtToken:s,label:a,token:u,headers:d}){return e({url:"/labels",method:"post",headers:gt({token:u,jwtToken:s,internalAuthTokenProvider:t,headers:d}),data:{label:a}})}function i({jwtToken:s,token:a,labelId:u,label:d,headers:p}){return e({url:`/labels/${u}`,method:"put",headers:gt({token:a,jwtToken:s,internalAuthTokenProvider:t,headers:p}),data:{label:d}})}function r({jwtToken:s,token:a,labelId:u,headers:d}){return e({url:`/labels/${u}`,method:"delete",headers:gt({token:a,jwtToken:s,internalAuthTokenProvider:t,headers:d})})}return{all:n,get:c,create:o,update:i,remove:r}}Vo.exports=wy});var Jo=m((eF,Wo)=>{var{authorizationHeaders:yt}=h();function Oy({client:e,internalAuthTokenProvider:t}){function n({token:s,jwtToken:a,query:u={},headers:d}){return e({url:"/marital-status",method:"get",headers:yt({token:s,jwtToken:a,internalAuthTokenProvider:t,headers:d}),params:u})}function c({token:s,jwtToken:a,id:u,query:d={},headers:p}){return e({url:`/marital-status/${u}`,method:"get",headers:yt({token:s,jwtToken:a,internalAuthTokenProvider:t,headers:p}),params:d})}function o({token:s,jwtToken:a,id:u,data:d,query:p={},headers:f}){return e({url:`/marital-status/${u}`,method:"put",headers:yt({token:s,jwtToken:a,internalAuthTokenProvider:t,headers:f}),params:p,data:d})}function i({token:s,jwtToken:a,id:u,query:d={},headers:p}){return e({url:`/marital-status/${u}`,method:"delete",headers:yt({token:s,jwtToken:a,internalAuthTokenProvider:t,headers:p}),params:d})}function r({token:s,jwtToken:a,data:u,query:d={},headers:p}){return e({url:"/marital-status",method:"post",headers:yt({token:s,jwtToken:a,internalAuthTokenProvider:t,headers:p}),params:d,data:u})}return{all:n,get:c,update:o,remove:i,create:r}}Wo.exports=Oy});var Go=m((tF,Xo)=>{var{authorizationHeaders:bt}=h();function Fy({client:e,internalAuthTokenProvider:t}){function n({token:s,query:a={},headers:u}){return e.get("/marketplace-modifiers",{params:a,headers:bt({token:s,internalAuthTokenProvider:t,headers:u})})}function c({marketplaceModifierId:s,token:a,headers:u}){return e.get(`/marketplace-modifiers/${s}`,{headers:bt({token:a,internalAuthTokenProvider:t,headers:u})})}function o({jwtToken:s,token:a,marketplaceModifier:u,headers:d}){return e({url:"/marketplace-modifiers",method:"post",headers:bt({token:a,jwtToken:s,internalAuthTokenProvider:t,headers:d}),data:{marketplaceModifier:u}})}function i({jwtToken:s,marketplaceModifierId:a,token:u,headers:d}){return e({url:`/marketplace-modifiers/${a}`,method:"delete",headers:bt({token:u,jwtToken:s,internalAuthTokenProvider:t,headers:d})})}function r({jwtToken:s,token:a,marketplaceModifierId:u,marketplaceModifier:d,headers:p}){return e({url:`/marketplace-modifiers/${u}`,method:"put",headers:bt({token:a,jwtToken:s,internalAuthTokenProvider:t,headers:p}),data:{marketplaceModifier:d}})}return{all:n,get:c,create:o,update:r,remove:i}}Xo.exports=Fy});var Qo=m((rF,Zo)=>{var{authorizationHeaders:$t}=h();function Sy({client:e,internalAuthTokenProvider:t}){function n({token:s,query:a={},headers:u}){return e.get("/mit-terminals",{params:a,headers:$t({token:s,internalAuthTokenProvider:t,headers:u})})}function c({mitTerminalId:s,token:a,headers:u}){return e.get(`/mit-terminals/${s}`,{headers:$t({token:a,internalAuthTokenProvider:t,headers:u})})}function o({jwtToken:s,token:a,mitTerminal:u,headers:d}){return e({url:"/mit-terminals",method:"post",headers:$t({token:a,jwtToken:s,internalAuthTokenProvider:t,headers:d}),data:{mitTerminal:u}})}function i({jwtToken:s,mitTerminalId:a,token:u,headers:d}){return e({url:`/mit-terminals/${a}`,method:"delete",headers:$t({token:u,jwtToken:s,internalAuthTokenProvider:t,headers:d})})}function r({jwtToken:s,token:a,mitTerminalId:u,mitTerminal:d,headers:p}){return e({url:`/mit-terminals/${u}`,method:"put",headers:$t({token:a,jwtToken:s,internalAuthTokenProvider:t,headers:p}),data:{mitTerminal:d}})}return{all:n,get:c,create:o,update:r,remove:i}}Zo.exports=Sy});var vo=m((sF,Yo)=>{var{authorizationHeaders:xt}=h();function Ey({client:e,internalAuthTokenProvider:t}){function n({token:s,jwtToken:a,query:u={},headers:d}){return e.get("/mit-terminals-settings",{params:u,headers:xt({token:s,jwtToken:a,internalAuthTokenProvider:t,headers:d})})}function c({id:s,token:a,jwtToken:u,headers:d}){return e.get(`/mit-terminals-settings/${s}`,{headers:xt({token:a,jwtToken:u,internalAuthTokenProvider:t,headers:d})})}function o({jwtToken:s,token:a,mitTerminalSettings:u,headers:d}){return e({url:"/mit-terminals-settings",method:"post",headers:xt({token:a,jwtToken:s,internalAuthTokenProvider:t,headers:d}),data:{mitTerminalSettings:u}})}function i({jwtToken:s,id:a,token:u,headers:d}){return e({url:`/mit-terminals-settings/${a}`,method:"delete",headers:xt({token:u,jwtToken:s,internalAuthTokenProvider:t,headers:d})})}function r({jwtToken:s,token:a,id:u,mitTerminalSettings:d,headers:p}){return e({url:`/mit-terminals-settings/${u}`,method:"put",headers:xt({token:a,jwtToken:s,internalAuthTokenProvider:t,headers:p}),data:{mitTerminalSettings:d}})}return{all:n,get:c,create:o,update:r,remove:i}}Yo.exports=Ey});var To=m((aF,Po)=>{var{authorizationHeaders:be}=h();function Ry({client:e,internalAuthTokenProvider:t}){function n({token:s,jwtToken:a,query:u={},headers:d}){return e({url:"/operating-companies",params:u,headers:be({token:s,jwtToken:a,internalAuthTokenProvider:t,headers:d})})}function c({token:s,jwtToken:a,operatingCompany:u,headers:d}){return e({url:"/operating-companies",method:"post",headers:be({token:s,jwtToken:a,internalAuthTokenProvider:t,headers:d}),data:{operatingCompany:u}})}function o({jwtToken:s,token:a,operatingCompanyId:u,operatingCompany:d,headers:p}){return e({url:`/operating-companies/${u}`,method:"put",headers:be({token:a,jwtToken:s,internalAuthTokenProvider:t,headers:p}),data:{operatingCompany:d}})}function i({token:s,operatingCompanyId:a,jwtToken:u,headers:d}){return e({url:`/operating-companies/${a}`,method:"get",headers:be({token:s,internalAuthTokenProvider:t,jwtToken:u,headers:d})})}return{all:n,create:c,update:o,get:i,sequences:{create({jwtToken:s,token:a,operatingCompanyId:u,sequence:d,headers:p}){return e({url:`/operating-companies/${u}/sequences`,method:"post",headers:be({token:a,jwtToken:s,internalAuthTokenProvider:t,headers:p}),data:d})},all({jwtToken:s,token:a,operatingCompanyId:u,headers:d}){return e({url:`/operating-companies/${u}/sequences`,method:"get",headers:be({token:a,jwtToken:s,internalAuthTokenProvider:t,headers:d})})},get({jwtToken:s,token:a,operatingCompanyId:u,sequenceId:d,headers:p}){return e({url:`/operating-companies/${u}/sequences/${d}`,method:"get",headers:be({token:a,jwtToken:s,internalAuthTokenProvider:t,headers:p})})},update({jwtToken:s,token:a,operatingCompanyId:u,sequenceId:d,sequence:p,headers:f}){return e({url:`/operating-companies/${u}/sequences/${d}`,method:"put",headers:be({token:a,jwtToken:s,internalAuthTokenProvider:t,headers:f}),data:p})}}}}Po.exports=Ry});var Ao=m((oF,ko)=>{var{authorizationHeaders:Je}=h();function _y({client:e,internalAuthTokenProvider:t}){function n({token:a,query:u={},headers:d}){return e({url:"/operation-messages",method:"get",params:u,headers:Je({token:a,internalAuthTokenProvider:t,headers:d})})}function c({token:a,jwtToken:u,opMsgData:d,headers:p}){return e({url:"/operation-messages",method:"post",headers:Je({token:a,jwtToken:u,internalAuthTokenProvider:t,headers:p}),data:d})}function o({token:a,jwtToken:u,operationMessageId:d,opMsgData:p,headers:f}){return e({url:`/operation-messages/${d}`,method:"put",headers:Je({token:a,jwtToken:u,internalAuthTokenProvider:t,headers:f}),data:p})}function i({token:a,operationMessageId:u,headers:d}){return e({url:`/operation-messages/${u}`,method:"get",headers:Je({token:a,internalAuthTokenProvider:t,headers:d})})}function r({jwtToken:a,operationMessageId:u,token:d,headers:p}){return e({url:`/operation-messages/${u}`,method:"delete",headers:Je({token:d,jwtToken:a,internalAuthTokenProvider:t,headers:p})})}function s({token:a,jwtToken:u,opMsgData:d,headers:p}){return e({url:"/operation-messages-stations",method:"post",headers:Je({token:a,jwtToken:u,internalAuthTokenProvider:t,headers:p}),data:d})}return{get:i,all:n,create:c,update:o,remove:r,getByStation:s}}ko.exports=_y});var tn=m((nF,en)=>{var{authorizationHeaders:qt}=h();function zy({client:e,internalAuthTokenProvider:t}){function n({token:s,jwtToken:a,query:u={},headers:d}){return e({url:"/operation-reasons",method:"get",headers:qt({token:s,jwtToken:a,internalAuthTokenProvider:t,headers:d}),params:u})}function c({token:s,jwtToken:a,id:u,query:d={},headers:p}){return e({url:`/operation-reasons/${u}`,method:"get",headers:qt({token:s,jwtToken:a,internalAuthTokenProvider:t,headers:p}),params:d})}function o({token:s,jwtToken:a,id:u,operationReason:d,query:p={},headers:f}){return e({url:`/operation-reasons/${u}`,method:"put",headers:qt({token:s,jwtToken:a,internalAuthTokenProvider:t,headers:f}),params:p,data:{operationReason:d}})}function i({token:s,jwtToken:a,id:u,query:d={},headers:p}){return e({url:`/operation-reasons/${u}`,method:"delete",headers:qt({token:s,jwtToken:a,internalAuthTokenProvider:t,headers:p}),params:d})}function r({token:s,jwtToken:a,operationReason:u,query:d={},headers:p}){return e({url:"/operation-reasons",method:"post",headers:qt({token:s,jwtToken:a,internalAuthTokenProvider:t,headers:p}),params:d,data:{operationReason:u}})}return{all:n,get:c,update:o,remove:i,create:r}}en.exports=zy});var sn=m((uF,rn)=>{var{authorizationHeaders:fr}=h();function Hy({client:e,internalAuthTokenProvider:t}){function n({token:r,query:s={},headers:a}){return e("/parcel-zones",{params:s,headers:fr({token:r,internalAuthTokenProvider:t,headers:a})})}function c({token:r,parcelZone:s,jwtToken:a,headers:u}){return e({url:"/parcel-zones",method:"post",headers:fr({token:r,jwtToken:a,internalAuthTokenProvider:t,headers:u}),data:{parcelZone:s}})}function o({jwtToken:r,token:s,parcelZoneId:a,parcelZone:u,headers:d}){return e({url:`/parcel-zone/${a}`,method:"put",headers:fr({token:s,jwtToken:r,internalAuthTokenProvider:t,headers:d}),data:{parcelZone:u}})}function i({token:r,query:s={},headers:a}){return e.get("/parcel-zones/bucket",{params:s,headers:fr({token:r,internalAuthTokenProvider:t,headers:a})})}return{all:n,create:c,update:o,bucket:i}}rn.exports=Hy});var on=m((cF,an)=>{var{authorizationHeaders:wt}=h();function Cy({client:e,internalAuthTokenProvider:t}){function n({token:s,query:a={},headers:u}){return e.get("/payment-terminals",{params:a,headers:wt({token:s,internalAuthTokenProvider:t,headers:u})})}function c({paymentTerminalId:s,token:a,headers:u}){return e.get(`/payment-terminals/${s}`,{headers:wt({token:a,internalAuthTokenProvider:t,headers:u})})}function o({jwtToken:s,token:a,paymentTerminal:u,headers:d}){return e({url:"/payment-terminals",method:"post",headers:wt({token:a,jwtToken:s,internalAuthTokenProvider:t,headers:d}),data:{paymentTerminal:u}})}function i({jwtToken:s,paymentTerminalId:a,token:u,headers:d}){return e({url:`/payment-terminals/${a}`,method:"delete",headers:wt({token:u,jwtToken:s,internalAuthTokenProvider:t,headers:d})})}function r({jwtToken:s,token:a,paymentTerminalId:u,paymentTerminal:d,headers:p}){return e({url:`/payment-terminals/${u}`,method:"put",headers:wt({token:a,jwtToken:s,internalAuthTokenProvider:t,headers:p}),data:{paymentTerminal:d}})}return{all:n,get:c,create:o,update:r,remove:i}}an.exports=Cy});var un=m((iF,nn)=>{var{authorizationHeaders:jy}=h();function Dy({client:e,internalAuthTokenProvider:t}){function n({token:c,jwtToken:o,query:i={},responseType:r="json",headers:s}){return e.get("/pay-on-accounts",{params:i,responseType:r,headers:jy({token:c,jwtToken:o,internalAuthTokenProvider:t,headers:s})})}return{all:n}}nn.exports=Dy});var dn=m((dF,cn)=>{var{authorizationHeaders:Ot}=h();function Ny({client:e,internalAuthTokenProvider:t}){function n({token:s,jwtToken:a,query:u={},headers:d}){return e.get("/prisma-terminals",{params:u,headers:Ot({token:s,jwtToken:a,internalAuthTokenProvider:t,headers:d})})}function c({prismaTerminalId:s,token:a,jwtToken:u,headers:d}){return e.get(`/prisma-terminals/${s}`,{headers:Ot({token:a,jwtToken:u,internalAuthTokenProvider:t,headers:d})})}function o({jwtToken:s,token:a,prismaTerminal:u,headers:d}){return e({url:"/prisma-terminals",method:"post",headers:Ot({token:a,jwtToken:s,internalAuthTokenProvider:t,headers:d}),data:{prismaTerminal:u}})}function i({jwtToken:s,prismaTerminalId:a,token:u,headers:d}){return e({url:`/prisma-terminals/${a}`,method:"delete",headers:Ot({token:u,jwtToken:s,internalAuthTokenProvider:t,headers:d})})}function r({jwtToken:s,token:a,prismaTerminalId:u,prismaTerminal:d,headers:p}){return e({url:`/prisma-terminals/${u}`,method:"put",headers:Ot({token:a,jwtToken:s,internalAuthTokenProvider:t,headers:p}),data:{prismaTerminal:d}})}return{all:n,get:c,create:o,update:r,remove:i}}cn.exports=Ny});var fn=m((pF,pn)=>{var{authorizationHeaders:Xe}=h();function Uy({client:e,internalAuthTokenProvider:t}){function n({token:a,query:u={},headers:d}){return e({url:"/products",params:u,headers:Xe({token:a,internalAuthTokenProvider:t,headers:d})})}function c({productId:a,token:u,jwtToken:d,query:p={},headers:f}){return e({url:`/products/${a}`,params:p,headers:Xe({token:u,internalAuthTokenProvider:t,jwtToken:d,headers:f})})}function o({data:a,token:u,jwtToken:d,headers:p}){return e({url:"/products",method:"post",headers:Xe({token:u,jwtToken:d,internalAuthTokenProvider:t,headers:p}),data:a})}function i({productId:a,data:u,token:d,jwtToken:p,headers:f}){return e({url:`/products/${a}`,method:"put",headers:Xe({token:d,jwtToken:p,internalAuthTokenProvider:t,headers:f}),data:u})}return{all:n,get:c,create:o,update:i,families:{all:({token:a,query:u={},headers:d})=>e({url:"/products/families",params:u,headers:Xe({token:a,internalAuthTokenProvider:t,headers:d})})},domains:{remove:({token:a,jwtToken:u,domain:d,headers:p})=>e({url:`/products/domains/${d}`,method:"delete",headers:Xe({token:a,jwtToken:u,internalAuthTokenProvider:t,headers:p})})}}}pn.exports=Uy});var ln=m((fF,mn)=>{var{authorizationHeaders:$e}=h();function By({client:e,internalAuthTokenProvider:t}){function n({token:d,jwtToken:p,query:f={},headers:l}){return e.get("/promos",{params:f,headers:$e({token:d,jwtToken:p,internalAuthTokenProvider:t,headers:l})})}function c({promoId:d,token:p,jwtToken:f,query:l={},headers:q}){return e.get(`/promos/${d}`,{params:l,headers:$e({token:p,jwtToken:f,internalAuthTokenProvider:t,headers:q})})}function o({jwtToken:d,promo:p,token:f,headers:l}){return e({url:"/promos",method:"post",headers:$e({token:f,jwtToken:d,internalAuthTokenProvider:t,headers:l}),data:{promo:p}})}function i({jwtToken:d,promoId:p,token:f,headers:l}){return e({url:`/promos/${p}`,method:"delete",headers:$e({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:$e({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:$e({token:p,jwtToken:d,internalAuthTokenProvider:t,headers:q}),data:{operations:l}})}function a({jwtToken:d,token:p,promoId:f,rule:l,headers:q}){return e({url:`/promos/${f}/rules`,method:"post",headers:$e({token:p,jwtToken:d,internalAuthTokenProvider:t,headers:q}),data:{rule:l}})}function u({jwtToken:d,token:p,promoId:f,ruleId:l,rule:q,headers:y}){return e({url:`/promos/${f}/rules/${l}`,method:"put",headers:$e({token:p,jwtToken:d,internalAuthTokenProvider:t,headers:y}),data:{rule:q}})}return{all:n,get:c,create:o,update:r,patch:s,remove:i,addRule:a,updateRule:u}}mn.exports=By});var gn=m((mF,hn)=>{var{authorizationHeaders:K}=h();function Ly({client:e,internalAuthTokenProvider:t}){function n({routeId:y,token:b,query:g={},headers:x}){return e({url:`/routes/${y}`,params:g,headers:K({token:b,internalAuthTokenProvider:t,headers:x})})}function c({token:y,productId:b,originId:g,destinationId:x,channel:w,query:D,headers:W}){let I=Object.assign({},D,{productId:b,originId:g,destinationId:x,channel:w});return e({url:"/routes/prices",params:I,headers:K({token:y,internalAuthTokenProvider:t,headers:W})})}function o({token:y,query:b={},headers:g}){return e.get("/routes",{params:b,headers:K({token:y,internalAuthTokenProvider:t,headers:g})})}function i({token:y,routeId:b,headers:g}){return e({url:`/routes/${b}/stations`,headers:K({token:y,internalAuthTokenProvider:t,headers:g})})}function r({token:y,jwtToken:b,data:g,headers:x}){return e({url:"/routes",method:"post",headers:K({token:y,jwtToken:b,internalAuthTokenProvider:t,headers:x}),data:g})}function s({token:y,jwtToken:b,data:g,routeId:x,headers:w}){return e({url:`/routes/${x}`,method:"put",headers:K({token:y,jwtToken:b,internalAuthTokenProvider:t,headers:w}),data:g})}function a({token:y,jwtToken:b,routeId:g,headers:x}){return e({url:`/routes/${g}`,method:"delete",headers:K({token:y,jwtToken:b,internalAuthTokenProvider:t,headers:x})})}return{get:n,prices:c,all:o,stations:i,create:r,update:s,remove:a,fareTables:{all({token:y,query:b={},headers:g}){return e({url:"/routes/fare-tables",params:b,headers:K({token:y,internalAuthTokenProvider:t,headers:g})})},create({token:y,jwtToken:b,routeId:g,fareTable:x,headers:w}){return e({url:`/routes/${g}/fare-tables`,method:"post",headers:K({token:y,jwtToken:b,internalAuthTokenProvider:t,headers:w}),data:{fareTable:x}})},update({token:y,jwtToken:b,routeId:g,fareTableId:x,fareTable:w,headers:D}){return e({url:`/routes/${g}/fare-tables/${x}`,method:"put",headers:K({token:y,jwtToken:b,internalAuthTokenProvider:t,headers:D}),data:{fareTable:w}})}},stops:{create({token:y,jwtToken:b,routeId:g,stop:x,headers:w}){return e({url:`/routes/${g}/stops`,method:"post",headers:K({token:y,jwtToken:b,internalAuthTokenProvider:t,headers:w}),data:x})}},fareRules:{get({token:y,jwtToken:b,routeId:g,headers:x}){return e({url:`/routes/${g}/fare-rules`,headers:K({token:y,jwtToken:b,internalAuthTokenProvider:t,headers:x})})},create({token:y,jwtToken:b,routeId:g,fareRule:x,headers:w}){return e({url:`/routes/${g}/fare-rules`,method:"post",headers:K({token:y,jwtToken:b,internalAuthTokenProvider:t,headers:w}),data:{fareRule:x}})},update({token:y,jwtToken:b,routeId:g,fareRuleId:x,fareRule:w,headers:D}){return e({url:`/routes/${g}/fare-rules/${x}`,method:"put",headers:K({token:y,jwtToken:b,internalAuthTokenProvider:t,headers:D}),data:{fareRule:w}})},remove({token:y,jwtToken:b,routeId:g,fareRuleId:x,headers:w}){return e({url:`/routes/${g}/fare-rules/${x}`,method:"delete",headers:K({token:y,jwtToken:b,internalAuthTokenProvider:t,headers:w})})}},priceBuckets:{get({token:y,jwtToken:b,routeId:g,headers:x}){return e({url:`/routes/${g}/price-buckets`,headers:K({token:y,jwtToken:b,internalAuthTokenProvider:t,headers:x})})},create({token:y,jwtToken:b,routeId:g,bucket:x,headers:w}){return e({url:`/routes/${g}/price-buckets`,method:"post",headers:K({token:y,jwtToken:b,internalAuthTokenProvider:t,headers:w}),data:{bucket:x}})},update({token:y,jwtToken:b,routeId:g,bucketId:x,bucket:w,headers:D}){return e({url:`/routes/${g}/price-buckets/${x}`,method:"put",headers:K({token:y,jwtToken:b,internalAuthTokenProvider:t,headers:D}),data:{bucket:w}})},remove({token:y,jwtToken:b,routeId:g,bucketId:x,headers:w}){return e({url:`/routes/${g}/price-buckets/${x}`,method:"delete",headers:K({token:y,jwtToken:b,internalAuthTokenProvider:t,headers:w})})}},crossBorderDistances:{get({token:y,jwtToken:b,routeId:g,headers:x}){return e({url:`/routes/${g}/cross-border-distances`,headers:K({token:y,jwtToken:b,internalAuthTokenProvider:t,headers:x})})},update({token:y,jwtToken:b,routeId:g,crossBorderDistances:x,headers:w}){return e({url:`/routes/${g}/cross-border-distances`,method:"put",headers:K({token:y,jwtToken:b,internalAuthTokenProvider:t,headers:w}),data:{crossBorderDistances:x}})}},prorationTables:{all({token:y,jwtToken:b,query:g={},headers:x}){return e({url:"/routes/proration-tables",params:g,headers:K({token:y,jwtToken:b,internalAuthTokenProvider:t,headers:x})})},getByRouteId({token:y,jwtToken:b,routeId:g,productId:x,headers:w}){let D=x?{productId:x}:{};return e({url:`/routes/${g}/proration-tables`,params:D,headers:K({token:y,jwtToken:b,internalAuthTokenProvider:t,headers:w})})},updateByRouteId({token:y,jwtToken:b,routeId:g,prorationTable:x,headers:w}){return e({url:`/routes/${g}/proration-tables`,method:"put",headers:K({token:y,jwtToken:b,internalAuthTokenProvider:t,headers:w}),data:{prorationTable:x}})}}}}hn.exports=Ly});var bn=m((lF,yn)=>{var{authorizationHeaders:mr}=h();function My({client:e,internalAuthTokenProvider:t}){function n({token:r,jwtToken:s,query:a={},headers:u}){return e.get("/schedule-groups",{params:a,headers:mr({token:r,jwtToken:s,internalAuthTokenProvider:t,headers:u})})}function c({token:r,jwtToken:s,scheduleGroupId:a,query:u={},headers:d}){return e.get(`/schedule-groups/${a}`,{params:u,headers:mr({token:r,jwtToken:s,internalAuthTokenProvider:t,headers:d})})}function o({token:r,jwtToken:s,scheduleGroup:a,headers:u}){return e({url:"/schedule-groups",method:"post",headers:mr({token:r,jwtToken:s,internalAuthTokenProvider:t,headers:u}),data:{scheduleGroup:a}})}function i({token:r,jwtToken:s,scheduleGroupId:a,scheduleGroup:u,headers:d}){return e({url:`/schedule-groups/${a}`,method:"put",headers:mr({token:r,jwtToken:s,internalAuthTokenProvider:t,headers:d}),data:{scheduleGroup:u}})}return{all:n,get:c,create:o,update:i}}yn.exports=My});var xn=m((hF,$n)=>{var{authorizationHeaders:ee}=h();function Iy({client:e,internalAuthTokenProvider:t}){function n({token:p,query:f={},headers:l}){return e.get("/routes/schedules",{params:f,headers:ee({token:p,internalAuthTokenProvider:t,headers:l})})}function c({token:p,routeId:f,scheduleId:l,headers:q,query:y={}}){return e.get(`/routes/${f}/schedules/${l}`,{params:y,headers:ee({token:p,internalAuthTokenProvider:t,headers:q})})}function o({token:p,jwtToken:f,data:l,routeId:q,headers:y}){return e({url:`/routes/${q}/schedules`,method:"post",headers:ee({token:p,jwtToken:f,internalAuthTokenProvider:t,headers:y}),data:l})}function i({token:p,jwtToken:f,data:l,routeId:q,headers:y}){return e({url:`/routes/${q}/schedules/validations`,method:"post",headers:ee({token:p,jwtToken:f,internalAuthTokenProvider:t,headers:y}),data:l})}function r({token:p,jwtToken:f,data:l,routeId:q,scheduleId:y,headers:b}){return e({url:`/routes/${q}/schedules/${y}/validations`,method:"put",headers:ee({token:p,jwtToken:f,internalAuthTokenProvider:t,headers:b}),data:l})}function s({token:p,jwtToken:f,data:l,routeId:q,scheduleId:y,headers:b}){return e({url:`/routes/${q}/schedules/${y}`,method:"put",headers:ee({token:p,jwtToken:f,internalAuthTokenProvider:t,headers:b}),data:l})}function a({token:p,jwtToken:f,routeId:l,scheduleId:q,headers:y}){return e({url:`/routes/${l}/schedules/${q}`,method:"delete",headers:ee({token:p,jwtToken:f,internalAuthTokenProvider:t,headers:y})})}return{all:n,get:c,create:o,update:s,delete:a,validations:i,runUpdateValidations:r,autoBouncing:{create:({token:p,jwtToken:f,data:l,headers:q})=>e({url:"/routes/schedules/auto-bouncing",method:"post",headers:ee({token:p,jwtToken:f,internalAuthTokenProvider:t,headers:q}),data:l}),delete:({token:p,jwtToken:f,routeId:l,parentScheduleId:q,headers:y})=>e({url:`/routes/${l}/schedules/${q}/auto-bouncing`,method:"delete",headers:ee({token:p,jwtToken:f,internalAuthTokenProvider:t,headers:y})})},exceptions:{create:({token:p,jwtToken:f,data:l,scheduleId:q,headers:y,query:b={}})=>e({url:`/schedules/${q}/schedule-exceptions`,method:"post",headers:ee({token:p,jwtToken:f,internalAuthTokenProvider:t,headers:y}),data:l,params:b}),delete:({token:p,jwtToken:f,scheduleId:l,exceptionId:q,headers:y,query:b={}})=>e({url:`/schedules/${l}/schedule-exceptions/${q}`,method:"delete",headers:ee({token:p,jwtToken:f,internalAuthTokenProvider:t,headers:y}),params:b}),update:({token:p,jwtToken:f,data:l,scheduleId:q,exceptionId:y,headers:b,query:g={}})=>e({url:`/schedules/${q}/schedule-exceptions/${y}`,method:"put",headers:ee({token:p,jwtToken:f,internalAuthTokenProvider:t,headers:b}),data:l,params:g})}}}$n.exports=Iy});var wn=m((gF,qn)=>{var{authorizationHeaders:Ft}=h();function Vy({client:e,internalAuthTokenProvider:t}){function n({token:s,jwtToken:a,query:u={},headers:d}){return e({url:"/seat-classes",method:"get",headers:Ft({token:s,jwtToken:a,internalAuthTokenProvider:t,headers:d}),params:u})}function c({token:s,jwtToken:a,id:u,query:d={},headers:p}){return e({url:`/seat-classes/${u}`,method:"get",headers:Ft({token:s,jwtToken:a,internalAuthTokenProvider:t,headers:p}),params:d})}function o({token:s,jwtToken:a,id:u,data:d,query:p={},headers:f}){return e({url:`/seat-classes/${u}`,method:"put",headers:Ft({token:s,jwtToken:a,internalAuthTokenProvider:t,headers:f}),params:p,data:d})}function i({token:s,jwtToken:a,id:u,query:d={},headers:p}){return e({url:`/seat-classes/${u}`,method:"delete",headers:Ft({token:s,jwtToken:a,internalAuthTokenProvider:t,headers:p}),params:d})}function r({token:s,jwtToken:a,data:u,query:d={},headers:p}){return e({url:"/seat-classes",method:"post",headers:Ft({token:s,jwtToken:a,internalAuthTokenProvider:t,headers:p}),params:d,data:u})}return{all:n,get:c,update:o,remove:i,create:r}}qn.exports=Vy});var Fn=m((yF,On)=>{var{authorizationHeaders:lr}=h();function Ky({client:e,internalAuthTokenProvider:t}){function n({token:r,query:s={},headers:a}){return e.get("/seat-fees",{params:s,headers:lr({token:r,internalAuthTokenProvider:t,headers:a})})}function c({seatfeeId:r,token:s,headers:a}){return e.get(`/seat-fees/${r}`,{headers:lr({token:s,internalAuthTokenProvider:t,headers:a})})}function o({jwtToken:r,token:s,seatfee:a,headers:u}){return e({url:"/seat-fees",method:"post",headers:lr({token:s,jwtToken:r,internalAuthTokenProvider:t,headers:u}),data:{seatfee:a}})}function i({jwtToken:r,token:s,seatfeeId:a,seatfee:u,headers:d}){return e({url:`/seat-fees/${a}`,method:"put",headers:lr({token:s,jwtToken:r,internalAuthTokenProvider:t,headers:d}),data:{seatfee:u}})}return{all:n,get:c,create:o,update:i}}On.exports=Ky});var En=m((bF,Sn)=>{var{authorizationHeaders:He}=h();function Wy({client:e,internalAuthTokenProvider:t}){function n({token:u,query:d={},headers:p}){return e.get("/seatmaps",{params:d,headers:He({token:u,internalAuthTokenProvider:t,headers:p})})}function c({seatmapId:u,routeId:d,scheduleId:p,manifestDate:f,query:l={},token:q,headers:y}){return e.get(`/seatmaps/${u}/available-seats/${d}/${p}/${f}`,{params:l,headers:He({token:q,internalAuthTokenProvider:t,headers:y})})}function o({seatmapId:u,token:d,jwtToken:p,query:f={},headers:l}){return e.get(`/seatmaps/${u}`,{params:f,headers:He({token:d,jwtToken:p,internalAuthTokenProvider:t,headers:l})})}function i({token:u,jwtToken:d,seatmap:p,headers:f}){return e({url:"/seatmaps",method:"post",headers:He({token:u,jwtToken:d,internalAuthTokenProvider:t,headers:f}),data:{seatmap:p}})}function r({token:u,jwtToken:d,seatmapId:p,seatmap:f,headers:l}){return e({url:`/seatmaps/${p}`,method:"put",headers:He({token:u,jwtToken:d,internalAuthTokenProvider:t,headers:l}),data:{seatmap:f}})}function s({token:u,jwtToken:d,seatmapId:p,headers:f}){return e({url:`/seatmaps/${p}`,method:"delete",headers:He({token:u,jwtToken:d,internalAuthTokenProvider:t,headers:f})})}function a({token:u,jwtToken:d,seatmapId:p,query:f={},headers:l}){return e.get(`/seatmaps/${p}/occupied-seats`,{params:f,headers:He({token:u,jwtToken:d,internalAuthTokenProvider:t,headers:l})})}return{all:n,get:c,getById:o,create:i,remove:s,update:r,getOccupiedSeats:a}}Sn.exports=Wy});var _n=m(($F,Rn)=>{var{authorizationHeaders:St}=h();function Jy({client:e,internalAuthTokenProvider:t}){function n({token:s,jwtToken:a,query:u={},headers:d}){return e.get("/segments-information",{params:u,headers:St({token:s,jwtToken:a,internalAuthTokenProvider:t,headers:d})})}function c({segmentInformationId:s,token:a,headers:u,jwtToken:d}){return e.get(`/segments-information/${s}`,{headers:St({token:a,jwtToken:d,internalAuthTokenProvider:t,headers:u})})}function o({jwtToken:s,token:a,segmentInformation:u,headers:d}){return e({url:"/segments-information",method:"post",headers:St({token:a,jwtToken:s,internalAuthTokenProvider:t,headers:d}),data:{segmentInformation:u}})}function i({jwtToken:s,segmentInformationId:a,token:u,headers:d}){return e({url:`/segments-information/${a}`,method:"delete",headers:St({token:u,jwtToken:s,internalAuthTokenProvider:t,headers:d})})}function r({jwtToken:s,token:a,segmentInformationId:u,segmentInformation:d,headers:p}){return e({url:`/segments-information/${u}`,method:"put",headers:St({token:a,jwtToken:s,internalAuthTokenProvider:t,headers:p}),data:{segmentInformation:d}})}return{all:n,get:c,create:o,update:r,remove:i}}Rn.exports=Jy});var Hn=m((xF,zn)=>{var{authorizationHeaders:hr}=h();function Xy({client:e,internalAuthTokenProvider:t}){function n({token:r,jwtToken:s,query:a={},headers:u}){return e({url:"/service-numbers",params:a,headers:hr({token:r,jwtToken:s,internalAuthTokenProvider:t,headers:u})})}function c({token:r,jwtToken:s,serviceNumber:a,headers:u}){return e({url:"/service-numbers",method:"post",headers:hr({token:r,jwtToken:s,internalAuthTokenProvider:t,headers:u}),data:{serviceNumber:a}})}function o({jwtToken:r,token:s,serviceNumberId:a,serviceNumber:u,headers:d}){return e({url:`/service-numbers/${a}`,method:"put",headers:hr({token:s,jwtToken:r,internalAuthTokenProvider:t,headers:d}),data:{serviceNumber:u}})}function i({token:r,serviceNumberId:s,jwtToken:a,headers:u}){return e({url:`/service-numbers/${s}`,method:"get",headers:hr({token:r,internalAuthTokenProvider:t,jwtToken:a,headers:u})})}return{all:n,create:c,update:o,get:i}}zn.exports=Xy});var jn=m((qF,Cn)=>{var{authorizationHeaders:Et}=h();function Gy({client:e,internalAuthTokenProvider:t}){function n({token:s,query:a={},headers:u}){return e.get("/service-types",{params:a,headers:Et({token:s,internalAuthTokenProvider:t,headers:u})})}function c({serviceTypeId:s,token:a,headers:u}){return e.get(`/service-types/${s}`,{headers:Et({token:a,internalAuthTokenProvider:t,headers:u})})}function o({jwtToken:s,token:a,serviceType:u,headers:d}){return e({url:"/service-types",method:"post",headers:Et({token:a,jwtToken:s,internalAuthTokenProvider:t,headers:d}),data:{serviceType:u}})}function i({jwtToken:s,serviceTypeId:a,token:u,headers:d}){return e({url:`/service-types/${a}`,method:"delete",headers:Et({token:u,jwtToken:s,internalAuthTokenProvider:t,headers:d})})}function r({jwtToken:s,token:a,serviceTypeId:u,serviceType:d,headers:p}){return e({url:`/service-types/${u}`,method:"put",headers:Et({token:a,jwtToken:s,internalAuthTokenProvider:t,headers:p}),data:{serviceType:d}})}return{all:n,get:c,create:o,update:r,remove:i}}Cn.exports=Gy});var Nn=m((wF,Dn)=>{var{authorizationHeaders:Zy}=h();function Qy({client:e,internalAuthTokenProvider:t}){function n({token:c,query:o={},headers:i}){return e.get("/ssrs",{params:o,headers:Zy({token:c,internalAuthTokenProvider:t,headers:i})})}return{all:n}}Dn.exports=Qy});var Bn=m((OF,Un)=>{var{authorizationHeaders:Rt}=h();function Yy({client:e,internalAuthTokenProvider:t}){function n({token:s,jwtToken:a,query:u={},headers:d}){return e({url:"/station-classes",method:"get",headers:Rt({token:s,jwtToken:a,internalAuthTokenProvider:t,headers:d}),params:u})}function c({token:s,jwtToken:a,stationClassId:u,query:d={},headers:p}){return e({url:`/station-classes/${u}`,method:"get",headers:Rt({token:s,jwtToken:a,internalAuthTokenProvider:t,headers:p}),params:d})}function o({token:s,jwtToken:a,stationClassId:u,data:d,headers:p}){return e({url:`/station-classes/${u}`,method:"put",headers:Rt({token:s,jwtToken:a,internalAuthTokenProvider:t,headers:p}),data:d})}function i({token:s,jwtToken:a,stationClassId:u,headers:d}){return e({url:`/station-classes/${u}`,method:"delete",headers:Rt({token:s,jwtToken:a,internalAuthTokenProvider:t,headers:d})})}function r({token:s,jwtToken:a,data:u,headers:d}){return e({url:"/station-classes",method:"post",headers:Rt({token:s,jwtToken:a,internalAuthTokenProvider:t,headers:d}),data:u})}return{all:n,get:c,update:o,remove:i,create:r}}Un.exports=Yy});var Mn=m((FF,Ln)=>{var{authorizationHeaders:vy}=h();function Py({client:e,internalAuthTokenProvider:t}){function n({token:c,query:o={},headers:i}){return e.get("/station-groups",{params:o,headers:vy({token:c,internalAuthTokenProvider:t,headers:i})})}return{all:n}}Ln.exports=Py});var Vn=m((SF,In)=>{var{authorizationHeaders:gr}=h();function Ty({client:e,internalAuthTokenProvider:t}){function n({token:r,id:s,headers:a}){return e.get(`/stations/${s}`,{headers:gr({token:r,internalAuthTokenProvider:t,headers:a})})}function c({token:r,query:s={},headers:a}){return e.get("/stations",{params:s,headers:gr({token:r,internalAuthTokenProvider:t,headers:a})})}function o({token:r,jwtToken:s,data:a,headers:u}){return e({url:"/stations",method:"post",headers:gr({token:r,jwtToken:s,internalAuthTokenProvider:t,headers:u}),data:{station:a}})}function i({token:r,jwtToken:s,stationId:a,station:u,headers:d}){return e({url:`/station/${a}`,method:"put",headers:gr({token:r,jwtToken:s,internalAuthTokenProvider:t,headers:d}),data:{station:u}})}return{get:n,all:c,create:o,update:i}}In.exports=Ty});var Wn=m((EF,Kn)=>{var{authorizationHeaders:ky}=h();function Ay({client:e,internalAuthTokenProvider:t}){function n({token:c,query:o={},headers:i}){return e({url:"/stations/provinces",params:o,headers:ky({token:c,internalAuthTokenProvider:t,headers:i})})}return{all:n}}Kn.exports=Ay});var Xn=m((RF,Jn)=>{var{authorizationHeaders:eb}=h();function tb({client:e,internalAuthTokenProvider:t}){function n({token:c,query:o={},headers:i}){return e.get("/stations/zones",{params:o,headers:eb({token:c,internalAuthTokenProvider:t,headers:i})})}return{get:n}}Jn.exports=tb});var Zn=m((_F,Gn)=>{var{authorizationHeaders:fe}=h();function rb({client:e,internalAuthTokenProvider:t}){function n({token:s,query:a={},headers:u}){return e.get("/taxes",{params:a,headers:fe({token:s,internalAuthTokenProvider:t,headers:u})})}function c({taxId:s,token:a,query:u={},headers:d}){return e.get(`/taxes/${s}`,{params:u,headers:fe({token:a,internalAuthTokenProvider:t,headers:d})})}function o({jwtToken:s,tax:a,token:u,headers:d}){return e({url:"/taxes",method:"post",headers:fe({token:u,jwtToken:s,internalAuthTokenProvider:t,headers:d}),data:{tax:a}})}function i({jwtToken:s,token:a,taxId:u,tax:d,headers:p}){return e({url:`/taxes/${u}`,method:"put",headers:fe({token:a,jwtToken:s,internalAuthTokenProvider:t,headers:p}),data:{tax:d}})}return{all:n,get:c,create:o,update:i,exceptions:{create({jwtToken:s,token:a,taxException:u,headers:d}){return e({url:"/taxes/exceptions",method:"post",headers:fe({token:a,jwtToken:s,internalAuthTokenProvider:t,headers:d}),data:{taxException:u}})},update({jwtToken:s,token:a,taxExceptionId:u,taxException:d,headers:p}){return e({url:`/taxes/exceptions/${u}`,method:"put",headers:fe({token:a,jwtToken:s,internalAuthTokenProvider:t,headers:p}),data:{taxException:d}})},get({jwtToken:s,token:a,taxExceptionId:u,headers:d}){return e({url:`/taxes/exceptions/${u}`,headers:fe({token:a,jwtToken:s,internalAuthTokenProvider:t,headers:d})})},all({jwtToken:s,token:a,query:u={},headers:d}){return e({url:"/taxes/exceptions",params:u,headers:fe({token:a,jwtToken:s,internalAuthTokenProvider:t,headers:d})})},delete({jwtToken:s,token:a,taxExceptionId:u,headers:d}){return e({url:`/taxes/exceptions/${u}`,method:"delete",headers:fe({token:a,jwtToken:s,internalAuthTokenProvider:t,headers:d})})}}}}Gn.exports=rb});var Yn=m((zF,Qn)=>{var{authorizationHeaders:yr}=h();function sb({client:e,internalAuthTokenProvider:t}){function n({token:r,jwtToken:s,query:a={},headers:u}){return e({url:"/traveller-card-providers",params:a,headers:yr({token:r,jwtToken:s,internalAuthTokenProvider:t,headers:u})})}function c({token:r,jwtToken:s,travellerCardProvider:a,headers:u}){return e({url:"/traveller-card-providers",method:"post",headers:yr({token:r,jwtToken:s,internalAuthTokenProvider:t,headers:u}),data:{travellerCardProvider:a}})}function o({jwtToken:r,token:s,travellerCardProviderId:a,travellerCardProvider:u,headers:d}){return e({url:`/traveller-card-providers/${a}`,method:"put",headers:yr({token:s,jwtToken:r,internalAuthTokenProvider:t,headers:d}),data:{travellerCardProvider:u}})}function i({token:r,travellerCardProviderId:s,jwtToken:a,headers:u}){return e({url:`/traveller-card-providers/${s}`,method:"get",headers:yr({token:r,internalAuthTokenProvider:t,jwtToken:a,headers:u})})}return{all:n,create:c,update:o,get:i}}Qn.exports=sb});var Pn=m((HF,vn)=>{var{authorizationHeaders:ab}=h();function ob({client:e,internalAuthTokenProvider:t}){function n({token:c,jwtToken:o,headers:i}){return e.get("/traveller-card-providers/types",{headers:ab({token:c,jwtToken:o,internalAuthTokenProvider:t,headers:i})})}return{all:n}}vn.exports=ob});var kn=m((CF,Tn)=>{var{authorizationHeaders:_t}=h();function nb({client:e,internalAuthTokenProvider:t}){function n({token:s,jwtToken:a,query:u={},headers:d}){return e({url:"/traveller-card-types",params:u,headers:_t({token:s,jwtToken:a,internalAuthTokenProvider:t,headers:d})})}function c({token:s,jwtToken:a,travellerCardType:u,headers:d}){return e({url:"/traveller-card-types",method:"post",headers:_t({token:s,jwtToken:a,internalAuthTokenProvider:t,headers:d}),data:{travellerCardType:u}})}function o({jwtToken:s,token:a,travellerCardTypeId:u,travellerCardType:d,headers:p}){return e({url:`/traveller-card-types/${u}`,method:"put",headers:_t({token:a,jwtToken:s,internalAuthTokenProvider:t,headers:p}),data:{travellerCardType:d}})}function i({token:s,travellerCardTypeId:a,jwtToken:u,headers:d}){return e({url:`/traveller-card-types/${a}`,method:"get",headers:_t({token:s,internalAuthTokenProvider:t,jwtToken:u,headers:d})})}function r({token:s,travellerCardTypeId:a,jwtToken:u,headers:d}){return e({url:`/traveller-card-types/${a}`,method:"delete",headers:_t({token:s,internalAuthTokenProvider:t,jwtToken:u,headers:d})})}return{all:n,create:c,update:o,get:i,remove:r}}Tn.exports=nb});var eu=m((jF,An)=>{var{authorizationHeaders:br}=h();function ub({client:e,internalAuthTokenProvider:t}){function n({token:r,jwtToken:s,query:a={},headers:u}){return e.get("/travel-routes",{params:a,headers:br({token:r,jwtToken:s,internalAuthTokenProvider:t,headers:u})})}function c({travelRouteId:r,jwtToken:s,token:a,headers:u}){return e.get(`/travel-routes/${r}`,{headers:br({token:a,jwtToken:s,internalAuthTokenProvider:t,headers:u})})}function o({jwtToken:r,token:s,travelRoute:a,headers:u}){return e({url:"/travel-routes",method:"post",headers:br({token:s,jwtToken:r,internalAuthTokenProvider:t,headers:u}),data:{travelRoute:a}})}function i({jwtToken:r,token:s,travelRouteId:a,travelRoute:u,headers:d}){return e({url:`/travel-routes/${a}`,method:"put",headers:br({token:s,jwtToken:r,internalAuthTokenProvider:t,headers:d}),data:{travelRoute:u}})}return{all:n,get:c,create:o,update:i}}An.exports=ub});var ru=m((DF,tu)=>{var{authorizationHeaders:cb}=h();function ib({client:e,internalAuthTokenProvider:t}){function n({token:c,jwtToken:o,headers:i}){return e.get("/vehicle-types",{headers:cb({token:c,jwtToken:o,internalAuthTokenProvider:t,headers:i})})}return{all:n}}tu.exports=ib});var au=m((NF,su)=>{var{authorizationHeaders:Ce}=h();function db({client:e,internalAuthTokenProvider:t}){function n({token:a,jwtToken:u,query:d={},headers:p}){return e.get("/vehicles",{params:d,headers:Ce({token:a,jwtToken:u,internalAuthTokenProvider:t,headers:p})})}function c({vehicleId:a,token:u,jwtToken:d,headers:p}){return e.get(`/vehicles/${a}`,{headers:Ce({token:u,jwtToken:d,internalAuthTokenProvider:t,headers:p})})}function o({jwtToken:a,token:u,vehicle:d,headers:p}){return e({url:"/vehicles",method:"post",headers:Ce({token:u,jwtToken:a,internalAuthTokenProvider:t,headers:p}),data:{vehicle:d}})}function i({jwtToken:a,vehicleId:u,token:d,headers:p}){return e({url:`/vehicles/${u}`,method:"delete",headers:Ce({token:d,jwtToken:a,internalAuthTokenProvider:t,headers:p})})}function r({jwtToken:a,token:u,vehicleId:d,vehicle:p,headers:f}){return e({url:`/vehicles/${d}`,method:"put",headers:Ce({token:u,jwtToken:a,internalAuthTokenProvider:t,headers:f}),data:{vehicle:p}})}return{all:n,get:c,create:o,update:r,remove:i,seatmaps:{create({jwtToken:a,token:u,vehicleId:d,seatmap:p,headers:f,newdesign:l}){return e({url:`/vehicles/${d}/seatmaps`,method:"post",headers:Ce({token:u,jwtToken:a,internalAuthTokenProvider:t,headers:f}),data:{seatmap:p,newdesign:l||!1}})},remove({jwtToken:a,vehicleId:u,seatMapId:d,token:p,headers:f,newdesign:l}){return e({url:`/vehicles/${u}/seatmaps/${d}`,method:"delete",headers:Ce({token:p,jwtToken:a,internalAuthTokenProvider:t,headers:f}),data:{newdesign:l||!1}})}}}}su.exports=db});var nu=m((UF,ou)=>{var{authorizationHeaders:zt}=h();function pb({client:e,internalAuthTokenProvider:t}){function n({token:s,query:a={},headers:u}){return e.get("/zone-price-overages",{params:a,headers:zt({token:s,internalAuthTokenProvider:t,headers:u})})}function c({zonePriceOverageId:s,token:a,headers:u}){return e.get(`/zone-price-overages/${s}`,{headers:zt({token:a,internalAuthTokenProvider:t,headers:u})})}function o({jwtToken:s,token:a,zonePriceOverages:u,headers:d}){return e({url:"/zone-price-overages",method:"post",headers:zt({token:a,jwtToken:s,internalAuthTokenProvider:t,headers:d}),data:{zonePriceOverages:u}})}function i({jwtToken:s,zonePriceOverageId:a,token:u,headers:d}){return e({url:`/zone-price-overages/${a}`,method:"delete",headers:zt({token:u,jwtToken:s,internalAuthTokenProvider:t,headers:d})})}function r({jwtToken:s,token:a,zonePriceOverageId:u,zonePriceOverages:d,headers:p}){return e({url:`/zone-price-overages/${u}`,method:"put",headers:zt({token:a,jwtToken:s,internalAuthTokenProvider:t,headers:p}),data:{zonePriceOverages:d}})}return{all:n,get:c,create:o,update:r,remove:i}}ou.exports=pb});var cu=m((BF,uu)=>{var{authorizationHeaders:Ge}=h();function fb({client:e,internalAuthTokenProvider:t}){function n({token:a,query:u={},headers:d}){return e.get("/zone-prices",{params:u,headers:Ge({token:a,internalAuthTokenProvider:t,headers:d})})}function c({zonePriceId:a,token:u,headers:d}){return e.get(`/zone-prices/${a}`,{headers:Ge({token:u,internalAuthTokenProvider:t,headers:d})})}function o({jwtToken:a,token:u,zonePrice:d,headers:p}){return e({url:"/zone-prices",method:"post",headers:Ge({token:u,jwtToken:a,internalAuthTokenProvider:t,headers:p}),data:{zonePrice:d}})}function i({jwtToken:a,zonePriceId:u,token:d,headers:p}){return e({url:`/zone-prices/${u}`,method:"delete",headers:Ge({token:d,jwtToken:a,internalAuthTokenProvider:t,headers:p})})}function r({jwtToken:a,token:u,zonePriceId:d,zonePrice:p,headers:f}){return e({url:`/zone-prices/${d}`,method:"put",headers:Ge({token:u,jwtToken:a,internalAuthTokenProvider:t,headers:f}),data:{zonePrice:p}})}function s({jwtToken:a,token:u,payload:d,headers:p}){return e({url:"/zone-prices-for-parcels",method:"post",headers:Ge({token:u,jwtToken:a,internalAuthTokenProvider:t,headers:p}),data:d})}return{all:n,get:c,create:o,update:r,remove:i,forParcels:s}}uu.exports=fb});var du=m((LF,iu)=>{var{authorizationHeaders:Ht}=h();function mb({client:e,internalAuthTokenProvider:t}){function n({token:s,jwtToken:a,query:u={},headers:d}){return e({url:"/regions",method:"get",headers:Ht({token:s,jwtToken:a,internalAuthTokenProvider:t,headers:d}),params:u})}function c({token:s,jwtToken:a,regionId:u,headers:d}){return e({url:`/regions/${u}`,method:"get",headers:Ht({token:s,jwtToken:a,internalAuthTokenProvider:t,headers:d})})}function o({token:s,jwtToken:a,regionId:u,data:d,headers:p}){return e({url:`/regions/${u}`,method:"put",headers:Ht({token:s,jwtToken:a,internalAuthTokenProvider:t,headers:p}),data:d})}function i({token:s,jwtToken:a,regionId:u,headers:d}){return e({url:`/regions/${u}`,method:"delete",headers:Ht({token:s,jwtToken:a,internalAuthTokenProvider:t,headers:d})})}function r({token:s,jwtToken:a,data:u,headers:d}){return e({url:"/regions",method:"post",headers:Ht({token:s,jwtToken:a,internalAuthTokenProvider:t,headers:d}),data:u})}return{all:n,get:c,update:o,remove:i,create:r}}iu.exports=mb});var fu=m((MF,pu)=>{var{authorizationHeaders:es}=h();function lb({client:e,internalAuthTokenProvider:t}){function n({token:i,jwtToken:r,query:s={},headers:a}){return e({url:"/trips",method:"get",params:s,headers:es({token:i,jwtToken:r,internalAuthTokenProvider:t,headers:a})})}function c({token:i,jwtToken:r,id:s,query:a={},headers:u}){return e({url:`/trip/${s}`,method:"get",params:a,headers:es({token:i,jwtToken:r,internalAuthTokenProvider:t,headers:u})})}function o({token:i,jwtToken:r,query:s={},headers:a}){return e({url:"/trips/pricing-simulation",method:"get",params:s,headers:es({token:i,jwtToken:r,internalAuthTokenProvider:t,headers:a})})}return{all:n,get:c,getPricingSimulation:o}}pu.exports=lb});var lu=m((IF,mu)=>{var{authorizationHeaders:hb}=h();function gb({client:e,internalAuthTokenProvider:t}){function n({token:c,jwtToken:o,data:i,headers:r}){return e({url:"/direct-trip-ids",method:"post",data:i,headers:hb({token:c,jwtToken:o,internalAuthTokenProvider:t,headers:r})})}return{create:n}}mu.exports=gb});var gu=m((VF,hu)=>{var{authorizationHeaders:yb}=h();function bb({client:e,internalAuthTokenProvider:t}){function n({token:c,jwtToken:o,routeId:i,query:r={},headers:s}){return e({url:`/segments-information-tables/${i}`,method:"get",params:r,headers:yb({token:c,jwtToken:o,internalAuthTokenProvider:t,headers:s})})}return{get:n}}hu.exports=bb});var bu=m((KF,yu)=>{function $b({client:e}){function t(){return e.get("/api-docs-v2",{})}return{get:t}}yu.exports=$b});var xu=m((WF,$u)=>{function xb({client:e}){function t({headers:n}={}){return e({url:"/healthcheck",method:"get",headers:n||{}})}return{get:t}}$u.exports=xb});var wu=m((JF,qu)=>{function qb({client:e}){function t({headers:n}={}){return e({url:"/info",headers:n||{}})}return{get:t}}qu.exports=qb});var Fu=m((XF,Ou)=>{var{authorizationHeaders:wb}=h();function Ob({client:e,internalAuthTokenProvider:t}){function n({token:c,query:o={},headers:i}){return e({url:"/paths",params:o,headers:wb({token:c,internalAuthTokenProvider:t,headers:i})})}return{all:n}}Ou.exports=Ob});var Eu=m((GF,Su)=>{var{authorizationHeaders:Fb}=h();function Sb({client:e,internalAuthTokenProvider:t}){function n({token:c,jwtToken:o,routeId:i,productId:r,headers:s}){return e({url:`/coltrane/routes/${i}/merged-fare-tables/${r}`,headers:Fb({token:c,jwtToken:o,internalAuthTokenProvider:t,headers:s})})}return{get:n}}Su.exports=Sb});var _u=m((ZF,Ru)=>{var{authorizationHeaders:$r}=h();function Eb({client:e,internalAuthTokenProvider:t}){function n({jwtToken:r,accountId:s,headers:a}){return e({url:`/accounts/${s}`,headers:$r({jwtToken:r,internalAuthTokenProvider:t,headers:a})})}return{get:n,defaultUsers:{create({token:r,jwtToken:s,accountId:a,data:u,headers:d}){return e({url:`/accounts/${a}/default-users`,method:"post",headers:$r({token:r,jwtToken:s,internalAuthTokenProvider:t,headers:d}),data:u})}},configurationReplication:{create({token:r,jwtToken:s,accountId:a,query:u,headers:d}){return e({url:`/accounts/${a}/configuration-replication`,method:"post",headers:$r({token:r,jwtToken:s,internalAuthTokenProvider:t,headers:d}),params:u})}},sessionRecordingSettings:{update({token:r,jwtToken:s,accountId:a,query:u,data:d,headers:p}){return e({url:`/accounts/${a}/session-recording-settings`,method:"put",headers:$r({token:r,jwtToken:s,internalAuthTokenProvider:t,headers:p}),params:u,data:d})}}}}Ru.exports=Eb});var Hu=m((QF,zu)=>{var{authorizationHeaders:ts}=h();function Rb({client:e,internalAuthTokenProvider:t}){function n({token:i,jwtToken:r,agency:s,headers:a}){return e({url:"/agencies",method:"post",headers:ts({token:i,jwtToken:r,internalAuthTokenProvider:t,headers:a}),data:{agency:s}})}function c({token:i,jwtToken:r,agencyId:s,agency:a,headers:u}){return e({url:`/agencies/${s}`,method:"put",headers:ts({token:i,jwtToken:r,internalAuthTokenProvider:t,headers:u}),data:{agency:a}})}function o({token:i,jwtToken:r,agencyId:s,data:a,headers:u}){return e({url:`/agencies/${s}/credit-limit`,method:"put",headers:ts({token:i,jwtToken:r,internalAuthTokenProvider:t,headers:u}),data:a})}return{create:n,update:c,putCreditLimit:o}}zu.exports=Rb});var ju=m((YF,Cu)=>{var{authorizationHeaders:Ct}=h();function _b({client:e,internalAuthTokenProvider:t}){function n({token:s,jwtToken:a,query:u={},headers:d}){return e.get("/agency-types",{params:u,headers:Ct({token:s,jwtToken:a,internalAuthTokenProvider:t,headers:d})})}function c({token:s,jwtToken:a,agencyTypeId:u,headers:d}){return e({url:`/agency-types/${u}`,headers:Ct({token:s,jwtToken:a,internalAuthTokenProvider:t,headers:d})})}function o({token:s,jwtToken:a,agencyType:u,headers:d}){return e({url:"/agency-types",method:"post",headers:Ct({token:s,jwtToken:a,internalAuthTokenProvider:t,headers:d}),data:{agencyType:u}})}function i({token:s,jwtToken:a,agencyTypeId:u,agencyType:d,headers:p}){return e({url:`/agency-types/${u}`,method:"put",headers:Ct({token:s,jwtToken:a,internalAuthTokenProvider:t,headers:p}),data:{agencyType:d}})}function r({token:s,jwtToken:a,agencyTypeId:u,headers:d}){return e({url:`/agency-types/${u}`,method:"delete",headers:Ct({token:s,jwtToken:a,internalAuthTokenProvider:t,headers:d})})}return{all:n,get:c,create:o,update:i,remove:r}}Cu.exports=_b});var Nu=m((vF,Du)=>{var{authorizationHeaders:jt}=h();function zb({client:e,internalAuthTokenProvider:t}){function n({token:s,jwtToken:a,query:u={},headers:d}){return e.get("/authorized-external-messaging",{params:u,headers:jt({token:s,jwtToken:a,internalAuthTokenProvider:t,headers:d})})}function c({token:s,jwtToken:a,authorizedExternalMessagingId:u,headers:d}){return e({url:`/authorized-external-messaging/${u}`,headers:jt({token:s,jwtToken:a,internalAuthTokenProvider:t,headers:d})})}function o({token:s,jwtToken:a,authorizedExternalMessaging:u,headers:d}){return e({url:"/authorized-external-messaging",method:"post",headers:jt({token:s,jwtToken:a,internalAuthTokenProvider:t,headers:d}),data:{authorizedExternalMessaging:u}})}function i({token:s,jwtToken:a,authorizedExternalMessagingId:u,authorizedExternalMessaging:d,headers:p}){return e({url:`/authorized-external-messaging/${u}`,method:"put",headers:jt({token:s,jwtToken:a,internalAuthTokenProvider:t,headers:p}),data:{authorizedExternalMessaging:d}})}function r({token:s,jwtToken:a,authorizedExternalMessagingId:u,headers:d}){return e({url:`/authorized-external-messaging/${u}`,method:"delete",headers:jt({token:s,jwtToken:a,internalAuthTokenProvider:t,headers:d})})}return{all:n,get:c,create:o,update:i,remove:r}}Du.exports=zb});var Bu=m((PF,Uu)=>{var{authorizationHeaders:Hb}=h();function Cb({client:e,internalAuthTokenProvider:t}){function n({token:c,jwtToken:o,providerId:i,folder:r,itemId:s,headers:a}){return e({url:`/audit-records/${i}/${r}/${s}`,headers:Hb({token:c,jwtToken:o,internalAuthTokenProvider:t,headers:a})})}return{get:n}}Uu.exports=Cb});var Mu=m((TF,Lu)=>{var{authorizationHeaders:jb}=h();function Db({client:e,internalAuthTokenProvider:t}){function n({token:c,jwtToken:o,headers:i}){return e.get("/application",{headers:jb({token:c,jwtToken:o,internalAuthTokenProvider:t,headers:i})})}return{get:n}}Lu.exports=Db});var Ku=m((kF,Vu)=>{var{authorizationHeaders:Iu}=h();function Nb({client:e,internalAuthTokenProvider:t}){function n({token:o,id:i,jwtToken:r,headers:s}){return e.get(`/applications/${i}`,{headers:Iu({token:o,jwtToken:r,internalAuthTokenProvider:t,headers:s})})}function c({token:o,appName:i,jwtToken:r,headers:s}){return e.get(`/applications/name/${i}`,{headers:Iu({token:o,jwtToken:r,internalAuthTokenProvider:t,headers:s})})}return{get:n,getByName:c}}Vu.exports=Nb});var Ju=m((AF,Wu)=>{var{authorizationHeaders:Dt}=h();function Ub({client:e,internalAuthTokenProvider:t}){function n({token:s,providerId:a,jwtToken:u,query:d={},headers:p}){return e.get(`/application-settings/${a}`,{headers:Dt({token:s,jwtToken:u,internalAuthTokenProvider:t,headers:p}),params:d})}function c({jwtToken:s,token:a,id:u,application:d,headers:p}){return e({url:`/application-settings/${u}`,method:"put",headers:Dt({token:a,jwtToken:s,internalAuthTokenProvider:t,headers:p}),data:{application:d}})}function o({jwtToken:s,token:a,id:u,headers:d}){return e({url:`/application-settings/${u}`,method:"delete",headers:Dt({token:a,jwtToken:s,internalAuthTokenProvider:t,headers:d})})}function i({jwtToken:s,token:a,id:u,headers:d}){return e({url:`/application-settings/${u}/keys`,method:"post",headers:Dt({token:a,jwtToken:s,internalAuthTokenProvider:t,headers:d})})}function r({jwtToken:s,token:a,application:u,headers:d}){return e({url:"/application-settings",method:"post",headers:Dt({token:a,jwtToken:s,internalAuthTokenProvider:t,headers:d}),data:{application:u}})}return{get:n,update:c,remove:o,regenerateKeys:i,create:r}}Wu.exports=Ub});var Xu=m((xr,Nt)=>{(function(e){var t=typeof xr=="object"&&xr,n=typeof Nt=="object"&&Nt&&Nt.exports==t&&Nt,c=typeof global=="object"&&global;(c.global===c||c.window===c)&&(e=c);var o=function(f){this.message=f};o.prototype=new Error,o.prototype.name="InvalidCharacterError";var i=function(f){throw new o(f)},r="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",s=/[\t\n\f\r ]/g,a=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))&&i("Invalid character: the string to be decoded is not correctly encoded.");for(var q=0,y,b,g="",x=-1;++x<l;)b=r.indexOf(f.charAt(x)),y=q%4?y*64+b:b,q++%4&&(g+=String.fromCharCode(255&y>>(-2*q&6)));return g},u=function(f){f=String(f),/[^\0-\xFF]/.test(f)&&i("The string to be encoded contains characters outside of the Latin1 range.");for(var l=f.length%3,q="",y=-1,b,g,x,w,D=f.length-l;++y<D;)b=f.charCodeAt(y)<<16,g=f.charCodeAt(++y)<<8,x=f.charCodeAt(++y),w=b+g+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(y)<<8,g=f.charCodeAt(++y),w=b+g,q+=r.charAt(w>>10)+r.charAt(w>>4&63)+r.charAt(w<<2&63)+"="):l==1&&(w=f.charCodeAt(y),q+=r.charAt(w>>2)+r.charAt(w<<4&63)+"=="),q},d={encode:u,decode:a,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})(xr)});var Yu=m((eS,Qu)=>{function Gu(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var c=Object.getOwnPropertySymbols(e);t&&(c=c.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),n.push.apply(n,c)}return n}function Zu(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?Gu(Object(n),!0).forEach(function(c){Bb(e,c,n[c])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Gu(Object(n)).forEach(function(c){Object.defineProperty(e,c,Object.getOwnPropertyDescriptor(n,c))})}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 c=n.call(e,t||"default");if(typeof c!="object")return c;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}var Ib=Xu(),{authorizationHeaders:je}=h();function Vb({client:e,internalAuthTokenProvider:t}){function n({customerId:d,customer:p,token:f,jwtToken:l,headers:q}){return e({url:`/customers/${d}`,method:"put",headers:je({token:f,jwtToken:l,internalAuthTokenProvider:t,headers:q}),data:p})}function c({token:d,jwtToken:p,query:f={},headers:l,providerId:q}){let y=q?Zu(Zu({},f),{},{providerId:q}):f;return e({url:"/customers",params:y,headers:je({token:d,jwtToken:p,internalAuthTokenProvider:t,headers:l})})}function o({customerId:d,token:p,jwtToken:f,headers:l}){return e({url:`/customers/${d}`,headers:je({token:p,jwtToken:f,internalAuthTokenProvider:t,headers:l})})}function i({customer:d,token:p,jwtToken:f,query:l,headers:q}){return e({url:"/customer",method:"post",headers:je({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 ${Ib.encode(`${d}:${p}`)}`},y={};return y["x-api-key"]=f,e({url:"/customers",method:"post",params:y,headers:q,data:{}})}function s({service:d,ticket:p,token:f,headers:l}){return e({url:"/customers/cas",headers:je({token:f,internalAuthTokenProvider:t,headers:l}),method:"post",data:{service:d,ticket:p}})}function a({customerId:d,token:p,jwtToken:f,data:l,query:q,headers:y}){return e({url:`/customers/${d}`,method:"patch",params:q,headers:je({token:p,jwtToken:f,internalAuthTokenProvider:t,headers:y}),data:l})}function u({destinationCustomerId:d,sourceCustomerIds:p,jwtToken:f,token:l}){return e({url:"/customers/merge",method:"post",headers:je({token:l,jwtToken:f,internalAuthTokenProvider:t}),data:{destinationCustomerId:d,sourceCustomerIds:p}})}return{put:n,all:c,get:o,create:i,signIn:r,signInCas:s,update:a,merge:u}}Qu.exports=Vb});var Tu=m((tS,Pu)=>{var{authorizationHeaders:vu}=h();function Kb({client:e,internalAuthTokenProvider:t}){function n({token:o,jwtToken:i,headers:r}){return e({url:"/control-classes-settings",headers:vu({token:o,jwtToken:i,internalAuthTokenProvider:t,headers:r})})}function c({token:o,jwtToken:i,controlClassesSettings:r,headers:s}){return e({url:"/control-classes-settings",method:"put",headers:vu({token:o,jwtToken:i,internalAuthTokenProvider:t,headers:s}),data:r})}return{get:n,put:c}}Pu.exports=Kb});var Au=m((rS,ku)=>{var{authorizationHeaders:Wb}=h();function Jb({client:e,internalAuthTokenProvider:t}){function n({token:c,userId:o,query:i={},headers:r}){return e.get(`/users/${o}/current-shift`,{headers:Wb({token:c,internalAuthTokenProvider:t,headers:r}),params:i})}return{get:n}}ku.exports=Jb});var tc=m((sS,ec)=>{function Xb({client:e}){function t(){return e.get("/api-docs-v2",{})}return{get:t}}ec.exports=Xb});var sc=m((aS,rc)=>{var{authorizationHeaders:rs}=h();function Gb({client:e,internalAuthTokenProvider:t}){function n({token:i,query:r={},headers:s}){return e({params:r,url:"/domains",headers:rs({token:i,internalAuthTokenProvider:t,headers:s})})}function c({data:i,token:r,jwtToken:s,headers:a}){return e({url:"/domains",method:"post",headers:rs({token:r,jwtToken:s,internalAuthTokenProvider:t,headers:a}),data:i})}function o({domain:i,token:r,jwtToken:s,headers:a}){return e({url:`/domains/${i}`,method:"delete",headers:rs({token:r,jwtToken:s,internalAuthTokenProvider:t,headers:a})})}return{all:n,create:c,remove:o}}rc.exports=Gb});var nc=m((oS,oc)=>{function ac(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var c=Object.getOwnPropertySymbols(e);t&&(c=c.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),n.push.apply(n,c)}return n}function qr(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?ac(Object(n),!0).forEach(function(c){Zb(e,c,n[c])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):ac(Object(n)).forEach(function(c){Object.defineProperty(e,c,Object.getOwnPropertyDescriptor(n,c))})}return e}function Zb(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=Yb(e,"string");return typeof t=="symbol"?t:t+""}function Yb(e,t){if(typeof e!="object"||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var c=n.call(e,t||"default");if(typeof c!="object")return c;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}var{authorizationHeaders:ne}=h();function vb({client:e,internalAuthTokenProvider:t}){function n({token:u,jwtToken:d,dynamicFormId:p,query:f={},headers:l,providerId:q}){let y=q?qr(qr({},f),{},{providerId:q}):f;return e({url:`/dynamic-forms/${p}`,params:y,headers:ne({token:u,jwtToken:d,internalAuthTokenProvider:t,headers:l})})}function c({token:u,jwtToken:d,dynamicFormId:p,query:f={},headers:l,providerId:q}){let y=q?qr(qr({},f),{},{providerId:q}):f;return e({url:`/renderable-dynamic-forms/${p}`,params:y,headers:ne({token:u,jwtToken:d,internalAuthTokenProvider:t,headers:l})})}function o({token:u,jwtToken:d,query:p={},headers:f}){return e({url:"/dynamic-forms",params:p,headers:ne({token:u,jwtToken:d,internalAuthTokenProvider:t,headers:f})})}function i({token:u,jwtToken:d,query:p={},data:f,headers:l}){return e({url:"/dynamic-forms",method:"post",headers:ne({token:u,jwtToken:d,internalAuthTokenProvider:t,headers:l}),params:p,data:f})}function r({token:u,jwtToken:d,dynamicFormId:p,data:f,headers:l}){return e({url:`/dynamic-forms/${p}`,method:"put",headers:ne({token:u,jwtToken:d,internalAuthTokenProvider:t,headers:l}),data:f})}function s({dynamicFormId:u,token:d,jwtToken:p,headers:f}){return e({url:`/dynamic-forms/${u}`,method:"delete",headers:ne({token:d,jwtToken:p,internalAuthTokenProvider:t,headers:f})})}return{get:n,getRenderable:c,all:o,create:i,update:r,remove:s,fields:{get({token:u,jwtToken:d,dynamicFormFieldId:p,headers:f}={}){return e({url:`/dynamic-forms/fields/${p}`,headers:ne({token:u,jwtToken:d,internalAuthTokenProvider:t,headers:f})})},all({token:u,jwtToken:d,query:p={},headers:f}){return e({url:"/dynamic-forms/fields",params:p,headers:ne({token:u,jwtToken:d,internalAuthTokenProvider:t,headers:f})})},create({jwtToken:u,token:d,data:p,headers:f}){return e({url:"/dynamic-forms/fields",method:"post",headers:ne({token:d,jwtToken:u,internalAuthTokenProvider:t,headers:f}),data:p})},update({jwtToken:u,token:d,dynamicFormFieldId:p,data:f,headers:l}){return e({url:`/dynamic-forms/fields/${p}`,method:"put",headers:ne({token:d,jwtToken:u,internalAuthTokenProvider:t,headers:l}),data:f})},remove({dynamicFormFieldId:u,token:d,jwtToken:p,headers:f}){return e({url:`/dynamic-forms/fields/${u}`,method:"delete",headers:ne({token:d,jwtToken:p,internalAuthTokenProvider:t,headers:f})})}}}}oc.exports=vb});var cc=m((nS,uc)=>{var{authorizationHeaders:Ut}=h();function Pb({client:e,internalAuthTokenProvider:t}){function n({token:s,jwtToken:a,qrMappingId:u,headers:d}){return e({url:`/qr-mappings/${u}`,headers:Ut({token:s,jwtToken:a,internalAuthTokenProvider:t,headers:d})})}function c({token:s,jwtToken:a,query:u={},headers:d}){return e({url:"/qr-mappings",params:u,headers:Ut({token:s,jwtToken:a,internalAuthTokenProvider:t,headers:d})})}function o({token:s,jwtToken:a,data:u,headers:d}){return e({url:"/qr-mappings",method:"post",headers:Ut({token:s,jwtToken:a,internalAuthTokenProvider:t,headers:d}),data:u})}function i({token:s,jwtToken:a,qrMappingId:u,data:d,headers:p}){return e({url:`/qr-mappings/${u}`,method:"put",headers:Ut({token:s,jwtToken:a,internalAuthTokenProvider:t,headers:p}),data:d})}function r({qrMappingId:s,token:a,jwtToken:u,headers:d}){return e({url:`/qr-mappings/${s}`,method:"delete",headers:Ut({token:a,jwtToken:u,internalAuthTokenProvider:t,headers:d})})}return{get:n,all:c,create:o,update:i,remove:r}}uc.exports=Pb});var dc=m((uS,ic)=>{var{authorizationHeaders:Bt}=h();function Tb({client:e,internalAuthTokenProvider:t}){function n({token:s,jwtToken:a,query:u={},headers:d}){return e({params:u,url:"/email-settings",headers:Bt({token:s,jwtToken:a,internalAuthTokenProvider:t,headers:d})})}function c({token:s,jwtToken:a,email:u,query:d={},headers:p}){return e({params:d,url:`/email-settings/${u}`,headers:Bt({token:s,jwtToken:a,internalAuthTokenProvider:t,headers:p})})}function o({data:s,token:a,jwtToken:u,headers:d}){return e({url:"/email-settings",method:"post",headers:Bt({token:a,jwtToken:u,internalAuthTokenProvider:t,headers:d}),data:s})}function i({token:s,jwtToken:a,email:u,data:d,headers:p}){return e({url:`/email-settings/${u}`,method:"put",headers:Bt({token:s,jwtToken:a,internalAuthTokenProvider:t,headers:p}),data:d})}function r({email:s,token:a,jwtToken:u,headers:d}){return e({url:`/email-settings/${s}`,method:"delete",headers:Bt({token:a,jwtToken:u,internalAuthTokenProvider:t,headers:d})})}return{all:n,getByEmail:c,create:o,update:i,remove:r}}ic.exports=Tb});var mc=m((cS,fc)=>{var{authorizationHeaders:pc}=h();function kb({client:e,internalAuthTokenProvider:t}){function n({token:o,jwtToken:i,headers:r}){return e({url:"/email-template-settings",headers:pc({token:o,jwtToken:i,internalAuthTokenProvider:t,headers:r})})}function c({token:o,jwtToken:i,emailTemplateSettings:r,headers:s}){return e({url:"/email-template-settings",method:"put",headers:pc({token:o,jwtToken:i,internalAuthTokenProvider:t,headers:s}),data:{emailTemplateSettings:r}})}return{get:n,update:c}}fc.exports=kb});var gc=m((iS,hc)=>{var{authorizationHeaders:lc}=h();function Ab({client:e,internalAuthTokenProvider:t}){function n({token:o,jwtToken:i,headers:r}){return e({url:"/sms-template-settings",headers:lc({token:o,jwtToken:i,internalAuthTokenProvider:t,headers:r})})}function c({token:o,jwtToken:i,smsTemplateSettings:r,headers:s}){return e({url:"/sms-template-settings",method:"put",headers:lc({token:o,jwtToken:i,internalAuthTokenProvider:t,headers:s}),data:{smsTemplateSettings:r}})}return{get:n,update:c}}hc.exports=Ab});var bc=m((dS,yc)=>{var{authorizationHeaders:xe}=h();function e$({client:e,internalAuthTokenProvider:t}){function n({token:d,jwtToken:p,headers:f}){return e({url:"/email-templates/types",headers:xe({token:d,jwtToken:p,internalAuthTokenProvider:t,headers:f})})}function c({token:d,jwtToken:p,query:f={},headers:l}){return e({url:"/email-templates",params:f,headers:xe({token:d,jwtToken:p,internalAuthTokenProvider:t,headers:l})})}function o({token:d,jwtToken:p,emailTemplateId:f,query:l={},headers:q}){return e({url:`/email-templates/${f}`,params:l,headers:xe({token:d,jwtToken:p,internalAuthTokenProvider:t,headers:q})})}function i({token:d,jwtToken:p,data:f,headers:l}){return e({url:"/email-templates",method:"post",headers:xe({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:xe({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:xe({token:d,jwtToken:p,internalAuthTokenProvider:t,headers:l})})}function a({token:d,jwtToken:p,mainTemplateId:f,agencyId:l,headers:q}){return e({url:"/sub-email-templates",method:"post",headers:xe({token:d,jwtToken:p,internalAuthTokenProvider:t,headers:q}),data:{mainTemplateId:f,agencyId:l}})}return{getTypes:n,all:c,get:o,create:i,update:r,remove:s,createSub:a,versions:{update({token:d,jwtToken:p,emailTemplateId:f,versionId:l,query:q={},headers:y}){return e({url:`/email-templates/${f}/versions/${l}`,method:"put",headers:xe({token:d,jwtToken:p,internalAuthTokenProvider:t,headers:y}),params:q})}}}}yc.exports=e$});var xc=m((pS,$c)=>{var{authorizationHeaders:qe}=h();function t$({client:e,internalAuthTokenProvider:t}){function n({token:d,jwtToken:p,headers:f}){return e({url:"/sms-templates/types",headers:qe({token:d,jwtToken:p,internalAuthTokenProvider:t,headers:f})})}function c({token:d,jwtToken:p,query:f={},headers:l}){return e({url:"/sms-templates",params:f,headers:qe({token:d,jwtToken:p,internalAuthTokenProvider:t,headers:l})})}function o({token:d,jwtToken:p,smsTemplateId:f,query:l={},headers:q}){return e({url:`/sms-templates/${f}`,params:l,headers:qe({token:d,jwtToken:p,internalAuthTokenProvider:t,headers:q})})}function i({token:d,jwtToken:p,data:f,headers:l}){return e({url:"/sms-templates",method:"post",headers:qe({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:qe({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:qe({token:d,jwtToken:p,internalAuthTokenProvider:t,headers:l})})}function a({token:d,jwtToken:p,mainTemplateId:f,agencyId:l,headers:q}){return e({url:"/sub-sms-templates",method:"post",headers:qe({token:d,jwtToken:p,internalAuthTokenProvider:t,headers:q}),data:{mainTemplateId:f,agencyId:l}})}return{getTypes:n,all:c,get:o,create:i,update:r,remove:s,createSub:a,versions:{update({token:d,jwtToken:p,smsTemplateId:f,versionId:l,query:q={},headers:y}){return e({url:`/sms-templates/${f}/versions/${l}`,method:"put",headers:qe({token:d,jwtToken:p,internalAuthTokenProvider:t,headers:y}),params:q})}}}}$c.exports=t$});var Oc=m((fS,wc)=>{var{authorizationHeaders:qc}=h();function r$({client:e,internalAuthTokenProvider:t}){function n({token:o,jwtToken:i,isoCode:r,query:s={},headers:a}){return e({params:s,url:`/exchange-rates/${r}`,headers:qc({token:o,jwtToken:i,internalAuthTokenProvider:t,headers:a})})}function c({data:o,token:i,jwtToken:r,headers:s}){return e({url:"/exchange-rates",method:"post",headers:qc({token:i,jwtToken:r,internalAuthTokenProvider:t,headers:s}),data:o})}return{allByIsoCode:n,create:c}}wc.exports=r$});var Ec=m((mS,Sc)=>{var{authorizationHeaders:Fc}=h();function s$({client:e,internalAuthTokenProvider:t}){function n({data:o,token:i,jwtToken:r,headers:s}){return e({url:"/exchange-receipt-settings",method:"put",headers:Fc({token:i,jwtToken:r,internalAuthTokenProvider:t,headers:s}),data:o})}function c({token:o,jwtToken:i,headers:r}){return e({url:"/exchange-receipt-settings",method:"get",headers:Fc({token:o,jwtToken:i,internalAuthTokenProvider:t,headers:r})})}return{update:n,get:c}}Sc.exports=s$});var _c=m((lS,Rc)=>{var{authorizationHeaders:Lt}=h();function a$({client:e,internalAuthTokenProvider:t}){function n({data:s,token:a,jwtToken:u,headers:d}){return e({url:"/external-customers/ado",method:"post",headers:Lt({token:a,jwtToken:u,internalAuthTokenProvider:t,headers:d}),data:s})}function c({data:s,token:a,jwtToken:u,headers:d}){return e({url:"/external-customers/ado/confirmation",method:"post",headers:Lt({token:a,jwtToken:u,internalAuthTokenProvider:t,headers:d}),data:s})}function o({data:s,token:a,jwtToken:u,headers:d}){return e({url:"/external-customers/ado/confirmation/resend",method:"post",headers:Lt({token:a,jwtToken:u,internalAuthTokenProvider:t,headers:d}),data:s})}function i({id:s,data:a,token:u,jwtToken:d,headers:p}){return e({url:`/external-customers/ado/${encodeURIComponent(s)}`,method:"put",headers:Lt({token:u,jwtToken:d,internalAuthTokenProvider:t,headers:p}),data:a})}return{saldoMax:{get:({token:s,jwtToken:a,query:u,headers:d})=>e.get("/external-customers/ado",{params:u,headers:Lt({token:s,jwtToken:a,internalAuthTokenProvider:t,headers:d})}),create:n,update:i,confirmation:{create:c,resend:{create:o}}},registerSaldoMax:n}}Rc.exports=a$});var Cc=m((hS,Hc)=>{var{authorizationHeaders:zc}=h();function o$({client:e,internalAuthTokenProvider:t}){function n({token:o,jwtToken:i,query:r,headers:s}){return e({url:"/goal-settings",params:r,headers:zc({token:o,jwtToken:i,internalAuthTokenProvider:t,headers:s})})}function c({jwtToken:o,token:i,goalSettings:r,headers:s}){return e({url:"/goal-settings",method:"put",headers:zc({token:i,jwtToken:o,internalAuthTokenProvider:t,headers:s}),data:{goalSettings:r}})}return{get:n,update:c}}Hc.exports=o$});var Dc=m((gS,jc)=>{var{authorizationHeaders:wr}=h();function n$({client:e,internalAuthTokenProvider:t}){function n({token:r,jwtToken:s,query:a={},headers:u}){return e({params:a,url:"/images",headers:wr({token:r,jwtToken:s,internalAuthTokenProvider:t,headers:u})})}function c({token:r,jwtToken:s,query:a={},headers:u,imageId:d}){return e({params:a,url:`/images/${d}`,headers:wr({token:r,jwtToken:s,internalAuthTokenProvider:t,headers:u})})}function o({jwtToken:r,token:s,image:a,headers:u}){return e({url:"/images",method:"post",headers:wr({token:s,jwtToken:r,internalAuthTokenProvider:t,headers:u}),data:{image:a}})}function i({imageId:r,token:s,jwtToken:a,headers:u}){return e({url:`/images/${r}`,method:"delete",headers:wr({token:s,jwtToken:a,internalAuthTokenProvider:t,headers:u})})}return{all:n,get:c,create:o,remove:i}}jc.exports=n$});var Uc=m((yS,Nc)=>{var{authorizationHeaders:me}=h();function u$({client:e,internalAuthTokenProvider:t}){return{invitations:{all({token:r,jwtToken:s,query:a={},headers:u}){return e({url:"/interline/invitations",params:a,headers:me({token:r,jwtToken:s,internalAuthTokenProvider:t,headers:u})})},get({token:r,invitationId:s,headers:a}){return e.get(`/interline/invitations/${s}`,{headers:me({token:r,internalAuthTokenProvider:t,headers:a})})},create({data:r,token:s,jwtToken:a,headers:u}){return e({url:"/interline/invitations",method:"post",headers:me({token:s,jwtToken:a,internalAuthTokenProvider:t,headers:u}),data:r})},update({invitationId:r,data:s,token:a,jwtToken:u,headers:d}){return e({url:`/interline/invitations/${r}`,method:"put",headers:me({token:a,jwtToken:u,internalAuthTokenProvider:t,headers:d}),data:s})}},consumers:{all({token:r,jwtToken:s,query:a={},headers:u}){return e({url:"/interline/consumers",params:a,headers:me({token:r,jwtToken:s,internalAuthTokenProvider:t,headers:u})})}},providers:{all({token:r,jwtToken:s,query:a={},headers:u}){return e({url:"/interline/providers",params:a,headers:me({token:r,jwtToken:s,internalAuthTokenProvider:t,headers:u})})}},network:{get({token:r,jwtToken:s,interlineId:a,headers:u}){return e.get(`/interline/${a}/network`,{headers:me({token:r,jwtToken:s,internalAuthTokenProvider:t,headers:u})})},update({interlineId:r,data:s,token:a,jwtToken:u,headers:d}){return e({url:`/interline/${r}/network`,method:"put",headers:me({token:a,jwtToken:u,internalAuthTokenProvider:t,headers:d}),data:s})}},remove({interlineId:r,token:s,jwtToken:a,headers:u}){return e({url:`/interline/${r}`,method:"delete",headers:me({token:s,jwtToken:a,internalAuthTokenProvider:t,headers:u})})}}}Nc.exports=u$});var Lc=m((bS,Bc)=>{var{authorizationHeaders:ce}=h();function c$({client:e,internalAuthTokenProvider:t}){function n({token:a,context:u,query:d={},headers:p}){let f=Object.assign({},d,{context:u});return e({url:"lexicons/buscompany",params:f,headers:ce({token:a,internalAuthTokenProvider:t,headers:p})})}function c({token:a,jwtToken:u,lexiconEntries:d,headers:p}){return e({url:"/lexicons",method:"post",headers:ce({token:a,jwtToken:u,internalAuthTokenProvider:t,headers:p}),data:{entries:d}})}function o({token:a,jwtToken:u,entries:d,headers:p}){return e({url:"/lexicons",method:"put",headers:ce({token:a,jwtToken:u,internalAuthTokenProvider:t,headers:p}),data:{entries:d}})}function i({token:a,jwtToken:u,updates:d,headers:p}){return e({url:"/lexicons",method:"patch",headers:ce({token:a,jwtToken:u,internalAuthTokenProvider:t,headers:p}),data:{updates:d}})}function r({token:a,jwtToken:u,headers:d,lang:p,txt:f}){return e({url:`/lexicons/${encodeURIComponent(p)}/content`,params:{txt:f},headers:ce({token:a,jwtToken:u,internalAuthTokenProvider:t,headers:d})})}return{all:n,create:c,createOrUpdateMany:o,updateMany:i,getByText:r,suggestions:{list({token:a,jwtToken:u,headers:d,params:p={}}){return e({url:"/lexicons/suggestions",params:p,headers:ce({token:a,jwtToken:u,internalAuthTokenProvider:t,headers:d})})},getById({token:a,jwtToken:u,headers:d,suggestionId:p,params:f={}}){return e({url:`/lexicons/suggestions/${p}`,params:f,headers:ce({token:a,jwtToken:u,internalAuthTokenProvider:t,headers:d})})},update({token:a,jwtToken:u,headers:d,suggestionId:p,data:f,superUserId:l,superUserHash:q}){let y={superUserId:l,superUserHash:q};return e({url:`/lexicons/suggestions/${p}`,method:"put",params:y,headers:ce({token:a,jwtToken:u,internalAuthTokenProvider:t,headers:d}),data:f})},delete({token:a,jwtToken:u,headers:d,suggestionId:p}){return e({url:`/lexicons/suggestions/${p}`,method:"delete",headers:ce({token:a,jwtToken:u,internalAuthTokenProvider:t,headers:d})})},create({token:a,jwtToken:u,headers:d,key:p,lang:f,data:l}){return e({url:`/lexicons/${encodeURIComponent(p)}/${encodeURIComponent(f)}/suggestion`,method:"post",headers:ce({token:a,jwtToken:u,internalAuthTokenProvider:t,headers:d}),data:l})}}}}Bc.exports=c$});var Ic=m(($S,Mc)=>{var{authorizationHeaders:De}=h();function i$({client:e,internalAuthTokenProvider:t}){return{agencies:{all({token:c,jwtToken:o,query:i={},headers:r}){return e({url:"/network/agencies",params:i,headers:De({token:c,jwtToken:o,internalAuthTokenProvider:t,headers:r})})},get({token:c,jwtToken:o,query:i,headers:r,sellerId:s}){return e({url:`/network/agencies/${s}`,params:i||{},headers:De({token:c,jwtToken:o,internalAuthTokenProvider:t,headers:r})})},update({jwtToken:c,token:o,sellerId:i,agency:r,headers:s,query:a}){return e({url:`/network/agencies/${i}`,method:"put",headers:De({token:o,jwtToken:c,internalAuthTokenProvider:t,headers:s}),data:{agency:r},params:a})},create({jwtToken:c,token:o,agency:i,headers:r}){return e({url:"/network/agencies",method:"post",headers:De({token:o,jwtToken:c,internalAuthTokenProvider:t,headers:r}),data:{agency:i}})},removeProduct({token:c,jwtToken:o,productId:i,headers:r}){return e({url:"/network/agencies/remove-product",method:"put",headers:De({token:c,jwtToken:o,internalAuthTokenProvider:t,headers:r}),data:{productId:i}})},removeFare({token:c,jwtToken:o,fareId:i,headers:r}){return e({url:"/network/agencies/remove-fare",method:"put",headers:De({token:c,jwtToken:o,internalAuthTokenProvider:t,headers:r}),data:{fareId:i}})},banks({token:c,jwtToken:o,providerId:i,headers:r}){return e({url:"/network/agencies/banks",params:{providerId:i},headers:De({token:c,jwtToken:o,internalAuthTokenProvider:t,headers:r})})}}}}Mc.exports=i$});var Wc=m((xS,Kc)=>{var{authorizationHeaders:Vc}=h();function d$({client:e,internalAuthTokenProvider:t}){function n({token:o,jwtToken:i,query:r,headers:s}){return e({url:"/operation-settings",params:r,headers:Vc({token:o,jwtToken:i,internalAuthTokenProvider:t,headers:s})})}function c({jwtToken:o,token:i,operationSettings:r,headers:s}){return e({url:"/operation-settings",method:"put",headers:Vc({token:i,jwtToken:o,internalAuthTokenProvider:t,headers:s}),data:{operationSettings:r}})}return{get:n,update:c}}Kc.exports=d$});var Gc=m((qS,Xc)=>{function Jc(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var c=Object.getOwnPropertySymbols(e);t&&(c=c.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),n.push.apply(n,c)}return n}function Or(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?Jc(Object(n),!0).forEach(function(c){p$(e,c,n[c])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Jc(Object(n)).forEach(function(c){Object.defineProperty(e,c,Object.getOwnPropertyDescriptor(n,c))})}return e}function p$(e,t,n){return(t=f$(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function f$(e){var t=m$(e,"string");return typeof t=="symbol"?t:t+""}function m$(e,t){if(typeof e!="object"||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var c=n.call(e,t||"default");if(typeof c!="object")return c;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}var{authorizationHeaders:Mt}=h();function l$({client:e,internalAuthTokenProvider:t}){function n({token:s,jwtToken:a,query:u,headers:d,providerId:p}){let f=p?Or(Or({},u),{},{providerId:p}):u;return e({url:"/people-lookups",params:f,headers:Mt({token:s,jwtToken:a,internalAuthTokenProvider:t,headers:d})})}function c({token:s,jwtToken:a,query:u,headers:d,personId:p,providerId:f}){let l=f?Or(Or({},u),{},{providerId:f}):u;return e({url:`/people-lookups/${p}`,params:l,headers:Mt({token:s,jwtToken:a,internalAuthTokenProvider:t,headers:d})})}function o({jwtToken:s,token:a,personId:u,person:d,headers:p,providerId:f}){let l=f?{providerId:f}:{};return e({url:`/people-lookups/${u}`,method:"put",headers:Mt({token:a,jwtToken:s,internalAuthTokenProvider:t,headers:p}),params:l,data:{person:d}})}function i({jwtToken:s,token:a,person:u,headers:d,providerId:p}){let f=p?{providerId:p}:{};return e({url:"/people-lookups",method:"post",headers:Mt({token:a,jwtToken:s,internalAuthTokenProvider:t,headers:d}),params:f,data:{person:u}})}function r({personId:s,token:a,jwtToken:u,headers:d}){return e({url:`/people-lookups/${s}`,method:"delete",headers:Mt({token:a,jwtToken:u,internalAuthTokenProvider:t,headers:d})})}return{all:n,getById:c,update:o,create:i,remove:r}}Xc.exports=l$});var Yc=m((wS,Qc)=>{var{authorizationHeaders:Zc}=h();function h$({client:e,internalAuthTokenProvider:t}){function n({token:o,jwtToken:i,headers:r}){return e({url:"/point-to-point-settings",headers:Zc({token:o,jwtToken:i,internalAuthTokenProvider:t,headers:r})})}function c({token:o,jwtToken:i,pointToPointSettings:r,headers:s}){return e({url:"/point-to-point-settings",method:"put",headers:Zc({token:o,jwtToken:i,internalAuthTokenProvider:t,headers:s}),data:r})}return{get:n,update:c}}Qc.exports=h$});var Tc=m((OS,Pc)=>{var{authorizationHeaders:vc}=h();function g$({client:e,internalAuthTokenProvider:t}){function n({token:o,jwtToken:i,headers:r}){return e({url:"/market-pricing-settings",headers:vc({token:o,jwtToken:i,internalAuthTokenProvider:t,headers:r})})}function c({token:o,jwtToken:i,marketPricingSettings:r,headers:s}){return e({url:"/market-pricing-settings",method:"put",headers:vc({token:o,jwtToken:i,internalAuthTokenProvider:t,headers:s}),data:r})}return{get:n,update:c}}Pc.exports=g$});var ei=m((FS,Ac)=>{var{authorizationHeaders:kc}=h();function y$({client:e,internalAuthTokenProvider:t}){function n({token:o,jwtToken:i,headers:r}){return e({url:"/multiproduct-sales-settings",headers:kc({token:o,jwtToken:i,internalAuthTokenProvider:t,headers:r})})}function c({token:o,jwtToken:i,data:r,headers:s}){return e({url:"/multiproduct-sales-settings",method:"put",headers:kc({token:o,jwtToken:i,internalAuthTokenProvider:t,headers:s}),data:r})}return{get:n,update:c}}Ac.exports=y$});var ri=m((SS,ti)=>{var{authorizationHeaders:b$}=h();function $$({client:e,internalAuthTokenProvider:t}){function n({token:c,jwtToken:o,query:i,headers:r}){return e({url:"/printers",params:i||{},headers:b$({token:c,jwtToken:o,internalAuthTokenProvider:t,headers:r})})}return{all:n}}ti.exports=$$});var oi=m((ES,ai)=>{var{authorizationHeaders:si}=h();function x$({client:e,internalAuthTokenProvider:t}){function n({token:o,jwtToken:i,query:r,headers:s}){return e({url:"/print-settings",params:r,headers:si({token:o,jwtToken:i,internalAuthTokenProvider:t,headers:s})})}function c({jwtToken:o,token:i,printSettings:r,headers:s}){return e({url:"/print-settings",method:"put",headers:si({token:i,jwtToken:o,internalAuthTokenProvider:t,headers:s}),data:{printSettings:r}})}return{all:n,update:c}}ai.exports=x$});var ui=m((RS,ni)=>{var{authorizationHeaders:Ze}=h();function q$({client:e,internalAuthTokenProvider:t}){function n({token:a,jwtToken:u,query:d={},headers:p}){return e({url:"/print-templates",params:d,headers:Ze({token:a,jwtToken:u,internalAuthTokenProvider:t,headers:p})})}function c({token:a,jwtToken:u,printTemplateId:d,query:p={},headers:f}){return e({url:`/print-templates/${d}`,params:p,headers:Ze({token:a,jwtToken:u,internalAuthTokenProvider:t,headers:f})})}function o({jwtToken:a,token:u,printTemplateId:d,printTemplate:p,headers:f,query:l}){return e({url:`/print-templates/${d}`,method:"put",headers:Ze({token:u,jwtToken:a,internalAuthTokenProvider:t,headers:f}),data:{printTemplate:p},params:l})}function i({jwtToken:a,token:u,printTemplate:d,headers:p}){return e({url:"/print-templates",method:"post",headers:Ze({token:u,jwtToken:a,internalAuthTokenProvider:t,headers:p}),data:{printTemplate:d}})}function r({printTemplateId:a,token:u,jwtToken:d,headers:p}){return e({url:`/print-templates/${a}`,method:"delete",headers:Ze({token:u,jwtToken:d,internalAuthTokenProvider:t,headers:p})})}return{all:n,get:c,update:o,create:i,remove:r,versions:{update({printTemplateId:a,token:u,jwtToken:d,headers:p,query:f,versionId:l}){return e({url:`/print-templates/${a}/versions/${l}`,method:"put",headers:Ze({token:u,jwtToken:d,internalAuthTokenProvider:t,headers:p}),params:f})}}}}ni.exports=q$});var di=m((_S,ii)=>{var{authorizationHeaders:ci}=h();function w$({client:e,internalAuthTokenProvider:t}){function n({token:o,jwtToken:i,headers:r}){return e({url:"/rms-settings",headers:ci({token:o,jwtToken:i,internalAuthTokenProvider:t,headers:r})})}function c({token:o,jwtToken:i,revenueManagementSettings:r,headers:s}){return e({url:"/rms-settings",method:"put",headers:ci({token:o,jwtToken:i,internalAuthTokenProvider:t,headers:s}),data:r})}return{get:n,update:c}}ii.exports=w$});var mi=m((zS,fi)=>{var{authorizationHeaders:pi}=h();function O$({client:e,internalAuthTokenProvider:t}){function n({token:o,jwtToken:i,headers:r}){return e({url:"/journey-prices-settings",headers:pi({token:o,jwtToken:i,internalAuthTokenProvider:t,headers:r})})}function c({token:o,jwtToken:i,journeyPricesSettings:r,headers:s}){return e({url:"/journey-prices-settings",method:"put",headers:pi({token:o,jwtToken:i,internalAuthTokenProvider:t,headers:s}),data:r})}return{get:n,update:c}}fi.exports=O$});var hi=m((HS,li)=>{var{authorizationHeaders:F$}=h();function S$({client:e,internalAuthTokenProvider:t}){function n({jwtToken:c,token:o,subPrintTemplate:i,headers:r}){return e({url:"/sub-print-templates",method:"post",headers:F$({token:o,jwtToken:c,internalAuthTokenProvider:t,headers:r}),data:{subPrintTemplate:i}})}return{create:n}}li.exports=S$});var yi=m((CS,gi)=>{var{authorizationHeaders:ss}=h();function E$({client:e,internalAuthTokenProvider:t}){function n({jwtToken:i,token:r,bucketId:s,s3BucketData:a,headers:u}){return e({url:`/account/s3Buckets/${s}`,method:"put",headers:ss({token:r,jwtToken:i,internalAuthTokenProvider:t,headers:u}),data:a})}function c({jwtToken:i,token:r,bucketId:s,headers:a}){return e({url:`/account/s3Buckets/${s}`,method:"delete",headers:ss({token:r,jwtToken:i,internalAuthTokenProvider:t,headers:a})})}function o({jwtToken:i,token:r,s3BucketData:s,headers:a}){return e({url:"/account/s3Buckets",method:"post",headers:ss({token:r,jwtToken:i,internalAuthTokenProvider:t,headers:a}),data:s})}return{update:n,remove:c,create:o}}gi.exports=E$});var xi=m((jS,$i)=>{var{authorizationHeaders:bi}=h();function R$({client:e,internalAuthTokenProvider:t}){function n({jwtToken:o,token:i,query:r,headers:s}){return e({url:"/salesforce-settings",params:r,headers:bi({token:i,jwtToken:o,internalAuthTokenProvider:t,headers:s})})}function c({jwtToken:o,token:i,salesforceSettings:r,headers:s}){return e({url:"/salesforce-settings",method:"put",headers:bi({token:i,jwtToken:o,internalAuthTokenProvider:t,headers:s}),data:{salesforceSettings:r}})}return{get:n,update:c}}$i.exports=R$});var wi=m((DS,qi)=>{var{authorizationHeaders:L}=h();function _$({client:e,internalAuthTokenProvider:t}){function n({jwtToken:H,token:C,query:z,headers:j}){return e.get("/shifts",{headers:L({token:C,jwtToken:H,internalAuthTokenProvider:t,headers:j}),params:z})}function c({token:H,userId:C,headers:z}){return e.get(`/shift/user/${C}`,{headers:L({token:H,internalAuthTokenProvider:t,headers:z})})}function o({jwtToken:H,token:C,shiftData:z,headers:j}){return e({url:"/shifts",method:"post",headers:L({token:C,jwtToken:H,internalAuthTokenProvider:t,headers:j}),data:z})}function i({jwtToken:H,token:C,shiftId:z,operations:j,headers:V,query:S}){return e({url:`/shifts/${z}`,method:"patch",headers:L({token:C,jwtToken:H,internalAuthTokenProvider:t,headers:V}),data:{operations:j},params:S})}return{all:n,get:c,create:o,update:i,requiresAgencyShiftClosure:{put({token:H,jwtToken:C,shiftId:z,headers:j,shiftData:V}){return e({url:`/shifts/${z}/requires-agency-shift-closure`,method:"put",headers:L({token:H,jwtToken:C,internalAuthTokenProvider:t,headers:j}),data:{shiftData:V}})}},payments:{get({token:H,jwtToken:C,shiftId:z,headers:j}){return e.get(`/shifts/${z}/payments`,{headers:L({token:H,jwtToken:C,internalAuthTokenProvider:t,headers:j})})}},vouchers:{get({token:H,jwtToken:C,shiftId:z,headers:j}){return e.get(`/shifts/${z}/vouchers`,{headers:L({token:H,jwtToken:C,internalAuthTokenProvider:t,headers:j})})}},transactions:{get({token:H,jwtToken:C,shiftId:z,headers:j}){return e.get(`/shifts/${z}/transactions`,{headers:L({token:H,jwtToken:C,internalAuthTokenProvider:t,headers:j})})}},tickets:{get({token:H,jwtToken:C,shiftId:z,headers:j}){return e.get(`/shifts/${z}/tickets`,{headers:L({token:H,jwtToken:C,internalAuthTokenProvider:t,headers:j})})}},fees:{get({token:H,jwtToken:C,shiftId:z,headers:j}){return e.get(`/shifts/${z}/fees`,{headers:L({token:H,jwtToken:C,internalAuthTokenProvider:t,headers:j})})}},refunds:{get({token:H,jwtToken:C,shiftId:z,headers:j}){return e.get(`/shifts/${z}/refunds`,{headers:L({token:H,jwtToken:C,internalAuthTokenProvider:t,headers:j})})}},items:{get({token:H,jwtToken:C,shiftId:z,headers:j}){return e.get(`/shifts/${z}/items`,{headers:L({token:H,jwtToken:C,internalAuthTokenProvider:t,headers:j})})}},redeemableItems:{get({token:H,jwtToken:C,shiftId:z,headers:j}){return e.get(`/shifts/${z}/redeemable-items`,{headers:L({token:H,jwtToken:C,internalAuthTokenProvider:t,headers:j})})}},giftCertificates:{get({token:H,jwtToken:C,shiftId:z,headers:j}){return e.get(`/shifts/${z}/gift-certificates`,{headers:L({token:H,jwtToken:C,internalAuthTokenProvider:t,headers:j})})}},parcels:{get({token:H,jwtToken:C,shiftId:z,headers:j}){return e.get(`/shifts/${z}/parcels`,{headers:L({token:H,jwtToken:C,internalAuthTokenProvider:t,headers:j})})}},insurances:{get({token:H,jwtToken:C,shiftId:z,headers:j}){return e.get(`/shifts/${z}/insurances`,{headers:L({token:H,jwtToken:C,internalAuthTokenProvider:t,headers:j})})}},invoices:{get({token:H,jwtToken:C,shiftId:z,headers:j}){return e.get(`/shifts/${z}/invoices`,{headers:L({token:H,jwtToken:C,internalAuthTokenProvider:t,headers:j})})}},deposits:{get({token:H,jwtToken:C,shiftId:z,headers:j}){return e.get(`/shifts/${z}/deposits`,{headers:L({token:H,jwtToken:C,internalAuthTokenProvider:t,headers:j})})},create({jwtToken:H,token:C,shiftId:z,deposit:j,headers:V}){return e({url:`/shifts/${z}/deposits`,method:"post",headers:L({token:C,jwtToken:H,internalAuthTokenProvider:t,headers:V}),data:j})}},manualTickets:{get({token:H,jwtToken:C,shiftId:z,headers:j}){return e.get(`/shifts/${z}/manual-tickets`,{headers:L({token:H,jwtToken:C,internalAuthTokenProvider:t,headers:j})})},create({jwtToken:H,token:C,shiftId:z,manualTicket:j,headers:V}){return e({url:`/shifts/${z}/manual-tickets`,method:"post",headers:L({token:C,jwtToken:H,internalAuthTokenProvider:t,headers:V}),data:j})}},locationClosures:{create({jwtToken:H,token:C,locationClosure:z,headers:j}){return e({url:"/shifts/location-closures",method:"post",headers:L({token:C,jwtToken:H,internalAuthTokenProvider:t,headers:j}),data:z})},all({jwtToken:H,token:C,query:z,headers:j}){return e.get("/shifts/location-closures",{headers:L({token:C,jwtToken:H,internalAuthTokenProvider:t,headers:j}),params:z})},get({token:H,jwtToken:C,locationClosureId:z,headers:j}){return e.get(`/shifts/location-closures/${z}`,{headers:L({token:H,jwtToken:C,internalAuthTokenProvider:t,headers:j})})},comments:{create({jwtToken:H,token:C,locationClosureId:z,locationClosureComment:j,headers:V}){return e({url:`/shifts/location-closures/${z}/comments`,method:"post",headers:L({token:C,jwtToken:H,internalAuthTokenProvider:t,headers:V}),data:j})}},status:{update({jwtToken:H,token:C,locationClosureId:z,locationClosureStatusChange:j,headers:V}){return e({url:`/shifts/location-closures/${z}/status`,method:"put",headers:L({token:C,jwtToken:H,internalAuthTokenProvider:t,headers:V}),data:j})}}},startingBalances:{create({jwtToken:H,token:C,shiftId:z,startingBalance:j,headers:V}){return e({url:`/shifts/${z}/starting-balance`,method:"post",headers:L({token:C,jwtToken:H,internalAuthTokenProvider:t,headers:V}),data:j})}},purchaseLimitPayments:{get({token:H,jwtToken:C,locationId:z,query:j,headers:V}){return e.get(`/shifts/${z}/purchase-limit-payments`,{headers:L({token:H,jwtToken:C,internalAuthTokenProvider:t,headers:V}),params:j})}},salesSummary:{get({token:H,jwtToken:C,shiftId:z,query:j,headers:V}){return e.get(`/shifts/${z}/sales-summary`,{headers:L({token:H,jwtToken:C,internalAuthTokenProvider:t,headers:V}),params:j})}},commissions:{get({token:H,jwtToken:C,shiftId:z,headers:j}){return e.get(`/shifts/${z}/commissions`,{headers:L({token:H,jwtToken:C,internalAuthTokenProvider:t,headers:j})})}}}}qi.exports=_$});var Si=m((NS,Fi)=>{var{authorizationHeaders:Oi}=h();function z$({client:e,internalAuthTokenProvider:t}){function n({token:o,jwtToken:i,query:r,headers:s}){return e({url:"/shift-settings",params:r,headers:Oi({token:o,jwtToken:i,internalAuthTokenProvider:t,headers:s})})}function c({jwtToken:o,token:i,shiftSettings:r,headers:s}){return e({url:"/shift-settings",method:"put",headers:Oi({token:i,jwtToken:o,internalAuthTokenProvider:t,headers:s}),data:{shiftSettings:r}})}return{get:n,update:c}}Fi.exports=z$});var Ri=m((US,Ei)=>{var{authorizationHeaders:as}=h();function H$({client:e,internalAuthTokenProvider:t}){function n({token:i,jwtToken:r,modelName:s,headers:a}){return e({url:`/system-models/${s}/settings`,headers:as({token:i,jwtToken:r,internalAuthTokenProvider:t,headers:a})})}function c({jwtToken:i,token:r,modelName:s,systemModelSettings:a,headers:u}){return e({url:`/system-models/${s}/settings`,method:"put",headers:as({token:r,jwtToken:i,internalAuthTokenProvider:t,headers:u}),data:{systemModelSettings:a}})}function o({jwtToken:i,token:r,modelName:s,action:a,payload:u,headers:d}){return e({url:`/system-models/${s}/validations`,method:"post",headers:as({token:r,jwtToken:i,internalAuthTokenProvider:t,headers:d}),data:{action:a,payload:u}})}return{get:n,update:c,validate:o}}Ei.exports=H$});var Hi=m((BS,zi)=>{var{authorizationHeaders:_i}=h();function C$({client:e,internalAuthTokenProvider:t}){function n({token:o,jwtToken:i,headers:r}){return e({url:"/ticket-movement-settings",headers:_i({token:o,jwtToken:i,internalAuthTokenProvider:t,headers:r})})}function c({token:o,jwtToken:i,ticketMovementSettings:r,headers:s}){return e({url:"/ticket-movement-settings",method:"put",headers:_i({token:o,jwtToken:i,internalAuthTokenProvider:t,headers:s}),data:r})}return{get:n,update:c}}zi.exports=C$});var Di=m((LS,ji)=>{var{authorizationHeaders:Ci}=h();function j$({client:e,internalAuthTokenProvider:t}){function n({token:o,jwtToken:i,headers:r,query:s}){return e.get("/tokens",{headers:Ci({token:o,jwtToken:i,internalAuthTokenProvider:t,headers:r}),params:s})}function c({data:o,token:i,jwtToken:r,headers:s}){return e({url:"/tokens",method:"post",headers:Ci({token:i,jwtToken:r,internalAuthTokenProvider:t,headers:s}),data:o})}return{get:n,create:c}}ji.exports=j$});var Ui=m((MS,Ni)=>{var{authorizationHeaders:It}=h();function D$({client:e,internalAuthTokenProvider:t}){function n({token:s,jwtToken:a,query:u,headers:d}){return e({url:"/travellers",headers:It({token:s,jwtToken:a,internalAuthTokenProvider:t,headers:d}),params:u})}function c({token:s,jwtToken:a,id:u,query:d={},headers:p}){return e({url:`/travellers/${u}`,method:"get",headers:It({token:s,jwtToken:a,internalAuthTokenProvider:t,headers:p}),params:d})}function o({token:s,jwtToken:a,id:u,data:d,query:p={},headers:f}){return e({url:`/travellers/${u}`,method:"put",params:p,headers:It({token:s,jwtToken:a,internalAuthTokenProvider:t,headers:f}),data:d})}function i({token:s,jwtToken:a,id:u,query:d={},headers:p}){return e({url:`/travellers/${u}`,method:"delete",params:d,headers:It({token:s,jwtToken:a,internalAuthTokenProvider:t,headers:p})})}function r({token:s,jwtToken:a,query:u={},data:d,headers:p}){return e({url:"/travellers",method:"post",headers:It({token:s,jwtToken:a,internalAuthTokenProvider:t,headers:p}),params:u,data:d})}return{all:n,get:c,update:o,remove:i,create:r}}Ni.exports=D$});var Li=m((IS,Bi)=>{var{authorizationHeaders:os}=h();function N$({client:e,internalAuthTokenProvider:t}){function n({token:i,jwtToken:r,data:s,headers:a}){return e({url:"/trusted-machines",method:"post",withCredentials:!0,headers:os({token:i,jwtToken:r,internalAuthTokenProvider:t,headers:a}),data:s})}function c({token:i,jwtToken:r,id:s,headers:a}){return e({url:`/trusted-machines/${s}`,method:"get",headers:os({token:i,jwtToken:r,internalAuthTokenProvider:t,headers:a})})}function o({token:i,jwtToken:r,query:s={},headers:a}){return e({params:s,url:"/trusted-machines",headers:os({token:i,jwtToken:r,internalAuthTokenProvider:t,headers:a})})}return{create:n,get:c,all:o}}Bi.exports=N$});var Vi=m((VS,Ii)=>{var{authorizationHeaders:Mi}=h();function U$({client:e,internalAuthTokenProvider:t}){function n({jwtToken:o,token:i,query:r,headers:s}){return e({url:"/twilio-settings",params:r,headers:Mi({token:i,jwtToken:o,internalAuthTokenProvider:t,headers:s})})}function c({jwtToken:o,token:i,twilioSettings:r,headers:s}){return e({url:"/twilio-settings",method:"put",headers:Mi({token:i,jwtToken:o,internalAuthTokenProvider:t,headers:s}),data:{twilioSettings:r}})}return{get:n,update:c}}Ii.exports=U$});var Wi=m((KS,Ki)=>{var{authorizationHeaders:Y}=h();function B$({client:e,internalAuthTokenProvider:t}){function n({token:y,jwtToken:b,id:g,headers:x}={}){return e({url:`/user/${g}`,headers:Y({token:y,jwtToken:b,internalAuthTokenProvider:t,headers:x})})}function c({token:y,jwtToken:b,id:g,headers:x}={}){return e({url:`/users/${g}`,headers:Y({token:y,jwtToken:b,internalAuthTokenProvider:t,headers:x})})}function o({token:y,jwtToken:b,query:g={},headers:x}){return e({url:"/users",params:g,headers:Y({token:y,jwtToken:b,internalAuthTokenProvider:t,headers:x})})}function i({token:y,jwtToken:b,query:g={},data:x,headers:w}){return e({url:"/users",method:"post",headers:Y({token:y,jwtToken:b,internalAuthTokenProvider:t,headers:w}),params:g,data:x})}function r({token:y,jwtToken:b,query:g={},data:x,headers:w}){return i({token:y,jwtToken:b,query:g,data:x,headers:w})}function s({token:y,jwtToken:b,userId:g,user:x,headers:w}){return e({url:`/users/${g}`,method:"put",headers:Y({token:y,jwtToken:b,internalAuthTokenProvider:t,headers:w}),data:{user:x}})}function a({token:y,jwtToken:b,id:g,headers:x}){return e({url:`/users/${g}`,method:"delete",headers:Y({token:y,jwtToken:b,internalAuthTokenProvider:t,headers:x})})}function u({token:y,jwtToken:b,users:g,headers:x}){return e({url:"/users/import",method:"post",headers:Y({token:y,jwtToken:b,internalAuthTokenProvider:t,headers:x}),data:{users:g}})}function d({token:y,jwtToken:b,offlineUserId:g,headers:x}){return e({url:"/users/impersonate",method:"post",headers:Y({token:y,jwtToken:b,internalAuthTokenProvider:t,headers:x}),data:{offlineUserId:g}})}function p({token:y,jwtToken:b,userId:g,headers:x}){return e({url:`/users/${g}/mfa`,method:"post",headers:Y({token:y,jwtToken:b,internalAuthTokenProvider:t,headers:x})})}function f({token:y,jwtToken:b,userId:g,totpToken:x,headers:w}){return e({url:`/users/${g}/mfa`,method:"put",headers:Y({token:y,jwtToken:b,internalAuthTokenProvider:t,headers:w}),data:{token:x}})}function l({token:y,jwtToken:b,userId:g,headers:x}){return e({url:`/users/${g}/mfa`,method:"delete",headers:Y({token:y,jwtToken:b,internalAuthTokenProvider:t,headers:x})})}return{get:n,getV2:c,all:o,create:r,login:i,update:s,delete:a,createOrUpdateMany:u,impersonate:d,startMfa:p,confirmMfa:f,disableMfa:l,sequences:{get({token:y,jwtToken:b,userId:g,sequenceId:x,headers:w}){return e({url:`/users/${g}/sequences/${x}`,headers:Y({token:y,jwtToken:b,internalAuthTokenProvider:t,headers:w})})},all({token:y,jwtToken:b,userId:g,query:x={},headers:w}){return e({url:`/users/${g}/sequences`,params:x,headers:Y({token:y,jwtToken:b,internalAuthTokenProvider:t,headers:w})})},create({jwtToken:y,token:b,userId:g,sequence:x,headers:w}){return e({url:`/users/${g}/sequences`,method:"post",headers:Y({token:b,jwtToken:y,internalAuthTokenProvider:t,headers:w}),data:x})},update({jwtToken:y,token:b,userId:g,sequenceId:x,sequence:w,headers:D}){return e({url:`/users/${g}/sequences/${x}`,method:"put",headers:Y({token:b,jwtToken:y,internalAuthTokenProvider:t,headers:D}),data:w})},transfer({jwtToken:y,token:b,userId:g,sequenceId:x,newUserId:w,headers:D}){return e({url:`/users/${g}/sequences/${x}`,method:"patch",headers:Y({token:b,jwtToken:y,internalAuthTokenProvider:t,headers:D}),data:{operation:"transfer",newUserId:w}})},allByUserIds({token:y,jwtToken:b,query:g={},headers:x}){return e({url:"/users/sequences",params:g,headers:Y({token:y,jwtToken:b,internalAuthTokenProvider:t,headers:x})})}}}}Ki.exports=B$});var Xi=m((WS,Ji)=>{var{authorizationHeaders:Fr}=h();function L$({client:e,internalAuthTokenProvider:t}){function n({token:r,jwtToken:s,query:a={},headers:u}){return e({url:"/verified-emails",headers:Fr({token:r,jwtToken:s,internalAuthTokenProvider:t,headers:u}),params:a})}function c({token:r,jwtToken:s,email:a,headers:u}){return e({url:`/verified-emails/${encodeURIComponent(a)}`,headers:Fr({token:r,jwtToken:s,internalAuthTokenProvider:t,headers:u})})}function o({token:r,jwtToken:s,data:a,headers:u}){return e({url:"/verified-emails",method:"post",headers:Fr({token:r,jwtToken:s,internalAuthTokenProvider:t,headers:u}),data:a})}function i({token:r,jwtToken:s,email:a,data:u,headers:d}){return e({url:`/verified-emails/${encodeURIComponent(a)}`,method:"put",headers:Fr({token:r,jwtToken:s,internalAuthTokenProvider:t,headers:d}),data:u})}return{all:n,get:c,create:o,update:i}}Ji.exports=L$});var Qi=m((JS,Zi)=>{var{authorizationHeaders:Gi}=h();function M$({client:e,internalAuthTokenProvider:t}){function n({token:o,jwtToken:i,query:r={},headers:s}){return e({params:r,url:"/websales-config",headers:Gi({token:o,jwtToken:i,internalAuthTokenProvider:t,headers:s})})}function c({token:o,jwtToken:i,websalesConfigId:r,websalesConfig:s,headers:a}){return e({url:`/websales-config/${r}`,method:"put",headers:Gi({token:o,jwtToken:i,internalAuthTokenProvider:t,headers:a}),data:s})}return{get:n,update:c}}Zi.exports=M$});var Pi=m((XS,vi)=>{var{authorizationHeaders:Yi}=h();function I$({client:e,internalAuthTokenProvider:t}){function n({token:o,jwtToken:i,headers:r}){return e({url:"/transport-regulation-settings/cnrt",headers:Yi({token:o,jwtToken:i,internalAuthTokenProvider:t,headers:r})})}function c({token:o,jwtToken:i,transportRegulationSettings:r,headers:s}){return e({url:"/transport-regulation-settings/cnrt",method:"put",headers:Yi({token:o,jwtToken:i,internalAuthTokenProvider:t,headers:s}),data:r})}return{get:n,update:c}}vi.exports=I$});var ki=m((GS,Ti)=>{function V$({client:e}){function t(){return e.get("/api-docs-v2",{})}return{get:t}}Ti.exports=V$});var ed=m((ZS,Ai)=>{var{authorizationHeaders:K$}=h();function W$({client:e,internalAuthTokenProvider:t}){function n({token:c,parcelQuoteData:o,jwtToken:i,headers:r}){return e({url:"/parcel-quotes",method:"post",headers:K$({token:c,jwtToken:i,internalAuthTokenProvider:t,headers:r}),data:o})}return{get:n}}Ai.exports=W$});var rd=m((QS,td)=>{var{authorizationHeaders:J$}=h();function X$({client:e,internalAuthTokenProvider:t}){function n({token:c,jwtToken:o,query:i={},headers:r}){return e.get("/payment-providers",{params:i,headers:J$({token:c,jwtToken:o,internalAuthTokenProvider:t,headers:r})})}return{all:n}}td.exports=X$});var ad=m((YS,sd)=>{var{authorizationHeaders:P}=h();function G$({client:e,internalAuthTokenProvider:t}){function n({token:y,id:b,query:g={},headers:x}){return e({url:`/cart/${b}`,params:g,headers:P({token:y,internalAuthTokenProvider:t,headers:x})})}function c({token:y,cart:b,jwtToken:g,headers:x}){return e({url:"/cart",method:"post",headers:P({token:y,jwtToken:g,internalAuthTokenProvider:t,headers:x}),data:b})}function o({token:y,cartId:b,cart:g,jwtToken:x,headers:w}){return e({url:`/cart/${b}/items`,method:"post",headers:P({token:y,jwtToken:x,internalAuthTokenProvider:t,headers:w}),data:g})}function i({token:y,cartId:b,params:g,jwtToken:x,headers:w}){return e({url:`/cart/${b}/items`,method:"delete",headers:P({token:y,jwtToken:x,internalAuthTokenProvider:t,headers:w}),params:g})}function r({token:y,cartId:b,itemId:g,jwtToken:x,headers:w}){return e({url:`/carts/${b}/paid-in-items/${g}`,method:"delete",headers:P({token:y,jwtToken:x,internalAuthTokenProvider:t,headers:w})})}function s({token:y,cartId:b,params:g,jwtToken:x,headers:w}){return e({url:`/carts/${b}/paid-in-items`,method:"delete",headers:P({token:y,jwtToken:x,internalAuthTokenProvider:t,headers:w}),params:g||{}})}let a={get({token:y,jwtToken:b,cartId:g,query:x={},headers:w}){return e({url:`/carts/${g}/loyalty-points-amount`,params:x,headers:P({token:y,jwtToken:b,internalAuthTokenProvider:t,headers:w})})}};function u({token:y,jwtToken:b,cartId:g,data:x,headers:w}){return e({url:`/cart/${g}`,method:"patch",headers:P({token:y,jwtToken:b,internalAuthTokenProvider:t,headers:w}),data:x})}return{get:n,create:c,add:o,deleteItems:i,deletePaidInItem:r,deletePaidInItems:s,loyaltyPointsAmount:a,patch:u,partialDepositStatus:{get({token:y,jwtToken:b,shiftId:g,headers:x}){return e.get(`/cart/${g}/partial-deposit-status`,{headers:P({token:y,jwtToken:b,internalAuthTokenProvider:t,headers:x})})}},payments:{delete({token:y,cartId:b,jwtToken:g,headers:x}){return e({url:`/carts/${b}/payments`,method:"delete",headers:P({token:y,jwtToken:g,internalAuthTokenProvider:t,headers:x})})},put({token:y,cartId:b,jwtToken:g,headers:x,payment:w}){return e({url:`/carts/${b}/payments`,method:"put",headers:P({token:y,jwtToken:g,internalAuthTokenProvider:t,headers:x}),data:w})}},taxExemptPaymentMethod:{post({token:y,cartId:b,jwtToken:g,headers:x,data:w={}}){return e({url:`/carts/${b}/tax-exempt-payment-method`,method:"POST",headers:P({token:y,jwtToken:g,internalAuthTokenProvider:t,headers:x}),data:w})}},financingCosts:{create({token:y,jwtToken:b,headers:g,cartId:x,financingCost:w,query:D={}}){return e({url:`/carts/${x}/financing-costs`,method:"POST",params:D,headers:P({token:y,jwtToken:b,internalAuthTokenProvider:t,headers:g}),data:{financingcost:w}})},delete({token:y,jwtToken:b,headers:g,cartId:x,query:w={}}){return e({url:`/carts/${x}/financing-costs`,method:"delete",params:w,headers:P({token:y,jwtToken:b,internalAuthTokenProvider:t,headers:g})})}},expirationTime:{create({token:y,jwtToken:b,headers:g,cartId:x,expirationTime:w}){return e({url:`/carts/${x}/expiration-time`,method:"post",headers:P({token:y,jwtToken:b,internalAuthTokenProvider:t,headers:g}),data:{expirationTimeData:w}})}}}}sd.exports=G$});var nd=m((vS,od)=>{var{authorizationHeaders:Z$}=h();function Q$({client:e,internalAuthTokenProvider:t}){function n({token:c,GCNumber:o,query:i={},headers:r}){return e({url:`/gift-certificates/${o}`,params:i,headers:Z$({token:c,internalAuthTokenProvider:t,headers:r})})}return{get:n}}od.exports=Q$});var cd=m((PS,ud)=>{var{authorizationHeaders:Y$}=h();function v$({client:e,internalAuthTokenProvider:t}){function n({token:c,query:o={},headers:i}){return e.get("/custom-fields",{params:o,headers:Y$({token:c,internalAuthTokenProvider:t,headers:i})})}return{all:n}}ud.exports=v$});var dd=m((TS,id)=>{var{authorizationHeaders:Sr}=h();function P$({client:e,internalAuthTokenProvider:t}){function n({token:r,order:s,jwtToken:a,headers:u}){return e({url:"/order",method:"post",headers:Sr({token:r,jwtToken:a,internalAuthTokenProvider:t,headers:u}),data:s})}function c({token:r,orderId:s,query:a={},headers:u}){return e({url:`/order/${s}`,params:a,headers:Sr({token:r,internalAuthTokenProvider:t,headers:u})})}function o({token:r,orderId:s,payments:a,jwtToken:u,headers:d,query:p={}}){return e({url:`/orders/${s}/payments`,method:"post",data:a,params:p,headers:Sr({token:r,jwtToken:u,internalAuthTokenProvider:t,headers:d})})}function i({token:r,jwtToken:s,headers:a,operation:u,query:d={}}){return e({url:"/orders",method:"patch",headers:Sr({token:r,jwtToken:s,internalAuthTokenProvider:t,headers:a}),data:{operation:u},params:d})}return{create:n,get:c,overwrite:o,patch:i}}id.exports=P$});var fd=m((kS,pd)=>{var{authorizationHeaders:T$}=h();function k$({client:e,internalAuthTokenProvider:t}){function n({token:c,voucher:o,headers:i}){return e({url:`/vouchers/${o.number}?cartId=${o.cartId}&firstName=${o.firstName}&lastName=${o.lastName}&displayCurrencyCode=${o.displayCurrencyCode||""}`,headers:T$({token:c,internalAuthTokenProvider:t,headers:i})})}return{get:n}}pd.exports=k$});var hd=m((AS,ld)=>{var{authorizationHeaders:md}=h();function A$({client:e,internalAuthTokenProvider:t}){function n({token:o,jwtToken:i,cartId:r,query:s={},headers:a}){return e({url:`/cart/${r}/promos`,method:"post",headers:md({token:o,jwtToken:i,internalAuthTokenProvider:t,headers:a}),params:s})}function c({token:o,jwtToken:i,cartId:r,query:s={},headers:a}){return e({url:`/cart/${r}`,method:"delete",headers:md({token:o,jwtToken:i,internalAuthTokenProvider:t,headers:a}),params:s})}return{create:n,remove:c}}ld.exports=A$});var yd=m((eE,gd)=>{var{authorizationHeaders:ex}=h();function tx({client:e,internalAuthTokenProvider:t}){function n({token:c,query:o={},headers:i}){return e.get("/bundles",{params:o,headers:ex({token:c,internalAuthTokenProvider:t,headers:i})})}return{all:n}}gd.exports=tx});var xd=m((tE,$d)=>{var{authorizationHeaders:bd}=h();function rx({client:e,internalAuthTokenProvider:t}){function n({token:o,redeemableItemId:i,query:r={},headers:s}){return e({url:`/redeemable-items/${i}`,params:r,headers:bd({token:o,internalAuthTokenProvider:t,headers:s})})}function c({token:o,jwtToken:i,query:r={},headers:s}){return e({url:"/redeemable-items",params:r,headers:bd({token:o,jwtToken:i,headers:s})})}return{get:n,getValid:c}}$d.exports=rx});var wd=m((rE,qd)=>{var{authorizationHeaders:sx}=h();function ax({client:e,internalAuthTokenProvider:t}){function n({token:c,jwtToken:o,flexpassId:i,headers:r}){return e({url:`/flexpasses/${i}`,headers:sx({token:c,jwtToken:o,internalAuthTokenProvider:t,headers:r})})}return{get:n}}qd.exports=ax});var Fd=m((sE,Od)=>{var{authorizationHeaders:ox}=h();function nx({client:e,internalAuthTokenProvider:t}){function n({token:c,data:o,jwtToken:i,headers:r}){return e({url:"/sync-entry",method:"patch",headers:ox({token:c,jwtToken:i,internalAuthTokenProvider:t,headers:r}),data:o})}return{patch:n}}Od.exports=nx});var Ed=m((aE,Sd)=>{var{authorizationHeaders:ux}=h();function cx({client:e,internalAuthTokenProvider:t}){function n({token:c,jwtToken:o,id:i,headers:r,query:s={}}){return e({url:`/check-in/${i}`,params:s,headers:ux({token:c,jwtToken:o,internalAuthTokenProvider:t,headers:r})})}return{get:n}}Sd.exports=cx});var _d=m((oE,Rd)=>{var{authorizationHeaders:ns}=h();function ix({client:e,internalAuthTokenProvider:t}){function n({token:i,jwtToken:r,cancelData:s,headers:a}){return e({url:"/cancellations",method:"POST",data:{cancellation:s},headers:ns({token:i,jwtToken:r,internalAuthTokenProvider:t,headers:a})})}function c({token:i,jwtToken:r,cancelSet:s,headers:a}){return e({url:"/cancellations",method:"PUT",data:s,headers:ns({token:i,jwtToken:r,internalAuthTokenProvider:t,headers:a})})}function o({token:i,jwtToken:r,pendingTransactionId:s,paymentResult:a,headers:u}){return e({url:`/cancellations/${s}`,method:"PUT",data:{paymentResult:a},headers:ns({token:i,jwtToken:r,internalAuthTokenProvider:t,headers:u})})}return{sets:{create:n},refunds:{create:c},update:o}}Rd.exports=ix});var Hd=m((nE,zd)=>{function dx({client:e,internalAuthTokenProvider:t}){function n(){return e.get("/api-docs-v2",{})}return{get:n}}zd.exports=dx});var Dd=m((uE,jd)=>{var{authorizationHeaders:Cd}=h();function px({client:e,internalAuthTokenProvider:t}){function n({token:o,jwtToken:i,query:r={},headers:s}){return e.get("/accounting-items",{params:r,headers:Cd({token:o,jwtToken:i,internalAuthTokenProvider:t,headers:s})})}function c({accountingItemId:o,token:i,jwtToken:r,headers:s}){return e.get(`/accounting-items/${o}`,{headers:Cd({token:i,jwtToken:r,internalAuthTokenProvider:t,headers:s})})}return{all:n,get:c}}jd.exports=px});var Ud=m((cE,Nd)=>{var{authorizationHeaders:fx}=h();function mx({client:e,internalAuthTokenProvider:t}){function n({token:c,jwtToken:o,trxId:i,headers:r}){return e({url:"/appliedInsurances",params:{trxId:i},headers:fx({token:c,jwtToken:o,internalAuthTokenProvider:t,headers:r})})}return{all:n}}Nd.exports=mx});var Ld=m((iE,Bd)=>{var{authorizationHeaders:lx}=h();function hx({client:e,internalAuthTokenProvider:t}){function n({token:c,query:o={},headers:i}){return e({url:"/calendar-entries",params:o,headers:lx({token:c,internalAuthTokenProvider:t,headers:i})})}return{all:n}}Bd.exports=hx});var Vd=m((dE,Id)=>{var{authorizationHeaders:Md}=h();function gx({client:e,internalAuthTokenProvider:t}){function n({jwtToken:o,token:i,externalBooking:r,headers:s,query:a={}}){return e({url:"/external-bookings",method:"post",data:r,params:a,headers:Md({token:i,jwtToken:o,internalAuthTokenProvider:t,headers:s})})}function c({jwtToken:o,token:i,ticketId:r,headers:s}){return e({url:`/external-bookings/${r}`,method:"delete",headers:Md({token:i,jwtToken:o,internalAuthTokenProvider:t,headers:s})})}return{create:n,remove:c}}Id.exports=gx});var Wd=m((pE,Kd)=>{var{authorizationHeaders:yx}=h();function bx({client:e,internalAuthTokenProvider:t}){function n({jwtToken:c,token:o,flexpassId:i,tripId:r,headers:s}){return e({url:`/flexpasses/${i}/scannings/${r}`,method:"delete",headers:yx({token:o,jwtToken:c,internalAuthTokenProvider:t,headers:s})})}return{deleteScanBytripId:n}}Kd.exports=bx});var Xd=m((fE,Jd)=>{var{authorizationHeaders:$x}=h();function xx({client:e,internalAuthTokenProvider:t}){function n({jwtToken:c,token:o,customer:i,page:r,headers:s}){let a={customer:i};return r!=null&&(a.page=r),e({url:"/gift-certificates",method:"get",params:a,headers:$x({token:o,jwtToken:c,internalAuthTokenProvider:t,headers:s})})}return{list:n}}Jd.exports=xx});var Qd=m((mE,Zd)=>{var{authorizationHeaders:Gd}=h();function qx({client:e,internalAuthTokenProvider:t}){function n({token:o,jwtToken:i,query:r={},headers:s}){return e.get("/loans",{params:r,headers:Gd({token:o,jwtToken:i,internalAuthTokenProvider:t,headers:s})})}function c({loanId:o,token:i,jwtToken:r,headers:s}){return e.get(`/loans/${o}`,{headers:Gd({token:i,jwtToken:r,internalAuthTokenProvider:t,headers:s})})}return{all:n,get:c}}Zd.exports=qx});var Pd=m((lE,vd)=>{function Yd(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var c=Object.getOwnPropertySymbols(e);t&&(c=c.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),n.push.apply(n,c)}return n}function wx(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?Yd(Object(n),!0).forEach(function(c){Ox(e,c,n[c])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Yd(Object(n)).forEach(function(c){Object.defineProperty(e,c,Object.getOwnPropertyDescriptor(n,c))})}return e}function Ox(e,t,n){return(t=Fx(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Fx(e){var t=Sx(e,"string");return typeof t=="symbol"?t:t+""}function Sx(e,t){if(typeof e!="object"||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var c=n.call(e,t||"default");if(typeof c!="object")return c;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}var{authorizationHeaders:B}=h();function Ex({client:e,internalAuthTokenProvider:t}){function n({token:S,jwtToken:_,headers:R,data:O}){return e({url:"/manifests/dispatch/reporting",method:"post",headers:B({token:S,jwtToken:_,internalAuthTokenProvider:t,headers:R}),data:O})}function c({token:S,jwtToken:_,headers:R,manifestId:O,data:F}){return e({url:`manifests/${O}/dispatch/reporting`,method:"put",headers:B({token:S,jwtToken:_,internalAuthTokenProvider:t,headers:R}),data:F})}function o({token:S,jwtToken:_,headers:R,manifestId:O,data:F,query:N}){return e({url:`manifests/${O}/dispatches`,method:"post",headers:B({token:S,jwtToken:_,internalAuthTokenProvider:t,headers:R}),data:F,params:N})}function i({token:S,jwtToken:_,query:R={},headers:O}){return e({url:"/manifests",method:"get",params:R,headers:B({token:S,jwtToken:_,internalAuthTokenProvider:t,headers:O})})}function r({token:S,jwtToken:_,query:R={},headers:O}){return e({url:"/manifests/item-capacity-over-limit",method:"get",params:R,headers:B({token:S,jwtToken:_,internalAuthTokenProvider:t,headers:O})})}function s({token:S,jwtToken:_,query:R={},headers:O}){return e({url:"/manifests/item-capacity-used",method:"get",params:R,headers:B({token:S,jwtToken:_,internalAuthTokenProvider:t,headers:O})})}function a({token:S,jwtToken:_,manifestId:R,query:O={},headers:F}){return e({url:`/manifests/${R}`,method:"get",params:O,headers:B({token:S,jwtToken:_,internalAuthTokenProvider:t,headers:F})})}function u({token:S,jwtToken:_,data:R,headers:O,mode:F}){let N={mode:"sync"};return F&&(N.mode=F),e({url:"/manifests/status",params:N,method:"put",headers:B({token:S,jwtToken:_,internalAuthTokenProvider:t,headers:O}),data:R})}function d({token:S,jwtToken:_,providerId:R,data:O,headers:F}){return e({url:"/all-manifests",method:"post",params:{providerId:R},headers:B({token:S,jwtToken:_,internalAuthTokenProvider:t,headers:F}),data:O})}function p({token:S,jwtToken:_,query:R={},headers:O}){return e({url:"/outlook-manifests",method:"get",params:R,headers:B({token:S,jwtToken:_,internalAuthTokenProvider:t,headers:O})})}function f({token:S,jwtToken:_,query:R={},operations:O,headers:F}){return e({url:"/manifests",method:"patch",params:R,headers:B({token:S,jwtToken:_,internalAuthTokenProvider:t,headers:F}),data:{operations:O}})}function l({token:S,jwtToken:_,providerId:R,data:O,headers:F,query:N={}}){return e({url:"/manifests",method:"put",params:wx({providerId:R,manifestId:O.manifestId},N),headers:B({token:S,jwtToken:_,internalAuthTokenProvider:t,headers:F}),data:O})}function q({token:S,jwtToken:_,manifestId:R,query:O={},data:F,headers:N}){return e({url:`/manifests/${R}/users`,method:"post",headers:B({token:S,jwtToken:_,internalAuthTokenProvider:t,headers:N}),params:O,data:F})}function y({token:S,jwtToken:_,manifestId:R,userId:O,headers:F}){return e({url:`/manifests/${R}/users/${O}`,method:"delete",headers:B({token:S,jwtToken:_,internalAuthTokenProvider:t,headers:F})})}function b({token:S,jwtToken:_,manifestId:R,query:O={},data:F,headers:N}){return e({url:`/manifests/${R}/capacity-exceptions`,method:"post",headers:B({token:S,jwtToken:_,internalAuthTokenProvider:t,headers:N}),params:O,data:F})}function g({token:S,jwtToken:_,manifestKey:R,headers:O}){return e({url:`/manifests/${R}/fare-capacity-limits`,method:"get",headers:B({token:S,jwtToken:_,internalAuthTokenProvider:t,headers:O})})}function x({token:S,jwtToken:_,manifestKey:R,query:O={},data:F,headers:N}){return e({url:`/manifests/${R}/fare-capacity-limits`,method:"put",headers:B({token:S,jwtToken:_,internalAuthTokenProvider:t,headers:N}),params:O,data:F})}function w({token:S,jwtToken:_,manifestId:R,exceptionId:O,headers:F}){return e({url:`/manifests/${R}/capacity-exceptions/${O}`,method:"delete",headers:B({token:S,jwtToken:_,internalAuthTokenProvider:t,headers:F})})}function D({token:S,jwtToken:_,manifestId:R,query:O={},data:F,headers:N}){return e({url:`/manifests/${R}/comments`,method:"put",headers:B({token:S,jwtToken:_,internalAuthTokenProvider:t,headers:N}),params:O,data:F})}function W({token:S,jwtToken:_,manifestId:R,query:O={},data:F,headers:N}){return e({url:`/manifests/${R}/status`,method:"put",headers:B({token:S,jwtToken:_,internalAuthTokenProvider:t,headers:N}),params:O,data:F})}function I({token:S,jwtToken:_,manifestKey:R,query:O={},headers:F}){return e({url:`/manifests/${R}/sales-authorizations`,method:"get",params:O,headers:B({token:S,jwtToken:_,internalAuthTokenProvider:t,headers:F})})}let re={create({token:S,jwtToken:_,query:R={},headers:O,data:F,manifestId:N,legFromId:J}){return e({url:`/manifests/${N}/checkin/${J}`,method:"post",headers:B({token:S,jwtToken:_,internalAuthTokenProvider:t,headers:O}),params:R,data:F})},open({token:S,jwtToken:_,query:R={},headers:O,manifestId:F,legFromId:N}){return e({url:`/manifests/${F}/checkin/${N}`,method:"patch",headers:B({token:S,jwtToken:_,internalAuthTokenProvider:t,headers:O}),params:R,data:{operation:{name:"open_check_in"}}})},close({token:S,jwtToken:_,query:R={},headers:O,manifestId:F,legFromId:N}){return e({url:`/manifests/${F}/checkin/${N}`,method:"patch",headers:B({token:S,jwtToken:_,internalAuthTokenProvider:t,headers:O}),params:R,data:{operation:{name:"close_check_in"}}})}},Ue={update({token:S,jwtToken:_,data:R,query:O={},headers:F,manifestId:N,legFromId:J}){return e({url:`/manifests/${N}/legs/${J}`,method:"put",headers:B({token:S,jwtToken:_,internalAuthTokenProvider:t,headers:F}),params:O,data:R})},tickets:{update({token:S,jwtToken:_,data:R,query:O={},headers:F,manifestId:N,legFromId:J,ticketId:we}){return e({url:`/manifests/${N}/legs/${J}/tickets/${we}`,method:"put",headers:B({token:S,jwtToken:_,internalAuthTokenProvider:t,headers:F}),params:O,data:R})},noshow({token:S,jwtToken:_,query:R={},headers:O,manifestId:F,legFromId:N,ticketId:J}){return e({url:`/manifests/${F}/legs/${N}/tickets/${J}/noshow`,method:"put",headers:B({token:S,jwtToken:_,internalAuthTokenProvider:t,headers:O}),params:R})}}},Be={get({token:S,jwtToken:_,query:R={},responseType:O="json",id:F,headers:N}){return e({url:`/manifests/${F}/reports`,method:"get",responseType:O,params:R,headers:B({token:S,jwtToken:_,internalAuthTokenProvider:t,headers:N})})}},se={add({token:S,jwtToken:_,manifestId:R,query:O={},headers:F,data:N}){return e({url:`/manifests/${R}/labels`,method:"post",headers:B({token:S,jwtToken:_,internalAuthTokenProvider:t,headers:F}),params:O,data:N})},remove({token:S,jwtToken:_,manifestId:R,labelId:O,headers:F}){return e({url:`/manifests/${R}/labels/${O}`,method:"delete",headers:B({token:S,jwtToken:_,internalAuthTokenProvider:t,headers:F})})}},ae={add({token:S,jwtToken:_,manifestId:R,query:O={},headers:F}){return e({url:`/manifests/${R}/trip-close`,method:"post",headers:B({token:S,jwtToken:_,internalAuthTokenProvider:t,headers:F}),params:O})}},H={update({token:S,jwtToken:_,manifestId:R,query:O={bypassValidation:!1},headers:F,data:N}){return e({url:`/manifests/${R}/driver-relays`,method:"put",headers:B({token:S,jwtToken:_,internalAuthTokenProvider:t,headers:F}),params:O,data:N})}},C={update({token:S,jwtToken:_,manifestKey:R,manifestException:O,headers:F,query:N={}}){return e({url:`/manifests/${R}/manifests-exceptions`,method:"put",headers:B({token:S,jwtToken:_,internalAuthTokenProvider:t,headers:F}),params:N,data:{manifestException:O}})}};function z({token:S,jwtToken:_,headers:R,manifestId:O,stationId:F,data:N,query:J}){return e({url:`/manifests/${O}/boarding/${F}`,method:"post",headers:B({token:S,jwtToken:_,internalAuthTokenProvider:t,headers:R}),data:N,params:J})}function j({token:S,jwtToken:_,headers:R,manifestId:O,stationId:F,data:N,query:J}){return e({url:`/manifests/${O}/dispatch/${F}`,method:"post",headers:B({token:S,jwtToken:_,internalAuthTokenProvider:t,headers:R}),data:N,params:J})}function V({token:S,jwtToken:_,headers:R,manifestId:O,stationId:F,data:N,query:J}){return e({url:`/manifests/${O}/sales-closure/${F}`,method:"post",headers:B({token:S,jwtToken:_,internalAuthTokenProvider:t,headers:R}),data:N,params:J})}return{get:i,getAll:d,getById:a,itemCapacityOverLimit:r,itemCapacityUsed:s,outlook:p,patch:f,save:l,addUser:q,removeUser:y,updateComment:D,updateStatus:W,addCapacityException:b,removeCapacityException:w,getFareCapacityLimits:g,updateFareCapacityLimits:x,dispatch:o,updateDispatchReporting:c,createDispatchReporting:n,statusBulkUpdate:u,getSalesAuthorizations:I,manifestsExceptions:C,checkIn:re,legs:Ue,reports:Be,labels:se,driverRelays:H,tripClose:ae,stationBoarding:z,stationDispatch:j,stationSalesClosure:V}}vd.exports=Ex});var kd=m((hE,Td)=>{var{authorizationHeaders:Rx}=h();function _x({client:e,internalAuthTokenProvider:t}){function n({token:c,jwtToken:o,ticketId:i,params:r,headers:s}){return e({url:`/manifest-leg-for-tickets/${i}`,headers:Rx({token:c,jwtToken:o,internalAuthTokenProvider:t,headers:s}),params:r})}return{get:n}}Td.exports=_x});var ep=m((gE,Ad)=>{var{authorizationHeaders:zx}=h();function Hx({client:e,internalAuthTokenProvider:t}){function n({token:c,jwtToken:o,movement:i,query:r={},headers:s}){return e({url:"/movements",method:"post",params:r,headers:zx({token:c,jwtToken:o,internalAuthTokenProvider:t,headers:s}),data:i})}return{create:n}}Ad.exports=Hx});var rp=m((yE,tp)=>{var{authorizationHeaders:Cx}=h();function jx({client:e,internalAuthTokenProvider:t}){function n({token:c,jwtToken:o,query:i={},headers:r}){return e({url:"/outlook-trips",headers:Cx({token:c,jwtToken:o,internalAuthTokenProvider:t,headers:r}),params:i})}return{get:n}}tp.exports=jx});var ap=m((bE,sp)=>{var{authorizationHeaders:us}=h();function Dx({client:e,internalAuthTokenProvider:t}){function n({token:i,jwtToken:r,payment:s,headers:a}){return e({method:"post",url:"/pago-express/info",data:{payment:s},headers:us({token:i,jwtToken:r,internalAuthTokenProvider:t,headers:a})})}function c({token:i,jwtToken:r,payment:s,headers:a}){return e({method:"post",url:"/pago-express/pay",data:{payment:s},headers:us({token:i,jwtToken:r,internalAuthTokenProvider:t,headers:a})})}function o({token:i,jwtToken:r,reversePayment:s,headers:a}){return e({method:"post",url:"/pago-express/reverse",data:{reversePayment:s},headers:us({token:i,jwtToken:r,internalAuthTokenProvider:t,headers:a})})}return{info:n,pay:c,reverse:o}}sp.exports=Dx});var cp=m(($E,up)=>{function op(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var c=Object.getOwnPropertySymbols(e);t&&(c=c.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),n.push.apply(n,c)}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(c){Nx(e,c,n[c])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):op(Object(n)).forEach(function(c){Object.defineProperty(e,c,Object.getOwnPropertyDescriptor(n,c))})}return e}function Nx(e,t,n){return(t=Ux(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Ux(e){var t=Bx(e,"string");return typeof t=="symbol"?t:t+""}function Bx(e,t){if(typeof e!="object"||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var c=n.call(e,t||"default");if(typeof c!="object")return c;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}var{authorizationHeaders:Vt}=h();function Lx({client:e,internalAuthTokenProvider:t}){function n({token:s,jwtToken:a,id:u,headers:d}){return e({url:`/parcels/${u}`,headers:Vt({token:s,jwtToken:a,internalAuthTokenProvider:t,headers:d})})}function c({token:s,jwtToken:a,query:u={},headers:d,providerId:p}){let f=p?np(np({},u),{},{providerId:p}):u;return e({url:"/parcels",params:f,headers:Vt({token:s,jwtToken:a,internalAuthTokenProvider:t,headers:d})})}function o({token:s,jwtToken:a,id:u,operationType:d,locationData:p,headers:f}){return e({url:`/parcels/${u}/scans`,method:"post",headers:Vt({token:s,jwtToken:a,internalAuthTokenProvider:t,headers:f}),data:{operationType:d,locationData:p}})}function i({token:s,jwtToken:a,headers:u,id:d,comment:p}){return e({url:`/parcels/${d}/user-comments`,method:"post",headers:Vt({token:s,jwtToken:a,internalAuthTokenProvider:t,headers:u}),data:{comment:p}})}function r({token:s,jwtToken:a,headers:u,id:d,commentId:p}){return e({url:`/parcels/${d}/user-comments/${p}`,method:"delete",headers:Vt({token:s,jwtToken:a,internalAuthTokenProvider:t,headers:u})})}return{get:n,all:c,addScan:o,addComment:i,deleteComment:r}}up.exports=Lx});var dp=m((xE,ip)=>{var{authorizationHeaders:Qe}=h();function Mx({client:e,internalAuthTokenProvider:t}){function n({token:s,jwtToken:a,query:u,headers:d}){return e({url:"/parcels-manifests",headers:Qe({token:s,jwtToken:a,internalAuthTokenProvider:t,headers:d}),params:u})}function c({token:s,jwtToken:a,id:u,format:d,headers:p}){return e({url:`/parcels-manifests/${u}`,method:"get",headers:Qe({token:s,jwtToken:a,internalAuthTokenProvider:t,headers:p}),params:d!=null?{format:d}:void 0})}function o({token:s,jwtToken:a,query:u={},data:d,headers:p}){return e({url:"/parcels-manifests",method:"post",headers:Qe({token:s,jwtToken:a,internalAuthTokenProvider:t,headers:p}),params:u,data:d})}return{all:n,get:c,create:o,parcels:{remove({token:s,jwtToken:a,manifestId:u,parcelId:d,headers:p}){return e({url:`/parcels-manifests/${u}/parcels/${d}`,method:"delete",headers:Qe({token:s,jwtToken:a,internalAuthTokenProvider:t,headers:p})})},create({token:s,jwtToken:a,manifestId:u,query:d={},data:p,headers:f}){return e({url:`/parcels-manifests/${u}/parcels`,method:"post",headers:Qe({token:s,jwtToken:a,internalAuthTokenProvider:t,headers:f}),params:d,data:p})}},vehicles:{createOrUpdate({token:s,jwtToken:a,manifestId:u,query:d={},data:p,headers:f}){return e({url:`/parcels-manifests/${u}/vehicles`,method:"post",headers:Qe({token:s,jwtToken:a,internalAuthTokenProvider:t,headers:f}),params:d,data:{parcelManifestVehicle:p}})}}}}ip.exports=Mx});var fp=m((qE,pp)=>{var{authorizationHeaders:Er}=h();function Ix({client:e,internalAuthTokenProvider:t}){function n({token:r,jwtToken:s,query:a,headers:u}){return e({url:"/passenger-check-in-info",headers:Er({token:r,jwtToken:s,internalAuthTokenProvider:t,headers:u}),params:a})}function c({token:r,jwtToken:s,id:a,headers:u}){return e({url:`/passenger-check-in-info/${a}`,method:"get",headers:Er({token:r,jwtToken:s,internalAuthTokenProvider:t,headers:u})})}function o({token:r,jwtToken:s,id:a,data:u,headers:d,query:p}){return e({url:`/passenger-check-in-info/${a}`,method:"put",params:p,headers:Er({token:r,jwtToken:s,internalAuthTokenProvider:t,headers:d}),data:u})}function i({token:r,jwtToken:s,query:a={},data:u,headers:d}){return e({url:"/passenger-check-in-info",method:"post",headers:Er({token:r,jwtToken:s,internalAuthTokenProvider:t,headers:d}),params:a,data:u})}return{all:n,get:c,update:o,create:i}}pp.exports=Ix});var lp=m((wE,mp)=>{var{authorizationHeaders:cs}=h();function Vx({client:e,internalAuthTokenProvider:t}){function n({token:i,jwtToken:r,redemption:s,headers:a}){return e({url:"/redemptions",method:"post",headers:cs({token:i,jwtToken:r,internalAuthTokenProvider:t,headers:a}),data:s})}function c({token:i,jwtToken:r,passId:s,timezone:a,headers:u}){return e({url:`/redemptions/validate/${s}`,params:{timezone:a},method:"get",headers:cs({token:i,jwtToken:r,internalAuthTokenProvider:t,headers:u})})}function o({token:i,jwtToken:r,data:s,headers:a}){return e({url:"/unredeem",method:"post",headers:cs({token:i,jwtToken:r,internalAuthTokenProvider:t,headers:a}),data:s})}return{create:n,getValidate:c,unredeem:o}}mp.exports=Vx});var yp=m((OE,gp)=>{var{authorizationHeaders:hp}=h();function Kx({client:e,internalAuthTokenProvider:t}){return{manifestForecasts:{all({token:c,jwtToken:o,query:i={},headers:r}){return e.get("/rms/manifest-forecast",{params:i,headers:hp({token:c,jwtToken:o,internalAuthTokenProvider:t,headers:r})})},get({scheduleId:c,token:o,jwtToken:i,query:r={},headers:s}){return e.get(`/rms/manifest-forecast/${c}`,{params:r,headers:hp({token:o,jwtToken:i,internalAuthTokenProvider:t,headers:s})})}}}}gp.exports=Kx});var $p=m((FE,bp)=>{var{authorizationHeaders:Kt}=h();function Wx({client:e,internalAuthTokenProvider:t}){function n({token:s,jwtToken:a,query:u,headers:d}){return e({url:"/scheduled-notifications",headers:Kt({token:s,jwtToken:a,internalAuthTokenProvider:t,headers:d}),params:u})}function c({token:s,jwtToken:a,id:u,headers:d}){return e({url:`/scheduled-notifications/${u}`,method:"get",headers:Kt({token:s,jwtToken:a,internalAuthTokenProvider:t,headers:d})})}function o({token:s,jwtToken:a,id:u,data:d,headers:p,query:f}){return e({url:`/scheduled-notifications/${u}`,method:"put",params:f,headers:Kt({token:s,jwtToken:a,internalAuthTokenProvider:t,headers:p}),data:d})}function i({token:s,jwtToken:a,id:u,headers:d}){return e({url:`/scheduled-notifications/${u}`,method:"delete",headers:Kt({token:s,jwtToken:a,internalAuthTokenProvider:t,headers:d})})}function r({token:s,jwtToken:a,query:u={},data:d,headers:p}){return e({url:"/scheduled-notifications",method:"post",headers:Kt({token:s,jwtToken:a,internalAuthTokenProvider:t,headers:p}),params:u,data:d})}return{all:n,get:c,update:o,remove:i,create:r}}bp.exports=Wx});var qp=m((SE,xp)=>{var{authorizationHeaders:Jx}=h();function Xx({client:e,internalAuthTokenProvider:t}){function n({token:c,jwtToken:o,productId:i,ticketId:r,providerId:s,headers:a}){return e({url:`/products/${i}/segments/${r}`,headers:Jx({token:c,jwtToken:o,internalAuthTokenProvider:t,headers:a}),params:{providerId:s}})}return{all:n}}xp.exports=Xx});var Op=m((EE,wp)=>{var{authorizationHeaders:Gx}=h();function Zx({client:e,internalAuthTokenProvider:t}){function n({token:c,jwtToken:o,query:i={},headers:r}){return e.get("/sold-items/fulfillment",{params:i,headers:Gx({token:c,jwtToken:o,internalAuthTokenProvider:t,headers:r})})}return{all:n}}wp.exports=Zx});var Ep=m((RE,Sp)=>{var{authorizationHeaders:Fp}=h();function Qx({client:e,internalAuthTokenProvider:t}){function n({token:o,jwtToken:i,soldItemId:r,headers:s,query:a}){return e.get(`/sold-items/${r}`,{params:a,headers:Fp({token:o,jwtToken:i,internalAuthTokenProvider:t,headers:s})})}function c({token:o,jwtToken:i,headers:r,query:s}){return e.get("/sold-items",{params:s,headers:Fp({token:o,jwtToken:i,internalAuthTokenProvider:t,headers:r})})}return{all:c,get:n}}Sp.exports=Qx});var Hp=m((_E,zp)=>{function Rp(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var c=Object.getOwnPropertySymbols(e);t&&(c=c.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),n.push.apply(n,c)}return n}function _p(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?Rp(Object(n),!0).forEach(function(c){Yx(e,c,n[c])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Rp(Object(n)).forEach(function(c){Object.defineProperty(e,c,Object.getOwnPropertyDescriptor(n,c))})}return e}function Yx(e,t,n){return(t=vx(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function vx(e){var t=Px(e,"string");return typeof t=="symbol"?t:t+""}function Px(e,t){if(typeof e!="object"||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var c=n.call(e,t||"default");if(typeof c!="object")return c;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}var{authorizationHeaders:Ye}=h();function Tx({client:e,internalAuthTokenProvider:t}){function n({token:a,jwtToken:u,id:d,headers:p,query:f}){return e({url:`/tickets/${d}`,method:"get",params:f,headers:Ye({token:a,jwtToken:u,internalAuthTokenProvider:t,headers:p})})}function c({token:a,jwtToken:u,id:d,operations:p,warningsEnabled:f,headers:l}){return e({url:`/tickets/${d}`,method:"patch",headers:Ye({token:a,jwtToken:u,internalAuthTokenProvider:t,headers:l}),data:{operations:p,warningsEnabled:f}})}function o({token:a,jwtToken:u,ticketId:d,headers:p}){return e({url:`/tickets/${d}/companion-tickets`,headers:Ye({token:a,jwtToken:u,headers:p})})}function i({token:a,jwtToken:u,query:d={},headers:p,providerId:f}){let l=f?_p(_p({},d),{},{providerId:f}):d;return e({url:"/tickets",params:l,headers:Ye({token:a,jwtToken:u,internalAuthTokenProvider:t,headers:p})})}function r({token:a,jwtToken:u,ticketId:d,data:p,headers:f}){return e({url:`/tickets/${d}/delivery`,method:"put",headers:Ye({token:a,jwtToken:u,internalAuthTokenProvider:t,headers:f}),data:p})}function s({token:a,jwtToken:u,ticketId:d,data:p,headers:f}){return e({url:`/tickets/${d}/passenger`,method:"put",headers:Ye({token:a,jwtToken:u,internalAuthTokenProvider:t,headers:f}),data:p})}return{get:n,all:i,patch:c,companionTickets:o,updateDelivery:r,updatePassenger:s}}zp.exports=Tx});var jp=m((zE,Cp)=>{var{authorizationHeaders:kx}=h();function Ax({client:e,internalAuthTokenProvider:t}){function n({token:c,jwtToken:o,id:i,providerId:r,headers:s}){return e({url:`/transaction/${i}?providerId=${r}`,headers:kx({token:c,jwtToken:o,internalAuthTokenProvider:t,headers:s})})}return{get:n}}Cp.exports=Ax});var Np=m((HE,Dp)=>{var{authorizationHeaders:ue}=h();function eq({client:e,internalAuthTokenProvider:t}){function n({token:l,jwtToken:q,trxId:y,query:b,headers:g}){return e({url:`/transactions/${y}`,headers:ue({token:l,jwtToken:q,internalAuthTokenProvider:t,headers:g}),params:b})}function c({token:l,jwtToken:q,query:y,headers:b}){return e({url:"/transactions",headers:ue({token:l,jwtToken:q,internalAuthTokenProvider:t,headers:b}),params:y})}function o({token:l,jwtToken:q,trxId:y,headers:b}){return e({url:`/transactions/${y}/tickets`,headers:ue({token:l,jwtToken:q,internalAuthTokenProvider:t,headers:b})})}function i({token:l,jwtToken:q,trxId:y,headers:b}){return e({url:`/transactions/${y}/applied-insurance`,headers:ue({token:l,jwtToken:q,internalAuthTokenProvider:t,headers:b})})}function r({token:l,jwtToken:q,transactionId:y,ticketIds:b,headers:g}){return e({url:`/transactions/${y}/companion-tickets`,params:{ticketIds:b.join(",")},headers:ue({token:l,jwtToken:q,internalAuthTokenProvider:t,headers:g})})}function s({jwtToken:l,transactionId:q,allEligibleTransactions:y,avoidEmail:b,token:g,headers:x}){let w={name:"expire_payment",avoidEmail:b,transactionIds:[q]};return y&&delete w.transactionIds,e({url:"/transactions/status",method:"patch",params:{},headers:ue({internalAuthTokenProvider:t,jwtToken:l,token:g,headers:x}),data:{operation:w}})}function a({token:l,jwtToken:q,transactionId:y,headers:b,displayAll:g,channel:x}){return e({url:`/transactions/${y}/cancellable-items`,params:{displayAll:!!g,channel:x||""},headers:ue({token:l,jwtToken:q,internalAuthTokenProvider:t,headers:b})})}let u={update({token:l,jwtToken:q,trxId:y,paymentResult:b,headers:g}){return e({url:`/transactions/${y}/payments`,method:"put",headers:ue({token:l,jwtToken:q,internalAuthTokenProvider:t,headers:g}),data:{paymentResult:b}})}},d={create({token:l,jwtToken:q,transactionId:y,query:b,invoice:g,headers:x}){return e({url:`/transactions/${y}/invoices`,method:"post",headers:ue({token:l,jwtToken:q,internalAuthTokenProvider:t,headers:x}),params:b,data:g})}},p={create({token:l,jwtToken:q,transactionId:y,query:b,creditNote:g,headers:x}){return e({url:`/transactions/${y}/credit-notes`,method:"post",headers:ue({token:l,jwtToken:q,internalAuthTokenProvider:t,headers:x}),params:b,data:g})}};function f({token:l,jwtToken:q,trxId:y,data:b,headers:g}){return e({url:`/transactions/${y}/delivery`,method:"put",headers:ue({token:l,jwtToken:q,internalAuthTokenProvider:t,headers:g}),data:b})}return{all:c,get:n,getTickets:o,appliedInsurance:i,companionTickets:r,expireAll:s,updateDelivery:f,cancellableItems:a,payments:u,invoices:d,creditNotes:p}}Dp.exports=eq});var Bp=m((CE,Up)=>{var{authorizationHeaders:tq}=h();function rq({client:e,internalAuthTokenProvider:t}){function n({token:c,jwtToken:o,productId:i,params:r,headers:s}){return e({url:`/trip-change-info/${i}`,headers:tq({token:c,jwtToken:o,internalAuthTokenProvider:t,headers:s}),params:r})}return{get:n}}Up.exports=rq});var Ip=m((jE,Mp)=>{var{authorizationHeaders:Lp}=h();function sq({client:e,internalAuthTokenProvider:t}){function n({token:o,jwtToken:i,headers:r}){return e({url:"/cancellation-settings",method:"get",headers:Lp({token:o,jwtToken:i,internalAuthTokenProvider:t,headers:r})})}function c({token:o,jwtToken:i,data:r,headers:s}){return e({url:"/cancellation-settings",method:"put",headers:Lp({token:o,jwtToken:i,internalAuthTokenProvider:t,headers:s}),data:r})}return{get:n,update:c}}Mp.exports=sq});var Kp=m((DE,Vp)=>{var{authorizationHeaders:Rr}=h();function aq({client:e,internalAuthTokenProvider:t}){return{all({token:n,jwtToken:c,query:o={},headers:i}){return e({url:"/vehicle-assignments",params:o,headers:Rr({token:n,jwtToken:c,internalAuthTokenProvider:t,headers:i})})},get({token:n,jwtToken:c,vehicleAssignmentId:o,headers:i}){return e.get(`/vehicle-assignments/${o}`,{headers:Rr({token:n,jwtToken:c,internalAuthTokenProvider:t,headers:i})})},create({data:n,token:c,jwtToken:o,headers:i}){return e({url:"/vehicle-assignments",method:"post",headers:Rr({token:c,jwtToken:o,internalAuthTokenProvider:t,headers:i}),data:n})},update({vehicleAssignmentId:n,data:c,token:o,jwtToken:i,headers:r}){return e({url:`/vehicle-assignments/${n}`,method:"put",headers:Rr({token:o,jwtToken:i,internalAuthTokenProvider:t,headers:r}),data:c})}}}Vp.exports=aq});var Xp=m((NE,Jp)=>{var{authorizationHeaders:Wp}=h();function oq({client:e,internalAuthTokenProvider:t}){function n({jwtToken:o,token:i,headers:r,query:s={},voucher:a={}}){return e({url:"/vouchers",method:"POST",params:s,data:a,headers:Wp({jwtToken:o,token:i,internalAuthTokenProvider:t,headers:r})})}function c({token:o,jwtToken:i,compensation:r,query:s={},headers:a}){return e({url:"/vouchers/compensations",method:"post",params:s,headers:Wp({token:o,jwtToken:i,internalAuthTokenProvider:t,headers:a}),data:r})}return{create:n,compensations:{create:c}}}Jp.exports=oq});var Zp=m((UE,Gp)=>{var{authorizationHeaders:_r}=h();function nq({client:e,internalAuthTokenProvider:t}){function n({token:r,jwtToken:s,query:a,headers:u}){return e({url:"/waitlists",headers:_r({token:r,jwtToken:s,internalAuthTokenProvider:t,headers:u}),params:a})}function c({token:r,jwtToken:s,waitlistId:a,headers:u}){return e({url:`/waitlists/${a}`,method:"get",headers:_r({token:r,jwtToken:s,internalAuthTokenProvider:t,headers:u})})}function o({token:r,jwtToken:s,waitlistId:a,headers:u}){return e({url:`/waitlists/${a}`,method:"delete",headers:_r({token:r,jwtToken:s,internalAuthTokenProvider:t,headers:u})})}function i({token:r,jwtToken:s,data:a,headers:u}){return e({url:"/waitlists",method:"post",headers:_r({token:r,jwtToken:s,internalAuthTokenProvider:t,headers:u}),data:a})}return{all:n,get:c,remove:o,create:i}}Gp.exports=nq});var Yp=m((BE,Qp)=>{var{authorizationHeaders:uq}=h();function cq({client:e,internalAuthTokenProvider:t}){return{cnrt:{create({data:c,token:o,jwtToken:i,headers:r}){return e({url:"/transport-regulations/cnrt/manifests",method:"post",headers:uq({token:o,jwtToken:i,internalAuthTokenProvider:t,headers:r}),data:c})}}}}Qp.exports=cq});var Tp=m((LE,Pp)=>{var{authorizationHeaders:vp}=h();function iq({client:e,internalAuthTokenProvider:t}){function n({token:o,jwtToken:i,id:r,headers:s}){return e({url:`/types/${r}`,headers:vp({token:o,jwtToken:i,internalAuthTokenProvider:t,headers:s})})}function c({token:o,jwtToken:i,name:r,headers:s}){return e({url:`/types?name=${r}`,headers:vp({token:o,jwtToken:i,internalAuthTokenProvider:t,headers:s})})}return{get:n,getByName:c}}Pp.exports=iq});var Ap=m((ME,kp)=>{var{authorizationHeaders:Wt}=h();function dq({client:e,internalAuthTokenProvider:t}){function n({token:s,customReport:a,jwtToken:u,headers:d}){return e({url:"/custom-reports",method:"post",headers:Wt({token:s,jwtToken:u,internalAuthTokenProvider:t,headers:d}),data:{customReport:a}})}function c({token:s,jwtToken:a,query:u={},headers:d}){return e({url:"/custom-reports",params:u,headers:Wt({token:s,jwtToken:a,internalAuthTokenProvider:t,headers:d})})}function o({token:s,jwtToken:a,customReportId:u,headers:d}){return e({url:`/custom-report/${u}`,headers:Wt({token:s,jwtToken:a,internalAuthTokenProvider:t,headers:d})})}function i({token:s,jwtToken:a,customReportId:u,customReport:d,headers:p}){return e({url:`/custom-reports/${u}`,method:"put",headers:Wt({token:s,jwtToken:a,internalAuthTokenProvider:t,headers:p}),data:{customReport:d}})}function r({token:s,jwtToken:a,customReportId:u,headers:d}){return e({url:`/custom-reports/${u}`,method:"delete",headers:Wt({token:s,jwtToken:a,internalAuthTokenProvider:t,headers:d})})}return{create:n,all:c,get:o,update:i,remove:r}}kp.exports=dq});var tf=m((IE,ef)=>{var{authorizationHeaders:pq}=h();function fq({client:e,internalAuthTokenProvider:t}){function n({token:c,jwtToken:o,report:i,headers:r}){return e({url:"/email",method:"post",data:i,headers:pq({token:c,jwtToken:o,internalAuthTokenProvider:t,headers:r})})}return{post:n}}ef.exports=fq});var sf=m((VE,rf)=>{var{authorizationHeaders:mq}=h();function lq({client:e,internalAuthTokenProvider:t}){function n({token:c,jwtToken:o,query:i={},headers:r}){return e({url:"/trip-manifests",params:i,headers:mq({token:c,jwtToken:o,internalAuthTokenProvider:t,headers:r})})}return{all:n}}rf.exports=lq});var nf=m((KE,of)=>{var{authorizationHeaders:af}=h();function hq({client:e,internalAuthTokenProvider:t}){function n({token:o,jwtToken:i,query:r={},data:s,headers:a}){return e({url:"/manifest-notifications",method:"post",params:r,data:s,headers:af({token:o,jwtToken:i,internalAuthTokenProvider:t,headers:a})})}function c({token:o,query:i={},headers:r}){return e.get("/manifest-notifications",{params:i,headers:af({token:o,internalAuthTokenProvider:t,headers:r})})}return{create:n,all:c}}of.exports=hq});var cf=m((WE,uf)=>{var{authorizationHeaders:gq}=h();function yq({client:e,internalAuthTokenProvider:t}){function n({token:c,jwtToken:o,responseType:i="json",trxId:r,lang:s,date:a,channel:u,headers:d}){return e({url:"/printed-tickets",params:{trxId:r,lang:s,date:a,channel:u},responseType:i,headers:gq({token:c,jwtToken:o,internalAuthTokenProvider:t,headers:d})})}return{get:n}}uf.exports=yq});var pf=m((JE,df)=>{var{authorizationHeaders:bq}=h();function $q({client:e,internalAuthTokenProvider:t}){function n({token:c,jwtToken:o,query:i={},itemId:r,headers:s,responseType:a}){let u=`/pdf-tickets/${r}`;if(i.type==="product")switch(i.family){case"ticket":u=`/pdf-tickets/${r}`;break;case"reservation":u=`/pdf-reservations/${r}`;break;case"paid in":u=`/pdf-paid-ins/${r}`;break;case"paid out":u=`/pdf-paid-outs/${r}`;break;case"parcel":u=`/pdf-parcels/${r}`;break;case"flexpass":u=`/pdf-flexpasses/${r}`;break;case"bundle":case"open-return":u=`/pdf-redeemable-items/${r}`;break;default:break}return i.type==="giftCertificate"&&(u=`/pdf-gift-certificates/${r}`),i.type==="voucher"&&(u=`/pdf-vouchers/${r}`),i.type==="transaction"&&(u=`/pdf-transactions/${r}`),i.type==="ssr"&&(u=`/pdf-ssrs/${r}`),i.type==="manifest"&&(u=`/pdf-manifests/${r}`),i.type==="passengersManifest"&&(u=`/pdf-passengers-manifests/${r}`),i.type==="order"&&(u=`/pdf-orders/${r}`),i.type==="shift"&&(u=`/pdf-shifts/${r}`),i.type==="remainderSlip"&&(u=`/pdf-remainder-slip/${r}`),i.type==="exchange"&&(u=`/pdf-exchanges/${r}`),i.type==="invoice"&&(u=`/pdf-invoices/${r}`),i.type==="locationClosure"&&(u=`/pdf-location-closures/${r}`),i.type==="parcelManifest"&&(u=`/pdf-parcels-manifests/${r}`),i.type==="startingBalance"&&(u=`/pdf-starting-balance/${r}`),i.type==="partialShiftDeposits"&&(u=`/pdf-partial-shift-deposits-id/${r}`),i.type==="shiftLocationClosure"&&(u=`/pdf-shift-location-closures/${r}`),i.type==="bankDepositSlip"&&(u=`/pdf-bank-deposit-slips/${r}`),i.type==="terminalVoucher"&&(u=`/pdf-terminal-voucher/${r}`),i.type==="manualTickets"&&(u=`/pdf-manual-tickets/${r}`),i.type==="externalWalletVoucher"&&(u=`/pdf-external-wallet-voucher/${r}`),e.get(u,{params:i,responseType:a||"blob",headers:bq({token:c,jwtToken:o,internalAuthTokenProvider:t,headers:s})})}return{get:n}}df.exports=$q});var mf=m((XE,ff)=>{var{authorizationHeaders:xq}=h();function qq({client:e,internalAuthTokenProvider:t}){function n({token:c,jwtToken:o,query:i={},itemId:r,headers:s}){let a=`/pdf-tickets/${r}`;if(i.type==="product")switch(i.family){case"ticket":a=`/pdf-tickets/${r}`;break;case"reservation":a=`/pdf-reservations/${r}`;break;case"paid in":a=`/pdf-paid-ins/${r}`;break;case"paid out":a=`/pdf-paid-outs/${r}`;break;case"parcel":a=`/pdf-parcels/${r}`;break;case"flexpass":a=`/pdf-flexpasses/${r}`;break;case"bundle":case"open-return":a=`/pdf-redeemable-items/${r}`;break;default:break}return(i.type==="pre_trip_notification"||i.type==="post_trip_notification")&&(a=`/queue-notifications/manifest-notification-data/${r}`),i.type==="parcel_confirmation"&&(a=`/pdf-parcels/${r}`),i.type==="redeemable_items_confirmation"&&(a=`/pdf-redeemable-items/${r}`),i.type==="sold_item_confirmation"&&(a=`/pdf-paid-ins/${r}`),(i.type==="customer_card_membership"||i.type==="scanning_badge"||i.type==="customer_activation"||i.type==="customer_activation_mobile"||i.type==="customer_password_reset"||i.type==="customer_password_reset_mobile")&&(a=`/pdf-customer/${r}`),(i.type==="giftCertificate"||i.type==="gift_certificate_notification")&&(a=`/pdf-gift-certificates/${r}`),i.type==="user_password_reset"&&(a=`/pdf-users/${r}`),(i.type==="voucher"||i.type==="voucher_notification"||i.type==="compensation_voucher")&&(a=`/pdf-vouchers/${r}`),(i.type==="new_account"||i.type==="new_seller_account"||i.type==="interline_provider_invite")&&(a=`/pdf-accounts/${r}`),(i.type==="transaction"||i.type==="operator_purchase"||i.type==="operator_ssr")&&(a=`/pdf-transactions/${r}`),i.type==="ssr"&&(a=`/pdf-ssrs/${r}`),i.type==="passengersManifest"&&(a=`/pdf-passengers-manifests/${r}`),(i.type==="reaccomodation"||i.type==="ticket_movement")&&(a=`/pdf-tickets/${r}`),(i.type==="manifest"||i.type==="manifest_notification"||i.type==="operator_manifest_capacity")&&(a=`/pdf-manifests/${r}`),["order","order_confirmation","cancellation","change"].includes(i.type)&&(a=`/pdf-orders/${r}`),i.type==="shift"&&(a=`/pdf-shifts/${r}`),i.type==="remainderSlip"&&(a=`/pdf-remainder-slip/${r}`),i.type==="exchange"&&(a=`/pdf-exchanges/${r}`),i.type==="invoice"&&(a=`/pdf-invoices/${r}`),i.type==="locationClosure"&&(a=`/pdf-location-closures/${r}`),i.type==="parcelManifest"&&(a=`/pdf-parcels-manifests/${r}`),i.type==="startingBalance"&&(a=`/pdf-starting-balance/${r}`),i.type==="partialShiftDeposits"&&(a=`/pdf-partial-shift-deposits/${r}`),i.type==="shiftLocationClosure"&&(a=`/pdf-shift-location-closures/${r}`),i.type==="bankDepositSlip"&&(a=`/pdf-bank-deposit-slips/${r}`),i.type==="terminalVoucher"&&(a=`/pdf-terminal-voucher/${r}`),i.type==="manualTickets"&&(a=`/pdf-manual-tickets/${r}`),i.type==="externalWalletVoucher"&&(a=`/pdf-external-wallet-voucher/${r}`),e.get(a,{params:i,headers:xq({token:c,jwtToken:o,internalAuthTokenProvider:t,headers:s})})}return{get:n}}ff.exports=qq});var hf=m((GE,lf)=>{var{authorizationHeaders:wq}=h();function Oq({client:e,internalAuthTokenProvider:t}){function n({token:c,jwtToken:o,query:i={},headers:r}){return e({url:"/email",method:"post",params:i,headers:wq({token:c,jwtToken:o,internalAuthTokenProvider:t,headers:r})})}return{create:n}}lf.exports=Oq});var bf=m((ZE,yf)=>{var{authorizationHeaders:gf}=h();function Fq({client:e,internalAuthTokenProvider:t}){function n({token:o,jwtToken:i,query:r={},headers:s}){return e({url:"/customers/reset",method:"post",params:r,headers:gf({token:o,jwtToken:i,internalAuthTokenProvider:t,headers:s})})}function c({token:o,query:i={},data:r,headers:s}){return e({url:"/customers/activation",method:"post",params:i,data:r,headers:gf({token:o,internalAuthTokenProvider:t,headers:s})})}return{sendResetPasswordEmail:n,sendActivationEmail:c}}yf.exports=Fq});var qf=m((QE,xf)=>{var{authorizationHeaders:$f}=h();function Sq({client:e,internalAuthTokenProvider:t}){function n({data:o,token:i,jwtToken:r,headers:s}){return e({url:"/external-customers/ado/registration",method:"post",headers:$f({token:i,jwtToken:r,internalAuthTokenProvider:t,headers:s}),data:o})}function c({token:o,jwtToken:i,walletId:r,headers:s}){return e({url:`/external-customers/ado/external-wallets/${encodeURIComponent(r)}/statements`,method:"post",headers:$f({token:o,jwtToken:i,internalAuthTokenProvider:t,headers:s}),data:{}})}return{requestSaldoMaxVerificationCode:n,sendSaldoMaxStatementEmail:c}}xf.exports=Sq});var Of=m((YE,wf)=>{var{authorizationHeaders:zr}=h();function Eq({client:e,internalAuthTokenProvider:t}){return{phoneNumbers:{all({isocode:n,token:c,jwtToken:o,query:i={},headers:r}){return e.get(`/twilio/phone-numbers/${n}`,{params:i,headers:zr({token:c,jwtToken:o,internalAuthTokenProvider:t,headers:r})})},create({token:n,jwtToken:c,phoneNumberData:o={},headers:i}){return e({url:"/twilio/phone-numbers",method:"post",data:{phoneNumber:o},headers:zr({token:n,jwtToken:c,internalAuthTokenProvider:t,headers:i})})}},sms:{create({token:n,jwtToken:c,smsMsg:o={},headers:i}){return e({url:"/twilio/sms",method:"post",data:{sms:o},headers:zr({token:n,jwtToken:c,internalAuthTokenProvider:t,headers:i})})}},whatsapp:{create({token:n,jwtToken:c,whatsappMsg:o={},headers:i}){return e({url:"/twilio/whatsapp",method:"post",data:{whatsapp:o},headers:zr({token:n,jwtToken:c,internalAuthTokenProvider:t,headers:i})})}}}}wf.exports=Eq});var Ef=m((vE,Sf)=>{var{authorizationHeaders:Ff}=h();function Rq({client:e,internalAuthTokenProvider:t}){return{sms:{create({token:n,jwtToken:c,smsMsg:o={},headers:i}){return e({url:"/salesforce/sms",method:"post",data:{sms:o},headers:Ff({token:n,jwtToken:c,internalAuthTokenProvider:t,headers:i})})},deliveries:{get({token:n,jwtToken:c,tokenId:o,headers:i}){return e({url:`/salesforce/sms/deliveries/${o}`,method:"get",headers:Ff({token:n,jwtToken:c,internalAuthTokenProvider:t,headers:i})})}}}}}Sf.exports=Rq});var zf=m((PE,_f)=>{var{authorizationHeaders:Rf}=h();function _q({client:e,internalAuthTokenProvider:t}){function n({token:o,jwtToken:i,urlData:r,headers:s}){return e({url:"/short-urls",method:"post",headers:Rf({token:o,jwtToken:i,internalAuthTokenProvider:t,headers:s}),data:{urlData:r}})}function c({token:o,shortId:i,maxRedirects:r=0,headers:s}){return e({url:`/u/${encodeURIComponent(i)}`,method:"get",maxRedirects:r,validateStatus:a=>a===302||a>=200&&a<300,headers:Rf({token:o,internalAuthTokenProvider:t,headers:s})})}return{create:n,getByShortId:c}}_f.exports=_q});var Cf=m((TE,Hf)=>{var{authorizationHeaders:le}=h();function zq({client:e,internalAuthTokenProvider:t}){return{emailByType:{create({token:n,jwtToken:c,data:o,headers:i}){return e({url:"/notify/email",method:"post",data:o||{},headers:le({token:n,jwtToken:c,internalAuthTokenProvider:t,headers:i})})}},smsByType:{create({token:n,jwtToken:c,data:o,headers:i}){return e({url:"/notify/sms",method:"post",data:o||{},headers:le({token:n,jwtToken:c,internalAuthTokenProvider:t,headers:i})})}},childUsers:{create({token:n,jwtToken:c,email:o,lang:i,accountId:r,headers:s}){return e({url:"/notify-child-user",method:"post",data:{email:o,lang:i,accountId:r},headers:le({token:n,jwtToken:c,internalAuthTokenProvider:t,headers:s})})}},newSeller:{create({token:n,jwtToken:c,sellerEmail:o,sellerDomain:i,providerAdminEmail:r,lang:s,headers:a}){return e({url:"/notify-new-seller",method:"post",data:{sellerEmail:o,sellerDomain:i,providerAdminEmail:r,lang:s},headers:le({token:n,jwtToken:c,internalAuthTokenProvider:t,headers:a})})}},tickets:{create({token:n,jwtToken:c,query:o,operation:i,to:r,ticketId:s,headers:a}){return e({url:`/notify-tickets/${s}`,method:"post",params:o,data:{to:r,operation:i},headers:le({token:n,jwtToken:c,internalAuthTokenProvider:t,headers:a})})}},vouchers:{create({token:n,jwtToken:c,query:o,data:i,headers:r}){return e({url:"/notify-vouchers",method:"post",params:o,data:i,headers:le({token:n,jwtToken:c,internalAuthTokenProvider:t,headers:r})})}},manifest:{create({token:n,jwtToken:c,data:o,headers:i}){return e({url:"/notify-manifest",method:"post",data:o,headers:le({token:n,jwtToken:c,internalAuthTokenProvider:t,headers:i})})},resend({token:n,jwtToken:c,parentId:o,headers:i}){return e({url:`/notify-manifest/${o}/resend`,method:"post",headers:le({token:n,jwtToken:c,internalAuthTokenProvider:t,headers:i})})}},whatsapp:{create({token:n,jwtToken:c,data:o,headers:i}){return e({url:"/notify/whatsapp",method:"post",data:o||{},headers:le({token:n,jwtToken:c,internalAuthTokenProvider:t,headers:i})})}}}}Hf.exports=zq});var Df=m((kE,jf)=>{var{authorizationHeaders:Hq}=h();function Cq({client:e,internalAuthTokenProvider:t}){function n({token:c,jwtToken:o,query:i={},orderRulesValidation:r,headers:s}){return e({url:"/orders-rules-validations",method:"post",params:i,data:{orderRulesValidation:r},headers:Hq({token:c,jwtToken:o,internalAuthTokenProvider:t,headers:s})})}return{create:n}}jf.exports=Cq});var Lf=m((AE,Bf)=>{function Nf(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var c=Object.getOwnPropertySymbols(e);t&&(c=c.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),n.push.apply(n,c)}return n}function Uf(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?Nf(Object(n),!0).forEach(function(c){jq(e,c,n[c])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Nf(Object(n)).forEach(function(c){Object.defineProperty(e,c,Object.getOwnPropertyDescriptor(n,c))})}return e}function jq(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=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 c=n.call(e,t||"default");if(typeof c!="object")return c;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}var{authorizationHeaders:Uq}=h();function Bq({client:e,internalAuthTokenProvider:t}){function n({token:c,jwtToken:o,formData:i,headers:r}){let s=typeof i.getHeaders=="function"?i.getHeaders():{};return e({url:"/files",method:"post",headers:Uf(Uf({},Uq({token:c,jwtToken:o,internalAuthTokenProvider:t,headers:r})),s),data:i})}return{upload:n}}Bf.exports=Bq});var Kf=m((eR,Vf)=>{function Mf(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var c=Object.getOwnPropertySymbols(e);t&&(c=c.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),n.push.apply(n,c)}return n}function If(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?Mf(Object(n),!0).forEach(function(c){Lq(e,c,n[c])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Mf(Object(n)).forEach(function(c){Object.defineProperty(e,c,Object.getOwnPropertyDescriptor(n,c))})}return e}function Lq(e,t,n){return(t=Mq(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Mq(e){var t=Iq(e,"string");return typeof t=="symbol"?t:t+""}function Iq(e,t){if(typeof e!="object"||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var c=n.call(e,t||"default");if(typeof c!="object")return c;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}var{authorizationHeaders:Vq}=h();function Kq({client:e,internalAuthTokenProvider:t}){function n({token:c,jwtToken:o,formData:i,headers:r}){let s=typeof i.getHeaders=="function"?i.getHeaders():{};return e({url:"/images",method:"post",headers:If(If({},Vq({token:c,jwtToken:o,internalAuthTokenProvider:t,headers:r})),s),data:i})}return{create:n}}Vf.exports=Kq});var Jf=m((tR,Wf)=>{var{authorizationHeaders:is}=h();function Wq({client:e,internalAuthTokenProvider:t}){function n({token:i,context:r,query:s={},headers:a}){let u=Object.assign({},s,{context:r});return e({url:"/programs",params:u,headers:is({token:i,internalAuthTokenProvider:t,headers:a})})}function c({token:i,jwtToken:r,program:s,headers:a}){return e({url:"/programs",method:"post",headers:is({token:i,jwtToken:r,internalAuthTokenProvider:t,headers:a}),data:s})}function o({token:i,jwtToken:r,programId:s,program:a,headers:u}){return e({url:`/programs/${s}`,method:"put",headers:is({token:i,jwtToken:r,internalAuthTokenProvider:t,headers:u}),data:a})}return{all:n,create:c,put:o}}Wf.exports=Wq});var Gf=m((rR,Xf)=>{var{authorizationHeaders:ds}=h();function Jq({client:e,internalAuthTokenProvider:t}){function n({token:i,jwtToken:r,programId:s,query:a={},headers:u}){return e({url:`/programs/${s}/movements`,params:a,headers:ds({token:i,jwtToken:r,internalAuthTokenProvider:t,headers:u})})}function c({token:i,jwtToken:r,programId:s,movement:a,query:u={},headers:d}){return e({url:`/programs/${s}/movements`,method:"post",params:u,headers:ds({token:i,jwtToken:r,internalAuthTokenProvider:t,headers:d}),data:a})}return{all:n,create:c,balance:{get({token:i,jwtToken:r,programId:s,customerId:a,query:u={},headers:d}){return e({url:`/programs/${s}/movements/balance/${a}`,params:u,headers:ds({token:i,jwtToken:r,internalAuthTokenProvider:t,headers:d})})}}}}Xf.exports=Jq});var Qf=m((sR,Zf)=>{var{authorizationHeaders:Jt}=h();function Xq({client:e,internalAuthTokenProvider:t}){function n({token:s,jwtToken:a,context:u,query:d={},headers:p}){let f=Object.assign({},d,{context:u});return e({url:"/subscriptions",params:f,headers:Jt({token:s,jwtToken:a,internalAuthTokenProvider:t,headers:p})})}function c({token:s,jwtToken:a,id:u,headers:d}){return e({url:`/subscriptions/${u}`,method:"get",headers:Jt({token:s,jwtToken:a,internalAuthTokenProvider:t,headers:d})})}function o({token:s,jwtToken:a,subscription:u,headers:d}){return e({url:"/subscriptions",method:"post",headers:Jt({token:s,jwtToken:a,internalAuthTokenProvider:t,headers:d}),data:u})}function i({token:s,jwtToken:a,id:u,subscription:d,headers:p}){return e({url:`/subscriptions/${u}`,method:"put",headers:Jt({token:s,jwtToken:a,internalAuthTokenProvider:t,headers:p}),data:d})}function r({token:s,jwtToken:a,id:u,headers:d}){return e({url:`/subscriptions/${u}`,method:"delete",headers:Jt({token:s,jwtToken:a,internalAuthTokenProvider:t,headers:d})})}return{all:n,create:o,getById:c,put:i,deleteById:r}}Zf.exports=Xq});var vf=m((aR,Yf)=>{var{authorizationHeaders:Gq}=h();function Zq({client:e,internalAuthTokenProvider:t}){function n({token:c,jwtToken:o,context:i,query:r={},headers:s}){let a=Object.assign({},r,{context:i});return e({url:"/events",params:a,headers:Gq({token:c,jwtToken:o,internalAuthTokenProvider:t,headers:s})})}return{all:n}}Yf.exports=Zq});var Tf=m((oR,Pf)=>{var{authorizationHeaders:Ne}=h();function Qq({client:e,internalAuthTokenProvider:t}){function n({token:u,jwtToken:d,context:p,query:f={},headers:l}){let q=Object.assign({},f,{context:p});return e({url:"/undelivered",params:q,headers:Ne({token:u,jwtToken:d,internalAuthTokenProvider:t,headers:l})})}function c({token:u,jwtToken:d,id:p,headers:f}){return e({url:`/undelivered/${p}`,method:"get",headers:Ne({token:u,jwtToken:d,internalAuthTokenProvider:t,headers:f})})}function o({token:u,jwtToken:d,operation:p,headers:f}){return e({url:"/undelivered",method:"patch",headers:Ne({token:u,jwtToken:d,internalAuthTokenProvider:t,headers:f}),data:p})}function i({token:u,jwtToken:d,id:p,headers:f}){return e({url:`/undelivered/${p}/retry`,method:"put",headers:Ne({token:u,jwtToken:d,internalAuthTokenProvider:t,headers:f})})}function r({token:u,jwtToken:d,headers:p}){return e({url:"/undelivered/retry-all",method:"put",headers:Ne({token:u,jwtToken:d,internalAuthTokenProvider:t,headers:p})})}function s({token:u,jwtToken:d,id:p,headers:f}){return e({url:`/undelivered/${p}`,method:"delete",headers:Ne({token:u,jwtToken:d,internalAuthTokenProvider:t,headers:f})})}function a({token:u,jwtToken:d,headers:p}){return e({url:"/undelivered/batch-all",method:"delete",headers:Ne({token:u,jwtToken:d,internalAuthTokenProvider:t,headers:p})})}return{all:n,getById:c,patch:o,resend:i,resendAll:r,deleteById:s,deleteAll:a}}Pf.exports=Qq});var Af=m((nR,kf)=>{var{authorizationHeaders:Yq}=h();function vq({client:e,internalAuthTokenProvider:t}){function n({token:c,jwtToken:o,webhook:i,headers:r}){return e({url:"/emit",method:"post",headers:Yq({token:c,jwtToken:o,internalAuthTokenProvider:t,headers:r}),data:i})}return{emit:n}}kf.exports=vq});var tm=m((uR,em)=>{var{authorizationHeaders:Pq}=h();function Tq({client:e,internalAuthTokenProvider:t}){function n({token:c,jwtToken:o,headers:i}){return e({url:"/access-ticket",method:"post",headers:Pq({token:c,jwtToken:o,internalAuthTokenProvider:t,headers:i})})}return{create:n}}em.exports=Tq});var sm=m((cR,rm)=>{var{authorizationHeaders:kq}=h();function Aq({client:e,internalAuthTokenProvider:t}){function n({token:c,jwtToken:o,params:i,headers:r}){return e({url:"/seat",method:"post",headers:kq({token:c,jwtToken:o,internalAuthTokenProvider:t,headers:r}),params:i})}return{update:n}}rm.exports=Aq});var nm=m((iR,om)=>{var{authorizationHeaders:am}=h();function ew({client:e,internalAuthTokenProvider:t}){function n({token:o,jwtToken:i,query:r={},headers:s}){return e.get("/adyen-payment-methods",{params:r,headers:am({token:o,jwtToken:i,internalAuthTokenProvider:t,headers:s})})}function c({token:o,jwtToken:i,headers:r,data:s}){return e.get("/adyen-terminals",{headers:am({token:o,jwtToken:i,internalAuthTokenProvider:t,headers:r}),data:s})}return{getPaymentMethods:n,getTerminals:c}}om.exports=ew});var cm=m((dR,um)=>{var{authorizationHeaders:Hr}=h();function tw({client:e,internalAuthTokenProvider:t}){function n({token:r,jwtToken:s,query:a,headers:u}){return e.get("/cbs-token",{params:a,headers:Hr({token:r,jwtToken:s,internalAuthTokenProvider:t,headers:u})})}function c({token:r,jwtToken:s,riskEvaluation:a,headers:u}){return e.post("/cbs-evaluate-risk",a,{headers:Hr({token:r,jwtToken:s,internalAuthTokenProvider:t,headers:u})})}function o({token:r,jwtToken:s,body:a,headers:u}){return e.post("/cbs-pa-enrollment",a,{headers:Hr({token:r,jwtToken:s,internalAuthTokenProvider:t,headers:u})})}function i({token:r,jwtToken:s,body:a,headers:u}){return e.post("/cbs-validate-pa-enrollment",a,{headers:Hr({token:r,jwtToken:s,internalAuthTokenProvider:t,headers:u})})}return{getToken:n,evaluateRisk:c,payerAuthenticationEnrollment:o,validatePayerAuthenticationEnrollment:i}}um.exports=tw});var dm=m((pR,im)=>{function rw({client:e}){function t(){return e.get("/api-docs-v2",{})}return{get:t}}im.exports=rw});var fm=m((fR,pm)=>{var{authorizationHeaders:Xt}=h();function sw({client:e,internalAuthTokenProvider:t}){function n({token:r,jwtToken:s,headers:a}){return e.get("/cardpointe-terminals",{params:{},headers:Xt({token:r,jwtToken:s,internalAuthTokenProvider:t,headers:a})})}function c({token:r,jwtToken:s,merchantId:a,terminalId:u,headers:d}){return e({url:`/cardpointe-terminals/${a}/${u}`,method:"delete",headers:Xt({token:r,jwtToken:s,internalAuthTokenProvider:t,headers:d})})}return{all:n,remove:c,readCard:{get({token:r,jwtToken:s,readCardResultId:a,headers:u}){return e.get(`/cardpointe-terminals/read-card/${a}`,{params:{},headers:Xt({token:r,jwtToken:s,internalAuthTokenProvider:t,headers:u})})},create({token:r,jwtToken:s,readCard:a,providerId:u,headers:d}){return e({url:"/cardpointe-terminals/read-card",method:"post",params:u!=null?{providerId:u}:{},headers:Xt({token:r,jwtToken:s,internalAuthTokenProvider:t,headers:d}),data:{readCard:a}})}},ping:{create({token:r,jwtToken:s,ping:a,headers:u}){return e({url:"/cardpointe-terminals/ping",method:"post",headers:Xt({token:r,jwtToken:s,internalAuthTokenProvider:t,headers:u}),data:{ping:a}})}}}}pm.exports={cardpointeTerminalsFactory:sw}});var lm=m((mR,mm)=>{var{authorizationHeaders:he}=h();function aw({client:e,internalAuthTokenProvider:t}){function n({token:p,jwtToken:f,query:l={},headers:q}){return e.get("/payment-methods",{params:l,headers:he({token:p,jwtToken:f,internalAuthTokenProvider:t,headers:q})})}function c({token:p,jwtToken:f,providerName:l,headers:q}){return e({url:`/payment-methods?providerName=${l}`,headers:he({token:p,jwtToken:f,internalAuthTokenProvider:t,headers:q})})}function o({token:p,jwtToken:f,paymentMethod:l,headers:q}){return e({url:"/payment-methods",method:"post",headers:he({token:p,jwtToken:f,internalAuthTokenProvider:t,headers:q}),data:{paymentMethod:l}})}function i({token:p,jwtToken:f,paymentMethodId:l,headers:q,query:y={}}){return e.get(`/payment-methods/${l}`,{params:y,headers:he({token:p,jwtToken:f,internalAuthTokenProvider:t,headers:q})})}function r({token:p,jwtToken:f,paymentMethodId:l,paymentMethod:q,headers:y}){return e({url:`/payment-methods/${l}`,method:"put",headers:he({token:p,jwtToken:f,internalAuthTokenProvider:t,headers:y}),data:{paymentMethod:q}})}function s({token:p,jwtToken:f,agencyId:l,providerId:q,paymentMethodNames:y,headers:b}){return e({url:"/payment-methods-to-agencies",method:"post",headers:he({token:p,jwtToken:f,internalAuthTokenProvider:t,headers:b}),data:{providerId:q,agencyId:l,paymentMethodNames:y}})}function a({token:p,jwtToken:f,accountId:l}){return e({url:"/default-payment-methods",method:"post",headers:he({token:p,jwtToken:f,internalAuthTokenProvider:t}),data:{accountId:l}})}function u({token:p,jwtToken:f,paymentMethodId:l}){return e({url:`/payment-methods/${l}/customers`,method:"delete",headers:he({token:p,jwtToken:f,internalAuthTokenProvider:t})})}function d({token:p,jwtToken:f,domain:l}){return e({url:`/payment-methods/domains/${l}`,method:"delete",headers:he({token:p,jwtToken:f,internalAuthTokenProvider:t})})}return{all:n,getByProviderName:c,create:o,get:i,setToAgency:s,update:r,createDefaultPaymentMethods:a,deleteCustomersCreditCardInfo:u,deletePaymentMethodsDomain:d}}mm.exports=aw});var gm=m((lR,hm)=>{var{authorizationHeaders:ow}=h();function nw({client:e,internalAuthTokenProvider:t}){function n({token:c,jwtToken:o,referenceNumberRequest:i,headers:r}){return e({url:"/reference-numbers",method:"post",headers:ow({token:c,jwtToken:o,internalAuthTokenProvider:t,headers:r}),data:{referenceNumberRequest:i}})}return{create:n}}hm.exports=nw});var $m=m((hR,bm)=>{var{authorizationHeaders:ym}=h();function uw({client:e,internalAuthTokenProvider:t}){function n({token:o,jwtToken:i,payments:r,headers:s}){return e({url:"/payments",method:"post",headers:ym({token:o,jwtToken:i,internalAuthTokenProvider:t,headers:s}),data:{payments:r}})}function c({token:o,jwtToken:i,transactionId:r,headers:s}){return e.get(`/transactions/${r}`,{params:{},headers:ym({token:o,jwtToken:i,internalAuthTokenProvider:t,headers:s})})}return{create:n,get:c}}bm.exports=uw});var wm=m((gR,qm)=>{var{authorizationHeaders:xm}=h();function cw({client:e,internalAuthTokenProvider:t}){function n({token:o,jwtToken:i,transactionId:r,referenceNumber:s,headers:a}){return e.get(`/referenced-payments/${r}/${s}/status`,{params:{},headers:xm({token:o,jwtToken:i,internalAuthTokenProvider:t,headers:a})})}function c({token:o,jwtToken:i,externalType:r,referenceNumber:s,paymentResult:a,query:u={},headers:d}){return e({url:`/referenced-payments/${r}/${s}/results`,method:"post",params:u,headers:xm({token:o,jwtToken:i,headers:d}),data:{paymentResult:a}})}return{getStatus:n,update:c}}qm.exports=cw});var Fm=m((yR,Om)=>{var{authorizationHeaders:ps}=h();function iw({client:e,internalAuthTokenProvider:t}){function n({token:i,jwtToken:r,paymentMethodId:s,customerId:a,headers:u}){return e.get(`/payment-methods/${s}/customers/${a}`,{params:{},headers:ps({token:i,jwtToken:r,internalAuthTokenProvider:t,headers:u})})}function c({token:i,jwtToken:r,paymentMethodId:s,customer:a,headers:u}){return e({url:`/payment-methods/${s}/customers`,method:"post",headers:ps({token:i,jwtToken:r,internalAuthTokenProvider:t,headers:u}),data:{customer:a}})}function o({token:i,jwtToken:r,paymentMethodId:s,customerId:a,headers:u}){return e({url:`/payment-methods/${s}/customers/${a}`,method:"delete",headers:ps({token:i,jwtToken:r,internalAuthTokenProvider:t,headers:u})})}return{remove:o,create:c,get:n}}Om.exports=iw});var Em=m((bR,Sm)=>{var{authorizationHeaders:Cr}=h();function dw({client:e,internalAuthTokenProvider:t}){function n({token:r,jwtToken:s,paymentMethodId:a,customerId:u,customerCardId:d,headers:p}){return e.get(`/payment-methods/${a}/customers/${u}/cards/${d}`,{params:{},headers:Cr({token:r,jwtToken:s,internalAuthTokenProvider:t,headers:p})})}function c({token:r,jwtToken:s,paymentMethodId:a,customerId:u,headers:d}){return e.get(`/payment-methods/${a}/customers/${u}/cards`,{params:{},headers:Cr({token:r,jwtToken:s,internalAuthTokenProvider:t,headers:d})})}function o({token:r,jwtToken:s,paymentMethodId:a,customerId:u,customerCard:d,headers:p}){return e({url:`/payment-methods/${a}/customers/${u}/cards`,method:"post",headers:Cr({token:r,jwtToken:s,internalAuthTokenProvider:t,headers:p}),data:{customerCard:d}})}function i({token:r,jwtToken:s,paymentMethodId:a,customerId:u,customerCardId:d,headers:p}){return e({url:`/payment-methods/${a}/customers/${u}/cards/${d}`,method:"delete",headers:Cr({token:r,jwtToken:s,internalAuthTokenProvider:t,headers:p})})}return{remove:i,create:o,get:n,all:c}}Sm.exports=dw});var fs=m(($R,_m)=>{var{authorizationHeaders:Rm}=h();function pw({client:e,internalAuthTokenProvider:t}){function n({token:c,jwtToken:o,data:i,providerId:r,headers:s}){return e({url:`/square-webhooks/${r}`,method:"post",headers:Rm({token:c,jwtToken:o,internalAuthTokenProvider:t,headers:s}),data:i})}return{create:n}}function fw({client:e,internalAuthTokenProvider:t}){function n({token:c,jwtToken:o,headers:i}){return e.get("/square-terminals",{params:{},headers:Rm({token:c,jwtToken:o,internalAuthTokenProvider:t,headers:i})})}return{get:n}}_m.exports={squareWebhooksFactory:pw,squareTerminalsFactory:fw}});var Hm=m((xR,zm)=>{var{authorizationHeaders:jr}=h();function mw({client:e,internalAuthTokenProvider:t}){function n(i){return i??t}return{token:{get({jwtToken:i,headers:r,internalAuthTokenProvider:s}){return e({url:"/oxxo/token",headers:jr({jwtToken:i,internalAuthTokenProvider:n(s),headers:r})})}},payments:{all({jwtToken:i,headers:r,oxxoToken:s,query:a,internalAuthTokenProvider:u}){return e({url:`/oxxo/${s}/payments`,params:a,headers:jr({jwtToken:i,internalAuthTokenProvider:n(u),headers:r})})},update({jwtToken:i,headers:r,oxxoToken:s,query:a,referenceNumber:u,data:d,internalAuthTokenProvider:p}){return e({url:`/oxxo/${s}/payments/${u}`,method:"post",params:a,data:d,headers:jr({jwtToken:i,internalAuthTokenProvider:n(p),headers:r})})},reverse({jwtToken:i,headers:r,query:s,referenceNumber:a,data:u,internalAuthTokenProvider:d,oxxoToken:p}){return e({url:`/oxxo/${p}/reverse/${a}`,method:"post",params:s,data:u,headers:jr({jwtToken:i,internalAuthTokenProvider:n(d),headers:r})})}}}}zm.exports=mw});var jm=m((qR,Cm)=>{var{authorizationHeaders:Gt}=h();function lw({client:e,internalAuthTokenProvider:t}){function n(r){return r??t}return{payments:{all({token:r,jwtToken:s,headers:a,query:u,internalAuthTokenProvider:d}){return e({url:"/datalogic/payments",params:u,headers:Gt({token:r,jwtToken:s,internalAuthTokenProvider:n(d),headers:a})})},update({token:r,jwtToken:s,headers:a,query:u,referenceNumber:d,data:p,internalAuthTokenProvider:f}){return e({url:`/datalogic/payments/${d}`,method:"post",params:u,data:p,headers:Gt({token:r,jwtToken:s,internalAuthTokenProvider:n(f),headers:a})})},reverse({token:r,jwtToken:s,headers:a,query:u,referenceNumber:d,data:p,internalAuthTokenProvider:f}){return e({url:`/datalogic/reverse/${d}`,method:"post",params:u,data:p,headers:Gt({token:r,jwtToken:s,internalAuthTokenProvider:n(f),headers:a})})}},referenceNumber:{get({token:r,jwtToken:s,headers:a,internalAuthTokenProvider:u}){return e({url:"/datalogic/reference-number",headers:Gt({token:r,jwtToken:s,internalAuthTokenProvider:n(u),headers:a})})}},authCode:{get({token:r,jwtToken:s,headers:a,internalAuthTokenProvider:u}){return e({url:"/datalogic/auth-code",headers:Gt({token:r,jwtToken:s,internalAuthTokenProvider:n(u),headers:a})})}}}}Cm.exports=lw});var Nm=m((wR,Dm)=>{var{authorizationHeaders:te}=h();function hw({client:e,internalAuthTokenProvider:t}){return{payments:{get({token:r,jwtToken:s,id:a,query:u={},headers:d}){return e.get(`/prisma-terminals/payments/${a}`,{params:u,headers:te({token:r,jwtToken:s,internalAuthTokenProvider:t,headers:d})})},create({token:r,jwtToken:s,prismaPayment:a,query:u={},headers:d}){return e({url:"/prisma-terminals/payments",method:"post",headers:te({token:r,jwtToken:s,internalAuthTokenProvider:t,headers:d}),params:u,data:{prismaPayment:a}})},delete({token:r,jwtToken:s,id:a,query:u={},headers:d}){return e({url:`/prisma-terminals/payments/${a}`,method:"delete",headers:te({token:r,jwtToken:s,internalAuthTokenProvider:t,headers:d}),params:u})},update({token:r,jwtToken:s,id:a,prismaPayment:u,query:d={},headers:p}){return e({url:`/prisma-terminals/payments/${a}`,method:"put",headers:te({token:r,jwtToken:s,internalAuthTokenProvider:t,headers:p}),params:d,data:{prismaPayment:u}})},reversals:{get({token:r,jwtToken:s,id:a,query:u={},headers:d}){return e.get(`/prisma-terminals/reversals/${a}`,{params:u,headers:te({token:r,jwtToken:s,internalAuthTokenProvider:t,headers:d})})},create({token:r,jwtToken:s,id:a,prismaReversal:u,query:d={},headers:p}){return e({url:`/prisma-terminals/payments/${a}/reversals`,method:"post",headers:te({token:r,jwtToken:s,internalAuthTokenProvider:t,headers:p}),params:d,data:{prismaReversal:u}})},delete({token:r,jwtToken:s,id:a,query:u={},headers:d}){return e({url:`/prisma-terminals/reversals/${a}`,method:"delete",headers:te({token:r,jwtToken:s,internalAuthTokenProvider:t,headers:d}),params:u})}},refunds:{get({token:r,jwtToken:s,id:a,query:u={},headers:d}){return e.get(`/prisma-terminals/refunds/${a}`,{params:u,headers:te({token:r,jwtToken:s,internalAuthTokenProvider:t,headers:d})})},create({token:r,jwtToken:s,id:a,prismaRefund:u,query:d={},headers:p}){return e({url:`/prisma-terminals/payments/${a}/refunds`,method:"post",headers:te({token:r,jwtToken:s,internalAuthTokenProvider:t,headers:p}),params:d,data:{prismaRefund:u}})},delete({token:r,jwtToken:s,id:a,query:u={},headers:d}){return e({url:`/prisma-terminals/refunds/${a}`,method:"delete",headers:te({token:r,jwtToken:s,internalAuthTokenProvider:t,headers:d}),params:u})},update({token:r,jwtToken:s,id:a,prismaRefund:u,query:d={},headers:p}){return e({url:`/prisma-terminals/refunds/${a}`,method:"put",headers:te({token:r,jwtToken:s,internalAuthTokenProvider:t,headers:p}),params:d,data:{prismaRefund:u}})}}},settlements:{create({token:r,jwtToken:s,settlement:a,query:u={},headers:d}){return e({url:"/prisma-terminals/settlements",method:"post",headers:te({token:r,jwtToken:s,internalAuthTokenProvider:t,headers:d}),params:u,data:{settlement:a}})}}}}Dm.exports=hw});var Bm=m((OR,Um)=>{var{authorizationHeaders:ms}=h();function gw({client:e,internalAuthTokenProvider:t}){return{mit:{update({token:o,jwtToken:i,id:r,terminalPayment:s,query:a={},headers:u}){return e({url:`/terminal-payments/mit/${r}`,method:"put",headers:ms({token:o,jwtToken:i,internalAuthTokenProvider:t,headers:u}),params:a,data:{terminalPayment:s}})},get({token:o,jwtToken:i,id:r,query:s={},headers:a}){return e.get(`/terminal-payments/mit/${r}`,{params:s,headers:ms({token:o,jwtToken:i,internalAuthTokenProvider:t,headers:a})})}},webhooks:{getnet({data:o,providerId:i,headers:r={},token:s,jwtToken:a}){let u=s&&a?ms({token:s,jwtToken:a,internalAuthTokenProvider:t,headers:r}):r;return e({url:`/terminal-payments/webhooks/getnet/${i}`,method:"post",headers:u,data:o})}}}}Um.exports=gw});var Im=m((FR,Mm)=>{var{authorizationHeaders:Lm}=h();function yw({client:e,internalAuthTokenProvider:t}){function n({token:o,jwtToken:i,headers:r,query:s={}}){return e.get("/stripe-terminals",{params:s,headers:Lm({token:o,jwtToken:i,internalAuthTokenProvider:t,headers:r})})}function c({token:o,jwtToken:i,id:r,stripePayment:s,headers:a}){return e({url:`/stripe-terminals/${r}/simulate`,method:"post",headers:Lm({token:o,jwtToken:i,internalAuthTokenProvider:t,headers:a}),data:{stripePayment:s}})}return{all:n,simulate:c}}Mm.exports=yw});var Km=m((SR,Vm)=>{var{authorizationHeaders:bw}=h();function $w({client:e,internalAuthTokenProvider:t}){function n({token:c,jwtToken:o,providerName:i,data:r,headers:s}){return e.post("/stripe-payment-intent",{providerName:i,data:r},{headers:bw({token:c,jwtToken:o,internalAuthTokenProvider:t,headers:s})})}return{createPaymentIntent:n}}Vm.exports=$w});var Jm=m((ER,Wm)=>{function xw({client:e}){function t(){return e.get("/api-docs-v2",{})}return{get:t}}Wm.exports=xw});var Gm=m((RR,Xm)=>{var{authorizationHeaders:Zt}=h();function qw({client:e,internalAuthTokenProvider:t}){function n({token:s,jwtToken:a,query:u={},headers:d}){return e({url:"/providers",method:"get",headers:Zt({token:s,jwtToken:a,internalAuthTokenProvider:t,headers:d}),params:u})}function c({token:s,jwtToken:a,id:u,query:d={},headers:p}){return e({url:`/providers/${u}`,method:"get",headers:Zt({token:s,jwtToken:a,internalAuthTokenProvider:t,headers:p}),params:d})}function o({token:s,jwtToken:a,id:u,data:d,query:p={},headers:f}){return e({url:`/providers/${u}`,method:"put",headers:Zt({token:s,jwtToken:a,internalAuthTokenProvider:t,headers:f}),params:p,data:d})}function i({token:s,jwtToken:a,id:u,query:d={},headers:p}){return e({url:`/providers/${u}`,method:"delete",headers:Zt({token:s,jwtToken:a,internalAuthTokenProvider:t,headers:p}),params:d})}function r({token:s,jwtToken:a,data:u,query:d={},headers:p}){return e({url:"/providers",method:"post",headers:Zt({token:s,jwtToken:a,internalAuthTokenProvider:t,headers:p}),params:d,data:u})}return{all:n,get:c,update:o,remove:i,create:r}}Xm.exports=qw});var Qm=m((_R,Zm)=>{var{authorizationHeaders:Qt}=h();function ww({client:e,internalAuthTokenProvider:t}){function n({token:s,jwtToken:a,invoiceProviderId:u,query:d={},headers:p}){return e({url:`/providers/${u}/sequences`,method:"get",headers:Qt({token:s,jwtToken:a,internalAuthTokenProvider:t,headers:p}),params:d})}function c({token:s,jwtToken:a,invoiceProviderId:u,invoiceProviderSequenceId:d,query:p={},headers:f}){return e({url:`/providers/${u}/sequences/${d}`,method:"get",headers:Qt({token:s,jwtToken:a,internalAuthTokenProvider:t,headers:f}),params:p})}function o({token:s,jwtToken:a,invoiceProviderId:u,id:d,query:p={},headers:f}){return e({url:`/providers/${u}/sequences/${d}`,method:"delete",headers:Qt({token:s,jwtToken:a,internalAuthTokenProvider:t,headers:f}),params:p})}function i({token:s,jwtToken:a,invoiceProviderId:u,data:d,query:p={},headers:f}){return e({url:`/providers/${u}/sequences`,method:"post",headers:Qt({token:s,jwtToken:a,internalAuthTokenProvider:t,headers:f}),params:p,data:d})}function r({token:s,jwtToken:a,invoiceProviderId:u,invoiceProviderSequenceId:d,data:p,query:f={},headers:l}){return e({url:`/providers/${u}/sequences/${d}`,method:"put",headers:Qt({token:s,jwtToken:a,internalAuthTokenProvider:t,headers:l}),params:f,data:p})}return{all:n,get:c,remove:o,create:i,update:r}}Zm.exports=ww});var Pm=m((zR,vm)=>{var{authorizationHeaders:Ym}=h();function Ow({client:e,internalAuthTokenProvider:t}){function n({token:o,jwtToken:i,data:r,query:s={},headers:a}){return e({url:"/infile",method:"post",headers:Ym({token:o,jwtToken:i,internalAuthTokenProvider:t,headers:a}),params:s,data:r})}function c({token:o,jwtToken:i,data:r,query:s={},headers:a}){return s.onlyValidateRequest=!0,e({url:"/infile",method:"post",headers:Ym({token:o,jwtToken:i,internalAuthTokenProvider:t,headers:a}),params:s,data:r})}return{create:n,validateCreate:c}}vm.exports=Ow});var km=m((HR,Tm)=>{var{authorizationHeaders:ls}=h();function Fw({client:e,internalAuthTokenProvider:t}){function n({token:i,jwtToken:r,data:s,query:a={},headers:u}){return e({url:"/infile-json",method:"post",headers:ls({token:i,jwtToken:r,internalAuthTokenProvider:t,headers:u}),params:a,data:s})}function c({token:i,jwtToken:r,data:s,query:a={},headers:u}){return a.onlyValidateRequest=!0,e({url:"/infile-json",method:"post",headers:ls({token:i,jwtToken:r,internalAuthTokenProvider:t,headers:u}),params:a,data:s})}function o({token:i,jwtToken:r,query:s,headers:a}){return e({url:"/infile-json/validate-void",method:"get",headers:ls({token:i,jwtToken:r,internalAuthTokenProvider:t,headers:a}),params:s})}return{create:n,validateCreate:c,validateVoid:o}}Tm.exports=Fw});var tl=m((CR,el)=>{var{authorizationHeaders:Am}=h();function Sw({client:e,internalAuthTokenProvider:t}){function n({token:o,jwtToken:i,data:r,query:s={},headers:a}){return e({url:"/system",method:"post",headers:Am({token:o,jwtToken:i,internalAuthTokenProvider:t,headers:a}),params:s,data:r})}function c({token:o,jwtToken:i,data:r,query:s={},headers:a}){return s.onlyValidateRequest=!0,e({url:"/system",method:"post",headers:Am({token:o,jwtToken:i,internalAuthTokenProvider:t,headers:a}),params:s,data:r})}return{create:n,validateCreate:c}}el.exports=Sw});var al=m((jR,sl)=>{var{authorizationHeaders:rl}=h();function Ew({client:e,internalAuthTokenProvider:t}){function n({token:o,jwtToken:i,data:r,query:s={},headers:a}){return e({url:"/dlink",method:"post",headers:rl({token:o,jwtToken:i,internalAuthTokenProvider:t,headers:a}),params:s,data:r})}function c({token:o,jwtToken:i,data:r,query:s={},headers:a}){return s.onlyValidateRequest=!0,e({url:"/dlink",method:"post",headers:rl({token:o,jwtToken:i,internalAuthTokenProvider:t,headers:a}),params:s,data:r})}return{create:n,validateCreate:c}}sl.exports=Ew});var ul=m((DR,nl)=>{var{authorizationHeaders:ol}=h();function Rw({client:e,internalAuthTokenProvider:t}){function n({token:o,jwtToken:i,data:r,query:s={},headers:a}){return e({url:"/gti",method:"post",headers:ol({token:o,jwtToken:i,internalAuthTokenProvider:t,headers:a}),params:s,data:r})}function c({token:o,jwtToken:i,data:r,query:s={},headers:a}){return s.onlyValidateRequest=!0,e({url:"/gti",method:"post",headers:ol({token:o,jwtToken:i,internalAuthTokenProvider:t,headers:a}),params:s,data:r})}return{create:n,validateCreate:c}}nl.exports=Rw});var il=m((NR,cl)=>{var{authorizationHeaders:_w}=h();function zw({client:e,internalAuthTokenProvider:t}){function n({token:c,jwtToken:o,query:i={},responseType:r="json",headers:s}){return e({url:"/pdfs",method:"get",responseType:r,headers:_w({token:c,jwtToken:o,internalAuthTokenProvider:t,headers:s}),params:i})}return{all:n}}cl.exports=zw});var pl=m((UR,dl)=>{var{authorizationHeaders:Hw}=h();function Cw({client:e,internalAuthTokenProvider:t}){function n({token:c,jwtToken:o,data:i,query:r={},headers:s}){return e({url:"/emails",method:"post",headers:Hw({token:c,jwtToken:o,internalAuthTokenProvider:t,headers:s}),params:r,data:i})}return{create:n}}dl.exports=Cw});var ml=m((BR,fl)=>{var{authorizationHeaders:jw}=h();function Dw({client:e,internalAuthTokenProvider:t}){function n({token:c,jwtToken:o,query:i={},headers:r}){return e({url:"/tax-ids",method:"get",headers:jw({token:c,jwtToken:o,internalAuthTokenProvider:t,headers:r}),params:i})}return{all:n}}fl.exports=Dw});var hl=m((LR,ll)=>{var{authorizationHeaders:Yt}=h();function Nw({client:e,internalAuthTokenProvider:t}){function n({token:s,jwtToken:a,query:u={},headers:d}){return e({url:"/invoices",method:"get",headers:Yt({token:s,jwtToken:a,internalAuthTokenProvider:t,headers:d}),params:u})}function c({token:s,jwtToken:a,id:u,query:d={},headers:p}){return e({url:`/invoices/${u}`,method:"get",headers:Yt({token:s,jwtToken:a,internalAuthTokenProvider:t,headers:p}),params:d})}function o({token:s,jwtToken:a,query:u={},headers:d}){return e({url:"/failures",method:"get",headers:Yt({token:s,jwtToken:a,internalAuthTokenProvider:t,headers:d}),params:u})}function i({token:s,jwtToken:a,data:u,query:d={},headers:p}){return e({url:"/retry",method:"post",headers:Yt({token:s,jwtToken:a,internalAuthTokenProvider:t,headers:p}),params:d,data:u})}function r({token:s,jwtToken:a,data:u,query:d={},headers:p}){return e({url:"/retry",method:"put",headers:Yt({token:s,jwtToken:a,internalAuthTokenProvider:t,headers:p}),params:d,data:u})}return{all:n,get:c,getInvoicesFailures:o,retryInvoicing:i,overrideBuyerRetryInvoicing:r}}ll.exports=Nw});var yl=m((MR,gl)=>{var{authorizationHeaders:hs}=h();function Uw({client:e,internalAuthTokenProvider:t}){function n({token:i,jwtToken:r,headers:s}){return e({url:"/bpe-configurations",method:"get",headers:hs({token:i,jwtToken:r,internalAuthTokenProvider:t,headers:s})})}function c({token:i,jwtToken:r,bpeConfiguration:s,headers:a}){return e({url:"/bpe-configurations",method:"post",headers:hs({token:i,jwtToken:r,internalAuthTokenProvider:t,headers:a}),data:{bpeConfiguration:s}})}function o({token:i,jwtToken:r,bpeConfiguration:s,headers:a}){return e({url:"/bpe-configurations",method:"put",headers:hs({token:i,jwtToken:r,internalAuthTokenProvider:t,headers:a}),data:{bpeConfiguration:s}})}return{get:n,create:c,update:o}}gl.exports=Uw});var $l=m((IR,bl)=>{var{authorizationHeaders:Bw}=h();function Lw({client:e}){function t({token:n,query:c={},headers:o}){return e({url:"/scanner-app-location",headers:Bw({token:n,headers:o}),params:c})}return{get:t}}bl.exports=Lw});var ql=m((VR,xl)=>{function Mw({client:e}){function t({data:n,headers:c}){return e({url:"/authenticate",method:"post",headers:c,data:n})}return{create:t}}xl.exports=Mw});var Fl=m((KR,Ol)=>{var{authorizationHeaders:wl}=h();function Iw({client:e,version:t}){function n({jwtToken:o,data:i,headers:r}){return e({url:`/${t}/client`,method:"post",headers:wl({jwtToken:o,headers:r}),data:i})}function c({jwtToken:o,clientId:i}){return e({url:`/${t}/client`,method:"get",headers:Object.assign({clientId:i},wl({jwtToken:o}))})}return{create:n,get:c}}Ol.exports=Iw});var El=m((WR,Sl)=>{var{authorizationHeaders:gs}=h();function Vw({client:e,version:t}){function n({jwtToken:i,clientId:r}){return e({url:`/${t}/client/integrations`,method:"get",headers:Object.assign({clientId:r},gs({jwtToken:i}))})}function c({jwtToken:i,clientId:r,data:s}){return e({url:`/${t}/client/integrations`,method:"post",headers:Object.assign({clientId:r},gs({jwtToken:i})),data:s})}function o({jwtToken:i,clientId:r,integrationType:s}){return e({url:`/${t}/client/integrations/${s}`,method:"delete",headers:Object.assign({clientId:r},gs({jwtToken:i}))})}return{get:n,create:c,remove:o}}Sl.exports=Vw});var dO=m((JR,_l)=>{function Rl(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var c=Object.getOwnPropertySymbols(e);t&&(c=c.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),n.push.apply(n,c)}return n}function Dr(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?Rl(Object(n),!0).forEach(function(c){Kw(e,c,n[c])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Rl(Object(n)).forEach(function(c){Object.defineProperty(e,c,Object.getOwnPropertyDescriptor(n,c))})}return e}function Kw(e,t,n){return(t=Ww(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Ww(e){var t=Jw(e,"string");return typeof t=="symbol"?t:t+""}function Jw(e,t){if(typeof e!="object"||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var c=n.call(e,t||"default");if(typeof c!="object")return c;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}var Xw=ca(),Gw=da();function G(e){let{baseURL:t,headers:n,timeout:c,overrideFn:o,agents:i}=e,s={baseURL:o?o(t):t,timeout:c,headers:{Accept:"application/json"}};return n&&n["x-amzn-trace-id"]&&(s.headers["x-amzn-trace-id"]=n["x-amzn-trace-id"]),i&&(i.httpAgent||i.httpsAgent)&&(s=Dr(Dr({},s),i)),Xw.create(s)}function Zw({baseURL:e,headers:t,timeout:n,overrideFn:c,internalAuthTokenProvider:o,agents:i}){let r=G({baseURL:e,headers:t,timeout:n,overrideFn:c,agents:i});return{amenities:la()({client:r,internalAuthTokenProvider:o}),amenityGroups:ga()({client:r,internalAuthTokenProvider:o}),banks:ba()({client:r,internalAuthTokenProvider:o}),bareRoutes:qa()({client:r,internalAuthTokenProvider:o}),brands:Oa()({client:r,internalAuthTokenProvider:o}),bundleFares:Sa()({client:r,internalAuthTokenProvider:o}),bundles:_a()({client:r,internalAuthTokenProvider:o}),changeRequests:Ha()({client:r,internalAuthTokenProvider:o}),companies:ja()({client:r,internalAuthTokenProvider:o}),controlClasses:Na()({client:r,internalAuthTokenProvider:o}),countries:La()({client:r,internalAuthTokenProvider:o}),customContent:Ia()({client:r,internalAuthTokenProvider:o}),customFields:Ka()({client:r,internalAuthTokenProvider:o}),docs:Ja()({client:r}),documentTypes:Qa()({client:r,internalAuthTokenProvider:o}),events:va()({client:r,internalAuthTokenProvider:o}),externalPasses:ka()({client:r,internalAuthTokenProvider:o}),externalWallets:eo()({client:r,internalAuthTokenProvider:o}),fareTypeModifiers:ro()({client:r,internalAuthTokenProvider:o}),fallbackCodes:ao()({client:r,internalAuthTokenProvider:o}),fareClasses:no()({client:r,internalAuthTokenProvider:o}),fares:co()({client:r,internalAuthTokenProvider:o}),fees:po()({client:r,internalAuthTokenProvider:o}),filteredTrips:mo()({client:r,internalAuthTokenProvider:o}),filteredTripsV2:ho()({client:r,internalAuthTokenProvider:o}),financingCosts:yo()({client:r,internalAuthTokenProvider:o}),garages:$o()({client:r,internalAuthTokenProvider:o}),banorteTerminals:qo()({client:r,internalAuthTokenProvider:o}),getnetTerminals:Oo()({client:r,internalAuthTokenProvider:o}),cloverTerminals:So()({client:r,internalAuthTokenProvider:o}),giftCertificateDefinitions:Ro()({client:r,internalAuthTokenProvider:o}),healthCheck:zo()({client:r,internalAuthTokenProvider:o}),holidays:Co()({client:r,internalAuthTokenProvider:o}),insurances:Do()({client:r,internalAuthTokenProvider:o}),insurancesCost:Uo()({client:r,internalAuthTokenProvider:o}),items:Lo()({client:r,internalAuthTokenProvider:o}),journeyPrices:Io()({client:r,internalAuthTokenProvider:o}),labels:Ko()({client:r,internalAuthTokenProvider:o}),maritalStatus:Jo()({client:r,internalAuthTokenProvider:o}),marketplaceModifiers:Go()({client:r,internalAuthTokenProvider:o}),mitTerminals:Qo()({client:r,internalAuthTokenProvider:o}),mitTerminalsSettings:vo()({client:r,internalAuthTokenProvider:o}),operatingCompanies:To()({client:r,internalAuthTokenProvider:o}),operationMessages:Ao()({client:r,internalAuthTokenProvider:o}),operationReasons:tn()({client:r,internalAuthTokenProvider:o}),parcelZones:sn()({client:r,internalAuthTokenProvider:o}),paymentTerminals:on()({client:r,internalAuthTokenProvider:o}),payOnAccounts:un()({client:r,internalAuthTokenProvider:o}),prismaTerminals:dn()({client:r,internalAuthTokenProvider:o}),products:fn()({client:r,internalAuthTokenProvider:o}),promos:ln()({client:r,internalAuthTokenProvider:o}),routes:gn()({client:r,internalAuthTokenProvider:o}),scheduleGroups:bn()({client:r,internalAuthTokenProvider:o}),schedules:xn()({client:r,internalAuthTokenProvider:o}),seatClasses:wn()({client:r,internalAuthTokenProvider:o}),seatfees:Fn()({client:r,internalAuthTokenProvider:o}),seatmaps:En()({client:r,internalAuthTokenProvider:o}),segmentsInformation:_n()({client:r,internalAuthTokenProvider:o}),serviceNumbers:Hn()({client:r,internalAuthTokenProvider:o}),serviceTypes:jn()({client:r,internalAuthTokenProvider:o}),ssrs:Nn()({client:r,internalAuthTokenProvider:o}),stationClasses:Bn()({client:r,internalAuthTokenProvider:o}),stationGroups:Mn()({client:r,internalAuthTokenProvider:o}),stations:Vn()({client:r,internalAuthTokenProvider:o}),stationsProvinces:Wn()({client:r,internalAuthTokenProvider:o}),stationsZones:Xn()({client:r,internalAuthTokenProvider:o}),taxes:Zn()({client:r,internalAuthTokenProvider:o}),travellerCardProviders:Yn()({client:r,internalAuthTokenProvider:o}),travellerCardProvidersTypes:Pn()({client:r,internalAuthTokenProvider:o}),travellerCardTypes:kn()({client:r,internalAuthTokenProvider:o}),travelRoutes:eu()({client:r,internalAuthTokenProvider:o}),vehicleTypes:ru()({client:r,internalAuthTokenProvider:o}),vehicles:au()({client:r,internalAuthTokenProvider:o}),zonePriceOverages:nu()({client:r,internalAuthTokenProvider:o}),zonePrices:cu()({client:r,internalAuthTokenProvider:o}),regions:du()({client:r,internalAuthTokenProvider:o}),__test:{client:r}}}function Qw({baseURL:e,headers:t,timeout:n,overrideFn:c,internalAuthTokenProvider:o,agents:i}){let r=G({baseURL:e,headers:t,timeout:n,overrideFn:c,agents:i});return{trips:fu()({client:r,internalAuthTokenProvider:o}),tripIds:lu()({client:r,internalAuthTokenProvider:o}),segmentsInformationTables:gu()({client:r,internalAuthTokenProvider:o}),__test_trips:{client:r}}}function Yw({baseURL:e,headers:t,timeout:n,overrideFn:c,internalAuthTokenProvider:o,agents:i}){let r=G({baseURL:e,headers:t,timeout:n,overrideFn:c,agents:i});return{docs:bu()({client:r}),healthcheck:xu()({client:r}),info:wu()({client:r}),paths:Fu()({client:r,internalAuthTokenProvider:o}),mergedFareTables:Eu()({client:r,internalAuthTokenProvider:o}),__test:{client:r}}}function vw({baseURL:e,headers:t,timeout:n,overrideFn:c,internalAuthTokenProvider:o,agents:i}){let r=G({baseURL:e,headers:t,timeout:n,overrideFn:c,agents:i});return{accounts:_u()({client:r,internalAuthTokenProvider:o}),agencies:Hu()({client:r,internalAuthTokenProvider:o}),agencyTypes:ju()({client:r,internalAuthTokenProvider:o}),authorizedExternalMessaging:Nu()({client:r,internalAuthTokenProvider:o}),auditRecords:Bu()({client:r,internalAuthTokenProvider:o}),application:Mu()({client:r,internalAuthTokenProvider:o}),applications:Ku()({client:r,internalAuthTokenProvider:o}),applicationSettings:Ju()({client:r,internalAuthTokenProvider:o}),customers:Yu()({client:r,internalAuthTokenProvider:o}),controlClassesSettings:Tu()({client:r,internalAuthTokenProvider:o}),currentShifts:Au()({client:r,internalAuthTokenProvider:o}),docs:tc()({client:r}),domains:sc()({client:r,internalAuthTokenProvider:o}),dynamicForms:nc()({client:r,internalAuthTokenProvider:o}),qrMappings:cc()({client:r,internalAuthTokenProvider:o}),emailSettings:dc()({client:r,internalAuthTokenProvider:o}),emailTemplateSettings:mc()({client:r,internalAuthTokenProvider:o}),smsTemplateSettings:gc()({client:r,internalAuthTokenProvider:o}),emailTemplates:bc()({client:r,internalAuthTokenProvider:o}),smsTemplates:xc()({client:r,internalAuthTokenProvider:o}),exchangeRates:Oc()({client:r,internalAuthTokenProvider:o}),exchangeReceipts:Ec()({client:r,internalAuthTokenProvider:o}),externalCustomers:_c()({client:r,internalAuthTokenProvider:o}),goalSettings:Cc()({client:r,internalAuthTokenProvider:o}),images:Dc()({client:r,internalAuthTokenProvider:o}),interline:Uc()({client:r,internalAuthTokenProvider:o}),lexicons:Lc()({client:r,internalAuthTokenProvider:o}),network:Ic()({client:r,internalAuthTokenProvider:o}),operationSettings:Wc()({client:r,internalAuthTokenProvider:o}),peopleLookups:Gc()({client:r,internalAuthTokenProvider:o}),pointToPointSettings:Yc()({client:r,internalAuthTokenProvider:o}),marketPricingSettings:Tc()({client:r,internalAuthTokenProvider:o}),multiproductSalesSettings:ei()({client:r,internalAuthTokenProvider:o}),printers:ri()({client:r,internalAuthTokenProvider:o}),printSettings:oi()({client:r,internalAuthTokenProvider:o}),printTemplates:ui()({client:r,internalAuthTokenProvider:o}),revenueManagementSettings:di()({client:r,internalAuthTokenProvider:o}),journeyPricesSettings:mi()({client:r,internalAuthTokenProvider:o}),subPrintTemplates:hi()({client:r,internalAuthTokenProvider:o}),s3Buckets:yi()({client:r,internalAuthTokenProvider:o}),salesforceSettings:xi()({client:r,internalAuthTokenProvider:o}),shifts:wi()({client:r,internalAuthTokenProvider:o}),shiftSettings:Si()({client:r,internalAuthTokenProvider:o}),systemModelSettings:Ri()({client:r,internalAuthTokenProvider:o}),ticketMovementSettings:Hi()({client:r,internalAuthTokenProvider:o}),tokens:Di()({client:r,internalAuthTokenProvider:o}),travellers:Ui()({client:r,internalAuthTokenProvider:o}),trustedMachines:Li()({client:r,internalAuthTokenProvider:o}),twilioSettings:Vi()({client:r,internalAuthTokenProvider:o}),users:Wi()({client:r,internalAuthTokenProvider:o}),verifiedEmails:Xi()({client:r,internalAuthTokenProvider:o}),__test:{client:r},websalesConfig:Qi()({client:r,internalAuthTokenProvider:o}),transportRegulationSettingsForCNRT:Pi()({client:r,internalAuthTokenProvider:o})}}function Pw({baseURL:e,headers:t,timeout:n,overrideFn:c,internalAuthTokenProvider:o,agents:i}){let r=G({baseURL:e,headers:t,timeout:n,overrideFn:c,agents:i});return{docs:ki()({client:r}),parcelQuotes:ed()({client:r,internalAuthTokenProvider:o}),paymentProviders:rd()({client:r,internalAuthTokenProvider:o}),cart:ad()({client:r,internalAuthTokenProvider:o}),giftCertificates:nd()({client:r,internalAuthTokenProvider:o}),customFields:cd()({client:r,internalAuthTokenProvider:o}),order:dd()({client:r,internalAuthTokenProvider:o}),voucher:fd()({client:r,internalAuthTokenProvider:o}),cartPromo:hd()({client:r,internalAuthTokenProvider:o}),bundles:yd()({client:r,internalAuthTokenProvider:o}),redeemableItems:xd()({client:r,internalAuthTokenProvider:o}),flexpasses:wd()({client:r,internalAuthTokenProvider:o}),syncEntry:Fd()({client:r,internalAuthTokenProvider:o}),checkInInfo:Ed()({client:r,internalAuthTokenProvider:o}),cancellations:_d()({client:r,internalAuthTokenProvider:o}),__test:{client:r}}}function Tw({baseURL:e,headers:t,timeout:n,overrideFn:c,internalAuthTokenProvider:o,agents:i}){let r=G({baseURL:e,headers:t,timeout:n,overrideFn:c,agents:i});return{docs:Hd()({client:r}),accountingItems:Dd()({client:r,internalAuthTokenProvider:o}),appliedInsurance:Ud()({client:r,internalAuthTokenProvider:o}),calendarEntries:Ld()({client:r,internalAuthTokenProvider:o}),externalBookings:Vd()({client:r,internalAuthTokenProvider:o}),flexpasses:Wd()({client:r,internalAuthTokenProvider:o}),giftCertificates:Xd()({client:r,internalAuthTokenProvider:o}),loans:Qd()({client:r,internalAuthTokenProvider:o}),manifest:Pd()({client:r,internalAuthTokenProvider:o}),manifestLegForTickets:kd()({client:r,internalAuthTokenProvider:o}),movements:ep()({client:r,internalAuthTokenProvider:o}),outlookTrips:rp()({client:r,internalAuthTokenProvider:o}),pagoExpress:ap()({client:r,internalAuthTokenProvider:o}),parcel:cp()({client:r,internalAuthTokenProvider:o}),parcelManifests:dp()({client:r,internalAuthTokenProvider:o}),passengerCheckInInfo:fp()({client:r,internalAuthTokenProvider:o}),redemption:lp()({client:r,internalAuthTokenProvider:o}),rms:yp()({client:r,internalAuthTokenProvider:o}),scheduledNotifications:$p()({client:r,internalAuthTokenProvider:o}),segments:qp()({client:r,internalAuthTokenProvider:o}),soldItemsFulfillment:Op()({client:r,internalAuthTokenProvider:o}),soldItems:Ep()({client:r,internalAuthTokenProvider:o}),tickets:Hp()({client:r,internalAuthTokenProvider:o}),transaction:jp()({client:r,internalAuthTokenProvider:o}),transactions:Np()({client:r,internalAuthTokenProvider:o}),tripChangeInfo:Bp()({client:r,internalAuthTokenProvider:o}),cancellationSettings:Ip()({client:r,internalAuthTokenProvider:o}),vehicleAssignments:Kp()({client:r,internalAuthTokenProvider:o}),vouchers:Xp()({client:r,internalAuthTokenProvider:o}),waitlists:Zp()({client:r,internalAuthTokenProvider:o}),transportRegulations:Yp()({client:r,internalAuthTokenProvider:o}),__test:{client:r}}}function kw({baseURL:e,headers:t,timeout:n,overrideFn:c,internalAuthTokenProvider:o,agents:i}){let r=G({baseURL:e,headers:t,timeout:n,overrideFn:c,agents:i});return{reportTypes:Tp()({client:r,internalAuthTokenProvider:o}),customReports:Ap()({client:r,internalAuthTokenProvider:o}),reportEmail:tf()({client:r,internalAuthTokenProvider:o}),tripManifests:sf()({client:r,internalAuthTokenProvider:o}),__test:{client:r}}}function Aw({baseURL:e,headers:t,timeout:n,overrideFn:c,internalAuthTokenProvider:o,agents:i}){let r=G({baseURL:e,headers:t,timeout:n,overrideFn:c,agents:i});return{manifestNotifications:nf()({client:r,internalAuthTokenProvider:o}),printedTickets:cf()({client:r,internalAuthTokenProvider:o}),pdfs:pf()({client:r,internalAuthTokenProvider:o}),pdfData:mf()({client:r,internalAuthTokenProvider:o}),email:hf()({client:r,internalAuthTokenProvider:o}),customers:bf()({client:r,internalAuthTokenProvider:o}),externalCustomers:qf()({client:r,internalAuthTokenProvider:o}),twilio:Of()({client:r,internalAuthTokenProvider:o}),salesforce:Ef()({client:r,internalAuthTokenProvider:o}),shortUrls:zf()({client:r,internalAuthTokenProvider:o}),notify:Cf()({client:r,internalAuthTokenProvider:o}),ordersRulesValidations:Df()({client:r,internalAuthTokenProvider:o}),__test:{client:r}}}function eO({baseURL:e,headers:t,timeout:n,overrideFn:c,internalAuthTokenProvider:o,agents:i}){let r=G({baseURL:e,headers:t,timeout:n,overrideFn:c,agents:i});return{files:Lf()({client:r,internalAuthTokenProvider:o}),images:Kf()({client:r,internalAuthTokenProvider:o}),__test:{client:r}}}function tO({baseURL:e,headers:t,timeout:n,overrideFn:c,internalAuthTokenProvider:o,agents:i}){let r=G({baseURL:e,headers:t,timeout:n,overrideFn:c,agents:i});return{programs:Jf()({client:r,internalAuthTokenProvider:o}),movements:Gf()({client:r,internalAuthTokenProvider:o}),__test:{client:r}}}function rO({baseURL:e,headers:t,timeout:n,overrideFn:c,internalAuthTokenProvider:o,agents:i}){let r=G({baseURL:e,headers:t,timeout:n,overrideFn:c,agents:i});return{subscriptions:Qf()({client:r,internalAuthTokenProvider:o}),events:vf()({client:r,internalAuthTokenProvider:o}),undelivered:Tf()({client:r,internalAuthTokenProvider:o}),webhooks:Af()({client:r,internalAuthTokenProvider:o}),__test:{client:r}}}function sO({baseURL:e,headers:t,timeout:n,overrideFn:c,internalAuthTokenProvider:o,agents:i}){let r=G({baseURL:e,headers:t,timeout:n,overrideFn:c,agents:i});return{accessTicket:tm()({client:r,internalAuthTokenProvider:o}),seat:sm()({client:r,internalAuthTokenProvider:o}),__test:{client:r}}}function aO({baseURL:e,headers:t,timeout:n,overrideFn:c,internalAuthTokenProvider:o,agents:i}){let r=G({baseURL:e,headers:t,timeout:n,overrideFn:c,agents:i});return{adyen:nm()({client:r,internalAuthTokenProvider:o}),cybersource3ds:cm()({client:r,internalAuthTokenProvider:o}),docs:dm()({client:r}),cardpointeTerminals:fm().cardpointeTerminalsFactory({client:r,internalAuthTokenProvider:o}),paymentMethods:lm()({client:r,internalAuthTokenProvider:o}),referenceNumbers:gm()({client:r,internalAuthTokenProvider:o}),payments:$m()({client:r,internalAuthTokenProvider:o}),referencedPayments:wm()({client:r,internalAuthTokenProvider:o}),customers:Fm()({client:r,internalAuthTokenProvider:o}),customerCards:Em()({client:r,internalAuthTokenProvider:o}),squareTerminals:fs().squareTerminalsFactory({client:r,internalAuthTokenProvider:o}),squareWebhooks:fs().squareWebhooksFactory({client:r,internalAuthTokenProvider:o}),oxxo:Hm()({client:r,internalAuthTokenProvider:o}),datalogic:jm()({client:r,internalAuthTokenProvider:o}),prismaTerminals:Nm()({client:r,internalAuthTokenProvider:o}),terminalPayments:Bm()({client:r,internalAuthTokenProvider:o}),stripeTerminals:Im()({client:r,internalAuthTokenProvider:o}),stripe3ds:Km()({client:r,internalAuthTokenProvider:o}),__test:{client:r}}}function oO({baseURL:e,headers:t,timeout:n,overrideFn:c,internalAuthTokenProvider:o,agents:i}){let r=G({baseURL:e,headers:t,timeout:n,overrideFn:c,agents:i});return{docs:Jm()({client:r}),providers:Gm()({client:r,internalAuthTokenProvider:o}),providersSequences:Qm()({client:r,internalAuthTokenProvider:o}),infile:Pm()({client:r,internalAuthTokenProvider:o}),infileJson:km()({client:r,internalAuthTokenProvider:o}),system:tl()({client:r,internalAuthTokenProvider:o}),dlink:al()({client:r,internalAuthTokenProvider:o}),gti:ul()({client:r,internalAuthTokenProvider:o}),pdfs:il()({client:r,internalAuthTokenProvider:o}),emails:pl()({client:r,internalAuthTokenProvider:o}),taxIds:ml()({client:r,internalAuthTokenProvider:o}),invoices:hl()({client:r,internalAuthTokenProvider:o}),__test:{client:r}}}function nO({baseURL:e,headers:t,timeout:n,overrideFn:c,internalAuthTokenProvider:o,agents:i}){let r=G({baseURL:e,headers:t,timeout:n,overrideFn:c,agents:i});return{configuration:yl()({client:r,internalAuthTokenProvider:o}),__test:{client:r}}}function uO({baseURL:e,headers:t,timeout:n,overrideFn:c,internalAuthTokenProvider:o,agents:i}){let r=G({baseURL:e,headers:t,timeout:n,overrideFn:c,agents:i});return{scannerAppLocation:$l()({client:r,internalAuthTokenProvider:o}),__test:{client:r}}}function cO({baseURL:e,headers:t,timeout:n,overrideFn:c,agents:o}){let i=G({baseURL:e,headers:t,timeout:n,overrideFn:c,agents:o}),r="v2";return{auth:ql()({client:i}),clients:Fl()({client:i,version:r}),integrations:El()({client:i,version:r}),__test:{client:i}}}function iO(e){let{baseURL:t,baseURLOverride:n={},headers:c,timeout:o=0,internalAuthTokenProvider:i,agents:r}=e||Gw;return{constants:Tr(),_cleanClient:G({baseURL:t,headers:c,timeout:o,agents:r}),inventory:Dr(Dr({},Zw({baseURL:t,headers:c,timeout:o,overrideFn:n.inventory,internalAuthTokenProvider:i,agents:r})),Qw({baseURL:t,headers:c,timeout:o,overrideFn:n.trips,internalAuthTokenProvider:i,agents:r})),coltrane:Yw({baseURL:t,headers:c,timeout:o,overrideFn:n.coltrane,internalAuthTokenProvider:i,agents:r}),accounts:vw({baseURL:t,headers:c,timeout:o,overrideFn:n.accounts,internalAuthTokenProvider:i,agents:r}),sales:Pw({baseURL:t,headers:c,timeout:o,overrideFn:n.sales,internalAuthTokenProvider:i,agents:r}),operations:Tw({baseURL:t,headers:c,timeout:o,overrideFn:n.operations,internalAuthTokenProvider:i,agents:r}),reports:kw({baseURL:t,headers:c,timeout:o,overrideFn:n.reports,internalAuthTokenProvider:i,agents:r}),notifications:Aw({baseURL:t,headers:c,timeout:o,overrideFn:n.notifications,internalAuthTokenProvider:i,agents:r}),uploads:eO({baseURL:t,headers:c,timeout:o,overrideFn:n.uploads,internalAuthTokenProvider:i,agents:r}),loyalty:tO({baseURL:t,headers:c,timeout:o,overrideFn:n.loyalty,internalAuthTokenProvider:i,agents:r}),webhooks:rO({baseURL:t,headers:c,timeout:o,overrideFn:n.webhooks,internalAuthTokenProvider:i,agents:r}),seatmaps:sO({baseURL:t,headers:c,timeout:o,overrideFn:n.seatmaps,internalAuthTokenProvider:i,agents:r}),btrzpay:aO({baseURL:t,headers:c,timeout:o,overrideFn:n.btrzpay,internalAuthTokenProvider:i,agents:r}),invoices:oO({baseURL:t,headers:c,timeout:o,overrideFn:n.invoices,internalAuthTokenProvider:i,agents:r}),bpes:nO({baseURL:t,headers:c,timeout:o,overrideFn:n.bpes,internalAuthTokenProvider:i,agents:r}),gps:uO({baseURL:t,headers:c,timeout:o,overrideFn:n.invoices,internalAuthTokenProvider:i,agents:r}),ratality:cO({baseURL:t,headers:c,timeout:o,overrideFn:n.ratality,agents:r})}}_l.exports={clientFactory:G,createApiClient:iO}});return dO();})();
|
|
10
|
+
`+i)}}catch{}}throw c}}_request(t,n){typeof t=="string"?(n=n||{},n.url=t):n=t||{},n=Re(this.defaults,n);let{transitional:c,paramsSerializer:o,headers:i}=n;c!==void 0&&er.assertOptions(c,{silentJSONParsing:v.transitional(v.boolean),forcedJSONParsing:v.transitional(v.boolean),clarifyTimeoutError:v.transitional(v.boolean),legacyInterceptorReqResOrdering:v.transitional(v.boolean),advertiseZstdAcceptEncoding:v.transitional(v.boolean),validateStatusUndefinedResolves:v.transitional(v.boolean)},!1),o!=null&&($.isFunction(o)?n.paramsSerializer={serialize:o}:er.assertOptions(o,{encode:v.function,serialize:v.function},!0)),n.allowAbsoluteUrls!==void 0||(this.defaults.allowAbsoluteUrls!==void 0?n.allowAbsoluteUrls=this.defaults.allowAbsoluteUrls:n.allowAbsoluteUrls=!0),er.assertOptions(n,{baseUrl:v.spelling("baseURL"),withXsrfToken:v.spelling("withXSRFToken")},!0),n.method=(n.method||this.defaults.method||"get").toLowerCase();let r=i&&$.merge(i.common,i[n.method]);i&&$.forEach(["delete","get","head","post","put","patch","query","common"],q=>{delete i[q]}),n.headers=Z.concat(r,i);let s=[],a=!0;this.interceptors.request.forEach(function(y){if(typeof y.runWhen=="function"&&y.runWhen(n)===!1)return;a=a&&y.synchronous;let b=n.transitional||Yr;b&&b.legacyInterceptorReqResOrdering?s.unshift(y.fulfilled,y.rejected):s.push(y.fulfilled,y.rejected)});let u=[];this.interceptors.response.forEach(function(y){u.push(y.fulfilled,y.rejected)});let d,p=0,f;if(!a){let q=[Ls.bind(this),void 0];for(q.unshift(...s),q.push(...u),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++],y=s[p++];try{l=q(l)}catch(b){y.call(this,b);break}}try{d=Ls.call(this,l)}catch(q){return Promise.reject(q)}for(p=0,f=u.length;p<f;)d=d.then(u[p++],u[p++]);return d}getUri(t){t=Re(this.defaults,t);let n=sa(t.baseURL,t.url,t.allowAbsoluteUrls,t);return ks(n,t.params,t.paramsSerializer)}};$.forEach(["delete","get","head","options"],function(t){pe.prototype[t]=function(n,c){return this.request(Re(c||{},{method:t,url:n,data:c&&$.hasOwnProp(c,"data")?c.data:void 0}))}});$.forEach(["post","put","patch","query"],function(t){function n(c){return function(i,r,s){return this.request(Re(s||{},{method:t,headers:c?{"Content-Type":"multipart/form-data"}:{},url:i,data:r}))}}pe.prototype[t]=n(),t!=="query"&&(pe.prototype[t+"Form"]=n(!0))});var Jr=class e{constructor(t){if(typeof t!="function")throw new TypeError("executor must be a function.");let n;this.promise=new Promise(function(i){n=i});let c=this;this.promise.then(o=>{if(!c._listeners)return;let i=c._listeners.length;for(;i-- >0;)c._listeners[i](o);c._listeners=null}),this.promise.then=o=>{let i,r=new Promise(s=>{c.subscribe(s),i=s}).then(o);return r.cancel=function(){c.unsubscribe(i)},r},t(function(i,r,s){c.reason||(c.reason=new Ee(i,r,s),n(c.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=c=>{t.abort(c)};return this.subscribe(n),t.signal.unsubscribe=()=>this.unsubscribe(n),t.signal}static source(){let t;return{token:new e(function(o){t=o}),cancel:t}}};function zg(e){return function(n){return e.apply(null,n)}}function Hg(e){return $.isObject(e)&&e.isAxiosError===!0}var Xr={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(Xr).forEach(([e,t])=>{Xr[t]=e});function ua(e){let t=new pe(e),n=Is(pe.prototype.request,t);return $.extend(n,pe.prototype,t,{allOwnKeys:!0}),$.extend(n,t,null,{allOwnKeys:!0}),n.create=function(o){return ua(Re(e,o))},n}var X=ua(et);X.Axios=pe;X.CanceledError=Ee;X.CancelToken=Jr;X.isCancel=ta;X.VERSION=Pr;X.toFormData=nr;X.AxiosError=E;X.Cancel=X.CanceledError;X.all=function(t){return Promise.all(t)};X.spread=zg;X.isAxiosError=Hg;X.mergeConfig=Re;X.AxiosHeaders=Z;X.formToJSON=e=>ea($.isHTMLForm(e)?new FormData(e):e);X.getAdapter=na.getAdapter;X.HttpStatusCode=Xr;X.default=X;ca.exports=X});var pa=m((yO,da)=>{da.exports={baseURL:"https://api.betterez.com",timeout:15e3,baseURLOverride:{inventory:e=>`${e}/inventory`,trips:e=>`${e}/inventory`,bpes:e=>`${e}/bpes`}}});var kr=m((bO,fa)=>{var Cg={INTERNAL_AUTH_TOKEN_SYMBOL:"internal_auth_token"};fa.exports=Cg});var h=m(($O,ma)=>{var jg=kr();function Dg({token:e,jwtToken:t,internalAuthTokenProvider:n,headers:c}){let o={};if(e&&(o["x-api-key"]=`${e}`),c&&c.cookie&&c.cookie.includes("btrz-trusted")&&(o.cookie=c.cookie),t&&t===jg.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");o.authorization=`Bearer ${n.getToken()}`}else t&&(o.authorization=`Bearer ${t}`);try{c&&typeof c=="object"&&!Array.isArray(c)&&Object.entries(c).forEach(([i,r])=>{o[i]||(i==="x-amzn-trace-id"&&r||i==="x-elevation-token")&&(o[i]=c[i])})}catch(i){console.log(i)}return o}ma.exports={authorizationHeaders:Dg}});var ha=m((xO,la)=>{var{authorizationHeaders:cr}=h();function Ng({client:e,internalAuthTokenProvider:t}){function n({token:r,query:s={},headers:a}){return e.get("/amenities",{params:s,headers:cr({token:r,internalAuthTokenProvider:t,headers:a})})}function c({token:r,amenityId:s,query:a={},headers:u}){return e.get(`/amenities/${s}`,{params:a,headers:cr({token:r,internalAuthTokenProvider:t,headers:u})})}function o({token:r,jwtToken:s,amenity:a,headers:u}){return e({url:"/amenities",method:"post",headers:cr({token:r,jwtToken:s,internalAuthTokenProvider:t,headers:u}),data:{amenity:a}})}function i({token:r,jwtToken:s,amenityId:a,amenity:u,headers:d}){return e({url:`/amenities/${a}`,method:"put",headers:cr({token:r,jwtToken:s,internalAuthTokenProvider:t,headers:d}),data:{amenity:u}})}return{all:n,get:c,create:o,update:i}}la.exports=Ng});var ya=m((qO,ga)=>{var{authorizationHeaders:ir}=h();function Ug({client:e,internalAuthTokenProvider:t}){function n({token:r,query:s={},headers:a}){return e.get("/amenity-groups",{params:s,headers:ir({token:r,internalAuthTokenProvider:t,headers:a})})}function c({token:r,amenityGroupId:s,query:a={},headers:u}){return e.get(`/amenity-groups/${s}`,{params:a,headers:ir({token:r,internalAuthTokenProvider:t,headers:u})})}function o({token:r,jwtToken:s,amenityGroup:a,headers:u}){return e({url:"/amenity-groups",method:"post",headers:ir({token:r,jwtToken:s,internalAuthTokenProvider:t,headers:u}),data:{amenityGroup:a}})}function i({token:r,jwtToken:s,amenityGroupId:a,amenityGroup:u,headers:d}){return e({url:`/amenity-groups/${a}`,method:"put",headers:ir({token:r,jwtToken:s,internalAuthTokenProvider:t,headers:d}),data:{amenityGroup:u}})}return{all:n,get:c,create:o,update:i}}ga.exports=Ug});var $a=m((wO,ba)=>{var{authorizationHeaders:tt}=h();function Bg({client:e,internalAuthTokenProvider:t}){function n({token:s,jwtToken:a,query:u={},headers:d}){return e.get("/banks",{params:u,headers:tt({token:s,jwtToken:a,internalAuthTokenProvider:t,headers:d})})}function c({bankId:s,token:a,headers:u,jwtToken:d}){return e.get(`/banks/${s}`,{headers:tt({token:a,jwtToken:d,internalAuthTokenProvider:t,headers:u})})}function o({jwtToken:s,token:a,bank:u,headers:d}){return e({url:"/banks",method:"post",headers:tt({token:a,jwtToken:s,internalAuthTokenProvider:t,headers:d}),data:{bank:u}})}function i({jwtToken:s,bankId:a,token:u,headers:d}){return e({url:`/banks/${a}`,method:"delete",headers:tt({token:u,jwtToken:s,internalAuthTokenProvider:t,headers:d})})}function r({jwtToken:s,token:a,bankId:u,bank:d,headers:p}){return e({url:`/banks/${u}`,method:"put",headers:tt({token:a,jwtToken:s,internalAuthTokenProvider:t,headers:p}),data:{bank:d}})}return{all:n,get:c,create:o,update:r,remove:i}}ba.exports=Bg});var wa=m((OO,qa)=>{var{authorizationHeaders:xa}=h();function Lg({client:e,internalAuthTokenProvider:t}){function n({token:o,query:i={},headers:r}){return e({url:"/bare-routes",params:i,headers:xa({token:o,internalAuthTokenProvider:t,headers:r})})}function c({routeId:o,token:i,query:r={},headers:s}){return e({url:`/bare-routes/${o}`,params:r,headers:xa({token:i,internalAuthTokenProvider:t,headers:s})})}return{all:n,get:c}}qa.exports=Lg});var Fa=m((FO,Oa)=>{var{authorizationHeaders:dr}=h();function Mg({client:e,internalAuthTokenProvider:t}){function n({token:r,jwtToken:s,query:a={},headers:u}){return e({url:"/brands",params:a,headers:dr({token:r,jwtToken:s,internalAuthTokenProvider:t,headers:u})})}function c({token:r,jwtToken:s,brand:a,headers:u}){return e({url:"/brands",method:"post",headers:dr({token:r,jwtToken:s,internalAuthTokenProvider:t,headers:u}),data:{brand:a}})}function o({jwtToken:r,token:s,brandId:a,brand:u,headers:d}){return e({url:`/brands/${a}`,method:"put",headers:dr({token:s,jwtToken:r,internalAuthTokenProvider:t,headers:d}),data:{brand:u}})}function i({token:r,brandId:s,jwtToken:a,headers:u}){return e({url:`/brands/${s}`,method:"get",headers:dr({token:r,internalAuthTokenProvider:t,jwtToken:a,headers:u})})}return{all:n,create:c,update:o,get:i}}Oa.exports=Mg});var Ea=m((SO,Sa)=>{var{authorizationHeaders:Ig}=h();function Vg({client:e,internalAuthTokenProvider:t}){function n({token:c,bundleId:o,productId:i,query:r={},headers:s}){return e.get(`/bundle/${o}/product/${i}`,{params:r,headers:Ig({token:c,internalAuthTokenProvider:t,headers:s})})}return{all:n}}Sa.exports=Vg});var za=m((EO,_a)=>{var{authorizationHeaders:Ra}=h();function Kg({client:e,internalAuthTokenProvider:t}){function n({token:o,jwtToken:i,query:r={},headers:s}){return e({url:"/bundles",params:r,headers:Ra({token:o,jwtToken:i,internalAuthTokenProvider:t,headers:s})})}function c({token:o,jwtToken:i,bundleId:r,headers:s}){return e({url:`/bundles/${r}`,method:"get",headers:Ra({token:o,internalAuthTokenProvider:t,jwtToken:i,headers:s})})}return{all:n,get:c}}_a.exports=Kg});var Ca=m((RO,Ha)=>{var{authorizationHeaders:_e}=h();function Wg({client:e,internalAuthTokenProvider:t}){function n({token:s,jwtToken:a,query:u={},headers:d}){return e.get("/change-requests",{params:u,headers:_e({token:s,jwtToken:a,internalAuthTokenProvider:t,headers:d})})}function c({changerequestId:s,token:a,jwtToken:u,query:d={},headers:p}){return e({url:`/change-requests/${s}/manifests`,params:d,headers:_e({token:a,internalAuthTokenProvider:t,jwtToken:u,headers:p})})}function o({data:s,token:a,jwtToken:u,headers:d}){return e({url:"/change-requests/manifests",method:"post",headers:_e({token:a,jwtToken:u,internalAuthTokenProvider:t,headers:d}),data:s})}function i({changerequestId:s,data:a,token:u,jwtToken:d,headers:p}){return e({url:`/change-requests/${s}/manifests`,method:"put",headers:_e({token:u,jwtToken:d,internalAuthTokenProvider:t,headers:p}),data:a})}return{all:n,get:c,create:o,update:i,schedules:{get({changeRequestId:s,token:a,jwtToken:u,query:d={},headers:p}){return e({url:`/change-requests/${s}/schedules`,params:d,headers:_e({token:a,internalAuthTokenProvider:t,jwtToken:u,headers:p})})},create({data:s,token:a,jwtToken:u,headers:d}){return e({url:"/change-requests/schedules",method:"post",headers:_e({token:a,jwtToken:u,internalAuthTokenProvider:t,headers:d}),data:s})},update({changeRequestId:s,data:a,token:u,jwtToken:d,headers:p}){return e({url:`/change-requests/${s}/schedules`,method:"put",headers:_e({token:u,jwtToken:d,internalAuthTokenProvider:t,headers:p}),data:a})}}}}Ha.exports=Wg});var Da=m((_O,ja)=>{var{authorizationHeaders:Jg}=h();function Xg({client:e,internalAuthTokenProvider:t}){function n({token:c,jwtToken:o,query:i={},headers:r}){return e({url:"/companies",params:i,headers:Jg({token:c,jwtToken:o,internalAuthTokenProvider:t,headers:r})})}return{all:n}}ja.exports=Xg});var Ua=m((zO,Na)=>{var{authorizationHeaders:ze}=h();function Gg({client:e,internalAuthTokenProvider:t}){function n({token:u,jwtToken:d,query:p={},headers:f}){return e.get("/control-classes",{params:p,headers:ze({token:u,jwtToken:d,internalAuthTokenProvider:t,headers:f})})}function c({controlClassId:u,token:d,headers:p,jwtToken:f,query:l={}}){return e.get(`/control-classes/${u}`,{params:l,headers:ze({token:d,jwtToken:f,internalAuthTokenProvider:t,headers:p})})}function o({jwtToken:u,token:d,controlClass:p,headers:f}){return e({url:"/control-classes",method:"post",headers:ze({token:d,jwtToken:u,internalAuthTokenProvider:t,headers:f}),data:{controlClass:p}})}function i({jwtToken:u,controlClassId:d,token:p,headers:f}){return e({url:`/control-classes/${d}`,method:"delete",headers:ze({token:p,jwtToken:u,internalAuthTokenProvider:t,headers:f})})}function r({jwtToken:u,token:d,controlClassId:p,controlClass:f,headers:l}){return e({url:`/control-classes/${p}`,method:"put",headers:ze({token:d,jwtToken:u,internalAuthTokenProvider:t,headers:l}),data:{controlClass:f}})}let s={post:({token:u,jwtToken:d,controlClassId:p,data:f,headers:l})=>e({url:`/control-classes/${p}/schedules`,method:"post",headers:ze({token:u,jwtToken:d,internalAuthTokenProvider:t,headers:l}),data:f})};function a({jwtToken:u,token:d,rootClassId:p,controlClassCloneOptions:f,headers:l}){return e({url:`/control-classes/${p}/clones`,method:"post",headers:ze({token:d,jwtToken:u,internalAuthTokenProvider:t,headers:l}),data:{controlClassCloneOptions:f}})}return{all:n,get:c,create:o,update:r,remove:i,clone:a,schedules:s}}Na.exports=Gg});var Ma=m((HO,La)=>{var{authorizationHeaders:Ba}=h();function Zg({client:e,internalAuthTokenProvider:t}){function n({token:o,jwtToken:i,query:r={},headers:s}){return e({url:"/countries",params:r,headers:Ba({token:o,jwtToken:i,internalAuthTokenProvider:t,headers:s})})}function c({token:o,jwtToken:i,id:r,query:s={},headers:a}){return e({url:`/countries/${r}`,params:s,headers:Ba({token:o,jwtToken:i,internalAuthTokenProvider:t,headers:a})})}return{all:n,get:c}}La.exports=Zg});var Va=m((CO,Ia)=>{var{authorizationHeaders:rt}=h();function Qg({client:e,internalAuthTokenProvider:t}){function n({token:s,query:a={},headers:u}){return e.get("/custom-content",{params:a,headers:rt({token:s,internalAuthTokenProvider:t,headers:u})})}function c({customContentId:s,token:a,jwtToken:u,headers:d}){return e.get(`/custom-content/${s}`,{headers:rt({token:a,jwtToken:u,internalAuthTokenProvider:t,headers:d})})}function o({jwtToken:s,token:a,customContent:u,headers:d}){return e({url:"/custom-content",method:"post",headers:rt({token:a,jwtToken:s,internalAuthTokenProvider:t,headers:d}),data:{customContent:u}})}function i({jwtToken:s,customContentId:a,token:u,headers:d}){return e({url:`/custom-content/${a}`,method:"delete",headers:rt({token:u,jwtToken:s,internalAuthTokenProvider:t,headers:d})})}function r({jwtToken:s,token:a,customContentId:u,customContent:d,headers:p}){return e({url:`/custom-content/${u}`,method:"put",headers:rt({token:a,jwtToken:s,internalAuthTokenProvider:t,headers:p}),data:{customContent:d}})}return{all:n,get:c,create:o,update:r,remove:i}}Ia.exports=Qg});var Wa=m((jO,Ka)=>{var{authorizationHeaders:st}=h();function Yg({client:e,internalAuthTokenProvider:t}){function n({token:s,jwtToken:a,query:u={},headers:d}){return e({url:"/custom-fields",params:u,headers:st({token:s,jwtToken:a,internalAuthTokenProvider:t,headers:d})})}function c({fieldId:s,token:a,jwtToken:u,query:d={},headers:p}){return e({url:`/custom-fields/${s}`,params:d,headers:st({token:a,jwtToken:u,internalAuthTokenProvider:t,headers:p})})}function o({token:s,jwtToken:a,field:u,headers:d}){return e({url:"/custom-fields",method:"post",headers:st({token:s,jwtToken:a,internalAuthTokenProvider:t,headers:d}),data:{field:u}})}function i({token:s,jwtToken:a,fieldId:u,field:d,headers:p}){return e({url:`/custom-fields/${u}`,method:"put",headers:st({token:s,jwtToken:a,internalAuthTokenProvider:t,headers:p}),data:{field:d}})}return{all:n,get:c,create:o,update:i,types:{all({token:s,jwtToken:a,headers:u}){return e({url:"/custom-fields/types",headers:st({token:s,jwtToken:a,internalAuthTokenProvider:t,headers:u})})}}}}Ka.exports=Yg});var Xa=m((DO,Ja)=>{function vg({client:e}){function t(){return e.get("/api-docs-v2",{})}return{get:t}}Ja.exports=vg});var Ya=m((NO,Qa)=>{function Ga(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var c=Object.getOwnPropertySymbols(e);t&&(c=c.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),n.push.apply(n,c)}return n}function Za(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?Ga(Object(n),!0).forEach(function(c){Pg(e,c,n[c])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Ga(Object(n)).forEach(function(c){Object.defineProperty(e,c,Object.getOwnPropertyDescriptor(n,c))})}return e}function Pg(e,t,n){return(t=Tg(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Tg(e){var t=kg(e,"string");return typeof t=="symbol"?t:t+""}function kg(e,t){if(typeof e!="object"||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var c=n.call(e,t||"default");if(typeof c!="object")return c;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}var{authorizationHeaders:at}=h();function Ag({client:e,internalAuthTokenProvider:t}){function n({token:s,jwtToken:a,query:u={},headers:d}){return e({url:"/document-types",method:"get",headers:at({token:s,jwtToken:a,internalAuthTokenProvider:t,headers:d}),params:u})}function c({token:s,jwtToken:a,id:u,query:d={},headers:p,providerId:f}){let l=f?Za(Za({},d),{},{providerId:f}):d;return e({url:`/document-types/${u}`,method:"get",params:l,headers:at({token:s,jwtToken:a,internalAuthTokenProvider:t,headers:p})})}function o({token:s,jwtToken:a,id:u,documenttype:d,data:p,headers:f}){let l=d||p;return e({url:`/document-types/${u}`,method:"put",headers:at({token:s,jwtToken:a,internalAuthTokenProvider:t,headers:f}),data:{documenttype:l}})}function i({token:s,jwtToken:a,id:u,headers:d}){return e({url:`/document-types/${u}`,method:"delete",headers:at({token:s,jwtToken:a,internalAuthTokenProvider:t,headers:d})})}function r({token:s,jwtToken:a,documenttype:u,data:d,headers:p}){let f=u||d;return e({url:"/document-types",method:"post",headers:at({token:s,jwtToken:a,internalAuthTokenProvider:t,headers:p}),data:{documenttype:f}})}return{all:n,get:c,update:o,remove:i,create:r}}Qa.exports=Ag});var Pa=m((UO,va)=>{var{authorizationHeaders:ey}=h();function ty({client:e,internalAuthTokenProvider:t}){function n({eventId:c,token:o,headers:i}){return e.get(`/event/${c}`,{headers:ey({token:o,internalAuthTokenProvider:t,headers:i})})}return{get:n}}va.exports=ty});var Aa=m((BO,ka)=>{var{authorizationHeaders:Ta}=h();function ry({client:e,internalAuthTokenProvider:t}){function n({token:o,jwtToken:i,query:r={},headers:s}){return e.get("/external-passes",{params:r,headers:Ta({token:o,internalAuthTokenProvider:t,jwtToken:i,headers:s})})}function c({externalPassId:o,token:i,jwtToken:r,headers:s}){return e.get(`/external-passes/${o}`,{headers:Ta({token:i,internalAuthTokenProvider:t,jwtToken:r,headers:s})})}return{all:n,get:c}}ka.exports=ry});var to=m((LO,eo)=>{var{authorizationHeaders:ye}=h();function sy({client:e,internalAuthTokenProvider:t}){return{saldoMax:{all:({token:c,jwtToken:o,query:i={},headers:r})=>e.get("/external-wallets/saldo-max",{params:i,headers:ye({token:c,internalAuthTokenProvider:t,jwtToken:o,headers:r})}),create:({token:c,jwtToken:o,externalWallet:i,headers:r})=>e({url:"/external-wallets/saldo-max",method:"post",headers:ye({token:c,jwtToken:o,internalAuthTokenProvider:t,headers:r}),data:{externalWallet:i}}),get:({token:c,jwtToken:o,walletId:i,headers:r})=>e.get(`/external-wallets/saldo-max/${i}`,{headers:ye({token:c,jwtToken:o,internalAuthTokenProvider:t,headers:r})}),update:({token:c,jwtToken:o,externalWallet:i,headers:r})=>{let s={nip:i.nip,walletNumber:i.walletNumber,status:i.status};return e({url:`/external-wallets/saldo-max/${i._id}`,method:"put",headers:ye({token:c,jwtToken:o,internalAuthTokenProvider:t,headers:r}),data:{externalWallet:s}})},nip:{update:({token:c,jwtToken:o,walletId:i,nip:r,headers:s})=>e({url:`/external-wallets/saldo-max/${i}/nip`,method:"put",headers:ye({token:c,jwtToken:o,internalAuthTokenProvider:t,headers:s}),data:{nip:r}})},authorization:{create:({token:c,jwtToken:o,walletId:i,nip:r,nipAuthorization:s,headers:a})=>{let u=s!=null?{nipAuthorization:s}:{nip:r};return e({url:`/external-wallets/saldo-max/${i}/authorization`,method:"post",headers:ye({token:c,jwtToken:o,internalAuthTokenProvider:t,headers:a}),data:u})}},movements:{create:({token:c,jwtToken:o,walletId:i,movement:r,headers:s})=>e({url:`/external-wallets/saldo-max/${i}/movements`,method:"put",headers:ye({token:c,jwtToken:o,internalAuthTokenProvider:t,headers:s}),data:{movement:r}})},statements:{create:({token:c,jwtToken:o,walletId:i,statementRequest:r,headers:s})=>e({url:`/external-wallets/saldo-max/${i}/statements`,method:"post",headers:ye({token:c,jwtToken:o,internalAuthTokenProvider:t,headers:s}),data:r!=null?{statementRequest:r}:{}})}}}}eo.exports=sy});var so=m((MO,ro)=>{var{authorizationHeaders:ot}=h();function ay({client:e,internalAuthTokenProvider:t}){function n({token:s,jwtToken:a,query:u={},headers:d}){return e.get("/fare-type-modifiers",{params:u,headers:ot({token:s,jwtToken:a,internalAuthTokenProvider:t,headers:d})})}function c({fareTypeModifierId:s,token:a,jwtToken:u,headers:d}){return e.get(`/fare-type-modifiers/${s}`,{headers:ot({token:a,jwtToken:u,internalAuthTokenProvider:t,headers:d})})}function o({jwtToken:s,token:a,fareTypeModifier:u,headers:d}){return e({url:"/fare-type-modifiers",method:"post",headers:ot({token:a,jwtToken:s,internalAuthTokenProvider:t,headers:d}),data:{fareTypeModifier:u}})}function i({jwtToken:s,fareTypeModifierId:a,token:u,headers:d}){return e({url:`/fare-type-modifiers/${a}`,method:"delete",headers:ot({token:u,jwtToken:s,internalAuthTokenProvider:t,headers:d})})}function r({jwtToken:s,token:a,fareTypeModifierId:u,fareTypeModifier:d,headers:p}){return e({url:`/fare-type-modifiers/${u}`,method:"put",headers:ot({token:a,jwtToken:s,internalAuthTokenProvider:t,headers:p}),data:{fareTypeModifier:d}})}return{all:n,get:c,create:o,update:r,remove:i}}ro.exports=ay});var oo=m((IO,ao)=>{var{authorizationHeaders:pr}=h();function oy({client:e,internalAuthTokenProvider:t}){function n({token:r,jwtToken:s,query:a={},headers:u}){return e.get("/fallback-codes",{params:a,headers:pr({token:r,jwtToken:s,internalAuthTokenProvider:t,headers:u})})}function c({token:r,id:s,headers:a}){return e.get(`/fallback-code/${s}`,{headers:pr({token:r,internalAuthTokenProvider:t,headers:a})})}function o({token:r,jwtToken:s,fallbackCode:a,headers:u}){return e({url:"/fallback-codes",method:"post",headers:pr({token:r,jwtToken:s,internalAuthTokenProvider:t,headers:u}),data:{fallbackCode:a}})}function i({token:r,jwtToken:s,fallbackCodeId:a,fallbackCode:u,headers:d}){return e({url:`/fallback-code/${a}`,method:"put",headers:pr({token:r,jwtToken:s,internalAuthTokenProvider:t,headers:d}),data:{fallbackCode:u}})}return{all:n,get:c,create:o,update:i}}ao.exports=oy});var uo=m((VO,no)=>{var{authorizationHeaders:Ar}=h();function ny({client:e,internalAuthTokenProvider:t}){function n({token:i,jwtToken:r,query:s={},headers:a}){return e({url:"/fare-classes",params:s,headers:Ar({token:i,jwtToken:r,internalAuthTokenProvider:t,headers:a})})}function c({token:i,jwtToken:r,fareClass:s,headers:a}){return e({url:"/fare-classes",method:"post",headers:Ar({token:i,jwtToken:r,internalAuthTokenProvider:t,headers:a}),data:{fareClass:s}})}function o({token:i,jwtToken:r,fareClassId:s,update:a,headers:u}){return e({url:`/fare-classes/${s}`,method:"patch",headers:Ar({token:i,jwtToken:r,internalAuthTokenProvider:t,headers:u}),data:{update:a}})}return{all:n,create:c,update:o}}no.exports=ny});var io=m((KO,co)=>{var{authorizationHeaders:We}=h();function uy({client:e,internalAuthTokenProvider:t}){function n({token:s,query:a={},headers:u}){return e.get("/fares",{params:a,headers:We({token:s,internalAuthTokenProvider:t,headers:u})})}function c({token:s,id:a,headers:u}){return e.get(`/fare/${a}`,{headers:We({token:s,internalAuthTokenProvider:t,headers:u})})}function o({token:s,jwtToken:a,fare:u,headers:d}){return e({url:"/fares",method:"post",headers:We({token:s,jwtToken:a,internalAuthTokenProvider:t,headers:d}),data:{fare:u}})}function i({token:s,jwtToken:a,fareId:u,fare:d,headers:p}){return e({url:`/fare/${u}`,method:"put",headers:We({token:s,jwtToken:a,internalAuthTokenProvider:t,headers:p}),data:{fare:d}})}return{all:n,get:c,update:i,create:o,adjustments:{create({token:s,jwtToken:a,fareId:u,adjustmentsOverride:d,headers:p}){return e({url:`/fares/${u}/adjustments-overrides`,method:"post",headers:We({token:s,jwtToken:a,internalAuthTokenProvider:t,headers:p}),data:{adjustmentsOverride:d}})},remove({token:s,jwtToken:a,fareId:u,adjustmentId:d,headers:p}){return e({url:`/fares/${u}/adjustments-override/${d}`,method:"delete",headers:We({token:s,jwtToken:a,internalAuthTokenProvider:t,headers:p})})}}}}co.exports=uy});var fo=m((WO,po)=>{var{authorizationHeaders:fr}=h();function cy({client:e,internalAuthTokenProvider:t}){function n({token:r,jwtToken:s,query:a={},headers:u}){return e.get("/fees",{params:a,headers:fr({token:r,jwtToken:s,internalAuthTokenProvider:t,headers:u})})}function c({token:r,jwtToken:s,feeId:a,headers:u}){return e.get(`/fees/${a}`,{headers:fr({token:r,jwtToken:s,internalAuthTokenProvider:t,headers:u})})}function o({token:r,jwtToken:s,fee:a,headers:u}){return e({url:"/fees",method:"post",headers:fr({token:r,jwtToken:s,internalAuthTokenProvider:t,headers:u}),data:{fee:a}})}function i({token:r,jwtToken:s,feeId:a,fee:u,headers:d}){return e({url:`/fees/${a}`,method:"put",headers:fr({token:r,jwtToken:s,internalAuthTokenProvider:t,headers:d}),data:{fee:u}})}return{all:n,get:c,create:o,update:i}}po.exports=cy});var lo=m((JO,mo)=>{var{authorizationHeaders:es}=h();function iy({client:e,internalAuthTokenProvider:t}){function n({token:i,jwtToken:r,query:s={},headers:a}){return e.get("/filtered-trips",{params:s,headers:es({token:i,jwtToken:r,internalAuthTokenProvider:t,headers:a})})}function c({token:i,jwtToken:r,tripSegmentsId:s,headers:a}){return e({url:"/filtered-trips",method:"post",headers:es({token:i,jwtToken:r,internalAuthTokenProvider:t,headers:a}),data:{tripSegmentsId:s}})}function o({token:i,jwtToken:r,filteredTripId:s,headers:a}){return e({url:`/filtered-trip/${s}`,method:"delete",headers:es({token:i,jwtToken:r,internalAuthTokenProvider:t,headers:a})})}return{all:n,create:c,remove:o}}mo.exports=iy});var go=m((XO,ho)=>{var{authorizationHeaders:dy}=h();function py({client:e,internalAuthTokenProvider:t}){function n({token:c,jwtToken:o,filteredTrip:i,headers:r}){return e({url:"/v2/filtered-trips",method:"post",headers:dy({token:c,jwtToken:o,internalAuthTokenProvider:t,headers:r}),data:{filteredTrip:i}})}return{create:n}}ho.exports=py});var bo=m((GO,yo)=>{var{authorizationHeaders:nt}=h();function fy({client:e,internalAuthTokenProvider:t}){function n({token:s,jwtToken:a,query:u={},headers:d}){return e.get("/financing-costs",{params:u,headers:nt({token:s,jwtToken:a,internalAuthTokenProvider:t,headers:d})})}function c({id:s,token:a,headers:u,jwtToken:d,query:p={}}){return e.get(`/financing-costs/${s}`,{params:p,headers:nt({token:a,jwtToken:d,internalAuthTokenProvider:t,headers:u})})}function o({jwtToken:s,token:a,financingCost:u,headers:d}){return e({url:"/financing-costs",method:"post",headers:nt({token:a,jwtToken:s,internalAuthTokenProvider:t,headers:d}),data:{financingcost:u}})}function i({jwtToken:s,id:a,token:u,headers:d,query:p={}}){return e({url:`/financing-costs/${a}`,method:"delete",params:p,headers:nt({token:u,jwtToken:s,internalAuthTokenProvider:t,headers:d})})}function r({jwtToken:s,token:a,id:u,financingCost:d,headers:p}){return e({url:`/financing-costs/${u}`,method:"put",headers:nt({token:a,jwtToken:s,internalAuthTokenProvider:t,headers:p}),data:{financingcost:d}})}return{all:n,get:c,create:o,update:r,remove:i}}yo.exports=fy});var xo=m((ZO,$o)=>{var{authorizationHeaders:ut}=h();function my({client:e,internalAuthTokenProvider:t}){function n({token:s,jwtToken:a,query:u={},headers:d}){return e.get("/garages",{params:u,headers:ut({token:s,jwtToken:a,internalAuthTokenProvider:t,headers:d})})}function c({token:s,jwtToken:a,garageId:u,headers:d}){return e.get(`/garages/${u}`,{headers:ut({token:s,jwtToken:a,internalAuthTokenProvider:t,headers:d})})}function o({token:s,jwtToken:a,data:u,headers:d}){return e({url:"/garages",method:"post",headers:ut({token:s,jwtToken:a,internalAuthTokenProvider:t,headers:d}),data:u})}function i({token:s,jwtToken:a,garageId:u,data:d,headers:p}){return e({url:`/garages/${u}`,method:"put",headers:ut({token:s,jwtToken:a,internalAuthTokenProvider:t,headers:p}),data:d})}function r({token:s,jwtToken:a,garageId:u,headers:d}){return e({url:`/garages/${u}`,method:"delete",headers:ut({token:s,jwtToken:a,internalAuthTokenProvider:t,headers:d})})}return{all:n,get:c,create:o,update:i,remove:r}}$o.exports=my});var wo=m((QO,qo)=>{var{authorizationHeaders:ct}=h();function ly({client:e,internalAuthTokenProvider:t}){function n({token:s,jwtToken:a,query:u={},headers:d}){return e.get("/banorte-terminals",{params:u,headers:ct({token:s,jwtToken:a,internalAuthTokenProvider:t,headers:d})})}function c({banorteTerminalId:s,token:a,jwtToken:u,headers:d}){return e.get(`/banorte-terminals/${s}`,{headers:ct({token:a,jwtToken:u,internalAuthTokenProvider:t,headers:d})})}function o({jwtToken:s,token:a,banorteTerminal:u,headers:d}){return e({url:"/banorte-terminals",method:"post",headers:ct({token:a,jwtToken:s,internalAuthTokenProvider:t,headers:d}),data:{banorteTerminal:u}})}function i({jwtToken:s,banorteTerminalId:a,token:u,headers:d}){return e({url:`/banorte-terminals/${a}`,method:"delete",headers:ct({token:u,jwtToken:s,internalAuthTokenProvider:t,headers:d})})}function r({jwtToken:s,token:a,banorteTerminalId:u,banorteTerminal:d,headers:p}){let f=u||d._id;return e({url:`/banorte-terminals/${f}`,method:"put",headers:ct({token:a,jwtToken:s,internalAuthTokenProvider:t,headers:p}),data:{banorteTerminal:{name:d.name,serialNumber:d.serialNumber,stationId:d.stationId}}})}return{all:n,get:c,create:o,remove:i,update:r}}qo.exports=ly});var Fo=m((YO,Oo)=>{var{authorizationHeaders:it}=h();function hy({client:e,internalAuthTokenProvider:t}){function n({token:s,jwtToken:a,query:u={},headers:d}){return e.get("/getnet-terminals",{params:u,headers:it({token:s,jwtToken:a,internalAuthTokenProvider:t,headers:d})})}function c({getnetTerminalId:s,token:a,jwtToken:u,headers:d}){return e.get(`/getnet-terminals/${s}`,{headers:it({token:a,jwtToken:u,internalAuthTokenProvider:t,headers:d})})}function o({jwtToken:s,token:a,getnetTerminal:u,headers:d}){return e({url:"/getnet-terminals",method:"post",headers:it({token:a,jwtToken:s,internalAuthTokenProvider:t,headers:d}),data:{getnetTerminal:u}})}function i({jwtToken:s,getnetTerminalId:a,token:u,headers:d}){return e({url:`/getnet-terminals/${a}`,method:"delete",headers:it({token:u,jwtToken:s,internalAuthTokenProvider:t,headers:d})})}function r({jwtToken:s,token:a,getnetTerminalId:u,getnetTerminal:d,headers:p}){let f=u||d._id;return e({url:`/getnet-terminals/${f}`,method:"put",headers:it({token:a,jwtToken:s,internalAuthTokenProvider:t,headers:p}),data:{getnetTerminal:{name:d.name,serialNumber:d.serialNumber,stationId:d.stationId}}})}return{all:n,get:c,create:o,remove:i,update:r}}Oo.exports=hy});var Eo=m((vO,So)=>{var{authorizationHeaders:dt}=h();function gy({client:e,internalAuthTokenProvider:t}){function n({token:s,jwtToken:a,query:u={},headers:d}){return e.get("/clover-terminals",{params:u,headers:dt({token:s,jwtToken:a,internalAuthTokenProvider:t,headers:d})})}function c({cloverTerminalId:s,token:a,jwtToken:u,headers:d}){return e.get(`/clover-terminals/${s}`,{headers:dt({token:a,jwtToken:u,internalAuthTokenProvider:t,headers:d})})}function o({jwtToken:s,token:a,cloverTerminal:u,headers:d}){return e({url:"/clover-terminals",method:"post",headers:dt({token:a,jwtToken:s,internalAuthTokenProvider:t,headers:d}),data:{cloverTerminal:u}})}function i({jwtToken:s,cloverTerminalId:a,token:u,headers:d}){return e({url:`/clover-terminals/${a}`,method:"delete",headers:dt({token:u,jwtToken:s,internalAuthTokenProvider:t,headers:d})})}function r({jwtToken:s,token:a,cloverTerminalId:u,cloverTerminal:d,headers:p}){let f=u||d._id;return e({url:`/clover-terminals/${f}`,method:"put",headers:dt({token:a,jwtToken:s,internalAuthTokenProvider:t,headers:p}),data:{cloverTerminal:{name:d.name,serialNumber:d.serialNumber,stationId:d.stationId}}})}return{all:n,get:c,create:o,remove:i,update:r}}So.exports=gy});var _o=m((PO,Ro)=>{var{authorizationHeaders:pt}=h();function yy({client:e,internalAuthTokenProvider:t}){function n({token:s,query:a={},headers:u}){return e.get("/gift-certificate-definitions",{params:a,headers:pt({token:s,internalAuthTokenProvider:t,headers:u})})}function c({token:s,jwtToken:a,giftcertificateId:u,query:d={},headers:p}){return e({url:`/gift-certificate-definitions/${u}`,method:"get",headers:pt({token:s,jwtToken:a,internalAuthTokenProvider:t,headers:p}),params:d})}function o({token:s,jwtToken:a,giftcertificate:u,query:d={},headers:p}){return e({url:"/gift-certificate-definitions",method:"post",headers:pt({token:s,jwtToken:a,internalAuthTokenProvider:t,headers:p}),params:d,data:{giftcertificate:u}})}function i({token:s,jwtToken:a,giftcertificateId:u,giftcertificate:d,query:p={},headers:f}){return e({url:`/gift-certificate-definitions/${u}`,method:"put",headers:pt({token:s,jwtToken:a,internalAuthTokenProvider:t,headers:f}),params:p,data:{giftcertificate:d}})}function r({token:s,jwtToken:a,giftcertificateId:u,query:d={},headers:p}){return e({url:`/gift-certificate-definitions/${u}`,method:"delete",headers:pt({token:s,jwtToken:a,internalAuthTokenProvider:t,headers:p}),params:d})}return{all:n,get:c,create:o,update:i,remove:r}}Ro.exports=yy});var Ho=m((TO,zo)=>{function by({client:e}){function t(){return e({url:"/healthcheck",method:"get"})}return{get:t}}zo.exports=by});var jo=m((kO,Co)=>{var{authorizationHeaders:ft}=h();function $y({client:e,internalAuthTokenProvider:t}){function n({token:s,jwtToken:a,query:u={},headers:d}){return e.get("/holidays",{params:u,headers:ft({token:s,jwtToken:a,internalAuthTokenProvider:t,headers:d})})}function c({token:s,jwtToken:a,holidayId:u,query:d={},headers:p}){return e({url:`/holidays/${u}`,method:"get",headers:ft({token:s,jwtToken:a,internalAuthTokenProvider:t,headers:p}),params:d})}function o({token:s,jwtToken:a,holiday:u,headers:d}){return e({url:"/holidays",method:"post",headers:ft({token:s,jwtToken:a,internalAuthTokenProvider:t,headers:d}),data:{holiday:u}})}function i({token:s,jwtToken:a,holidayId:u,holiday:d,headers:p}){return e({url:`/holidays/${u}`,method:"put",headers:ft({token:s,jwtToken:a,internalAuthTokenProvider:t,headers:p}),data:{holiday:d}})}function r({token:s,jwtToken:a,holidayId:u,headers:d}){return e({url:`/holidays/${u}`,method:"delete",headers:ft({token:s,jwtToken:a,internalAuthTokenProvider:t,headers:d})})}return{all:n,get:c,create:o,update:i,remove:r}}Co.exports=$y});var No=m((AO,Do)=>{var{authorizationHeaders:mt}=h();function xy({client:e,internalAuthTokenProvider:t}){function n({token:s,query:a={},headers:u}){return e.get("/insurances",{params:a,headers:mt({token:s,internalAuthTokenProvider:t,headers:u})})}function c({token:s,insuranceId:a,headers:u}){return e.get(`/insurances/${a}`,{headers:mt({token:s,internalAuthTokenProvider:t,headers:u})})}function o({token:s,insurance:a,jwtToken:u,headers:d}){return e({url:"/insurances",method:"post",headers:mt({token:s,jwtToken:u,internalAuthTokenProvider:t,headers:d}),data:{insurance:a}})}function i({token:s,insurance:a,jwtToken:u,insuranceId:d,headers:p}){return e({url:`/insurances/${d}`,method:"put",headers:mt({token:s,jwtToken:u,internalAuthTokenProvider:t,headers:p}),data:{insurance:a}})}function r({token:s,jwtToken:a,insuranceId:u,headers:d}){return e({url:`/insurances/${u}`,method:"delete",headers:mt({token:s,jwtToken:a,internalAuthTokenProvider:t,headers:d})})}return{all:n,create:o,get:c,update:i,remove:r}}Do.exports=xy});var Bo=m((eF,Uo)=>{var{authorizationHeaders:qy}=h();function wy({client:e,internalAuthTokenProvider:t}){function n({token:c,productId:o,declaredValue:i,query:r={},headers:s}){return e.get(`/insurances/${o}/cost`,{params:Object.assign(r,{declaredValue:i}),headers:qy({token:c,internalAuthTokenProvider:t,headers:s})})}return{get:n}}Uo.exports=wy});var Mo=m((tF,Lo)=>{var{authorizationHeaders:lt}=h();function Oy({client:e,internalAuthTokenProvider:t}){function n({token:s,query:a={},jwtToken:u,headers:d}){return e({url:"/items",params:a,headers:lt({token:s,jwtToken:u,internalAuthTokenProvider:t,headers:d})})}function c({itemId:s,token:a,jwtToken:u,query:d={},headers:p}){return e.get(`/items/${s}`,{params:d,headers:lt({token:a,jwtToken:u,internalAuthTokenProvider:t,headers:p})})}function o({jwtToken:s,item:a,token:u,headers:d}){return e({url:"/items",method:"post",headers:lt({token:u,jwtToken:s,internalAuthTokenProvider:t,headers:d}),data:{item:a}})}function i({jwtToken:s,token:a,itemId:u,item:d,headers:p}){return e({url:`/items/${u}`,method:"put",headers:lt({token:a,jwtToken:s,internalAuthTokenProvider:t,headers:p}),data:{item:d}})}return{all:n,get:c,create:o,update:i,tickets:{update({jwtToken:s,token:a,soldItemId:u,ticketId:d,headers:p,query:f}){return e({url:`/items/${u}/tickets/${d}`,method:"put",headers:lt({token:a,jwtToken:s,internalAuthTokenProvider:t,headers:p}),params:f})}}}}Lo.exports=Oy});var Vo=m((rF,Io)=>{var{authorizationHeaders:ht}=h();function Fy({client:e,internalAuthTokenProvider:t}){function n({token:s,jwtToken:a,query:u={},headers:d}){return e({url:"/journey-prices",params:u,headers:ht({token:s,jwtToken:a,internalAuthTokenProvider:t,headers:d})})}function c({id:s,token:a,jwtToken:u,query:d={},headers:p}){return e({url:`/journey-prices/${s}`,params:d,headers:ht({token:a,jwtToken:u,internalAuthTokenProvider:t,headers:p})})}function o({token:s,jwtToken:a,id:u,headers:d}){return e({url:`/journey-prices/${u}`,method:"delete",headers:ht({token:s,jwtToken:a,internalAuthTokenProvider:t,headers:d})})}function i({token:s,jwtToken:a,journeyPrice:u,headers:d}){return e({url:"/journey-prices",method:"post",headers:ht({token:s,jwtToken:a,internalAuthTokenProvider:t,headers:d}),data:{journeyPrice:u}})}function r({token:s,jwtToken:a,journeyPriceId:u,journeyPrice:d,headers:p}){return e({url:`/journey-prices/${u}`,method:"patch",headers:ht({token:s,jwtToken:a,internalAuthTokenProvider:t,headers:p}),data:{update:d}})}return{all:n,deleteById:o,get:c,create:i,update:r}}Io.exports=Fy});var Wo=m((sF,Ko)=>{var{authorizationHeaders:gt}=h();function Sy({client:e,internalAuthTokenProvider:t}){function n({token:s,jwtToken:a,query:u={},headers:d}){return e.get("/labels",{params:u,headers:gt({token:s,jwtToken:a,internalAuthTokenProvider:t,headers:d})})}function c({labelId:s,token:a,jwtToken:u,query:d={},headers:p}){return e.get(`/labels/${s}`,{params:d,headers:gt({token:a,jwtToken:u,internalAuthTokenProvider:t,headers:p})})}function o({jwtToken:s,label:a,token:u,headers:d}){return e({url:"/labels",method:"post",headers:gt({token:u,jwtToken:s,internalAuthTokenProvider:t,headers:d}),data:{label:a}})}function i({jwtToken:s,token:a,labelId:u,label:d,headers:p}){return e({url:`/labels/${u}`,method:"put",headers:gt({token:a,jwtToken:s,internalAuthTokenProvider:t,headers:p}),data:{label:d}})}function r({jwtToken:s,token:a,labelId:u,headers:d}){return e({url:`/labels/${u}`,method:"delete",headers:gt({token:a,jwtToken:s,internalAuthTokenProvider:t,headers:d})})}return{all:n,get:c,create:o,update:i,remove:r}}Ko.exports=Sy});var Xo=m((aF,Jo)=>{var{authorizationHeaders:yt}=h();function Ey({client:e,internalAuthTokenProvider:t}){function n({token:s,jwtToken:a,query:u={},headers:d}){return e({url:"/marital-status",method:"get",headers:yt({token:s,jwtToken:a,internalAuthTokenProvider:t,headers:d}),params:u})}function c({token:s,jwtToken:a,id:u,query:d={},headers:p}){return e({url:`/marital-status/${u}`,method:"get",headers:yt({token:s,jwtToken:a,internalAuthTokenProvider:t,headers:p}),params:d})}function o({token:s,jwtToken:a,id:u,data:d,query:p={},headers:f}){return e({url:`/marital-status/${u}`,method:"put",headers:yt({token:s,jwtToken:a,internalAuthTokenProvider:t,headers:f}),params:p,data:d})}function i({token:s,jwtToken:a,id:u,query:d={},headers:p}){return e({url:`/marital-status/${u}`,method:"delete",headers:yt({token:s,jwtToken:a,internalAuthTokenProvider:t,headers:p}),params:d})}function r({token:s,jwtToken:a,data:u,query:d={},headers:p}){return e({url:"/marital-status",method:"post",headers:yt({token:s,jwtToken:a,internalAuthTokenProvider:t,headers:p}),params:d,data:u})}return{all:n,get:c,update:o,remove:i,create:r}}Jo.exports=Ey});var Zo=m((oF,Go)=>{var{authorizationHeaders:bt}=h();function Ry({client:e,internalAuthTokenProvider:t}){function n({token:s,query:a={},headers:u}){return e.get("/marketplace-modifiers",{params:a,headers:bt({token:s,internalAuthTokenProvider:t,headers:u})})}function c({marketplaceModifierId:s,token:a,headers:u}){return e.get(`/marketplace-modifiers/${s}`,{headers:bt({token:a,internalAuthTokenProvider:t,headers:u})})}function o({jwtToken:s,token:a,marketplaceModifier:u,headers:d}){return e({url:"/marketplace-modifiers",method:"post",headers:bt({token:a,jwtToken:s,internalAuthTokenProvider:t,headers:d}),data:{marketplaceModifier:u}})}function i({jwtToken:s,marketplaceModifierId:a,token:u,headers:d}){return e({url:`/marketplace-modifiers/${a}`,method:"delete",headers:bt({token:u,jwtToken:s,internalAuthTokenProvider:t,headers:d})})}function r({jwtToken:s,token:a,marketplaceModifierId:u,marketplaceModifier:d,headers:p}){return e({url:`/marketplace-modifiers/${u}`,method:"put",headers:bt({token:a,jwtToken:s,internalAuthTokenProvider:t,headers:p}),data:{marketplaceModifier:d}})}return{all:n,get:c,create:o,update:r,remove:i}}Go.exports=Ry});var Yo=m((nF,Qo)=>{var{authorizationHeaders:$t}=h();function _y({client:e,internalAuthTokenProvider:t}){function n({token:s,query:a={},headers:u}){return e.get("/mit-terminals",{params:a,headers:$t({token:s,internalAuthTokenProvider:t,headers:u})})}function c({mitTerminalId:s,token:a,headers:u}){return e.get(`/mit-terminals/${s}`,{headers:$t({token:a,internalAuthTokenProvider:t,headers:u})})}function o({jwtToken:s,token:a,mitTerminal:u,headers:d}){return e({url:"/mit-terminals",method:"post",headers:$t({token:a,jwtToken:s,internalAuthTokenProvider:t,headers:d}),data:{mitTerminal:u}})}function i({jwtToken:s,mitTerminalId:a,token:u,headers:d}){return e({url:`/mit-terminals/${a}`,method:"delete",headers:$t({token:u,jwtToken:s,internalAuthTokenProvider:t,headers:d})})}function r({jwtToken:s,token:a,mitTerminalId:u,mitTerminal:d,headers:p}){return e({url:`/mit-terminals/${u}`,method:"put",headers:$t({token:a,jwtToken:s,internalAuthTokenProvider:t,headers:p}),data:{mitTerminal:d}})}return{all:n,get:c,create:o,update:r,remove:i}}Qo.exports=_y});var Po=m((uF,vo)=>{var{authorizationHeaders:xt}=h();function zy({client:e,internalAuthTokenProvider:t}){function n({token:s,jwtToken:a,query:u={},headers:d}){return e.get("/mit-terminals-settings",{params:u,headers:xt({token:s,jwtToken:a,internalAuthTokenProvider:t,headers:d})})}function c({id:s,token:a,jwtToken:u,headers:d}){return e.get(`/mit-terminals-settings/${s}`,{headers:xt({token:a,jwtToken:u,internalAuthTokenProvider:t,headers:d})})}function o({jwtToken:s,token:a,mitTerminalSettings:u,headers:d}){return e({url:"/mit-terminals-settings",method:"post",headers:xt({token:a,jwtToken:s,internalAuthTokenProvider:t,headers:d}),data:{mitTerminalSettings:u}})}function i({jwtToken:s,id:a,token:u,headers:d}){return e({url:`/mit-terminals-settings/${a}`,method:"delete",headers:xt({token:u,jwtToken:s,internalAuthTokenProvider:t,headers:d})})}function r({jwtToken:s,token:a,id:u,mitTerminalSettings:d,headers:p}){return e({url:`/mit-terminals-settings/${u}`,method:"put",headers:xt({token:a,jwtToken:s,internalAuthTokenProvider:t,headers:p}),data:{mitTerminalSettings:d}})}return{all:n,get:c,create:o,update:r,remove:i}}vo.exports=zy});var ko=m((cF,To)=>{var{authorizationHeaders:be}=h();function Hy({client:e,internalAuthTokenProvider:t}){function n({token:s,jwtToken:a,query:u={},headers:d}){return e({url:"/operating-companies",params:u,headers:be({token:s,jwtToken:a,internalAuthTokenProvider:t,headers:d})})}function c({token:s,jwtToken:a,operatingCompany:u,headers:d}){return e({url:"/operating-companies",method:"post",headers:be({token:s,jwtToken:a,internalAuthTokenProvider:t,headers:d}),data:{operatingCompany:u}})}function o({jwtToken:s,token:a,operatingCompanyId:u,operatingCompany:d,headers:p}){return e({url:`/operating-companies/${u}`,method:"put",headers:be({token:a,jwtToken:s,internalAuthTokenProvider:t,headers:p}),data:{operatingCompany:d}})}function i({token:s,operatingCompanyId:a,jwtToken:u,headers:d}){return e({url:`/operating-companies/${a}`,method:"get",headers:be({token:s,internalAuthTokenProvider:t,jwtToken:u,headers:d})})}return{all:n,create:c,update:o,get:i,sequences:{create({jwtToken:s,token:a,operatingCompanyId:u,sequence:d,headers:p}){return e({url:`/operating-companies/${u}/sequences`,method:"post",headers:be({token:a,jwtToken:s,internalAuthTokenProvider:t,headers:p}),data:d})},all({jwtToken:s,token:a,operatingCompanyId:u,headers:d}){return e({url:`/operating-companies/${u}/sequences`,method:"get",headers:be({token:a,jwtToken:s,internalAuthTokenProvider:t,headers:d})})},get({jwtToken:s,token:a,operatingCompanyId:u,sequenceId:d,headers:p}){return e({url:`/operating-companies/${u}/sequences/${d}`,method:"get",headers:be({token:a,jwtToken:s,internalAuthTokenProvider:t,headers:p})})},update({jwtToken:s,token:a,operatingCompanyId:u,sequenceId:d,sequence:p,headers:f}){return e({url:`/operating-companies/${u}/sequences/${d}`,method:"put",headers:be({token:a,jwtToken:s,internalAuthTokenProvider:t,headers:f}),data:p})}}}}To.exports=Hy});var en=m((iF,Ao)=>{var{authorizationHeaders:Je}=h();function Cy({client:e,internalAuthTokenProvider:t}){function n({token:a,query:u={},headers:d}){return e({url:"/operation-messages",method:"get",params:u,headers:Je({token:a,internalAuthTokenProvider:t,headers:d})})}function c({token:a,jwtToken:u,opMsgData:d,headers:p}){return e({url:"/operation-messages",method:"post",headers:Je({token:a,jwtToken:u,internalAuthTokenProvider:t,headers:p}),data:d})}function o({token:a,jwtToken:u,operationMessageId:d,opMsgData:p,headers:f}){return e({url:`/operation-messages/${d}`,method:"put",headers:Je({token:a,jwtToken:u,internalAuthTokenProvider:t,headers:f}),data:p})}function i({token:a,operationMessageId:u,headers:d}){return e({url:`/operation-messages/${u}`,method:"get",headers:Je({token:a,internalAuthTokenProvider:t,headers:d})})}function r({jwtToken:a,operationMessageId:u,token:d,headers:p}){return e({url:`/operation-messages/${u}`,method:"delete",headers:Je({token:d,jwtToken:a,internalAuthTokenProvider:t,headers:p})})}function s({token:a,jwtToken:u,opMsgData:d,headers:p}){return e({url:"/operation-messages-stations",method:"post",headers:Je({token:a,jwtToken:u,internalAuthTokenProvider:t,headers:p}),data:d})}return{get:i,all:n,create:c,update:o,remove:r,getByStation:s}}Ao.exports=Cy});var rn=m((dF,tn)=>{var{authorizationHeaders:qt}=h();function jy({client:e,internalAuthTokenProvider:t}){function n({token:s,jwtToken:a,query:u={},headers:d}){return e({url:"/operation-reasons",method:"get",headers:qt({token:s,jwtToken:a,internalAuthTokenProvider:t,headers:d}),params:u})}function c({token:s,jwtToken:a,id:u,query:d={},headers:p}){return e({url:`/operation-reasons/${u}`,method:"get",headers:qt({token:s,jwtToken:a,internalAuthTokenProvider:t,headers:p}),params:d})}function o({token:s,jwtToken:a,id:u,operationReason:d,query:p={},headers:f}){return e({url:`/operation-reasons/${u}`,method:"put",headers:qt({token:s,jwtToken:a,internalAuthTokenProvider:t,headers:f}),params:p,data:{operationReason:d}})}function i({token:s,jwtToken:a,id:u,query:d={},headers:p}){return e({url:`/operation-reasons/${u}`,method:"delete",headers:qt({token:s,jwtToken:a,internalAuthTokenProvider:t,headers:p}),params:d})}function r({token:s,jwtToken:a,operationReason:u,query:d={},headers:p}){return e({url:"/operation-reasons",method:"post",headers:qt({token:s,jwtToken:a,internalAuthTokenProvider:t,headers:p}),params:d,data:{operationReason:u}})}return{all:n,get:c,update:o,remove:i,create:r}}tn.exports=jy});var an=m((pF,sn)=>{var{authorizationHeaders:mr}=h();function Dy({client:e,internalAuthTokenProvider:t}){function n({token:r,query:s={},headers:a}){return e("/parcel-zones",{params:s,headers:mr({token:r,internalAuthTokenProvider:t,headers:a})})}function c({token:r,parcelZone:s,jwtToken:a,headers:u}){return e({url:"/parcel-zones",method:"post",headers:mr({token:r,jwtToken:a,internalAuthTokenProvider:t,headers:u}),data:{parcelZone:s}})}function o({jwtToken:r,token:s,parcelZoneId:a,parcelZone:u,headers:d}){return e({url:`/parcel-zone/${a}`,method:"put",headers:mr({token:s,jwtToken:r,internalAuthTokenProvider:t,headers:d}),data:{parcelZone:u}})}function i({token:r,query:s={},headers:a}){return e.get("/parcel-zones/bucket",{params:s,headers:mr({token:r,internalAuthTokenProvider:t,headers:a})})}return{all:n,create:c,update:o,bucket:i}}sn.exports=Dy});var nn=m((fF,on)=>{var{authorizationHeaders:wt}=h();function Ny({client:e,internalAuthTokenProvider:t}){function n({token:s,query:a={},headers:u}){return e.get("/payment-terminals",{params:a,headers:wt({token:s,internalAuthTokenProvider:t,headers:u})})}function c({paymentTerminalId:s,token:a,headers:u}){return e.get(`/payment-terminals/${s}`,{headers:wt({token:a,internalAuthTokenProvider:t,headers:u})})}function o({jwtToken:s,token:a,paymentTerminal:u,headers:d}){return e({url:"/payment-terminals",method:"post",headers:wt({token:a,jwtToken:s,internalAuthTokenProvider:t,headers:d}),data:{paymentTerminal:u}})}function i({jwtToken:s,paymentTerminalId:a,token:u,headers:d}){return e({url:`/payment-terminals/${a}`,method:"delete",headers:wt({token:u,jwtToken:s,internalAuthTokenProvider:t,headers:d})})}function r({jwtToken:s,token:a,paymentTerminalId:u,paymentTerminal:d,headers:p}){return e({url:`/payment-terminals/${u}`,method:"put",headers:wt({token:a,jwtToken:s,internalAuthTokenProvider:t,headers:p}),data:{paymentTerminal:d}})}return{all:n,get:c,create:o,update:r,remove:i}}on.exports=Ny});var cn=m((mF,un)=>{var{authorizationHeaders:Uy}=h();function By({client:e,internalAuthTokenProvider:t}){function n({token:c,jwtToken:o,query:i={},responseType:r="json",headers:s}){return e.get("/pay-on-accounts",{params:i,responseType:r,headers:Uy({token:c,jwtToken:o,internalAuthTokenProvider:t,headers:s})})}return{all:n}}un.exports=By});var pn=m((lF,dn)=>{var{authorizationHeaders:Ot}=h();function Ly({client:e,internalAuthTokenProvider:t}){function n({token:s,jwtToken:a,query:u={},headers:d}){return e.get("/prisma-terminals",{params:u,headers:Ot({token:s,jwtToken:a,internalAuthTokenProvider:t,headers:d})})}function c({prismaTerminalId:s,token:a,jwtToken:u,headers:d}){return e.get(`/prisma-terminals/${s}`,{headers:Ot({token:a,jwtToken:u,internalAuthTokenProvider:t,headers:d})})}function o({jwtToken:s,token:a,prismaTerminal:u,headers:d}){return e({url:"/prisma-terminals",method:"post",headers:Ot({token:a,jwtToken:s,internalAuthTokenProvider:t,headers:d}),data:{prismaTerminal:u}})}function i({jwtToken:s,prismaTerminalId:a,token:u,headers:d}){return e({url:`/prisma-terminals/${a}`,method:"delete",headers:Ot({token:u,jwtToken:s,internalAuthTokenProvider:t,headers:d})})}function r({jwtToken:s,token:a,prismaTerminalId:u,prismaTerminal:d,headers:p}){return e({url:`/prisma-terminals/${u}`,method:"put",headers:Ot({token:a,jwtToken:s,internalAuthTokenProvider:t,headers:p}),data:{prismaTerminal:d}})}return{all:n,get:c,create:o,update:r,remove:i}}dn.exports=Ly});var mn=m((hF,fn)=>{var{authorizationHeaders:Xe}=h();function My({client:e,internalAuthTokenProvider:t}){function n({token:a,query:u={},headers:d}){return e({url:"/products",params:u,headers:Xe({token:a,internalAuthTokenProvider:t,headers:d})})}function c({productId:a,token:u,jwtToken:d,query:p={},headers:f}){return e({url:`/products/${a}`,params:p,headers:Xe({token:u,internalAuthTokenProvider:t,jwtToken:d,headers:f})})}function o({data:a,token:u,jwtToken:d,headers:p}){return e({url:"/products",method:"post",headers:Xe({token:u,jwtToken:d,internalAuthTokenProvider:t,headers:p}),data:a})}function i({productId:a,data:u,token:d,jwtToken:p,headers:f}){return e({url:`/products/${a}`,method:"put",headers:Xe({token:d,jwtToken:p,internalAuthTokenProvider:t,headers:f}),data:u})}return{all:n,get:c,create:o,update:i,families:{all:({token:a,query:u={},headers:d})=>e({url:"/products/families",params:u,headers:Xe({token:a,internalAuthTokenProvider:t,headers:d})})},domains:{remove:({token:a,jwtToken:u,domain:d,headers:p})=>e({url:`/products/domains/${d}`,method:"delete",headers:Xe({token:a,jwtToken:u,internalAuthTokenProvider:t,headers:p})})}}}fn.exports=My});var hn=m((gF,ln)=>{var{authorizationHeaders:$e}=h();function Iy({client:e,internalAuthTokenProvider:t}){function n({token:d,jwtToken:p,query:f={},headers:l}){return e.get("/promos",{params:f,headers:$e({token:d,jwtToken:p,internalAuthTokenProvider:t,headers:l})})}function c({promoId:d,token:p,jwtToken:f,query:l={},headers:q}){return e.get(`/promos/${d}`,{params:l,headers:$e({token:p,jwtToken:f,internalAuthTokenProvider:t,headers:q})})}function o({jwtToken:d,promo:p,token:f,headers:l}){return e({url:"/promos",method:"post",headers:$e({token:f,jwtToken:d,internalAuthTokenProvider:t,headers:l}),data:{promo:p}})}function i({jwtToken:d,promoId:p,token:f,headers:l}){return e({url:`/promos/${p}`,method:"delete",headers:$e({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:$e({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:$e({token:p,jwtToken:d,internalAuthTokenProvider:t,headers:q}),data:{operations:l}})}function a({jwtToken:d,token:p,promoId:f,rule:l,headers:q}){return e({url:`/promos/${f}/rules`,method:"post",headers:$e({token:p,jwtToken:d,internalAuthTokenProvider:t,headers:q}),data:{rule:l}})}function u({jwtToken:d,token:p,promoId:f,ruleId:l,rule:q,headers:y}){return e({url:`/promos/${f}/rules/${l}`,method:"put",headers:$e({token:p,jwtToken:d,internalAuthTokenProvider:t,headers:y}),data:{rule:q}})}return{all:n,get:c,create:o,update:r,patch:s,remove:i,addRule:a,updateRule:u}}ln.exports=Iy});var yn=m((yF,gn)=>{var{authorizationHeaders:K}=h();function Vy({client:e,internalAuthTokenProvider:t}){function n({routeId:y,token:b,query:g={},headers:x}){return e({url:`/routes/${y}`,params:g,headers:K({token:b,internalAuthTokenProvider:t,headers:x})})}function c({token:y,productId:b,originId:g,destinationId:x,channel:w,query:D,headers:W}){let I=Object.assign({},D,{productId:b,originId:g,destinationId:x,channel:w});return e({url:"/routes/prices",params:I,headers:K({token:y,internalAuthTokenProvider:t,headers:W})})}function o({token:y,query:b={},headers:g}){return e.get("/routes",{params:b,headers:K({token:y,internalAuthTokenProvider:t,headers:g})})}function i({token:y,routeId:b,headers:g}){return e({url:`/routes/${b}/stations`,headers:K({token:y,internalAuthTokenProvider:t,headers:g})})}function r({token:y,jwtToken:b,data:g,headers:x}){return e({url:"/routes",method:"post",headers:K({token:y,jwtToken:b,internalAuthTokenProvider:t,headers:x}),data:g})}function s({token:y,jwtToken:b,data:g,routeId:x,headers:w}){return e({url:`/routes/${x}`,method:"put",headers:K({token:y,jwtToken:b,internalAuthTokenProvider:t,headers:w}),data:g})}function a({token:y,jwtToken:b,routeId:g,headers:x}){return e({url:`/routes/${g}`,method:"delete",headers:K({token:y,jwtToken:b,internalAuthTokenProvider:t,headers:x})})}return{get:n,prices:c,all:o,stations:i,create:r,update:s,remove:a,fareTables:{all({token:y,query:b={},headers:g}){return e({url:"/routes/fare-tables",params:b,headers:K({token:y,internalAuthTokenProvider:t,headers:g})})},create({token:y,jwtToken:b,routeId:g,fareTable:x,headers:w}){return e({url:`/routes/${g}/fare-tables`,method:"post",headers:K({token:y,jwtToken:b,internalAuthTokenProvider:t,headers:w}),data:{fareTable:x}})},update({token:y,jwtToken:b,routeId:g,fareTableId:x,fareTable:w,headers:D}){return e({url:`/routes/${g}/fare-tables/${x}`,method:"put",headers:K({token:y,jwtToken:b,internalAuthTokenProvider:t,headers:D}),data:{fareTable:w}})}},stops:{create({token:y,jwtToken:b,routeId:g,stop:x,headers:w}){return e({url:`/routes/${g}/stops`,method:"post",headers:K({token:y,jwtToken:b,internalAuthTokenProvider:t,headers:w}),data:x})}},fareRules:{get({token:y,jwtToken:b,routeId:g,headers:x}){return e({url:`/routes/${g}/fare-rules`,headers:K({token:y,jwtToken:b,internalAuthTokenProvider:t,headers:x})})},create({token:y,jwtToken:b,routeId:g,fareRule:x,headers:w}){return e({url:`/routes/${g}/fare-rules`,method:"post",headers:K({token:y,jwtToken:b,internalAuthTokenProvider:t,headers:w}),data:{fareRule:x}})},update({token:y,jwtToken:b,routeId:g,fareRuleId:x,fareRule:w,headers:D}){return e({url:`/routes/${g}/fare-rules/${x}`,method:"put",headers:K({token:y,jwtToken:b,internalAuthTokenProvider:t,headers:D}),data:{fareRule:w}})},remove({token:y,jwtToken:b,routeId:g,fareRuleId:x,headers:w}){return e({url:`/routes/${g}/fare-rules/${x}`,method:"delete",headers:K({token:y,jwtToken:b,internalAuthTokenProvider:t,headers:w})})}},priceBuckets:{get({token:y,jwtToken:b,routeId:g,headers:x}){return e({url:`/routes/${g}/price-buckets`,headers:K({token:y,jwtToken:b,internalAuthTokenProvider:t,headers:x})})},create({token:y,jwtToken:b,routeId:g,bucket:x,headers:w}){return e({url:`/routes/${g}/price-buckets`,method:"post",headers:K({token:y,jwtToken:b,internalAuthTokenProvider:t,headers:w}),data:{bucket:x}})},update({token:y,jwtToken:b,routeId:g,bucketId:x,bucket:w,headers:D}){return e({url:`/routes/${g}/price-buckets/${x}`,method:"put",headers:K({token:y,jwtToken:b,internalAuthTokenProvider:t,headers:D}),data:{bucket:w}})},remove({token:y,jwtToken:b,routeId:g,bucketId:x,headers:w}){return e({url:`/routes/${g}/price-buckets/${x}`,method:"delete",headers:K({token:y,jwtToken:b,internalAuthTokenProvider:t,headers:w})})}},crossBorderDistances:{get({token:y,jwtToken:b,routeId:g,headers:x}){return e({url:`/routes/${g}/cross-border-distances`,headers:K({token:y,jwtToken:b,internalAuthTokenProvider:t,headers:x})})},update({token:y,jwtToken:b,routeId:g,crossBorderDistances:x,headers:w}){return e({url:`/routes/${g}/cross-border-distances`,method:"put",headers:K({token:y,jwtToken:b,internalAuthTokenProvider:t,headers:w}),data:{crossBorderDistances:x}})}},prorationTables:{all({token:y,jwtToken:b,query:g={},headers:x}){return e({url:"/routes/proration-tables",params:g,headers:K({token:y,jwtToken:b,internalAuthTokenProvider:t,headers:x})})},getByRouteId({token:y,jwtToken:b,routeId:g,productId:x,headers:w}){let D=x?{productId:x}:{};return e({url:`/routes/${g}/proration-tables`,params:D,headers:K({token:y,jwtToken:b,internalAuthTokenProvider:t,headers:w})})},updateByRouteId({token:y,jwtToken:b,routeId:g,prorationTable:x,headers:w}){return e({url:`/routes/${g}/proration-tables`,method:"put",headers:K({token:y,jwtToken:b,internalAuthTokenProvider:t,headers:w}),data:{prorationTable:x}})}}}}gn.exports=Vy});var $n=m((bF,bn)=>{var{authorizationHeaders:lr}=h();function Ky({client:e,internalAuthTokenProvider:t}){function n({token:r,jwtToken:s,query:a={},headers:u}){return e.get("/schedule-groups",{params:a,headers:lr({token:r,jwtToken:s,internalAuthTokenProvider:t,headers:u})})}function c({token:r,jwtToken:s,scheduleGroupId:a,query:u={},headers:d}){return e.get(`/schedule-groups/${a}`,{params:u,headers:lr({token:r,jwtToken:s,internalAuthTokenProvider:t,headers:d})})}function o({token:r,jwtToken:s,scheduleGroup:a,headers:u}){return e({url:"/schedule-groups",method:"post",headers:lr({token:r,jwtToken:s,internalAuthTokenProvider:t,headers:u}),data:{scheduleGroup:a}})}function i({token:r,jwtToken:s,scheduleGroupId:a,scheduleGroup:u,headers:d}){return e({url:`/schedule-groups/${a}`,method:"put",headers:lr({token:r,jwtToken:s,internalAuthTokenProvider:t,headers:d}),data:{scheduleGroup:u}})}return{all:n,get:c,create:o,update:i}}bn.exports=Ky});var qn=m(($F,xn)=>{var{authorizationHeaders:ee}=h();function Wy({client:e,internalAuthTokenProvider:t}){function n({token:p,query:f={},headers:l}){return e.get("/routes/schedules",{params:f,headers:ee({token:p,internalAuthTokenProvider:t,headers:l})})}function c({token:p,routeId:f,scheduleId:l,headers:q,query:y={}}){return e.get(`/routes/${f}/schedules/${l}`,{params:y,headers:ee({token:p,internalAuthTokenProvider:t,headers:q})})}function o({token:p,jwtToken:f,data:l,routeId:q,headers:y}){return e({url:`/routes/${q}/schedules`,method:"post",headers:ee({token:p,jwtToken:f,internalAuthTokenProvider:t,headers:y}),data:l})}function i({token:p,jwtToken:f,data:l,routeId:q,headers:y}){return e({url:`/routes/${q}/schedules/validations`,method:"post",headers:ee({token:p,jwtToken:f,internalAuthTokenProvider:t,headers:y}),data:l})}function r({token:p,jwtToken:f,data:l,routeId:q,scheduleId:y,headers:b}){return e({url:`/routes/${q}/schedules/${y}/validations`,method:"put",headers:ee({token:p,jwtToken:f,internalAuthTokenProvider:t,headers:b}),data:l})}function s({token:p,jwtToken:f,data:l,routeId:q,scheduleId:y,headers:b}){return e({url:`/routes/${q}/schedules/${y}`,method:"put",headers:ee({token:p,jwtToken:f,internalAuthTokenProvider:t,headers:b}),data:l})}function a({token:p,jwtToken:f,routeId:l,scheduleId:q,headers:y}){return e({url:`/routes/${l}/schedules/${q}`,method:"delete",headers:ee({token:p,jwtToken:f,internalAuthTokenProvider:t,headers:y})})}return{all:n,get:c,create:o,update:s,delete:a,validations:i,runUpdateValidations:r,autoBouncing:{create:({token:p,jwtToken:f,data:l,headers:q})=>e({url:"/routes/schedules/auto-bouncing",method:"post",headers:ee({token:p,jwtToken:f,internalAuthTokenProvider:t,headers:q}),data:l}),delete:({token:p,jwtToken:f,routeId:l,parentScheduleId:q,headers:y})=>e({url:`/routes/${l}/schedules/${q}/auto-bouncing`,method:"delete",headers:ee({token:p,jwtToken:f,internalAuthTokenProvider:t,headers:y})})},exceptions:{create:({token:p,jwtToken:f,data:l,scheduleId:q,headers:y,query:b={}})=>e({url:`/schedules/${q}/schedule-exceptions`,method:"post",headers:ee({token:p,jwtToken:f,internalAuthTokenProvider:t,headers:y}),data:l,params:b}),delete:({token:p,jwtToken:f,scheduleId:l,exceptionId:q,headers:y,query:b={}})=>e({url:`/schedules/${l}/schedule-exceptions/${q}`,method:"delete",headers:ee({token:p,jwtToken:f,internalAuthTokenProvider:t,headers:y}),params:b}),update:({token:p,jwtToken:f,data:l,scheduleId:q,exceptionId:y,headers:b,query:g={}})=>e({url:`/schedules/${q}/schedule-exceptions/${y}`,method:"put",headers:ee({token:p,jwtToken:f,internalAuthTokenProvider:t,headers:b}),data:l,params:g})}}}xn.exports=Wy});var On=m((xF,wn)=>{var{authorizationHeaders:Ft}=h();function Jy({client:e,internalAuthTokenProvider:t}){function n({token:s,jwtToken:a,query:u={},headers:d}){return e({url:"/seat-classes",method:"get",headers:Ft({token:s,jwtToken:a,internalAuthTokenProvider:t,headers:d}),params:u})}function c({token:s,jwtToken:a,id:u,query:d={},headers:p}){return e({url:`/seat-classes/${u}`,method:"get",headers:Ft({token:s,jwtToken:a,internalAuthTokenProvider:t,headers:p}),params:d})}function o({token:s,jwtToken:a,id:u,data:d,query:p={},headers:f}){return e({url:`/seat-classes/${u}`,method:"put",headers:Ft({token:s,jwtToken:a,internalAuthTokenProvider:t,headers:f}),params:p,data:d})}function i({token:s,jwtToken:a,id:u,query:d={},headers:p}){return e({url:`/seat-classes/${u}`,method:"delete",headers:Ft({token:s,jwtToken:a,internalAuthTokenProvider:t,headers:p}),params:d})}function r({token:s,jwtToken:a,data:u,query:d={},headers:p}){return e({url:"/seat-classes",method:"post",headers:Ft({token:s,jwtToken:a,internalAuthTokenProvider:t,headers:p}),params:d,data:u})}return{all:n,get:c,update:o,remove:i,create:r}}wn.exports=Jy});var Sn=m((qF,Fn)=>{var{authorizationHeaders:hr}=h();function Xy({client:e,internalAuthTokenProvider:t}){function n({token:r,query:s={},headers:a}){return e.get("/seat-fees",{params:s,headers:hr({token:r,internalAuthTokenProvider:t,headers:a})})}function c({seatfeeId:r,token:s,headers:a}){return e.get(`/seat-fees/${r}`,{headers:hr({token:s,internalAuthTokenProvider:t,headers:a})})}function o({jwtToken:r,token:s,seatfee:a,headers:u}){return e({url:"/seat-fees",method:"post",headers:hr({token:s,jwtToken:r,internalAuthTokenProvider:t,headers:u}),data:{seatfee:a}})}function i({jwtToken:r,token:s,seatfeeId:a,seatfee:u,headers:d}){return e({url:`/seat-fees/${a}`,method:"put",headers:hr({token:s,jwtToken:r,internalAuthTokenProvider:t,headers:d}),data:{seatfee:u}})}return{all:n,get:c,create:o,update:i}}Fn.exports=Xy});var Rn=m((wF,En)=>{var{authorizationHeaders:He}=h();function Gy({client:e,internalAuthTokenProvider:t}){function n({token:u,query:d={},headers:p}){return e.get("/seatmaps",{params:d,headers:He({token:u,internalAuthTokenProvider:t,headers:p})})}function c({seatmapId:u,routeId:d,scheduleId:p,manifestDate:f,query:l={},token:q,headers:y}){return e.get(`/seatmaps/${u}/available-seats/${d}/${p}/${f}`,{params:l,headers:He({token:q,internalAuthTokenProvider:t,headers:y})})}function o({seatmapId:u,token:d,jwtToken:p,query:f={},headers:l}){return e.get(`/seatmaps/${u}`,{params:f,headers:He({token:d,jwtToken:p,internalAuthTokenProvider:t,headers:l})})}function i({token:u,jwtToken:d,seatmap:p,headers:f}){return e({url:"/seatmaps",method:"post",headers:He({token:u,jwtToken:d,internalAuthTokenProvider:t,headers:f}),data:{seatmap:p}})}function r({token:u,jwtToken:d,seatmapId:p,seatmap:f,headers:l}){return e({url:`/seatmaps/${p}`,method:"put",headers:He({token:u,jwtToken:d,internalAuthTokenProvider:t,headers:l}),data:{seatmap:f}})}function s({token:u,jwtToken:d,seatmapId:p,headers:f}){return e({url:`/seatmaps/${p}`,method:"delete",headers:He({token:u,jwtToken:d,internalAuthTokenProvider:t,headers:f})})}function a({token:u,jwtToken:d,seatmapId:p,query:f={},headers:l}){return e.get(`/seatmaps/${p}/occupied-seats`,{params:f,headers:He({token:u,jwtToken:d,internalAuthTokenProvider:t,headers:l})})}return{all:n,get:c,getById:o,create:i,remove:s,update:r,getOccupiedSeats:a}}En.exports=Gy});var zn=m((OF,_n)=>{var{authorizationHeaders:St}=h();function Zy({client:e,internalAuthTokenProvider:t}){function n({token:s,jwtToken:a,query:u={},headers:d}){return e.get("/segments-information",{params:u,headers:St({token:s,jwtToken:a,internalAuthTokenProvider:t,headers:d})})}function c({segmentInformationId:s,token:a,headers:u,jwtToken:d}){return e.get(`/segments-information/${s}`,{headers:St({token:a,jwtToken:d,internalAuthTokenProvider:t,headers:u})})}function o({jwtToken:s,token:a,segmentInformation:u,headers:d}){return e({url:"/segments-information",method:"post",headers:St({token:a,jwtToken:s,internalAuthTokenProvider:t,headers:d}),data:{segmentInformation:u}})}function i({jwtToken:s,segmentInformationId:a,token:u,headers:d}){return e({url:`/segments-information/${a}`,method:"delete",headers:St({token:u,jwtToken:s,internalAuthTokenProvider:t,headers:d})})}function r({jwtToken:s,token:a,segmentInformationId:u,segmentInformation:d,headers:p}){return e({url:`/segments-information/${u}`,method:"put",headers:St({token:a,jwtToken:s,internalAuthTokenProvider:t,headers:p}),data:{segmentInformation:d}})}return{all:n,get:c,create:o,update:r,remove:i}}_n.exports=Zy});var Cn=m((FF,Hn)=>{var{authorizationHeaders:gr}=h();function Qy({client:e,internalAuthTokenProvider:t}){function n({token:r,jwtToken:s,query:a={},headers:u}){return e({url:"/service-numbers",params:a,headers:gr({token:r,jwtToken:s,internalAuthTokenProvider:t,headers:u})})}function c({token:r,jwtToken:s,serviceNumber:a,headers:u}){return e({url:"/service-numbers",method:"post",headers:gr({token:r,jwtToken:s,internalAuthTokenProvider:t,headers:u}),data:{serviceNumber:a}})}function o({jwtToken:r,token:s,serviceNumberId:a,serviceNumber:u,headers:d}){return e({url:`/service-numbers/${a}`,method:"put",headers:gr({token:s,jwtToken:r,internalAuthTokenProvider:t,headers:d}),data:{serviceNumber:u}})}function i({token:r,serviceNumberId:s,jwtToken:a,headers:u}){return e({url:`/service-numbers/${s}`,method:"get",headers:gr({token:r,internalAuthTokenProvider:t,jwtToken:a,headers:u})})}return{all:n,create:c,update:o,get:i}}Hn.exports=Qy});var Dn=m((SF,jn)=>{var{authorizationHeaders:Et}=h();function Yy({client:e,internalAuthTokenProvider:t}){function n({token:s,query:a={},headers:u}){return e.get("/service-types",{params:a,headers:Et({token:s,internalAuthTokenProvider:t,headers:u})})}function c({serviceTypeId:s,token:a,headers:u}){return e.get(`/service-types/${s}`,{headers:Et({token:a,internalAuthTokenProvider:t,headers:u})})}function o({jwtToken:s,token:a,serviceType:u,headers:d}){return e({url:"/service-types",method:"post",headers:Et({token:a,jwtToken:s,internalAuthTokenProvider:t,headers:d}),data:{serviceType:u}})}function i({jwtToken:s,serviceTypeId:a,token:u,headers:d}){return e({url:`/service-types/${a}`,method:"delete",headers:Et({token:u,jwtToken:s,internalAuthTokenProvider:t,headers:d})})}function r({jwtToken:s,token:a,serviceTypeId:u,serviceType:d,headers:p}){return e({url:`/service-types/${u}`,method:"put",headers:Et({token:a,jwtToken:s,internalAuthTokenProvider:t,headers:p}),data:{serviceType:d}})}return{all:n,get:c,create:o,update:r,remove:i}}jn.exports=Yy});var Un=m((EF,Nn)=>{var{authorizationHeaders:vy}=h();function Py({client:e,internalAuthTokenProvider:t}){function n({token:c,query:o={},headers:i}){return e.get("/ssrs",{params:o,headers:vy({token:c,internalAuthTokenProvider:t,headers:i})})}return{all:n}}Nn.exports=Py});var Ln=m((RF,Bn)=>{var{authorizationHeaders:Rt}=h();function Ty({client:e,internalAuthTokenProvider:t}){function n({token:s,jwtToken:a,query:u={},headers:d}){return e({url:"/station-classes",method:"get",headers:Rt({token:s,jwtToken:a,internalAuthTokenProvider:t,headers:d}),params:u})}function c({token:s,jwtToken:a,stationClassId:u,query:d={},headers:p}){return e({url:`/station-classes/${u}`,method:"get",headers:Rt({token:s,jwtToken:a,internalAuthTokenProvider:t,headers:p}),params:d})}function o({token:s,jwtToken:a,stationClassId:u,data:d,headers:p}){return e({url:`/station-classes/${u}`,method:"put",headers:Rt({token:s,jwtToken:a,internalAuthTokenProvider:t,headers:p}),data:d})}function i({token:s,jwtToken:a,stationClassId:u,headers:d}){return e({url:`/station-classes/${u}`,method:"delete",headers:Rt({token:s,jwtToken:a,internalAuthTokenProvider:t,headers:d})})}function r({token:s,jwtToken:a,data:u,headers:d}){return e({url:"/station-classes",method:"post",headers:Rt({token:s,jwtToken:a,internalAuthTokenProvider:t,headers:d}),data:u})}return{all:n,get:c,update:o,remove:i,create:r}}Bn.exports=Ty});var In=m((_F,Mn)=>{var{authorizationHeaders:ky}=h();function Ay({client:e,internalAuthTokenProvider:t}){function n({token:c,query:o={},headers:i}){return e.get("/station-groups",{params:o,headers:ky({token:c,internalAuthTokenProvider:t,headers:i})})}return{all:n}}Mn.exports=Ay});var Kn=m((zF,Vn)=>{var{authorizationHeaders:yr}=h();function eb({client:e,internalAuthTokenProvider:t}){function n({token:r,id:s,headers:a}){return e.get(`/stations/${s}`,{headers:yr({token:r,internalAuthTokenProvider:t,headers:a})})}function c({token:r,query:s={},headers:a}){return e.get("/stations",{params:s,headers:yr({token:r,internalAuthTokenProvider:t,headers:a})})}function o({token:r,jwtToken:s,data:a,headers:u}){return e({url:"/stations",method:"post",headers:yr({token:r,jwtToken:s,internalAuthTokenProvider:t,headers:u}),data:{station:a}})}function i({token:r,jwtToken:s,stationId:a,station:u,headers:d}){return e({url:`/station/${a}`,method:"put",headers:yr({token:r,jwtToken:s,internalAuthTokenProvider:t,headers:d}),data:{station:u}})}return{get:n,all:c,create:o,update:i}}Vn.exports=eb});var Jn=m((HF,Wn)=>{var{authorizationHeaders:tb}=h();function rb({client:e,internalAuthTokenProvider:t}){function n({token:c,query:o={},headers:i}){return e({url:"/stations/provinces",params:o,headers:tb({token:c,internalAuthTokenProvider:t,headers:i})})}return{all:n}}Wn.exports=rb});var Gn=m((CF,Xn)=>{var{authorizationHeaders:sb}=h();function ab({client:e,internalAuthTokenProvider:t}){function n({token:c,query:o={},headers:i}){return e.get("/stations/zones",{params:o,headers:sb({token:c,internalAuthTokenProvider:t,headers:i})})}return{get:n}}Xn.exports=ab});var Qn=m((jF,Zn)=>{var{authorizationHeaders:fe}=h();function ob({client:e,internalAuthTokenProvider:t}){function n({token:s,query:a={},headers:u}){return e.get("/taxes",{params:a,headers:fe({token:s,internalAuthTokenProvider:t,headers:u})})}function c({taxId:s,token:a,query:u={},headers:d}){return e.get(`/taxes/${s}`,{params:u,headers:fe({token:a,internalAuthTokenProvider:t,headers:d})})}function o({jwtToken:s,tax:a,token:u,headers:d}){return e({url:"/taxes",method:"post",headers:fe({token:u,jwtToken:s,internalAuthTokenProvider:t,headers:d}),data:{tax:a}})}function i({jwtToken:s,token:a,taxId:u,tax:d,headers:p}){return e({url:`/taxes/${u}`,method:"put",headers:fe({token:a,jwtToken:s,internalAuthTokenProvider:t,headers:p}),data:{tax:d}})}return{all:n,get:c,create:o,update:i,exceptions:{create({jwtToken:s,token:a,taxException:u,headers:d}){return e({url:"/taxes/exceptions",method:"post",headers:fe({token:a,jwtToken:s,internalAuthTokenProvider:t,headers:d}),data:{taxException:u}})},update({jwtToken:s,token:a,taxExceptionId:u,taxException:d,headers:p}){return e({url:`/taxes/exceptions/${u}`,method:"put",headers:fe({token:a,jwtToken:s,internalAuthTokenProvider:t,headers:p}),data:{taxException:d}})},get({jwtToken:s,token:a,taxExceptionId:u,headers:d}){return e({url:`/taxes/exceptions/${u}`,headers:fe({token:a,jwtToken:s,internalAuthTokenProvider:t,headers:d})})},all({jwtToken:s,token:a,query:u={},headers:d}){return e({url:"/taxes/exceptions",params:u,headers:fe({token:a,jwtToken:s,internalAuthTokenProvider:t,headers:d})})},delete({jwtToken:s,token:a,taxExceptionId:u,headers:d}){return e({url:`/taxes/exceptions/${u}`,method:"delete",headers:fe({token:a,jwtToken:s,internalAuthTokenProvider:t,headers:d})})}}}}Zn.exports=ob});var vn=m((DF,Yn)=>{var{authorizationHeaders:br}=h();function nb({client:e,internalAuthTokenProvider:t}){function n({token:r,jwtToken:s,query:a={},headers:u}){return e({url:"/traveller-card-providers",params:a,headers:br({token:r,jwtToken:s,internalAuthTokenProvider:t,headers:u})})}function c({token:r,jwtToken:s,travellerCardProvider:a,headers:u}){return e({url:"/traveller-card-providers",method:"post",headers:br({token:r,jwtToken:s,internalAuthTokenProvider:t,headers:u}),data:{travellerCardProvider:a}})}function o({jwtToken:r,token:s,travellerCardProviderId:a,travellerCardProvider:u,headers:d}){return e({url:`/traveller-card-providers/${a}`,method:"put",headers:br({token:s,jwtToken:r,internalAuthTokenProvider:t,headers:d}),data:{travellerCardProvider:u}})}function i({token:r,travellerCardProviderId:s,jwtToken:a,headers:u}){return e({url:`/traveller-card-providers/${s}`,method:"get",headers:br({token:r,internalAuthTokenProvider:t,jwtToken:a,headers:u})})}return{all:n,create:c,update:o,get:i}}Yn.exports=nb});var Tn=m((NF,Pn)=>{var{authorizationHeaders:ub}=h();function cb({client:e,internalAuthTokenProvider:t}){function n({token:c,jwtToken:o,headers:i}){return e.get("/traveller-card-providers/types",{headers:ub({token:c,jwtToken:o,internalAuthTokenProvider:t,headers:i})})}return{all:n}}Pn.exports=cb});var An=m((UF,kn)=>{var{authorizationHeaders:_t}=h();function ib({client:e,internalAuthTokenProvider:t}){function n({token:s,jwtToken:a,query:u={},headers:d}){return e({url:"/traveller-card-types",params:u,headers:_t({token:s,jwtToken:a,internalAuthTokenProvider:t,headers:d})})}function c({token:s,jwtToken:a,travellerCardType:u,headers:d}){return e({url:"/traveller-card-types",method:"post",headers:_t({token:s,jwtToken:a,internalAuthTokenProvider:t,headers:d}),data:{travellerCardType:u}})}function o({jwtToken:s,token:a,travellerCardTypeId:u,travellerCardType:d,headers:p}){return e({url:`/traveller-card-types/${u}`,method:"put",headers:_t({token:a,jwtToken:s,internalAuthTokenProvider:t,headers:p}),data:{travellerCardType:d}})}function i({token:s,travellerCardTypeId:a,jwtToken:u,headers:d}){return e({url:`/traveller-card-types/${a}`,method:"get",headers:_t({token:s,internalAuthTokenProvider:t,jwtToken:u,headers:d})})}function r({token:s,travellerCardTypeId:a,jwtToken:u,headers:d}){return e({url:`/traveller-card-types/${a}`,method:"delete",headers:_t({token:s,internalAuthTokenProvider:t,jwtToken:u,headers:d})})}return{all:n,create:c,update:o,get:i,remove:r}}kn.exports=ib});var tu=m((BF,eu)=>{var{authorizationHeaders:$r}=h();function db({client:e,internalAuthTokenProvider:t}){function n({token:r,jwtToken:s,query:a={},headers:u}){return e.get("/travel-routes",{params:a,headers:$r({token:r,jwtToken:s,internalAuthTokenProvider:t,headers:u})})}function c({travelRouteId:r,jwtToken:s,token:a,headers:u}){return e.get(`/travel-routes/${r}`,{headers:$r({token:a,jwtToken:s,internalAuthTokenProvider:t,headers:u})})}function o({jwtToken:r,token:s,travelRoute:a,headers:u}){return e({url:"/travel-routes",method:"post",headers:$r({token:s,jwtToken:r,internalAuthTokenProvider:t,headers:u}),data:{travelRoute:a}})}function i({jwtToken:r,token:s,travelRouteId:a,travelRoute:u,headers:d}){return e({url:`/travel-routes/${a}`,method:"put",headers:$r({token:s,jwtToken:r,internalAuthTokenProvider:t,headers:d}),data:{travelRoute:u}})}return{all:n,get:c,create:o,update:i}}eu.exports=db});var su=m((LF,ru)=>{var{authorizationHeaders:pb}=h();function fb({client:e,internalAuthTokenProvider:t}){function n({token:c,jwtToken:o,headers:i}){return e.get("/vehicle-types",{headers:pb({token:c,jwtToken:o,internalAuthTokenProvider:t,headers:i})})}return{all:n}}ru.exports=fb});var ou=m((MF,au)=>{var{authorizationHeaders:Ce}=h();function mb({client:e,internalAuthTokenProvider:t}){function n({token:a,jwtToken:u,query:d={},headers:p}){return e.get("/vehicles",{params:d,headers:Ce({token:a,jwtToken:u,internalAuthTokenProvider:t,headers:p})})}function c({vehicleId:a,token:u,jwtToken:d,headers:p}){return e.get(`/vehicles/${a}`,{headers:Ce({token:u,jwtToken:d,internalAuthTokenProvider:t,headers:p})})}function o({jwtToken:a,token:u,vehicle:d,headers:p}){return e({url:"/vehicles",method:"post",headers:Ce({token:u,jwtToken:a,internalAuthTokenProvider:t,headers:p}),data:{vehicle:d}})}function i({jwtToken:a,vehicleId:u,token:d,headers:p}){return e({url:`/vehicles/${u}`,method:"delete",headers:Ce({token:d,jwtToken:a,internalAuthTokenProvider:t,headers:p})})}function r({jwtToken:a,token:u,vehicleId:d,vehicle:p,headers:f}){return e({url:`/vehicles/${d}`,method:"put",headers:Ce({token:u,jwtToken:a,internalAuthTokenProvider:t,headers:f}),data:{vehicle:p}})}return{all:n,get:c,create:o,update:r,remove:i,seatmaps:{create({jwtToken:a,token:u,vehicleId:d,seatmap:p,headers:f,newdesign:l}){return e({url:`/vehicles/${d}/seatmaps`,method:"post",headers:Ce({token:u,jwtToken:a,internalAuthTokenProvider:t,headers:f}),data:{seatmap:p,newdesign:l||!1}})},remove({jwtToken:a,vehicleId:u,seatMapId:d,token:p,headers:f,newdesign:l}){return e({url:`/vehicles/${u}/seatmaps/${d}`,method:"delete",headers:Ce({token:p,jwtToken:a,internalAuthTokenProvider:t,headers:f}),data:{newdesign:l||!1}})}}}}au.exports=mb});var uu=m((IF,nu)=>{var{authorizationHeaders:zt}=h();function lb({client:e,internalAuthTokenProvider:t}){function n({token:s,query:a={},headers:u}){return e.get("/zone-price-overages",{params:a,headers:zt({token:s,internalAuthTokenProvider:t,headers:u})})}function c({zonePriceOverageId:s,token:a,headers:u}){return e.get(`/zone-price-overages/${s}`,{headers:zt({token:a,internalAuthTokenProvider:t,headers:u})})}function o({jwtToken:s,token:a,zonePriceOverages:u,headers:d}){return e({url:"/zone-price-overages",method:"post",headers:zt({token:a,jwtToken:s,internalAuthTokenProvider:t,headers:d}),data:{zonePriceOverages:u}})}function i({jwtToken:s,zonePriceOverageId:a,token:u,headers:d}){return e({url:`/zone-price-overages/${a}`,method:"delete",headers:zt({token:u,jwtToken:s,internalAuthTokenProvider:t,headers:d})})}function r({jwtToken:s,token:a,zonePriceOverageId:u,zonePriceOverages:d,headers:p}){return e({url:`/zone-price-overages/${u}`,method:"put",headers:zt({token:a,jwtToken:s,internalAuthTokenProvider:t,headers:p}),data:{zonePriceOverages:d}})}return{all:n,get:c,create:o,update:r,remove:i}}nu.exports=lb});var iu=m((VF,cu)=>{var{authorizationHeaders:Ge}=h();function hb({client:e,internalAuthTokenProvider:t}){function n({token:a,query:u={},headers:d}){return e.get("/zone-prices",{params:u,headers:Ge({token:a,internalAuthTokenProvider:t,headers:d})})}function c({zonePriceId:a,token:u,headers:d}){return e.get(`/zone-prices/${a}`,{headers:Ge({token:u,internalAuthTokenProvider:t,headers:d})})}function o({jwtToken:a,token:u,zonePrice:d,headers:p}){return e({url:"/zone-prices",method:"post",headers:Ge({token:u,jwtToken:a,internalAuthTokenProvider:t,headers:p}),data:{zonePrice:d}})}function i({jwtToken:a,zonePriceId:u,token:d,headers:p}){return e({url:`/zone-prices/${u}`,method:"delete",headers:Ge({token:d,jwtToken:a,internalAuthTokenProvider:t,headers:p})})}function r({jwtToken:a,token:u,zonePriceId:d,zonePrice:p,headers:f}){return e({url:`/zone-prices/${d}`,method:"put",headers:Ge({token:u,jwtToken:a,internalAuthTokenProvider:t,headers:f}),data:{zonePrice:p}})}function s({jwtToken:a,token:u,payload:d,headers:p}){return e({url:"/zone-prices-for-parcels",method:"post",headers:Ge({token:u,jwtToken:a,internalAuthTokenProvider:t,headers:p}),data:d})}return{all:n,get:c,create:o,update:r,remove:i,forParcels:s}}cu.exports=hb});var pu=m((KF,du)=>{var{authorizationHeaders:Ht}=h();function gb({client:e,internalAuthTokenProvider:t}){function n({token:s,jwtToken:a,query:u={},headers:d}){return e({url:"/regions",method:"get",headers:Ht({token:s,jwtToken:a,internalAuthTokenProvider:t,headers:d}),params:u})}function c({token:s,jwtToken:a,regionId:u,headers:d}){return e({url:`/regions/${u}`,method:"get",headers:Ht({token:s,jwtToken:a,internalAuthTokenProvider:t,headers:d})})}function o({token:s,jwtToken:a,regionId:u,data:d,headers:p}){return e({url:`/regions/${u}`,method:"put",headers:Ht({token:s,jwtToken:a,internalAuthTokenProvider:t,headers:p}),data:d})}function i({token:s,jwtToken:a,regionId:u,headers:d}){return e({url:`/regions/${u}`,method:"delete",headers:Ht({token:s,jwtToken:a,internalAuthTokenProvider:t,headers:d})})}function r({token:s,jwtToken:a,data:u,headers:d}){return e({url:"/regions",method:"post",headers:Ht({token:s,jwtToken:a,internalAuthTokenProvider:t,headers:d}),data:u})}return{all:n,get:c,update:o,remove:i,create:r}}du.exports=gb});var mu=m((WF,fu)=>{var{authorizationHeaders:ts}=h();function yb({client:e,internalAuthTokenProvider:t}){function n({token:i,jwtToken:r,query:s={},headers:a}){return e({url:"/trips",method:"get",params:s,headers:ts({token:i,jwtToken:r,internalAuthTokenProvider:t,headers:a})})}function c({token:i,jwtToken:r,id:s,query:a={},headers:u}){return e({url:`/trip/${s}`,method:"get",params:a,headers:ts({token:i,jwtToken:r,internalAuthTokenProvider:t,headers:u})})}function o({token:i,jwtToken:r,query:s={},headers:a}){return e({url:"/trips/pricing-simulation",method:"get",params:s,headers:ts({token:i,jwtToken:r,internalAuthTokenProvider:t,headers:a})})}return{all:n,get:c,getPricingSimulation:o}}fu.exports=yb});var hu=m((JF,lu)=>{var{authorizationHeaders:bb}=h();function $b({client:e,internalAuthTokenProvider:t}){function n({token:c,jwtToken:o,data:i,headers:r}){return e({url:"/direct-trip-ids",method:"post",data:i,headers:bb({token:c,jwtToken:o,internalAuthTokenProvider:t,headers:r})})}return{create:n}}lu.exports=$b});var yu=m((XF,gu)=>{var{authorizationHeaders:xb}=h();function qb({client:e,internalAuthTokenProvider:t}){function n({token:c,jwtToken:o,routeId:i,query:r={},headers:s}){return e({url:`/segments-information-tables/${i}`,method:"get",params:r,headers:xb({token:c,jwtToken:o,internalAuthTokenProvider:t,headers:s})})}return{get:n}}gu.exports=qb});var $u=m((GF,bu)=>{function wb({client:e}){function t(){return e.get("/api-docs-v2",{})}return{get:t}}bu.exports=wb});var qu=m((ZF,xu)=>{function Ob({client:e}){function t({headers:n}={}){return e({url:"/healthcheck",method:"get",headers:n||{}})}return{get:t}}xu.exports=Ob});var Ou=m((QF,wu)=>{function Fb({client:e}){function t({headers:n}={}){return e({url:"/info",headers:n||{}})}return{get:t}}wu.exports=Fb});var Su=m((YF,Fu)=>{var{authorizationHeaders:Sb}=h();function Eb({client:e,internalAuthTokenProvider:t}){function n({token:c,query:o={},headers:i}){return e({url:"/paths",params:o,headers:Sb({token:c,internalAuthTokenProvider:t,headers:i})})}return{all:n}}Fu.exports=Eb});var Ru=m((vF,Eu)=>{var{authorizationHeaders:Rb}=h();function _b({client:e,internalAuthTokenProvider:t}){function n({token:c,jwtToken:o,routeId:i,productId:r,headers:s}){return e({url:`/coltrane/routes/${i}/merged-fare-tables/${r}`,headers:Rb({token:c,jwtToken:o,internalAuthTokenProvider:t,headers:s})})}return{get:n}}Eu.exports=_b});var zu=m((PF,_u)=>{var{authorizationHeaders:xr}=h();function zb({client:e,internalAuthTokenProvider:t}){function n({jwtToken:r,accountId:s,headers:a}){return e({url:`/accounts/${s}`,headers:xr({jwtToken:r,internalAuthTokenProvider:t,headers:a})})}return{get:n,defaultUsers:{create({token:r,jwtToken:s,accountId:a,data:u,headers:d}){return e({url:`/accounts/${a}/default-users`,method:"post",headers:xr({token:r,jwtToken:s,internalAuthTokenProvider:t,headers:d}),data:u})}},configurationReplication:{create({token:r,jwtToken:s,accountId:a,query:u,headers:d}){return e({url:`/accounts/${a}/configuration-replication`,method:"post",headers:xr({token:r,jwtToken:s,internalAuthTokenProvider:t,headers:d}),params:u})}},sessionRecordingSettings:{update({token:r,jwtToken:s,accountId:a,query:u,data:d,headers:p}){return e({url:`/accounts/${a}/session-recording-settings`,method:"put",headers:xr({token:r,jwtToken:s,internalAuthTokenProvider:t,headers:p}),params:u,data:d})}}}}_u.exports=zb});var Cu=m((TF,Hu)=>{var{authorizationHeaders:rs}=h();function Hb({client:e,internalAuthTokenProvider:t}){function n({token:i,jwtToken:r,agency:s,headers:a}){return e({url:"/agencies",method:"post",headers:rs({token:i,jwtToken:r,internalAuthTokenProvider:t,headers:a}),data:{agency:s}})}function c({token:i,jwtToken:r,agencyId:s,agency:a,headers:u}){return e({url:`/agencies/${s}`,method:"put",headers:rs({token:i,jwtToken:r,internalAuthTokenProvider:t,headers:u}),data:{agency:a}})}function o({token:i,jwtToken:r,agencyId:s,data:a,headers:u}){return e({url:`/agencies/${s}/credit-limit`,method:"put",headers:rs({token:i,jwtToken:r,internalAuthTokenProvider:t,headers:u}),data:a})}return{create:n,update:c,putCreditLimit:o}}Hu.exports=Hb});var Du=m((kF,ju)=>{var{authorizationHeaders:Ct}=h();function Cb({client:e,internalAuthTokenProvider:t}){function n({token:s,jwtToken:a,query:u={},headers:d}){return e.get("/agency-types",{params:u,headers:Ct({token:s,jwtToken:a,internalAuthTokenProvider:t,headers:d})})}function c({token:s,jwtToken:a,agencyTypeId:u,headers:d}){return e({url:`/agency-types/${u}`,headers:Ct({token:s,jwtToken:a,internalAuthTokenProvider:t,headers:d})})}function o({token:s,jwtToken:a,agencyType:u,headers:d}){return e({url:"/agency-types",method:"post",headers:Ct({token:s,jwtToken:a,internalAuthTokenProvider:t,headers:d}),data:{agencyType:u}})}function i({token:s,jwtToken:a,agencyTypeId:u,agencyType:d,headers:p}){return e({url:`/agency-types/${u}`,method:"put",headers:Ct({token:s,jwtToken:a,internalAuthTokenProvider:t,headers:p}),data:{agencyType:d}})}function r({token:s,jwtToken:a,agencyTypeId:u,headers:d}){return e({url:`/agency-types/${u}`,method:"delete",headers:Ct({token:s,jwtToken:a,internalAuthTokenProvider:t,headers:d})})}return{all:n,get:c,create:o,update:i,remove:r}}ju.exports=Cb});var Uu=m((AF,Nu)=>{var{authorizationHeaders:jt}=h();function jb({client:e,internalAuthTokenProvider:t}){function n({token:s,jwtToken:a,query:u={},headers:d}){return e.get("/authorized-external-messaging",{params:u,headers:jt({token:s,jwtToken:a,internalAuthTokenProvider:t,headers:d})})}function c({token:s,jwtToken:a,authorizedExternalMessagingId:u,headers:d}){return e({url:`/authorized-external-messaging/${u}`,headers:jt({token:s,jwtToken:a,internalAuthTokenProvider:t,headers:d})})}function o({token:s,jwtToken:a,authorizedExternalMessaging:u,headers:d}){return e({url:"/authorized-external-messaging",method:"post",headers:jt({token:s,jwtToken:a,internalAuthTokenProvider:t,headers:d}),data:{authorizedExternalMessaging:u}})}function i({token:s,jwtToken:a,authorizedExternalMessagingId:u,authorizedExternalMessaging:d,headers:p}){return e({url:`/authorized-external-messaging/${u}`,method:"put",headers:jt({token:s,jwtToken:a,internalAuthTokenProvider:t,headers:p}),data:{authorizedExternalMessaging:d}})}function r({token:s,jwtToken:a,authorizedExternalMessagingId:u,headers:d}){return e({url:`/authorized-external-messaging/${u}`,method:"delete",headers:jt({token:s,jwtToken:a,internalAuthTokenProvider:t,headers:d})})}return{all:n,get:c,create:o,update:i,remove:r}}Nu.exports=jb});var Lu=m((eS,Bu)=>{var{authorizationHeaders:Db}=h();function Nb({client:e,internalAuthTokenProvider:t}){function n({token:c,jwtToken:o,providerId:i,folder:r,itemId:s,headers:a}){return e({url:`/audit-records/${i}/${r}/${s}`,headers:Db({token:c,jwtToken:o,internalAuthTokenProvider:t,headers:a})})}return{get:n}}Bu.exports=Nb});var Iu=m((tS,Mu)=>{var{authorizationHeaders:Ub}=h();function Bb({client:e,internalAuthTokenProvider:t}){function n({token:c,jwtToken:o,headers:i}){return e.get("/application",{headers:Ub({token:c,jwtToken:o,internalAuthTokenProvider:t,headers:i})})}return{get:n}}Mu.exports=Bb});var Wu=m((rS,Ku)=>{var{authorizationHeaders:Vu}=h();function Lb({client:e,internalAuthTokenProvider:t}){function n({token:o,id:i,jwtToken:r,headers:s}){return e.get(`/applications/${i}`,{headers:Vu({token:o,jwtToken:r,internalAuthTokenProvider:t,headers:s})})}function c({token:o,appName:i,jwtToken:r,headers:s}){return e.get(`/applications/name/${i}`,{headers:Vu({token:o,jwtToken:r,internalAuthTokenProvider:t,headers:s})})}return{get:n,getByName:c}}Ku.exports=Lb});var Xu=m((sS,Ju)=>{var{authorizationHeaders:Dt}=h();function Mb({client:e,internalAuthTokenProvider:t}){function n({token:s,providerId:a,jwtToken:u,query:d={},headers:p}){return e.get(`/application-settings/${a}`,{headers:Dt({token:s,jwtToken:u,internalAuthTokenProvider:t,headers:p}),params:d})}function c({jwtToken:s,token:a,id:u,application:d,headers:p}){return e({url:`/application-settings/${u}`,method:"put",headers:Dt({token:a,jwtToken:s,internalAuthTokenProvider:t,headers:p}),data:{application:d}})}function o({jwtToken:s,token:a,id:u,headers:d}){return e({url:`/application-settings/${u}`,method:"delete",headers:Dt({token:a,jwtToken:s,internalAuthTokenProvider:t,headers:d})})}function i({jwtToken:s,token:a,id:u,headers:d}){return e({url:`/application-settings/${u}/keys`,method:"post",headers:Dt({token:a,jwtToken:s,internalAuthTokenProvider:t,headers:d})})}function r({jwtToken:s,token:a,application:u,headers:d}){return e({url:"/application-settings",method:"post",headers:Dt({token:a,jwtToken:s,internalAuthTokenProvider:t,headers:d}),data:{application:u}})}return{get:n,update:c,remove:o,regenerateKeys:i,create:r}}Ju.exports=Mb});var Gu=m((qr,Nt)=>{(function(e){var t=typeof qr=="object"&&qr,n=typeof Nt=="object"&&Nt&&Nt.exports==t&&Nt,c=typeof global=="object"&&global;(c.global===c||c.window===c)&&(e=c);var o=function(f){this.message=f};o.prototype=new Error,o.prototype.name="InvalidCharacterError";var i=function(f){throw new o(f)},r="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",s=/[\t\n\f\r ]/g,a=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))&&i("Invalid character: the string to be decoded is not correctly encoded.");for(var q=0,y,b,g="",x=-1;++x<l;)b=r.indexOf(f.charAt(x)),y=q%4?y*64+b:b,q++%4&&(g+=String.fromCharCode(255&y>>(-2*q&6)));return g},u=function(f){f=String(f),/[^\0-\xFF]/.test(f)&&i("The string to be encoded contains characters outside of the Latin1 range.");for(var l=f.length%3,q="",y=-1,b,g,x,w,D=f.length-l;++y<D;)b=f.charCodeAt(y)<<16,g=f.charCodeAt(++y)<<8,x=f.charCodeAt(++y),w=b+g+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(y)<<8,g=f.charCodeAt(++y),w=b+g,q+=r.charAt(w>>10)+r.charAt(w>>4&63)+r.charAt(w<<2&63)+"="):l==1&&(w=f.charCodeAt(y),q+=r.charAt(w>>2)+r.charAt(w<<4&63)+"=="),q},d={encode:u,decode:a,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})(qr)});var vu=m((aS,Yu)=>{function Zu(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var c=Object.getOwnPropertySymbols(e);t&&(c=c.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),n.push.apply(n,c)}return n}function Qu(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?Zu(Object(n),!0).forEach(function(c){Ib(e,c,n[c])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Zu(Object(n)).forEach(function(c){Object.defineProperty(e,c,Object.getOwnPropertyDescriptor(n,c))})}return e}function Ib(e,t,n){return(t=Vb(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Vb(e){var t=Kb(e,"string");return typeof t=="symbol"?t:t+""}function Kb(e,t){if(typeof e!="object"||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var c=n.call(e,t||"default");if(typeof c!="object")return c;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}var Wb=Gu(),{authorizationHeaders:je}=h();function Jb({client:e,internalAuthTokenProvider:t}){function n({customerId:d,customer:p,token:f,jwtToken:l,headers:q}){return e({url:`/customers/${d}`,method:"put",headers:je({token:f,jwtToken:l,internalAuthTokenProvider:t,headers:q}),data:p})}function c({token:d,jwtToken:p,query:f={},headers:l,providerId:q}){let y=q?Qu(Qu({},f),{},{providerId:q}):f;return e({url:"/customers",params:y,headers:je({token:d,jwtToken:p,internalAuthTokenProvider:t,headers:l})})}function o({customerId:d,token:p,jwtToken:f,headers:l}){return e({url:`/customers/${d}`,headers:je({token:p,jwtToken:f,internalAuthTokenProvider:t,headers:l})})}function i({customer:d,token:p,jwtToken:f,query:l,headers:q}){return e({url:"/customer",method:"post",headers:je({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 ${Wb.encode(`${d}:${p}`)}`},y={};return y["x-api-key"]=f,e({url:"/customers",method:"post",params:y,headers:q,data:{}})}function s({service:d,ticket:p,token:f,headers:l}){return e({url:"/customers/cas",headers:je({token:f,internalAuthTokenProvider:t,headers:l}),method:"post",data:{service:d,ticket:p}})}function a({customerId:d,token:p,jwtToken:f,data:l,query:q,headers:y}){return e({url:`/customers/${d}`,method:"patch",params:q,headers:je({token:p,jwtToken:f,internalAuthTokenProvider:t,headers:y}),data:l})}function u({destinationCustomerId:d,sourceCustomerIds:p,jwtToken:f,token:l}){return e({url:"/customers/merge",method:"post",headers:je({token:l,jwtToken:f,internalAuthTokenProvider:t}),data:{destinationCustomerId:d,sourceCustomerIds:p}})}return{put:n,all:c,get:o,create:i,signIn:r,signInCas:s,update:a,merge:u}}Yu.exports=Jb});var ku=m((oS,Tu)=>{var{authorizationHeaders:Pu}=h();function Xb({client:e,internalAuthTokenProvider:t}){function n({token:o,jwtToken:i,headers:r}){return e({url:"/control-classes-settings",headers:Pu({token:o,jwtToken:i,internalAuthTokenProvider:t,headers:r})})}function c({token:o,jwtToken:i,controlClassesSettings:r,headers:s}){return e({url:"/control-classes-settings",method:"put",headers:Pu({token:o,jwtToken:i,internalAuthTokenProvider:t,headers:s}),data:r})}return{get:n,put:c}}Tu.exports=Xb});var ec=m((nS,Au)=>{var{authorizationHeaders:Gb}=h();function Zb({client:e,internalAuthTokenProvider:t}){function n({token:c,userId:o,query:i={},headers:r}){return e.get(`/users/${o}/current-shift`,{headers:Gb({token:c,internalAuthTokenProvider:t,headers:r}),params:i})}return{get:n}}Au.exports=Zb});var rc=m((uS,tc)=>{function Qb({client:e}){function t(){return e.get("/api-docs-v2",{})}return{get:t}}tc.exports=Qb});var ac=m((cS,sc)=>{var{authorizationHeaders:ss}=h();function Yb({client:e,internalAuthTokenProvider:t}){function n({token:i,query:r={},headers:s}){return e({params:r,url:"/domains",headers:ss({token:i,internalAuthTokenProvider:t,headers:s})})}function c({data:i,token:r,jwtToken:s,headers:a}){return e({url:"/domains",method:"post",headers:ss({token:r,jwtToken:s,internalAuthTokenProvider:t,headers:a}),data:i})}function o({domain:i,token:r,jwtToken:s,headers:a}){return e({url:`/domains/${i}`,method:"delete",headers:ss({token:r,jwtToken:s,internalAuthTokenProvider:t,headers:a})})}return{all:n,create:c,remove:o}}sc.exports=Yb});var uc=m((iS,nc)=>{function oc(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var c=Object.getOwnPropertySymbols(e);t&&(c=c.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),n.push.apply(n,c)}return n}function wr(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?oc(Object(n),!0).forEach(function(c){vb(e,c,n[c])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):oc(Object(n)).forEach(function(c){Object.defineProperty(e,c,Object.getOwnPropertyDescriptor(n,c))})}return e}function vb(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=Tb(e,"string");return typeof t=="symbol"?t:t+""}function Tb(e,t){if(typeof e!="object"||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var c=n.call(e,t||"default");if(typeof c!="object")return c;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}var{authorizationHeaders:ne}=h();function kb({client:e,internalAuthTokenProvider:t}){function n({token:u,jwtToken:d,dynamicFormId:p,query:f={},headers:l,providerId:q}){let y=q?wr(wr({},f),{},{providerId:q}):f;return e({url:`/dynamic-forms/${p}`,params:y,headers:ne({token:u,jwtToken:d,internalAuthTokenProvider:t,headers:l})})}function c({token:u,jwtToken:d,dynamicFormId:p,query:f={},headers:l,providerId:q}){let y=q?wr(wr({},f),{},{providerId:q}):f;return e({url:`/renderable-dynamic-forms/${p}`,params:y,headers:ne({token:u,jwtToken:d,internalAuthTokenProvider:t,headers:l})})}function o({token:u,jwtToken:d,query:p={},headers:f}){return e({url:"/dynamic-forms",params:p,headers:ne({token:u,jwtToken:d,internalAuthTokenProvider:t,headers:f})})}function i({token:u,jwtToken:d,query:p={},data:f,headers:l}){return e({url:"/dynamic-forms",method:"post",headers:ne({token:u,jwtToken:d,internalAuthTokenProvider:t,headers:l}),params:p,data:f})}function r({token:u,jwtToken:d,dynamicFormId:p,data:f,headers:l}){return e({url:`/dynamic-forms/${p}`,method:"put",headers:ne({token:u,jwtToken:d,internalAuthTokenProvider:t,headers:l}),data:f})}function s({dynamicFormId:u,token:d,jwtToken:p,headers:f}){return e({url:`/dynamic-forms/${u}`,method:"delete",headers:ne({token:d,jwtToken:p,internalAuthTokenProvider:t,headers:f})})}return{get:n,getRenderable:c,all:o,create:i,update:r,remove:s,fields:{get({token:u,jwtToken:d,dynamicFormFieldId:p,headers:f}={}){return e({url:`/dynamic-forms/fields/${p}`,headers:ne({token:u,jwtToken:d,internalAuthTokenProvider:t,headers:f})})},all({token:u,jwtToken:d,query:p={},headers:f}){return e({url:"/dynamic-forms/fields",params:p,headers:ne({token:u,jwtToken:d,internalAuthTokenProvider:t,headers:f})})},create({jwtToken:u,token:d,data:p,headers:f}){return e({url:"/dynamic-forms/fields",method:"post",headers:ne({token:d,jwtToken:u,internalAuthTokenProvider:t,headers:f}),data:p})},update({jwtToken:u,token:d,dynamicFormFieldId:p,data:f,headers:l}){return e({url:`/dynamic-forms/fields/${p}`,method:"put",headers:ne({token:d,jwtToken:u,internalAuthTokenProvider:t,headers:l}),data:f})},remove({dynamicFormFieldId:u,token:d,jwtToken:p,headers:f}){return e({url:`/dynamic-forms/fields/${u}`,method:"delete",headers:ne({token:d,jwtToken:p,internalAuthTokenProvider:t,headers:f})})}}}}nc.exports=kb});var ic=m((dS,cc)=>{var{authorizationHeaders:Ut}=h();function Ab({client:e,internalAuthTokenProvider:t}){function n({token:s,jwtToken:a,qrMappingId:u,headers:d}){return e({url:`/qr-mappings/${u}`,headers:Ut({token:s,jwtToken:a,internalAuthTokenProvider:t,headers:d})})}function c({token:s,jwtToken:a,query:u={},headers:d}){return e({url:"/qr-mappings",params:u,headers:Ut({token:s,jwtToken:a,internalAuthTokenProvider:t,headers:d})})}function o({token:s,jwtToken:a,data:u,headers:d}){return e({url:"/qr-mappings",method:"post",headers:Ut({token:s,jwtToken:a,internalAuthTokenProvider:t,headers:d}),data:u})}function i({token:s,jwtToken:a,qrMappingId:u,data:d,headers:p}){return e({url:`/qr-mappings/${u}`,method:"put",headers:Ut({token:s,jwtToken:a,internalAuthTokenProvider:t,headers:p}),data:d})}function r({qrMappingId:s,token:a,jwtToken:u,headers:d}){return e({url:`/qr-mappings/${s}`,method:"delete",headers:Ut({token:a,jwtToken:u,internalAuthTokenProvider:t,headers:d})})}return{get:n,all:c,create:o,update:i,remove:r}}cc.exports=Ab});var pc=m((pS,dc)=>{var{authorizationHeaders:Bt}=h();function e$({client:e,internalAuthTokenProvider:t}){function n({token:s,jwtToken:a,query:u={},headers:d}){return e({params:u,url:"/email-settings",headers:Bt({token:s,jwtToken:a,internalAuthTokenProvider:t,headers:d})})}function c({token:s,jwtToken:a,email:u,query:d={},headers:p}){return e({params:d,url:`/email-settings/${u}`,headers:Bt({token:s,jwtToken:a,internalAuthTokenProvider:t,headers:p})})}function o({data:s,token:a,jwtToken:u,headers:d}){return e({url:"/email-settings",method:"post",headers:Bt({token:a,jwtToken:u,internalAuthTokenProvider:t,headers:d}),data:s})}function i({token:s,jwtToken:a,email:u,data:d,headers:p}){return e({url:`/email-settings/${u}`,method:"put",headers:Bt({token:s,jwtToken:a,internalAuthTokenProvider:t,headers:p}),data:d})}function r({email:s,token:a,jwtToken:u,headers:d}){return e({url:`/email-settings/${s}`,method:"delete",headers:Bt({token:a,jwtToken:u,internalAuthTokenProvider:t,headers:d})})}return{all:n,getByEmail:c,create:o,update:i,remove:r}}dc.exports=e$});var lc=m((fS,mc)=>{var{authorizationHeaders:fc}=h();function t$({client:e,internalAuthTokenProvider:t}){function n({token:o,jwtToken:i,headers:r}){return e({url:"/email-template-settings",headers:fc({token:o,jwtToken:i,internalAuthTokenProvider:t,headers:r})})}function c({token:o,jwtToken:i,emailTemplateSettings:r,headers:s}){return e({url:"/email-template-settings",method:"put",headers:fc({token:o,jwtToken:i,internalAuthTokenProvider:t,headers:s}),data:{emailTemplateSettings:r}})}return{get:n,update:c}}mc.exports=t$});var yc=m((mS,gc)=>{var{authorizationHeaders:hc}=h();function r$({client:e,internalAuthTokenProvider:t}){function n({token:o,jwtToken:i,headers:r}){return e({url:"/sms-template-settings",headers:hc({token:o,jwtToken:i,internalAuthTokenProvider:t,headers:r})})}function c({token:o,jwtToken:i,smsTemplateSettings:r,headers:s}){return e({url:"/sms-template-settings",method:"put",headers:hc({token:o,jwtToken:i,internalAuthTokenProvider:t,headers:s}),data:{smsTemplateSettings:r}})}return{get:n,update:c}}gc.exports=r$});var $c=m((lS,bc)=>{var{authorizationHeaders:xe}=h();function s$({client:e,internalAuthTokenProvider:t}){function n({token:d,jwtToken:p,headers:f}){return e({url:"/email-templates/types",headers:xe({token:d,jwtToken:p,internalAuthTokenProvider:t,headers:f})})}function c({token:d,jwtToken:p,query:f={},headers:l}){return e({url:"/email-templates",params:f,headers:xe({token:d,jwtToken:p,internalAuthTokenProvider:t,headers:l})})}function o({token:d,jwtToken:p,emailTemplateId:f,query:l={},headers:q}){return e({url:`/email-templates/${f}`,params:l,headers:xe({token:d,jwtToken:p,internalAuthTokenProvider:t,headers:q})})}function i({token:d,jwtToken:p,data:f,headers:l}){return e({url:"/email-templates",method:"post",headers:xe({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:xe({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:xe({token:d,jwtToken:p,internalAuthTokenProvider:t,headers:l})})}function a({token:d,jwtToken:p,mainTemplateId:f,agencyId:l,headers:q}){return e({url:"/sub-email-templates",method:"post",headers:xe({token:d,jwtToken:p,internalAuthTokenProvider:t,headers:q}),data:{mainTemplateId:f,agencyId:l}})}return{getTypes:n,all:c,get:o,create:i,update:r,remove:s,createSub:a,versions:{update({token:d,jwtToken:p,emailTemplateId:f,versionId:l,query:q={},headers:y}){return e({url:`/email-templates/${f}/versions/${l}`,method:"put",headers:xe({token:d,jwtToken:p,internalAuthTokenProvider:t,headers:y}),params:q})}}}}bc.exports=s$});var qc=m((hS,xc)=>{var{authorizationHeaders:qe}=h();function a$({client:e,internalAuthTokenProvider:t}){function n({token:d,jwtToken:p,headers:f}){return e({url:"/sms-templates/types",headers:qe({token:d,jwtToken:p,internalAuthTokenProvider:t,headers:f})})}function c({token:d,jwtToken:p,query:f={},headers:l}){return e({url:"/sms-templates",params:f,headers:qe({token:d,jwtToken:p,internalAuthTokenProvider:t,headers:l})})}function o({token:d,jwtToken:p,smsTemplateId:f,query:l={},headers:q}){return e({url:`/sms-templates/${f}`,params:l,headers:qe({token:d,jwtToken:p,internalAuthTokenProvider:t,headers:q})})}function i({token:d,jwtToken:p,data:f,headers:l}){return e({url:"/sms-templates",method:"post",headers:qe({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:qe({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:qe({token:d,jwtToken:p,internalAuthTokenProvider:t,headers:l})})}function a({token:d,jwtToken:p,mainTemplateId:f,agencyId:l,headers:q}){return e({url:"/sub-sms-templates",method:"post",headers:qe({token:d,jwtToken:p,internalAuthTokenProvider:t,headers:q}),data:{mainTemplateId:f,agencyId:l}})}return{getTypes:n,all:c,get:o,create:i,update:r,remove:s,createSub:a,versions:{update({token:d,jwtToken:p,smsTemplateId:f,versionId:l,query:q={},headers:y}){return e({url:`/sms-templates/${f}/versions/${l}`,method:"put",headers:qe({token:d,jwtToken:p,internalAuthTokenProvider:t,headers:y}),params:q})}}}}xc.exports=a$});var Fc=m((gS,Oc)=>{var{authorizationHeaders:wc}=h();function o$({client:e,internalAuthTokenProvider:t}){function n({token:o,jwtToken:i,isoCode:r,query:s={},headers:a}){return e({params:s,url:`/exchange-rates/${r}`,headers:wc({token:o,jwtToken:i,internalAuthTokenProvider:t,headers:a})})}function c({data:o,token:i,jwtToken:r,headers:s}){return e({url:"/exchange-rates",method:"post",headers:wc({token:i,jwtToken:r,internalAuthTokenProvider:t,headers:s}),data:o})}return{allByIsoCode:n,create:c}}Oc.exports=o$});var Rc=m((yS,Ec)=>{var{authorizationHeaders:Sc}=h();function n$({client:e,internalAuthTokenProvider:t}){function n({data:o,token:i,jwtToken:r,headers:s}){return e({url:"/exchange-receipt-settings",method:"put",headers:Sc({token:i,jwtToken:r,internalAuthTokenProvider:t,headers:s}),data:o})}function c({token:o,jwtToken:i,headers:r}){return e({url:"/exchange-receipt-settings",method:"get",headers:Sc({token:o,jwtToken:i,internalAuthTokenProvider:t,headers:r})})}return{update:n,get:c}}Ec.exports=n$});var zc=m((bS,_c)=>{var{authorizationHeaders:Lt}=h();function u$({client:e,internalAuthTokenProvider:t}){function n({data:s,token:a,jwtToken:u,headers:d}){return e({url:"/external-customers/ado",method:"post",headers:Lt({token:a,jwtToken:u,internalAuthTokenProvider:t,headers:d}),data:s})}function c({data:s,token:a,jwtToken:u,headers:d}){return e({url:"/external-customers/ado/confirmation",method:"post",headers:Lt({token:a,jwtToken:u,internalAuthTokenProvider:t,headers:d}),data:s})}function o({data:s,token:a,jwtToken:u,headers:d}){return e({url:"/external-customers/ado/confirmation/resend",method:"post",headers:Lt({token:a,jwtToken:u,internalAuthTokenProvider:t,headers:d}),data:s})}function i({id:s,data:a,token:u,jwtToken:d,headers:p}){return e({url:`/external-customers/ado/${encodeURIComponent(s)}`,method:"put",headers:Lt({token:u,jwtToken:d,internalAuthTokenProvider:t,headers:p}),data:a})}return{saldoMax:{get:({token:s,jwtToken:a,query:u,headers:d})=>e.get("/external-customers/ado",{params:u,headers:Lt({token:s,jwtToken:a,internalAuthTokenProvider:t,headers:d})}),create:n,update:i,confirmation:{create:c,resend:{create:o}}},registerSaldoMax:n}}_c.exports=u$});var jc=m(($S,Cc)=>{var{authorizationHeaders:Hc}=h();function c$({client:e,internalAuthTokenProvider:t}){function n({token:o,jwtToken:i,query:r,headers:s}){return e({url:"/goal-settings",params:r,headers:Hc({token:o,jwtToken:i,internalAuthTokenProvider:t,headers:s})})}function c({jwtToken:o,token:i,goalSettings:r,headers:s}){return e({url:"/goal-settings",method:"put",headers:Hc({token:i,jwtToken:o,internalAuthTokenProvider:t,headers:s}),data:{goalSettings:r}})}return{get:n,update:c}}Cc.exports=c$});var Nc=m((xS,Dc)=>{var{authorizationHeaders:Or}=h();function i$({client:e,internalAuthTokenProvider:t}){function n({token:r,jwtToken:s,query:a={},headers:u}){return e({params:a,url:"/images",headers:Or({token:r,jwtToken:s,internalAuthTokenProvider:t,headers:u})})}function c({token:r,jwtToken:s,query:a={},headers:u,imageId:d}){return e({params:a,url:`/images/${d}`,headers:Or({token:r,jwtToken:s,internalAuthTokenProvider:t,headers:u})})}function o({jwtToken:r,token:s,image:a,headers:u}){return e({url:"/images",method:"post",headers:Or({token:s,jwtToken:r,internalAuthTokenProvider:t,headers:u}),data:{image:a}})}function i({imageId:r,token:s,jwtToken:a,headers:u}){return e({url:`/images/${r}`,method:"delete",headers:Or({token:s,jwtToken:a,internalAuthTokenProvider:t,headers:u})})}return{all:n,get:c,create:o,remove:i}}Dc.exports=i$});var Bc=m((qS,Uc)=>{var{authorizationHeaders:me}=h();function d$({client:e,internalAuthTokenProvider:t}){return{invitations:{all({token:r,jwtToken:s,query:a={},headers:u}){return e({url:"/interline/invitations",params:a,headers:me({token:r,jwtToken:s,internalAuthTokenProvider:t,headers:u})})},get({token:r,invitationId:s,headers:a}){return e.get(`/interline/invitations/${s}`,{headers:me({token:r,internalAuthTokenProvider:t,headers:a})})},create({data:r,token:s,jwtToken:a,headers:u}){return e({url:"/interline/invitations",method:"post",headers:me({token:s,jwtToken:a,internalAuthTokenProvider:t,headers:u}),data:r})},update({invitationId:r,data:s,token:a,jwtToken:u,headers:d}){return e({url:`/interline/invitations/${r}`,method:"put",headers:me({token:a,jwtToken:u,internalAuthTokenProvider:t,headers:d}),data:s})}},consumers:{all({token:r,jwtToken:s,query:a={},headers:u}){return e({url:"/interline/consumers",params:a,headers:me({token:r,jwtToken:s,internalAuthTokenProvider:t,headers:u})})}},providers:{all({token:r,jwtToken:s,query:a={},headers:u}){return e({url:"/interline/providers",params:a,headers:me({token:r,jwtToken:s,internalAuthTokenProvider:t,headers:u})})}},network:{get({token:r,jwtToken:s,interlineId:a,headers:u}){return e.get(`/interline/${a}/network`,{headers:me({token:r,jwtToken:s,internalAuthTokenProvider:t,headers:u})})},update({interlineId:r,data:s,token:a,jwtToken:u,headers:d}){return e({url:`/interline/${r}/network`,method:"put",headers:me({token:a,jwtToken:u,internalAuthTokenProvider:t,headers:d}),data:s})}},remove({interlineId:r,token:s,jwtToken:a,headers:u}){return e({url:`/interline/${r}`,method:"delete",headers:me({token:s,jwtToken:a,internalAuthTokenProvider:t,headers:u})})}}}Uc.exports=d$});var Mc=m((wS,Lc)=>{var{authorizationHeaders:ce}=h();function p$({client:e,internalAuthTokenProvider:t}){function n({token:a,context:u,query:d={},headers:p}){let f=Object.assign({},d,{context:u});return e({url:"lexicons/buscompany",params:f,headers:ce({token:a,internalAuthTokenProvider:t,headers:p})})}function c({token:a,jwtToken:u,lexiconEntries:d,headers:p}){return e({url:"/lexicons",method:"post",headers:ce({token:a,jwtToken:u,internalAuthTokenProvider:t,headers:p}),data:{entries:d}})}function o({token:a,jwtToken:u,entries:d,headers:p}){return e({url:"/lexicons",method:"put",headers:ce({token:a,jwtToken:u,internalAuthTokenProvider:t,headers:p}),data:{entries:d}})}function i({token:a,jwtToken:u,updates:d,headers:p}){return e({url:"/lexicons",method:"patch",headers:ce({token:a,jwtToken:u,internalAuthTokenProvider:t,headers:p}),data:{updates:d}})}function r({token:a,jwtToken:u,headers:d,lang:p,txt:f}){return e({url:`/lexicons/${encodeURIComponent(p)}/content`,params:{txt:f},headers:ce({token:a,jwtToken:u,internalAuthTokenProvider:t,headers:d})})}return{all:n,create:c,createOrUpdateMany:o,updateMany:i,getByText:r,suggestions:{list({token:a,jwtToken:u,headers:d,params:p={}}){return e({url:"/lexicons/suggestions",params:p,headers:ce({token:a,jwtToken:u,internalAuthTokenProvider:t,headers:d})})},getById({token:a,jwtToken:u,headers:d,suggestionId:p,params:f={}}){return e({url:`/lexicons/suggestions/${p}`,params:f,headers:ce({token:a,jwtToken:u,internalAuthTokenProvider:t,headers:d})})},update({token:a,jwtToken:u,headers:d,suggestionId:p,data:f,superUserId:l,superUserHash:q}){let y={superUserId:l,superUserHash:q};return e({url:`/lexicons/suggestions/${p}`,method:"put",params:y,headers:ce({token:a,jwtToken:u,internalAuthTokenProvider:t,headers:d}),data:f})},delete({token:a,jwtToken:u,headers:d,suggestionId:p}){return e({url:`/lexicons/suggestions/${p}`,method:"delete",headers:ce({token:a,jwtToken:u,internalAuthTokenProvider:t,headers:d})})},create({token:a,jwtToken:u,headers:d,key:p,lang:f,data:l}){return e({url:`/lexicons/${encodeURIComponent(p)}/${encodeURIComponent(f)}/suggestion`,method:"post",headers:ce({token:a,jwtToken:u,internalAuthTokenProvider:t,headers:d}),data:l})}}}}Lc.exports=p$});var Vc=m((OS,Ic)=>{var{authorizationHeaders:De}=h();function f$({client:e,internalAuthTokenProvider:t}){return{agencies:{all({token:c,jwtToken:o,query:i={},headers:r}){return e({url:"/network/agencies",params:i,headers:De({token:c,jwtToken:o,internalAuthTokenProvider:t,headers:r})})},get({token:c,jwtToken:o,query:i,headers:r,sellerId:s}){return e({url:`/network/agencies/${s}`,params:i||{},headers:De({token:c,jwtToken:o,internalAuthTokenProvider:t,headers:r})})},update({jwtToken:c,token:o,sellerId:i,agency:r,headers:s,query:a}){return e({url:`/network/agencies/${i}`,method:"put",headers:De({token:o,jwtToken:c,internalAuthTokenProvider:t,headers:s}),data:{agency:r},params:a})},create({jwtToken:c,token:o,agency:i,headers:r}){return e({url:"/network/agencies",method:"post",headers:De({token:o,jwtToken:c,internalAuthTokenProvider:t,headers:r}),data:{agency:i}})},removeProduct({token:c,jwtToken:o,productId:i,headers:r}){return e({url:"/network/agencies/remove-product",method:"put",headers:De({token:c,jwtToken:o,internalAuthTokenProvider:t,headers:r}),data:{productId:i}})},removeFare({token:c,jwtToken:o,fareId:i,headers:r}){return e({url:"/network/agencies/remove-fare",method:"put",headers:De({token:c,jwtToken:o,internalAuthTokenProvider:t,headers:r}),data:{fareId:i}})},banks({token:c,jwtToken:o,providerId:i,headers:r}){return e({url:"/network/agencies/banks",params:{providerId:i},headers:De({token:c,jwtToken:o,internalAuthTokenProvider:t,headers:r})})}}}}Ic.exports=f$});var Jc=m((FS,Wc)=>{var{authorizationHeaders:Kc}=h();function m$({client:e,internalAuthTokenProvider:t}){function n({token:o,jwtToken:i,query:r,headers:s}){return e({url:"/operation-settings",params:r,headers:Kc({token:o,jwtToken:i,internalAuthTokenProvider:t,headers:s})})}function c({jwtToken:o,token:i,operationSettings:r,headers:s}){return e({url:"/operation-settings",method:"put",headers:Kc({token:i,jwtToken:o,internalAuthTokenProvider:t,headers:s}),data:{operationSettings:r}})}return{get:n,update:c}}Wc.exports=m$});var Zc=m((SS,Gc)=>{function Xc(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var c=Object.getOwnPropertySymbols(e);t&&(c=c.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),n.push.apply(n,c)}return n}function Fr(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?Xc(Object(n),!0).forEach(function(c){l$(e,c,n[c])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Xc(Object(n)).forEach(function(c){Object.defineProperty(e,c,Object.getOwnPropertyDescriptor(n,c))})}return e}function l$(e,t,n){return(t=h$(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function h$(e){var t=g$(e,"string");return typeof t=="symbol"?t:t+""}function g$(e,t){if(typeof e!="object"||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var c=n.call(e,t||"default");if(typeof c!="object")return c;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}var{authorizationHeaders:Mt}=h();function y$({client:e,internalAuthTokenProvider:t}){function n({token:s,jwtToken:a,query:u,headers:d,providerId:p}){let f=p?Fr(Fr({},u),{},{providerId:p}):u;return e({url:"/people-lookups",params:f,headers:Mt({token:s,jwtToken:a,internalAuthTokenProvider:t,headers:d})})}function c({token:s,jwtToken:a,query:u,headers:d,personId:p,providerId:f}){let l=f?Fr(Fr({},u),{},{providerId:f}):u;return e({url:`/people-lookups/${p}`,params:l,headers:Mt({token:s,jwtToken:a,internalAuthTokenProvider:t,headers:d})})}function o({jwtToken:s,token:a,personId:u,person:d,headers:p,providerId:f}){let l=f?{providerId:f}:{};return e({url:`/people-lookups/${u}`,method:"put",headers:Mt({token:a,jwtToken:s,internalAuthTokenProvider:t,headers:p}),params:l,data:{person:d}})}function i({jwtToken:s,token:a,person:u,headers:d,providerId:p}){let f=p?{providerId:p}:{};return e({url:"/people-lookups",method:"post",headers:Mt({token:a,jwtToken:s,internalAuthTokenProvider:t,headers:d}),params:f,data:{person:u}})}function r({personId:s,token:a,jwtToken:u,headers:d}){return e({url:`/people-lookups/${s}`,method:"delete",headers:Mt({token:a,jwtToken:u,internalAuthTokenProvider:t,headers:d})})}return{all:n,getById:c,update:o,create:i,remove:r}}Gc.exports=y$});var vc=m((ES,Yc)=>{var{authorizationHeaders:Qc}=h();function b$({client:e,internalAuthTokenProvider:t}){function n({token:o,jwtToken:i,headers:r}){return e({url:"/point-to-point-settings",headers:Qc({token:o,jwtToken:i,internalAuthTokenProvider:t,headers:r})})}function c({token:o,jwtToken:i,pointToPointSettings:r,headers:s}){return e({url:"/point-to-point-settings",method:"put",headers:Qc({token:o,jwtToken:i,internalAuthTokenProvider:t,headers:s}),data:r})}return{get:n,update:c}}Yc.exports=b$});var kc=m((RS,Tc)=>{var{authorizationHeaders:Pc}=h();function $$({client:e,internalAuthTokenProvider:t}){function n({token:o,jwtToken:i,headers:r}){return e({url:"/market-pricing-settings",headers:Pc({token:o,jwtToken:i,internalAuthTokenProvider:t,headers:r})})}function c({token:o,jwtToken:i,marketPricingSettings:r,headers:s}){return e({url:"/market-pricing-settings",method:"put",headers:Pc({token:o,jwtToken:i,internalAuthTokenProvider:t,headers:s}),data:r})}return{get:n,update:c}}Tc.exports=$$});var ti=m((_S,ei)=>{var{authorizationHeaders:Ac}=h();function x$({client:e,internalAuthTokenProvider:t}){function n({token:o,jwtToken:i,headers:r}){return e({url:"/multiproduct-sales-settings",headers:Ac({token:o,jwtToken:i,internalAuthTokenProvider:t,headers:r})})}function c({token:o,jwtToken:i,data:r,headers:s}){return e({url:"/multiproduct-sales-settings",method:"put",headers:Ac({token:o,jwtToken:i,internalAuthTokenProvider:t,headers:s}),data:r})}return{get:n,update:c}}ei.exports=x$});var si=m((zS,ri)=>{var{authorizationHeaders:q$}=h();function w$({client:e,internalAuthTokenProvider:t}){function n({token:c,jwtToken:o,query:i,headers:r}){return e({url:"/printers",params:i||{},headers:q$({token:c,jwtToken:o,internalAuthTokenProvider:t,headers:r})})}return{all:n}}ri.exports=w$});var ni=m((HS,oi)=>{var{authorizationHeaders:ai}=h();function O$({client:e,internalAuthTokenProvider:t}){function n({token:o,jwtToken:i,query:r,headers:s}){return e({url:"/print-settings",params:r,headers:ai({token:o,jwtToken:i,internalAuthTokenProvider:t,headers:s})})}function c({jwtToken:o,token:i,printSettings:r,headers:s}){return e({url:"/print-settings",method:"put",headers:ai({token:i,jwtToken:o,internalAuthTokenProvider:t,headers:s}),data:{printSettings:r}})}return{all:n,update:c}}oi.exports=O$});var ci=m((CS,ui)=>{var{authorizationHeaders:Ze}=h();function F$({client:e,internalAuthTokenProvider:t}){function n({token:a,jwtToken:u,query:d={},headers:p}){return e({url:"/print-templates",params:d,headers:Ze({token:a,jwtToken:u,internalAuthTokenProvider:t,headers:p})})}function c({token:a,jwtToken:u,printTemplateId:d,query:p={},headers:f}){return e({url:`/print-templates/${d}`,params:p,headers:Ze({token:a,jwtToken:u,internalAuthTokenProvider:t,headers:f})})}function o({jwtToken:a,token:u,printTemplateId:d,printTemplate:p,headers:f,query:l}){return e({url:`/print-templates/${d}`,method:"put",headers:Ze({token:u,jwtToken:a,internalAuthTokenProvider:t,headers:f}),data:{printTemplate:p},params:l})}function i({jwtToken:a,token:u,printTemplate:d,headers:p}){return e({url:"/print-templates",method:"post",headers:Ze({token:u,jwtToken:a,internalAuthTokenProvider:t,headers:p}),data:{printTemplate:d}})}function r({printTemplateId:a,token:u,jwtToken:d,headers:p}){return e({url:`/print-templates/${a}`,method:"delete",headers:Ze({token:u,jwtToken:d,internalAuthTokenProvider:t,headers:p})})}return{all:n,get:c,update:o,create:i,remove:r,versions:{update({printTemplateId:a,token:u,jwtToken:d,headers:p,query:f,versionId:l}){return e({url:`/print-templates/${a}/versions/${l}`,method:"put",headers:Ze({token:u,jwtToken:d,internalAuthTokenProvider:t,headers:p}),params:f})}}}}ui.exports=F$});var pi=m((jS,di)=>{var{authorizationHeaders:ii}=h();function S$({client:e,internalAuthTokenProvider:t}){function n({token:o,jwtToken:i,headers:r}){return e({url:"/rms-settings",headers:ii({token:o,jwtToken:i,internalAuthTokenProvider:t,headers:r})})}function c({token:o,jwtToken:i,revenueManagementSettings:r,headers:s}){return e({url:"/rms-settings",method:"put",headers:ii({token:o,jwtToken:i,internalAuthTokenProvider:t,headers:s}),data:r})}return{get:n,update:c}}di.exports=S$});var li=m((DS,mi)=>{var{authorizationHeaders:fi}=h();function E$({client:e,internalAuthTokenProvider:t}){function n({token:o,jwtToken:i,headers:r}){return e({url:"/journey-prices-settings",headers:fi({token:o,jwtToken:i,internalAuthTokenProvider:t,headers:r})})}function c({token:o,jwtToken:i,journeyPricesSettings:r,headers:s}){return e({url:"/journey-prices-settings",method:"put",headers:fi({token:o,jwtToken:i,internalAuthTokenProvider:t,headers:s}),data:r})}return{get:n,update:c}}mi.exports=E$});var gi=m((NS,hi)=>{var{authorizationHeaders:R$}=h();function _$({client:e,internalAuthTokenProvider:t}){function n({jwtToken:c,token:o,subPrintTemplate:i,headers:r}){return e({url:"/sub-print-templates",method:"post",headers:R$({token:o,jwtToken:c,internalAuthTokenProvider:t,headers:r}),data:{subPrintTemplate:i}})}return{create:n}}hi.exports=_$});var bi=m((US,yi)=>{var{authorizationHeaders:as}=h();function z$({client:e,internalAuthTokenProvider:t}){function n({jwtToken:i,token:r,bucketId:s,s3BucketData:a,headers:u}){return e({url:`/account/s3Buckets/${s}`,method:"put",headers:as({token:r,jwtToken:i,internalAuthTokenProvider:t,headers:u}),data:a})}function c({jwtToken:i,token:r,bucketId:s,headers:a}){return e({url:`/account/s3Buckets/${s}`,method:"delete",headers:as({token:r,jwtToken:i,internalAuthTokenProvider:t,headers:a})})}function o({jwtToken:i,token:r,s3BucketData:s,headers:a}){return e({url:"/account/s3Buckets",method:"post",headers:as({token:r,jwtToken:i,internalAuthTokenProvider:t,headers:a}),data:s})}return{update:n,remove:c,create:o}}yi.exports=z$});var qi=m((BS,xi)=>{var{authorizationHeaders:$i}=h();function H$({client:e,internalAuthTokenProvider:t}){function n({jwtToken:o,token:i,query:r,headers:s}){return e({url:"/salesforce-settings",params:r,headers:$i({token:i,jwtToken:o,internalAuthTokenProvider:t,headers:s})})}function c({jwtToken:o,token:i,salesforceSettings:r,headers:s}){return e({url:"/salesforce-settings",method:"put",headers:$i({token:i,jwtToken:o,internalAuthTokenProvider:t,headers:s}),data:{salesforceSettings:r}})}return{get:n,update:c}}xi.exports=H$});var Oi=m((LS,wi)=>{var{authorizationHeaders:L}=h();function C$({client:e,internalAuthTokenProvider:t}){function n({jwtToken:H,token:C,query:z,headers:j}){return e.get("/shifts",{headers:L({token:C,jwtToken:H,internalAuthTokenProvider:t,headers:j}),params:z})}function c({token:H,userId:C,headers:z}){return e.get(`/shift/user/${C}`,{headers:L({token:H,internalAuthTokenProvider:t,headers:z})})}function o({jwtToken:H,token:C,shiftData:z,headers:j}){return e({url:"/shifts",method:"post",headers:L({token:C,jwtToken:H,internalAuthTokenProvider:t,headers:j}),data:z})}function i({jwtToken:H,token:C,shiftId:z,operations:j,headers:V,query:S}){return e({url:`/shifts/${z}`,method:"patch",headers:L({token:C,jwtToken:H,internalAuthTokenProvider:t,headers:V}),data:{operations:j},params:S})}return{all:n,get:c,create:o,update:i,requiresAgencyShiftClosure:{put({token:H,jwtToken:C,shiftId:z,headers:j,shiftData:V}){return e({url:`/shifts/${z}/requires-agency-shift-closure`,method:"put",headers:L({token:H,jwtToken:C,internalAuthTokenProvider:t,headers:j}),data:{shiftData:V}})}},payments:{get({token:H,jwtToken:C,shiftId:z,headers:j}){return e.get(`/shifts/${z}/payments`,{headers:L({token:H,jwtToken:C,internalAuthTokenProvider:t,headers:j})})}},vouchers:{get({token:H,jwtToken:C,shiftId:z,headers:j}){return e.get(`/shifts/${z}/vouchers`,{headers:L({token:H,jwtToken:C,internalAuthTokenProvider:t,headers:j})})}},transactions:{get({token:H,jwtToken:C,shiftId:z,headers:j}){return e.get(`/shifts/${z}/transactions`,{headers:L({token:H,jwtToken:C,internalAuthTokenProvider:t,headers:j})})}},tickets:{get({token:H,jwtToken:C,shiftId:z,headers:j}){return e.get(`/shifts/${z}/tickets`,{headers:L({token:H,jwtToken:C,internalAuthTokenProvider:t,headers:j})})}},fees:{get({token:H,jwtToken:C,shiftId:z,headers:j}){return e.get(`/shifts/${z}/fees`,{headers:L({token:H,jwtToken:C,internalAuthTokenProvider:t,headers:j})})}},refunds:{get({token:H,jwtToken:C,shiftId:z,headers:j}){return e.get(`/shifts/${z}/refunds`,{headers:L({token:H,jwtToken:C,internalAuthTokenProvider:t,headers:j})})}},items:{get({token:H,jwtToken:C,shiftId:z,headers:j}){return e.get(`/shifts/${z}/items`,{headers:L({token:H,jwtToken:C,internalAuthTokenProvider:t,headers:j})})}},redeemableItems:{get({token:H,jwtToken:C,shiftId:z,headers:j}){return e.get(`/shifts/${z}/redeemable-items`,{headers:L({token:H,jwtToken:C,internalAuthTokenProvider:t,headers:j})})}},giftCertificates:{get({token:H,jwtToken:C,shiftId:z,headers:j}){return e.get(`/shifts/${z}/gift-certificates`,{headers:L({token:H,jwtToken:C,internalAuthTokenProvider:t,headers:j})})}},parcels:{get({token:H,jwtToken:C,shiftId:z,headers:j}){return e.get(`/shifts/${z}/parcels`,{headers:L({token:H,jwtToken:C,internalAuthTokenProvider:t,headers:j})})}},insurances:{get({token:H,jwtToken:C,shiftId:z,headers:j}){return e.get(`/shifts/${z}/insurances`,{headers:L({token:H,jwtToken:C,internalAuthTokenProvider:t,headers:j})})}},invoices:{get({token:H,jwtToken:C,shiftId:z,headers:j}){return e.get(`/shifts/${z}/invoices`,{headers:L({token:H,jwtToken:C,internalAuthTokenProvider:t,headers:j})})}},deposits:{get({token:H,jwtToken:C,shiftId:z,headers:j}){return e.get(`/shifts/${z}/deposits`,{headers:L({token:H,jwtToken:C,internalAuthTokenProvider:t,headers:j})})},create({jwtToken:H,token:C,shiftId:z,deposit:j,headers:V}){return e({url:`/shifts/${z}/deposits`,method:"post",headers:L({token:C,jwtToken:H,internalAuthTokenProvider:t,headers:V}),data:j})}},manualTickets:{get({token:H,jwtToken:C,shiftId:z,headers:j}){return e.get(`/shifts/${z}/manual-tickets`,{headers:L({token:H,jwtToken:C,internalAuthTokenProvider:t,headers:j})})},create({jwtToken:H,token:C,shiftId:z,manualTicket:j,headers:V}){return e({url:`/shifts/${z}/manual-tickets`,method:"post",headers:L({token:C,jwtToken:H,internalAuthTokenProvider:t,headers:V}),data:j})}},locationClosures:{create({jwtToken:H,token:C,locationClosure:z,headers:j}){return e({url:"/shifts/location-closures",method:"post",headers:L({token:C,jwtToken:H,internalAuthTokenProvider:t,headers:j}),data:z})},all({jwtToken:H,token:C,query:z,headers:j}){return e.get("/shifts/location-closures",{headers:L({token:C,jwtToken:H,internalAuthTokenProvider:t,headers:j}),params:z})},get({token:H,jwtToken:C,locationClosureId:z,headers:j}){return e.get(`/shifts/location-closures/${z}`,{headers:L({token:H,jwtToken:C,internalAuthTokenProvider:t,headers:j})})},comments:{create({jwtToken:H,token:C,locationClosureId:z,locationClosureComment:j,headers:V}){return e({url:`/shifts/location-closures/${z}/comments`,method:"post",headers:L({token:C,jwtToken:H,internalAuthTokenProvider:t,headers:V}),data:j})}},status:{update({jwtToken:H,token:C,locationClosureId:z,locationClosureStatusChange:j,headers:V}){return e({url:`/shifts/location-closures/${z}/status`,method:"put",headers:L({token:C,jwtToken:H,internalAuthTokenProvider:t,headers:V}),data:j})}}},startingBalances:{create({jwtToken:H,token:C,shiftId:z,startingBalance:j,headers:V}){return e({url:`/shifts/${z}/starting-balance`,method:"post",headers:L({token:C,jwtToken:H,internalAuthTokenProvider:t,headers:V}),data:j})}},purchaseLimitPayments:{get({token:H,jwtToken:C,locationId:z,query:j,headers:V}){return e.get(`/shifts/${z}/purchase-limit-payments`,{headers:L({token:H,jwtToken:C,internalAuthTokenProvider:t,headers:V}),params:j})}},salesSummary:{get({token:H,jwtToken:C,shiftId:z,query:j,headers:V}){return e.get(`/shifts/${z}/sales-summary`,{headers:L({token:H,jwtToken:C,internalAuthTokenProvider:t,headers:V}),params:j})}},commissions:{get({token:H,jwtToken:C,shiftId:z,headers:j}){return e.get(`/shifts/${z}/commissions`,{headers:L({token:H,jwtToken:C,internalAuthTokenProvider:t,headers:j})})}}}}wi.exports=C$});var Ei=m((MS,Si)=>{var{authorizationHeaders:Fi}=h();function j$({client:e,internalAuthTokenProvider:t}){function n({token:o,jwtToken:i,query:r,headers:s}){return e({url:"/shift-settings",params:r,headers:Fi({token:o,jwtToken:i,internalAuthTokenProvider:t,headers:s})})}function c({jwtToken:o,token:i,shiftSettings:r,headers:s}){return e({url:"/shift-settings",method:"put",headers:Fi({token:i,jwtToken:o,internalAuthTokenProvider:t,headers:s}),data:{shiftSettings:r}})}return{get:n,update:c}}Si.exports=j$});var _i=m((IS,Ri)=>{var{authorizationHeaders:os}=h();function D$({client:e,internalAuthTokenProvider:t}){function n({token:i,jwtToken:r,modelName:s,headers:a}){return e({url:`/system-models/${s}/settings`,headers:os({token:i,jwtToken:r,internalAuthTokenProvider:t,headers:a})})}function c({jwtToken:i,token:r,modelName:s,systemModelSettings:a,headers:u}){return e({url:`/system-models/${s}/settings`,method:"put",headers:os({token:r,jwtToken:i,internalAuthTokenProvider:t,headers:u}),data:{systemModelSettings:a}})}function o({jwtToken:i,token:r,modelName:s,action:a,payload:u,headers:d}){return e({url:`/system-models/${s}/validations`,method:"post",headers:os({token:r,jwtToken:i,internalAuthTokenProvider:t,headers:d}),data:{action:a,payload:u}})}return{get:n,update:c,validate:o}}Ri.exports=D$});var Ci=m((VS,Hi)=>{var{authorizationHeaders:zi}=h();function N$({client:e,internalAuthTokenProvider:t}){function n({token:o,jwtToken:i,headers:r}){return e({url:"/ticket-movement-settings",headers:zi({token:o,jwtToken:i,internalAuthTokenProvider:t,headers:r})})}function c({token:o,jwtToken:i,ticketMovementSettings:r,headers:s}){return e({url:"/ticket-movement-settings",method:"put",headers:zi({token:o,jwtToken:i,internalAuthTokenProvider:t,headers:s}),data:r})}return{get:n,update:c}}Hi.exports=N$});var Ni=m((KS,Di)=>{var{authorizationHeaders:ji}=h();function U$({client:e,internalAuthTokenProvider:t}){function n({token:o,jwtToken:i,headers:r,query:s}){return e.get("/tokens",{headers:ji({token:o,jwtToken:i,internalAuthTokenProvider:t,headers:r}),params:s})}function c({data:o,token:i,jwtToken:r,headers:s}){return e({url:"/tokens",method:"post",headers:ji({token:i,jwtToken:r,internalAuthTokenProvider:t,headers:s}),data:o})}return{get:n,create:c}}Di.exports=U$});var Bi=m((WS,Ui)=>{var{authorizationHeaders:It}=h();function B$({client:e,internalAuthTokenProvider:t}){function n({token:s,jwtToken:a,query:u,headers:d}){return e({url:"/travellers",headers:It({token:s,jwtToken:a,internalAuthTokenProvider:t,headers:d}),params:u})}function c({token:s,jwtToken:a,id:u,query:d={},headers:p}){return e({url:`/travellers/${u}`,method:"get",headers:It({token:s,jwtToken:a,internalAuthTokenProvider:t,headers:p}),params:d})}function o({token:s,jwtToken:a,id:u,data:d,query:p={},headers:f}){return e({url:`/travellers/${u}`,method:"put",params:p,headers:It({token:s,jwtToken:a,internalAuthTokenProvider:t,headers:f}),data:d})}function i({token:s,jwtToken:a,id:u,query:d={},headers:p}){return e({url:`/travellers/${u}`,method:"delete",params:d,headers:It({token:s,jwtToken:a,internalAuthTokenProvider:t,headers:p})})}function r({token:s,jwtToken:a,query:u={},data:d,headers:p}){return e({url:"/travellers",method:"post",headers:It({token:s,jwtToken:a,internalAuthTokenProvider:t,headers:p}),params:u,data:d})}return{all:n,get:c,update:o,remove:i,create:r}}Ui.exports=B$});var Mi=m((JS,Li)=>{var{authorizationHeaders:ns}=h();function L$({client:e,internalAuthTokenProvider:t}){function n({token:i,jwtToken:r,data:s,headers:a}){return e({url:"/trusted-machines",method:"post",withCredentials:!0,headers:ns({token:i,jwtToken:r,internalAuthTokenProvider:t,headers:a}),data:s})}function c({token:i,jwtToken:r,id:s,headers:a}){return e({url:`/trusted-machines/${s}`,method:"get",headers:ns({token:i,jwtToken:r,internalAuthTokenProvider:t,headers:a})})}function o({token:i,jwtToken:r,query:s={},headers:a}){return e({params:s,url:"/trusted-machines",headers:ns({token:i,jwtToken:r,internalAuthTokenProvider:t,headers:a})})}return{create:n,get:c,all:o}}Li.exports=L$});var Ki=m((XS,Vi)=>{var{authorizationHeaders:Ii}=h();function M$({client:e,internalAuthTokenProvider:t}){function n({jwtToken:o,token:i,query:r,headers:s}){return e({url:"/twilio-settings",params:r,headers:Ii({token:i,jwtToken:o,internalAuthTokenProvider:t,headers:s})})}function c({jwtToken:o,token:i,twilioSettings:r,headers:s}){return e({url:"/twilio-settings",method:"put",headers:Ii({token:i,jwtToken:o,internalAuthTokenProvider:t,headers:s}),data:{twilioSettings:r}})}return{get:n,update:c}}Vi.exports=M$});var Ji=m((GS,Wi)=>{var{authorizationHeaders:Y}=h();function I$({client:e,internalAuthTokenProvider:t}){function n({token:y,jwtToken:b,id:g,headers:x}={}){return e({url:`/user/${g}`,headers:Y({token:y,jwtToken:b,internalAuthTokenProvider:t,headers:x})})}function c({token:y,jwtToken:b,id:g,headers:x}={}){return e({url:`/users/${g}`,headers:Y({token:y,jwtToken:b,internalAuthTokenProvider:t,headers:x})})}function o({token:y,jwtToken:b,query:g={},headers:x}){return e({url:"/users",params:g,headers:Y({token:y,jwtToken:b,internalAuthTokenProvider:t,headers:x})})}function i({token:y,jwtToken:b,query:g={},data:x,headers:w}){return e({url:"/users",method:"post",headers:Y({token:y,jwtToken:b,internalAuthTokenProvider:t,headers:w}),params:g,data:x})}function r({token:y,jwtToken:b,query:g={},data:x,headers:w}){return i({token:y,jwtToken:b,query:g,data:x,headers:w})}function s({token:y,jwtToken:b,userId:g,user:x,headers:w}){return e({url:`/users/${g}`,method:"put",headers:Y({token:y,jwtToken:b,internalAuthTokenProvider:t,headers:w}),data:{user:x}})}function a({token:y,jwtToken:b,id:g,headers:x}){return e({url:`/users/${g}`,method:"delete",headers:Y({token:y,jwtToken:b,internalAuthTokenProvider:t,headers:x})})}function u({token:y,jwtToken:b,users:g,headers:x}){return e({url:"/users/import",method:"post",headers:Y({token:y,jwtToken:b,internalAuthTokenProvider:t,headers:x}),data:{users:g}})}function d({token:y,jwtToken:b,offlineUserId:g,headers:x}){return e({url:"/users/impersonate",method:"post",headers:Y({token:y,jwtToken:b,internalAuthTokenProvider:t,headers:x}),data:{offlineUserId:g}})}function p({token:y,jwtToken:b,userId:g,headers:x}){return e({url:`/users/${g}/mfa`,method:"post",headers:Y({token:y,jwtToken:b,internalAuthTokenProvider:t,headers:x})})}function f({token:y,jwtToken:b,userId:g,totpToken:x,headers:w}){return e({url:`/users/${g}/mfa`,method:"put",headers:Y({token:y,jwtToken:b,internalAuthTokenProvider:t,headers:w}),data:{token:x}})}function l({token:y,jwtToken:b,userId:g,headers:x}){return e({url:`/users/${g}/mfa`,method:"delete",headers:Y({token:y,jwtToken:b,internalAuthTokenProvider:t,headers:x})})}return{get:n,getV2:c,all:o,create:r,login:i,update:s,delete:a,createOrUpdateMany:u,impersonate:d,startMfa:p,confirmMfa:f,disableMfa:l,sequences:{get({token:y,jwtToken:b,userId:g,sequenceId:x,headers:w}){return e({url:`/users/${g}/sequences/${x}`,headers:Y({token:y,jwtToken:b,internalAuthTokenProvider:t,headers:w})})},all({token:y,jwtToken:b,userId:g,query:x={},headers:w}){return e({url:`/users/${g}/sequences`,params:x,headers:Y({token:y,jwtToken:b,internalAuthTokenProvider:t,headers:w})})},create({jwtToken:y,token:b,userId:g,sequence:x,headers:w}){return e({url:`/users/${g}/sequences`,method:"post",headers:Y({token:b,jwtToken:y,internalAuthTokenProvider:t,headers:w}),data:x})},update({jwtToken:y,token:b,userId:g,sequenceId:x,sequence:w,headers:D}){return e({url:`/users/${g}/sequences/${x}`,method:"put",headers:Y({token:b,jwtToken:y,internalAuthTokenProvider:t,headers:D}),data:w})},transfer({jwtToken:y,token:b,userId:g,sequenceId:x,newUserId:w,headers:D}){return e({url:`/users/${g}/sequences/${x}`,method:"patch",headers:Y({token:b,jwtToken:y,internalAuthTokenProvider:t,headers:D}),data:{operation:"transfer",newUserId:w}})},allByUserIds({token:y,jwtToken:b,query:g={},headers:x}){return e({url:"/users/sequences",params:g,headers:Y({token:y,jwtToken:b,internalAuthTokenProvider:t,headers:x})})}}}}Wi.exports=I$});var Gi=m((ZS,Xi)=>{var{authorizationHeaders:Sr}=h();function V$({client:e,internalAuthTokenProvider:t}){function n({token:r,jwtToken:s,query:a={},headers:u}){return e({url:"/verified-emails",headers:Sr({token:r,jwtToken:s,internalAuthTokenProvider:t,headers:u}),params:a})}function c({token:r,jwtToken:s,email:a,headers:u}){return e({url:`/verified-emails/${encodeURIComponent(a)}`,headers:Sr({token:r,jwtToken:s,internalAuthTokenProvider:t,headers:u})})}function o({token:r,jwtToken:s,data:a,headers:u}){return e({url:"/verified-emails",method:"post",headers:Sr({token:r,jwtToken:s,internalAuthTokenProvider:t,headers:u}),data:a})}function i({token:r,jwtToken:s,email:a,data:u,headers:d}){return e({url:`/verified-emails/${encodeURIComponent(a)}`,method:"put",headers:Sr({token:r,jwtToken:s,internalAuthTokenProvider:t,headers:d}),data:u})}return{all:n,get:c,create:o,update:i}}Xi.exports=V$});var Yi=m((QS,Qi)=>{var{authorizationHeaders:Zi}=h();function K$({client:e,internalAuthTokenProvider:t}){function n({token:o,jwtToken:i,query:r={},headers:s}){return e({params:r,url:"/websales-config",headers:Zi({token:o,jwtToken:i,internalAuthTokenProvider:t,headers:s})})}function c({token:o,jwtToken:i,websalesConfigId:r,websalesConfig:s,headers:a}){return e({url:`/websales-config/${r}`,method:"put",headers:Zi({token:o,jwtToken:i,internalAuthTokenProvider:t,headers:a}),data:s})}return{get:n,update:c}}Qi.exports=K$});var Ti=m((YS,Pi)=>{var{authorizationHeaders:vi}=h();function W$({client:e,internalAuthTokenProvider:t}){function n({token:o,jwtToken:i,headers:r}){return e({url:"/transport-regulation-settings/cnrt",headers:vi({token:o,jwtToken:i,internalAuthTokenProvider:t,headers:r})})}function c({token:o,jwtToken:i,transportRegulationSettings:r,headers:s}){return e({url:"/transport-regulation-settings/cnrt",method:"put",headers:vi({token:o,jwtToken:i,internalAuthTokenProvider:t,headers:s}),data:r})}return{get:n,update:c}}Pi.exports=W$});var Ai=m((vS,ki)=>{function J$({client:e}){function t(){return e.get("/api-docs-v2",{})}return{get:t}}ki.exports=J$});var td=m((PS,ed)=>{var{authorizationHeaders:X$}=h();function G$({client:e,internalAuthTokenProvider:t}){function n({token:c,parcelQuoteData:o,jwtToken:i,headers:r}){return e({url:"/parcel-quotes",method:"post",headers:X$({token:c,jwtToken:i,internalAuthTokenProvider:t,headers:r}),data:o})}return{get:n}}ed.exports=G$});var sd=m((TS,rd)=>{var{authorizationHeaders:Z$}=h();function Q$({client:e,internalAuthTokenProvider:t}){function n({token:c,jwtToken:o,query:i={},headers:r}){return e.get("/payment-providers",{params:i,headers:Z$({token:c,jwtToken:o,internalAuthTokenProvider:t,headers:r})})}return{all:n}}rd.exports=Q$});var od=m((kS,ad)=>{var{authorizationHeaders:P}=h();function Y$({client:e,internalAuthTokenProvider:t}){function n({token:y,id:b,query:g={},headers:x}){return e({url:`/cart/${b}`,params:g,headers:P({token:y,internalAuthTokenProvider:t,headers:x})})}function c({token:y,cart:b,jwtToken:g,headers:x}){return e({url:"/cart",method:"post",headers:P({token:y,jwtToken:g,internalAuthTokenProvider:t,headers:x}),data:b})}function o({token:y,cartId:b,cart:g,jwtToken:x,headers:w}){return e({url:`/cart/${b}/items`,method:"post",headers:P({token:y,jwtToken:x,internalAuthTokenProvider:t,headers:w}),data:g})}function i({token:y,cartId:b,params:g,jwtToken:x,headers:w}){return e({url:`/cart/${b}/items`,method:"delete",headers:P({token:y,jwtToken:x,internalAuthTokenProvider:t,headers:w}),params:g})}function r({token:y,cartId:b,itemId:g,jwtToken:x,headers:w}){return e({url:`/carts/${b}/paid-in-items/${g}`,method:"delete",headers:P({token:y,jwtToken:x,internalAuthTokenProvider:t,headers:w})})}function s({token:y,cartId:b,params:g,jwtToken:x,headers:w}){return e({url:`/carts/${b}/paid-in-items`,method:"delete",headers:P({token:y,jwtToken:x,internalAuthTokenProvider:t,headers:w}),params:g||{}})}let a={get({token:y,jwtToken:b,cartId:g,query:x={},headers:w}){return e({url:`/carts/${g}/loyalty-points-amount`,params:x,headers:P({token:y,jwtToken:b,internalAuthTokenProvider:t,headers:w})})}};function u({token:y,jwtToken:b,cartId:g,data:x,headers:w}){return e({url:`/cart/${g}`,method:"patch",headers:P({token:y,jwtToken:b,internalAuthTokenProvider:t,headers:w}),data:x})}return{get:n,create:c,add:o,deleteItems:i,deletePaidInItem:r,deletePaidInItems:s,loyaltyPointsAmount:a,patch:u,partialDepositStatus:{get({token:y,jwtToken:b,shiftId:g,headers:x}){return e.get(`/cart/${g}/partial-deposit-status`,{headers:P({token:y,jwtToken:b,internalAuthTokenProvider:t,headers:x})})}},payments:{delete({token:y,cartId:b,jwtToken:g,headers:x}){return e({url:`/carts/${b}/payments`,method:"delete",headers:P({token:y,jwtToken:g,internalAuthTokenProvider:t,headers:x})})},put({token:y,cartId:b,jwtToken:g,headers:x,payment:w}){return e({url:`/carts/${b}/payments`,method:"put",headers:P({token:y,jwtToken:g,internalAuthTokenProvider:t,headers:x}),data:w})}},taxExemptPaymentMethod:{post({token:y,cartId:b,jwtToken:g,headers:x,data:w={}}){return e({url:`/carts/${b}/tax-exempt-payment-method`,method:"POST",headers:P({token:y,jwtToken:g,internalAuthTokenProvider:t,headers:x}),data:w})}},financingCosts:{create({token:y,jwtToken:b,headers:g,cartId:x,financingCost:w,query:D={}}){return e({url:`/carts/${x}/financing-costs`,method:"POST",params:D,headers:P({token:y,jwtToken:b,internalAuthTokenProvider:t,headers:g}),data:{financingcost:w}})},delete({token:y,jwtToken:b,headers:g,cartId:x,query:w={}}){return e({url:`/carts/${x}/financing-costs`,method:"delete",params:w,headers:P({token:y,jwtToken:b,internalAuthTokenProvider:t,headers:g})})}},expirationTime:{create({token:y,jwtToken:b,headers:g,cartId:x,expirationTime:w}){return e({url:`/carts/${x}/expiration-time`,method:"post",headers:P({token:y,jwtToken:b,internalAuthTokenProvider:t,headers:g}),data:{expirationTimeData:w}})}}}}ad.exports=Y$});var ud=m((AS,nd)=>{var{authorizationHeaders:v$}=h();function P$({client:e,internalAuthTokenProvider:t}){function n({token:c,GCNumber:o,query:i={},headers:r}){return e({url:`/gift-certificates/${o}`,params:i,headers:v$({token:c,internalAuthTokenProvider:t,headers:r})})}return{get:n}}nd.exports=P$});var id=m((eE,cd)=>{var{authorizationHeaders:T$}=h();function k$({client:e,internalAuthTokenProvider:t}){function n({token:c,query:o={},headers:i}){return e.get("/custom-fields",{params:o,headers:T$({token:c,internalAuthTokenProvider:t,headers:i})})}return{all:n}}cd.exports=k$});var pd=m((tE,dd)=>{var{authorizationHeaders:Er}=h();function A$({client:e,internalAuthTokenProvider:t}){function n({token:r,order:s,jwtToken:a,headers:u}){return e({url:"/order",method:"post",headers:Er({token:r,jwtToken:a,internalAuthTokenProvider:t,headers:u}),data:s})}function c({token:r,orderId:s,query:a={},headers:u}){return e({url:`/order/${s}`,params:a,headers:Er({token:r,internalAuthTokenProvider:t,headers:u})})}function o({token:r,orderId:s,payments:a,jwtToken:u,headers:d,query:p={}}){return e({url:`/orders/${s}/payments`,method:"post",data:a,params:p,headers:Er({token:r,jwtToken:u,internalAuthTokenProvider:t,headers:d})})}function i({token:r,jwtToken:s,headers:a,operation:u,query:d={}}){return e({url:"/orders",method:"patch",headers:Er({token:r,jwtToken:s,internalAuthTokenProvider:t,headers:a}),data:{operation:u},params:d})}return{create:n,get:c,overwrite:o,patch:i}}dd.exports=A$});var md=m((rE,fd)=>{var{authorizationHeaders:ex}=h();function tx({client:e,internalAuthTokenProvider:t}){function n({token:c,voucher:o,headers:i}){return e({url:`/vouchers/${o.number}?cartId=${o.cartId}&firstName=${o.firstName}&lastName=${o.lastName}&displayCurrencyCode=${o.displayCurrencyCode||""}`,headers:ex({token:c,internalAuthTokenProvider:t,headers:i})})}return{get:n}}fd.exports=tx});var gd=m((sE,hd)=>{var{authorizationHeaders:ld}=h();function rx({client:e,internalAuthTokenProvider:t}){function n({token:o,jwtToken:i,cartId:r,query:s={},headers:a}){return e({url:`/cart/${r}/promos`,method:"post",headers:ld({token:o,jwtToken:i,internalAuthTokenProvider:t,headers:a}),params:s})}function c({token:o,jwtToken:i,cartId:r,query:s={},headers:a}){return e({url:`/cart/${r}`,method:"delete",headers:ld({token:o,jwtToken:i,internalAuthTokenProvider:t,headers:a}),params:s})}return{create:n,remove:c}}hd.exports=rx});var bd=m((aE,yd)=>{var{authorizationHeaders:sx}=h();function ax({client:e,internalAuthTokenProvider:t}){function n({token:c,query:o={},headers:i}){return e.get("/bundles",{params:o,headers:sx({token:c,internalAuthTokenProvider:t,headers:i})})}return{all:n}}yd.exports=ax});var qd=m((oE,xd)=>{var{authorizationHeaders:$d}=h();function ox({client:e,internalAuthTokenProvider:t}){function n({token:o,redeemableItemId:i,query:r={},headers:s}){return e({url:`/redeemable-items/${i}`,params:r,headers:$d({token:o,internalAuthTokenProvider:t,headers:s})})}function c({token:o,jwtToken:i,query:r={},headers:s}){return e({url:"/redeemable-items",params:r,headers:$d({token:o,jwtToken:i,headers:s})})}return{get:n,getValid:c}}xd.exports=ox});var Od=m((nE,wd)=>{var{authorizationHeaders:nx}=h();function ux({client:e,internalAuthTokenProvider:t}){function n({token:c,jwtToken:o,flexpassId:i,headers:r}){return e({url:`/flexpasses/${i}`,headers:nx({token:c,jwtToken:o,internalAuthTokenProvider:t,headers:r})})}return{get:n}}wd.exports=ux});var Sd=m((uE,Fd)=>{var{authorizationHeaders:cx}=h();function ix({client:e,internalAuthTokenProvider:t}){function n({token:c,data:o,jwtToken:i,headers:r}){return e({url:"/sync-entry",method:"patch",headers:cx({token:c,jwtToken:i,internalAuthTokenProvider:t,headers:r}),data:o})}return{patch:n}}Fd.exports=ix});var Rd=m((cE,Ed)=>{var{authorizationHeaders:dx}=h();function px({client:e,internalAuthTokenProvider:t}){function n({token:c,jwtToken:o,id:i,headers:r,query:s={}}){return e({url:`/check-in/${i}`,params:s,headers:dx({token:c,jwtToken:o,internalAuthTokenProvider:t,headers:r})})}return{get:n}}Ed.exports=px});var zd=m((iE,_d)=>{var{authorizationHeaders:us}=h();function fx({client:e,internalAuthTokenProvider:t}){function n({token:i,jwtToken:r,cancelData:s,headers:a}){return e({url:"/cancellations",method:"POST",data:{cancellation:s},headers:us({token:i,jwtToken:r,internalAuthTokenProvider:t,headers:a})})}function c({token:i,jwtToken:r,cancelSet:s,headers:a}){return e({url:"/cancellations",method:"PUT",data:s,headers:us({token:i,jwtToken:r,internalAuthTokenProvider:t,headers:a})})}function o({token:i,jwtToken:r,pendingTransactionId:s,paymentResult:a,headers:u}){return e({url:`/cancellations/${s}`,method:"PUT",data:{paymentResult:a},headers:us({token:i,jwtToken:r,internalAuthTokenProvider:t,headers:u})})}return{sets:{create:n},refunds:{create:c},update:o}}_d.exports=fx});var Cd=m((dE,Hd)=>{function mx({client:e,internalAuthTokenProvider:t}){function n(){return e.get("/api-docs-v2",{})}return{get:n}}Hd.exports=mx});var Nd=m((pE,Dd)=>{var{authorizationHeaders:jd}=h();function lx({client:e,internalAuthTokenProvider:t}){function n({token:o,jwtToken:i,query:r={},headers:s}){return e.get("/accounting-items",{params:r,headers:jd({token:o,jwtToken:i,internalAuthTokenProvider:t,headers:s})})}function c({accountingItemId:o,token:i,jwtToken:r,headers:s}){return e.get(`/accounting-items/${o}`,{headers:jd({token:i,jwtToken:r,internalAuthTokenProvider:t,headers:s})})}return{all:n,get:c}}Dd.exports=lx});var Bd=m((fE,Ud)=>{var{authorizationHeaders:hx}=h();function gx({client:e,internalAuthTokenProvider:t}){function n({token:c,jwtToken:o,trxId:i,headers:r}){return e({url:"/appliedInsurances",params:{trxId:i},headers:hx({token:c,jwtToken:o,internalAuthTokenProvider:t,headers:r})})}return{all:n}}Ud.exports=gx});var Md=m((mE,Ld)=>{var{authorizationHeaders:yx}=h();function bx({client:e,internalAuthTokenProvider:t}){function n({token:c,query:o={},headers:i}){return e({url:"/calendar-entries",params:o,headers:yx({token:c,internalAuthTokenProvider:t,headers:i})})}return{all:n}}Ld.exports=bx});var Kd=m((lE,Vd)=>{var{authorizationHeaders:Id}=h();function $x({client:e,internalAuthTokenProvider:t}){function n({jwtToken:o,token:i,externalBooking:r,headers:s,query:a={}}){return e({url:"/external-bookings",method:"post",data:r,params:a,headers:Id({token:i,jwtToken:o,internalAuthTokenProvider:t,headers:s})})}function c({jwtToken:o,token:i,ticketId:r,headers:s}){return e({url:`/external-bookings/${r}`,method:"delete",headers:Id({token:i,jwtToken:o,internalAuthTokenProvider:t,headers:s})})}return{create:n,remove:c}}Vd.exports=$x});var Jd=m((hE,Wd)=>{var{authorizationHeaders:xx}=h();function qx({client:e,internalAuthTokenProvider:t}){function n({jwtToken:c,token:o,flexpassId:i,tripId:r,headers:s}){return e({url:`/flexpasses/${i}/scannings/${r}`,method:"delete",headers:xx({token:o,jwtToken:c,internalAuthTokenProvider:t,headers:s})})}return{deleteScanBytripId:n}}Wd.exports=qx});var Gd=m((gE,Xd)=>{var{authorizationHeaders:wx}=h();function Ox({client:e,internalAuthTokenProvider:t}){function n({jwtToken:c,token:o,customer:i,page:r,headers:s}){let a={customer:i};return r!=null&&(a.page=r),e({url:"/gift-certificates",method:"get",params:a,headers:wx({token:o,jwtToken:c,internalAuthTokenProvider:t,headers:s})})}return{list:n}}Xd.exports=Ox});var Yd=m((yE,Qd)=>{var{authorizationHeaders:Zd}=h();function Fx({client:e,internalAuthTokenProvider:t}){function n({token:o,jwtToken:i,query:r={},headers:s}){return e.get("/loans",{params:r,headers:Zd({token:o,jwtToken:i,internalAuthTokenProvider:t,headers:s})})}function c({loanId:o,token:i,jwtToken:r,headers:s}){return e.get(`/loans/${o}`,{headers:Zd({token:i,jwtToken:r,internalAuthTokenProvider:t,headers:s})})}return{all:n,get:c}}Qd.exports=Fx});var Td=m((bE,Pd)=>{function vd(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var c=Object.getOwnPropertySymbols(e);t&&(c=c.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),n.push.apply(n,c)}return n}function Sx(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?vd(Object(n),!0).forEach(function(c){Ex(e,c,n[c])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):vd(Object(n)).forEach(function(c){Object.defineProperty(e,c,Object.getOwnPropertyDescriptor(n,c))})}return e}function Ex(e,t,n){return(t=Rx(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Rx(e){var t=_x(e,"string");return typeof t=="symbol"?t:t+""}function _x(e,t){if(typeof e!="object"||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var c=n.call(e,t||"default");if(typeof c!="object")return c;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}var{authorizationHeaders:B}=h();function zx({client:e,internalAuthTokenProvider:t}){function n({token:S,jwtToken:_,headers:R,data:O}){return e({url:"/manifests/dispatch/reporting",method:"post",headers:B({token:S,jwtToken:_,internalAuthTokenProvider:t,headers:R}),data:O})}function c({token:S,jwtToken:_,headers:R,manifestId:O,data:F}){return e({url:`manifests/${O}/dispatch/reporting`,method:"put",headers:B({token:S,jwtToken:_,internalAuthTokenProvider:t,headers:R}),data:F})}function o({token:S,jwtToken:_,headers:R,manifestId:O,data:F,query:N}){return e({url:`manifests/${O}/dispatches`,method:"post",headers:B({token:S,jwtToken:_,internalAuthTokenProvider:t,headers:R}),data:F,params:N})}function i({token:S,jwtToken:_,query:R={},headers:O}){return e({url:"/manifests",method:"get",params:R,headers:B({token:S,jwtToken:_,internalAuthTokenProvider:t,headers:O})})}function r({token:S,jwtToken:_,query:R={},headers:O}){return e({url:"/manifests/item-capacity-over-limit",method:"get",params:R,headers:B({token:S,jwtToken:_,internalAuthTokenProvider:t,headers:O})})}function s({token:S,jwtToken:_,query:R={},headers:O}){return e({url:"/manifests/item-capacity-used",method:"get",params:R,headers:B({token:S,jwtToken:_,internalAuthTokenProvider:t,headers:O})})}function a({token:S,jwtToken:_,manifestId:R,query:O={},headers:F}){return e({url:`/manifests/${R}`,method:"get",params:O,headers:B({token:S,jwtToken:_,internalAuthTokenProvider:t,headers:F})})}function u({token:S,jwtToken:_,data:R,headers:O,mode:F}){let N={mode:"sync"};return F&&(N.mode=F),e({url:"/manifests/status",params:N,method:"put",headers:B({token:S,jwtToken:_,internalAuthTokenProvider:t,headers:O}),data:R})}function d({token:S,jwtToken:_,providerId:R,data:O,headers:F}){return e({url:"/all-manifests",method:"post",params:{providerId:R},headers:B({token:S,jwtToken:_,internalAuthTokenProvider:t,headers:F}),data:O})}function p({token:S,jwtToken:_,query:R={},headers:O}){return e({url:"/outlook-manifests",method:"get",params:R,headers:B({token:S,jwtToken:_,internalAuthTokenProvider:t,headers:O})})}function f({token:S,jwtToken:_,query:R={},operations:O,headers:F}){return e({url:"/manifests",method:"patch",params:R,headers:B({token:S,jwtToken:_,internalAuthTokenProvider:t,headers:F}),data:{operations:O}})}function l({token:S,jwtToken:_,providerId:R,data:O,headers:F,query:N={}}){return e({url:"/manifests",method:"put",params:Sx({providerId:R,manifestId:O.manifestId},N),headers:B({token:S,jwtToken:_,internalAuthTokenProvider:t,headers:F}),data:O})}function q({token:S,jwtToken:_,manifestId:R,query:O={},data:F,headers:N}){return e({url:`/manifests/${R}/users`,method:"post",headers:B({token:S,jwtToken:_,internalAuthTokenProvider:t,headers:N}),params:O,data:F})}function y({token:S,jwtToken:_,manifestId:R,userId:O,headers:F}){return e({url:`/manifests/${R}/users/${O}`,method:"delete",headers:B({token:S,jwtToken:_,internalAuthTokenProvider:t,headers:F})})}function b({token:S,jwtToken:_,manifestId:R,query:O={},data:F,headers:N}){return e({url:`/manifests/${R}/capacity-exceptions`,method:"post",headers:B({token:S,jwtToken:_,internalAuthTokenProvider:t,headers:N}),params:O,data:F})}function g({token:S,jwtToken:_,manifestKey:R,headers:O}){return e({url:`/manifests/${R}/fare-capacity-limits`,method:"get",headers:B({token:S,jwtToken:_,internalAuthTokenProvider:t,headers:O})})}function x({token:S,jwtToken:_,manifestKey:R,query:O={},data:F,headers:N}){return e({url:`/manifests/${R}/fare-capacity-limits`,method:"put",headers:B({token:S,jwtToken:_,internalAuthTokenProvider:t,headers:N}),params:O,data:F})}function w({token:S,jwtToken:_,manifestId:R,exceptionId:O,headers:F}){return e({url:`/manifests/${R}/capacity-exceptions/${O}`,method:"delete",headers:B({token:S,jwtToken:_,internalAuthTokenProvider:t,headers:F})})}function D({token:S,jwtToken:_,manifestId:R,query:O={},data:F,headers:N}){return e({url:`/manifests/${R}/comments`,method:"put",headers:B({token:S,jwtToken:_,internalAuthTokenProvider:t,headers:N}),params:O,data:F})}function W({token:S,jwtToken:_,manifestId:R,query:O={},data:F,headers:N}){return e({url:`/manifests/${R}/status`,method:"put",headers:B({token:S,jwtToken:_,internalAuthTokenProvider:t,headers:N}),params:O,data:F})}function I({token:S,jwtToken:_,manifestKey:R,query:O={},headers:F}){return e({url:`/manifests/${R}/sales-authorizations`,method:"get",params:O,headers:B({token:S,jwtToken:_,internalAuthTokenProvider:t,headers:F})})}let re={create({token:S,jwtToken:_,query:R={},headers:O,data:F,manifestId:N,legFromId:J}){return e({url:`/manifests/${N}/checkin/${J}`,method:"post",headers:B({token:S,jwtToken:_,internalAuthTokenProvider:t,headers:O}),params:R,data:F})},open({token:S,jwtToken:_,query:R={},headers:O,manifestId:F,legFromId:N}){return e({url:`/manifests/${F}/checkin/${N}`,method:"patch",headers:B({token:S,jwtToken:_,internalAuthTokenProvider:t,headers:O}),params:R,data:{operation:{name:"open_check_in"}}})},close({token:S,jwtToken:_,query:R={},headers:O,manifestId:F,legFromId:N}){return e({url:`/manifests/${F}/checkin/${N}`,method:"patch",headers:B({token:S,jwtToken:_,internalAuthTokenProvider:t,headers:O}),params:R,data:{operation:{name:"close_check_in"}}})}},Ue={update({token:S,jwtToken:_,data:R,query:O={},headers:F,manifestId:N,legFromId:J}){return e({url:`/manifests/${N}/legs/${J}`,method:"put",headers:B({token:S,jwtToken:_,internalAuthTokenProvider:t,headers:F}),params:O,data:R})},tickets:{update({token:S,jwtToken:_,data:R,query:O={},headers:F,manifestId:N,legFromId:J,ticketId:we}){return e({url:`/manifests/${N}/legs/${J}/tickets/${we}`,method:"put",headers:B({token:S,jwtToken:_,internalAuthTokenProvider:t,headers:F}),params:O,data:R})},noshow({token:S,jwtToken:_,query:R={},headers:O,manifestId:F,legFromId:N,ticketId:J}){return e({url:`/manifests/${F}/legs/${N}/tickets/${J}/noshow`,method:"put",headers:B({token:S,jwtToken:_,internalAuthTokenProvider:t,headers:O}),params:R})}}},Be={get({token:S,jwtToken:_,query:R={},responseType:O="json",id:F,headers:N}){return e({url:`/manifests/${F}/reports`,method:"get",responseType:O,params:R,headers:B({token:S,jwtToken:_,internalAuthTokenProvider:t,headers:N})})}},se={add({token:S,jwtToken:_,manifestId:R,query:O={},headers:F,data:N}){return e({url:`/manifests/${R}/labels`,method:"post",headers:B({token:S,jwtToken:_,internalAuthTokenProvider:t,headers:F}),params:O,data:N})},remove({token:S,jwtToken:_,manifestId:R,labelId:O,headers:F}){return e({url:`/manifests/${R}/labels/${O}`,method:"delete",headers:B({token:S,jwtToken:_,internalAuthTokenProvider:t,headers:F})})}},ae={add({token:S,jwtToken:_,manifestId:R,query:O={},headers:F}){return e({url:`/manifests/${R}/trip-close`,method:"post",headers:B({token:S,jwtToken:_,internalAuthTokenProvider:t,headers:F}),params:O})}},H={update({token:S,jwtToken:_,manifestId:R,query:O={bypassValidation:!1},headers:F,data:N}){return e({url:`/manifests/${R}/driver-relays`,method:"put",headers:B({token:S,jwtToken:_,internalAuthTokenProvider:t,headers:F}),params:O,data:N})}},C={update({token:S,jwtToken:_,manifestKey:R,manifestException:O,headers:F,query:N={}}){return e({url:`/manifests/${R}/manifests-exceptions`,method:"put",headers:B({token:S,jwtToken:_,internalAuthTokenProvider:t,headers:F}),params:N,data:{manifestException:O}})}};function z({token:S,jwtToken:_,headers:R,manifestId:O,stationId:F,data:N,query:J}){return e({url:`/manifests/${O}/boarding/${F}`,method:"post",headers:B({token:S,jwtToken:_,internalAuthTokenProvider:t,headers:R}),data:N,params:J})}function j({token:S,jwtToken:_,headers:R,manifestId:O,stationId:F,data:N,query:J}){return e({url:`/manifests/${O}/dispatch/${F}`,method:"post",headers:B({token:S,jwtToken:_,internalAuthTokenProvider:t,headers:R}),data:N,params:J})}function V({token:S,jwtToken:_,headers:R,manifestId:O,stationId:F,data:N,query:J}){return e({url:`/manifests/${O}/sales-closure/${F}`,method:"post",headers:B({token:S,jwtToken:_,internalAuthTokenProvider:t,headers:R}),data:N,params:J})}return{get:i,getAll:d,getById:a,itemCapacityOverLimit:r,itemCapacityUsed:s,outlook:p,patch:f,save:l,addUser:q,removeUser:y,updateComment:D,updateStatus:W,addCapacityException:b,removeCapacityException:w,getFareCapacityLimits:g,updateFareCapacityLimits:x,dispatch:o,updateDispatchReporting:c,createDispatchReporting:n,statusBulkUpdate:u,getSalesAuthorizations:I,manifestsExceptions:C,checkIn:re,legs:Ue,reports:Be,labels:se,driverRelays:H,tripClose:ae,stationBoarding:z,stationDispatch:j,stationSalesClosure:V}}Pd.exports=zx});var Ad=m(($E,kd)=>{var{authorizationHeaders:Hx}=h();function Cx({client:e,internalAuthTokenProvider:t}){function n({token:c,jwtToken:o,ticketId:i,params:r,headers:s}){return e({url:`/manifest-leg-for-tickets/${i}`,headers:Hx({token:c,jwtToken:o,internalAuthTokenProvider:t,headers:s}),params:r})}return{get:n}}kd.exports=Cx});var tp=m((xE,ep)=>{var{authorizationHeaders:jx}=h();function Dx({client:e,internalAuthTokenProvider:t}){function n({token:c,jwtToken:o,movement:i,query:r={},headers:s}){return e({url:"/movements",method:"post",params:r,headers:jx({token:c,jwtToken:o,internalAuthTokenProvider:t,headers:s}),data:i})}return{create:n}}ep.exports=Dx});var sp=m((qE,rp)=>{var{authorizationHeaders:Nx}=h();function Ux({client:e,internalAuthTokenProvider:t}){function n({token:c,jwtToken:o,query:i={},headers:r}){return e({url:"/outlook-trips",headers:Nx({token:c,jwtToken:o,internalAuthTokenProvider:t,headers:r}),params:i})}return{get:n}}rp.exports=Ux});var op=m((wE,ap)=>{var{authorizationHeaders:cs}=h();function Bx({client:e,internalAuthTokenProvider:t}){function n({token:i,jwtToken:r,payment:s,headers:a}){return e({method:"post",url:"/pago-express/info",data:{payment:s},headers:cs({token:i,jwtToken:r,internalAuthTokenProvider:t,headers:a})})}function c({token:i,jwtToken:r,payment:s,headers:a}){return e({method:"post",url:"/pago-express/pay",data:{payment:s},headers:cs({token:i,jwtToken:r,internalAuthTokenProvider:t,headers:a})})}function o({token:i,jwtToken:r,reversePayment:s,headers:a}){return e({method:"post",url:"/pago-express/reverse",data:{reversePayment:s},headers:cs({token:i,jwtToken:r,internalAuthTokenProvider:t,headers:a})})}return{info:n,pay:c,reverse:o}}ap.exports=Bx});var ip=m((OE,cp)=>{function np(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var c=Object.getOwnPropertySymbols(e);t&&(c=c.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),n.push.apply(n,c)}return n}function up(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?np(Object(n),!0).forEach(function(c){Lx(e,c,n[c])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):np(Object(n)).forEach(function(c){Object.defineProperty(e,c,Object.getOwnPropertyDescriptor(n,c))})}return e}function Lx(e,t,n){return(t=Mx(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Mx(e){var t=Ix(e,"string");return typeof t=="symbol"?t:t+""}function Ix(e,t){if(typeof e!="object"||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var c=n.call(e,t||"default");if(typeof c!="object")return c;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}var{authorizationHeaders:Vt}=h();function Vx({client:e,internalAuthTokenProvider:t}){function n({token:s,jwtToken:a,id:u,headers:d}){return e({url:`/parcels/${u}`,headers:Vt({token:s,jwtToken:a,internalAuthTokenProvider:t,headers:d})})}function c({token:s,jwtToken:a,query:u={},headers:d,providerId:p}){let f=p?up(up({},u),{},{providerId:p}):u;return e({url:"/parcels",params:f,headers:Vt({token:s,jwtToken:a,internalAuthTokenProvider:t,headers:d})})}function o({token:s,jwtToken:a,id:u,operationType:d,locationData:p,headers:f}){return e({url:`/parcels/${u}/scans`,method:"post",headers:Vt({token:s,jwtToken:a,internalAuthTokenProvider:t,headers:f}),data:{operationType:d,locationData:p}})}function i({token:s,jwtToken:a,headers:u,id:d,comment:p}){return e({url:`/parcels/${d}/user-comments`,method:"post",headers:Vt({token:s,jwtToken:a,internalAuthTokenProvider:t,headers:u}),data:{comment:p}})}function r({token:s,jwtToken:a,headers:u,id:d,commentId:p}){return e({url:`/parcels/${d}/user-comments/${p}`,method:"delete",headers:Vt({token:s,jwtToken:a,internalAuthTokenProvider:t,headers:u})})}return{get:n,all:c,addScan:o,addComment:i,deleteComment:r}}cp.exports=Vx});var pp=m((FE,dp)=>{var{authorizationHeaders:Qe}=h();function Kx({client:e,internalAuthTokenProvider:t}){function n({token:s,jwtToken:a,query:u,headers:d}){return e({url:"/parcels-manifests",headers:Qe({token:s,jwtToken:a,internalAuthTokenProvider:t,headers:d}),params:u})}function c({token:s,jwtToken:a,id:u,format:d,headers:p}){return e({url:`/parcels-manifests/${u}`,method:"get",headers:Qe({token:s,jwtToken:a,internalAuthTokenProvider:t,headers:p}),params:d!=null?{format:d}:void 0})}function o({token:s,jwtToken:a,query:u={},data:d,headers:p}){return e({url:"/parcels-manifests",method:"post",headers:Qe({token:s,jwtToken:a,internalAuthTokenProvider:t,headers:p}),params:u,data:d})}return{all:n,get:c,create:o,parcels:{remove({token:s,jwtToken:a,manifestId:u,parcelId:d,headers:p}){return e({url:`/parcels-manifests/${u}/parcels/${d}`,method:"delete",headers:Qe({token:s,jwtToken:a,internalAuthTokenProvider:t,headers:p})})},create({token:s,jwtToken:a,manifestId:u,query:d={},data:p,headers:f}){return e({url:`/parcels-manifests/${u}/parcels`,method:"post",headers:Qe({token:s,jwtToken:a,internalAuthTokenProvider:t,headers:f}),params:d,data:p})}},vehicles:{createOrUpdate({token:s,jwtToken:a,manifestId:u,query:d={},data:p,headers:f}){return e({url:`/parcels-manifests/${u}/vehicles`,method:"post",headers:Qe({token:s,jwtToken:a,internalAuthTokenProvider:t,headers:f}),params:d,data:{parcelManifestVehicle:p}})}}}}dp.exports=Kx});var mp=m((SE,fp)=>{var{authorizationHeaders:Rr}=h();function Wx({client:e,internalAuthTokenProvider:t}){function n({token:r,jwtToken:s,query:a,headers:u}){return e({url:"/passenger-check-in-info",headers:Rr({token:r,jwtToken:s,internalAuthTokenProvider:t,headers:u}),params:a})}function c({token:r,jwtToken:s,id:a,headers:u}){return e({url:`/passenger-check-in-info/${a}`,method:"get",headers:Rr({token:r,jwtToken:s,internalAuthTokenProvider:t,headers:u})})}function o({token:r,jwtToken:s,id:a,data:u,headers:d,query:p}){return e({url:`/passenger-check-in-info/${a}`,method:"put",params:p,headers:Rr({token:r,jwtToken:s,internalAuthTokenProvider:t,headers:d}),data:u})}function i({token:r,jwtToken:s,query:a={},data:u,headers:d}){return e({url:"/passenger-check-in-info",method:"post",headers:Rr({token:r,jwtToken:s,internalAuthTokenProvider:t,headers:d}),params:a,data:u})}return{all:n,get:c,update:o,create:i}}fp.exports=Wx});var hp=m((EE,lp)=>{var{authorizationHeaders:is}=h();function Jx({client:e,internalAuthTokenProvider:t}){function n({token:i,jwtToken:r,redemption:s,headers:a}){return e({url:"/redemptions",method:"post",headers:is({token:i,jwtToken:r,internalAuthTokenProvider:t,headers:a}),data:s})}function c({token:i,jwtToken:r,passId:s,timezone:a,headers:u}){return e({url:`/redemptions/validate/${s}`,params:{timezone:a},method:"get",headers:is({token:i,jwtToken:r,internalAuthTokenProvider:t,headers:u})})}function o({token:i,jwtToken:r,data:s,headers:a}){return e({url:"/unredeem",method:"post",headers:is({token:i,jwtToken:r,internalAuthTokenProvider:t,headers:a}),data:s})}return{create:n,getValidate:c,unredeem:o}}lp.exports=Jx});var bp=m((RE,yp)=>{var{authorizationHeaders:gp}=h();function Xx({client:e,internalAuthTokenProvider:t}){return{manifestForecasts:{all({token:c,jwtToken:o,query:i={},headers:r}){return e.get("/rms/manifest-forecast",{params:i,headers:gp({token:c,jwtToken:o,internalAuthTokenProvider:t,headers:r})})},get({scheduleId:c,token:o,jwtToken:i,query:r={},headers:s}){return e.get(`/rms/manifest-forecast/${c}`,{params:r,headers:gp({token:o,jwtToken:i,internalAuthTokenProvider:t,headers:s})})}}}}yp.exports=Xx});var xp=m((_E,$p)=>{var{authorizationHeaders:Kt}=h();function Gx({client:e,internalAuthTokenProvider:t}){function n({token:s,jwtToken:a,query:u,headers:d}){return e({url:"/scheduled-notifications",headers:Kt({token:s,jwtToken:a,internalAuthTokenProvider:t,headers:d}),params:u})}function c({token:s,jwtToken:a,id:u,headers:d}){return e({url:`/scheduled-notifications/${u}`,method:"get",headers:Kt({token:s,jwtToken:a,internalAuthTokenProvider:t,headers:d})})}function o({token:s,jwtToken:a,id:u,data:d,headers:p,query:f}){return e({url:`/scheduled-notifications/${u}`,method:"put",params:f,headers:Kt({token:s,jwtToken:a,internalAuthTokenProvider:t,headers:p}),data:d})}function i({token:s,jwtToken:a,id:u,headers:d}){return e({url:`/scheduled-notifications/${u}`,method:"delete",headers:Kt({token:s,jwtToken:a,internalAuthTokenProvider:t,headers:d})})}function r({token:s,jwtToken:a,query:u={},data:d,headers:p}){return e({url:"/scheduled-notifications",method:"post",headers:Kt({token:s,jwtToken:a,internalAuthTokenProvider:t,headers:p}),params:u,data:d})}return{all:n,get:c,update:o,remove:i,create:r}}$p.exports=Gx});var wp=m((zE,qp)=>{var{authorizationHeaders:Zx}=h();function Qx({client:e,internalAuthTokenProvider:t}){function n({token:c,jwtToken:o,productId:i,ticketId:r,providerId:s,headers:a}){return e({url:`/products/${i}/segments/${r}`,headers:Zx({token:c,jwtToken:o,internalAuthTokenProvider:t,headers:a}),params:{providerId:s}})}return{all:n}}qp.exports=Qx});var Fp=m((HE,Op)=>{var{authorizationHeaders:Yx}=h();function vx({client:e,internalAuthTokenProvider:t}){function n({token:c,jwtToken:o,query:i={},headers:r}){return e.get("/sold-items/fulfillment",{params:i,headers:Yx({token:c,jwtToken:o,internalAuthTokenProvider:t,headers:r})})}return{all:n}}Op.exports=vx});var Rp=m((CE,Ep)=>{var{authorizationHeaders:Sp}=h();function Px({client:e,internalAuthTokenProvider:t}){function n({token:o,jwtToken:i,soldItemId:r,headers:s,query:a}){return e.get(`/sold-items/${r}`,{params:a,headers:Sp({token:o,jwtToken:i,internalAuthTokenProvider:t,headers:s})})}function c({token:o,jwtToken:i,headers:r,query:s}){return e.get("/sold-items",{params:s,headers:Sp({token:o,jwtToken:i,internalAuthTokenProvider:t,headers:r})})}return{all:c,get:n}}Ep.exports=Px});var Cp=m((jE,Hp)=>{function _p(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var c=Object.getOwnPropertySymbols(e);t&&(c=c.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),n.push.apply(n,c)}return n}function zp(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?_p(Object(n),!0).forEach(function(c){Tx(e,c,n[c])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):_p(Object(n)).forEach(function(c){Object.defineProperty(e,c,Object.getOwnPropertyDescriptor(n,c))})}return e}function Tx(e,t,n){return(t=kx(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function kx(e){var t=Ax(e,"string");return typeof t=="symbol"?t:t+""}function Ax(e,t){if(typeof e!="object"||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var c=n.call(e,t||"default");if(typeof c!="object")return c;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}var{authorizationHeaders:Ye}=h();function eq({client:e,internalAuthTokenProvider:t}){function n({token:a,jwtToken:u,id:d,headers:p,query:f}){return e({url:`/tickets/${d}`,method:"get",params:f,headers:Ye({token:a,jwtToken:u,internalAuthTokenProvider:t,headers:p})})}function c({token:a,jwtToken:u,id:d,operations:p,warningsEnabled:f,headers:l}){return e({url:`/tickets/${d}`,method:"patch",headers:Ye({token:a,jwtToken:u,internalAuthTokenProvider:t,headers:l}),data:{operations:p,warningsEnabled:f}})}function o({token:a,jwtToken:u,ticketId:d,headers:p}){return e({url:`/tickets/${d}/companion-tickets`,headers:Ye({token:a,jwtToken:u,headers:p})})}function i({token:a,jwtToken:u,query:d={},headers:p,providerId:f}){let l=f?zp(zp({},d),{},{providerId:f}):d;return e({url:"/tickets",params:l,headers:Ye({token:a,jwtToken:u,internalAuthTokenProvider:t,headers:p})})}function r({token:a,jwtToken:u,ticketId:d,data:p,headers:f}){return e({url:`/tickets/${d}/delivery`,method:"put",headers:Ye({token:a,jwtToken:u,internalAuthTokenProvider:t,headers:f}),data:p})}function s({token:a,jwtToken:u,ticketId:d,data:p,headers:f}){return e({url:`/tickets/${d}/passenger`,method:"put",headers:Ye({token:a,jwtToken:u,internalAuthTokenProvider:t,headers:f}),data:p})}return{get:n,all:i,patch:c,companionTickets:o,updateDelivery:r,updatePassenger:s}}Hp.exports=eq});var Dp=m((DE,jp)=>{var{authorizationHeaders:tq}=h();function rq({client:e,internalAuthTokenProvider:t}){function n({token:c,jwtToken:o,id:i,providerId:r,headers:s}){return e({url:`/transaction/${i}?providerId=${r}`,headers:tq({token:c,jwtToken:o,internalAuthTokenProvider:t,headers:s})})}return{get:n}}jp.exports=rq});var Up=m((NE,Np)=>{var{authorizationHeaders:ue}=h();function sq({client:e,internalAuthTokenProvider:t}){function n({token:l,jwtToken:q,trxId:y,query:b,headers:g}){return e({url:`/transactions/${y}`,headers:ue({token:l,jwtToken:q,internalAuthTokenProvider:t,headers:g}),params:b})}function c({token:l,jwtToken:q,query:y,headers:b}){return e({url:"/transactions",headers:ue({token:l,jwtToken:q,internalAuthTokenProvider:t,headers:b}),params:y})}function o({token:l,jwtToken:q,trxId:y,headers:b}){return e({url:`/transactions/${y}/tickets`,headers:ue({token:l,jwtToken:q,internalAuthTokenProvider:t,headers:b})})}function i({token:l,jwtToken:q,trxId:y,headers:b}){return e({url:`/transactions/${y}/applied-insurance`,headers:ue({token:l,jwtToken:q,internalAuthTokenProvider:t,headers:b})})}function r({token:l,jwtToken:q,transactionId:y,ticketIds:b,headers:g}){return e({url:`/transactions/${y}/companion-tickets`,params:{ticketIds:b.join(",")},headers:ue({token:l,jwtToken:q,internalAuthTokenProvider:t,headers:g})})}function s({jwtToken:l,transactionId:q,allEligibleTransactions:y,avoidEmail:b,token:g,headers:x}){let w={name:"expire_payment",avoidEmail:b,transactionIds:[q]};return y&&delete w.transactionIds,e({url:"/transactions/status",method:"patch",params:{},headers:ue({internalAuthTokenProvider:t,jwtToken:l,token:g,headers:x}),data:{operation:w}})}function a({token:l,jwtToken:q,transactionId:y,headers:b,displayAll:g,channel:x}){return e({url:`/transactions/${y}/cancellable-items`,params:{displayAll:!!g,channel:x||""},headers:ue({token:l,jwtToken:q,internalAuthTokenProvider:t,headers:b})})}let u={update({token:l,jwtToken:q,trxId:y,paymentResult:b,headers:g}){return e({url:`/transactions/${y}/payments`,method:"put",headers:ue({token:l,jwtToken:q,internalAuthTokenProvider:t,headers:g}),data:{paymentResult:b}})}},d={create({token:l,jwtToken:q,transactionId:y,query:b,invoice:g,headers:x}){return e({url:`/transactions/${y}/invoices`,method:"post",headers:ue({token:l,jwtToken:q,internalAuthTokenProvider:t,headers:x}),params:b,data:g})}},p={create({token:l,jwtToken:q,transactionId:y,query:b,creditNote:g,headers:x}){return e({url:`/transactions/${y}/credit-notes`,method:"post",headers:ue({token:l,jwtToken:q,internalAuthTokenProvider:t,headers:x}),params:b,data:g})}};function f({token:l,jwtToken:q,trxId:y,data:b,headers:g}){return e({url:`/transactions/${y}/delivery`,method:"put",headers:ue({token:l,jwtToken:q,internalAuthTokenProvider:t,headers:g}),data:b})}return{all:c,get:n,getTickets:o,appliedInsurance:i,companionTickets:r,expireAll:s,updateDelivery:f,cancellableItems:a,payments:u,invoices:d,creditNotes:p}}Np.exports=sq});var Lp=m((UE,Bp)=>{var{authorizationHeaders:aq}=h();function oq({client:e,internalAuthTokenProvider:t}){function n({token:c,jwtToken:o,productId:i,params:r,headers:s}){return e({url:`/trip-change-info/${i}`,headers:aq({token:c,jwtToken:o,internalAuthTokenProvider:t,headers:s}),params:r})}return{get:n}}Bp.exports=oq});var Vp=m((BE,Ip)=>{var{authorizationHeaders:Mp}=h();function nq({client:e,internalAuthTokenProvider:t}){function n({token:o,jwtToken:i,headers:r}){return e({url:"/cancellation-settings",method:"get",headers:Mp({token:o,jwtToken:i,internalAuthTokenProvider:t,headers:r})})}function c({token:o,jwtToken:i,data:r,headers:s}){return e({url:"/cancellation-settings",method:"put",headers:Mp({token:o,jwtToken:i,internalAuthTokenProvider:t,headers:s}),data:r})}return{get:n,update:c}}Ip.exports=nq});var Wp=m((LE,Kp)=>{var{authorizationHeaders:_r}=h();function uq({client:e,internalAuthTokenProvider:t}){return{all({token:n,jwtToken:c,query:o={},headers:i}){return e({url:"/vehicle-assignments",params:o,headers:_r({token:n,jwtToken:c,internalAuthTokenProvider:t,headers:i})})},get({token:n,jwtToken:c,vehicleAssignmentId:o,headers:i}){return e.get(`/vehicle-assignments/${o}`,{headers:_r({token:n,jwtToken:c,internalAuthTokenProvider:t,headers:i})})},create({data:n,token:c,jwtToken:o,headers:i}){return e({url:"/vehicle-assignments",method:"post",headers:_r({token:c,jwtToken:o,internalAuthTokenProvider:t,headers:i}),data:n})},update({vehicleAssignmentId:n,data:c,token:o,jwtToken:i,headers:r}){return e({url:`/vehicle-assignments/${n}`,method:"put",headers:_r({token:o,jwtToken:i,internalAuthTokenProvider:t,headers:r}),data:c})}}}Kp.exports=uq});var Gp=m((ME,Xp)=>{var{authorizationHeaders:Jp}=h();function cq({client:e,internalAuthTokenProvider:t}){function n({jwtToken:o,token:i,headers:r,query:s={},voucher:a={}}){return e({url:"/vouchers",method:"POST",params:s,data:a,headers:Jp({jwtToken:o,token:i,internalAuthTokenProvider:t,headers:r})})}function c({token:o,jwtToken:i,compensation:r,query:s={},headers:a}){return e({url:"/vouchers/compensations",method:"post",params:s,headers:Jp({token:o,jwtToken:i,internalAuthTokenProvider:t,headers:a}),data:r})}return{create:n,compensations:{create:c}}}Xp.exports=cq});var Qp=m((IE,Zp)=>{var{authorizationHeaders:zr}=h();function iq({client:e,internalAuthTokenProvider:t}){function n({token:r,jwtToken:s,query:a,headers:u}){return e({url:"/waitlists",headers:zr({token:r,jwtToken:s,internalAuthTokenProvider:t,headers:u}),params:a})}function c({token:r,jwtToken:s,waitlistId:a,headers:u}){return e({url:`/waitlists/${a}`,method:"get",headers:zr({token:r,jwtToken:s,internalAuthTokenProvider:t,headers:u})})}function o({token:r,jwtToken:s,waitlistId:a,headers:u}){return e({url:`/waitlists/${a}`,method:"delete",headers:zr({token:r,jwtToken:s,internalAuthTokenProvider:t,headers:u})})}function i({token:r,jwtToken:s,data:a,headers:u}){return e({url:"/waitlists",method:"post",headers:zr({token:r,jwtToken:s,internalAuthTokenProvider:t,headers:u}),data:a})}return{all:n,get:c,remove:o,create:i}}Zp.exports=iq});var vp=m((VE,Yp)=>{var{authorizationHeaders:dq}=h();function pq({client:e,internalAuthTokenProvider:t}){return{cnrt:{create({data:c,token:o,jwtToken:i,headers:r}){return e({url:"/transport-regulations/cnrt/manifests",method:"post",headers:dq({token:o,jwtToken:i,internalAuthTokenProvider:t,headers:r}),data:c})}}}}Yp.exports=pq});var kp=m((KE,Tp)=>{var{authorizationHeaders:Pp}=h();function fq({client:e,internalAuthTokenProvider:t}){function n({token:o,jwtToken:i,id:r,headers:s}){return e({url:`/types/${r}`,headers:Pp({token:o,jwtToken:i,internalAuthTokenProvider:t,headers:s})})}function c({token:o,jwtToken:i,name:r,headers:s}){return e({url:`/types?name=${r}`,headers:Pp({token:o,jwtToken:i,internalAuthTokenProvider:t,headers:s})})}return{get:n,getByName:c}}Tp.exports=fq});var ef=m((WE,Ap)=>{var{authorizationHeaders:Wt}=h();function mq({client:e,internalAuthTokenProvider:t}){function n({token:s,customReport:a,jwtToken:u,headers:d}){return e({url:"/custom-reports",method:"post",headers:Wt({token:s,jwtToken:u,internalAuthTokenProvider:t,headers:d}),data:{customReport:a}})}function c({token:s,jwtToken:a,query:u={},headers:d}){return e({url:"/custom-reports",params:u,headers:Wt({token:s,jwtToken:a,internalAuthTokenProvider:t,headers:d})})}function o({token:s,jwtToken:a,customReportId:u,headers:d}){return e({url:`/custom-report/${u}`,headers:Wt({token:s,jwtToken:a,internalAuthTokenProvider:t,headers:d})})}function i({token:s,jwtToken:a,customReportId:u,customReport:d,headers:p}){return e({url:`/custom-reports/${u}`,method:"put",headers:Wt({token:s,jwtToken:a,internalAuthTokenProvider:t,headers:p}),data:{customReport:d}})}function r({token:s,jwtToken:a,customReportId:u,headers:d}){return e({url:`/custom-reports/${u}`,method:"delete",headers:Wt({token:s,jwtToken:a,internalAuthTokenProvider:t,headers:d})})}return{create:n,all:c,get:o,update:i,remove:r}}Ap.exports=mq});var rf=m((JE,tf)=>{var{authorizationHeaders:lq}=h();function hq({client:e,internalAuthTokenProvider:t}){function n({token:c,jwtToken:o,report:i,headers:r}){return e({url:"/email",method:"post",data:i,headers:lq({token:c,jwtToken:o,internalAuthTokenProvider:t,headers:r})})}return{post:n}}tf.exports=hq});var af=m((XE,sf)=>{var{authorizationHeaders:gq}=h();function yq({client:e,internalAuthTokenProvider:t}){function n({token:c,jwtToken:o,query:i={},headers:r}){return e({url:"/trip-manifests",params:i,headers:gq({token:c,jwtToken:o,internalAuthTokenProvider:t,headers:r})})}return{all:n}}sf.exports=yq});var uf=m((GE,nf)=>{var{authorizationHeaders:of}=h();function bq({client:e,internalAuthTokenProvider:t}){function n({token:o,jwtToken:i,query:r={},data:s,headers:a}){return e({url:"/manifest-notifications",method:"post",params:r,data:s,headers:of({token:o,jwtToken:i,internalAuthTokenProvider:t,headers:a})})}function c({token:o,query:i={},headers:r}){return e.get("/manifest-notifications",{params:i,headers:of({token:o,internalAuthTokenProvider:t,headers:r})})}return{create:n,all:c}}nf.exports=bq});var df=m((ZE,cf)=>{var{authorizationHeaders:$q}=h();function xq({client:e,internalAuthTokenProvider:t}){function n({token:c,jwtToken:o,responseType:i="json",trxId:r,lang:s,date:a,channel:u,headers:d}){return e({url:"/printed-tickets",params:{trxId:r,lang:s,date:a,channel:u},responseType:i,headers:$q({token:c,jwtToken:o,internalAuthTokenProvider:t,headers:d})})}return{get:n}}cf.exports=xq});var ff=m((QE,pf)=>{var{authorizationHeaders:qq}=h();function wq({client:e,internalAuthTokenProvider:t}){function n({token:c,jwtToken:o,query:i={},itemId:r,headers:s,responseType:a}){let u=`/pdf-tickets/${r}`;if(i.type==="product")switch(i.family){case"ticket":u=`/pdf-tickets/${r}`;break;case"reservation":u=`/pdf-reservations/${r}`;break;case"paid in":u=`/pdf-paid-ins/${r}`;break;case"paid out":u=`/pdf-paid-outs/${r}`;break;case"parcel":u=`/pdf-parcels/${r}`;break;case"flexpass":u=`/pdf-flexpasses/${r}`;break;case"bundle":case"open-return":u=`/pdf-redeemable-items/${r}`;break;default:break}return i.type==="giftCertificate"&&(u=`/pdf-gift-certificates/${r}`),i.type==="voucher"&&(u=`/pdf-vouchers/${r}`),i.type==="transaction"&&(u=`/pdf-transactions/${r}`),i.type==="ssr"&&(u=`/pdf-ssrs/${r}`),i.type==="manifest"&&(u=`/pdf-manifests/${r}`),i.type==="passengersManifest"&&(u=`/pdf-passengers-manifests/${r}`),i.type==="order"&&(u=`/pdf-orders/${r}`),i.type==="shift"&&(u=`/pdf-shifts/${r}`),i.type==="remainderSlip"&&(u=`/pdf-remainder-slip/${r}`),i.type==="exchange"&&(u=`/pdf-exchanges/${r}`),i.type==="invoice"&&(u=`/pdf-invoices/${r}`),i.type==="locationClosure"&&(u=`/pdf-location-closures/${r}`),i.type==="parcelManifest"&&(u=`/pdf-parcels-manifests/${r}`),i.type==="startingBalance"&&(u=`/pdf-starting-balance/${r}`),i.type==="partialShiftDeposits"&&(u=`/pdf-partial-shift-deposits-id/${r}`),i.type==="shiftLocationClosure"&&(u=`/pdf-shift-location-closures/${r}`),i.type==="bankDepositSlip"&&(u=`/pdf-bank-deposit-slips/${r}`),i.type==="terminalVoucher"&&(u=`/pdf-terminal-voucher/${r}`),i.type==="manualTickets"&&(u=`/pdf-manual-tickets/${r}`),i.type==="externalWalletVoucher"&&(u=`/pdf-external-wallet-voucher/${r}`),e.get(u,{params:i,responseType:a||"blob",headers:qq({token:c,jwtToken:o,internalAuthTokenProvider:t,headers:s})})}return{get:n}}pf.exports=wq});var lf=m((YE,mf)=>{var{authorizationHeaders:Oq}=h();function Fq({client:e,internalAuthTokenProvider:t}){function n({token:c,jwtToken:o,query:i={},itemId:r,headers:s}){let a=`/pdf-tickets/${r}`;if(i.type==="product")switch(i.family){case"ticket":a=`/pdf-tickets/${r}`;break;case"reservation":a=`/pdf-reservations/${r}`;break;case"paid in":a=`/pdf-paid-ins/${r}`;break;case"paid out":a=`/pdf-paid-outs/${r}`;break;case"parcel":a=`/pdf-parcels/${r}`;break;case"flexpass":a=`/pdf-flexpasses/${r}`;break;case"bundle":case"open-return":a=`/pdf-redeemable-items/${r}`;break;default:break}return(i.type==="pre_trip_notification"||i.type==="post_trip_notification")&&(a=`/queue-notifications/manifest-notification-data/${r}`),i.type==="parcel_confirmation"&&(a=`/pdf-parcels/${r}`),i.type==="redeemable_items_confirmation"&&(a=`/pdf-redeemable-items/${r}`),i.type==="sold_item_confirmation"&&(a=`/pdf-paid-ins/${r}`),(i.type==="customer_card_membership"||i.type==="scanning_badge"||i.type==="customer_activation"||i.type==="customer_activation_mobile"||i.type==="customer_password_reset"||i.type==="customer_password_reset_mobile")&&(a=`/pdf-customer/${r}`),(i.type==="giftCertificate"||i.type==="gift_certificate_notification")&&(a=`/pdf-gift-certificates/${r}`),i.type==="user_password_reset"&&(a=`/pdf-users/${r}`),(i.type==="voucher"||i.type==="voucher_notification"||i.type==="compensation_voucher")&&(a=`/pdf-vouchers/${r}`),(i.type==="new_account"||i.type==="new_seller_account"||i.type==="interline_provider_invite")&&(a=`/pdf-accounts/${r}`),(i.type==="transaction"||i.type==="operator_purchase"||i.type==="operator_ssr")&&(a=`/pdf-transactions/${r}`),i.type==="ssr"&&(a=`/pdf-ssrs/${r}`),i.type==="passengersManifest"&&(a=`/pdf-passengers-manifests/${r}`),(i.type==="reaccomodation"||i.type==="ticket_movement")&&(a=`/pdf-tickets/${r}`),(i.type==="manifest"||i.type==="manifest_notification"||i.type==="operator_manifest_capacity")&&(a=`/pdf-manifests/${r}`),["order","order_confirmation","cancellation","change"].includes(i.type)&&(a=`/pdf-orders/${r}`),i.type==="shift"&&(a=`/pdf-shifts/${r}`),i.type==="remainderSlip"&&(a=`/pdf-remainder-slip/${r}`),i.type==="exchange"&&(a=`/pdf-exchanges/${r}`),i.type==="invoice"&&(a=`/pdf-invoices/${r}`),i.type==="locationClosure"&&(a=`/pdf-location-closures/${r}`),i.type==="parcelManifest"&&(a=`/pdf-parcels-manifests/${r}`),i.type==="startingBalance"&&(a=`/pdf-starting-balance/${r}`),i.type==="partialShiftDeposits"&&(a=`/pdf-partial-shift-deposits/${r}`),i.type==="shiftLocationClosure"&&(a=`/pdf-shift-location-closures/${r}`),i.type==="bankDepositSlip"&&(a=`/pdf-bank-deposit-slips/${r}`),i.type==="terminalVoucher"&&(a=`/pdf-terminal-voucher/${r}`),i.type==="manualTickets"&&(a=`/pdf-manual-tickets/${r}`),i.type==="externalWalletVoucher"&&(a=`/pdf-external-wallet-voucher/${r}`),e.get(a,{params:i,headers:Oq({token:c,jwtToken:o,internalAuthTokenProvider:t,headers:s})})}return{get:n}}mf.exports=Fq});var gf=m((vE,hf)=>{var{authorizationHeaders:Sq}=h();function Eq({client:e,internalAuthTokenProvider:t}){function n({token:c,jwtToken:o,query:i={},headers:r}){return e({url:"/email",method:"post",params:i,headers:Sq({token:c,jwtToken:o,internalAuthTokenProvider:t,headers:r})})}return{create:n}}hf.exports=Eq});var $f=m((PE,bf)=>{var{authorizationHeaders:yf}=h();function Rq({client:e,internalAuthTokenProvider:t}){function n({token:o,jwtToken:i,query:r={},headers:s}){return e({url:"/customers/reset",method:"post",params:r,headers:yf({token:o,jwtToken:i,internalAuthTokenProvider:t,headers:s})})}function c({token:o,query:i={},data:r,headers:s}){return e({url:"/customers/activation",method:"post",params:i,data:r,headers:yf({token:o,internalAuthTokenProvider:t,headers:s})})}return{sendResetPasswordEmail:n,sendActivationEmail:c}}bf.exports=Rq});var wf=m((TE,qf)=>{var{authorizationHeaders:xf}=h();function _q({client:e,internalAuthTokenProvider:t}){function n({data:o,token:i,jwtToken:r,headers:s}){return e({url:"/external-customers/ado/registration",method:"post",headers:xf({token:i,jwtToken:r,internalAuthTokenProvider:t,headers:s}),data:o})}function c({token:o,jwtToken:i,walletId:r,headers:s}){return e({url:`/external-customers/ado/external-wallets/${encodeURIComponent(r)}/statements`,method:"post",headers:xf({token:o,jwtToken:i,internalAuthTokenProvider:t,headers:s}),data:{}})}return{requestSaldoMaxVerificationCode:n,sendSaldoMaxStatementEmail:c}}qf.exports=_q});var Ff=m((kE,Of)=>{var{authorizationHeaders:Hr}=h();function zq({client:e,internalAuthTokenProvider:t}){return{phoneNumbers:{all({isocode:n,token:c,jwtToken:o,query:i={},headers:r}){return e.get(`/twilio/phone-numbers/${n}`,{params:i,headers:Hr({token:c,jwtToken:o,internalAuthTokenProvider:t,headers:r})})},create({token:n,jwtToken:c,phoneNumberData:o={},headers:i}){return e({url:"/twilio/phone-numbers",method:"post",data:{phoneNumber:o},headers:Hr({token:n,jwtToken:c,internalAuthTokenProvider:t,headers:i})})}},sms:{create({token:n,jwtToken:c,smsMsg:o={},headers:i}){return e({url:"/twilio/sms",method:"post",data:{sms:o},headers:Hr({token:n,jwtToken:c,internalAuthTokenProvider:t,headers:i})})}},whatsapp:{create({token:n,jwtToken:c,whatsappMsg:o={},headers:i}){return e({url:"/twilio/whatsapp",method:"post",data:{whatsapp:o},headers:Hr({token:n,jwtToken:c,internalAuthTokenProvider:t,headers:i})})}}}}Of.exports=zq});var Rf=m((AE,Ef)=>{var{authorizationHeaders:Sf}=h();function Hq({client:e,internalAuthTokenProvider:t}){return{sms:{create({token:n,jwtToken:c,smsMsg:o={},headers:i}){return e({url:"/salesforce/sms",method:"post",data:{sms:o},headers:Sf({token:n,jwtToken:c,internalAuthTokenProvider:t,headers:i})})},deliveries:{get({token:n,jwtToken:c,tokenId:o,headers:i}){return e({url:`/salesforce/sms/deliveries/${o}`,method:"get",headers:Sf({token:n,jwtToken:c,internalAuthTokenProvider:t,headers:i})})}}}}}Ef.exports=Hq});var Hf=m((eR,zf)=>{var{authorizationHeaders:_f}=h();function Cq({client:e,internalAuthTokenProvider:t}){function n({token:o,jwtToken:i,urlData:r,headers:s}){return e({url:"/short-urls",method:"post",headers:_f({token:o,jwtToken:i,internalAuthTokenProvider:t,headers:s}),data:{urlData:r}})}function c({token:o,shortId:i,maxRedirects:r=0,headers:s}){return e({url:`/u/${encodeURIComponent(i)}`,method:"get",maxRedirects:r,validateStatus:a=>a===302||a>=200&&a<300,headers:_f({token:o,internalAuthTokenProvider:t,headers:s})})}return{create:n,getByShortId:c}}zf.exports=Cq});var jf=m((tR,Cf)=>{var{authorizationHeaders:Jt}=h();function jq({client:e,internalAuthTokenProvider:t}){function n({token:s,jwtToken:a,query:u={},headers:d}){return e({url:"/operator-notifications",method:"get",headers:Jt({token:s,jwtToken:a,internalAuthTokenProvider:t,headers:d}),params:u})}function c({token:s,jwtToken:a,id:u,headers:d}){return e({url:`/operator-notifications/${u}`,method:"get",headers:Jt({token:s,jwtToken:a,internalAuthTokenProvider:t,headers:d})})}function o({token:s,jwtToken:a,data:u,headers:d}){return e({url:"/operator-notifications",method:"post",headers:Jt({token:s,jwtToken:a,internalAuthTokenProvider:t,headers:d}),data:u})}function i({token:s,jwtToken:a,id:u,data:d,headers:p}){return e({url:`/operator-notifications/${u}`,method:"put",headers:Jt({token:s,jwtToken:a,internalAuthTokenProvider:t,headers:p}),data:d})}function r({token:s,jwtToken:a,id:u,headers:d}){return e({url:`/operator-notifications/${u}`,method:"delete",headers:Jt({token:s,jwtToken:a,internalAuthTokenProvider:t,headers:d})})}return{all:n,get:c,create:o,update:i,remove:r}}Cf.exports=jq});var Nf=m((rR,Df)=>{var{authorizationHeaders:le}=h();function Dq({client:e,internalAuthTokenProvider:t}){return{emailByType:{create({token:n,jwtToken:c,data:o,headers:i}){return e({url:"/notify/email",method:"post",data:o||{},headers:le({token:n,jwtToken:c,internalAuthTokenProvider:t,headers:i})})}},smsByType:{create({token:n,jwtToken:c,data:o,headers:i}){return e({url:"/notify/sms",method:"post",data:o||{},headers:le({token:n,jwtToken:c,internalAuthTokenProvider:t,headers:i})})}},childUsers:{create({token:n,jwtToken:c,email:o,lang:i,accountId:r,headers:s}){return e({url:"/notify-child-user",method:"post",data:{email:o,lang:i,accountId:r},headers:le({token:n,jwtToken:c,internalAuthTokenProvider:t,headers:s})})}},newSeller:{create({token:n,jwtToken:c,sellerEmail:o,sellerDomain:i,providerAdminEmail:r,lang:s,headers:a}){return e({url:"/notify-new-seller",method:"post",data:{sellerEmail:o,sellerDomain:i,providerAdminEmail:r,lang:s},headers:le({token:n,jwtToken:c,internalAuthTokenProvider:t,headers:a})})}},tickets:{create({token:n,jwtToken:c,query:o,operation:i,to:r,ticketId:s,headers:a}){return e({url:`/notify-tickets/${s}`,method:"post",params:o,data:{to:r,operation:i},headers:le({token:n,jwtToken:c,internalAuthTokenProvider:t,headers:a})})}},vouchers:{create({token:n,jwtToken:c,query:o,data:i,headers:r}){return e({url:"/notify-vouchers",method:"post",params:o,data:i,headers:le({token:n,jwtToken:c,internalAuthTokenProvider:t,headers:r})})}},manifest:{create({token:n,jwtToken:c,data:o,headers:i}){return e({url:"/notify-manifest",method:"post",data:o,headers:le({token:n,jwtToken:c,internalAuthTokenProvider:t,headers:i})})},resend({token:n,jwtToken:c,parentId:o,headers:i}){return e({url:`/notify-manifest/${o}/resend`,method:"post",headers:le({token:n,jwtToken:c,internalAuthTokenProvider:t,headers:i})})}},whatsapp:{create({token:n,jwtToken:c,data:o,headers:i}){return e({url:"/notify/whatsapp",method:"post",data:o||{},headers:le({token:n,jwtToken:c,internalAuthTokenProvider:t,headers:i})})}}}}Df.exports=Dq});var Bf=m((sR,Uf)=>{var{authorizationHeaders:Nq}=h();function Uq({client:e,internalAuthTokenProvider:t}){function n({token:c,jwtToken:o,query:i={},orderRulesValidation:r,headers:s}){return e({url:"/orders-rules-validations",method:"post",params:i,data:{orderRulesValidation:r},headers:Nq({token:c,jwtToken:o,internalAuthTokenProvider:t,headers:s})})}return{create:n}}Uf.exports=Uq});var Vf=m((aR,If)=>{function Lf(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var c=Object.getOwnPropertySymbols(e);t&&(c=c.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),n.push.apply(n,c)}return n}function Mf(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?Lf(Object(n),!0).forEach(function(c){Bq(e,c,n[c])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Lf(Object(n)).forEach(function(c){Object.defineProperty(e,c,Object.getOwnPropertyDescriptor(n,c))})}return e}function Bq(e,t,n){return(t=Lq(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Lq(e){var t=Mq(e,"string");return typeof t=="symbol"?t:t+""}function Mq(e,t){if(typeof e!="object"||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var c=n.call(e,t||"default");if(typeof c!="object")return c;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}var{authorizationHeaders:Iq}=h();function Vq({client:e,internalAuthTokenProvider:t}){function n({token:c,jwtToken:o,formData:i,headers:r}){let s=typeof i.getHeaders=="function"?i.getHeaders():{};return e({url:"/files",method:"post",headers:Mf(Mf({},Iq({token:c,jwtToken:o,internalAuthTokenProvider:t,headers:r})),s),data:i})}return{upload:n}}If.exports=Vq});var Xf=m((oR,Jf)=>{function Kf(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var c=Object.getOwnPropertySymbols(e);t&&(c=c.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),n.push.apply(n,c)}return n}function Wf(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?Kf(Object(n),!0).forEach(function(c){Kq(e,c,n[c])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Kf(Object(n)).forEach(function(c){Object.defineProperty(e,c,Object.getOwnPropertyDescriptor(n,c))})}return e}function Kq(e,t,n){return(t=Wq(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Wq(e){var t=Jq(e,"string");return typeof t=="symbol"?t:t+""}function Jq(e,t){if(typeof e!="object"||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var c=n.call(e,t||"default");if(typeof c!="object")return c;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}var{authorizationHeaders:Xq}=h();function Gq({client:e,internalAuthTokenProvider:t}){function n({token:c,jwtToken:o,formData:i,headers:r}){let s=typeof i.getHeaders=="function"?i.getHeaders():{};return e({url:"/images",method:"post",headers:Wf(Wf({},Xq({token:c,jwtToken:o,internalAuthTokenProvider:t,headers:r})),s),data:i})}return{create:n}}Jf.exports=Gq});var Zf=m((nR,Gf)=>{var{authorizationHeaders:ds}=h();function Zq({client:e,internalAuthTokenProvider:t}){function n({token:i,context:r,query:s={},headers:a}){let u=Object.assign({},s,{context:r});return e({url:"/programs",params:u,headers:ds({token:i,internalAuthTokenProvider:t,headers:a})})}function c({token:i,jwtToken:r,program:s,headers:a}){return e({url:"/programs",method:"post",headers:ds({token:i,jwtToken:r,internalAuthTokenProvider:t,headers:a}),data:s})}function o({token:i,jwtToken:r,programId:s,program:a,headers:u}){return e({url:`/programs/${s}`,method:"put",headers:ds({token:i,jwtToken:r,internalAuthTokenProvider:t,headers:u}),data:a})}return{all:n,create:c,put:o}}Gf.exports=Zq});var Yf=m((uR,Qf)=>{var{authorizationHeaders:ps}=h();function Qq({client:e,internalAuthTokenProvider:t}){function n({token:i,jwtToken:r,programId:s,query:a={},headers:u}){return e({url:`/programs/${s}/movements`,params:a,headers:ps({token:i,jwtToken:r,internalAuthTokenProvider:t,headers:u})})}function c({token:i,jwtToken:r,programId:s,movement:a,query:u={},headers:d}){return e({url:`/programs/${s}/movements`,method:"post",params:u,headers:ps({token:i,jwtToken:r,internalAuthTokenProvider:t,headers:d}),data:a})}return{all:n,create:c,balance:{get({token:i,jwtToken:r,programId:s,customerId:a,query:u={},headers:d}){return e({url:`/programs/${s}/movements/balance/${a}`,params:u,headers:ps({token:i,jwtToken:r,internalAuthTokenProvider:t,headers:d})})}}}}Qf.exports=Qq});var Pf=m((cR,vf)=>{var{authorizationHeaders:Xt}=h();function Yq({client:e,internalAuthTokenProvider:t}){function n({token:s,jwtToken:a,context:u,query:d={},headers:p}){let f=Object.assign({},d,{context:u});return e({url:"/subscriptions",params:f,headers:Xt({token:s,jwtToken:a,internalAuthTokenProvider:t,headers:p})})}function c({token:s,jwtToken:a,id:u,headers:d}){return e({url:`/subscriptions/${u}`,method:"get",headers:Xt({token:s,jwtToken:a,internalAuthTokenProvider:t,headers:d})})}function o({token:s,jwtToken:a,subscription:u,headers:d}){return e({url:"/subscriptions",method:"post",headers:Xt({token:s,jwtToken:a,internalAuthTokenProvider:t,headers:d}),data:u})}function i({token:s,jwtToken:a,id:u,subscription:d,headers:p}){return e({url:`/subscriptions/${u}`,method:"put",headers:Xt({token:s,jwtToken:a,internalAuthTokenProvider:t,headers:p}),data:d})}function r({token:s,jwtToken:a,id:u,headers:d}){return e({url:`/subscriptions/${u}`,method:"delete",headers:Xt({token:s,jwtToken:a,internalAuthTokenProvider:t,headers:d})})}return{all:n,create:o,getById:c,put:i,deleteById:r}}vf.exports=Yq});var kf=m((iR,Tf)=>{var{authorizationHeaders:vq}=h();function Pq({client:e,internalAuthTokenProvider:t}){function n({token:c,jwtToken:o,context:i,query:r={},headers:s}){let a=Object.assign({},r,{context:i});return e({url:"/events",params:a,headers:vq({token:c,jwtToken:o,internalAuthTokenProvider:t,headers:s})})}return{all:n}}Tf.exports=Pq});var em=m((dR,Af)=>{var{authorizationHeaders:Ne}=h();function Tq({client:e,internalAuthTokenProvider:t}){function n({token:u,jwtToken:d,context:p,query:f={},headers:l}){let q=Object.assign({},f,{context:p});return e({url:"/undelivered",params:q,headers:Ne({token:u,jwtToken:d,internalAuthTokenProvider:t,headers:l})})}function c({token:u,jwtToken:d,id:p,headers:f}){return e({url:`/undelivered/${p}`,method:"get",headers:Ne({token:u,jwtToken:d,internalAuthTokenProvider:t,headers:f})})}function o({token:u,jwtToken:d,operation:p,headers:f}){return e({url:"/undelivered",method:"patch",headers:Ne({token:u,jwtToken:d,internalAuthTokenProvider:t,headers:f}),data:p})}function i({token:u,jwtToken:d,id:p,headers:f}){return e({url:`/undelivered/${p}/retry`,method:"put",headers:Ne({token:u,jwtToken:d,internalAuthTokenProvider:t,headers:f})})}function r({token:u,jwtToken:d,headers:p}){return e({url:"/undelivered/retry-all",method:"put",headers:Ne({token:u,jwtToken:d,internalAuthTokenProvider:t,headers:p})})}function s({token:u,jwtToken:d,id:p,headers:f}){return e({url:`/undelivered/${p}`,method:"delete",headers:Ne({token:u,jwtToken:d,internalAuthTokenProvider:t,headers:f})})}function a({token:u,jwtToken:d,headers:p}){return e({url:"/undelivered/batch-all",method:"delete",headers:Ne({token:u,jwtToken:d,internalAuthTokenProvider:t,headers:p})})}return{all:n,getById:c,patch:o,resend:i,resendAll:r,deleteById:s,deleteAll:a}}Af.exports=Tq});var rm=m((pR,tm)=>{var{authorizationHeaders:kq}=h();function Aq({client:e,internalAuthTokenProvider:t}){function n({token:c,jwtToken:o,webhook:i,headers:r}){return e({url:"/emit",method:"post",headers:kq({token:c,jwtToken:o,internalAuthTokenProvider:t,headers:r}),data:i})}return{emit:n}}tm.exports=Aq});var am=m((fR,sm)=>{var{authorizationHeaders:ew}=h();function tw({client:e,internalAuthTokenProvider:t}){function n({token:c,jwtToken:o,headers:i}){return e({url:"/access-ticket",method:"post",headers:ew({token:c,jwtToken:o,internalAuthTokenProvider:t,headers:i})})}return{create:n}}sm.exports=tw});var nm=m((mR,om)=>{var{authorizationHeaders:rw}=h();function sw({client:e,internalAuthTokenProvider:t}){function n({token:c,jwtToken:o,params:i,headers:r}){return e({url:"/seat",method:"post",headers:rw({token:c,jwtToken:o,internalAuthTokenProvider:t,headers:r}),params:i})}return{update:n}}om.exports=sw});var im=m((lR,cm)=>{var{authorizationHeaders:um}=h();function aw({client:e,internalAuthTokenProvider:t}){function n({token:o,jwtToken:i,query:r={},headers:s}){return e.get("/adyen-payment-methods",{params:r,headers:um({token:o,jwtToken:i,internalAuthTokenProvider:t,headers:s})})}function c({token:o,jwtToken:i,headers:r,data:s}){return e.get("/adyen-terminals",{headers:um({token:o,jwtToken:i,internalAuthTokenProvider:t,headers:r}),data:s})}return{getPaymentMethods:n,getTerminals:c}}cm.exports=aw});var pm=m((hR,dm)=>{var{authorizationHeaders:Cr}=h();function ow({client:e,internalAuthTokenProvider:t}){function n({token:r,jwtToken:s,query:a,headers:u}){return e.get("/cbs-token",{params:a,headers:Cr({token:r,jwtToken:s,internalAuthTokenProvider:t,headers:u})})}function c({token:r,jwtToken:s,riskEvaluation:a,headers:u}){return e.post("/cbs-evaluate-risk",a,{headers:Cr({token:r,jwtToken:s,internalAuthTokenProvider:t,headers:u})})}function o({token:r,jwtToken:s,body:a,headers:u}){return e.post("/cbs-pa-enrollment",a,{headers:Cr({token:r,jwtToken:s,internalAuthTokenProvider:t,headers:u})})}function i({token:r,jwtToken:s,body:a,headers:u}){return e.post("/cbs-validate-pa-enrollment",a,{headers:Cr({token:r,jwtToken:s,internalAuthTokenProvider:t,headers:u})})}return{getToken:n,evaluateRisk:c,payerAuthenticationEnrollment:o,validatePayerAuthenticationEnrollment:i}}dm.exports=ow});var mm=m((gR,fm)=>{function nw({client:e}){function t(){return e.get("/api-docs-v2",{})}return{get:t}}fm.exports=nw});var hm=m((yR,lm)=>{var{authorizationHeaders:Gt}=h();function uw({client:e,internalAuthTokenProvider:t}){function n({token:r,jwtToken:s,headers:a}){return e.get("/cardpointe-terminals",{params:{},headers:Gt({token:r,jwtToken:s,internalAuthTokenProvider:t,headers:a})})}function c({token:r,jwtToken:s,merchantId:a,terminalId:u,headers:d}){return e({url:`/cardpointe-terminals/${a}/${u}`,method:"delete",headers:Gt({token:r,jwtToken:s,internalAuthTokenProvider:t,headers:d})})}return{all:n,remove:c,readCard:{get({token:r,jwtToken:s,readCardResultId:a,headers:u}){return e.get(`/cardpointe-terminals/read-card/${a}`,{params:{},headers:Gt({token:r,jwtToken:s,internalAuthTokenProvider:t,headers:u})})},create({token:r,jwtToken:s,readCard:a,providerId:u,headers:d}){return e({url:"/cardpointe-terminals/read-card",method:"post",params:u!=null?{providerId:u}:{},headers:Gt({token:r,jwtToken:s,internalAuthTokenProvider:t,headers:d}),data:{readCard:a}})}},ping:{create({token:r,jwtToken:s,ping:a,headers:u}){return e({url:"/cardpointe-terminals/ping",method:"post",headers:Gt({token:r,jwtToken:s,internalAuthTokenProvider:t,headers:u}),data:{ping:a}})}}}}lm.exports={cardpointeTerminalsFactory:uw}});var ym=m((bR,gm)=>{var{authorizationHeaders:he}=h();function cw({client:e,internalAuthTokenProvider:t}){function n({token:p,jwtToken:f,query:l={},headers:q}){return e.get("/payment-methods",{params:l,headers:he({token:p,jwtToken:f,internalAuthTokenProvider:t,headers:q})})}function c({token:p,jwtToken:f,providerName:l,headers:q}){return e({url:`/payment-methods?providerName=${l}`,headers:he({token:p,jwtToken:f,internalAuthTokenProvider:t,headers:q})})}function o({token:p,jwtToken:f,paymentMethod:l,headers:q}){return e({url:"/payment-methods",method:"post",headers:he({token:p,jwtToken:f,internalAuthTokenProvider:t,headers:q}),data:{paymentMethod:l}})}function i({token:p,jwtToken:f,paymentMethodId:l,headers:q,query:y={}}){return e.get(`/payment-methods/${l}`,{params:y,headers:he({token:p,jwtToken:f,internalAuthTokenProvider:t,headers:q})})}function r({token:p,jwtToken:f,paymentMethodId:l,paymentMethod:q,headers:y}){return e({url:`/payment-methods/${l}`,method:"put",headers:he({token:p,jwtToken:f,internalAuthTokenProvider:t,headers:y}),data:{paymentMethod:q}})}function s({token:p,jwtToken:f,agencyId:l,providerId:q,paymentMethodNames:y,headers:b}){return e({url:"/payment-methods-to-agencies",method:"post",headers:he({token:p,jwtToken:f,internalAuthTokenProvider:t,headers:b}),data:{providerId:q,agencyId:l,paymentMethodNames:y}})}function a({token:p,jwtToken:f,accountId:l}){return e({url:"/default-payment-methods",method:"post",headers:he({token:p,jwtToken:f,internalAuthTokenProvider:t}),data:{accountId:l}})}function u({token:p,jwtToken:f,paymentMethodId:l}){return e({url:`/payment-methods/${l}/customers`,method:"delete",headers:he({token:p,jwtToken:f,internalAuthTokenProvider:t})})}function d({token:p,jwtToken:f,domain:l}){return e({url:`/payment-methods/domains/${l}`,method:"delete",headers:he({token:p,jwtToken:f,internalAuthTokenProvider:t})})}return{all:n,getByProviderName:c,create:o,get:i,setToAgency:s,update:r,createDefaultPaymentMethods:a,deleteCustomersCreditCardInfo:u,deletePaymentMethodsDomain:d}}gm.exports=cw});var $m=m(($R,bm)=>{var{authorizationHeaders:iw}=h();function dw({client:e,internalAuthTokenProvider:t}){function n({token:c,jwtToken:o,referenceNumberRequest:i,headers:r}){return e({url:"/reference-numbers",method:"post",headers:iw({token:c,jwtToken:o,internalAuthTokenProvider:t,headers:r}),data:{referenceNumberRequest:i}})}return{create:n}}bm.exports=dw});var wm=m((xR,qm)=>{var{authorizationHeaders:xm}=h();function pw({client:e,internalAuthTokenProvider:t}){function n({token:o,jwtToken:i,payments:r,headers:s}){return e({url:"/payments",method:"post",headers:xm({token:o,jwtToken:i,internalAuthTokenProvider:t,headers:s}),data:{payments:r}})}function c({token:o,jwtToken:i,transactionId:r,headers:s}){return e.get(`/transactions/${r}`,{params:{},headers:xm({token:o,jwtToken:i,internalAuthTokenProvider:t,headers:s})})}return{create:n,get:c}}qm.exports=pw});var Sm=m((qR,Fm)=>{var{authorizationHeaders:Om}=h();function fw({client:e,internalAuthTokenProvider:t}){function n({token:o,jwtToken:i,transactionId:r,referenceNumber:s,headers:a}){return e.get(`/referenced-payments/${r}/${s}/status`,{params:{},headers:Om({token:o,jwtToken:i,internalAuthTokenProvider:t,headers:a})})}function c({token:o,jwtToken:i,externalType:r,referenceNumber:s,paymentResult:a,query:u={},headers:d}){return e({url:`/referenced-payments/${r}/${s}/results`,method:"post",params:u,headers:Om({token:o,jwtToken:i,headers:d}),data:{paymentResult:a}})}return{getStatus:n,update:c}}Fm.exports=fw});var Rm=m((wR,Em)=>{var{authorizationHeaders:fs}=h();function mw({client:e,internalAuthTokenProvider:t}){function n({token:i,jwtToken:r,paymentMethodId:s,customerId:a,headers:u}){return e.get(`/payment-methods/${s}/customers/${a}`,{params:{},headers:fs({token:i,jwtToken:r,internalAuthTokenProvider:t,headers:u})})}function c({token:i,jwtToken:r,paymentMethodId:s,customer:a,headers:u}){return e({url:`/payment-methods/${s}/customers`,method:"post",headers:fs({token:i,jwtToken:r,internalAuthTokenProvider:t,headers:u}),data:{customer:a}})}function o({token:i,jwtToken:r,paymentMethodId:s,customerId:a,headers:u}){return e({url:`/payment-methods/${s}/customers/${a}`,method:"delete",headers:fs({token:i,jwtToken:r,internalAuthTokenProvider:t,headers:u})})}return{remove:o,create:c,get:n}}Em.exports=mw});var zm=m((OR,_m)=>{var{authorizationHeaders:jr}=h();function lw({client:e,internalAuthTokenProvider:t}){function n({token:r,jwtToken:s,paymentMethodId:a,customerId:u,customerCardId:d,headers:p}){return e.get(`/payment-methods/${a}/customers/${u}/cards/${d}`,{params:{},headers:jr({token:r,jwtToken:s,internalAuthTokenProvider:t,headers:p})})}function c({token:r,jwtToken:s,paymentMethodId:a,customerId:u,headers:d}){return e.get(`/payment-methods/${a}/customers/${u}/cards`,{params:{},headers:jr({token:r,jwtToken:s,internalAuthTokenProvider:t,headers:d})})}function o({token:r,jwtToken:s,paymentMethodId:a,customerId:u,customerCard:d,headers:p}){return e({url:`/payment-methods/${a}/customers/${u}/cards`,method:"post",headers:jr({token:r,jwtToken:s,internalAuthTokenProvider:t,headers:p}),data:{customerCard:d}})}function i({token:r,jwtToken:s,paymentMethodId:a,customerId:u,customerCardId:d,headers:p}){return e({url:`/payment-methods/${a}/customers/${u}/cards/${d}`,method:"delete",headers:jr({token:r,jwtToken:s,internalAuthTokenProvider:t,headers:p})})}return{remove:i,create:o,get:n,all:c}}_m.exports=lw});var ms=m((FR,Cm)=>{var{authorizationHeaders:Hm}=h();function hw({client:e,internalAuthTokenProvider:t}){function n({token:c,jwtToken:o,data:i,providerId:r,headers:s}){return e({url:`/square-webhooks/${r}`,method:"post",headers:Hm({token:c,jwtToken:o,internalAuthTokenProvider:t,headers:s}),data:i})}return{create:n}}function gw({client:e,internalAuthTokenProvider:t}){function n({token:c,jwtToken:o,headers:i}){return e.get("/square-terminals",{params:{},headers:Hm({token:c,jwtToken:o,internalAuthTokenProvider:t,headers:i})})}return{get:n}}Cm.exports={squareWebhooksFactory:hw,squareTerminalsFactory:gw}});var Dm=m((SR,jm)=>{var{authorizationHeaders:Dr}=h();function yw({client:e,internalAuthTokenProvider:t}){function n(i){return i??t}return{token:{get({jwtToken:i,headers:r,internalAuthTokenProvider:s}){return e({url:"/oxxo/token",headers:Dr({jwtToken:i,internalAuthTokenProvider:n(s),headers:r})})}},payments:{all({jwtToken:i,headers:r,oxxoToken:s,query:a,internalAuthTokenProvider:u}){return e({url:`/oxxo/${s}/payments`,params:a,headers:Dr({jwtToken:i,internalAuthTokenProvider:n(u),headers:r})})},update({jwtToken:i,headers:r,oxxoToken:s,query:a,referenceNumber:u,data:d,internalAuthTokenProvider:p}){return e({url:`/oxxo/${s}/payments/${u}`,method:"post",params:a,data:d,headers:Dr({jwtToken:i,internalAuthTokenProvider:n(p),headers:r})})},reverse({jwtToken:i,headers:r,query:s,referenceNumber:a,data:u,internalAuthTokenProvider:d,oxxoToken:p}){return e({url:`/oxxo/${p}/reverse/${a}`,method:"post",params:s,data:u,headers:Dr({jwtToken:i,internalAuthTokenProvider:n(d),headers:r})})}}}}jm.exports=yw});var Um=m((ER,Nm)=>{var{authorizationHeaders:Zt}=h();function bw({client:e,internalAuthTokenProvider:t}){function n(r){return r??t}return{payments:{all({token:r,jwtToken:s,headers:a,query:u,internalAuthTokenProvider:d}){return e({url:"/datalogic/payments",params:u,headers:Zt({token:r,jwtToken:s,internalAuthTokenProvider:n(d),headers:a})})},update({token:r,jwtToken:s,headers:a,query:u,referenceNumber:d,data:p,internalAuthTokenProvider:f}){return e({url:`/datalogic/payments/${d}`,method:"post",params:u,data:p,headers:Zt({token:r,jwtToken:s,internalAuthTokenProvider:n(f),headers:a})})},reverse({token:r,jwtToken:s,headers:a,query:u,referenceNumber:d,data:p,internalAuthTokenProvider:f}){return e({url:`/datalogic/reverse/${d}`,method:"post",params:u,data:p,headers:Zt({token:r,jwtToken:s,internalAuthTokenProvider:n(f),headers:a})})}},referenceNumber:{get({token:r,jwtToken:s,headers:a,internalAuthTokenProvider:u}){return e({url:"/datalogic/reference-number",headers:Zt({token:r,jwtToken:s,internalAuthTokenProvider:n(u),headers:a})})}},authCode:{get({token:r,jwtToken:s,headers:a,internalAuthTokenProvider:u}){return e({url:"/datalogic/auth-code",headers:Zt({token:r,jwtToken:s,internalAuthTokenProvider:n(u),headers:a})})}}}}Nm.exports=bw});var Lm=m((RR,Bm)=>{var{authorizationHeaders:te}=h();function $w({client:e,internalAuthTokenProvider:t}){return{payments:{get({token:r,jwtToken:s,id:a,query:u={},headers:d}){return e.get(`/prisma-terminals/payments/${a}`,{params:u,headers:te({token:r,jwtToken:s,internalAuthTokenProvider:t,headers:d})})},create({token:r,jwtToken:s,prismaPayment:a,query:u={},headers:d}){return e({url:"/prisma-terminals/payments",method:"post",headers:te({token:r,jwtToken:s,internalAuthTokenProvider:t,headers:d}),params:u,data:{prismaPayment:a}})},delete({token:r,jwtToken:s,id:a,query:u={},headers:d}){return e({url:`/prisma-terminals/payments/${a}`,method:"delete",headers:te({token:r,jwtToken:s,internalAuthTokenProvider:t,headers:d}),params:u})},update({token:r,jwtToken:s,id:a,prismaPayment:u,query:d={},headers:p}){return e({url:`/prisma-terminals/payments/${a}`,method:"put",headers:te({token:r,jwtToken:s,internalAuthTokenProvider:t,headers:p}),params:d,data:{prismaPayment:u}})},reversals:{get({token:r,jwtToken:s,id:a,query:u={},headers:d}){return e.get(`/prisma-terminals/reversals/${a}`,{params:u,headers:te({token:r,jwtToken:s,internalAuthTokenProvider:t,headers:d})})},create({token:r,jwtToken:s,id:a,prismaReversal:u,query:d={},headers:p}){return e({url:`/prisma-terminals/payments/${a}/reversals`,method:"post",headers:te({token:r,jwtToken:s,internalAuthTokenProvider:t,headers:p}),params:d,data:{prismaReversal:u}})},delete({token:r,jwtToken:s,id:a,query:u={},headers:d}){return e({url:`/prisma-terminals/reversals/${a}`,method:"delete",headers:te({token:r,jwtToken:s,internalAuthTokenProvider:t,headers:d}),params:u})}},refunds:{get({token:r,jwtToken:s,id:a,query:u={},headers:d}){return e.get(`/prisma-terminals/refunds/${a}`,{params:u,headers:te({token:r,jwtToken:s,internalAuthTokenProvider:t,headers:d})})},create({token:r,jwtToken:s,id:a,prismaRefund:u,query:d={},headers:p}){return e({url:`/prisma-terminals/payments/${a}/refunds`,method:"post",headers:te({token:r,jwtToken:s,internalAuthTokenProvider:t,headers:p}),params:d,data:{prismaRefund:u}})},delete({token:r,jwtToken:s,id:a,query:u={},headers:d}){return e({url:`/prisma-terminals/refunds/${a}`,method:"delete",headers:te({token:r,jwtToken:s,internalAuthTokenProvider:t,headers:d}),params:u})},update({token:r,jwtToken:s,id:a,prismaRefund:u,query:d={},headers:p}){return e({url:`/prisma-terminals/refunds/${a}`,method:"put",headers:te({token:r,jwtToken:s,internalAuthTokenProvider:t,headers:p}),params:d,data:{prismaRefund:u}})}}},settlements:{create({token:r,jwtToken:s,settlement:a,query:u={},headers:d}){return e({url:"/prisma-terminals/settlements",method:"post",headers:te({token:r,jwtToken:s,internalAuthTokenProvider:t,headers:d}),params:u,data:{settlement:a}})}}}}Bm.exports=$w});var Im=m((_R,Mm)=>{var{authorizationHeaders:ls}=h();function xw({client:e,internalAuthTokenProvider:t}){return{mit:{update({token:o,jwtToken:i,id:r,terminalPayment:s,query:a={},headers:u}){return e({url:`/terminal-payments/mit/${r}`,method:"put",headers:ls({token:o,jwtToken:i,internalAuthTokenProvider:t,headers:u}),params:a,data:{terminalPayment:s}})},get({token:o,jwtToken:i,id:r,query:s={},headers:a}){return e.get(`/terminal-payments/mit/${r}`,{params:s,headers:ls({token:o,jwtToken:i,internalAuthTokenProvider:t,headers:a})})}},webhooks:{getnet({data:o,providerId:i,headers:r={},token:s,jwtToken:a}){let u=s&&a?ls({token:s,jwtToken:a,internalAuthTokenProvider:t,headers:r}):r;return e({url:`/terminal-payments/webhooks/getnet/${i}`,method:"post",headers:u,data:o})}}}}Mm.exports=xw});var Wm=m((zR,Km)=>{var{authorizationHeaders:Vm}=h();function qw({client:e,internalAuthTokenProvider:t}){function n({token:o,jwtToken:i,headers:r,query:s={}}){return e.get("/stripe-terminals",{params:s,headers:Vm({token:o,jwtToken:i,internalAuthTokenProvider:t,headers:r})})}function c({token:o,jwtToken:i,id:r,stripePayment:s,query:a={},headers:u}){return e({url:`/stripe-terminals/${r}/simulate`,method:"post",headers:Vm({token:o,jwtToken:i,internalAuthTokenProvider:t,headers:u}),params:a,data:{stripePayment:s}})}return{all:n,simulate:c}}Km.exports=qw});var Xm=m((HR,Jm)=>{var{authorizationHeaders:ww}=h();function Ow({client:e,internalAuthTokenProvider:t}){function n({token:c,jwtToken:o,providerName:i,data:r,headers:s}){return e.post("/stripe-payment-intent",{providerName:i,data:r},{headers:ww({token:c,jwtToken:o,internalAuthTokenProvider:t,headers:s})})}return{createPaymentIntent:n}}Jm.exports=Ow});var Zm=m((CR,Gm)=>{function Fw({client:e}){function t(){return e.get("/api-docs-v2",{})}return{get:t}}Gm.exports=Fw});var Ym=m((jR,Qm)=>{var{authorizationHeaders:Qt}=h();function Sw({client:e,internalAuthTokenProvider:t}){function n({token:s,jwtToken:a,query:u={},headers:d}){return e({url:"/providers",method:"get",headers:Qt({token:s,jwtToken:a,internalAuthTokenProvider:t,headers:d}),params:u})}function c({token:s,jwtToken:a,id:u,query:d={},headers:p}){return e({url:`/providers/${u}`,method:"get",headers:Qt({token:s,jwtToken:a,internalAuthTokenProvider:t,headers:p}),params:d})}function o({token:s,jwtToken:a,id:u,data:d,query:p={},headers:f}){return e({url:`/providers/${u}`,method:"put",headers:Qt({token:s,jwtToken:a,internalAuthTokenProvider:t,headers:f}),params:p,data:d})}function i({token:s,jwtToken:a,id:u,query:d={},headers:p}){return e({url:`/providers/${u}`,method:"delete",headers:Qt({token:s,jwtToken:a,internalAuthTokenProvider:t,headers:p}),params:d})}function r({token:s,jwtToken:a,data:u,query:d={},headers:p}){return e({url:"/providers",method:"post",headers:Qt({token:s,jwtToken:a,internalAuthTokenProvider:t,headers:p}),params:d,data:u})}return{all:n,get:c,update:o,remove:i,create:r}}Qm.exports=Sw});var Pm=m((DR,vm)=>{var{authorizationHeaders:Yt}=h();function Ew({client:e,internalAuthTokenProvider:t}){function n({token:s,jwtToken:a,invoiceProviderId:u,query:d={},headers:p}){return e({url:`/providers/${u}/sequences`,method:"get",headers:Yt({token:s,jwtToken:a,internalAuthTokenProvider:t,headers:p}),params:d})}function c({token:s,jwtToken:a,invoiceProviderId:u,invoiceProviderSequenceId:d,query:p={},headers:f}){return e({url:`/providers/${u}/sequences/${d}`,method:"get",headers:Yt({token:s,jwtToken:a,internalAuthTokenProvider:t,headers:f}),params:p})}function o({token:s,jwtToken:a,invoiceProviderId:u,id:d,query:p={},headers:f}){return e({url:`/providers/${u}/sequences/${d}`,method:"delete",headers:Yt({token:s,jwtToken:a,internalAuthTokenProvider:t,headers:f}),params:p})}function i({token:s,jwtToken:a,invoiceProviderId:u,data:d,query:p={},headers:f}){return e({url:`/providers/${u}/sequences`,method:"post",headers:Yt({token:s,jwtToken:a,internalAuthTokenProvider:t,headers:f}),params:p,data:d})}function r({token:s,jwtToken:a,invoiceProviderId:u,invoiceProviderSequenceId:d,data:p,query:f={},headers:l}){return e({url:`/providers/${u}/sequences/${d}`,method:"put",headers:Yt({token:s,jwtToken:a,internalAuthTokenProvider:t,headers:l}),params:f,data:p})}return{all:n,get:c,remove:o,create:i,update:r}}vm.exports=Ew});var Am=m((NR,km)=>{var{authorizationHeaders:Tm}=h();function Rw({client:e,internalAuthTokenProvider:t}){function n({token:o,jwtToken:i,data:r,query:s={},headers:a}){return e({url:"/infile",method:"post",headers:Tm({token:o,jwtToken:i,internalAuthTokenProvider:t,headers:a}),params:s,data:r})}function c({token:o,jwtToken:i,data:r,query:s={},headers:a}){return s.onlyValidateRequest=!0,e({url:"/infile",method:"post",headers:Tm({token:o,jwtToken:i,internalAuthTokenProvider:t,headers:a}),params:s,data:r})}return{create:n,validateCreate:c}}km.exports=Rw});var tl=m((UR,el)=>{var{authorizationHeaders:hs}=h();function _w({client:e,internalAuthTokenProvider:t}){function n({token:i,jwtToken:r,data:s,query:a={},headers:u}){return e({url:"/infile-json",method:"post",headers:hs({token:i,jwtToken:r,internalAuthTokenProvider:t,headers:u}),params:a,data:s})}function c({token:i,jwtToken:r,data:s,query:a={},headers:u}){return a.onlyValidateRequest=!0,e({url:"/infile-json",method:"post",headers:hs({token:i,jwtToken:r,internalAuthTokenProvider:t,headers:u}),params:a,data:s})}function o({token:i,jwtToken:r,query:s,headers:a}){return e({url:"/infile-json/validate-void",method:"get",headers:hs({token:i,jwtToken:r,internalAuthTokenProvider:t,headers:a}),params:s})}return{create:n,validateCreate:c,validateVoid:o}}el.exports=_w});var al=m((BR,sl)=>{var{authorizationHeaders:rl}=h();function zw({client:e,internalAuthTokenProvider:t}){function n({token:o,jwtToken:i,data:r,query:s={},headers:a}){return e({url:"/system",method:"post",headers:rl({token:o,jwtToken:i,internalAuthTokenProvider:t,headers:a}),params:s,data:r})}function c({token:o,jwtToken:i,data:r,query:s={},headers:a}){return s.onlyValidateRequest=!0,e({url:"/system",method:"post",headers:rl({token:o,jwtToken:i,internalAuthTokenProvider:t,headers:a}),params:s,data:r})}return{create:n,validateCreate:c}}sl.exports=zw});var ul=m((LR,nl)=>{var{authorizationHeaders:ol}=h();function Hw({client:e,internalAuthTokenProvider:t}){function n({token:o,jwtToken:i,data:r,query:s={},headers:a}){return e({url:"/dlink",method:"post",headers:ol({token:o,jwtToken:i,internalAuthTokenProvider:t,headers:a}),params:s,data:r})}function c({token:o,jwtToken:i,data:r,query:s={},headers:a}){return s.onlyValidateRequest=!0,e({url:"/dlink",method:"post",headers:ol({token:o,jwtToken:i,internalAuthTokenProvider:t,headers:a}),params:s,data:r})}return{create:n,validateCreate:c}}nl.exports=Hw});var dl=m((MR,il)=>{var{authorizationHeaders:cl}=h();function Cw({client:e,internalAuthTokenProvider:t}){function n({token:o,jwtToken:i,data:r,query:s={},headers:a}){return e({url:"/gti",method:"post",headers:cl({token:o,jwtToken:i,internalAuthTokenProvider:t,headers:a}),params:s,data:r})}function c({token:o,jwtToken:i,data:r,query:s={},headers:a}){return s.onlyValidateRequest=!0,e({url:"/gti",method:"post",headers:cl({token:o,jwtToken:i,internalAuthTokenProvider:t,headers:a}),params:s,data:r})}return{create:n,validateCreate:c}}il.exports=Cw});var fl=m((IR,pl)=>{var{authorizationHeaders:jw}=h();function Dw({client:e,internalAuthTokenProvider:t}){function n({token:c,jwtToken:o,query:i={},responseType:r="json",headers:s}){return e({url:"/pdfs",method:"get",responseType:r,headers:jw({token:c,jwtToken:o,internalAuthTokenProvider:t,headers:s}),params:i})}return{all:n}}pl.exports=Dw});var ll=m((VR,ml)=>{var{authorizationHeaders:Nw}=h();function Uw({client:e,internalAuthTokenProvider:t}){function n({token:c,jwtToken:o,data:i,query:r={},headers:s}){return e({url:"/emails",method:"post",headers:Nw({token:c,jwtToken:o,internalAuthTokenProvider:t,headers:s}),params:r,data:i})}return{create:n}}ml.exports=Uw});var gl=m((KR,hl)=>{var{authorizationHeaders:Bw}=h();function Lw({client:e,internalAuthTokenProvider:t}){function n({token:c,jwtToken:o,query:i={},headers:r}){return e({url:"/tax-ids",method:"get",headers:Bw({token:c,jwtToken:o,internalAuthTokenProvider:t,headers:r}),params:i})}return{all:n}}hl.exports=Lw});var bl=m((WR,yl)=>{var{authorizationHeaders:vt}=h();function Mw({client:e,internalAuthTokenProvider:t}){function n({token:s,jwtToken:a,query:u={},headers:d}){return e({url:"/invoices",method:"get",headers:vt({token:s,jwtToken:a,internalAuthTokenProvider:t,headers:d}),params:u})}function c({token:s,jwtToken:a,id:u,query:d={},headers:p}){return e({url:`/invoices/${u}`,method:"get",headers:vt({token:s,jwtToken:a,internalAuthTokenProvider:t,headers:p}),params:d})}function o({token:s,jwtToken:a,query:u={},headers:d}){return e({url:"/failures",method:"get",headers:vt({token:s,jwtToken:a,internalAuthTokenProvider:t,headers:d}),params:u})}function i({token:s,jwtToken:a,data:u,query:d={},headers:p}){return e({url:"/retry",method:"post",headers:vt({token:s,jwtToken:a,internalAuthTokenProvider:t,headers:p}),params:d,data:u})}function r({token:s,jwtToken:a,data:u,query:d={},headers:p}){return e({url:"/retry",method:"put",headers:vt({token:s,jwtToken:a,internalAuthTokenProvider:t,headers:p}),params:d,data:u})}return{all:n,get:c,getInvoicesFailures:o,retryInvoicing:i,overrideBuyerRetryInvoicing:r}}yl.exports=Mw});var xl=m((JR,$l)=>{var{authorizationHeaders:gs}=h();function Iw({client:e,internalAuthTokenProvider:t}){function n({token:i,jwtToken:r,headers:s}){return e({url:"/bpe-configurations",method:"get",headers:gs({token:i,jwtToken:r,internalAuthTokenProvider:t,headers:s})})}function c({token:i,jwtToken:r,bpeConfiguration:s,headers:a}){return e({url:"/bpe-configurations",method:"post",headers:gs({token:i,jwtToken:r,internalAuthTokenProvider:t,headers:a}),data:{bpeConfiguration:s}})}function o({token:i,jwtToken:r,bpeConfiguration:s,headers:a}){return e({url:"/bpe-configurations",method:"put",headers:gs({token:i,jwtToken:r,internalAuthTokenProvider:t,headers:a}),data:{bpeConfiguration:s}})}return{get:n,create:c,update:o}}$l.exports=Iw});var wl=m((XR,ql)=>{var{authorizationHeaders:Vw}=h();function Kw({client:e}){function t({token:n,query:c={},headers:o}){return e({url:"/scanner-app-location",headers:Vw({token:n,headers:o}),params:c})}return{get:t}}ql.exports=Kw});var Fl=m((GR,Ol)=>{function Ww({client:e}){function t({data:n,headers:c}){return e({url:"/authenticate",method:"post",headers:c,data:n})}return{create:t}}Ol.exports=Ww});var Rl=m((ZR,El)=>{var{authorizationHeaders:Sl}=h();function Jw({client:e,version:t}){function n({jwtToken:o,data:i,headers:r}){return e({url:`/${t}/client`,method:"post",headers:Sl({jwtToken:o,headers:r}),data:i})}function c({jwtToken:o,clientId:i}){return e({url:`/${t}/client`,method:"get",headers:Object.assign({clientId:i},Sl({jwtToken:o}))})}return{create:n,get:c}}El.exports=Jw});var zl=m((QR,_l)=>{var{authorizationHeaders:ys}=h();function Xw({client:e,version:t}){function n({jwtToken:i,clientId:r}){return e({url:`/${t}/client/integrations`,method:"get",headers:Object.assign({clientId:r},ys({jwtToken:i}))})}function c({jwtToken:i,clientId:r,data:s}){return e({url:`/${t}/client/integrations`,method:"post",headers:Object.assign({clientId:r},ys({jwtToken:i})),data:s})}function o({jwtToken:i,clientId:r,integrationType:s}){return e({url:`/${t}/client/integrations/${s}`,method:"delete",headers:Object.assign({clientId:r},ys({jwtToken:i}))})}return{get:n,create:c,remove:o}}_l.exports=Xw});var lO=m((YR,Cl)=>{function Hl(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var c=Object.getOwnPropertySymbols(e);t&&(c=c.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),n.push.apply(n,c)}return n}function Nr(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?Hl(Object(n),!0).forEach(function(c){Gw(e,c,n[c])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Hl(Object(n)).forEach(function(c){Object.defineProperty(e,c,Object.getOwnPropertyDescriptor(n,c))})}return e}function Gw(e,t,n){return(t=Zw(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Zw(e){var t=Qw(e,"string");return typeof t=="symbol"?t:t+""}function Qw(e,t){if(typeof e!="object"||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var c=n.call(e,t||"default");if(typeof c!="object")return c;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}var Yw=ia(),vw=pa();function G(e){let{baseURL:t,headers:n,timeout:c,overrideFn:o,agents:i}=e,s={baseURL:o?o(t):t,timeout:c,headers:{Accept:"application/json"}};return n&&n["x-amzn-trace-id"]&&(s.headers["x-amzn-trace-id"]=n["x-amzn-trace-id"]),i&&(i.httpAgent||i.httpsAgent)&&(s=Nr(Nr({},s),i)),Yw.create(s)}function Pw({baseURL:e,headers:t,timeout:n,overrideFn:c,internalAuthTokenProvider:o,agents:i}){let r=G({baseURL:e,headers:t,timeout:n,overrideFn:c,agents:i});return{amenities:ha()({client:r,internalAuthTokenProvider:o}),amenityGroups:ya()({client:r,internalAuthTokenProvider:o}),banks:$a()({client:r,internalAuthTokenProvider:o}),bareRoutes:wa()({client:r,internalAuthTokenProvider:o}),brands:Fa()({client:r,internalAuthTokenProvider:o}),bundleFares:Ea()({client:r,internalAuthTokenProvider:o}),bundles:za()({client:r,internalAuthTokenProvider:o}),changeRequests:Ca()({client:r,internalAuthTokenProvider:o}),companies:Da()({client:r,internalAuthTokenProvider:o}),controlClasses:Ua()({client:r,internalAuthTokenProvider:o}),countries:Ma()({client:r,internalAuthTokenProvider:o}),customContent:Va()({client:r,internalAuthTokenProvider:o}),customFields:Wa()({client:r,internalAuthTokenProvider:o}),docs:Xa()({client:r}),documentTypes:Ya()({client:r,internalAuthTokenProvider:o}),events:Pa()({client:r,internalAuthTokenProvider:o}),externalPasses:Aa()({client:r,internalAuthTokenProvider:o}),externalWallets:to()({client:r,internalAuthTokenProvider:o}),fareTypeModifiers:so()({client:r,internalAuthTokenProvider:o}),fallbackCodes:oo()({client:r,internalAuthTokenProvider:o}),fareClasses:uo()({client:r,internalAuthTokenProvider:o}),fares:io()({client:r,internalAuthTokenProvider:o}),fees:fo()({client:r,internalAuthTokenProvider:o}),filteredTrips:lo()({client:r,internalAuthTokenProvider:o}),filteredTripsV2:go()({client:r,internalAuthTokenProvider:o}),financingCosts:bo()({client:r,internalAuthTokenProvider:o}),garages:xo()({client:r,internalAuthTokenProvider:o}),banorteTerminals:wo()({client:r,internalAuthTokenProvider:o}),getnetTerminals:Fo()({client:r,internalAuthTokenProvider:o}),cloverTerminals:Eo()({client:r,internalAuthTokenProvider:o}),giftCertificateDefinitions:_o()({client:r,internalAuthTokenProvider:o}),healthCheck:Ho()({client:r,internalAuthTokenProvider:o}),holidays:jo()({client:r,internalAuthTokenProvider:o}),insurances:No()({client:r,internalAuthTokenProvider:o}),insurancesCost:Bo()({client:r,internalAuthTokenProvider:o}),items:Mo()({client:r,internalAuthTokenProvider:o}),journeyPrices:Vo()({client:r,internalAuthTokenProvider:o}),labels:Wo()({client:r,internalAuthTokenProvider:o}),maritalStatus:Xo()({client:r,internalAuthTokenProvider:o}),marketplaceModifiers:Zo()({client:r,internalAuthTokenProvider:o}),mitTerminals:Yo()({client:r,internalAuthTokenProvider:o}),mitTerminalsSettings:Po()({client:r,internalAuthTokenProvider:o}),operatingCompanies:ko()({client:r,internalAuthTokenProvider:o}),operationMessages:en()({client:r,internalAuthTokenProvider:o}),operationReasons:rn()({client:r,internalAuthTokenProvider:o}),parcelZones:an()({client:r,internalAuthTokenProvider:o}),paymentTerminals:nn()({client:r,internalAuthTokenProvider:o}),payOnAccounts:cn()({client:r,internalAuthTokenProvider:o}),prismaTerminals:pn()({client:r,internalAuthTokenProvider:o}),products:mn()({client:r,internalAuthTokenProvider:o}),promos:hn()({client:r,internalAuthTokenProvider:o}),routes:yn()({client:r,internalAuthTokenProvider:o}),scheduleGroups:$n()({client:r,internalAuthTokenProvider:o}),schedules:qn()({client:r,internalAuthTokenProvider:o}),seatClasses:On()({client:r,internalAuthTokenProvider:o}),seatfees:Sn()({client:r,internalAuthTokenProvider:o}),seatmaps:Rn()({client:r,internalAuthTokenProvider:o}),segmentsInformation:zn()({client:r,internalAuthTokenProvider:o}),serviceNumbers:Cn()({client:r,internalAuthTokenProvider:o}),serviceTypes:Dn()({client:r,internalAuthTokenProvider:o}),ssrs:Un()({client:r,internalAuthTokenProvider:o}),stationClasses:Ln()({client:r,internalAuthTokenProvider:o}),stationGroups:In()({client:r,internalAuthTokenProvider:o}),stations:Kn()({client:r,internalAuthTokenProvider:o}),stationsProvinces:Jn()({client:r,internalAuthTokenProvider:o}),stationsZones:Gn()({client:r,internalAuthTokenProvider:o}),taxes:Qn()({client:r,internalAuthTokenProvider:o}),travellerCardProviders:vn()({client:r,internalAuthTokenProvider:o}),travellerCardProvidersTypes:Tn()({client:r,internalAuthTokenProvider:o}),travellerCardTypes:An()({client:r,internalAuthTokenProvider:o}),travelRoutes:tu()({client:r,internalAuthTokenProvider:o}),vehicleTypes:su()({client:r,internalAuthTokenProvider:o}),vehicles:ou()({client:r,internalAuthTokenProvider:o}),zonePriceOverages:uu()({client:r,internalAuthTokenProvider:o}),zonePrices:iu()({client:r,internalAuthTokenProvider:o}),regions:pu()({client:r,internalAuthTokenProvider:o}),__test:{client:r}}}function Tw({baseURL:e,headers:t,timeout:n,overrideFn:c,internalAuthTokenProvider:o,agents:i}){let r=G({baseURL:e,headers:t,timeout:n,overrideFn:c,agents:i});return{trips:mu()({client:r,internalAuthTokenProvider:o}),tripIds:hu()({client:r,internalAuthTokenProvider:o}),segmentsInformationTables:yu()({client:r,internalAuthTokenProvider:o}),__test_trips:{client:r}}}function kw({baseURL:e,headers:t,timeout:n,overrideFn:c,internalAuthTokenProvider:o,agents:i}){let r=G({baseURL:e,headers:t,timeout:n,overrideFn:c,agents:i});return{docs:$u()({client:r}),healthcheck:qu()({client:r}),info:Ou()({client:r}),paths:Su()({client:r,internalAuthTokenProvider:o}),mergedFareTables:Ru()({client:r,internalAuthTokenProvider:o}),__test:{client:r}}}function Aw({baseURL:e,headers:t,timeout:n,overrideFn:c,internalAuthTokenProvider:o,agents:i}){let r=G({baseURL:e,headers:t,timeout:n,overrideFn:c,agents:i});return{accounts:zu()({client:r,internalAuthTokenProvider:o}),agencies:Cu()({client:r,internalAuthTokenProvider:o}),agencyTypes:Du()({client:r,internalAuthTokenProvider:o}),authorizedExternalMessaging:Uu()({client:r,internalAuthTokenProvider:o}),auditRecords:Lu()({client:r,internalAuthTokenProvider:o}),application:Iu()({client:r,internalAuthTokenProvider:o}),applications:Wu()({client:r,internalAuthTokenProvider:o}),applicationSettings:Xu()({client:r,internalAuthTokenProvider:o}),customers:vu()({client:r,internalAuthTokenProvider:o}),controlClassesSettings:ku()({client:r,internalAuthTokenProvider:o}),currentShifts:ec()({client:r,internalAuthTokenProvider:o}),docs:rc()({client:r}),domains:ac()({client:r,internalAuthTokenProvider:o}),dynamicForms:uc()({client:r,internalAuthTokenProvider:o}),qrMappings:ic()({client:r,internalAuthTokenProvider:o}),emailSettings:pc()({client:r,internalAuthTokenProvider:o}),emailTemplateSettings:lc()({client:r,internalAuthTokenProvider:o}),smsTemplateSettings:yc()({client:r,internalAuthTokenProvider:o}),emailTemplates:$c()({client:r,internalAuthTokenProvider:o}),smsTemplates:qc()({client:r,internalAuthTokenProvider:o}),exchangeRates:Fc()({client:r,internalAuthTokenProvider:o}),exchangeReceipts:Rc()({client:r,internalAuthTokenProvider:o}),externalCustomers:zc()({client:r,internalAuthTokenProvider:o}),goalSettings:jc()({client:r,internalAuthTokenProvider:o}),images:Nc()({client:r,internalAuthTokenProvider:o}),interline:Bc()({client:r,internalAuthTokenProvider:o}),lexicons:Mc()({client:r,internalAuthTokenProvider:o}),network:Vc()({client:r,internalAuthTokenProvider:o}),operationSettings:Jc()({client:r,internalAuthTokenProvider:o}),peopleLookups:Zc()({client:r,internalAuthTokenProvider:o}),pointToPointSettings:vc()({client:r,internalAuthTokenProvider:o}),marketPricingSettings:kc()({client:r,internalAuthTokenProvider:o}),multiproductSalesSettings:ti()({client:r,internalAuthTokenProvider:o}),printers:si()({client:r,internalAuthTokenProvider:o}),printSettings:ni()({client:r,internalAuthTokenProvider:o}),printTemplates:ci()({client:r,internalAuthTokenProvider:o}),revenueManagementSettings:pi()({client:r,internalAuthTokenProvider:o}),journeyPricesSettings:li()({client:r,internalAuthTokenProvider:o}),subPrintTemplates:gi()({client:r,internalAuthTokenProvider:o}),s3Buckets:bi()({client:r,internalAuthTokenProvider:o}),salesforceSettings:qi()({client:r,internalAuthTokenProvider:o}),shifts:Oi()({client:r,internalAuthTokenProvider:o}),shiftSettings:Ei()({client:r,internalAuthTokenProvider:o}),systemModelSettings:_i()({client:r,internalAuthTokenProvider:o}),ticketMovementSettings:Ci()({client:r,internalAuthTokenProvider:o}),tokens:Ni()({client:r,internalAuthTokenProvider:o}),travellers:Bi()({client:r,internalAuthTokenProvider:o}),trustedMachines:Mi()({client:r,internalAuthTokenProvider:o}),twilioSettings:Ki()({client:r,internalAuthTokenProvider:o}),users:Ji()({client:r,internalAuthTokenProvider:o}),verifiedEmails:Gi()({client:r,internalAuthTokenProvider:o}),__test:{client:r},websalesConfig:Yi()({client:r,internalAuthTokenProvider:o}),transportRegulationSettingsForCNRT:Ti()({client:r,internalAuthTokenProvider:o})}}function eO({baseURL:e,headers:t,timeout:n,overrideFn:c,internalAuthTokenProvider:o,agents:i}){let r=G({baseURL:e,headers:t,timeout:n,overrideFn:c,agents:i});return{docs:Ai()({client:r}),parcelQuotes:td()({client:r,internalAuthTokenProvider:o}),paymentProviders:sd()({client:r,internalAuthTokenProvider:o}),cart:od()({client:r,internalAuthTokenProvider:o}),giftCertificates:ud()({client:r,internalAuthTokenProvider:o}),customFields:id()({client:r,internalAuthTokenProvider:o}),order:pd()({client:r,internalAuthTokenProvider:o}),voucher:md()({client:r,internalAuthTokenProvider:o}),cartPromo:gd()({client:r,internalAuthTokenProvider:o}),bundles:bd()({client:r,internalAuthTokenProvider:o}),redeemableItems:qd()({client:r,internalAuthTokenProvider:o}),flexpasses:Od()({client:r,internalAuthTokenProvider:o}),syncEntry:Sd()({client:r,internalAuthTokenProvider:o}),checkInInfo:Rd()({client:r,internalAuthTokenProvider:o}),cancellations:zd()({client:r,internalAuthTokenProvider:o}),__test:{client:r}}}function tO({baseURL:e,headers:t,timeout:n,overrideFn:c,internalAuthTokenProvider:o,agents:i}){let r=G({baseURL:e,headers:t,timeout:n,overrideFn:c,agents:i});return{docs:Cd()({client:r}),accountingItems:Nd()({client:r,internalAuthTokenProvider:o}),appliedInsurance:Bd()({client:r,internalAuthTokenProvider:o}),calendarEntries:Md()({client:r,internalAuthTokenProvider:o}),externalBookings:Kd()({client:r,internalAuthTokenProvider:o}),flexpasses:Jd()({client:r,internalAuthTokenProvider:o}),giftCertificates:Gd()({client:r,internalAuthTokenProvider:o}),loans:Yd()({client:r,internalAuthTokenProvider:o}),manifest:Td()({client:r,internalAuthTokenProvider:o}),manifestLegForTickets:Ad()({client:r,internalAuthTokenProvider:o}),movements:tp()({client:r,internalAuthTokenProvider:o}),outlookTrips:sp()({client:r,internalAuthTokenProvider:o}),pagoExpress:op()({client:r,internalAuthTokenProvider:o}),parcel:ip()({client:r,internalAuthTokenProvider:o}),parcelManifests:pp()({client:r,internalAuthTokenProvider:o}),passengerCheckInInfo:mp()({client:r,internalAuthTokenProvider:o}),redemption:hp()({client:r,internalAuthTokenProvider:o}),rms:bp()({client:r,internalAuthTokenProvider:o}),scheduledNotifications:xp()({client:r,internalAuthTokenProvider:o}),segments:wp()({client:r,internalAuthTokenProvider:o}),soldItemsFulfillment:Fp()({client:r,internalAuthTokenProvider:o}),soldItems:Rp()({client:r,internalAuthTokenProvider:o}),tickets:Cp()({client:r,internalAuthTokenProvider:o}),transaction:Dp()({client:r,internalAuthTokenProvider:o}),transactions:Up()({client:r,internalAuthTokenProvider:o}),tripChangeInfo:Lp()({client:r,internalAuthTokenProvider:o}),cancellationSettings:Vp()({client:r,internalAuthTokenProvider:o}),vehicleAssignments:Wp()({client:r,internalAuthTokenProvider:o}),vouchers:Gp()({client:r,internalAuthTokenProvider:o}),waitlists:Qp()({client:r,internalAuthTokenProvider:o}),transportRegulations:vp()({client:r,internalAuthTokenProvider:o}),__test:{client:r}}}function rO({baseURL:e,headers:t,timeout:n,overrideFn:c,internalAuthTokenProvider:o,agents:i}){let r=G({baseURL:e,headers:t,timeout:n,overrideFn:c,agents:i});return{reportTypes:kp()({client:r,internalAuthTokenProvider:o}),customReports:ef()({client:r,internalAuthTokenProvider:o}),reportEmail:rf()({client:r,internalAuthTokenProvider:o}),tripManifests:af()({client:r,internalAuthTokenProvider:o}),__test:{client:r}}}function sO({baseURL:e,headers:t,timeout:n,overrideFn:c,internalAuthTokenProvider:o,agents:i}){let r=G({baseURL:e,headers:t,timeout:n,overrideFn:c,agents:i});return{manifestNotifications:uf()({client:r,internalAuthTokenProvider:o}),printedTickets:df()({client:r,internalAuthTokenProvider:o}),pdfs:ff()({client:r,internalAuthTokenProvider:o}),pdfData:lf()({client:r,internalAuthTokenProvider:o}),email:gf()({client:r,internalAuthTokenProvider:o}),customers:$f()({client:r,internalAuthTokenProvider:o}),externalCustomers:wf()({client:r,internalAuthTokenProvider:o}),twilio:Ff()({client:r,internalAuthTokenProvider:o}),salesforce:Rf()({client:r,internalAuthTokenProvider:o}),shortUrls:Hf()({client:r,internalAuthTokenProvider:o}),operatorNotifications:jf()({client:r,internalAuthTokenProvider:o}),notify:Nf()({client:r,internalAuthTokenProvider:o}),ordersRulesValidations:Bf()({client:r,internalAuthTokenProvider:o}),__test:{client:r}}}function aO({baseURL:e,headers:t,timeout:n,overrideFn:c,internalAuthTokenProvider:o,agents:i}){let r=G({baseURL:e,headers:t,timeout:n,overrideFn:c,agents:i});return{files:Vf()({client:r,internalAuthTokenProvider:o}),images:Xf()({client:r,internalAuthTokenProvider:o}),__test:{client:r}}}function oO({baseURL:e,headers:t,timeout:n,overrideFn:c,internalAuthTokenProvider:o,agents:i}){let r=G({baseURL:e,headers:t,timeout:n,overrideFn:c,agents:i});return{programs:Zf()({client:r,internalAuthTokenProvider:o}),movements:Yf()({client:r,internalAuthTokenProvider:o}),__test:{client:r}}}function nO({baseURL:e,headers:t,timeout:n,overrideFn:c,internalAuthTokenProvider:o,agents:i}){let r=G({baseURL:e,headers:t,timeout:n,overrideFn:c,agents:i});return{subscriptions:Pf()({client:r,internalAuthTokenProvider:o}),events:kf()({client:r,internalAuthTokenProvider:o}),undelivered:em()({client:r,internalAuthTokenProvider:o}),webhooks:rm()({client:r,internalAuthTokenProvider:o}),__test:{client:r}}}function uO({baseURL:e,headers:t,timeout:n,overrideFn:c,internalAuthTokenProvider:o,agents:i}){let r=G({baseURL:e,headers:t,timeout:n,overrideFn:c,agents:i});return{accessTicket:am()({client:r,internalAuthTokenProvider:o}),seat:nm()({client:r,internalAuthTokenProvider:o}),__test:{client:r}}}function cO({baseURL:e,headers:t,timeout:n,overrideFn:c,internalAuthTokenProvider:o,agents:i}){let r=G({baseURL:e,headers:t,timeout:n,overrideFn:c,agents:i});return{adyen:im()({client:r,internalAuthTokenProvider:o}),cybersource3ds:pm()({client:r,internalAuthTokenProvider:o}),docs:mm()({client:r}),cardpointeTerminals:hm().cardpointeTerminalsFactory({client:r,internalAuthTokenProvider:o}),paymentMethods:ym()({client:r,internalAuthTokenProvider:o}),referenceNumbers:$m()({client:r,internalAuthTokenProvider:o}),payments:wm()({client:r,internalAuthTokenProvider:o}),referencedPayments:Sm()({client:r,internalAuthTokenProvider:o}),customers:Rm()({client:r,internalAuthTokenProvider:o}),customerCards:zm()({client:r,internalAuthTokenProvider:o}),squareTerminals:ms().squareTerminalsFactory({client:r,internalAuthTokenProvider:o}),squareWebhooks:ms().squareWebhooksFactory({client:r,internalAuthTokenProvider:o}),oxxo:Dm()({client:r,internalAuthTokenProvider:o}),datalogic:Um()({client:r,internalAuthTokenProvider:o}),prismaTerminals:Lm()({client:r,internalAuthTokenProvider:o}),terminalPayments:Im()({client:r,internalAuthTokenProvider:o}),stripeTerminals:Wm()({client:r,internalAuthTokenProvider:o}),stripe3ds:Xm()({client:r,internalAuthTokenProvider:o}),__test:{client:r}}}function iO({baseURL:e,headers:t,timeout:n,overrideFn:c,internalAuthTokenProvider:o,agents:i}){let r=G({baseURL:e,headers:t,timeout:n,overrideFn:c,agents:i});return{docs:Zm()({client:r}),providers:Ym()({client:r,internalAuthTokenProvider:o}),providersSequences:Pm()({client:r,internalAuthTokenProvider:o}),infile:Am()({client:r,internalAuthTokenProvider:o}),infileJson:tl()({client:r,internalAuthTokenProvider:o}),system:al()({client:r,internalAuthTokenProvider:o}),dlink:ul()({client:r,internalAuthTokenProvider:o}),gti:dl()({client:r,internalAuthTokenProvider:o}),pdfs:fl()({client:r,internalAuthTokenProvider:o}),emails:ll()({client:r,internalAuthTokenProvider:o}),taxIds:gl()({client:r,internalAuthTokenProvider:o}),invoices:bl()({client:r,internalAuthTokenProvider:o}),__test:{client:r}}}function dO({baseURL:e,headers:t,timeout:n,overrideFn:c,internalAuthTokenProvider:o,agents:i}){let r=G({baseURL:e,headers:t,timeout:n,overrideFn:c,agents:i});return{configuration:xl()({client:r,internalAuthTokenProvider:o}),__test:{client:r}}}function pO({baseURL:e,headers:t,timeout:n,overrideFn:c,internalAuthTokenProvider:o,agents:i}){let r=G({baseURL:e,headers:t,timeout:n,overrideFn:c,agents:i});return{scannerAppLocation:wl()({client:r,internalAuthTokenProvider:o}),__test:{client:r}}}function fO({baseURL:e,headers:t,timeout:n,overrideFn:c,agents:o}){let i=G({baseURL:e,headers:t,timeout:n,overrideFn:c,agents:o}),r="v2";return{auth:Fl()({client:i}),clients:Rl()({client:i,version:r}),integrations:zl()({client:i,version:r}),__test:{client:i}}}function mO(e){let{baseURL:t,baseURLOverride:n={},headers:c,timeout:o=0,internalAuthTokenProvider:i,agents:r}=e||vw;return{constants:kr(),_cleanClient:G({baseURL:t,headers:c,timeout:o,agents:r}),inventory:Nr(Nr({},Pw({baseURL:t,headers:c,timeout:o,overrideFn:n.inventory,internalAuthTokenProvider:i,agents:r})),Tw({baseURL:t,headers:c,timeout:o,overrideFn:n.trips,internalAuthTokenProvider:i,agents:r})),coltrane:kw({baseURL:t,headers:c,timeout:o,overrideFn:n.coltrane,internalAuthTokenProvider:i,agents:r}),accounts:Aw({baseURL:t,headers:c,timeout:o,overrideFn:n.accounts,internalAuthTokenProvider:i,agents:r}),sales:eO({baseURL:t,headers:c,timeout:o,overrideFn:n.sales,internalAuthTokenProvider:i,agents:r}),operations:tO({baseURL:t,headers:c,timeout:o,overrideFn:n.operations,internalAuthTokenProvider:i,agents:r}),reports:rO({baseURL:t,headers:c,timeout:o,overrideFn:n.reports,internalAuthTokenProvider:i,agents:r}),notifications:sO({baseURL:t,headers:c,timeout:o,overrideFn:n.notifications,internalAuthTokenProvider:i,agents:r}),uploads:aO({baseURL:t,headers:c,timeout:o,overrideFn:n.uploads,internalAuthTokenProvider:i,agents:r}),loyalty:oO({baseURL:t,headers:c,timeout:o,overrideFn:n.loyalty,internalAuthTokenProvider:i,agents:r}),webhooks:nO({baseURL:t,headers:c,timeout:o,overrideFn:n.webhooks,internalAuthTokenProvider:i,agents:r}),seatmaps:uO({baseURL:t,headers:c,timeout:o,overrideFn:n.seatmaps,internalAuthTokenProvider:i,agents:r}),btrzpay:cO({baseURL:t,headers:c,timeout:o,overrideFn:n.btrzpay,internalAuthTokenProvider:i,agents:r}),invoices:iO({baseURL:t,headers:c,timeout:o,overrideFn:n.invoices,internalAuthTokenProvider:i,agents:r}),bpes:dO({baseURL:t,headers:c,timeout:o,overrideFn:n.bpes,internalAuthTokenProvider:i,agents:r}),gps:pO({baseURL:t,headers:c,timeout:o,overrideFn:n.invoices,internalAuthTokenProvider:i,agents:r}),ratality:fO({baseURL:t,headers:c,timeout:o,overrideFn:n.ratality,agents:r})}}Cl.exports={clientFactory:G,createApiClient:mO}});return lO();})();
|
|
11
11
|
/*! Bundled license information:
|
|
12
12
|
|
|
13
13
|
axios/dist/browser/axios.cjs:
|