@massive.com/client-js 10.4.0 → 10.5.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/main.js CHANGED
@@ -1 +1 @@
1
- import H from"axios";import Qe from"axios";var D="https://api.massive.com".replace(/\/+$/,"");var Ge=class{constructor(n,t=D,i=Qe){this.basePath=t;this.axios=i;n&&(this.configuration=n,this.basePath=n.basePath??t)}},Ve=class extends Error{constructor(t,i){super(i);this.field=t;this.name="RequiredError"}},F={};var B="https://example.com",$=function(a,n,t){if(t==null)throw new Ve(n,`Required parameter ${n} was null or undefined when calling ${a}.`)},U=async function(a,n,t){if(t&&t.apiKey){let i=typeof t.apiKey=="function"?await t.apiKey(n):await t.apiKey;a[n]=i}};function ve(a,n,t=""){n!=null&&(typeof n=="object"?Array.isArray(n)?n.forEach(i=>ve(a,i,t)):Object.keys(n).forEach(i=>ve(a,n[i],`${t}${t!==""?".":""}${i}`)):a.has(t)?a.append(t,n):a.set(t,n))}var z=function(a,...n){let t=new URLSearchParams(a.search);ve(t,n),a.search=t.toString()};var Q=function(a){return a.pathname+a.search+a.hash},E=function(a,n,t,i){return(e=n,s=t)=>{let o={...a.options,url:(e.defaults.baseURL?"":i?.basePath??s)+a.url};return e.request(o)}};var Ee=(o=>(o.Q="Q",o.T="T",o.Qa="QA",o.Ta="TA",o.Y="Y",o.Ya="YA",o))(Ee||{}),Me=(n=>(n.Ok="OK",n))(Me||{}),He=(n=>(n.Error="ERROR",n))(He||{}),je=(n=>(n.Ok="OK",n))(je||{}),Ke=(n=>(n.Ok="OK",n))(Ke||{}),Ne=(n=>(n.Ok="OK",n))(Ne||{}),Xe=(n=>(n.Ok="OK",n))(Xe||{}),$e=(n=>(n.Ok="OK",n))($e||{}),Ye=(n=>(n.Ok="OK",n))(Ye||{}),We=(n=>(n.Ok="OK",n))(We||{}),Je=(n=>(n.Ok="OK",n))(Je||{}),Ze=(n=>(n.Ok="OK",n))(Ze||{}),qe=(n=>(n.Ok="OK",n))(qe||{}),Pe=(n=>(n.Ok="OK",n))(Pe||{}),nt=(n=>(n.Ok="OK",n))(nt||{}),et=(n=>(n.Ok="OK",n))(et||{}),tt=(n=>(n.Ok="OK",n))(tt||{}),it=(n=>(n.Ok="OK",n))(it||{}),st=(n=>(n.Ok="OK",n))(st||{}),ot=(n=>(n.Ok="OK",n))(ot||{}),rt=(n=>(n.Ok="OK",n))(rt||{}),at=(n=>(n.Ok="OK",n))(at||{}),dt=(n=>(n.Ok="OK",n))(dt||{}),lt=(n=>(n.Ok="OK",n))(lt||{}),gt=(n=>(n.Ok="OK",n))(gt||{}),ct=(n=>(n.Ok="OK",n))(ct||{}),pt=(n=>(n.Ok="OK",n))(pt||{}),ft=(n=>(n.Ok="OK",n))(ft||{}),ut=(n=>(n.Ok="OK",n))(ut||{}),yt=(n=>(n.Ok="OK",n))(yt||{}),bt=(t=>(t.Delayed="DELAYED",t.RealTime="REAL-TIME",t))(bt||{}),mt=(n=>(n.Indices="indices",n))(mt||{}),ht=(i=>(i.Put="put",i.Call="call",i.Other="other",i))(ht||{}),Rt=(i=>(i.American="american",i.European="european",i.Bermudan="bermudan",i))(Rt||{}),xt=(t=>(t.Delayed="DELAYED",t.RealTime="REAL-TIME",t))(xt||{}),At=(t=>(t.Delayed="DELAYED",t.RealTime="REAL-TIME",t))(At||{}),kt=(n=>(n.Ok="OK",n))(kt||{}),_t=(e=>(e.Stocks="stocks",e.Crypto="crypto",e.Options="options",e.Fx="fx",e))(_t||{}),Gt=(i=>(i.Put="put",i.Call="call",i.Other="other",i))(Gt||{}),Vt=(i=>(i.American="american",i.European="european",i.Bermudan="bermudan",i))(Vt||{}),Ot=(t=>(t.Delayed="DELAYED",t.RealTime="REAL-TIME",t))(Ot||{}),Ct=(s=>(s.Stocks="stocks",s.Options="options",s.Fx="fx",s.Crypto="crypto",s.Indices="indices",s))(Ct||{}),St=(i=>(i.Put="put",i.Call="call",i.Other="other",i))(St||{}),wt=(i=>(i.American="american",i.European="european",i.Bermudan="bermudan",i))(wt||{}),vt=(t=>(t.Delayed="DELAYED",t.RealTime="REAL-TIME",t))(vt||{}),It=(t=>(t.Delayed="DELAYED",t.RealTime="REAL-TIME",t))(It||{}),Lt=(t=>(t.Delayed="DELAYED",t.RealTime="REAL-TIME",t))(Lt||{}),Dt=(n=>(n.Ok="OK",n))(Dt||{}),Tt=(n=>(n.Ok="OK",n))(Tt||{}),Ft=(n=>(n.Ok="OK",n))(Ft||{}),Bt=(n=>(n.Ok="OK",n))(Bt||{}),Ut=(n=>(n.Ok="OK",n))(Ut||{}),zt=(n=>(n.Ok="OK",n))(zt||{}),Qt=(n=>(n.Ok="OK",n))(Qt||{}),Et=(n=>(n.Ok="OK",n))(Et||{}),Mt=(n=>(n.Ok="OK",n))(Mt||{}),Ht=(n=>(n.Ok="OK",n))(Ht||{}),jt=(n=>(n.Ok="OK",n))(jt||{}),Kt=(n=>(n.Ok="OK",n))(Kt||{}),Nt=(n=>(n.Ok="OK",n))(Nt||{}),Xt=(n=>(n.Ok="OK",n))(Xt||{}),$t=(t=>(t.Us="us",t.Global="global",t))($t||{}),Yt=(s=>(s.Stocks="stocks",s.Crypto="crypto",s.Fx="fx",s.Otc="otc",s.Indices="indices",s))(Yt||{}),Wt=(n=>(n.Ok="OK",n))(Wt||{}),Jt=(n=>(n.Ok="OK",n))(Jt||{}),Zt=(e=>(e.Stocks="stocks",e.Options="options",e.Crypto="crypto",e.Fx="fx",e))(Zt||{}),qt=(i=>(i.Trade="trade",i.Bbo="bbo",i.Nbbo="nbbo",i))(qt||{}),Pt=(d=>(d.SaleCondition="sale_condition",d.QuoteCondition="quote_condition",d.SipGeneratedFlag="sip_generated_flag",d.FinancialStatusIndicator="financial_status_indicator",d.ShortSaleRestrictionIndicator="short_sale_restriction_indicator",d.SettlementCondition="settlement_condition",d.MarketCondition="market_condition",d.TradeThruExempt="trade_thru_exempt",d))(Pt||{}),ni=(e=>(e.Cd="CD",e.Sc="SC",e.Lt="LT",e.St="ST",e))(ni||{}),ei=(s=>(s.Stocks="stocks",s.Options="options",s.Crypto="crypto",s.Fx="fx",s.Futures="futures",s))(ei||{}),ti=(t=>(t.Us="us",t.Global="global",t))(ti||{}),ii=(i=>(i.Exchange="exchange",i.Trf="TRF",i.Sip="SIP",i))(ii||{}),si=(r=>(r.DirectListingProcess="direct_listing_process",r.History="history",r.New="new",r.Pending="pending",r.Postponed="postponed",r.Rumor="rumor",r.Withdrawn="withdrawn",r))(si||{}),oi=(i=>(i.Positive="positive",i.Neutral="neutral",i.Negative="negative",i))(oi||{}),ri=(i=>(i.American="american",i.European="european",i.Bermudan="bermudan",i))(ri||{}),ai=(s=>(s.Stocks="stocks",s.Options="options",s.Crypto="crypto",s.Fx="fx",s.Indices="indices",s))(ai||{}),di=(t=>(t.Us="us",t.Global="global",t))(di||{}),li=(t=>(t.Us="us",t.Global="global",t))(li||{}),gi=(s=>(s.Stocks="stocks",s.Crypto="crypto",s.Fx="fx",s.Otc="otc",s.Indices="indices",s))(gi||{}),ci=(e=>(e.String="string",e.Int="int",e.Int64="int64",e.Float64="float64",e))(ci||{}),pi=function(a){return{deprecatedGetCryptoSnapshotTickerBook:async(n,t={})=>{$("deprecatedGetCryptoSnapshotTickerBook","ticker",n);let i="/v2/snapshot/locale/global/markets/crypto/tickers/{ticker}/book".replace("{ticker}",encodeURIComponent(String(n))),e=new URL(i,B),s;a&&(s=a.baseOptions);let o={method:"GET",...s,...t},r={},d={};await U(d,"apiKey",a),z(e,d);let l=s&&s.headers?s.headers:{};return o.headers={...r,...l,...t.headers},{url:Q(e),options:o}},deprecatedGetHistoricCryptoTrades:async(n,t,i,e,s,o={})=>{$("deprecatedGetHistoricCryptoTrades","from",n),$("deprecatedGetHistoricCryptoTrades","to",t),$("deprecatedGetHistoricCryptoTrades","date",i);let r="/v1/historic/crypto/{from}/{to}/{date}".replace("{from}",encodeURIComponent(String(n))).replace("{to}",encodeURIComponent(String(t))).replace("{date}",encodeURIComponent(String(i))),d=new URL(r,B),l;a&&(l=a.baseOptions);let g={method:"GET",...l,...o},b={},p={};await U(p,"apiKey",a),e!==void 0&&(p.offset=e),s!==void 0&&(p.limit=s),z(d,p);let f=l&&l.headers?l.headers:{};return g.headers={...b,...f,...o.headers},{url:Q(d),options:g}},deprecatedGetHistoricForexQuotes:async(n,t,i,e,s,o={})=>{$("deprecatedGetHistoricForexQuotes","from",n),$("deprecatedGetHistoricForexQuotes","to",t),$("deprecatedGetHistoricForexQuotes","date",i);let r="/v1/historic/forex/{from}/{to}/{date}".replace("{from}",encodeURIComponent(String(n))).replace("{to}",encodeURIComponent(String(t))).replace("{date}",encodeURIComponent(String(i))),d=new URL(r,B),l;a&&(l=a.baseOptions);let g={method:"GET",...l,...o},b={},p={};await U(p,"apiKey",a),e!==void 0&&(p.offset=e),s!==void 0&&(p.limit=s),z(d,p);let f=l&&l.headers?l.headers:{};return g.headers={...b,...f,...o.headers},{url:Q(d),options:g}},deprecatedGetHistoricStocksQuotes:async(n,t,i,e,s,o,r={})=>{$("deprecatedGetHistoricStocksQuotes","ticker",n),$("deprecatedGetHistoricStocksQuotes","date",t);let d="/v2/ticks/stocks/nbbo/{ticker}/{date}".replace("{ticker}",encodeURIComponent(String(n))).replace("{date}",encodeURIComponent(String(t))),l=new URL(d,B),g;a&&(g=a.baseOptions);let b={method:"GET",...g,...r},p={},f={};await U(f,"apiKey",a),i!==void 0&&(f.timestamp=i),e!==void 0&&(f.timestampLimit=e),s!==void 0&&(f.reverse=s),o!==void 0&&(f.limit=o),z(l,f);let m=g&&g.headers?g.headers:{};return b.headers={...p,...m,...r.headers},{url:Q(l),options:b}},deprecatedGetHistoricStocksTrades:async(n,t,i,e,s,o,r={})=>{$("deprecatedGetHistoricStocksTrades","ticker",n),$("deprecatedGetHistoricStocksTrades","date",t);let d="/v2/ticks/stocks/trades/{ticker}/{date}".replace("{ticker}",encodeURIComponent(String(n))).replace("{date}",encodeURIComponent(String(t))),l=new URL(d,B),g;a&&(g=a.baseOptions);let b={method:"GET",...g,...r},p={},f={};await U(f,"apiKey",a),i!==void 0&&(f.timestamp=i),e!==void 0&&(f.timestampLimit=e),s!==void 0&&(f.reverse=s),o!==void 0&&(f.limit=o),z(l,f);let m=g&&g.headers?g.headers:{};return b.headers={...p,...m,...r.headers},{url:Q(l),options:b}},getBenzingaV1AnalystInsights:async(n,t,i,e,s,o,r,d,l,g,b,p,f,m,y,u,h,R,x,c,k,A,G,v,O,I,V,K,L,j,X,S,C,w,en,nn,on,sn,Y,rn,an,T,dn,pn={})=>{let fn="/benzinga/v1/analyst-insights",un=new URL(fn,B),ln;a&&(ln=a.baseOptions);let gn={method:"GET",...ln,...pn},yn={},W={};await U(W,"apiKey",a),n!==void 0&&(W.date=n),t!==void 0&&(W["date.any_of"]=t),i!==void 0&&(W["date.gt"]=i),e!==void 0&&(W["date.gte"]=e),s!==void 0&&(W["date.lt"]=s),o!==void 0&&(W["date.lte"]=o),r!==void 0&&(W.ticker=r),d!==void 0&&(W["ticker.any_of"]=d),l!==void 0&&(W["ticker.gt"]=l),g!==void 0&&(W["ticker.gte"]=g),b!==void 0&&(W["ticker.lt"]=b),p!==void 0&&(W["ticker.lte"]=p),f!==void 0&&(W.last_updated=f),m!==void 0&&(W["last_updated.gt"]=m),y!==void 0&&(W["last_updated.gte"]=y),u!==void 0&&(W["last_updated.lt"]=u),h!==void 0&&(W["last_updated.lte"]=h),R!==void 0&&(W.firm=R),x!==void 0&&(W["firm.any_of"]=x),c!==void 0&&(W["firm.gt"]=c),k!==void 0&&(W["firm.gte"]=k),A!==void 0&&(W["firm.lt"]=A),G!==void 0&&(W["firm.lte"]=G),v!==void 0&&(W.rating_action=v),O!==void 0&&(W["rating_action.any_of"]=O),I!==void 0&&(W["rating_action.gt"]=I),V!==void 0&&(W["rating_action.gte"]=V),K!==void 0&&(W["rating_action.lt"]=K),L!==void 0&&(W["rating_action.lte"]=L),j!==void 0&&(W.benzinga_firm_id=j),X!==void 0&&(W["benzinga_firm_id.any_of"]=X),S!==void 0&&(W["benzinga_firm_id.gt"]=S),C!==void 0&&(W["benzinga_firm_id.gte"]=C),w!==void 0&&(W["benzinga_firm_id.lt"]=w),en!==void 0&&(W["benzinga_firm_id.lte"]=en),nn!==void 0&&(W.benzinga_rating_id=nn),on!==void 0&&(W["benzinga_rating_id.any_of"]=on),sn!==void 0&&(W["benzinga_rating_id.gt"]=sn),Y!==void 0&&(W["benzinga_rating_id.gte"]=Y),rn!==void 0&&(W["benzinga_rating_id.lt"]=rn),an!==void 0&&(W["benzinga_rating_id.lte"]=an),T!==void 0&&(W.limit=T),dn!==void 0&&(W.sort=dn),z(un,W);let J=ln&&ln.headers?ln.headers:{};return gn.headers={...yn,...J,...pn.headers},{url:Q(un),options:gn}},getBenzingaV1Analysts:async(n,t,i,e,s,o,r,d,l,g,b,p,f,m,y,u,h,R,x,c,k,A,G,v,O,I,V={})=>{let K="/benzinga/v1/analysts",L=new URL(K,B),j;a&&(j=a.baseOptions);let X={method:"GET",...j,...V},S={},C={};await U(C,"apiKey",a),n!==void 0&&(C.benzinga_id=n),t!==void 0&&(C["benzinga_id.any_of"]=t),i!==void 0&&(C["benzinga_id.gt"]=i),e!==void 0&&(C["benzinga_id.gte"]=e),s!==void 0&&(C["benzinga_id.lt"]=s),o!==void 0&&(C["benzinga_id.lte"]=o),r!==void 0&&(C.benzinga_firm_id=r),d!==void 0&&(C["benzinga_firm_id.any_of"]=d),l!==void 0&&(C["benzinga_firm_id.gt"]=l),g!==void 0&&(C["benzinga_firm_id.gte"]=g),b!==void 0&&(C["benzinga_firm_id.lt"]=b),p!==void 0&&(C["benzinga_firm_id.lte"]=p),f!==void 0&&(C.firm_name=f),m!==void 0&&(C["firm_name.any_of"]=m),y!==void 0&&(C["firm_name.gt"]=y),u!==void 0&&(C["firm_name.gte"]=u),h!==void 0&&(C["firm_name.lt"]=h),R!==void 0&&(C["firm_name.lte"]=R),x!==void 0&&(C.full_name=x),c!==void 0&&(C["full_name.any_of"]=c),k!==void 0&&(C["full_name.gt"]=k),A!==void 0&&(C["full_name.gte"]=A),G!==void 0&&(C["full_name.lt"]=G),v!==void 0&&(C["full_name.lte"]=v),O!==void 0&&(C.limit=O),I!==void 0&&(C.sort=I),z(L,C);let w=j&&j.headers?j.headers:{};return X.headers={...S,...w,...V.headers},{url:Q(L),options:X}},getBenzingaV1BullsBearsSay:async(n,t,i,e,s,o,r,d,l,g,b,p,f,m,y,u,h,R,x,c={})=>{let k="/benzinga/v1/bulls-bears-say",A=new URL(k,B),G;a&&(G=a.baseOptions);let v={method:"GET",...G,...c},O={},I={};await U(I,"apiKey",a),n!==void 0&&(I.ticker=n),t!==void 0&&(I["ticker.any_of"]=t),i!==void 0&&(I["ticker.gt"]=i),e!==void 0&&(I["ticker.gte"]=e),s!==void 0&&(I["ticker.lt"]=s),o!==void 0&&(I["ticker.lte"]=o),r!==void 0&&(I.benzinga_id=r),d!==void 0&&(I["benzinga_id.any_of"]=d),l!==void 0&&(I["benzinga_id.gt"]=l),g!==void 0&&(I["benzinga_id.gte"]=g),b!==void 0&&(I["benzinga_id.lt"]=b),p!==void 0&&(I["benzinga_id.lte"]=p),f!==void 0&&(I.last_updated=f),m!==void 0&&(I["last_updated.gt"]=m),y!==void 0&&(I["last_updated.gte"]=y),u!==void 0&&(I["last_updated.lt"]=u),h!==void 0&&(I["last_updated.lte"]=h),R!==void 0&&(I.limit=R),x!==void 0&&(I.sort=x),z(A,I);let V=G&&G.headers?G.headers:{};return v.headers={...O,...V,...c.headers},{url:Q(A),options:v}},getBenzingaV1ConsensusRatings:async(n,t,i,e,s,o,r,d,l={})=>{$("getBenzingaV1ConsensusRatings","ticker",n);let g="/benzinga/v1/consensus-ratings/{ticker}".replace("{ticker}",encodeURIComponent(String(n))),b=new URL(g,B),p;a&&(p=a.baseOptions);let f={method:"GET",...p,...l},m={},y={};await U(y,"apiKey",a),t!==void 0&&(y.date=t),i!==void 0&&(y["date.any_of"]=i),e!==void 0&&(y["date.gt"]=e),s!==void 0&&(y["date.gte"]=s),o!==void 0&&(y["date.lt"]=o),r!==void 0&&(y["date.lte"]=r),d!==void 0&&(y.limit=d),z(b,y);let u=p&&p.headers?p.headers:{};return f.headers={...m,...u,...l.headers},{url:Q(b),options:f}},getBenzingaV1Earnings:async(n,t,i,e,s,o,r,d,l,g,b,p,f,m,y,u,h,R,x,c,k,A,G,v,O,I,V,K,L,j,X,S,C,w,en,nn,on,sn,Y,rn,an,T,dn,pn,fn,un,ln,gn,yn,W,J,bn,cn,mn,Z,_,hn={})=>{let Rn="/benzinga/v1/earnings",An=new URL(Rn,B),xn;a&&(xn=a.baseOptions);let P={method:"GET",...xn,...hn},kn={},tn={};await U(tn,"apiKey",a),n!==void 0&&(tn.date=n),t!==void 0&&(tn["date.any_of"]=t),i!==void 0&&(tn["date.gt"]=i),e!==void 0&&(tn["date.gte"]=e),s!==void 0&&(tn["date.lt"]=s),o!==void 0&&(tn["date.lte"]=o),r!==void 0&&(tn.ticker=r),d!==void 0&&(tn["ticker.any_of"]=d),l!==void 0&&(tn["ticker.gt"]=l),g!==void 0&&(tn["ticker.gte"]=g),b!==void 0&&(tn["ticker.lt"]=b),p!==void 0&&(tn["ticker.lte"]=p),f!==void 0&&(tn.importance=f),m!==void 0&&(tn["importance.any_of"]=m),y!==void 0&&(tn["importance.gt"]=y),u!==void 0&&(tn["importance.gte"]=u),h!==void 0&&(tn["importance.lt"]=h),R!==void 0&&(tn["importance.lte"]=R),x!==void 0&&(tn.last_updated=x),c!==void 0&&(tn["last_updated.any_of"]=c),k!==void 0&&(tn["last_updated.gt"]=k),A!==void 0&&(tn["last_updated.gte"]=A),G!==void 0&&(tn["last_updated.lt"]=G),v!==void 0&&(tn["last_updated.lte"]=v),O!==void 0&&(tn.date_status=O),I!==void 0&&(tn["date_status.any_of"]=I),V!==void 0&&(tn["date_status.gt"]=V),K!==void 0&&(tn["date_status.gte"]=K),L!==void 0&&(tn["date_status.lt"]=L),j!==void 0&&(tn["date_status.lte"]=j),X!==void 0&&(tn.eps_surprise_percent=X),S!==void 0&&(tn["eps_surprise_percent.any_of"]=S),C!==void 0&&(tn["eps_surprise_percent.gt"]=C),w!==void 0&&(tn["eps_surprise_percent.gte"]=w),en!==void 0&&(tn["eps_surprise_percent.lt"]=en),nn!==void 0&&(tn["eps_surprise_percent.lte"]=nn),on!==void 0&&(tn.revenue_surprise_percent=on),sn!==void 0&&(tn["revenue_surprise_percent.any_of"]=sn),Y!==void 0&&(tn["revenue_surprise_percent.gt"]=Y),rn!==void 0&&(tn["revenue_surprise_percent.gte"]=rn),an!==void 0&&(tn["revenue_surprise_percent.lt"]=an),T!==void 0&&(tn["revenue_surprise_percent.lte"]=T),dn!==void 0&&(tn.fiscal_year=dn),pn!==void 0&&(tn["fiscal_year.any_of"]=pn),fn!==void 0&&(tn["fiscal_year.gt"]=fn),un!==void 0&&(tn["fiscal_year.gte"]=un),ln!==void 0&&(tn["fiscal_year.lt"]=ln),gn!==void 0&&(tn["fiscal_year.lte"]=gn),yn!==void 0&&(tn.fiscal_period=yn),W!==void 0&&(tn["fiscal_period.any_of"]=W),J!==void 0&&(tn["fiscal_period.gt"]=J),bn!==void 0&&(tn["fiscal_period.gte"]=bn),cn!==void 0&&(tn["fiscal_period.lt"]=cn),mn!==void 0&&(tn["fiscal_period.lte"]=mn),Z!==void 0&&(tn.limit=Z),_!==void 0&&(tn.sort=_),z(An,tn);let Vn=xn&&xn.headers?xn.headers:{};return P.headers={...kn,...Vn,...hn.headers},{url:Q(An),options:P}},getBenzingaV1Firms:async(n,t,i,e,s,o,r,d,l={})=>{let g="/benzinga/v1/firms",b=new URL(g,B),p;a&&(p=a.baseOptions);let f={method:"GET",...p,...l},m={},y={};await U(y,"apiKey",a),n!==void 0&&(y.benzinga_id=n),t!==void 0&&(y["benzinga_id.any_of"]=t),i!==void 0&&(y["benzinga_id.gt"]=i),e!==void 0&&(y["benzinga_id.gte"]=e),s!==void 0&&(y["benzinga_id.lt"]=s),o!==void 0&&(y["benzinga_id.lte"]=o),r!==void 0&&(y.limit=r),d!==void 0&&(y.sort=d),z(b,y);let u=p&&p.headers?p.headers:{};return f.headers={...m,...u,...l.headers},{url:Q(b),options:f}},getBenzingaV1Guidance:async(n,t,i,e,s,o,r,d,l,g,b,p,f,m,y,u,h,R,x,c,k,A,G,v,O,I,V,K,L,j,X,S,C,w,en,nn,on,sn,Y,rn,an,T,dn,pn,fn={})=>{let un="/benzinga/v1/guidance",ln=new URL(un,B),gn;a&&(gn=a.baseOptions);let yn={method:"GET",...gn,...fn},W={},J={};await U(J,"apiKey",a),n!==void 0&&(J.date=n),t!==void 0&&(J["date.any_of"]=t),i!==void 0&&(J["date.gt"]=i),e!==void 0&&(J["date.gte"]=e),s!==void 0&&(J["date.lt"]=s),o!==void 0&&(J["date.lte"]=o),r!==void 0&&(J.ticker=r),d!==void 0&&(J["ticker.any_of"]=d),l!==void 0&&(J["ticker.gt"]=l),g!==void 0&&(J["ticker.gte"]=g),b!==void 0&&(J["ticker.lt"]=b),p!==void 0&&(J["ticker.lte"]=p),f!==void 0&&(J.positioning=f),m!==void 0&&(J["positioning.any_of"]=m),y!==void 0&&(J["positioning.gt"]=y),u!==void 0&&(J["positioning.gte"]=u),h!==void 0&&(J["positioning.lt"]=h),R!==void 0&&(J["positioning.lte"]=R),x!==void 0&&(J.importance=x),c!==void 0&&(J["importance.any_of"]=c),k!==void 0&&(J["importance.gt"]=k),A!==void 0&&(J["importance.gte"]=A),G!==void 0&&(J["importance.lt"]=G),v!==void 0&&(J["importance.lte"]=v),O!==void 0&&(J.last_updated=O),I!==void 0&&(J["last_updated.any_of"]=I),V!==void 0&&(J["last_updated.gt"]=V),K!==void 0&&(J["last_updated.gte"]=K),L!==void 0&&(J["last_updated.lt"]=L),j!==void 0&&(J["last_updated.lte"]=j),X!==void 0&&(J.fiscal_year=X),S!==void 0&&(J["fiscal_year.any_of"]=S),C!==void 0&&(J["fiscal_year.gt"]=C),w!==void 0&&(J["fiscal_year.gte"]=w),en!==void 0&&(J["fiscal_year.lt"]=en),nn!==void 0&&(J["fiscal_year.lte"]=nn),on!==void 0&&(J.fiscal_period=on),sn!==void 0&&(J["fiscal_period.any_of"]=sn),Y!==void 0&&(J["fiscal_period.gt"]=Y),rn!==void 0&&(J["fiscal_period.gte"]=rn),an!==void 0&&(J["fiscal_period.lt"]=an),T!==void 0&&(J["fiscal_period.lte"]=T),dn!==void 0&&(J.limit=dn),pn!==void 0&&(J.sort=pn),z(ln,J);let bn=gn&&gn.headers?gn.headers:{};return yn.headers={...W,...bn,...fn.headers},{url:Q(ln),options:yn}},getBenzingaV1Ratings:async(n,t,i,e,s,o,r,d,l,g,b,p,f,m,y,u,h,R,x,c,k,A,G,v,O,I,V,K,L,j,X,S,C,w,en,nn,on,sn,Y,rn,an,T,dn,pn,fn,un,ln,gn,yn,W,J,bn,cn,mn,Z={})=>{let _="/benzinga/v1/ratings",hn=new URL(_,B),Rn;a&&(Rn=a.baseOptions);let An={method:"GET",...Rn,...Z},xn={},P={};await U(P,"apiKey",a),n!==void 0&&(P.date=n),t!==void 0&&(P["date.any_of"]=t),i!==void 0&&(P["date.gt"]=i),e!==void 0&&(P["date.gte"]=e),s!==void 0&&(P["date.lt"]=s),o!==void 0&&(P["date.lte"]=o),r!==void 0&&(P.ticker=r),d!==void 0&&(P["ticker.any_of"]=d),l!==void 0&&(P["ticker.gt"]=l),g!==void 0&&(P["ticker.gte"]=g),b!==void 0&&(P["ticker.lt"]=b),p!==void 0&&(P["ticker.lte"]=p),f!==void 0&&(P.importance=f),m!==void 0&&(P["importance.gt"]=m),y!==void 0&&(P["importance.gte"]=y),u!==void 0&&(P["importance.lt"]=u),h!==void 0&&(P["importance.lte"]=h),R!==void 0&&(P.last_updated=R),x!==void 0&&(P["last_updated.gt"]=x),c!==void 0&&(P["last_updated.gte"]=c),k!==void 0&&(P["last_updated.lt"]=k),A!==void 0&&(P["last_updated.lte"]=A),G!==void 0&&(P.rating_action=G),v!==void 0&&(P["rating_action.any_of"]=v),O!==void 0&&(P["rating_action.gt"]=O),I!==void 0&&(P["rating_action.gte"]=I),V!==void 0&&(P["rating_action.lt"]=V),K!==void 0&&(P["rating_action.lte"]=K),L!==void 0&&(P.price_target_action=L),j!==void 0&&(P["price_target_action.any_of"]=j),X!==void 0&&(P["price_target_action.gt"]=X),S!==void 0&&(P["price_target_action.gte"]=S),C!==void 0&&(P["price_target_action.lt"]=C),w!==void 0&&(P["price_target_action.lte"]=w),en!==void 0&&(P.benzinga_id=en),nn!==void 0&&(P["benzinga_id.any_of"]=nn),on!==void 0&&(P["benzinga_id.gt"]=on),sn!==void 0&&(P["benzinga_id.gte"]=sn),Y!==void 0&&(P["benzinga_id.lt"]=Y),rn!==void 0&&(P["benzinga_id.lte"]=rn),an!==void 0&&(P.benzinga_analyst_id=an),T!==void 0&&(P["benzinga_analyst_id.any_of"]=T),dn!==void 0&&(P["benzinga_analyst_id.gt"]=dn),pn!==void 0&&(P["benzinga_analyst_id.gte"]=pn),fn!==void 0&&(P["benzinga_analyst_id.lt"]=fn),un!==void 0&&(P["benzinga_analyst_id.lte"]=un),ln!==void 0&&(P.benzinga_firm_id=ln),gn!==void 0&&(P["benzinga_firm_id.any_of"]=gn),yn!==void 0&&(P["benzinga_firm_id.gt"]=yn),W!==void 0&&(P["benzinga_firm_id.gte"]=W),J!==void 0&&(P["benzinga_firm_id.lt"]=J),bn!==void 0&&(P["benzinga_firm_id.lte"]=bn),cn!==void 0&&(P.limit=cn),mn!==void 0&&(P.sort=mn),z(hn,P);let kn=Rn&&Rn.headers?Rn.headers:{};return An.headers={...xn,...kn,...Z.headers},{url:Q(hn),options:An}},getBenzingaV2News:async(n,t,i,e,s,o,r,d,l,g,b,p,f,m,y,u,h,R,x,c,k,A,G,v,O,I={})=>{let V="/benzinga/v2/news",K=new URL(V,B),L;a&&(L=a.baseOptions);let j={method:"GET",...L,...I},X={},S={};await U(S,"apiKey",a),n!==void 0&&(S.published=n),t!==void 0&&(S["published.gt"]=t),i!==void 0&&(S["published.gte"]=i),e!==void 0&&(S["published.lt"]=e),s!==void 0&&(S["published.lte"]=s),o!==void 0&&(S.channels=o),r!==void 0&&(S["channels.all_of"]=r),d!==void 0&&(S["channels.any_of"]=d),l!==void 0&&(S.tags=l),g!==void 0&&(S["tags.all_of"]=g),b!==void 0&&(S["tags.any_of"]=b),p!==void 0&&(S.author=p),f!==void 0&&(S["author.any_of"]=f),m!==void 0&&(S["author.gt"]=m),y!==void 0&&(S["author.gte"]=y),u!==void 0&&(S["author.lt"]=u),h!==void 0&&(S["author.lte"]=h),R!==void 0&&(S.stocks=R),x!==void 0&&(S["stocks.all_of"]=x),c!==void 0&&(S["stocks.any_of"]=c),k!==void 0&&(S.tickers=k),A!==void 0&&(S["tickers.all_of"]=A),G!==void 0&&(S["tickers.any_of"]=G),v!==void 0&&(S.limit=v),O!==void 0&&(S.sort=O),z(K,S);let C=L&&L.headers?L.headers:{};return j.headers={...X,...C,...I.headers},{url:Q(K),options:j}},getCryptoAggregates:async(n,t,i,e,s,o,r,d,l={})=>{$("getCryptoAggregates","cryptoTicker",n),$("getCryptoAggregates","multiplier",t),$("getCryptoAggregates","timespan",i),$("getCryptoAggregates","from",e),$("getCryptoAggregates","to",s);let g="/v2/aggs/ticker/{cryptoTicker}/range/{multiplier}/{timespan}/{from}/{to}".replace("{cryptoTicker}",encodeURIComponent(String(n))).replace("{multiplier}",encodeURIComponent(String(t))).replace("{timespan}",encodeURIComponent(String(i))).replace("{from}",encodeURIComponent(String(e))).replace("{to}",encodeURIComponent(String(s))),b=new URL(g,B),p;a&&(p=a.baseOptions);let f={method:"GET",...p,...l},m={},y={};await U(y,"apiKey",a),o!==void 0&&(y.adjusted=o),r!==void 0&&(y.sort=r),d!==void 0&&(y.limit=d),z(b,y);let u=p&&p.headers?p.headers:{};return f.headers={...m,...u,...l.headers},{url:Q(b),options:f}},getCryptoEMA:async(n,t,i,e,s,o,r,d,l,g,b,p,f={})=>{$("getCryptoEMA","cryptoTicker",n);let m="/v1/indicators/ema/{cryptoTicker}".replace("{cryptoTicker}",encodeURIComponent(String(n))),y=new URL(m,B),u;a&&(u=a.baseOptions);let h={method:"GET",...u,...f},R={},x={};await U(x,"apiKey",a),t!==void 0&&(x.timestamp=t),i!==void 0&&(x.timespan=i),e!==void 0&&(x.window=e),s!==void 0&&(x.series_type=s),o!==void 0&&(x.expand_underlying=o),r!==void 0&&(x.order=r),d!==void 0&&(x.limit=d),l!==void 0&&(x["timestamp.gte"]=l),g!==void 0&&(x["timestamp.gt"]=g),b!==void 0&&(x["timestamp.lte"]=b),p!==void 0&&(x["timestamp.lt"]=p),z(y,x);let c=u&&u.headers?u.headers:{};return h.headers={...R,...c,...f.headers},{url:Q(y),options:h}},getCryptoMACD:async(n,t,i,e,s,o,r,d,l,g,b,p,f,m,y={})=>{$("getCryptoMACD","cryptoTicker",n);let u="/v1/indicators/macd/{cryptoTicker}".replace("{cryptoTicker}",encodeURIComponent(String(n))),h=new URL(u,B),R;a&&(R=a.baseOptions);let x={method:"GET",...R,...y},c={},k={};await U(k,"apiKey",a),t!==void 0&&(k.timestamp=t),i!==void 0&&(k.timespan=i),e!==void 0&&(k.short_window=e),s!==void 0&&(k.long_window=s),o!==void 0&&(k.signal_window=o),r!==void 0&&(k.series_type=r),d!==void 0&&(k.expand_underlying=d),l!==void 0&&(k.order=l),g!==void 0&&(k.limit=g),b!==void 0&&(k["timestamp.gte"]=b),p!==void 0&&(k["timestamp.gt"]=p),f!==void 0&&(k["timestamp.lte"]=f),m!==void 0&&(k["timestamp.lt"]=m),z(h,k);let A=R&&R.headers?R.headers:{};return x.headers={...c,...A,...y.headers},{url:Q(h),options:x}},getCryptoOpenClose:async(n,t,i,e,s={})=>{$("getCryptoOpenClose","from",n),$("getCryptoOpenClose","to",t),$("getCryptoOpenClose","date",i);let o="/v1/open-close/crypto/{from}/{to}/{date}".replace("{from}",encodeURIComponent(String(n))).replace("{to}",encodeURIComponent(String(t))).replace("{date}",encodeURIComponent(String(i))),r=new URL(o,B),d;a&&(d=a.baseOptions);let l={method:"GET",...d,...s},g={},b={};await U(b,"apiKey",a),e!==void 0&&(b.adjusted=e),z(r,b);let p=d&&d.headers?d.headers:{};return l.headers={...g,...p,...s.headers},{url:Q(r),options:l}},getCryptoRSI:async(n,t,i,e,s,o,r,d,l,g,b,p,f={})=>{$("getCryptoRSI","cryptoTicker",n);let m="/v1/indicators/rsi/{cryptoTicker}".replace("{cryptoTicker}",encodeURIComponent(String(n))),y=new URL(m,B),u;a&&(u=a.baseOptions);let h={method:"GET",...u,...f},R={},x={};await U(x,"apiKey",a),t!==void 0&&(x.timestamp=t),i!==void 0&&(x.timespan=i),e!==void 0&&(x.window=e),s!==void 0&&(x.series_type=s),o!==void 0&&(x.expand_underlying=o),r!==void 0&&(x.order=r),d!==void 0&&(x.limit=d),l!==void 0&&(x["timestamp.gte"]=l),g!==void 0&&(x["timestamp.gt"]=g),b!==void 0&&(x["timestamp.lte"]=b),p!==void 0&&(x["timestamp.lt"]=p),z(y,x);let c=u&&u.headers?u.headers:{};return h.headers={...R,...c,...f.headers},{url:Q(y),options:h}},getCryptoSMA:async(n,t,i,e,s,o,r,d,l,g,b,p,f={})=>{$("getCryptoSMA","cryptoTicker",n);let m="/v1/indicators/sma/{cryptoTicker}".replace("{cryptoTicker}",encodeURIComponent(String(n))),y=new URL(m,B),u;a&&(u=a.baseOptions);let h={method:"GET",...u,...f},R={},x={};await U(x,"apiKey",a),t!==void 0&&(x.timestamp=t),i!==void 0&&(x.timespan=i),e!==void 0&&(x.window=e),s!==void 0&&(x.series_type=s),o!==void 0&&(x.expand_underlying=o),r!==void 0&&(x.order=r),d!==void 0&&(x.limit=d),l!==void 0&&(x["timestamp.gte"]=l),g!==void 0&&(x["timestamp.gt"]=g),b!==void 0&&(x["timestamp.lte"]=b),p!==void 0&&(x["timestamp.lt"]=p),z(y,x);let c=u&&u.headers?u.headers:{};return h.headers={...R,...c,...f.headers},{url:Q(y),options:h}},getCryptoSnapshotDirection:async(n,t={})=>{$("getCryptoSnapshotDirection","direction",n);let i="/v2/snapshot/locale/global/markets/crypto/{direction}".replace("{direction}",encodeURIComponent(String(n))),e=new URL(i,B),s;a&&(s=a.baseOptions);let o={method:"GET",...s,...t},r={},d={};await U(d,"apiKey",a),z(e,d);let l=s&&s.headers?s.headers:{};return o.headers={...r,...l,...t.headers},{url:Q(e),options:o}},getCryptoSnapshotTicker:async(n,t={})=>{$("getCryptoSnapshotTicker","ticker",n);let i="/v2/snapshot/locale/global/markets/crypto/tickers/{ticker}".replace("{ticker}",encodeURIComponent(String(n))),e=new URL(i,B),s;a&&(s=a.baseOptions);let o={method:"GET",...s,...t},r={},d={};await U(d,"apiKey",a),z(e,d);let l=s&&s.headers?s.headers:{};return o.headers={...r,...l,...t.headers},{url:Q(e),options:o}},getCryptoSnapshotTickers:async(n,t={})=>{let i="/v2/snapshot/locale/global/markets/crypto/tickers",e=new URL(i,B),s;a&&(s=a.baseOptions);let o={method:"GET",...s,...t},r={},d={};await U(d,"apiKey",a),n&&(d.tickers=n),z(e,d);let l=s&&s.headers?s.headers:{};return o.headers={...r,...l,...t.headers},{url:Q(e),options:o}},getCryptoTrades:async(n,t,i,e,s,o,r,d,l,g={})=>{$("getCryptoTrades","cryptoTicker",n);let b="/v3/trades/{cryptoTicker}".replace("{cryptoTicker}",encodeURIComponent(String(n))),p=new URL(b,B),f;a&&(f=a.baseOptions);let m={method:"GET",...f,...g},y={},u={};await U(u,"apiKey",a),t!==void 0&&(u.timestamp=t),i!==void 0&&(u["timestamp.gte"]=i),e!==void 0&&(u["timestamp.gt"]=e),s!==void 0&&(u["timestamp.lte"]=s),o!==void 0&&(u["timestamp.lt"]=o),r!==void 0&&(u.order=r),d!==void 0&&(u.limit=d),l!==void 0&&(u.sort=l),z(p,u);let h=f&&f.headers?f.headers:{};return m.headers={...y,...h,...g.headers},{url:Q(p),options:m}},getCryptoV1Exchanges:async(n,t={})=>{let i="/crypto/v1/exchanges",e=new URL(i,B),s;a&&(s=a.baseOptions);let o={method:"GET",...s,...t},r={},d={};await U(d,"apiKey",a),n!==void 0&&(d.limit=n),z(e,d);let l=s&&s.headers?s.headers:{};return o.headers={...r,...l,...t.headers},{url:Q(e),options:o}},getCurrencyConversion:async(n,t,i,e,s={})=>{$("getCurrencyConversion","from",n),$("getCurrencyConversion","to",t);let o="/v1/conversion/{from}/{to}".replace("{from}",encodeURIComponent(String(n))).replace("{to}",encodeURIComponent(String(t))),r=new URL(o,B),d;a&&(d=a.baseOptions);let l={method:"GET",...d,...s},g={},b={};await U(b,"apiKey",a),i!==void 0&&(b.amount=i),e!==void 0&&(b.precision=e),z(r,b);let p=d&&d.headers?d.headers:{};return l.headers={...g,...p,...s.headers},{url:Q(r),options:l}},getEtfGlobalV1Analytics:async(n,t,i,e,s,o,r,d,l,g,b,p,f,m,y,u,h,R,x,c,k,A,G,v,O,I,V,K,L,j,X,S,C,w,en,nn,on,sn,Y,rn,an,T,dn,pn,fn,un,ln,gn,yn,W,J,bn,cn,mn,Z,_,hn,Rn,An,xn,P,kn,tn,Vn,On,Cn,Sn,wn,vn,In={})=>{let Tn="/etf-global/v1/analytics",Ln=new URL(Tn,B),_n;a&&(_n=a.baseOptions);let Dn={method:"GET",..._n,...In},Fn={},q={};await U(q,"apiKey",a),n!==void 0&&(q.composite_ticker=n),t!==void 0&&(q["composite_ticker.any_of"]=t),i!==void 0&&(q["composite_ticker.gt"]=i),e!==void 0&&(q["composite_ticker.gte"]=e),s!==void 0&&(q["composite_ticker.lt"]=s),o!==void 0&&(q["composite_ticker.lte"]=o),r!==void 0&&(q.processed_date=r),d!==void 0&&(q["processed_date.gt"]=d),l!==void 0&&(q["processed_date.gte"]=l),g!==void 0&&(q["processed_date.lt"]=g),b!==void 0&&(q["processed_date.lte"]=b),p!==void 0&&(q.effective_date=p),f!==void 0&&(q["effective_date.gt"]=f),m!==void 0&&(q["effective_date.gte"]=m),y!==void 0&&(q["effective_date.lt"]=y),u!==void 0&&(q["effective_date.lte"]=u),h!==void 0&&(q.risk_total_score=h),R!==void 0&&(q["risk_total_score.gt"]=R),x!==void 0&&(q["risk_total_score.gte"]=x),c!==void 0&&(q["risk_total_score.lt"]=c),k!==void 0&&(q["risk_total_score.lte"]=k),A!==void 0&&(q.reward_score=A),G!==void 0&&(q["reward_score.gt"]=G),v!==void 0&&(q["reward_score.gte"]=v),O!==void 0&&(q["reward_score.lt"]=O),I!==void 0&&(q["reward_score.lte"]=I),V!==void 0&&(q.quant_total_score=V),K!==void 0&&(q["quant_total_score.gt"]=K),L!==void 0&&(q["quant_total_score.gte"]=L),j!==void 0&&(q["quant_total_score.lt"]=j),X!==void 0&&(q["quant_total_score.lte"]=X),S!==void 0&&(q.quant_grade=S),C!==void 0&&(q["quant_grade.any_of"]=C),w!==void 0&&(q["quant_grade.gt"]=w),en!==void 0&&(q["quant_grade.gte"]=en),nn!==void 0&&(q["quant_grade.lt"]=nn),on!==void 0&&(q["quant_grade.lte"]=on),sn!==void 0&&(q.quant_composite_technical=sn),Y!==void 0&&(q["quant_composite_technical.gt"]=Y),rn!==void 0&&(q["quant_composite_technical.gte"]=rn),an!==void 0&&(q["quant_composite_technical.lt"]=an),T!==void 0&&(q["quant_composite_technical.lte"]=T),dn!==void 0&&(q.quant_composite_sentiment=dn),pn!==void 0&&(q["quant_composite_sentiment.gt"]=pn),fn!==void 0&&(q["quant_composite_sentiment.gte"]=fn),un!==void 0&&(q["quant_composite_sentiment.lt"]=un),ln!==void 0&&(q["quant_composite_sentiment.lte"]=ln),gn!==void 0&&(q.quant_composite_behavioral=gn),yn!==void 0&&(q["quant_composite_behavioral.gt"]=yn),W!==void 0&&(q["quant_composite_behavioral.gte"]=W),J!==void 0&&(q["quant_composite_behavioral.lt"]=J),bn!==void 0&&(q["quant_composite_behavioral.lte"]=bn),cn!==void 0&&(q.quant_composite_fundamental=cn),mn!==void 0&&(q["quant_composite_fundamental.gt"]=mn),Z!==void 0&&(q["quant_composite_fundamental.gte"]=Z),_!==void 0&&(q["quant_composite_fundamental.lt"]=_),hn!==void 0&&(q["quant_composite_fundamental.lte"]=hn),Rn!==void 0&&(q.quant_composite_global=Rn),An!==void 0&&(q["quant_composite_global.gt"]=An),xn!==void 0&&(q["quant_composite_global.gte"]=xn),P!==void 0&&(q["quant_composite_global.lt"]=P),kn!==void 0&&(q["quant_composite_global.lte"]=kn),tn!==void 0&&(q.quant_composite_quality=tn),Vn!==void 0&&(q["quant_composite_quality.gt"]=Vn),On!==void 0&&(q["quant_composite_quality.gte"]=On),Cn!==void 0&&(q["quant_composite_quality.lt"]=Cn),Sn!==void 0&&(q["quant_composite_quality.lte"]=Sn),wn!==void 0&&(q.limit=wn),vn!==void 0&&(q.sort=vn),z(Ln,q);let Un=_n&&_n.headers?_n.headers:{};return Dn.headers={...Fn,...Un,...In.headers},{url:Q(Ln),options:Dn}},getEtfGlobalV1Constituents:async(n,t,i,e,s,o,r,d,l,g,b,p,f,m,y,u,h,R,x,c,k,A,G,v,O,I,V,K,L,j,X,S,C,w,en,nn,on,sn,Y,rn,an,T,dn,pn,fn,un,ln,gn,yn={})=>{let W="/etf-global/v1/constituents",J=new URL(W,B),bn;a&&(bn=a.baseOptions);let cn={method:"GET",...bn,...yn},mn={},Z={};await U(Z,"apiKey",a),n!==void 0&&(Z.composite_ticker=n),t!==void 0&&(Z["composite_ticker.any_of"]=t),i!==void 0&&(Z["composite_ticker.gt"]=i),e!==void 0&&(Z["composite_ticker.gte"]=e),s!==void 0&&(Z["composite_ticker.lt"]=s),o!==void 0&&(Z["composite_ticker.lte"]=o),r!==void 0&&(Z.constituent_ticker=r),d!==void 0&&(Z["constituent_ticker.any_of"]=d),l!==void 0&&(Z["constituent_ticker.gt"]=l),g!==void 0&&(Z["constituent_ticker.gte"]=g),b!==void 0&&(Z["constituent_ticker.lt"]=b),p!==void 0&&(Z["constituent_ticker.lte"]=p),f!==void 0&&(Z.effective_date=f),m!==void 0&&(Z["effective_date.gt"]=m),y!==void 0&&(Z["effective_date.gte"]=y),u!==void 0&&(Z["effective_date.lt"]=u),h!==void 0&&(Z["effective_date.lte"]=h),R!==void 0&&(Z.processed_date=R),x!==void 0&&(Z["processed_date.gt"]=x),c!==void 0&&(Z["processed_date.gte"]=c),k!==void 0&&(Z["processed_date.lt"]=k),A!==void 0&&(Z["processed_date.lte"]=A),G!==void 0&&(Z.us_code=G),v!==void 0&&(Z["us_code.any_of"]=v),O!==void 0&&(Z["us_code.gt"]=O),I!==void 0&&(Z["us_code.gte"]=I),V!==void 0&&(Z["us_code.lt"]=V),K!==void 0&&(Z["us_code.lte"]=K),L!==void 0&&(Z.isin=L),j!==void 0&&(Z["isin.any_of"]=j),X!==void 0&&(Z["isin.gt"]=X),S!==void 0&&(Z["isin.gte"]=S),C!==void 0&&(Z["isin.lt"]=C),w!==void 0&&(Z["isin.lte"]=w),en!==void 0&&(Z.figi=en),nn!==void 0&&(Z["figi.any_of"]=nn),on!==void 0&&(Z["figi.gt"]=on),sn!==void 0&&(Z["figi.gte"]=sn),Y!==void 0&&(Z["figi.lt"]=Y),rn!==void 0&&(Z["figi.lte"]=rn),an!==void 0&&(Z.sedol=an),T!==void 0&&(Z["sedol.any_of"]=T),dn!==void 0&&(Z["sedol.gt"]=dn),pn!==void 0&&(Z["sedol.gte"]=pn),fn!==void 0&&(Z["sedol.lt"]=fn),un!==void 0&&(Z["sedol.lte"]=un),ln!==void 0&&(Z.limit=ln),gn!==void 0&&(Z.sort=gn),z(J,Z);let _=bn&&bn.headers?bn.headers:{};return cn.headers={...mn,..._,...yn.headers},{url:Q(J),options:cn}},getEtfGlobalV1FundFlows:async(n,t,i,e,s,o,r,d,l,g,b,p,f,m,y,u,h,R,x={})=>{let c="/etf-global/v1/fund-flows",k=new URL(c,B),A;a&&(A=a.baseOptions);let G={method:"GET",...A,...x},v={},O={};await U(O,"apiKey",a),n!==void 0&&(O.processed_date=n),t!==void 0&&(O["processed_date.gt"]=t),i!==void 0&&(O["processed_date.gte"]=i),e!==void 0&&(O["processed_date.lt"]=e),s!==void 0&&(O["processed_date.lte"]=s),o!==void 0&&(O.effective_date=o),r!==void 0&&(O["effective_date.gt"]=r),d!==void 0&&(O["effective_date.gte"]=d),l!==void 0&&(O["effective_date.lt"]=l),g!==void 0&&(O["effective_date.lte"]=g),b!==void 0&&(O.composite_ticker=b),p!==void 0&&(O["composite_ticker.any_of"]=p),f!==void 0&&(O["composite_ticker.gt"]=f),m!==void 0&&(O["composite_ticker.gte"]=m),y!==void 0&&(O["composite_ticker.lt"]=y),u!==void 0&&(O["composite_ticker.lte"]=u),h!==void 0&&(O.limit=h),R!==void 0&&(O.sort=R),z(k,O);let I=A&&A.headers?A.headers:{};return G.headers={...v,...I,...x.headers},{url:Q(k),options:G}},getEtfGlobalV1Profiles:async(n,t,i,e,s,o,r,d,l,g,b,p,f,m,y,u,h,R,x={})=>{let c="/etf-global/v1/profiles",k=new URL(c,B),A;a&&(A=a.baseOptions);let G={method:"GET",...A,...x},v={},O={};await U(O,"apiKey",a),n!==void 0&&(O.processed_date=n),t!==void 0&&(O["processed_date.gt"]=t),i!==void 0&&(O["processed_date.gte"]=i),e!==void 0&&(O["processed_date.lt"]=e),s!==void 0&&(O["processed_date.lte"]=s),o!==void 0&&(O.effective_date=o),r!==void 0&&(O["effective_date.gt"]=r),d!==void 0&&(O["effective_date.gte"]=d),l!==void 0&&(O["effective_date.lt"]=l),g!==void 0&&(O["effective_date.lte"]=g),b!==void 0&&(O.composite_ticker=b),p!==void 0&&(O["composite_ticker.any_of"]=p),f!==void 0&&(O["composite_ticker.gt"]=f),m!==void 0&&(O["composite_ticker.gte"]=m),y!==void 0&&(O["composite_ticker.lt"]=y),u!==void 0&&(O["composite_ticker.lte"]=u),h!==void 0&&(O.limit=h),R!==void 0&&(O.sort=R),z(k,O);let I=A&&A.headers?A.headers:{};return G.headers={...v,...I,...x.headers},{url:Q(k),options:G}},getEtfGlobalV1Taxonomies:async(n,t,i,e,s,o,r,d,l,g,b,p,f,m,y,u,h,R,x={})=>{let c="/etf-global/v1/taxonomies",k=new URL(c,B),A;a&&(A=a.baseOptions);let G={method:"GET",...A,...x},v={},O={};await U(O,"apiKey",a),n!==void 0&&(O.processed_date=n),t!==void 0&&(O["processed_date.gt"]=t),i!==void 0&&(O["processed_date.gte"]=i),e!==void 0&&(O["processed_date.lt"]=e),s!==void 0&&(O["processed_date.lte"]=s),o!==void 0&&(O.effective_date=o),r!==void 0&&(O["effective_date.gt"]=r),d!==void 0&&(O["effective_date.gte"]=d),l!==void 0&&(O["effective_date.lt"]=l),g!==void 0&&(O["effective_date.lte"]=g),b!==void 0&&(O.composite_ticker=b),p!==void 0&&(O["composite_ticker.any_of"]=p),f!==void 0&&(O["composite_ticker.gt"]=f),m!==void 0&&(O["composite_ticker.gte"]=m),y!==void 0&&(O["composite_ticker.lt"]=y),u!==void 0&&(O["composite_ticker.lte"]=u),h!==void 0&&(O.limit=h),R!==void 0&&(O.sort=R),z(k,O);let I=A&&A.headers?A.headers:{};return G.headers={...v,...I,...x.headers},{url:Q(k),options:G}},getEvents:async(n,t,i={})=>{$("getEvents","id",n);let e="/vX/reference/tickers/{id}/events".replace("{id}",encodeURIComponent(String(n))),s=new URL(e,B),o;a&&(o=a.baseOptions);let r={method:"GET",...o,...i},d={},l={};await U(l,"apiKey",a),t!==void 0&&(l.types=t),z(s,l);let g=o&&o.headers?o.headers:{};return r.headers={...d,...g,...i.headers},{url:Q(s),options:r}},getFedV1Inflation:async(n,t,i,e,s,o,r,d,l={})=>{let g="/fed/v1/inflation",b=new URL(g,B),p;a&&(p=a.baseOptions);let f={method:"GET",...p,...l},m={},y={};await U(y,"apiKey",a),n!==void 0&&(y.date=n),t!==void 0&&(y["date.any_of"]=t),i!==void 0&&(y["date.gt"]=i),e!==void 0&&(y["date.gte"]=e),s!==void 0&&(y["date.lt"]=s),o!==void 0&&(y["date.lte"]=o),r!==void 0&&(y.limit=r),d!==void 0&&(y.sort=d),z(b,y);let u=p&&p.headers?p.headers:{};return f.headers={...m,...u,...l.headers},{url:Q(b),options:f}},getFedV1InflationExpectations:async(n,t,i,e,s,o,r,d,l={})=>{let g="/fed/v1/inflation-expectations",b=new URL(g,B),p;a&&(p=a.baseOptions);let f={method:"GET",...p,...l},m={},y={};await U(y,"apiKey",a),n!==void 0&&(y.date=n),t!==void 0&&(y["date.any_of"]=t),i!==void 0&&(y["date.gt"]=i),e!==void 0&&(y["date.gte"]=e),s!==void 0&&(y["date.lt"]=s),o!==void 0&&(y["date.lte"]=o),r!==void 0&&(y.limit=r),d!==void 0&&(y.sort=d),z(b,y);let u=p&&p.headers?p.headers:{};return f.headers={...m,...u,...l.headers},{url:Q(b),options:f}},getFedV1LaborMarket:async(n,t,i,e,s,o,r,d,l={})=>{let g="/fed/v1/labor-market",b=new URL(g,B),p;a&&(p=a.baseOptions);let f={method:"GET",...p,...l},m={},y={};await U(y,"apiKey",a),n!==void 0&&(y.date=n),t!==void 0&&(y["date.any_of"]=t),i!==void 0&&(y["date.gt"]=i),e!==void 0&&(y["date.gte"]=e),s!==void 0&&(y["date.lt"]=s),o!==void 0&&(y["date.lte"]=o),r!==void 0&&(y.limit=r),d!==void 0&&(y.sort=d),z(b,y);let u=p&&p.headers?p.headers:{};return f.headers={...m,...u,...l.headers},{url:Q(b),options:f}},getFedV1TreasuryYields:async(n,t,i,e,s,o,r,d,l={})=>{let g="/fed/v1/treasury-yields",b=new URL(g,B),p;a&&(p=a.baseOptions);let f={method:"GET",...p,...l},m={},y={};await U(y,"apiKey",a),n!==void 0&&(y.date=n),t!==void 0&&(y["date.any_of"]=t),i!==void 0&&(y["date.gt"]=i),e!==void 0&&(y["date.gte"]=e),s!==void 0&&(y["date.lt"]=s),o!==void 0&&(y["date.lte"]=o),r!==void 0&&(y.limit=r),d!==void 0&&(y.sort=d),z(b,y);let u=p&&p.headers?p.headers:{};return f.headers={...m,...u,...l.headers},{url:Q(b),options:f}},getForexAggregates:async(n,t,i,e,s,o,r,d,l={})=>{$("getForexAggregates","forexTicker",n),$("getForexAggregates","multiplier",t),$("getForexAggregates","timespan",i),$("getForexAggregates","from",e),$("getForexAggregates","to",s);let g="/v2/aggs/ticker/{forexTicker}/range/{multiplier}/{timespan}/{from}/{to}".replace("{forexTicker}",encodeURIComponent(String(n))).replace("{multiplier}",encodeURIComponent(String(t))).replace("{timespan}",encodeURIComponent(String(i))).replace("{from}",encodeURIComponent(String(e))).replace("{to}",encodeURIComponent(String(s))),b=new URL(g,B),p;a&&(p=a.baseOptions);let f={method:"GET",...p,...l},m={},y={};await U(y,"apiKey",a),o!==void 0&&(y.adjusted=o),r!==void 0&&(y.sort=r),d!==void 0&&(y.limit=d),z(b,y);let u=p&&p.headers?p.headers:{};return f.headers={...m,...u,...l.headers},{url:Q(b),options:f}},getForexEMA:async(n,t,i,e,s,o,r,d,l,g,b,p,f,m={})=>{$("getForexEMA","fxTicker",n);let y="/v1/indicators/ema/{fxTicker}".replace("{fxTicker}",encodeURIComponent(String(n))),u=new URL(y,B),h;a&&(h=a.baseOptions);let R={method:"GET",...h,...m},x={},c={};await U(c,"apiKey",a),t!==void 0&&(c.timestamp=t),i!==void 0&&(c.timespan=i),e!==void 0&&(c.adjusted=e),s!==void 0&&(c.window=s),o!==void 0&&(c.series_type=o),r!==void 0&&(c.expand_underlying=r),d!==void 0&&(c.order=d),l!==void 0&&(c.limit=l),g!==void 0&&(c["timestamp.gte"]=g),b!==void 0&&(c["timestamp.gt"]=b),p!==void 0&&(c["timestamp.lte"]=p),f!==void 0&&(c["timestamp.lt"]=f),z(u,c);let k=h&&h.headers?h.headers:{};return R.headers={...x,...k,...m.headers},{url:Q(u),options:R}},getForexMACD:async(n,t,i,e,s,o,r,d,l,g,b,p,f,m,y,u={})=>{$("getForexMACD","fxTicker",n);let h="/v1/indicators/macd/{fxTicker}".replace("{fxTicker}",encodeURIComponent(String(n))),R=new URL(h,B),x;a&&(x=a.baseOptions);let c={method:"GET",...x,...u},k={},A={};await U(A,"apiKey",a),t!==void 0&&(A.timestamp=t),i!==void 0&&(A.timespan=i),e!==void 0&&(A.adjusted=e),s!==void 0&&(A.short_window=s),o!==void 0&&(A.long_window=o),r!==void 0&&(A.signal_window=r),d!==void 0&&(A.series_type=d),l!==void 0&&(A.expand_underlying=l),g!==void 0&&(A.order=g),b!==void 0&&(A.limit=b),p!==void 0&&(A["timestamp.gte"]=p),f!==void 0&&(A["timestamp.gt"]=f),m!==void 0&&(A["timestamp.lte"]=m),y!==void 0&&(A["timestamp.lt"]=y),z(R,A);let G=x&&x.headers?x.headers:{};return c.headers={...k,...G,...u.headers},{url:Q(R),options:c}},getForexQuotes:async(n,t,i,e,s,o,r,d,l,g={})=>{$("getForexQuotes","fxTicker",n);let b="/v3/quotes/{fxTicker}".replace("{fxTicker}",encodeURIComponent(String(n))),p=new URL(b,B),f;a&&(f=a.baseOptions);let m={method:"GET",...f,...g},y={},u={};await U(u,"apiKey",a),t!==void 0&&(u.timestamp=t),i!==void 0&&(u["timestamp.gte"]=i),e!==void 0&&(u["timestamp.gt"]=e),s!==void 0&&(u["timestamp.lte"]=s),o!==void 0&&(u["timestamp.lt"]=o),r!==void 0&&(u.order=r),d!==void 0&&(u.limit=d),l!==void 0&&(u.sort=l),z(p,u);let h=f&&f.headers?f.headers:{};return m.headers={...y,...h,...g.headers},{url:Q(p),options:m}},getForexRSI:async(n,t,i,e,s,o,r,d,l,g,b,p,f,m={})=>{$("getForexRSI","fxTicker",n);let y="/v1/indicators/rsi/{fxTicker}".replace("{fxTicker}",encodeURIComponent(String(n))),u=new URL(y,B),h;a&&(h=a.baseOptions);let R={method:"GET",...h,...m},x={},c={};await U(c,"apiKey",a),t!==void 0&&(c.timestamp=t),i!==void 0&&(c.timespan=i),e!==void 0&&(c.adjusted=e),s!==void 0&&(c.window=s),o!==void 0&&(c.series_type=o),r!==void 0&&(c.expand_underlying=r),d!==void 0&&(c.order=d),l!==void 0&&(c.limit=l),g!==void 0&&(c["timestamp.gte"]=g),b!==void 0&&(c["timestamp.gt"]=b),p!==void 0&&(c["timestamp.lte"]=p),f!==void 0&&(c["timestamp.lt"]=f),z(u,c);let k=h&&h.headers?h.headers:{};return R.headers={...x,...k,...m.headers},{url:Q(u),options:R}},getForexSMA:async(n,t,i,e,s,o,r,d,l,g,b,p,f,m={})=>{$("getForexSMA","fxTicker",n);let y="/v1/indicators/sma/{fxTicker}".replace("{fxTicker}",encodeURIComponent(String(n))),u=new URL(y,B),h;a&&(h=a.baseOptions);let R={method:"GET",...h,...m},x={},c={};await U(c,"apiKey",a),t!==void 0&&(c.timestamp=t),i!==void 0&&(c.timespan=i),e!==void 0&&(c.adjusted=e),s!==void 0&&(c.window=s),o!==void 0&&(c.series_type=o),r!==void 0&&(c.expand_underlying=r),d!==void 0&&(c.order=d),l!==void 0&&(c.limit=l),g!==void 0&&(c["timestamp.gte"]=g),b!==void 0&&(c["timestamp.gt"]=b),p!==void 0&&(c["timestamp.lte"]=p),f!==void 0&&(c["timestamp.lt"]=f),z(u,c);let k=h&&h.headers?h.headers:{};return R.headers={...x,...k,...m.headers},{url:Q(u),options:R}},getForexSnapshotDirection:async(n,t={})=>{$("getForexSnapshotDirection","direction",n);let i="/v2/snapshot/locale/global/markets/forex/{direction}".replace("{direction}",encodeURIComponent(String(n))),e=new URL(i,B),s;a&&(s=a.baseOptions);let o={method:"GET",...s,...t},r={},d={};await U(d,"apiKey",a),z(e,d);let l=s&&s.headers?s.headers:{};return o.headers={...r,...l,...t.headers},{url:Q(e),options:o}},getForexSnapshotTicker:async(n,t={})=>{$("getForexSnapshotTicker","ticker",n);let i="/v2/snapshot/locale/global/markets/forex/tickers/{ticker}".replace("{ticker}",encodeURIComponent(String(n))),e=new URL(i,B),s;a&&(s=a.baseOptions);let o={method:"GET",...s,...t},r={},d={};await U(d,"apiKey",a),z(e,d);let l=s&&s.headers?s.headers:{};return o.headers={...r,...l,...t.headers},{url:Q(e),options:o}},getForexSnapshotTickers:async(n,t={})=>{let i="/v2/snapshot/locale/global/markets/forex/tickers",e=new URL(i,B),s;a&&(s=a.baseOptions);let o={method:"GET",...s,...t},r={},d={};await U(d,"apiKey",a),n&&(d.tickers=n),z(e,d);let l=s&&s.headers?s.headers:{};return o.headers={...r,...l,...t.headers},{url:Q(e),options:o}},getForexV1Exchanges:async(n,t={})=>{let i="/forex/v1/exchanges",e=new URL(i,B),s;a&&(s=a.baseOptions);let o={method:"GET",...s,...t},r={},d={};await U(d,"apiKey",a),n!==void 0&&(d.limit=n),z(e,d);let l=s&&s.headers?s.headers:{};return o.headers={...r,...l,...t.headers},{url:Q(e),options:o}},getFuturesAggregates:async(n,t,i,e,s,o,r,d,l,g={})=>{$("getFuturesAggregates","ticker",n);let b="/futures/vX/aggs/{ticker}".replace("{ticker}",encodeURIComponent(String(n))),p=new URL(b,B),f;a&&(f=a.baseOptions);let m={method:"GET",...f,...g},y={},u={};await U(u,"apiKey",a),t!==void 0&&(u.resolution=t),i!==void 0&&(u.window_start=i),e!==void 0&&(u.limit=e),s!==void 0&&(u["window_start.gte"]=s),o!==void 0&&(u["window_start.gt"]=o),r!==void 0&&(u["window_start.lte"]=r),d!==void 0&&(u["window_start.lt"]=d),l!==void 0&&(u.sort=l),z(p,u);let h=f&&f.headers?f.headers:{};return m.headers={...y,...h,...g.headers},{url:Q(p),options:m}},getFuturesQuotes:async(n,t,i,e,s,o,r,d,l,g,b,p,f,m={})=>{$("getFuturesQuotes","ticker",n);let y="/futures/vX/quotes/{ticker}".replace("{ticker}",encodeURIComponent(String(n))),u=new URL(y,B),h;a&&(h=a.baseOptions);let R={method:"GET",...h,...m},x={},c={};await U(c,"apiKey",a),t!==void 0&&(c.timestamp=t),i!==void 0&&(c.session_end_date=i),e!==void 0&&(c.limit=e),s!==void 0&&(c["timestamp.gte"]=s),o!==void 0&&(c["timestamp.gt"]=o),r!==void 0&&(c["timestamp.lte"]=r),d!==void 0&&(c["timestamp.lt"]=d),l!==void 0&&(c["session_end_date.gte"]=l),g!==void 0&&(c["session_end_date.gt"]=g),b!==void 0&&(c["session_end_date.lte"]=b),p!==void 0&&(c["session_end_date.lt"]=p),f!==void 0&&(c.sort=f),z(u,c);let k=h&&h.headers?h.headers:{};return R.headers={...x,...k,...m.headers},{url:Q(u),options:R}},getFuturesTrades:async(n,t,i,e,s,o,r,d,l,g,b,p,f,m={})=>{$("getFuturesTrades","ticker",n);let y="/futures/vX/trades/{ticker}".replace("{ticker}",encodeURIComponent(String(n))),u=new URL(y,B),h;a&&(h=a.baseOptions);let R={method:"GET",...h,...m},x={},c={};await U(c,"apiKey",a),t!==void 0&&(c.timestamp=t),i!==void 0&&(c.session_end_date=i),e!==void 0&&(c.limit=e),s!==void 0&&(c["timestamp.gte"]=s),o!==void 0&&(c["timestamp.gt"]=o),r!==void 0&&(c["timestamp.lte"]=r),d!==void 0&&(c["timestamp.lt"]=d),l!==void 0&&(c["session_end_date.gte"]=l),g!==void 0&&(c["session_end_date.gt"]=g),b!==void 0&&(c["session_end_date.lte"]=b),p!==void 0&&(c["session_end_date.lt"]=p),f!==void 0&&(c.sort=f),z(u,c);let k=h&&h.headers?h.headers:{};return R.headers={...x,...k,...m.headers},{url:Q(u),options:R}},getFuturesVXContracts:async(n,t,i,e,s,o,r,d,l,g,b,p,f,m,y,u,h,R,x,c,k,A,G,v,O,I,V,K,L,j,X,S,C={})=>{let w="/futures/vX/contracts",en=new URL(w,B),nn;a&&(nn=a.baseOptions);let on={method:"GET",...nn,...C},sn={},Y={};await U(Y,"apiKey",a),n!==void 0&&(Y.date=n),t!==void 0&&(Y["date.gt"]=t),i!==void 0&&(Y["date.gte"]=i),e!==void 0&&(Y["date.lt"]=e),s!==void 0&&(Y["date.lte"]=s),o!==void 0&&(Y.product_code=o),r!==void 0&&(Y["product_code.any_of"]=r),d!==void 0&&(Y["product_code.gt"]=d),l!==void 0&&(Y["product_code.gte"]=l),g!==void 0&&(Y["product_code.lt"]=g),b!==void 0&&(Y["product_code.lte"]=b),p!==void 0&&(Y.ticker=p),f!==void 0&&(Y["ticker.any_of"]=f),m!==void 0&&(Y["ticker.gt"]=m),y!==void 0&&(Y["ticker.gte"]=y),u!==void 0&&(Y["ticker.lt"]=u),h!==void 0&&(Y["ticker.lte"]=h),R!==void 0&&(Y.active=R),x!==void 0&&(Y.type=x),c!==void 0&&(Y["type.any_of"]=c),k!==void 0&&(Y.first_trade_date=k),A!==void 0&&(Y["first_trade_date.gt"]=A),G!==void 0&&(Y["first_trade_date.gte"]=G),v!==void 0&&(Y["first_trade_date.lt"]=v),O!==void 0&&(Y["first_trade_date.lte"]=O),I!==void 0&&(Y.last_trade_date=I),V!==void 0&&(Y["last_trade_date.gt"]=V),K!==void 0&&(Y["last_trade_date.gte"]=K),L!==void 0&&(Y["last_trade_date.lt"]=L),j!==void 0&&(Y["last_trade_date.lte"]=j),X!==void 0&&(Y.limit=X),S!==void 0&&(Y.sort=S),z(en,Y);let rn=nn&&nn.headers?nn.headers:{};return on.headers={...sn,...rn,...C.headers},{url:Q(en),options:on}},getFuturesVXExchanges:async(n,t={})=>{let i="/futures/vX/exchanges",e=new URL(i,B),s;a&&(s=a.baseOptions);let o={method:"GET",...s,...t},r={},d={};await U(d,"apiKey",a),n!==void 0&&(d.limit=n),z(e,d);let l=s&&s.headers?s.headers:{};return o.headers={...r,...l,...t.headers},{url:Q(e),options:o}},getFuturesVXMarketStatus:async(n,t,i,e,s,o,r,d={})=>{let l="/futures/vX/market-status",g=new URL(l,B),b;a&&(b=a.baseOptions);let p={method:"GET",...b,...d},f={},m={};await U(m,"apiKey",a),n!==void 0&&(m.product_code=n),t!==void 0&&(m["product_code.any_of"]=t),i!==void 0&&(m["product_code.gt"]=i),e!==void 0&&(m["product_code.gte"]=e),s!==void 0&&(m["product_code.lt"]=s),o!==void 0&&(m["product_code.lte"]=o),r!==void 0&&(m.limit=r),z(g,m);let y=b&&b.headers?b.headers:{};return p.headers={...f,...y,...d.headers},{url:Q(g),options:p}},getFuturesVXProducts:async(n,t,i,e,s,o,r,d,l,g,b,p,f,m,y,u,h,R,x,c,k,A,G,v,O,I,V,K,L,j,X,S,C,w,en,nn={})=>{let on="/futures/vX/products",sn=new URL(on,B),Y;a&&(Y=a.baseOptions);let rn={method:"GET",...Y,...nn},an={},T={};await U(T,"apiKey",a),n!==void 0&&(T.name=n),t!==void 0&&(T["name.any_of"]=t),i!==void 0&&(T["name.gt"]=i),e!==void 0&&(T["name.gte"]=e),s!==void 0&&(T["name.lt"]=s),o!==void 0&&(T["name.lte"]=o),r!==void 0&&(T.product_code=r),d!==void 0&&(T["product_code.any_of"]=d),l!==void 0&&(T["product_code.gt"]=l),g!==void 0&&(T["product_code.gte"]=g),b!==void 0&&(T["product_code.lt"]=b),p!==void 0&&(T["product_code.lte"]=p),f!==void 0&&(T.date=f),m!==void 0&&(T["date.gt"]=m),y!==void 0&&(T["date.gte"]=y),u!==void 0&&(T["date.lt"]=u),h!==void 0&&(T["date.lte"]=h),R!==void 0&&(T.trading_venue=R),x!==void 0&&(T["trading_venue.any_of"]=x),c!==void 0&&(T["trading_venue.gt"]=c),k!==void 0&&(T["trading_venue.gte"]=k),A!==void 0&&(T["trading_venue.lt"]=A),G!==void 0&&(T["trading_venue.lte"]=G),v!==void 0&&(T.sector=v),O!==void 0&&(T["sector.any_of"]=O),I!==void 0&&(T.sub_sector=I),V!==void 0&&(T["sub_sector.any_of"]=V),K!==void 0&&(T.asset_class=K),L!==void 0&&(T["asset_class.any_of"]=L),j!==void 0&&(T.asset_sub_class=j),X!==void 0&&(T["asset_sub_class.any_of"]=X),S!==void 0&&(T.type=S),C!==void 0&&(T["type.any_of"]=C),w!==void 0&&(T.limit=w),en!==void 0&&(T.sort=en),z(sn,T);let dn=Y&&Y.headers?Y.headers:{};return rn.headers={...an,...dn,...nn.headers},{url:Q(sn),options:rn}},getFuturesVXQuotesNew:async(n,t,i,e,s,o,r,d,l,g={})=>{$("getFuturesVXQuotesNew","ticker",n);let b="/futures/vX/quotes-new/{ticker}".replace("{ticker}",encodeURIComponent(String(n))),p=new URL(b,B),f;a&&(f=a.baseOptions);let m={method:"GET",...f,...g},y={},u={};await U(u,"apiKey",a),t!==void 0&&(u.timestamp=t),i!==void 0&&(u["timestamp.gt"]=i),e!==void 0&&(u["timestamp.gte"]=e),s!==void 0&&(u["timestamp.lt"]=s),o!==void 0&&(u["timestamp.lte"]=o),r!==void 0&&(u.session_end_date=r),d!==void 0&&(u.limit=d),l!==void 0&&(u.sort=l),z(p,u);let h=f&&f.headers?f.headers:{};return m.headers={...y,...h,...g.headers},{url:Q(p),options:m}},getFuturesVXSchedules:async(n,t,i,e,s,o,r,d,l,g,b,p,f,m,y,u,h,R,x,c,k={})=>{let A="/futures/vX/schedules",G=new URL(A,B),v;a&&(v=a.baseOptions);let O={method:"GET",...v,...k},I={},V={};await U(V,"apiKey",a),n!==void 0&&(V.product_code=n),t!==void 0&&(V["product_code.any_of"]=t),i!==void 0&&(V["product_code.gt"]=i),e!==void 0&&(V["product_code.gte"]=e),s!==void 0&&(V["product_code.lt"]=s),o!==void 0&&(V["product_code.lte"]=o),r!==void 0&&(V.session_end_date=r),d!==void 0&&(V["session_end_date.any_of"]=d),l!==void 0&&(V["session_end_date.gt"]=l),g!==void 0&&(V["session_end_date.gte"]=g),b!==void 0&&(V["session_end_date.lt"]=b),p!==void 0&&(V["session_end_date.lte"]=p),f!==void 0&&(V.trading_venue=f),m!==void 0&&(V["trading_venue.any_of"]=m),y!==void 0&&(V["trading_venue.gt"]=y),u!==void 0&&(V["trading_venue.gte"]=u),h!==void 0&&(V["trading_venue.lt"]=h),R!==void 0&&(V["trading_venue.lte"]=R),x!==void 0&&(V.limit=x),c!==void 0&&(V.sort=c),z(G,V);let K=v&&v.headers?v.headers:{};return O.headers={...I,...K,...k.headers},{url:Q(G),options:O}},getFuturesVXSnapshot:async(n,t,i,e,s,o,r,d,l,g,b,p,f,m,y={})=>{let u="/futures/vX/snapshot",h=new URL(u,B),R;a&&(R=a.baseOptions);let x={method:"GET",...R,...y},c={},k={};await U(k,"apiKey",a),n!==void 0&&(k.product_code=n),t!==void 0&&(k["product_code.any_of"]=t),i!==void 0&&(k["product_code.gt"]=i),e!==void 0&&(k["product_code.gte"]=e),s!==void 0&&(k["product_code.lt"]=s),o!==void 0&&(k["product_code.lte"]=o),r!==void 0&&(k.ticker=r),d!==void 0&&(k["ticker.any_of"]=d),l!==void 0&&(k["ticker.gt"]=l),g!==void 0&&(k["ticker.gte"]=g),b!==void 0&&(k["ticker.lt"]=b),p!==void 0&&(k["ticker.lte"]=p),f!==void 0&&(k.limit=f),m!==void 0&&(k.sort=m),z(h,k);let A=R&&R.headers?R.headers:{};return x.headers={...c,...A,...y.headers},{url:Q(h),options:x}},getFuturesVXSnapshotNative:async(n,t,i,e,s,o,r,d,l,g,b,p,f,m,y={})=>{let u="/futures/vX/snapshot-native",h=new URL(u,B),R;a&&(R=a.baseOptions);let x={method:"GET",...R,...y},c={},k={};await U(k,"apiKey",a),n!==void 0&&(k.product_code=n),t!==void 0&&(k["product_code.any_of"]=t),i!==void 0&&(k["product_code.gt"]=i),e!==void 0&&(k["product_code.gte"]=e),s!==void 0&&(k["product_code.lt"]=s),o!==void 0&&(k["product_code.lte"]=o),r!==void 0&&(k.ticker=r),d!==void 0&&(k["ticker.any_of"]=d),l!==void 0&&(k["ticker.gt"]=l),g!==void 0&&(k["ticker.gte"]=g),b!==void 0&&(k["ticker.lt"]=b),p!==void 0&&(k["ticker.lte"]=p),f!==void 0&&(k.limit=f),m!==void 0&&(k.sort=m),z(h,k);let A=R&&R.headers?R.headers:{};return x.headers={...c,...A,...y.headers},{url:Q(h),options:x}},getFuturesVXTradesNew:async(n,t,i,e,s,o,r,d,l,g={})=>{$("getFuturesVXTradesNew","ticker",n);let b="/futures/vX/trades-new/{ticker}".replace("{ticker}",encodeURIComponent(String(n))),p=new URL(b,B),f;a&&(f=a.baseOptions);let m={method:"GET",...f,...g},y={},u={};await U(u,"apiKey",a),t!==void 0&&(u.timestamp=t),i!==void 0&&(u["timestamp.gt"]=i),e!==void 0&&(u["timestamp.gte"]=e),s!==void 0&&(u["timestamp.lt"]=s),o!==void 0&&(u["timestamp.lte"]=o),r!==void 0&&(u.session_end_date=r),d!==void 0&&(u.limit=d),l!==void 0&&(u.sort=l),z(p,u);let h=f&&f.headers?f.headers:{};return m.headers={...y,...h,...g.headers},{url:Q(p),options:m}},getGroupedCryptoAggregates:async(n,t,i={})=>{$("getGroupedCryptoAggregates","date",n);let e="/v2/aggs/grouped/locale/global/market/crypto/{date}".replace("{date}",encodeURIComponent(String(n))),s=new URL(e,B),o;a&&(o=a.baseOptions);let r={method:"GET",...o,...i},d={},l={};await U(l,"apiKey",a),t!==void 0&&(l.adjusted=t),z(s,l);let g=o&&o.headers?o.headers:{};return r.headers={...d,...g,...i.headers},{url:Q(s),options:r}},getGroupedForexAggregates:async(n,t,i={})=>{$("getGroupedForexAggregates","date",n);let e="/v2/aggs/grouped/locale/global/market/fx/{date}".replace("{date}",encodeURIComponent(String(n))),s=new URL(e,B),o;a&&(o=a.baseOptions);let r={method:"GET",...o,...i},d={},l={};await U(l,"apiKey",a),t!==void 0&&(l.adjusted=t),z(s,l);let g=o&&o.headers?o.headers:{};return r.headers={...d,...g,...i.headers},{url:Q(s),options:r}},getGroupedStocksAggregates:async(n,t,i,e={})=>{$("getGroupedStocksAggregates","date",n);let s="/v2/aggs/grouped/locale/us/market/stocks/{date}".replace("{date}",encodeURIComponent(String(n))),o=new URL(s,B),r;a&&(r=a.baseOptions);let d={method:"GET",...r,...e},l={},g={};await U(g,"apiKey",a),t!==void 0&&(g.adjusted=t),i!==void 0&&(g.include_otc=i),z(o,g);let b=r&&r.headers?r.headers:{};return d.headers={...l,...b,...e.headers},{url:Q(o),options:d}},getIndicesAggregates:async(n,t,i,e,s,o,r,d={})=>{$("getIndicesAggregates","indicesTicker",n),$("getIndicesAggregates","multiplier",t),$("getIndicesAggregates","timespan",i),$("getIndicesAggregates","from",e),$("getIndicesAggregates","to",s);let l="/v2/aggs/ticker/{indicesTicker}/range/{multiplier}/{timespan}/{from}/{to}".replace("{indicesTicker}",encodeURIComponent(String(n))).replace("{multiplier}",encodeURIComponent(String(t))).replace("{timespan}",encodeURIComponent(String(i))).replace("{from}",encodeURIComponent(String(e))).replace("{to}",encodeURIComponent(String(s))),g=new URL(l,B),b;a&&(b=a.baseOptions);let p={method:"GET",...b,...d},f={},m={};await U(m,"apiKey",a),o!==void 0&&(m.sort=o),r!==void 0&&(m.limit=r),z(g,m);let y=b&&b.headers?b.headers:{};return p.headers={...f,...y,...d.headers},{url:Q(g),options:p}},getIndicesEMA:async(n,t,i,e,s,o,r,d,l,g,b,p,f,m={})=>{$("getIndicesEMA","indicesTicker",n);let y="/v1/indicators/ema/{indicesTicker}".replace("{indicesTicker}",encodeURIComponent(String(n))),u=new URL(y,B),h;a&&(h=a.baseOptions);let R={method:"GET",...h,...m},x={},c={};await U(c,"apiKey",a),t!==void 0&&(c.timestamp=t),i!==void 0&&(c.timespan=i),e!==void 0&&(c.adjusted=e),s!==void 0&&(c.window=s),o!==void 0&&(c.series_type=o),r!==void 0&&(c.expand_underlying=r),d!==void 0&&(c.order=d),l!==void 0&&(c.limit=l),g!==void 0&&(c["timestamp.gte"]=g),b!==void 0&&(c["timestamp.gt"]=b),p!==void 0&&(c["timestamp.lte"]=p),f!==void 0&&(c["timestamp.lt"]=f),z(u,c);let k=h&&h.headers?h.headers:{};return R.headers={...x,...k,...m.headers},{url:Q(u),options:R}},getIndicesMACD:async(n,t,i,e,s,o,r,d,l,g,b,p,f,m,y,u={})=>{$("getIndicesMACD","indicesTicker",n);let h="/v1/indicators/macd/{indicesTicker}".replace("{indicesTicker}",encodeURIComponent(String(n))),R=new URL(h,B),x;a&&(x=a.baseOptions);let c={method:"GET",...x,...u},k={},A={};await U(A,"apiKey",a),t!==void 0&&(A.timestamp=t),i!==void 0&&(A.timespan=i),e!==void 0&&(A.adjusted=e),s!==void 0&&(A.short_window=s),o!==void 0&&(A.long_window=o),r!==void 0&&(A.signal_window=r),d!==void 0&&(A.series_type=d),l!==void 0&&(A.expand_underlying=l),g!==void 0&&(A.order=g),b!==void 0&&(A.limit=b),p!==void 0&&(A["timestamp.gte"]=p),f!==void 0&&(A["timestamp.gt"]=f),m!==void 0&&(A["timestamp.lte"]=m),y!==void 0&&(A["timestamp.lt"]=y),z(R,A);let G=x&&x.headers?x.headers:{};return c.headers={...k,...G,...u.headers},{url:Q(R),options:c}},getIndicesOpenClose:async(n,t,i={})=>{$("getIndicesOpenClose","indicesTicker",n),$("getIndicesOpenClose","date",t);let e="/v1/open-close/{indicesTicker}/{date}".replace("{indicesTicker}",encodeURIComponent(String(n))).replace("{date}",encodeURIComponent(String(t))),s=new URL(e,B),o;a&&(o=a.baseOptions);let r={method:"GET",...o,...i},d={},l={};await U(l,"apiKey",a),z(s,l);let g=o&&o.headers?o.headers:{};return r.headers={...d,...g,...i.headers},{url:Q(s),options:r}},getIndicesRSI:async(n,t,i,e,s,o,r,d,l,g,b,p,f,m={})=>{$("getIndicesRSI","indicesTicker",n);let y="/v1/indicators/rsi/{indicesTicker}".replace("{indicesTicker}",encodeURIComponent(String(n))),u=new URL(y,B),h;a&&(h=a.baseOptions);let R={method:"GET",...h,...m},x={},c={};await U(c,"apiKey",a),t!==void 0&&(c.timestamp=t),i!==void 0&&(c.timespan=i),e!==void 0&&(c.adjusted=e),s!==void 0&&(c.window=s),o!==void 0&&(c.series_type=o),r!==void 0&&(c.expand_underlying=r),d!==void 0&&(c.order=d),l!==void 0&&(c.limit=l),g!==void 0&&(c["timestamp.gte"]=g),b!==void 0&&(c["timestamp.gt"]=b),p!==void 0&&(c["timestamp.lte"]=p),f!==void 0&&(c["timestamp.lt"]=f),z(u,c);let k=h&&h.headers?h.headers:{};return R.headers={...x,...k,...m.headers},{url:Q(u),options:R}},getIndicesSMA:async(n,t,i,e,s,o,r,d,l,g,b,p,f,m={})=>{$("getIndicesSMA","indicesTicker",n);let y="/v1/indicators/sma/{indicesTicker}".replace("{indicesTicker}",encodeURIComponent(String(n))),u=new URL(y,B),h;a&&(h=a.baseOptions);let R={method:"GET",...h,...m},x={},c={};await U(c,"apiKey",a),t!==void 0&&(c.timestamp=t),i!==void 0&&(c.timespan=i),e!==void 0&&(c.adjusted=e),s!==void 0&&(c.window=s),o!==void 0&&(c.series_type=o),r!==void 0&&(c.expand_underlying=r),d!==void 0&&(c.order=d),l!==void 0&&(c.limit=l),g!==void 0&&(c["timestamp.gte"]=g),b!==void 0&&(c["timestamp.gt"]=b),p!==void 0&&(c["timestamp.lte"]=p),f!==void 0&&(c["timestamp.lt"]=f),z(u,c);let k=h&&h.headers?h.headers:{};return R.headers={...x,...k,...m.headers},{url:Q(u),options:R}},getIndicesSnapshot:async(n,t,i,e,s,o,r,d,l,g={})=>{let b="/v3/snapshot/indices",p=new URL(b,B),f;a&&(f=a.baseOptions);let m={method:"GET",...f,...g},y={},u={};await U(u,"apiKey",a),n!==void 0&&(u["ticker.any_of"]=n),t!==void 0&&(u.ticker=t),i!==void 0&&(u["ticker.gte"]=i),e!==void 0&&(u["ticker.gt"]=e),s!==void 0&&(u["ticker.lte"]=s),o!==void 0&&(u["ticker.lt"]=o),r!==void 0&&(u.order=r),d!==void 0&&(u.limit=d),l!==void 0&&(u.sort=l),z(p,u);let h=f&&f.headers?f.headers:{};return m.headers={...y,...h,...g.headers},{url:Q(p),options:m}},getLastCryptoTrade:async(n,t,i={})=>{$("getLastCryptoTrade","from",n),$("getLastCryptoTrade","to",t);let e="/v1/last/crypto/{from}/{to}".replace("{from}",encodeURIComponent(String(n))).replace("{to}",encodeURIComponent(String(t))),s=new URL(e,B),o;a&&(o=a.baseOptions);let r={method:"GET",...o,...i},d={},l={};await U(l,"apiKey",a),z(s,l);let g=o&&o.headers?o.headers:{};return r.headers={...d,...g,...i.headers},{url:Q(s),options:r}},getLastCurrencyQuote:async(n,t,i={})=>{$("getLastCurrencyQuote","from",n),$("getLastCurrencyQuote","to",t);let e="/v1/last_quote/currencies/{from}/{to}".replace("{from}",encodeURIComponent(String(n))).replace("{to}",encodeURIComponent(String(t))),s=new URL(e,B),o;a&&(o=a.baseOptions);let r={method:"GET",...o,...i},d={},l={};await U(l,"apiKey",a),z(s,l);let g=o&&o.headers?o.headers:{};return r.headers={...d,...g,...i.headers},{url:Q(s),options:r}},getLastOptionsTrade:async(n,t={})=>{$("getLastOptionsTrade","optionsTicker",n);let i="/v2/last/trade/{optionsTicker}".replace("{optionsTicker}",encodeURIComponent(String(n))),e=new URL(i,B),s;a&&(s=a.baseOptions);let o={method:"GET",...s,...t},r={},d={};await U(d,"apiKey",a),z(e,d);let l=s&&s.headers?s.headers:{};return o.headers={...r,...l,...t.headers},{url:Q(e),options:o}},getLastStocksQuote:async(n,t={})=>{$("getLastStocksQuote","stocksTicker",n);let i="/v2/last/nbbo/{stocksTicker}".replace("{stocksTicker}",encodeURIComponent(String(n))),e=new URL(i,B),s;a&&(s=a.baseOptions);let o={method:"GET",...s,...t},r={},d={};await U(d,"apiKey",a),z(e,d);let l=s&&s.headers?s.headers:{};return o.headers={...r,...l,...t.headers},{url:Q(e),options:o}},getLastStocksTrade:async(n,t={})=>{$("getLastStocksTrade","stocksTicker",n);let i="/v2/last/trade/{stocksTicker}".replace("{stocksTicker}",encodeURIComponent(String(n))),e=new URL(i,B),s;a&&(s=a.baseOptions);let o={method:"GET",...s,...t},r={},d={};await U(d,"apiKey",a),z(e,d);let l=s&&s.headers?s.headers:{};return o.headers={...r,...l,...t.headers},{url:Q(e),options:o}},getMarketHolidays:async(n={})=>{let t="/v1/marketstatus/upcoming",i=new URL(t,B),e;a&&(e=a.baseOptions);let s={method:"GET",...e,...n},o={},r={};await U(r,"apiKey",a),z(i,r);let d=e&&e.headers?e.headers:{};return s.headers={...o,...d,...n.headers},{url:Q(i),options:s}},getMarketStatus:async(n={})=>{let t="/v1/marketstatus/now",i=new URL(t,B),e;a&&(e=a.baseOptions);let s={method:"GET",...e,...n},o={},r={};await U(r,"apiKey",a),z(i,r);let d=e&&e.headers?e.headers:{};return s.headers={...o,...d,...n.headers},{url:Q(i),options:s}},getOptionContract:async(n,t,i={})=>{$("getOptionContract","underlyingAsset",n),$("getOptionContract","optionContract",t);let e="/v3/snapshot/options/{underlyingAsset}/{optionContract}".replace("{underlyingAsset}",encodeURIComponent(String(n))).replace("{optionContract}",encodeURIComponent(String(t))),s=new URL(e,B),o;a&&(o=a.baseOptions);let r={method:"GET",...o,...i},d={},l={};await U(l,"apiKey",a),z(s,l);let g=o&&o.headers?o.headers:{};return r.headers={...d,...g,...i.headers},{url:Q(s),options:r}},getOptionsAggregates:async(n,t,i,e,s,o,r,d,l={})=>{$("getOptionsAggregates","optionsTicker",n),$("getOptionsAggregates","multiplier",t),$("getOptionsAggregates","timespan",i),$("getOptionsAggregates","from",e),$("getOptionsAggregates","to",s);let g="/v2/aggs/ticker/{optionsTicker}/range/{multiplier}/{timespan}/{from}/{to}".replace("{optionsTicker}",encodeURIComponent(String(n))).replace("{multiplier}",encodeURIComponent(String(t))).replace("{timespan}",encodeURIComponent(String(i))).replace("{from}",encodeURIComponent(String(e))).replace("{to}",encodeURIComponent(String(s))),b=new URL(g,B),p;a&&(p=a.baseOptions);let f={method:"GET",...p,...l},m={},y={};await U(y,"apiKey",a),o!==void 0&&(y.adjusted=o),r!==void 0&&(y.sort=r),d!==void 0&&(y.limit=d),z(b,y);let u=p&&p.headers?p.headers:{};return f.headers={...m,...u,...l.headers},{url:Q(b),options:f}},getOptionsChain:async(n,t,i,e,s,o,r,d,l,g,b,p,f,m,y,u={})=>{$("getOptionsChain","underlyingAsset",n);let h="/v3/snapshot/options/{underlyingAsset}".replace("{underlyingAsset}",encodeURIComponent(String(n))),R=new URL(h,B),x;a&&(x=a.baseOptions);let c={method:"GET",...x,...u},k={},A={};await U(A,"apiKey",a),t!==void 0&&(A.strike_price=t),i!==void 0&&(A.expiration_date=i),e!==void 0&&(A.contract_type=e),s!==void 0&&(A["strike_price.gte"]=s),o!==void 0&&(A["strike_price.gt"]=o),r!==void 0&&(A["strike_price.lte"]=r),d!==void 0&&(A["strike_price.lt"]=d),l!==void 0&&(A["expiration_date.gte"]=l),g!==void 0&&(A["expiration_date.gt"]=g),b!==void 0&&(A["expiration_date.lte"]=b),p!==void 0&&(A["expiration_date.lt"]=p),f!==void 0&&(A.order=f),m!==void 0&&(A.limit=m),y!==void 0&&(A.sort=y),z(R,A);let G=x&&x.headers?x.headers:{};return c.headers={...k,...G,...u.headers},{url:Q(R),options:c}},getOptionsContract:async(n,t,i={})=>{$("getOptionsContract","optionsTicker",n);let e="/v3/reference/options/contracts/{options_ticker}".replace("{options_ticker}",encodeURIComponent(String(n))),s=new URL(e,B),o;a&&(o=a.baseOptions);let r={method:"GET",...o,...i},d={},l={};await U(l,"apiKey",a),t!==void 0&&(l.as_of=t),z(s,l);let g=o&&o.headers?o.headers:{};return r.headers={...d,...g,...i.headers},{url:Q(s),options:r}},getOptionsEMA:async(n,t,i,e,s,o,r,d,l,g,b,p,f,m={})=>{$("getOptionsEMA","optionsTicker",n);let y="/v1/indicators/ema/{optionsTicker}".replace("{optionsTicker}",encodeURIComponent(String(n))),u=new URL(y,B),h;a&&(h=a.baseOptions);let R={method:"GET",...h,...m},x={},c={};await U(c,"apiKey",a),t!==void 0&&(c.timestamp=t),i!==void 0&&(c.timespan=i),e!==void 0&&(c.adjusted=e),s!==void 0&&(c.window=s),o!==void 0&&(c.series_type=o),r!==void 0&&(c.expand_underlying=r),d!==void 0&&(c.order=d),l!==void 0&&(c.limit=l),g!==void 0&&(c["timestamp.gte"]=g),b!==void 0&&(c["timestamp.gt"]=b),p!==void 0&&(c["timestamp.lte"]=p),f!==void 0&&(c["timestamp.lt"]=f),z(u,c);let k=h&&h.headers?h.headers:{};return R.headers={...x,...k,...m.headers},{url:Q(u),options:R}},getOptionsMACD:async(n,t,i,e,s,o,r,d,l,g,b,p,f,m,y,u={})=>{$("getOptionsMACD","optionsTicker",n);let h="/v1/indicators/macd/{optionsTicker}".replace("{optionsTicker}",encodeURIComponent(String(n))),R=new URL(h,B),x;a&&(x=a.baseOptions);let c={method:"GET",...x,...u},k={},A={};await U(A,"apiKey",a),t!==void 0&&(A.timestamp=t),i!==void 0&&(A.timespan=i),e!==void 0&&(A.adjusted=e),s!==void 0&&(A.short_window=s),o!==void 0&&(A.long_window=o),r!==void 0&&(A.signal_window=r),d!==void 0&&(A.series_type=d),l!==void 0&&(A.expand_underlying=l),g!==void 0&&(A.order=g),b!==void 0&&(A.limit=b),p!==void 0&&(A["timestamp.gte"]=p),f!==void 0&&(A["timestamp.gt"]=f),m!==void 0&&(A["timestamp.lte"]=m),y!==void 0&&(A["timestamp.lt"]=y),z(R,A);let G=x&&x.headers?x.headers:{};return c.headers={...k,...G,...u.headers},{url:Q(R),options:c}},getOptionsOpenClose:async(n,t,i,e={})=>{$("getOptionsOpenClose","optionsTicker",n),$("getOptionsOpenClose","date",t);let s="/v1/open-close/{optionsTicker}/{date}".replace("{optionsTicker}",encodeURIComponent(String(n))).replace("{date}",encodeURIComponent(String(t))),o=new URL(s,B),r;a&&(r=a.baseOptions);let d={method:"GET",...r,...e},l={},g={};await U(g,"apiKey",a),i!==void 0&&(g.adjusted=i),z(o,g);let b=r&&r.headers?r.headers:{};return d.headers={...l,...b,...e.headers},{url:Q(o),options:d}},getOptionsQuotes:async(n,t,i,e,s,o,r,d,l,g={})=>{$("getOptionsQuotes","optionsTicker",n);let b="/v3/quotes/{optionsTicker}".replace("{optionsTicker}",encodeURIComponent(String(n))),p=new URL(b,B),f;a&&(f=a.baseOptions);let m={method:"GET",...f,...g},y={},u={};await U(u,"apiKey",a),t!==void 0&&(u.timestamp=t),i!==void 0&&(u["timestamp.gte"]=i),e!==void 0&&(u["timestamp.gt"]=e),s!==void 0&&(u["timestamp.lte"]=s),o!==void 0&&(u["timestamp.lt"]=o),r!==void 0&&(u.order=r),d!==void 0&&(u.limit=d),l!==void 0&&(u.sort=l),z(p,u);let h=f&&f.headers?f.headers:{};return m.headers={...y,...h,...g.headers},{url:Q(p),options:m}},getOptionsRSI:async(n,t,i,e,s,o,r,d,l,g,b,p,f,m={})=>{$("getOptionsRSI","optionsTicker",n);let y="/v1/indicators/rsi/{optionsTicker}".replace("{optionsTicker}",encodeURIComponent(String(n))),u=new URL(y,B),h;a&&(h=a.baseOptions);let R={method:"GET",...h,...m},x={},c={};await U(c,"apiKey",a),t!==void 0&&(c.timestamp=t),i!==void 0&&(c.timespan=i),e!==void 0&&(c.adjusted=e),s!==void 0&&(c.window=s),o!==void 0&&(c.series_type=o),r!==void 0&&(c.expand_underlying=r),d!==void 0&&(c.order=d),l!==void 0&&(c.limit=l),g!==void 0&&(c["timestamp.gte"]=g),b!==void 0&&(c["timestamp.gt"]=b),p!==void 0&&(c["timestamp.lte"]=p),f!==void 0&&(c["timestamp.lt"]=f),z(u,c);let k=h&&h.headers?h.headers:{};return R.headers={...x,...k,...m.headers},{url:Q(u),options:R}},getOptionsSMA:async(n,t,i,e,s,o,r,d,l,g,b,p,f,m={})=>{$("getOptionsSMA","optionsTicker",n);let y="/v1/indicators/sma/{optionsTicker}".replace("{optionsTicker}",encodeURIComponent(String(n))),u=new URL(y,B),h;a&&(h=a.baseOptions);let R={method:"GET",...h,...m},x={},c={};await U(c,"apiKey",a),t!==void 0&&(c.timestamp=t),i!==void 0&&(c.timespan=i),e!==void 0&&(c.adjusted=e),s!==void 0&&(c.window=s),o!==void 0&&(c.series_type=o),r!==void 0&&(c.expand_underlying=r),d!==void 0&&(c.order=d),l!==void 0&&(c.limit=l),g!==void 0&&(c["timestamp.gte"]=g),b!==void 0&&(c["timestamp.gt"]=b),p!==void 0&&(c["timestamp.lte"]=p),f!==void 0&&(c["timestamp.lt"]=f),z(u,c);let k=h&&h.headers?h.headers:{};return R.headers={...x,...k,...m.headers},{url:Q(u),options:R}},getOptionsTrades:async(n,t,i,e,s,o,r,d,l,g={})=>{$("getOptionsTrades","optionsTicker",n);let b="/v3/trades/{optionsTicker}".replace("{optionsTicker}",encodeURIComponent(String(n))),p=new URL(b,B),f;a&&(f=a.baseOptions);let m={method:"GET",...f,...g},y={},u={};await U(u,"apiKey",a),t!==void 0&&(u.timestamp=t),i!==void 0&&(u["timestamp.gte"]=i),e!==void 0&&(u["timestamp.gt"]=e),s!==void 0&&(u["timestamp.lte"]=s),o!==void 0&&(u["timestamp.lt"]=o),r!==void 0&&(u.order=r),d!==void 0&&(u.limit=d),l!==void 0&&(u.sort=l),z(p,u);let h=f&&f.headers?f.headers:{};return m.headers={...y,...h,...g.headers},{url:Q(p),options:m}},getOptionsV1Exchanges:async(n,t={})=>{let i="/options/v1/exchanges",e=new URL(i,B),s;a&&(s=a.baseOptions);let o={method:"GET",...s,...t},r={},d={};await U(d,"apiKey",a),n!==void 0&&(d.limit=n),z(e,d);let l=s&&s.headers?s.headers:{};return o.headers={...r,...l,...t.headers},{url:Q(e),options:o}},getPreviousCryptoAggregates:async(n,t,i={})=>{$("getPreviousCryptoAggregates","cryptoTicker",n);let e="/v2/aggs/ticker/{cryptoTicker}/prev".replace("{cryptoTicker}",encodeURIComponent(String(n))),s=new URL(e,B),o;a&&(o=a.baseOptions);let r={method:"GET",...o,...i},d={},l={};await U(l,"apiKey",a),t!==void 0&&(l.adjusted=t),z(s,l);let g=o&&o.headers?o.headers:{};return r.headers={...d,...g,...i.headers},{url:Q(s),options:r}},getPreviousForexAggregates:async(n,t,i={})=>{$("getPreviousForexAggregates","forexTicker",n);let e="/v2/aggs/ticker/{forexTicker}/prev".replace("{forexTicker}",encodeURIComponent(String(n))),s=new URL(e,B),o;a&&(o=a.baseOptions);let r={method:"GET",...o,...i},d={},l={};await U(l,"apiKey",a),t!==void 0&&(l.adjusted=t),z(s,l);let g=o&&o.headers?o.headers:{};return r.headers={...d,...g,...i.headers},{url:Q(s),options:r}},getPreviousIndicesAggregates:async(n,t={})=>{$("getPreviousIndicesAggregates","indicesTicker",n);let i="/v2/aggs/ticker/{indicesTicker}/prev".replace("{indicesTicker}",encodeURIComponent(String(n))),e=new URL(i,B),s;a&&(s=a.baseOptions);let o={method:"GET",...s,...t},r={},d={};await U(d,"apiKey",a),z(e,d);let l=s&&s.headers?s.headers:{};return o.headers={...r,...l,...t.headers},{url:Q(e),options:o}},getPreviousOptionsAggregates:async(n,t,i={})=>{$("getPreviousOptionsAggregates","optionsTicker",n);let e="/v2/aggs/ticker/{optionsTicker}/prev".replace("{optionsTicker}",encodeURIComponent(String(n))),s=new URL(e,B),o;a&&(o=a.baseOptions);let r={method:"GET",...o,...i},d={},l={};await U(l,"apiKey",a),t!==void 0&&(l.adjusted=t),z(s,l);let g=o&&o.headers?o.headers:{};return r.headers={...d,...g,...i.headers},{url:Q(s),options:r}},getPreviousStocksAggregates:async(n,t,i={})=>{$("getPreviousStocksAggregates","stocksTicker",n);let e="/v2/aggs/ticker/{stocksTicker}/prev".replace("{stocksTicker}",encodeURIComponent(String(n))),s=new URL(e,B),o;a&&(o=a.baseOptions);let r={method:"GET",...o,...i},d={},l={};await U(l,"apiKey",a),t!==void 0&&(l.adjusted=t),z(s,l);let g=o&&o.headers?o.headers:{};return r.headers={...d,...g,...i.headers},{url:Q(s),options:r}},getRelatedCompanies:async(n,t={})=>{$("getRelatedCompanies","ticker",n);let i="/v1/related-companies/{ticker}".replace("{ticker}",encodeURIComponent(String(n))),e=new URL(i,B),s;a&&(s=a.baseOptions);let o={method:"GET",...s,...t},r={},d={};await U(d,"apiKey",a),z(e,d);let l=s&&s.headers?s.headers:{};return o.headers={...r,...l,...t.headers},{url:Q(e),options:o}},getSnapshotSummary:async(n,t={})=>{let i="/v1/summaries",e=new URL(i,B),s;a&&(s=a.baseOptions);let o={method:"GET",...s,...t},r={},d={};await U(d,"apiKey",a),n!==void 0&&(d["ticker.any_of"]=n),z(e,d);let l=s&&s.headers?s.headers:{};return o.headers={...r,...l,...t.headers},{url:Q(e),options:o}},getSnapshots:async(n,t,i,e,s,o,r,d,l,g,b={})=>{let p="/v3/snapshot",f=new URL(p,B),m;a&&(m=a.baseOptions);let y={method:"GET",...m,...b},u={},h={};await U(h,"apiKey",a),n!==void 0&&(h.ticker=n),t!==void 0&&(h.type=t),i!==void 0&&(h["ticker.gte"]=i),e!==void 0&&(h["ticker.gt"]=e),s!==void 0&&(h["ticker.lte"]=s),o!==void 0&&(h["ticker.lt"]=o),r!==void 0&&(h["ticker.any_of"]=r),d!==void 0&&(h.order=d),l!==void 0&&(h.limit=l),g!==void 0&&(h.sort=g),z(f,h);let R=m&&m.headers?m.headers:{};return y.headers={...u,...R,...b.headers},{url:Q(f),options:y}},getStocksAggregates:async(n,t,i,e,s,o,r,d,l={})=>{$("getStocksAggregates","stocksTicker",n),$("getStocksAggregates","multiplier",t),$("getStocksAggregates","timespan",i),$("getStocksAggregates","from",e),$("getStocksAggregates","to",s);let g="/v2/aggs/ticker/{stocksTicker}/range/{multiplier}/{timespan}/{from}/{to}".replace("{stocksTicker}",encodeURIComponent(String(n))).replace("{multiplier}",encodeURIComponent(String(t))).replace("{timespan}",encodeURIComponent(String(i))).replace("{from}",encodeURIComponent(String(e))).replace("{to}",encodeURIComponent(String(s))),b=new URL(g,B),p;a&&(p=a.baseOptions);let f={method:"GET",...p,...l},m={},y={};await U(y,"apiKey",a),o!==void 0&&(y.adjusted=o),r!==void 0&&(y.sort=r),d!==void 0&&(y.limit=d),z(b,y);let u=p&&p.headers?p.headers:{};return f.headers={...m,...u,...l.headers},{url:Q(b),options:f}},getStocksEMA:async(n,t,i,e,s,o,r,d,l,g,b,p,f,m={})=>{$("getStocksEMA","stockTicker",n);let y="/v1/indicators/ema/{stockTicker}".replace("{stockTicker}",encodeURIComponent(String(n))),u=new URL(y,B),h;a&&(h=a.baseOptions);let R={method:"GET",...h,...m},x={},c={};await U(c,"apiKey",a),t!==void 0&&(c.timestamp=t),i!==void 0&&(c.timespan=i),e!==void 0&&(c.adjusted=e),s!==void 0&&(c.window=s),o!==void 0&&(c.series_type=o),r!==void 0&&(c.expand_underlying=r),d!==void 0&&(c.order=d),l!==void 0&&(c.limit=l),g!==void 0&&(c["timestamp.gte"]=g),b!==void 0&&(c["timestamp.gt"]=b),p!==void 0&&(c["timestamp.lte"]=p),f!==void 0&&(c["timestamp.lt"]=f),z(u,c);let k=h&&h.headers?h.headers:{};return R.headers={...x,...k,...m.headers},{url:Q(u),options:R}},getStocksFilings10KVXSections:async(n,t,i,e,s,o,r,d,l,g,b,p,f,m,y,u,h,R,x,c,k,A,G,v,O,I,V={})=>{let K="/stocks/filings/10-K/vX/sections",L=new URL(K,B),j;a&&(j=a.baseOptions);let X={method:"GET",...j,...V},S={},C={};await U(C,"apiKey",a),n!==void 0&&(C.cik=n),t!==void 0&&(C["cik.any_of"]=t),i!==void 0&&(C["cik.gt"]=i),e!==void 0&&(C["cik.gte"]=e),s!==void 0&&(C["cik.lt"]=s),o!==void 0&&(C["cik.lte"]=o),r!==void 0&&(C.ticker=r),d!==void 0&&(C["ticker.any_of"]=d),l!==void 0&&(C["ticker.gt"]=l),g!==void 0&&(C["ticker.gte"]=g),b!==void 0&&(C["ticker.lt"]=b),p!==void 0&&(C["ticker.lte"]=p),f!==void 0&&(C.section=f),m!==void 0&&(C["section.any_of"]=m),y!==void 0&&(C.filing_date=y),u!==void 0&&(C["filing_date.gt"]=u),h!==void 0&&(C["filing_date.gte"]=h),R!==void 0&&(C["filing_date.lt"]=R),x!==void 0&&(C["filing_date.lte"]=x),c!==void 0&&(C.period_end=c),k!==void 0&&(C["period_end.gt"]=k),A!==void 0&&(C["period_end.gte"]=A),G!==void 0&&(C["period_end.lt"]=G),v!==void 0&&(C["period_end.lte"]=v),O!==void 0&&(C.limit=O),I!==void 0&&(C.sort=I),z(L,C);let w=j&&j.headers?j.headers:{};return X.headers={...S,...w,...V.headers},{url:Q(L),options:X}},getStocksFilingsVXIndex:async(n,t,i,e,s,o,r,d,l,g,b,p,f,m,y,u,h,R,x,c,k,A,G,v,O,I={})=>{let V="/stocks/filings/vX/index",K=new URL(V,B),L;a&&(L=a.baseOptions);let j={method:"GET",...L,...I},X={},S={};await U(S,"apiKey",a),n!==void 0&&(S.cik=n),t!==void 0&&(S["cik.any_of"]=t),i!==void 0&&(S["cik.gt"]=i),e!==void 0&&(S["cik.gte"]=e),s!==void 0&&(S["cik.lt"]=s),o!==void 0&&(S["cik.lte"]=o),r!==void 0&&(S.ticker=r),d!==void 0&&(S["ticker.any_of"]=d),l!==void 0&&(S["ticker.gt"]=l),g!==void 0&&(S["ticker.gte"]=g),b!==void 0&&(S["ticker.lt"]=b),p!==void 0&&(S["ticker.lte"]=p),f!==void 0&&(S.form_type=f),m!==void 0&&(S["form_type.any_of"]=m),y!==void 0&&(S["form_type.gt"]=y),u!==void 0&&(S["form_type.gte"]=u),h!==void 0&&(S["form_type.lt"]=h),R!==void 0&&(S["form_type.lte"]=R),x!==void 0&&(S.filing_date=x),c!==void 0&&(S["filing_date.gt"]=c),k!==void 0&&(S["filing_date.gte"]=k),A!==void 0&&(S["filing_date.lt"]=A),G!==void 0&&(S["filing_date.lte"]=G),v!==void 0&&(S.limit=v),O!==void 0&&(S.sort=O),z(K,S);let C=L&&L.headers?L.headers:{};return j.headers={...X,...C,...I.headers},{url:Q(K),options:j}},getStocksFilingsVXRiskFactors:async(n,t,i,e,s,o,r,d,l,g,b,p,f,m,y,u,h,R,x,c,k={})=>{let A="/stocks/filings/vX/risk-factors",G=new URL(A,B),v;a&&(v=a.baseOptions);let O={method:"GET",...v,...k},I={},V={};await U(V,"apiKey",a),n!==void 0&&(V.filing_date=n),t!==void 0&&(V["filing_date.any_of"]=t),i!==void 0&&(V["filing_date.gt"]=i),e!==void 0&&(V["filing_date.gte"]=e),s!==void 0&&(V["filing_date.lt"]=s),o!==void 0&&(V["filing_date.lte"]=o),r!==void 0&&(V.ticker=r),d!==void 0&&(V["ticker.any_of"]=d),l!==void 0&&(V["ticker.gt"]=l),g!==void 0&&(V["ticker.gte"]=g),b!==void 0&&(V["ticker.lt"]=b),p!==void 0&&(V["ticker.lte"]=p),f!==void 0&&(V.cik=f),m!==void 0&&(V["cik.any_of"]=m),y!==void 0&&(V["cik.gt"]=y),u!==void 0&&(V["cik.gte"]=u),h!==void 0&&(V["cik.lt"]=h),R!==void 0&&(V["cik.lte"]=R),x!==void 0&&(V.limit=x),c!==void 0&&(V.sort=c),z(G,V);let K=v&&v.headers?v.headers:{};return O.headers={...I,...K,...k.headers},{url:Q(G),options:O}},getStocksFinancialsV1BalanceSheets:async(n,t,i,e,s,o,r,d,l,g,b,p,f,m,y,u,h,R,x,c,k,A,G,v,O,I,V,K,L,j,X,S,C,w,en,nn,on,sn,Y,rn,an,T,dn,pn,fn,un,ln,gn,yn,W={})=>{let J="/stocks/financials/v1/balance-sheets",bn=new URL(J,B),cn;a&&(cn=a.baseOptions);let mn={method:"GET",...cn,...W},Z={},_={};await U(_,"apiKey",a),n!==void 0&&(_.cik=n),t!==void 0&&(_["cik.any_of"]=t),i!==void 0&&(_["cik.gt"]=i),e!==void 0&&(_["cik.gte"]=e),s!==void 0&&(_["cik.lt"]=s),o!==void 0&&(_["cik.lte"]=o),r!==void 0&&(_.tickers=r),d!==void 0&&(_["tickers.all_of"]=d),l!==void 0&&(_["tickers.any_of"]=l),g!==void 0&&(_.period_end=g),b!==void 0&&(_["period_end.gt"]=b),p!==void 0&&(_["period_end.gte"]=p),f!==void 0&&(_["period_end.lt"]=f),m!==void 0&&(_["period_end.lte"]=m),y!==void 0&&(_.filing_date=y),u!==void 0&&(_["filing_date.gt"]=u),h!==void 0&&(_["filing_date.gte"]=h),R!==void 0&&(_["filing_date.lt"]=R),x!==void 0&&(_["filing_date.lte"]=x),c!==void 0&&(_.fiscal_year=c),k!==void 0&&(_["fiscal_year.gt"]=k),A!==void 0&&(_["fiscal_year.gte"]=A),G!==void 0&&(_["fiscal_year.lt"]=G),v!==void 0&&(_["fiscal_year.lte"]=v),O!==void 0&&(_.fiscal_quarter=O),I!==void 0&&(_["fiscal_quarter.gt"]=I),V!==void 0&&(_["fiscal_quarter.gte"]=V),K!==void 0&&(_["fiscal_quarter.lt"]=K),L!==void 0&&(_["fiscal_quarter.lte"]=L),j!==void 0&&(_.timeframe=j),X!==void 0&&(_["timeframe.any_of"]=X),S!==void 0&&(_["timeframe.gt"]=S),C!==void 0&&(_["timeframe.gte"]=C),w!==void 0&&(_["timeframe.lt"]=w),en!==void 0&&(_["timeframe.lte"]=en),nn!==void 0&&(_.max_ticker=nn),on!==void 0&&(_["max_ticker.any_of"]=on),sn!==void 0&&(_["max_ticker.gt"]=sn),Y!==void 0&&(_["max_ticker.gte"]=Y),rn!==void 0&&(_["max_ticker.lt"]=rn),an!==void 0&&(_["max_ticker.lte"]=an),T!==void 0&&(_.min_ticker=T),dn!==void 0&&(_["min_ticker.any_of"]=dn),pn!==void 0&&(_["min_ticker.gt"]=pn),fn!==void 0&&(_["min_ticker.gte"]=fn),un!==void 0&&(_["min_ticker.lt"]=un),ln!==void 0&&(_["min_ticker.lte"]=ln),gn!==void 0&&(_.limit=gn),yn!==void 0&&(_.sort=yn),z(bn,_);let hn=cn&&cn.headers?cn.headers:{};return mn.headers={...Z,...hn,...W.headers},{url:Q(bn),options:mn}},getStocksFinancialsV1CashFlowStatements:async(n,t,i,e,s,o,r,d,l,g,b,p,f,m,y,u,h,R,x,c,k,A,G,v,O,I,V,K,L,j,X,S,C,w,en,nn,on,sn,Y,rn,an,T,dn,pn,fn,un,ln,gn,yn,W={})=>{let J="/stocks/financials/v1/cash-flow-statements",bn=new URL(J,B),cn;a&&(cn=a.baseOptions);let mn={method:"GET",...cn,...W},Z={},_={};await U(_,"apiKey",a),n!==void 0&&(_.cik=n),t!==void 0&&(_["cik.any_of"]=t),i!==void 0&&(_["cik.gt"]=i),e!==void 0&&(_["cik.gte"]=e),s!==void 0&&(_["cik.lt"]=s),o!==void 0&&(_["cik.lte"]=o),r!==void 0&&(_.period_end=r),d!==void 0&&(_["period_end.gt"]=d),l!==void 0&&(_["period_end.gte"]=l),g!==void 0&&(_["period_end.lt"]=g),b!==void 0&&(_["period_end.lte"]=b),p!==void 0&&(_.filing_date=p),f!==void 0&&(_["filing_date.gt"]=f),m!==void 0&&(_["filing_date.gte"]=m),y!==void 0&&(_["filing_date.lt"]=y),u!==void 0&&(_["filing_date.lte"]=u),h!==void 0&&(_.tickers=h),R!==void 0&&(_["tickers.all_of"]=R),x!==void 0&&(_["tickers.any_of"]=x),c!==void 0&&(_.fiscal_year=c),k!==void 0&&(_["fiscal_year.gt"]=k),A!==void 0&&(_["fiscal_year.gte"]=A),G!==void 0&&(_["fiscal_year.lt"]=G),v!==void 0&&(_["fiscal_year.lte"]=v),O!==void 0&&(_.fiscal_quarter=O),I!==void 0&&(_["fiscal_quarter.gt"]=I),V!==void 0&&(_["fiscal_quarter.gte"]=V),K!==void 0&&(_["fiscal_quarter.lt"]=K),L!==void 0&&(_["fiscal_quarter.lte"]=L),j!==void 0&&(_.timeframe=j),X!==void 0&&(_["timeframe.any_of"]=X),S!==void 0&&(_["timeframe.gt"]=S),C!==void 0&&(_["timeframe.gte"]=C),w!==void 0&&(_["timeframe.lt"]=w),en!==void 0&&(_["timeframe.lte"]=en),nn!==void 0&&(_.max_ticker=nn),on!==void 0&&(_["max_ticker.any_of"]=on),sn!==void 0&&(_["max_ticker.gt"]=sn),Y!==void 0&&(_["max_ticker.gte"]=Y),rn!==void 0&&(_["max_ticker.lt"]=rn),an!==void 0&&(_["max_ticker.lte"]=an),T!==void 0&&(_.min_ticker=T),dn!==void 0&&(_["min_ticker.any_of"]=dn),pn!==void 0&&(_["min_ticker.gt"]=pn),fn!==void 0&&(_["min_ticker.gte"]=fn),un!==void 0&&(_["min_ticker.lt"]=un),ln!==void 0&&(_["min_ticker.lte"]=ln),gn!==void 0&&(_.limit=gn),yn!==void 0&&(_.sort=yn),z(bn,_);let hn=cn&&cn.headers?cn.headers:{};return mn.headers={...Z,...hn,...W.headers},{url:Q(bn),options:mn}},getStocksFinancialsV1IncomeStatements:async(n,t,i,e,s,o,r,d,l,g,b,p,f,m,y,u,h,R,x,c,k,A,G,v,O,I,V,K,L,j,X,S,C,w,en,nn,on,sn,Y,rn,an,T,dn,pn,fn,un,ln,gn,yn,W={})=>{let J="/stocks/financials/v1/income-statements",bn=new URL(J,B),cn;a&&(cn=a.baseOptions);let mn={method:"GET",...cn,...W},Z={},_={};await U(_,"apiKey",a),n!==void 0&&(_.cik=n),t!==void 0&&(_["cik.any_of"]=t),i!==void 0&&(_["cik.gt"]=i),e!==void 0&&(_["cik.gte"]=e),s!==void 0&&(_["cik.lt"]=s),o!==void 0&&(_["cik.lte"]=o),r!==void 0&&(_.tickers=r),d!==void 0&&(_["tickers.all_of"]=d),l!==void 0&&(_["tickers.any_of"]=l),g!==void 0&&(_.period_end=g),b!==void 0&&(_["period_end.gt"]=b),p!==void 0&&(_["period_end.gte"]=p),f!==void 0&&(_["period_end.lt"]=f),m!==void 0&&(_["period_end.lte"]=m),y!==void 0&&(_.filing_date=y),u!==void 0&&(_["filing_date.gt"]=u),h!==void 0&&(_["filing_date.gte"]=h),R!==void 0&&(_["filing_date.lt"]=R),x!==void 0&&(_["filing_date.lte"]=x),c!==void 0&&(_.fiscal_year=c),k!==void 0&&(_["fiscal_year.gt"]=k),A!==void 0&&(_["fiscal_year.gte"]=A),G!==void 0&&(_["fiscal_year.lt"]=G),v!==void 0&&(_["fiscal_year.lte"]=v),O!==void 0&&(_.fiscal_quarter=O),I!==void 0&&(_["fiscal_quarter.gt"]=I),V!==void 0&&(_["fiscal_quarter.gte"]=V),K!==void 0&&(_["fiscal_quarter.lt"]=K),L!==void 0&&(_["fiscal_quarter.lte"]=L),j!==void 0&&(_.timeframe=j),X!==void 0&&(_["timeframe.any_of"]=X),S!==void 0&&(_["timeframe.gt"]=S),C!==void 0&&(_["timeframe.gte"]=C),w!==void 0&&(_["timeframe.lt"]=w),en!==void 0&&(_["timeframe.lte"]=en),nn!==void 0&&(_.max_ticker=nn),on!==void 0&&(_["max_ticker.any_of"]=on),sn!==void 0&&(_["max_ticker.gt"]=sn),Y!==void 0&&(_["max_ticker.gte"]=Y),rn!==void 0&&(_["max_ticker.lt"]=rn),an!==void 0&&(_["max_ticker.lte"]=an),T!==void 0&&(_.min_ticker=T),dn!==void 0&&(_["min_ticker.any_of"]=dn),pn!==void 0&&(_["min_ticker.gt"]=pn),fn!==void 0&&(_["min_ticker.gte"]=fn),un!==void 0&&(_["min_ticker.lt"]=un),ln!==void 0&&(_["min_ticker.lte"]=ln),gn!==void 0&&(_.limit=gn),yn!==void 0&&(_.sort=yn),z(bn,_);let hn=cn&&cn.headers?cn.headers:{};return mn.headers={...Z,...hn,...W.headers},{url:Q(bn),options:mn}},getStocksFinancialsV1Ratios:async(n,t,i,e,s,o,r,d,l,g,b,p,f,m,y,u,h,R,x,c,k,A,G,v,O,I,V,K,L,j,X,S,C,w,en,nn,on,sn,Y,rn,an,T,dn,pn,fn,un,ln,gn,yn,W,J,bn,cn,mn,Z,_,hn,Rn,An,xn,P,kn,tn,Vn,On,Cn,Sn,wn,vn,In,Tn,Ln,_n,Dn,Fn,q,Un,zn,Qn,En,Mn,Hn,jn,Kn,Nn,Xn,$n,Yn,Wn,Jn,Zn,qn,Pn,ne,ee,te,ie,se,oe,re,ae,de,le,ge,ce,pe,fe,ue,ye,be,me,he,Re,xe,Ae={})=>{let Se="/stocks/financials/v1/ratios",ke=new URL(Se,B),Bn;a&&(Bn=a.baseOptions);let _e={method:"GET",...Bn,...Ae},we={},N={};await U(N,"apiKey",a),n!==void 0&&(N.ticker=n),t!==void 0&&(N["ticker.any_of"]=t),i!==void 0&&(N["ticker.gt"]=i),e!==void 0&&(N["ticker.gte"]=e),s!==void 0&&(N["ticker.lt"]=s),o!==void 0&&(N["ticker.lte"]=o),r!==void 0&&(N.cik=r),d!==void 0&&(N["cik.any_of"]=d),l!==void 0&&(N["cik.gt"]=l),g!==void 0&&(N["cik.gte"]=g),b!==void 0&&(N["cik.lt"]=b),p!==void 0&&(N["cik.lte"]=p),f!==void 0&&(N.price=f),m!==void 0&&(N["price.gt"]=m),y!==void 0&&(N["price.gte"]=y),u!==void 0&&(N["price.lt"]=u),h!==void 0&&(N["price.lte"]=h),R!==void 0&&(N.average_volume=R),x!==void 0&&(N["average_volume.gt"]=x),c!==void 0&&(N["average_volume.gte"]=c),k!==void 0&&(N["average_volume.lt"]=k),A!==void 0&&(N["average_volume.lte"]=A),G!==void 0&&(N.market_cap=G),v!==void 0&&(N["market_cap.gt"]=v),O!==void 0&&(N["market_cap.gte"]=O),I!==void 0&&(N["market_cap.lt"]=I),V!==void 0&&(N["market_cap.lte"]=V),K!==void 0&&(N.earnings_per_share=K),L!==void 0&&(N["earnings_per_share.gt"]=L),j!==void 0&&(N["earnings_per_share.gte"]=j),X!==void 0&&(N["earnings_per_share.lt"]=X),S!==void 0&&(N["earnings_per_share.lte"]=S),C!==void 0&&(N.price_to_earnings=C),w!==void 0&&(N["price_to_earnings.gt"]=w),en!==void 0&&(N["price_to_earnings.gte"]=en),nn!==void 0&&(N["price_to_earnings.lt"]=nn),on!==void 0&&(N["price_to_earnings.lte"]=on),sn!==void 0&&(N.price_to_book=sn),Y!==void 0&&(N["price_to_book.gt"]=Y),rn!==void 0&&(N["price_to_book.gte"]=rn),an!==void 0&&(N["price_to_book.lt"]=an),T!==void 0&&(N["price_to_book.lte"]=T),dn!==void 0&&(N.price_to_sales=dn),pn!==void 0&&(N["price_to_sales.gt"]=pn),fn!==void 0&&(N["price_to_sales.gte"]=fn),un!==void 0&&(N["price_to_sales.lt"]=un),ln!==void 0&&(N["price_to_sales.lte"]=ln),gn!==void 0&&(N.price_to_cash_flow=gn),yn!==void 0&&(N["price_to_cash_flow.gt"]=yn),W!==void 0&&(N["price_to_cash_flow.gte"]=W),J!==void 0&&(N["price_to_cash_flow.lt"]=J),bn!==void 0&&(N["price_to_cash_flow.lte"]=bn),cn!==void 0&&(N.price_to_free_cash_flow=cn),mn!==void 0&&(N["price_to_free_cash_flow.gt"]=mn),Z!==void 0&&(N["price_to_free_cash_flow.gte"]=Z),_!==void 0&&(N["price_to_free_cash_flow.lt"]=_),hn!==void 0&&(N["price_to_free_cash_flow.lte"]=hn),Rn!==void 0&&(N.dividend_yield=Rn),An!==void 0&&(N["dividend_yield.gt"]=An),xn!==void 0&&(N["dividend_yield.gte"]=xn),P!==void 0&&(N["dividend_yield.lt"]=P),kn!==void 0&&(N["dividend_yield.lte"]=kn),tn!==void 0&&(N.return_on_assets=tn),Vn!==void 0&&(N["return_on_assets.gt"]=Vn),On!==void 0&&(N["return_on_assets.gte"]=On),Cn!==void 0&&(N["return_on_assets.lt"]=Cn),Sn!==void 0&&(N["return_on_assets.lte"]=Sn),wn!==void 0&&(N.return_on_equity=wn),vn!==void 0&&(N["return_on_equity.gt"]=vn),In!==void 0&&(N["return_on_equity.gte"]=In),Tn!==void 0&&(N["return_on_equity.lt"]=Tn),Ln!==void 0&&(N["return_on_equity.lte"]=Ln),_n!==void 0&&(N.debt_to_equity=_n),Dn!==void 0&&(N["debt_to_equity.gt"]=Dn),Fn!==void 0&&(N["debt_to_equity.gte"]=Fn),q!==void 0&&(N["debt_to_equity.lt"]=q),Un!==void 0&&(N["debt_to_equity.lte"]=Un),zn!==void 0&&(N.current=zn),Qn!==void 0&&(N["current.gt"]=Qn),En!==void 0&&(N["current.gte"]=En),Mn!==void 0&&(N["current.lt"]=Mn),Hn!==void 0&&(N["current.lte"]=Hn),jn!==void 0&&(N.quick=jn),Kn!==void 0&&(N["quick.gt"]=Kn),Nn!==void 0&&(N["quick.gte"]=Nn),Xn!==void 0&&(N["quick.lt"]=Xn),$n!==void 0&&(N["quick.lte"]=$n),Yn!==void 0&&(N.cash=Yn),Wn!==void 0&&(N["cash.gt"]=Wn),Jn!==void 0&&(N["cash.gte"]=Jn),Zn!==void 0&&(N["cash.lt"]=Zn),qn!==void 0&&(N["cash.lte"]=qn),Pn!==void 0&&(N.ev_to_sales=Pn),ne!==void 0&&(N["ev_to_sales.gt"]=ne),ee!==void 0&&(N["ev_to_sales.gte"]=ee),te!==void 0&&(N["ev_to_sales.lt"]=te),ie!==void 0&&(N["ev_to_sales.lte"]=ie),se!==void 0&&(N.ev_to_ebitda=se),oe!==void 0&&(N["ev_to_ebitda.gt"]=oe),re!==void 0&&(N["ev_to_ebitda.gte"]=re),ae!==void 0&&(N["ev_to_ebitda.lt"]=ae),de!==void 0&&(N["ev_to_ebitda.lte"]=de),le!==void 0&&(N.enterprise_value=le),ge!==void 0&&(N["enterprise_value.gt"]=ge),ce!==void 0&&(N["enterprise_value.gte"]=ce),pe!==void 0&&(N["enterprise_value.lt"]=pe),fe!==void 0&&(N["enterprise_value.lte"]=fe),ue!==void 0&&(N.free_cash_flow=ue),ye!==void 0&&(N["free_cash_flow.gt"]=ye),be!==void 0&&(N["free_cash_flow.gte"]=be),me!==void 0&&(N["free_cash_flow.lt"]=me),he!==void 0&&(N["free_cash_flow.lte"]=he),Re!==void 0&&(N.limit=Re),xe!==void 0&&(N.sort=xe),z(ke,N);let ze=Bn&&Bn.headers?Bn.headers:{};return _e.headers={...we,...ze,...Ae.headers},{url:Q(ke),options:_e}},getStocksMACD:async(n,t,i,e,s,o,r,d,l,g,b,p,f,m,y,u={})=>{$("getStocksMACD","stockTicker",n);let h="/v1/indicators/macd/{stockTicker}".replace("{stockTicker}",encodeURIComponent(String(n))),R=new URL(h,B),x;a&&(x=a.baseOptions);let c={method:"GET",...x,...u},k={},A={};await U(A,"apiKey",a),t!==void 0&&(A.timestamp=t),i!==void 0&&(A.timespan=i),e!==void 0&&(A.adjusted=e),s!==void 0&&(A.short_window=s),o!==void 0&&(A.long_window=o),r!==void 0&&(A.signal_window=r),d!==void 0&&(A.series_type=d),l!==void 0&&(A.expand_underlying=l),g!==void 0&&(A.order=g),b!==void 0&&(A.limit=b),p!==void 0&&(A["timestamp.gte"]=p),f!==void 0&&(A["timestamp.gt"]=f),m!==void 0&&(A["timestamp.lte"]=m),y!==void 0&&(A["timestamp.lt"]=y),z(R,A);let G=x&&x.headers?x.headers:{};return c.headers={...k,...G,...u.headers},{url:Q(R),options:c}},getStocksOpenClose:async(n,t,i,e={})=>{$("getStocksOpenClose","stocksTicker",n),$("getStocksOpenClose","date",t);let s="/v1/open-close/{stocksTicker}/{date}".replace("{stocksTicker}",encodeURIComponent(String(n))).replace("{date}",encodeURIComponent(String(t))),o=new URL(s,B),r;a&&(r=a.baseOptions);let d={method:"GET",...r,...e},l={},g={};await U(g,"apiKey",a),i!==void 0&&(g.adjusted=i),z(o,g);let b=r&&r.headers?r.headers:{};return d.headers={...l,...b,...e.headers},{url:Q(o),options:d}},getStocksQuotes:async(n,t,i,e,s,o,r,d,l,g={})=>{$("getStocksQuotes","stockTicker",n);let b="/v3/quotes/{stockTicker}".replace("{stockTicker}",encodeURIComponent(String(n))),p=new URL(b,B),f;a&&(f=a.baseOptions);let m={method:"GET",...f,...g},y={},u={};await U(u,"apiKey",a),t!==void 0&&(u.timestamp=t),i!==void 0&&(u["timestamp.gte"]=i),e!==void 0&&(u["timestamp.gt"]=e),s!==void 0&&(u["timestamp.lte"]=s),o!==void 0&&(u["timestamp.lt"]=o),r!==void 0&&(u.order=r),d!==void 0&&(u.limit=d),l!==void 0&&(u.sort=l),z(p,u);let h=f&&f.headers?f.headers:{};return m.headers={...y,...h,...g.headers},{url:Q(p),options:m}},getStocksRSI:async(n,t,i,e,s,o,r,d,l,g,b,p,f,m={})=>{$("getStocksRSI","stockTicker",n);let y="/v1/indicators/rsi/{stockTicker}".replace("{stockTicker}",encodeURIComponent(String(n))),u=new URL(y,B),h;a&&(h=a.baseOptions);let R={method:"GET",...h,...m},x={},c={};await U(c,"apiKey",a),t!==void 0&&(c.timestamp=t),i!==void 0&&(c.timespan=i),e!==void 0&&(c.adjusted=e),s!==void 0&&(c.window=s),o!==void 0&&(c.series_type=o),r!==void 0&&(c.expand_underlying=r),d!==void 0&&(c.order=d),l!==void 0&&(c.limit=l),g!==void 0&&(c["timestamp.gte"]=g),b!==void 0&&(c["timestamp.gt"]=b),p!==void 0&&(c["timestamp.lte"]=p),f!==void 0&&(c["timestamp.lt"]=f),z(u,c);let k=h&&h.headers?h.headers:{};return R.headers={...x,...k,...m.headers},{url:Q(u),options:R}},getStocksSMA:async(n,t,i,e,s,o,r,d,l,g,b,p,f,m={})=>{$("getStocksSMA","stockTicker",n);let y="/v1/indicators/sma/{stockTicker}".replace("{stockTicker}",encodeURIComponent(String(n))),u=new URL(y,B),h;a&&(h=a.baseOptions);let R={method:"GET",...h,...m},x={},c={};await U(c,"apiKey",a),t!==void 0&&(c.timestamp=t),i!==void 0&&(c.timespan=i),e!==void 0&&(c.adjusted=e),s!==void 0&&(c.window=s),o!==void 0&&(c.series_type=o),r!==void 0&&(c.expand_underlying=r),d!==void 0&&(c.order=d),l!==void 0&&(c.limit=l),g!==void 0&&(c["timestamp.gte"]=g),b!==void 0&&(c["timestamp.gt"]=b),p!==void 0&&(c["timestamp.lte"]=p),f!==void 0&&(c["timestamp.lt"]=f),z(u,c);let k=h&&h.headers?h.headers:{};return R.headers={...x,...k,...m.headers},{url:Q(u),options:R}},getStocksSnapshotDirection:async(n,t,i={})=>{$("getStocksSnapshotDirection","direction",n);let e="/v2/snapshot/locale/us/markets/stocks/{direction}".replace("{direction}",encodeURIComponent(String(n))),s=new URL(e,B),o;a&&(o=a.baseOptions);let r={method:"GET",...o,...i},d={},l={};await U(l,"apiKey",a),t!==void 0&&(l.include_otc=t),z(s,l);let g=o&&o.headers?o.headers:{};return r.headers={...d,...g,...i.headers},{url:Q(s),options:r}},getStocksSnapshotTicker:async(n,t={})=>{$("getStocksSnapshotTicker","stocksTicker",n);let i="/v2/snapshot/locale/us/markets/stocks/tickers/{stocksTicker}".replace("{stocksTicker}",encodeURIComponent(String(n))),e=new URL(i,B),s;a&&(s=a.baseOptions);let o={method:"GET",...s,...t},r={},d={};await U(d,"apiKey",a),z(e,d);let l=s&&s.headers?s.headers:{};return o.headers={...r,...l,...t.headers},{url:Q(e),options:o}},getStocksSnapshotTickers:async(n,t,i={})=>{let e="/v2/snapshot/locale/us/markets/stocks/tickers",s=new URL(e,B),o;a&&(o=a.baseOptions);let r={method:"GET",...o,...i},d={},l={};await U(l,"apiKey",a),n&&(l.tickers=n),t!==void 0&&(l.include_otc=t),z(s,l);let g=o&&o.headers?o.headers:{};return r.headers={...d,...g,...i.headers},{url:Q(s),options:r}},getStocksTaxonomiesVXRiskFactors:async(n,t,i,e,s,o,r,d,l,g,b,p,f,m,y,u,h,R,x,c,k,A,G,v,O,I={})=>{let V="/stocks/taxonomies/vX/risk-factors",K=new URL(V,B),L;a&&(L=a.baseOptions);let j={method:"GET",...L,...I},X={},S={};await U(S,"apiKey",a),n!==void 0&&(S.taxonomy=n),t!==void 0&&(S["taxonomy.gt"]=t),i!==void 0&&(S["taxonomy.gte"]=i),e!==void 0&&(S["taxonomy.lt"]=e),s!==void 0&&(S["taxonomy.lte"]=s),o!==void 0&&(S.primary_category=o),r!==void 0&&(S["primary_category.any_of"]=r),d!==void 0&&(S["primary_category.gt"]=d),l!==void 0&&(S["primary_category.gte"]=l),g!==void 0&&(S["primary_category.lt"]=g),b!==void 0&&(S["primary_category.lte"]=b),p!==void 0&&(S.secondary_category=p),f!==void 0&&(S["secondary_category.any_of"]=f),m!==void 0&&(S["secondary_category.gt"]=m),y!==void 0&&(S["secondary_category.gte"]=y),u!==void 0&&(S["secondary_category.lt"]=u),h!==void 0&&(S["secondary_category.lte"]=h),R!==void 0&&(S.tertiary_category=R),x!==void 0&&(S["tertiary_category.any_of"]=x),c!==void 0&&(S["tertiary_category.gt"]=c),k!==void 0&&(S["tertiary_category.gte"]=k),A!==void 0&&(S["tertiary_category.lt"]=A),G!==void 0&&(S["tertiary_category.lte"]=G),v!==void 0&&(S.limit=v),O!==void 0&&(S.sort=O),z(K,S);let C=L&&L.headers?L.headers:{};return j.headers={...X,...C,...I.headers},{url:Q(K),options:j}},getStocksTrades:async(n,t,i,e,s,o,r,d,l,g={})=>{$("getStocksTrades","stockTicker",n);let b="/v3/trades/{stockTicker}".replace("{stockTicker}",encodeURIComponent(String(n))),p=new URL(b,B),f;a&&(f=a.baseOptions);let m={method:"GET",...f,...g},y={},u={};await U(u,"apiKey",a),t!==void 0&&(u.timestamp=t),i!==void 0&&(u["timestamp.gte"]=i),e!==void 0&&(u["timestamp.gt"]=e),s!==void 0&&(u["timestamp.lte"]=s),o!==void 0&&(u["timestamp.lt"]=o),r!==void 0&&(u.order=r),d!==void 0&&(u.limit=d),l!==void 0&&(u.sort=l),z(p,u);let h=f&&f.headers?f.headers:{};return m.headers={...y,...h,...g.headers},{url:Q(p),options:m}},getStocksV1Dividends:async(n,t,i,e,s,o,r,d,l,g,b,p,f,m,y,u,h,R,x,c,k={})=>{let A="/stocks/v1/dividends",G=new URL(A,B),v;a&&(v=a.baseOptions);let O={method:"GET",...v,...k},I={},V={};await U(V,"apiKey",a),n!==void 0&&(V.ticker=n),t!==void 0&&(V["ticker.any_of"]=t),i!==void 0&&(V["ticker.gt"]=i),e!==void 0&&(V["ticker.gte"]=e),s!==void 0&&(V["ticker.lt"]=s),o!==void 0&&(V["ticker.lte"]=o),r!==void 0&&(V.ex_dividend_date=r),d!==void 0&&(V["ex_dividend_date.gt"]=d),l!==void 0&&(V["ex_dividend_date.gte"]=l),g!==void 0&&(V["ex_dividend_date.lt"]=g),b!==void 0&&(V["ex_dividend_date.lte"]=b),p!==void 0&&(V.frequency=p),f!==void 0&&(V["frequency.gt"]=f),m!==void 0&&(V["frequency.gte"]=m),y!==void 0&&(V["frequency.lt"]=y),u!==void 0&&(V["frequency.lte"]=u),h!==void 0&&(V.distribution_type=h),R!==void 0&&(V["distribution_type.any_of"]=R),x!==void 0&&(V.limit=x),c!==void 0&&(V.sort=c),z(G,V);let K=v&&v.headers?v.headers:{};return O.headers={...I,...K,...k.headers},{url:Q(G),options:O}},getStocksV1Exchanges:async(n,t={})=>{let i="/stocks/v1/exchanges",e=new URL(i,B),s;a&&(s=a.baseOptions);let o={method:"GET",...s,...t},r={},d={};await U(d,"apiKey",a),n!==void 0&&(d.limit=n),z(e,d);let l=s&&s.headers?s.headers:{};return o.headers={...r,...l,...t.headers},{url:Q(e),options:o}},getStocksV1ShortInterest:async(n,t,i,e,s,o,r,d,l,g,b,p,f,m,y,u,h,R,x,c,k,A,G,v,O,I,V={})=>{let K="/stocks/v1/short-interest",L=new URL(K,B),j;a&&(j=a.baseOptions);let X={method:"GET",...j,...V},S={},C={};await U(C,"apiKey",a),n!==void 0&&(C.ticker=n),t!==void 0&&(C["ticker.any_of"]=t),i!==void 0&&(C["ticker.gt"]=i),e!==void 0&&(C["ticker.gte"]=e),s!==void 0&&(C["ticker.lt"]=s),o!==void 0&&(C["ticker.lte"]=o),r!==void 0&&(C.days_to_cover=r),d!==void 0&&(C["days_to_cover.any_of"]=d),l!==void 0&&(C["days_to_cover.gt"]=l),g!==void 0&&(C["days_to_cover.gte"]=g),b!==void 0&&(C["days_to_cover.lt"]=b),p!==void 0&&(C["days_to_cover.lte"]=p),f!==void 0&&(C.settlement_date=f),m!==void 0&&(C["settlement_date.any_of"]=m),y!==void 0&&(C["settlement_date.gt"]=y),u!==void 0&&(C["settlement_date.gte"]=u),h!==void 0&&(C["settlement_date.lt"]=h),R!==void 0&&(C["settlement_date.lte"]=R),x!==void 0&&(C.avg_daily_volume=x),c!==void 0&&(C["avg_daily_volume.any_of"]=c),k!==void 0&&(C["avg_daily_volume.gt"]=k),A!==void 0&&(C["avg_daily_volume.gte"]=A),G!==void 0&&(C["avg_daily_volume.lt"]=G),v!==void 0&&(C["avg_daily_volume.lte"]=v),O!==void 0&&(C.limit=O),I!==void 0&&(C.sort=I),z(L,C);let w=j&&j.headers?j.headers:{};return X.headers={...S,...w,...V.headers},{url:Q(L),options:X}},getStocksV1ShortVolume:async(n,t,i,e,s,o,r,d,l,g,b,p,f,m,y,u,h,R,x,c,k,A,G,v,O,I,V={})=>{let K="/stocks/v1/short-volume",L=new URL(K,B),j;a&&(j=a.baseOptions);let X={method:"GET",...j,...V},S={},C={};await U(C,"apiKey",a),n!==void 0&&(C.ticker=n),t!==void 0&&(C["ticker.any_of"]=t),i!==void 0&&(C["ticker.gt"]=i),e!==void 0&&(C["ticker.gte"]=e),s!==void 0&&(C["ticker.lt"]=s),o!==void 0&&(C["ticker.lte"]=o),r!==void 0&&(C.date=r),d!==void 0&&(C["date.any_of"]=d),l!==void 0&&(C["date.gt"]=l),g!==void 0&&(C["date.gte"]=g),b!==void 0&&(C["date.lt"]=b),p!==void 0&&(C["date.lte"]=p),f!==void 0&&(C.short_volume_ratio=f),m!==void 0&&(C["short_volume_ratio.any_of"]=m),y!==void 0&&(C["short_volume_ratio.gt"]=y),u!==void 0&&(C["short_volume_ratio.gte"]=u),h!==void 0&&(C["short_volume_ratio.lt"]=h),R!==void 0&&(C["short_volume_ratio.lte"]=R),x!==void 0&&(C.total_volume=x),c!==void 0&&(C["total_volume.any_of"]=c),k!==void 0&&(C["total_volume.gt"]=k),A!==void 0&&(C["total_volume.gte"]=A),G!==void 0&&(C["total_volume.lt"]=G),v!==void 0&&(C["total_volume.lte"]=v),O!==void 0&&(C.limit=O),I!==void 0&&(C.sort=I),z(L,C);let w=j&&j.headers?j.headers:{};return X.headers={...S,...w,...V.headers},{url:Q(L),options:X}},getStocksV1Splits:async(n,t,i,e,s,o,r,d,l,g,b,p,f,m,y,u={})=>{let h="/stocks/v1/splits",R=new URL(h,B),x;a&&(x=a.baseOptions);let c={method:"GET",...x,...u},k={},A={};await U(A,"apiKey",a),n!==void 0&&(A.ticker=n),t!==void 0&&(A["ticker.any_of"]=t),i!==void 0&&(A["ticker.gt"]=i),e!==void 0&&(A["ticker.gte"]=e),s!==void 0&&(A["ticker.lt"]=s),o!==void 0&&(A["ticker.lte"]=o),r!==void 0&&(A.execution_date=r),d!==void 0&&(A["execution_date.gt"]=d),l!==void 0&&(A["execution_date.gte"]=l),g!==void 0&&(A["execution_date.lt"]=g),b!==void 0&&(A["execution_date.lte"]=b),p!==void 0&&(A.adjustment_type=p),f!==void 0&&(A["adjustment_type.any_of"]=f),m!==void 0&&(A.limit=m),y!==void 0&&(A.sort=y),z(R,A);let G=x&&x.headers?x.headers:{};return c.headers={...k,...G,...u.headers},{url:Q(R),options:c}},getStocksVXFloat:async(n,t,i,e,s,o,r,d,l,g,b,p,f,m={})=>{let y="/stocks/vX/float",u=new URL(y,B),h;a&&(h=a.baseOptions);let R={method:"GET",...h,...m},x={},c={};await U(c,"apiKey",a),n!==void 0&&(c.ticker=n),t!==void 0&&(c["ticker.any_of"]=t),i!==void 0&&(c["ticker.gt"]=i),e!==void 0&&(c["ticker.gte"]=e),s!==void 0&&(c["ticker.lt"]=s),o!==void 0&&(c["ticker.lte"]=o),r!==void 0&&(c.free_float_percent=r),d!==void 0&&(c["free_float_percent.gt"]=d),l!==void 0&&(c["free_float_percent.gte"]=l),g!==void 0&&(c["free_float_percent.lt"]=g),b!==void 0&&(c["free_float_percent.lte"]=b),p!==void 0&&(c.limit=p),f!==void 0&&(c.sort=f),z(u,c);let k=h&&h.headers?h.headers:{};return R.headers={...x,...k,...m.headers},{url:Q(u),options:R}},getTicker:async(n,t,i={})=>{$("getTicker","ticker",n);let e="/v3/reference/tickers/{ticker}".replace("{ticker}",encodeURIComponent(String(n))),s=new URL(e,B),o;a&&(o=a.baseOptions);let r={method:"GET",...o,...i},d={},l={};await U(l,"apiKey",a),t!==void 0&&(l.date=t instanceof Date?t.toISOString().substring(0,10):t),z(s,l);let g=o&&o.headers?o.headers:{};return r.headers={...d,...g,...i.headers},{url:Q(s),options:r}},getTmxV1CorporateEvents:async(n,t,i,e,s,o,r,d,l,g,b,p,f,m,y,u,h,R,x,c,k,A,G,v,O,I,V,K,L,j,X,S,C,w,en,nn,on,sn,Y,rn,an,T,dn,pn,fn,un,ln,gn,yn,W={})=>{let J="/tmx/v1/corporate-events",bn=new URL(J,B),cn;a&&(cn=a.baseOptions);let mn={method:"GET",...cn,...W},Z={},_={};await U(_,"apiKey",a),n!==void 0&&(_.date=n),t!==void 0&&(_["date.any_of"]=t),i!==void 0&&(_["date.gt"]=i),e!==void 0&&(_["date.gte"]=e),s!==void 0&&(_["date.lt"]=s),o!==void 0&&(_["date.lte"]=o),r!==void 0&&(_.type=r),d!==void 0&&(_["type.any_of"]=d),l!==void 0&&(_["type.gt"]=l),g!==void 0&&(_["type.gte"]=g),b!==void 0&&(_["type.lt"]=b),p!==void 0&&(_["type.lte"]=p),f!==void 0&&(_.status=f),m!==void 0&&(_["status.any_of"]=m),y!==void 0&&(_["status.gt"]=y),u!==void 0&&(_["status.gte"]=u),h!==void 0&&(_["status.lt"]=h),R!==void 0&&(_["status.lte"]=R),x!==void 0&&(_.ticker=x),c!==void 0&&(_["ticker.any_of"]=c),k!==void 0&&(_["ticker.gt"]=k),A!==void 0&&(_["ticker.gte"]=A),G!==void 0&&(_["ticker.lt"]=G),v!==void 0&&(_["ticker.lte"]=v),O!==void 0&&(_.isin=O),I!==void 0&&(_["isin.any_of"]=I),V!==void 0&&(_["isin.gt"]=V),K!==void 0&&(_["isin.gte"]=K),L!==void 0&&(_["isin.lt"]=L),j!==void 0&&(_["isin.lte"]=j),X!==void 0&&(_.trading_venue=X),S!==void 0&&(_["trading_venue.any_of"]=S),C!==void 0&&(_["trading_venue.gt"]=C),w!==void 0&&(_["trading_venue.gte"]=w),en!==void 0&&(_["trading_venue.lt"]=en),nn!==void 0&&(_["trading_venue.lte"]=nn),on!==void 0&&(_.tmx_company_id=on),sn!==void 0&&(_["tmx_company_id.gt"]=sn),Y!==void 0&&(_["tmx_company_id.gte"]=Y),rn!==void 0&&(_["tmx_company_id.lt"]=rn),an!==void 0&&(_["tmx_company_id.lte"]=an),T!==void 0&&(_.tmx_record_id=T),dn!==void 0&&(_["tmx_record_id.any_of"]=dn),pn!==void 0&&(_["tmx_record_id.gt"]=pn),fn!==void 0&&(_["tmx_record_id.gte"]=fn),un!==void 0&&(_["tmx_record_id.lt"]=un),ln!==void 0&&(_["tmx_record_id.lte"]=ln),gn!==void 0&&(_.limit=gn),yn!==void 0&&(_.sort=yn),z(bn,_);let hn=cn&&cn.headers?cn.headers:{};return mn.headers={...Z,...hn,...W.headers},{url:Q(bn),options:mn}},getV1ReferenceIpos:async(n,t,i,e,s,o,r,d,l,g,b,p,f,m,y,u,h,R,x,c,k,A,G,v,O,I,V,K={})=>{let L="/v1/reference/ipos",j=new URL(L,B),X;a&&(X=a.baseOptions);let S={method:"GET",...X,...K},C={},w={};await U(w,"apiKey",a),n!==void 0&&(w.ticker=n),t!==void 0&&(w["ticker.any_of"]=t),i!==void 0&&(w["ticker.gt"]=i),e!==void 0&&(w["ticker.gte"]=e),s!==void 0&&(w["ticker.lt"]=s),o!==void 0&&(w["ticker.lte"]=o),r!==void 0&&(w.us_code=r),d!==void 0&&(w["us_code.any_of"]=d),l!==void 0&&(w["us_code.gt"]=l),g!==void 0&&(w["us_code.gte"]=g),b!==void 0&&(w["us_code.lt"]=b),p!==void 0&&(w["us_code.lte"]=p),f!==void 0&&(w.isin=f),m!==void 0&&(w["isin.any_of"]=m),y!==void 0&&(w["isin.gt"]=y),u!==void 0&&(w["isin.gte"]=u),h!==void 0&&(w["isin.lt"]=h),R!==void 0&&(w["isin.lte"]=R),x!==void 0&&(w.listing_date=x),c!==void 0&&(w["listing_date.gt"]=c),k!==void 0&&(w["listing_date.gte"]=k),A!==void 0&&(w["listing_date.lt"]=A),G!==void 0&&(w["listing_date.lte"]=G),v!==void 0&&(w.ipo_status=v),O!==void 0&&(w["ipo_status.any_of"]=O),I!==void 0&&(w.limit=I),V!==void 0&&(w.sort=V),z(j,w);let en=X&&X.headers?X.headers:{};return S.headers={...C,...en,...K.headers},{url:Q(j),options:S}},listConditions:async(n,t,i,e,s,o,r,d={})=>{let l="/v3/reference/conditions",g=new URL(l,B),b;a&&(b=a.baseOptions);let p={method:"GET",...b,...d},f={},m={};await U(m,"apiKey",a),n!==void 0&&(m.asset_class=n),t!==void 0&&(m.data_type=t),i!==void 0&&(m.id=i),e!==void 0&&(m.sip=e),s!==void 0&&(m.order=s),o!==void 0&&(m.limit=o),r!==void 0&&(m.sort=r),z(g,m);let y=b&&b.headers?b.headers:{};return p.headers={...f,...y,...d.headers},{url:Q(g),options:p}},listDividends:async(n,t,i,e,s,o,r,d,l,g,b,p,f,m,y,u,h,R,x,c,k,A,G,v,O,I,V,K,L,j,X,S,C,w,en,nn={})=>{let on="/v3/reference/dividends",sn=new URL(on,B),Y;a&&(Y=a.baseOptions);let rn={method:"GET",...Y,...nn},an={},T={};await U(T,"apiKey",a),n!==void 0&&(T.ticker=n),t!==void 0&&(T.ex_dividend_date=t instanceof Date?t.toISOString().substring(0,10):t),i!==void 0&&(T.record_date=i instanceof Date?i.toISOString().substring(0,10):i),e!==void 0&&(T.declaration_date=e instanceof Date?e.toISOString().substring(0,10):e),s!==void 0&&(T.pay_date=s instanceof Date?s.toISOString().substring(0,10):s),o!==void 0&&(T.frequency=o),r!==void 0&&(T.cash_amount=r),d!==void 0&&(T.dividend_type=d),l!==void 0&&(T["ticker.gte"]=l),g!==void 0&&(T["ticker.gt"]=g),b!==void 0&&(T["ticker.lte"]=b),p!==void 0&&(T["ticker.lt"]=p),f!==void 0&&(T["ex_dividend_date.gte"]=f instanceof Date?f.toISOString().substring(0,10):f),m!==void 0&&(T["ex_dividend_date.gt"]=m instanceof Date?m.toISOString().substring(0,10):m),y!==void 0&&(T["ex_dividend_date.lte"]=y instanceof Date?y.toISOString().substring(0,10):y),u!==void 0&&(T["ex_dividend_date.lt"]=u instanceof Date?u.toISOString().substring(0,10):u),h!==void 0&&(T["record_date.gte"]=h instanceof Date?h.toISOString().substring(0,10):h),R!==void 0&&(T["record_date.gt"]=R instanceof Date?R.toISOString().substring(0,10):R),x!==void 0&&(T["record_date.lte"]=x instanceof Date?x.toISOString().substring(0,10):x),c!==void 0&&(T["record_date.lt"]=c instanceof Date?c.toISOString().substring(0,10):c),k!==void 0&&(T["declaration_date.gte"]=k instanceof Date?k.toISOString().substring(0,10):k),A!==void 0&&(T["declaration_date.gt"]=A instanceof Date?A.toISOString().substring(0,10):A),G!==void 0&&(T["declaration_date.lte"]=G instanceof Date?G.toISOString().substring(0,10):G),v!==void 0&&(T["declaration_date.lt"]=v instanceof Date?v.toISOString().substring(0,10):v),O!==void 0&&(T["pay_date.gte"]=O instanceof Date?O.toISOString().substring(0,10):O),I!==void 0&&(T["pay_date.gt"]=I instanceof Date?I.toISOString().substring(0,10):I),V!==void 0&&(T["pay_date.lte"]=V instanceof Date?V.toISOString().substring(0,10):V),K!==void 0&&(T["pay_date.lt"]=K instanceof Date?K.toISOString().substring(0,10):K),L!==void 0&&(T["cash_amount.gte"]=L),j!==void 0&&(T["cash_amount.gt"]=j),X!==void 0&&(T["cash_amount.lte"]=X),S!==void 0&&(T["cash_amount.lt"]=S),C!==void 0&&(T.order=C),w!==void 0&&(T.limit=w),en!==void 0&&(T.sort=en),z(sn,T);let dn=Y&&Y.headers?Y.headers:{};return rn.headers={...an,...dn,...nn.headers},{url:Q(sn),options:rn}},listExchanges:async(n,t,i={})=>{let e="/v3/reference/exchanges",s=new URL(e,B),o;a&&(o=a.baseOptions);let r={method:"GET",...o,...i},d={},l={};await U(l,"apiKey",a),n!==void 0&&(l.asset_class=n),t!==void 0&&(l.locale=t),z(s,l);let g=o&&o.headers?o.headers:{};return r.headers={...d,...g,...i.headers},{url:Q(s),options:r}},listFinancials:async(n,t,i,e,s,o,r,d,l,g,b,p,f,m,y,u,h,R,x,c,k={})=>{let A="/vX/reference/financials",G=new URL(A,B),v;a&&(v=a.baseOptions);let O={method:"GET",...v,...k},I={},V={};await U(V,"apiKey",a),n!==void 0&&(V.ticker=n),t!==void 0&&(V.cik=t),i!==void 0&&(V.company_name=i),e!==void 0&&(V.sic=e),s!==void 0&&(V.filing_date=s instanceof Date?s.toISOString().substring(0,10):s),o!==void 0&&(V.period_of_report_date=o instanceof Date?o.toISOString().substring(0,10):o),r!==void 0&&(V.timeframe=r),d!==void 0&&(V.include_sources=d),l!==void 0&&(V["company_name.search"]=l),g!==void 0&&(V["filing_date.gte"]=g instanceof Date?g.toISOString().substring(0,10):g),b!==void 0&&(V["filing_date.gt"]=b instanceof Date?b.toISOString().substring(0,10):b),p!==void 0&&(V["filing_date.lte"]=p instanceof Date?p.toISOString().substring(0,10):p),f!==void 0&&(V["filing_date.lt"]=f instanceof Date?f.toISOString().substring(0,10):f),m!==void 0&&(V["period_of_report_date.gte"]=m instanceof Date?m.toISOString().substring(0,10):m),y!==void 0&&(V["period_of_report_date.gt"]=y instanceof Date?y.toISOString().substring(0,10):y),u!==void 0&&(V["period_of_report_date.lte"]=u instanceof Date?u.toISOString().substring(0,10):u),h!==void 0&&(V["period_of_report_date.lt"]=h instanceof Date?h.toISOString().substring(0,10):h),R!==void 0&&(V.order=R),x!==void 0&&(V.limit=x),c!==void 0&&(V.sort=c),z(G,V);let K=v&&v.headers?v.headers:{};return O.headers={...I,...K,...k.headers},{url:Q(G),options:O}},listIPOs:async(n,t,i,e,s,o,r,d,l,g,b,p,f={})=>{let m="/vX/reference/ipos",y=new URL(m,B),u;a&&(u=a.baseOptions);let h={method:"GET",...u,...f},R={},x={};await U(x,"apiKey",a),n!==void 0&&(x.ticker=n),t!==void 0&&(x.us_code=t),i!==void 0&&(x.isin=i),e!==void 0&&(x.listing_date=e instanceof Date?e.toISOString().substring(0,10):e),s!==void 0&&(x.ipo_status=s),o!==void 0&&(x["listing_date.gte"]=o instanceof Date?o.toISOString().substring(0,10):o),r!==void 0&&(x["listing_date.gt"]=r instanceof Date?r.toISOString().substring(0,10):r),d!==void 0&&(x["listing_date.lte"]=d instanceof Date?d.toISOString().substring(0,10):d),l!==void 0&&(x["listing_date.lt"]=l instanceof Date?l.toISOString().substring(0,10):l),g!==void 0&&(x.order=g),b!==void 0&&(x.limit=b),p!==void 0&&(x.sort=p),z(y,x);let c=u&&u.headers?u.headers:{};return h.headers={...R,...c,...f.headers},{url:Q(y),options:h}},listNews:async(n,t,i,e,s,o,r,d,l,g,b,p,f,m={})=>{let y="/v2/reference/news",u=new URL(y,B),h;a&&(h=a.baseOptions);let R={method:"GET",...h,...m},x={},c={};if(await U(c,"apiKey",a),n!==void 0&&(c.ticker=n),t!==void 0)for(let[A,G]of Object.entries(t))c[A]=G;if(i!==void 0&&(c["ticker.gte"]=i),e!==void 0&&(c["ticker.gt"]=e),s!==void 0&&(c["ticker.lte"]=s),o!==void 0&&(c["ticker.lt"]=o),r!==void 0)for(let[A,G]of Object.entries(r))c[A]=G;if(d!==void 0)for(let[A,G]of Object.entries(d))c[A]=G;if(l!==void 0)for(let[A,G]of Object.entries(l))c[A]=G;if(g!==void 0)for(let[A,G]of Object.entries(g))c[A]=G;b!==void 0&&(c.order=b),p!==void 0&&(c.limit=p),f!==void 0&&(c.sort=f),z(u,c);let k=h&&h.headers?h.headers:{};return R.headers={...x,...k,...m.headers},{url:Q(u),options:R}},listOptionsContracts:async(n,t,i,e,s,o,r,d,l,g,b,p,f,m,y,u,h,R,x,c,k,A,G={})=>{let v="/v3/reference/options/contracts",O=new URL(v,B),I;a&&(I=a.baseOptions);let V={method:"GET",...I,...G},K={},L={};await U(L,"apiKey",a),n!==void 0&&(L.underlying_ticker=n),t!==void 0&&(L.ticker=t),i!==void 0&&(L.contract_type=i),e!==void 0&&(L.expiration_date=e),s!==void 0&&(L.as_of=s),o!==void 0&&(L.strike_price=o),r!==void 0&&(L.expired=r),d!==void 0&&(L["underlying_ticker.gte"]=d),l!==void 0&&(L["underlying_ticker.gt"]=l),g!==void 0&&(L["underlying_ticker.lte"]=g),b!==void 0&&(L["underlying_ticker.lt"]=b),p!==void 0&&(L["expiration_date.gte"]=p),f!==void 0&&(L["expiration_date.gt"]=f),m!==void 0&&(L["expiration_date.lte"]=m),y!==void 0&&(L["expiration_date.lt"]=y),u!==void 0&&(L["strike_price.gte"]=u),h!==void 0&&(L["strike_price.gt"]=h),R!==void 0&&(L["strike_price.lte"]=R),x!==void 0&&(L["strike_price.lt"]=x),c!==void 0&&(L.order=c),k!==void 0&&(L.limit=k),A!==void 0&&(L.sort=A),z(O,L);let j=I&&I.headers?I.headers:{};return V.headers={...K,...j,...G.headers},{url:Q(O),options:V}},listStockSplits:async(n,t,i,e,s,o,r,d,l,g,b,p,f,m,y={})=>{let u="/v3/reference/splits",h=new URL(u,B),R;a&&(R=a.baseOptions);let x={method:"GET",...R,...y},c={},k={};await U(k,"apiKey",a),n!==void 0&&(k.ticker=n),t!==void 0&&(k.execution_date=t instanceof Date?t.toISOString().substring(0,10):t),i!==void 0&&(k.reverse_split=i),e!==void 0&&(k["ticker.gte"]=e),s!==void 0&&(k["ticker.gt"]=s),o!==void 0&&(k["ticker.lte"]=o),r!==void 0&&(k["ticker.lt"]=r),d!==void 0&&(k["execution_date.gte"]=d instanceof Date?d.toISOString().substring(0,10):d),l!==void 0&&(k["execution_date.gt"]=l instanceof Date?l.toISOString().substring(0,10):l),g!==void 0&&(k["execution_date.lte"]=g instanceof Date?g.toISOString().substring(0,10):g),b!==void 0&&(k["execution_date.lt"]=b instanceof Date?b.toISOString().substring(0,10):b),p!==void 0&&(k.order=p),f!==void 0&&(k.limit=f),m!==void 0&&(k.sort=m),z(h,k);let A=R&&R.headers?R.headers:{};return x.headers={...c,...A,...y.headers},{url:Q(h),options:x}},listTickerTypes:async(n,t,i={})=>{let e="/v3/reference/tickers/types",s=new URL(e,B),o;a&&(o=a.baseOptions);let r={method:"GET",...o,...i},d={},l={};await U(l,"apiKey",a),n!==void 0&&(l.asset_class=n),t!==void 0&&(l.locale=t),z(s,l);let g=o&&o.headers?o.headers:{};return r.headers={...d,...g,...i.headers},{url:Q(s),options:r}},listTickers:async(n,t,i,e,s,o,r,d,l,g,b,p,f,m,y,u,h={})=>{let R="/v3/reference/tickers",x=new URL(R,B),c;a&&(c=a.baseOptions);let k={method:"GET",...c,...h},A={},G={};await U(G,"apiKey",a),n!==void 0&&(G.ticker=n),t!==void 0&&(G.type=t),i!==void 0&&(G.market=i),e!==void 0&&(G.exchange=e),s!==void 0&&(G.cusip=s),o!==void 0&&(G.cik=o),r!==void 0&&(G.date=r instanceof Date?r.toISOString().substring(0,10):r),d!==void 0&&(G.search=d),l!==void 0&&(G.active=l),g!==void 0&&(G["ticker.gte"]=g),b!==void 0&&(G["ticker.gt"]=b),p!==void 0&&(G["ticker.lte"]=p),f!==void 0&&(G["ticker.lt"]=f),m!==void 0&&(G.order=m),y!==void 0&&(G.limit=y),u!==void 0&&(G.sort=u),z(x,G);let v=c&&c.headers?c.headers:{};return k.headers={...A,...v,...h.headers},{url:Q(x),options:k}}}},M=function(a){let n=pi(a);return{async deprecatedGetCryptoSnapshotTickerBook(t,i){let e=await n.deprecatedGetCryptoSnapshotTickerBook(t,i),s=a?.serverIndex??0,o=F["DefaultApi.deprecatedGetCryptoSnapshotTickerBook"]?.[s]?.url;return(r,d)=>E(e,H,D,a)(r,o||d)},async deprecatedGetHistoricCryptoTrades(t,i,e,s,o,r){let d=await n.deprecatedGetHistoricCryptoTrades(t,i,e,s,o,r),l=a?.serverIndex??0,g=F["DefaultApi.deprecatedGetHistoricCryptoTrades"]?.[l]?.url;return(b,p)=>E(d,H,D,a)(b,g||p)},async deprecatedGetHistoricForexQuotes(t,i,e,s,o,r){let d=await n.deprecatedGetHistoricForexQuotes(t,i,e,s,o,r),l=a?.serverIndex??0,g=F["DefaultApi.deprecatedGetHistoricForexQuotes"]?.[l]?.url;return(b,p)=>E(d,H,D,a)(b,g||p)},async deprecatedGetHistoricStocksQuotes(t,i,e,s,o,r,d){let l=await n.deprecatedGetHistoricStocksQuotes(t,i,e,s,o,r,d),g=a?.serverIndex??0,b=F["DefaultApi.deprecatedGetHistoricStocksQuotes"]?.[g]?.url;return(p,f)=>E(l,H,D,a)(p,b||f)},async deprecatedGetHistoricStocksTrades(t,i,e,s,o,r,d){let l=await n.deprecatedGetHistoricStocksTrades(t,i,e,s,o,r,d),g=a?.serverIndex??0,b=F["DefaultApi.deprecatedGetHistoricStocksTrades"]?.[g]?.url;return(p,f)=>E(l,H,D,a)(p,b||f)},async getBenzingaV1AnalystInsights(t,i,e,s,o,r,d,l,g,b,p,f,m,y,u,h,R,x,c,k,A,G,v,O,I,V,K,L,j,X,S,C,w,en,nn,on,sn,Y,rn,an,T,dn,pn,fn){let un=await n.getBenzingaV1AnalystInsights(t,i,e,s,o,r,d,l,g,b,p,f,m,y,u,h,R,x,c,k,A,G,v,O,I,V,K,L,j,X,S,C,w,en,nn,on,sn,Y,rn,an,T,dn,pn,fn),ln=a?.serverIndex??0,gn=F["DefaultApi.getBenzingaV1AnalystInsights"]?.[ln]?.url;return(yn,W)=>E(un,H,D,a)(yn,gn||W)},async getBenzingaV1Analysts(t,i,e,s,o,r,d,l,g,b,p,f,m,y,u,h,R,x,c,k,A,G,v,O,I,V,K){let L=await n.getBenzingaV1Analysts(t,i,e,s,o,r,d,l,g,b,p,f,m,y,u,h,R,x,c,k,A,G,v,O,I,V,K),j=a?.serverIndex??0,X=F["DefaultApi.getBenzingaV1Analysts"]?.[j]?.url;return(S,C)=>E(L,H,D,a)(S,X||C)},async getBenzingaV1BullsBearsSay(t,i,e,s,o,r,d,l,g,b,p,f,m,y,u,h,R,x,c,k){let A=await n.getBenzingaV1BullsBearsSay(t,i,e,s,o,r,d,l,g,b,p,f,m,y,u,h,R,x,c,k),G=a?.serverIndex??0,v=F["DefaultApi.getBenzingaV1BullsBearsSay"]?.[G]?.url;return(O,I)=>E(A,H,D,a)(O,v||I)},async getBenzingaV1ConsensusRatings(t,i,e,s,o,r,d,l,g){let b=await n.getBenzingaV1ConsensusRatings(t,i,e,s,o,r,d,l,g),p=a?.serverIndex??0,f=F["DefaultApi.getBenzingaV1ConsensusRatings"]?.[p]?.url;return(m,y)=>E(b,H,D,a)(m,f||y)},async getBenzingaV1Earnings(t,i,e,s,o,r,d,l,g,b,p,f,m,y,u,h,R,x,c,k,A,G,v,O,I,V,K,L,j,X,S,C,w,en,nn,on,sn,Y,rn,an,T,dn,pn,fn,un,ln,gn,yn,W,J,bn,cn,mn,Z,_,hn,Rn){let An=await n.getBenzingaV1Earnings(t,i,e,s,o,r,d,l,g,b,p,f,m,y,u,h,R,x,c,k,A,G,v,O,I,V,K,L,j,X,S,C,w,en,nn,on,sn,Y,rn,an,T,dn,pn,fn,un,ln,gn,yn,W,J,bn,cn,mn,Z,_,hn,Rn),xn=a?.serverIndex??0,P=F["DefaultApi.getBenzingaV1Earnings"]?.[xn]?.url;return(kn,tn)=>E(An,H,D,a)(kn,P||tn)},async getBenzingaV1Firms(t,i,e,s,o,r,d,l,g){let b=await n.getBenzingaV1Firms(t,i,e,s,o,r,d,l,g),p=a?.serverIndex??0,f=F["DefaultApi.getBenzingaV1Firms"]?.[p]?.url;return(m,y)=>E(b,H,D,a)(m,f||y)},async getBenzingaV1Guidance(t,i,e,s,o,r,d,l,g,b,p,f,m,y,u,h,R,x,c,k,A,G,v,O,I,V,K,L,j,X,S,C,w,en,nn,on,sn,Y,rn,an,T,dn,pn,fn,un){let ln=await n.getBenzingaV1Guidance(t,i,e,s,o,r,d,l,g,b,p,f,m,y,u,h,R,x,c,k,A,G,v,O,I,V,K,L,j,X,S,C,w,en,nn,on,sn,Y,rn,an,T,dn,pn,fn,un),gn=a?.serverIndex??0,yn=F["DefaultApi.getBenzingaV1Guidance"]?.[gn]?.url;return(W,J)=>E(ln,H,D,a)(W,yn||J)},async getBenzingaV1Ratings(t,i,e,s,o,r,d,l,g,b,p,f,m,y,u,h,R,x,c,k,A,G,v,O,I,V,K,L,j,X,S,C,w,en,nn,on,sn,Y,rn,an,T,dn,pn,fn,un,ln,gn,yn,W,J,bn,cn,mn,Z,_){let hn=await n.getBenzingaV1Ratings(t,i,e,s,o,r,d,l,g,b,p,f,m,y,u,h,R,x,c,k,A,G,v,O,I,V,K,L,j,X,S,C,w,en,nn,on,sn,Y,rn,an,T,dn,pn,fn,un,ln,gn,yn,W,J,bn,cn,mn,Z,_),Rn=a?.serverIndex??0,An=F["DefaultApi.getBenzingaV1Ratings"]?.[Rn]?.url;return(xn,P)=>E(hn,H,D,a)(xn,An||P)},async getBenzingaV2News(t,i,e,s,o,r,d,l,g,b,p,f,m,y,u,h,R,x,c,k,A,G,v,O,I,V){let K=await n.getBenzingaV2News(t,i,e,s,o,r,d,l,g,b,p,f,m,y,u,h,R,x,c,k,A,G,v,O,I,V),L=a?.serverIndex??0,j=F["DefaultApi.getBenzingaV2News"]?.[L]?.url;return(X,S)=>E(K,H,D,a)(X,j||S)},async getCryptoAggregates(t,i,e,s,o,r,d,l,g){let b=await n.getCryptoAggregates(t,i,e,s,o,r,d,l,g),p=a?.serverIndex??0,f=F["DefaultApi.getCryptoAggregates"]?.[p]?.url;return(m,y)=>E(b,H,D,a)(m,f||y)},async getCryptoEMA(t,i,e,s,o,r,d,l,g,b,p,f,m){let y=await n.getCryptoEMA(t,i,e,s,o,r,d,l,g,b,p,f,m),u=a?.serverIndex??0,h=F["DefaultApi.getCryptoEMA"]?.[u]?.url;return(R,x)=>E(y,H,D,a)(R,h||x)},async getCryptoMACD(t,i,e,s,o,r,d,l,g,b,p,f,m,y,u){let h=await n.getCryptoMACD(t,i,e,s,o,r,d,l,g,b,p,f,m,y,u),R=a?.serverIndex??0,x=F["DefaultApi.getCryptoMACD"]?.[R]?.url;return(c,k)=>E(h,H,D,a)(c,x||k)},async getCryptoOpenClose(t,i,e,s,o){let r=await n.getCryptoOpenClose(t,i,e,s,o),d=a?.serverIndex??0,l=F["DefaultApi.getCryptoOpenClose"]?.[d]?.url;return(g,b)=>E(r,H,D,a)(g,l||b)},async getCryptoRSI(t,i,e,s,o,r,d,l,g,b,p,f,m){let y=await n.getCryptoRSI(t,i,e,s,o,r,d,l,g,b,p,f,m),u=a?.serverIndex??0,h=F["DefaultApi.getCryptoRSI"]?.[u]?.url;return(R,x)=>E(y,H,D,a)(R,h||x)},async getCryptoSMA(t,i,e,s,o,r,d,l,g,b,p,f,m){let y=await n.getCryptoSMA(t,i,e,s,o,r,d,l,g,b,p,f,m),u=a?.serverIndex??0,h=F["DefaultApi.getCryptoSMA"]?.[u]?.url;return(R,x)=>E(y,H,D,a)(R,h||x)},async getCryptoSnapshotDirection(t,i){let e=await n.getCryptoSnapshotDirection(t,i),s=a?.serverIndex??0,o=F["DefaultApi.getCryptoSnapshotDirection"]?.[s]?.url;return(r,d)=>E(e,H,D,a)(r,o||d)},async getCryptoSnapshotTicker(t,i){let e=await n.getCryptoSnapshotTicker(t,i),s=a?.serverIndex??0,o=F["DefaultApi.getCryptoSnapshotTicker"]?.[s]?.url;return(r,d)=>E(e,H,D,a)(r,o||d)},async getCryptoSnapshotTickers(t,i){let e=await n.getCryptoSnapshotTickers(t,i),s=a?.serverIndex??0,o=F["DefaultApi.getCryptoSnapshotTickers"]?.[s]?.url;return(r,d)=>E(e,H,D,a)(r,o||d)},async getCryptoTrades(t,i,e,s,o,r,d,l,g,b){let p=await n.getCryptoTrades(t,i,e,s,o,r,d,l,g,b),f=a?.serverIndex??0,m=F["DefaultApi.getCryptoTrades"]?.[f]?.url;return(y,u)=>E(p,H,D,a)(y,m||u)},async getCryptoV1Exchanges(t,i){let e=await n.getCryptoV1Exchanges(t,i),s=a?.serverIndex??0,o=F["DefaultApi.getCryptoV1Exchanges"]?.[s]?.url;return(r,d)=>E(e,H,D,a)(r,o||d)},async getCurrencyConversion(t,i,e,s,o){let r=await n.getCurrencyConversion(t,i,e,s,o),d=a?.serverIndex??0,l=F["DefaultApi.getCurrencyConversion"]?.[d]?.url;return(g,b)=>E(r,H,D,a)(g,l||b)},async getEtfGlobalV1Analytics(t,i,e,s,o,r,d,l,g,b,p,f,m,y,u,h,R,x,c,k,A,G,v,O,I,V,K,L,j,X,S,C,w,en,nn,on,sn,Y,rn,an,T,dn,pn,fn,un,ln,gn,yn,W,J,bn,cn,mn,Z,_,hn,Rn,An,xn,P,kn,tn,Vn,On,Cn,Sn,wn,vn,In,Tn){let Ln=await n.getEtfGlobalV1Analytics(t,i,e,s,o,r,d,l,g,b,p,f,m,y,u,h,R,x,c,k,A,G,v,O,I,V,K,L,j,X,S,C,w,en,nn,on,sn,Y,rn,an,T,dn,pn,fn,un,ln,gn,yn,W,J,bn,cn,mn,Z,_,hn,Rn,An,xn,P,kn,tn,Vn,On,Cn,Sn,wn,vn,In,Tn),_n=a?.serverIndex??0,Dn=F["DefaultApi.getEtfGlobalV1Analytics"]?.[_n]?.url;return(Fn,q)=>E(Ln,H,D,a)(Fn,Dn||q)},async getEtfGlobalV1Constituents(t,i,e,s,o,r,d,l,g,b,p,f,m,y,u,h,R,x,c,k,A,G,v,O,I,V,K,L,j,X,S,C,w,en,nn,on,sn,Y,rn,an,T,dn,pn,fn,un,ln,gn,yn,W){let J=await n.getEtfGlobalV1Constituents(t,i,e,s,o,r,d,l,g,b,p,f,m,y,u,h,R,x,c,k,A,G,v,O,I,V,K,L,j,X,S,C,w,en,nn,on,sn,Y,rn,an,T,dn,pn,fn,un,ln,gn,yn,W),bn=a?.serverIndex??0,cn=F["DefaultApi.getEtfGlobalV1Constituents"]?.[bn]?.url;return(mn,Z)=>E(J,H,D,a)(mn,cn||Z)},async getEtfGlobalV1FundFlows(t,i,e,s,o,r,d,l,g,b,p,f,m,y,u,h,R,x,c){let k=await n.getEtfGlobalV1FundFlows(t,i,e,s,o,r,d,l,g,b,p,f,m,y,u,h,R,x,c),A=a?.serverIndex??0,G=F["DefaultApi.getEtfGlobalV1FundFlows"]?.[A]?.url;return(v,O)=>E(k,H,D,a)(v,G||O)},async getEtfGlobalV1Profiles(t,i,e,s,o,r,d,l,g,b,p,f,m,y,u,h,R,x,c){let k=await n.getEtfGlobalV1Profiles(t,i,e,s,o,r,d,l,g,b,p,f,m,y,u,h,R,x,c),A=a?.serverIndex??0,G=F["DefaultApi.getEtfGlobalV1Profiles"]?.[A]?.url;return(v,O)=>E(k,H,D,a)(v,G||O)},async getEtfGlobalV1Taxonomies(t,i,e,s,o,r,d,l,g,b,p,f,m,y,u,h,R,x,c){let k=await n.getEtfGlobalV1Taxonomies(t,i,e,s,o,r,d,l,g,b,p,f,m,y,u,h,R,x,c),A=a?.serverIndex??0,G=F["DefaultApi.getEtfGlobalV1Taxonomies"]?.[A]?.url;return(v,O)=>E(k,H,D,a)(v,G||O)},async getEvents(t,i,e){let s=await n.getEvents(t,i,e),o=a?.serverIndex??0,r=F["DefaultApi.getEvents"]?.[o]?.url;return(d,l)=>E(s,H,D,a)(d,r||l)},async getFedV1Inflation(t,i,e,s,o,r,d,l,g){let b=await n.getFedV1Inflation(t,i,e,s,o,r,d,l,g),p=a?.serverIndex??0,f=F["DefaultApi.getFedV1Inflation"]?.[p]?.url;return(m,y)=>E(b,H,D,a)(m,f||y)},async getFedV1InflationExpectations(t,i,e,s,o,r,d,l,g){let b=await n.getFedV1InflationExpectations(t,i,e,s,o,r,d,l,g),p=a?.serverIndex??0,f=F["DefaultApi.getFedV1InflationExpectations"]?.[p]?.url;return(m,y)=>E(b,H,D,a)(m,f||y)},async getFedV1LaborMarket(t,i,e,s,o,r,d,l,g){let b=await n.getFedV1LaborMarket(t,i,e,s,o,r,d,l,g),p=a?.serverIndex??0,f=F["DefaultApi.getFedV1LaborMarket"]?.[p]?.url;return(m,y)=>E(b,H,D,a)(m,f||y)},async getFedV1TreasuryYields(t,i,e,s,o,r,d,l,g){let b=await n.getFedV1TreasuryYields(t,i,e,s,o,r,d,l,g),p=a?.serverIndex??0,f=F["DefaultApi.getFedV1TreasuryYields"]?.[p]?.url;return(m,y)=>E(b,H,D,a)(m,f||y)},async getForexAggregates(t,i,e,s,o,r,d,l,g){let b=await n.getForexAggregates(t,i,e,s,o,r,d,l,g),p=a?.serverIndex??0,f=F["DefaultApi.getForexAggregates"]?.[p]?.url;return(m,y)=>E(b,H,D,a)(m,f||y)},async getForexEMA(t,i,e,s,o,r,d,l,g,b,p,f,m,y){let u=await n.getForexEMA(t,i,e,s,o,r,d,l,g,b,p,f,m,y),h=a?.serverIndex??0,R=F["DefaultApi.getForexEMA"]?.[h]?.url;return(x,c)=>E(u,H,D,a)(x,R||c)},async getForexMACD(t,i,e,s,o,r,d,l,g,b,p,f,m,y,u,h){let R=await n.getForexMACD(t,i,e,s,o,r,d,l,g,b,p,f,m,y,u,h),x=a?.serverIndex??0,c=F["DefaultApi.getForexMACD"]?.[x]?.url;return(k,A)=>E(R,H,D,a)(k,c||A)},async getForexQuotes(t,i,e,s,o,r,d,l,g,b){let p=await n.getForexQuotes(t,i,e,s,o,r,d,l,g,b),f=a?.serverIndex??0,m=F["DefaultApi.getForexQuotes"]?.[f]?.url;return(y,u)=>E(p,H,D,a)(y,m||u)},async getForexRSI(t,i,e,s,o,r,d,l,g,b,p,f,m,y){let u=await n.getForexRSI(t,i,e,s,o,r,d,l,g,b,p,f,m,y),h=a?.serverIndex??0,R=F["DefaultApi.getForexRSI"]?.[h]?.url;return(x,c)=>E(u,H,D,a)(x,R||c)},async getForexSMA(t,i,e,s,o,r,d,l,g,b,p,f,m,y){let u=await n.getForexSMA(t,i,e,s,o,r,d,l,g,b,p,f,m,y),h=a?.serverIndex??0,R=F["DefaultApi.getForexSMA"]?.[h]?.url;return(x,c)=>E(u,H,D,a)(x,R||c)},async getForexSnapshotDirection(t,i){let e=await n.getForexSnapshotDirection(t,i),s=a?.serverIndex??0,o=F["DefaultApi.getForexSnapshotDirection"]?.[s]?.url;return(r,d)=>E(e,H,D,a)(r,o||d)},async getForexSnapshotTicker(t,i){let e=await n.getForexSnapshotTicker(t,i),s=a?.serverIndex??0,o=F["DefaultApi.getForexSnapshotTicker"]?.[s]?.url;return(r,d)=>E(e,H,D,a)(r,o||d)},async getForexSnapshotTickers(t,i){let e=await n.getForexSnapshotTickers(t,i),s=a?.serverIndex??0,o=F["DefaultApi.getForexSnapshotTickers"]?.[s]?.url;return(r,d)=>E(e,H,D,a)(r,o||d)},async getForexV1Exchanges(t,i){let e=await n.getForexV1Exchanges(t,i),s=a?.serverIndex??0,o=F["DefaultApi.getForexV1Exchanges"]?.[s]?.url;return(r,d)=>E(e,H,D,a)(r,o||d)},async getFuturesAggregates(t,i,e,s,o,r,d,l,g,b){let p=await n.getFuturesAggregates(t,i,e,s,o,r,d,l,g,b),f=a?.serverIndex??0,m=F["DefaultApi.getFuturesAggregates"]?.[f]?.url;return(y,u)=>E(p,H,D,a)(y,m||u)},async getFuturesQuotes(t,i,e,s,o,r,d,l,g,b,p,f,m,y){let u=await n.getFuturesQuotes(t,i,e,s,o,r,d,l,g,b,p,f,m,y),h=a?.serverIndex??0,R=F["DefaultApi.getFuturesQuotes"]?.[h]?.url;return(x,c)=>E(u,H,D,a)(x,R||c)},async getFuturesTrades(t,i,e,s,o,r,d,l,g,b,p,f,m,y){let u=await n.getFuturesTrades(t,i,e,s,o,r,d,l,g,b,p,f,m,y),h=a?.serverIndex??0,R=F["DefaultApi.getFuturesTrades"]?.[h]?.url;return(x,c)=>E(u,H,D,a)(x,R||c)},async getFuturesVXContracts(t,i,e,s,o,r,d,l,g,b,p,f,m,y,u,h,R,x,c,k,A,G,v,O,I,V,K,L,j,X,S,C,w){let en=await n.getFuturesVXContracts(t,i,e,s,o,r,d,l,g,b,p,f,m,y,u,h,R,x,c,k,A,G,v,O,I,V,K,L,j,X,S,C,w),nn=a?.serverIndex??0,on=F["DefaultApi.getFuturesVXContracts"]?.[nn]?.url;return(sn,Y)=>E(en,H,D,a)(sn,on||Y)},async getFuturesVXExchanges(t,i){let e=await n.getFuturesVXExchanges(t,i),s=a?.serverIndex??0,o=F["DefaultApi.getFuturesVXExchanges"]?.[s]?.url;return(r,d)=>E(e,H,D,a)(r,o||d)},async getFuturesVXMarketStatus(t,i,e,s,o,r,d,l){let g=await n.getFuturesVXMarketStatus(t,i,e,s,o,r,d,l),b=a?.serverIndex??0,p=F["DefaultApi.getFuturesVXMarketStatus"]?.[b]?.url;return(f,m)=>E(g,H,D,a)(f,p||m)},async getFuturesVXProducts(t,i,e,s,o,r,d,l,g,b,p,f,m,y,u,h,R,x,c,k,A,G,v,O,I,V,K,L,j,X,S,C,w,en,nn,on){let sn=await n.getFuturesVXProducts(t,i,e,s,o,r,d,l,g,b,p,f,m,y,u,h,R,x,c,k,A,G,v,O,I,V,K,L,j,X,S,C,w,en,nn,on),Y=a?.serverIndex??0,rn=F["DefaultApi.getFuturesVXProducts"]?.[Y]?.url;return(an,T)=>E(sn,H,D,a)(an,rn||T)},async getFuturesVXQuotesNew(t,i,e,s,o,r,d,l,g,b){let p=await n.getFuturesVXQuotesNew(t,i,e,s,o,r,d,l,g,b),f=a?.serverIndex??0,m=F["DefaultApi.getFuturesVXQuotesNew"]?.[f]?.url;return(y,u)=>E(p,H,D,a)(y,m||u)},async getFuturesVXSchedules(t,i,e,s,o,r,d,l,g,b,p,f,m,y,u,h,R,x,c,k,A){let G=await n.getFuturesVXSchedules(t,i,e,s,o,r,d,l,g,b,p,f,m,y,u,h,R,x,c,k,A),v=a?.serverIndex??0,O=F["DefaultApi.getFuturesVXSchedules"]?.[v]?.url;return(I,V)=>E(G,H,D,a)(I,O||V)},async getFuturesVXSnapshot(t,i,e,s,o,r,d,l,g,b,p,f,m,y,u){let h=await n.getFuturesVXSnapshot(t,i,e,s,o,r,d,l,g,b,p,f,m,y,u),R=a?.serverIndex??0,x=F["DefaultApi.getFuturesVXSnapshot"]?.[R]?.url;return(c,k)=>E(h,H,D,a)(c,x||k)},async getFuturesVXSnapshotNative(t,i,e,s,o,r,d,l,g,b,p,f,m,y,u){let h=await n.getFuturesVXSnapshotNative(t,i,e,s,o,r,d,l,g,b,p,f,m,y,u),R=a?.serverIndex??0,x=F["DefaultApi.getFuturesVXSnapshotNative"]?.[R]?.url;return(c,k)=>E(h,H,D,a)(c,x||k)},async getFuturesVXTradesNew(t,i,e,s,o,r,d,l,g,b){let p=await n.getFuturesVXTradesNew(t,i,e,s,o,r,d,l,g,b),f=a?.serverIndex??0,m=F["DefaultApi.getFuturesVXTradesNew"]?.[f]?.url;return(y,u)=>E(p,H,D,a)(y,m||u)},async getGroupedCryptoAggregates(t,i,e){let s=await n.getGroupedCryptoAggregates(t,i,e),o=a?.serverIndex??0,r=F["DefaultApi.getGroupedCryptoAggregates"]?.[o]?.url;return(d,l)=>E(s,H,D,a)(d,r||l)},async getGroupedForexAggregates(t,i,e){let s=await n.getGroupedForexAggregates(t,i,e),o=a?.serverIndex??0,r=F["DefaultApi.getGroupedForexAggregates"]?.[o]?.url;return(d,l)=>E(s,H,D,a)(d,r||l)},async getGroupedStocksAggregates(t,i,e,s){let o=await n.getGroupedStocksAggregates(t,i,e,s),r=a?.serverIndex??0,d=F["DefaultApi.getGroupedStocksAggregates"]?.[r]?.url;return(l,g)=>E(o,H,D,a)(l,d||g)},async getIndicesAggregates(t,i,e,s,o,r,d,l){let g=await n.getIndicesAggregates(t,i,e,s,o,r,d,l),b=a?.serverIndex??0,p=F["DefaultApi.getIndicesAggregates"]?.[b]?.url;return(f,m)=>E(g,H,D,a)(f,p||m)},async getIndicesEMA(t,i,e,s,o,r,d,l,g,b,p,f,m,y){let u=await n.getIndicesEMA(t,i,e,s,o,r,d,l,g,b,p,f,m,y),h=a?.serverIndex??0,R=F["DefaultApi.getIndicesEMA"]?.[h]?.url;return(x,c)=>E(u,H,D,a)(x,R||c)},async getIndicesMACD(t,i,e,s,o,r,d,l,g,b,p,f,m,y,u,h){let R=await n.getIndicesMACD(t,i,e,s,o,r,d,l,g,b,p,f,m,y,u,h),x=a?.serverIndex??0,c=F["DefaultApi.getIndicesMACD"]?.[x]?.url;return(k,A)=>E(R,H,D,a)(k,c||A)},async getIndicesOpenClose(t,i,e){let s=await n.getIndicesOpenClose(t,i,e),o=a?.serverIndex??0,r=F["DefaultApi.getIndicesOpenClose"]?.[o]?.url;return(d,l)=>E(s,H,D,a)(d,r||l)},async getIndicesRSI(t,i,e,s,o,r,d,l,g,b,p,f,m,y){let u=await n.getIndicesRSI(t,i,e,s,o,r,d,l,g,b,p,f,m,y),h=a?.serverIndex??0,R=F["DefaultApi.getIndicesRSI"]?.[h]?.url;return(x,c)=>E(u,H,D,a)(x,R||c)},async getIndicesSMA(t,i,e,s,o,r,d,l,g,b,p,f,m,y){let u=await n.getIndicesSMA(t,i,e,s,o,r,d,l,g,b,p,f,m,y),h=a?.serverIndex??0,R=F["DefaultApi.getIndicesSMA"]?.[h]?.url;return(x,c)=>E(u,H,D,a)(x,R||c)},async getIndicesSnapshot(t,i,e,s,o,r,d,l,g,b){let p=await n.getIndicesSnapshot(t,i,e,s,o,r,d,l,g,b),f=a?.serverIndex??0,m=F["DefaultApi.getIndicesSnapshot"]?.[f]?.url;return(y,u)=>E(p,H,D,a)(y,m||u)},async getLastCryptoTrade(t,i,e){let s=await n.getLastCryptoTrade(t,i,e),o=a?.serverIndex??0,r=F["DefaultApi.getLastCryptoTrade"]?.[o]?.url;return(d,l)=>E(s,H,D,a)(d,r||l)},async getLastCurrencyQuote(t,i,e){let s=await n.getLastCurrencyQuote(t,i,e),o=a?.serverIndex??0,r=F["DefaultApi.getLastCurrencyQuote"]?.[o]?.url;return(d,l)=>E(s,H,D,a)(d,r||l)},async getLastOptionsTrade(t,i){let e=await n.getLastOptionsTrade(t,i),s=a?.serverIndex??0,o=F["DefaultApi.getLastOptionsTrade"]?.[s]?.url;return(r,d)=>E(e,H,D,a)(r,o||d)},async getLastStocksQuote(t,i){let e=await n.getLastStocksQuote(t,i),s=a?.serverIndex??0,o=F["DefaultApi.getLastStocksQuote"]?.[s]?.url;return(r,d)=>E(e,H,D,a)(r,o||d)},async getLastStocksTrade(t,i){let e=await n.getLastStocksTrade(t,i),s=a?.serverIndex??0,o=F["DefaultApi.getLastStocksTrade"]?.[s]?.url;return(r,d)=>E(e,H,D,a)(r,o||d)},async getMarketHolidays(t){let i=await n.getMarketHolidays(t),e=a?.serverIndex??0,s=F["DefaultApi.getMarketHolidays"]?.[e]?.url;return(o,r)=>E(i,H,D,a)(o,s||r)},async getMarketStatus(t){let i=await n.getMarketStatus(t),e=a?.serverIndex??0,s=F["DefaultApi.getMarketStatus"]?.[e]?.url;return(o,r)=>E(i,H,D,a)(o,s||r)},async getOptionContract(t,i,e){let s=await n.getOptionContract(t,i,e),o=a?.serverIndex??0,r=F["DefaultApi.getOptionContract"]?.[o]?.url;return(d,l)=>E(s,H,D,a)(d,r||l)},async getOptionsAggregates(t,i,e,s,o,r,d,l,g){let b=await n.getOptionsAggregates(t,i,e,s,o,r,d,l,g),p=a?.serverIndex??0,f=F["DefaultApi.getOptionsAggregates"]?.[p]?.url;return(m,y)=>E(b,H,D,a)(m,f||y)},async getOptionsChain(t,i,e,s,o,r,d,l,g,b,p,f,m,y,u,h){let R=await n.getOptionsChain(t,i,e,s,o,r,d,l,g,b,p,f,m,y,u,h),x=a?.serverIndex??0,c=F["DefaultApi.getOptionsChain"]?.[x]?.url;return(k,A)=>E(R,H,D,a)(k,c||A)},async getOptionsContract(t,i,e){let s=await n.getOptionsContract(t,i,e),o=a?.serverIndex??0,r=F["DefaultApi.getOptionsContract"]?.[o]?.url;return(d,l)=>E(s,H,D,a)(d,r||l)},async getOptionsEMA(t,i,e,s,o,r,d,l,g,b,p,f,m,y){let u=await n.getOptionsEMA(t,i,e,s,o,r,d,l,g,b,p,f,m,y),h=a?.serverIndex??0,R=F["DefaultApi.getOptionsEMA"]?.[h]?.url;return(x,c)=>E(u,H,D,a)(x,R||c)},async getOptionsMACD(t,i,e,s,o,r,d,l,g,b,p,f,m,y,u,h){let R=await n.getOptionsMACD(t,i,e,s,o,r,d,l,g,b,p,f,m,y,u,h),x=a?.serverIndex??0,c=F["DefaultApi.getOptionsMACD"]?.[x]?.url;return(k,A)=>E(R,H,D,a)(k,c||A)},async getOptionsOpenClose(t,i,e,s){let o=await n.getOptionsOpenClose(t,i,e,s),r=a?.serverIndex??0,d=F["DefaultApi.getOptionsOpenClose"]?.[r]?.url;return(l,g)=>E(o,H,D,a)(l,d||g)},async getOptionsQuotes(t,i,e,s,o,r,d,l,g,b){let p=await n.getOptionsQuotes(t,i,e,s,o,r,d,l,g,b),f=a?.serverIndex??0,m=F["DefaultApi.getOptionsQuotes"]?.[f]?.url;return(y,u)=>E(p,H,D,a)(y,m||u)},async getOptionsRSI(t,i,e,s,o,r,d,l,g,b,p,f,m,y){let u=await n.getOptionsRSI(t,i,e,s,o,r,d,l,g,b,p,f,m,y),h=a?.serverIndex??0,R=F["DefaultApi.getOptionsRSI"]?.[h]?.url;return(x,c)=>E(u,H,D,a)(x,R||c)},async getOptionsSMA(t,i,e,s,o,r,d,l,g,b,p,f,m,y){let u=await n.getOptionsSMA(t,i,e,s,o,r,d,l,g,b,p,f,m,y),h=a?.serverIndex??0,R=F["DefaultApi.getOptionsSMA"]?.[h]?.url;return(x,c)=>E(u,H,D,a)(x,R||c)},async getOptionsTrades(t,i,e,s,o,r,d,l,g,b){let p=await n.getOptionsTrades(t,i,e,s,o,r,d,l,g,b),f=a?.serverIndex??0,m=F["DefaultApi.getOptionsTrades"]?.[f]?.url;return(y,u)=>E(p,H,D,a)(y,m||u)},async getOptionsV1Exchanges(t,i){let e=await n.getOptionsV1Exchanges(t,i),s=a?.serverIndex??0,o=F["DefaultApi.getOptionsV1Exchanges"]?.[s]?.url;return(r,d)=>E(e,H,D,a)(r,o||d)},async getPreviousCryptoAggregates(t,i,e){let s=await n.getPreviousCryptoAggregates(t,i,e),o=a?.serverIndex??0,r=F["DefaultApi.getPreviousCryptoAggregates"]?.[o]?.url;return(d,l)=>E(s,H,D,a)(d,r||l)},async getPreviousForexAggregates(t,i,e){let s=await n.getPreviousForexAggregates(t,i,e),o=a?.serverIndex??0,r=F["DefaultApi.getPreviousForexAggregates"]?.[o]?.url;return(d,l)=>E(s,H,D,a)(d,r||l)},async getPreviousIndicesAggregates(t,i){let e=await n.getPreviousIndicesAggregates(t,i),s=a?.serverIndex??0,o=F["DefaultApi.getPreviousIndicesAggregates"]?.[s]?.url;return(r,d)=>E(e,H,D,a)(r,o||d)},async getPreviousOptionsAggregates(t,i,e){let s=await n.getPreviousOptionsAggregates(t,i,e),o=a?.serverIndex??0,r=F["DefaultApi.getPreviousOptionsAggregates"]?.[o]?.url;return(d,l)=>E(s,H,D,a)(d,r||l)},async getPreviousStocksAggregates(t,i,e){let s=await n.getPreviousStocksAggregates(t,i,e),o=a?.serverIndex??0,r=F["DefaultApi.getPreviousStocksAggregates"]?.[o]?.url;return(d,l)=>E(s,H,D,a)(d,r||l)},async getRelatedCompanies(t,i){let e=await n.getRelatedCompanies(t,i),s=a?.serverIndex??0,o=F["DefaultApi.getRelatedCompanies"]?.[s]?.url;return(r,d)=>E(e,H,D,a)(r,o||d)},async getSnapshotSummary(t,i){let e=await n.getSnapshotSummary(t,i),s=a?.serverIndex??0,o=F["DefaultApi.getSnapshotSummary"]?.[s]?.url;return(r,d)=>E(e,H,D,a)(r,o||d)},async getSnapshots(t,i,e,s,o,r,d,l,g,b,p){let f=await n.getSnapshots(t,i,e,s,o,r,d,l,g,b,p),m=a?.serverIndex??0,y=F["DefaultApi.getSnapshots"]?.[m]?.url;return(u,h)=>E(f,H,D,a)(u,y||h)},async getStocksAggregates(t,i,e,s,o,r,d,l,g){let b=await n.getStocksAggregates(t,i,e,s,o,r,d,l,g),p=a?.serverIndex??0,f=F["DefaultApi.getStocksAggregates"]?.[p]?.url;return(m,y)=>E(b,H,D,a)(m,f||y)},async getStocksEMA(t,i,e,s,o,r,d,l,g,b,p,f,m,y){let u=await n.getStocksEMA(t,i,e,s,o,r,d,l,g,b,p,f,m,y),h=a?.serverIndex??0,R=F["DefaultApi.getStocksEMA"]?.[h]?.url;return(x,c)=>E(u,H,D,a)(x,R||c)},async getStocksFilings10KVXSections(t,i,e,s,o,r,d,l,g,b,p,f,m,y,u,h,R,x,c,k,A,G,v,O,I,V,K){let L=await n.getStocksFilings10KVXSections(t,i,e,s,o,r,d,l,g,b,p,f,m,y,u,h,R,x,c,k,A,G,v,O,I,V,K),j=a?.serverIndex??0,X=F["DefaultApi.getStocksFilings10KVXSections"]?.[j]?.url;return(S,C)=>E(L,H,D,a)(S,X||C)},async getStocksFilingsVXIndex(t,i,e,s,o,r,d,l,g,b,p,f,m,y,u,h,R,x,c,k,A,G,v,O,I,V){let K=await n.getStocksFilingsVXIndex(t,i,e,s,o,r,d,l,g,b,p,f,m,y,u,h,R,x,c,k,A,G,v,O,I,V),L=a?.serverIndex??0,j=F["DefaultApi.getStocksFilingsVXIndex"]?.[L]?.url;return(X,S)=>E(K,H,D,a)(X,j||S)},async getStocksFilingsVXRiskFactors(t,i,e,s,o,r,d,l,g,b,p,f,m,y,u,h,R,x,c,k,A){let G=await n.getStocksFilingsVXRiskFactors(t,i,e,s,o,r,d,l,g,b,p,f,m,y,u,h,R,x,c,k,A),v=a?.serverIndex??0,O=F["DefaultApi.getStocksFilingsVXRiskFactors"]?.[v]?.url;return(I,V)=>E(G,H,D,a)(I,O||V)},async getStocksFinancialsV1BalanceSheets(t,i,e,s,o,r,d,l,g,b,p,f,m,y,u,h,R,x,c,k,A,G,v,O,I,V,K,L,j,X,S,C,w,en,nn,on,sn,Y,rn,an,T,dn,pn,fn,un,ln,gn,yn,W,J){let bn=await n.getStocksFinancialsV1BalanceSheets(t,i,e,s,o,r,d,l,g,b,p,f,m,y,u,h,R,x,c,k,A,G,v,O,I,V,K,L,j,X,S,C,w,en,nn,on,sn,Y,rn,an,T,dn,pn,fn,un,ln,gn,yn,W,J),cn=a?.serverIndex??0,mn=F["DefaultApi.getStocksFinancialsV1BalanceSheets"]?.[cn]?.url;return(Z,_)=>E(bn,H,D,a)(Z,mn||_)},async getStocksFinancialsV1CashFlowStatements(t,i,e,s,o,r,d,l,g,b,p,f,m,y,u,h,R,x,c,k,A,G,v,O,I,V,K,L,j,X,S,C,w,en,nn,on,sn,Y,rn,an,T,dn,pn,fn,un,ln,gn,yn,W,J){let bn=await n.getStocksFinancialsV1CashFlowStatements(t,i,e,s,o,r,d,l,g,b,p,f,m,y,u,h,R,x,c,k,A,G,v,O,I,V,K,L,j,X,S,C,w,en,nn,on,sn,Y,rn,an,T,dn,pn,fn,un,ln,gn,yn,W,J),cn=a?.serverIndex??0,mn=F["DefaultApi.getStocksFinancialsV1CashFlowStatements"]?.[cn]?.url;return(Z,_)=>E(bn,H,D,a)(Z,mn||_)},async getStocksFinancialsV1IncomeStatements(t,i,e,s,o,r,d,l,g,b,p,f,m,y,u,h,R,x,c,k,A,G,v,O,I,V,K,L,j,X,S,C,w,en,nn,on,sn,Y,rn,an,T,dn,pn,fn,un,ln,gn,yn,W,J){let bn=await n.getStocksFinancialsV1IncomeStatements(t,i,e,s,o,r,d,l,g,b,p,f,m,y,u,h,R,x,c,k,A,G,v,O,I,V,K,L,j,X,S,C,w,en,nn,on,sn,Y,rn,an,T,dn,pn,fn,un,ln,gn,yn,W,J),cn=a?.serverIndex??0,mn=F["DefaultApi.getStocksFinancialsV1IncomeStatements"]?.[cn]?.url;return(Z,_)=>E(bn,H,D,a)(Z,mn||_)},async getStocksFinancialsV1Ratios(t,i,e,s,o,r,d,l,g,b,p,f,m,y,u,h,R,x,c,k,A,G,v,O,I,V,K,L,j,X,S,C,w,en,nn,on,sn,Y,rn,an,T,dn,pn,fn,un,ln,gn,yn,W,J,bn,cn,mn,Z,_,hn,Rn,An,xn,P,kn,tn,Vn,On,Cn,Sn,wn,vn,In,Tn,Ln,_n,Dn,Fn,q,Un,zn,Qn,En,Mn,Hn,jn,Kn,Nn,Xn,$n,Yn,Wn,Jn,Zn,qn,Pn,ne,ee,te,ie,se,oe,re,ae,de,le,ge,ce,pe,fe,ue,ye,be,me,he,Re,xe,Ae,Se){let ke=await n.getStocksFinancialsV1Ratios(t,i,e,s,o,r,d,l,g,b,p,f,m,y,u,h,R,x,c,k,A,G,v,O,I,V,K,L,j,X,S,C,w,en,nn,on,sn,Y,rn,an,T,dn,pn,fn,un,ln,gn,yn,W,J,bn,cn,mn,Z,_,hn,Rn,An,xn,P,kn,tn,Vn,On,Cn,Sn,wn,vn,In,Tn,Ln,_n,Dn,Fn,q,Un,zn,Qn,En,Mn,Hn,jn,Kn,Nn,Xn,$n,Yn,Wn,Jn,Zn,qn,Pn,ne,ee,te,ie,se,oe,re,ae,de,le,ge,ce,pe,fe,ue,ye,be,me,he,Re,xe,Ae,Se),Bn=a?.serverIndex??0,_e=F["DefaultApi.getStocksFinancialsV1Ratios"]?.[Bn]?.url;return(we,N)=>E(ke,H,D,a)(we,_e||N)},async getStocksMACD(t,i,e,s,o,r,d,l,g,b,p,f,m,y,u,h){let R=await n.getStocksMACD(t,i,e,s,o,r,d,l,g,b,p,f,m,y,u,h),x=a?.serverIndex??0,c=F["DefaultApi.getStocksMACD"]?.[x]?.url;return(k,A)=>E(R,H,D,a)(k,c||A)},async getStocksOpenClose(t,i,e,s){let o=await n.getStocksOpenClose(t,i,e,s),r=a?.serverIndex??0,d=F["DefaultApi.getStocksOpenClose"]?.[r]?.url;return(l,g)=>E(o,H,D,a)(l,d||g)},async getStocksQuotes(t,i,e,s,o,r,d,l,g,b){let p=await n.getStocksQuotes(t,i,e,s,o,r,d,l,g,b),f=a?.serverIndex??0,m=F["DefaultApi.getStocksQuotes"]?.[f]?.url;return(y,u)=>E(p,H,D,a)(y,m||u)},async getStocksRSI(t,i,e,s,o,r,d,l,g,b,p,f,m,y){let u=await n.getStocksRSI(t,i,e,s,o,r,d,l,g,b,p,f,m,y),h=a?.serverIndex??0,R=F["DefaultApi.getStocksRSI"]?.[h]?.url;return(x,c)=>E(u,H,D,a)(x,R||c)},async getStocksSMA(t,i,e,s,o,r,d,l,g,b,p,f,m,y){let u=await n.getStocksSMA(t,i,e,s,o,r,d,l,g,b,p,f,m,y),h=a?.serverIndex??0,R=F["DefaultApi.getStocksSMA"]?.[h]?.url;return(x,c)=>E(u,H,D,a)(x,R||c)},async getStocksSnapshotDirection(t,i,e){let s=await n.getStocksSnapshotDirection(t,i,e),o=a?.serverIndex??0,r=F["DefaultApi.getStocksSnapshotDirection"]?.[o]?.url;return(d,l)=>E(s,H,D,a)(d,r||l)},async getStocksSnapshotTicker(t,i){let e=await n.getStocksSnapshotTicker(t,i),s=a?.serverIndex??0,o=F["DefaultApi.getStocksSnapshotTicker"]?.[s]?.url;return(r,d)=>E(e,H,D,a)(r,o||d)},async getStocksSnapshotTickers(t,i,e){let s=await n.getStocksSnapshotTickers(t,i,e),o=a?.serverIndex??0,r=F["DefaultApi.getStocksSnapshotTickers"]?.[o]?.url;return(d,l)=>E(s,H,D,a)(d,r||l)},async getStocksTaxonomiesVXRiskFactors(t,i,e,s,o,r,d,l,g,b,p,f,m,y,u,h,R,x,c,k,A,G,v,O,I,V){let K=await n.getStocksTaxonomiesVXRiskFactors(t,i,e,s,o,r,d,l,g,b,p,f,m,y,u,h,R,x,c,k,A,G,v,O,I,V),L=a?.serverIndex??0,j=F["DefaultApi.getStocksTaxonomiesVXRiskFactors"]?.[L]?.url;return(X,S)=>E(K,H,D,a)(X,j||S)},async getStocksTrades(t,i,e,s,o,r,d,l,g,b){let p=await n.getStocksTrades(t,i,e,s,o,r,d,l,g,b),f=a?.serverIndex??0,m=F["DefaultApi.getStocksTrades"]?.[f]?.url;return(y,u)=>E(p,H,D,a)(y,m||u)},async getStocksV1Dividends(t,i,e,s,o,r,d,l,g,b,p,f,m,y,u,h,R,x,c,k,A){let G=await n.getStocksV1Dividends(t,i,e,s,o,r,d,l,g,b,p,f,m,y,u,h,R,x,c,k,A),v=a?.serverIndex??0,O=F["DefaultApi.getStocksV1Dividends"]?.[v]?.url;return(I,V)=>E(G,H,D,a)(I,O||V)},async getStocksV1Exchanges(t,i){let e=await n.getStocksV1Exchanges(t,i),s=a?.serverIndex??0,o=F["DefaultApi.getStocksV1Exchanges"]?.[s]?.url;return(r,d)=>E(e,H,D,a)(r,o||d)},async getStocksV1ShortInterest(t,i,e,s,o,r,d,l,g,b,p,f,m,y,u,h,R,x,c,k,A,G,v,O,I,V,K){let L=await n.getStocksV1ShortInterest(t,i,e,s,o,r,d,l,g,b,p,f,m,y,u,h,R,x,c,k,A,G,v,O,I,V,K),j=a?.serverIndex??0,X=F["DefaultApi.getStocksV1ShortInterest"]?.[j]?.url;return(S,C)=>E(L,H,D,a)(S,X||C)},async getStocksV1ShortVolume(t,i,e,s,o,r,d,l,g,b,p,f,m,y,u,h,R,x,c,k,A,G,v,O,I,V,K){let L=await n.getStocksV1ShortVolume(t,i,e,s,o,r,d,l,g,b,p,f,m,y,u,h,R,x,c,k,A,G,v,O,I,V,K),j=a?.serverIndex??0,X=F["DefaultApi.getStocksV1ShortVolume"]?.[j]?.url;return(S,C)=>E(L,H,D,a)(S,X||C)},async getStocksV1Splits(t,i,e,s,o,r,d,l,g,b,p,f,m,y,u,h){let R=await n.getStocksV1Splits(t,i,e,s,o,r,d,l,g,b,p,f,m,y,u,h),x=a?.serverIndex??0,c=F["DefaultApi.getStocksV1Splits"]?.[x]?.url;return(k,A)=>E(R,H,D,a)(k,c||A)},async getStocksVXFloat(t,i,e,s,o,r,d,l,g,b,p,f,m,y){let u=await n.getStocksVXFloat(t,i,e,s,o,r,d,l,g,b,p,f,m,y),h=a?.serverIndex??0,R=F["DefaultApi.getStocksVXFloat"]?.[h]?.url;return(x,c)=>E(u,H,D,a)(x,R||c)},async getTicker(t,i,e){let s=await n.getTicker(t,i,e),o=a?.serverIndex??0,r=F["DefaultApi.getTicker"]?.[o]?.url;return(d,l)=>E(s,H,D,a)(d,r||l)},async getTmxV1CorporateEvents(t,i,e,s,o,r,d,l,g,b,p,f,m,y,u,h,R,x,c,k,A,G,v,O,I,V,K,L,j,X,S,C,w,en,nn,on,sn,Y,rn,an,T,dn,pn,fn,un,ln,gn,yn,W,J){let bn=await n.getTmxV1CorporateEvents(t,i,e,s,o,r,d,l,g,b,p,f,m,y,u,h,R,x,c,k,A,G,v,O,I,V,K,L,j,X,S,C,w,en,nn,on,sn,Y,rn,an,T,dn,pn,fn,un,ln,gn,yn,W,J),cn=a?.serverIndex??0,mn=F["DefaultApi.getTmxV1CorporateEvents"]?.[cn]?.url;return(Z,_)=>E(bn,H,D,a)(Z,mn||_)},async getV1ReferenceIpos(t,i,e,s,o,r,d,l,g,b,p,f,m,y,u,h,R,x,c,k,A,G,v,O,I,V,K,L){let j=await n.getV1ReferenceIpos(t,i,e,s,o,r,d,l,g,b,p,f,m,y,u,h,R,x,c,k,A,G,v,O,I,V,K,L),X=a?.serverIndex??0,S=F["DefaultApi.getV1ReferenceIpos"]?.[X]?.url;return(C,w)=>E(j,H,D,a)(C,S||w)},async listConditions(t,i,e,s,o,r,d,l){let g=await n.listConditions(t,i,e,s,o,r,d,l),b=a?.serverIndex??0,p=F["DefaultApi.listConditions"]?.[b]?.url;return(f,m)=>E(g,H,D,a)(f,p||m)},async listDividends(t,i,e,s,o,r,d,l,g,b,p,f,m,y,u,h,R,x,c,k,A,G,v,O,I,V,K,L,j,X,S,C,w,en,nn,on){let sn=await n.listDividends(t,i,e,s,o,r,d,l,g,b,p,f,m,y,u,h,R,x,c,k,A,G,v,O,I,V,K,L,j,X,S,C,w,en,nn,on),Y=a?.serverIndex??0,rn=F["DefaultApi.listDividends"]?.[Y]?.url;return(an,T)=>E(sn,H,D,a)(an,rn||T)},async listExchanges(t,i,e){let s=await n.listExchanges(t,i,e),o=a?.serverIndex??0,r=F["DefaultApi.listExchanges"]?.[o]?.url;return(d,l)=>E(s,H,D,a)(d,r||l)},async listFinancials(t,i,e,s,o,r,d,l,g,b,p,f,m,y,u,h,R,x,c,k,A){let G=await n.listFinancials(t,i,e,s,o,r,d,l,g,b,p,f,m,y,u,h,R,x,c,k,A),v=a?.serverIndex??0,O=F["DefaultApi.listFinancials"]?.[v]?.url;return(I,V)=>E(G,H,D,a)(I,O||V)},async listIPOs(t,i,e,s,o,r,d,l,g,b,p,f,m){let y=await n.listIPOs(t,i,e,s,o,r,d,l,g,b,p,f,m),u=a?.serverIndex??0,h=F["DefaultApi.listIPOs"]?.[u]?.url;return(R,x)=>E(y,H,D,a)(R,h||x)},async listNews(t,i,e,s,o,r,d,l,g,b,p,f,m,y){let u=await n.listNews(t,i,e,s,o,r,d,l,g,b,p,f,m,y),h=a?.serverIndex??0,R=F["DefaultApi.listNews"]?.[h]?.url;return(x,c)=>E(u,H,D,a)(x,R||c)},async listOptionsContracts(t,i,e,s,o,r,d,l,g,b,p,f,m,y,u,h,R,x,c,k,A,G,v){let O=await n.listOptionsContracts(t,i,e,s,o,r,d,l,g,b,p,f,m,y,u,h,R,x,c,k,A,G,v),I=a?.serverIndex??0,V=F["DefaultApi.listOptionsContracts"]?.[I]?.url;return(K,L)=>E(O,H,D,a)(K,V||L)},async listStockSplits(t,i,e,s,o,r,d,l,g,b,p,f,m,y,u){let h=await n.listStockSplits(t,i,e,s,o,r,d,l,g,b,p,f,m,y,u),R=a?.serverIndex??0,x=F["DefaultApi.listStockSplits"]?.[R]?.url;return(c,k)=>E(h,H,D,a)(c,x||k)},async listTickerTypes(t,i,e){let s=await n.listTickerTypes(t,i,e),o=a?.serverIndex??0,r=F["DefaultApi.listTickerTypes"]?.[o]?.url;return(d,l)=>E(s,H,D,a)(d,r||l)},async listTickers(t,i,e,s,o,r,d,l,g,b,p,f,m,y,u,h,R){let x=await n.listTickers(t,i,e,s,o,r,d,l,g,b,p,f,m,y,u,h,R),c=a?.serverIndex??0,k=F["DefaultApi.listTickers"]?.[c]?.url;return(A,G)=>E(x,H,D,a)(A,k||G)}}},mr=function(a,n,t){let i=M(a);return{deprecatedGetCryptoSnapshotTickerBook(e,s){return i.deprecatedGetCryptoSnapshotTickerBook(e.ticker,s).then(o=>o(t,n))},deprecatedGetHistoricCryptoTrades(e,s){return i.deprecatedGetHistoricCryptoTrades(e.from,e.to,e.date,e.offset,e.limit,s).then(o=>o(t,n))},deprecatedGetHistoricForexQuotes(e,s){return i.deprecatedGetHistoricForexQuotes(e.from,e.to,e.date,e.offset,e.limit,s).then(o=>o(t,n))},deprecatedGetHistoricStocksQuotes(e,s){return i.deprecatedGetHistoricStocksQuotes(e.ticker,e.date,e.timestamp,e.timestampLimit,e.reverse,e.limit,s).then(o=>o(t,n))},deprecatedGetHistoricStocksTrades(e,s){return i.deprecatedGetHistoricStocksTrades(e.ticker,e.date,e.timestamp,e.timestampLimit,e.reverse,e.limit,s).then(o=>o(t,n))},getBenzingaV1AnalystInsights(e={},s){return i.getBenzingaV1AnalystInsights(e.date,e.dateAnyOf,e.dateGt,e.dateGte,e.dateLt,e.dateLte,e.ticker,e.tickerAnyOf,e.tickerGt,e.tickerGte,e.tickerLt,e.tickerLte,e.lastUpdated,e.lastUpdatedGt,e.lastUpdatedGte,e.lastUpdatedLt,e.lastUpdatedLte,e.firm,e.firmAnyOf,e.firmGt,e.firmGte,e.firmLt,e.firmLte,e.ratingAction,e.ratingActionAnyOf,e.ratingActionGt,e.ratingActionGte,e.ratingActionLt,e.ratingActionLte,e.benzingaFirmId,e.benzingaFirmIdAnyOf,e.benzingaFirmIdGt,e.benzingaFirmIdGte,e.benzingaFirmIdLt,e.benzingaFirmIdLte,e.benzingaRatingId,e.benzingaRatingIdAnyOf,e.benzingaRatingIdGt,e.benzingaRatingIdGte,e.benzingaRatingIdLt,e.benzingaRatingIdLte,e.limit,e.sort,s).then(o=>o(t,n))},getBenzingaV1Analysts(e={},s){return i.getBenzingaV1Analysts(e.benzingaId,e.benzingaIdAnyOf,e.benzingaIdGt,e.benzingaIdGte,e.benzingaIdLt,e.benzingaIdLte,e.benzingaFirmId,e.benzingaFirmIdAnyOf,e.benzingaFirmIdGt,e.benzingaFirmIdGte,e.benzingaFirmIdLt,e.benzingaFirmIdLte,e.firmName,e.firmNameAnyOf,e.firmNameGt,e.firmNameGte,e.firmNameLt,e.firmNameLte,e.fullName,e.fullNameAnyOf,e.fullNameGt,e.fullNameGte,e.fullNameLt,e.fullNameLte,e.limit,e.sort,s).then(o=>o(t,n))},getBenzingaV1BullsBearsSay(e={},s){return i.getBenzingaV1BullsBearsSay(e.ticker,e.tickerAnyOf,e.tickerGt,e.tickerGte,e.tickerLt,e.tickerLte,e.benzingaId,e.benzingaIdAnyOf,e.benzingaIdGt,e.benzingaIdGte,e.benzingaIdLt,e.benzingaIdLte,e.lastUpdated,e.lastUpdatedGt,e.lastUpdatedGte,e.lastUpdatedLt,e.lastUpdatedLte,e.limit,e.sort,s).then(o=>o(t,n))},getBenzingaV1ConsensusRatings(e,s){return i.getBenzingaV1ConsensusRatings(e.ticker,e.date,e.dateAnyOf,e.dateGt,e.dateGte,e.dateLt,e.dateLte,e.limit,s).then(o=>o(t,n))},getBenzingaV1Earnings(e={},s){return i.getBenzingaV1Earnings(e.date,e.dateAnyOf,e.dateGt,e.dateGte,e.dateLt,e.dateLte,e.ticker,e.tickerAnyOf,e.tickerGt,e.tickerGte,e.tickerLt,e.tickerLte,e.importance,e.importanceAnyOf,e.importanceGt,e.importanceGte,e.importanceLt,e.importanceLte,e.lastUpdated,e.lastUpdatedAnyOf,e.lastUpdatedGt,e.lastUpdatedGte,e.lastUpdatedLt,e.lastUpdatedLte,e.dateStatus,e.dateStatusAnyOf,e.dateStatusGt,e.dateStatusGte,e.dateStatusLt,e.dateStatusLte,e.epsSurprisePercent,e.epsSurprisePercentAnyOf,e.epsSurprisePercentGt,e.epsSurprisePercentGte,e.epsSurprisePercentLt,e.epsSurprisePercentLte,e.revenueSurprisePercent,e.revenueSurprisePercentAnyOf,e.revenueSurprisePercentGt,e.revenueSurprisePercentGte,e.revenueSurprisePercentLt,e.revenueSurprisePercentLte,e.fiscalYear,e.fiscalYearAnyOf,e.fiscalYearGt,e.fiscalYearGte,e.fiscalYearLt,e.fiscalYearLte,e.fiscalPeriod,e.fiscalPeriodAnyOf,e.fiscalPeriodGt,e.fiscalPeriodGte,e.fiscalPeriodLt,e.fiscalPeriodLte,e.limit,e.sort,s).then(o=>o(t,n))},getBenzingaV1Firms(e={},s){return i.getBenzingaV1Firms(e.benzingaId,e.benzingaIdAnyOf,e.benzingaIdGt,e.benzingaIdGte,e.benzingaIdLt,e.benzingaIdLte,e.limit,e.sort,s).then(o=>o(t,n))},getBenzingaV1Guidance(e={},s){return i.getBenzingaV1Guidance(e.date,e.dateAnyOf,e.dateGt,e.dateGte,e.dateLt,e.dateLte,e.ticker,e.tickerAnyOf,e.tickerGt,e.tickerGte,e.tickerLt,e.tickerLte,e.positioning,e.positioningAnyOf,e.positioningGt,e.positioningGte,e.positioningLt,e.positioningLte,e.importance,e.importanceAnyOf,e.importanceGt,e.importanceGte,e.importanceLt,e.importanceLte,e.lastUpdated,e.lastUpdatedAnyOf,e.lastUpdatedGt,e.lastUpdatedGte,e.lastUpdatedLt,e.lastUpdatedLte,e.fiscalYear,e.fiscalYearAnyOf,e.fiscalYearGt,e.fiscalYearGte,e.fiscalYearLt,e.fiscalYearLte,e.fiscalPeriod,e.fiscalPeriodAnyOf,e.fiscalPeriodGt,e.fiscalPeriodGte,e.fiscalPeriodLt,e.fiscalPeriodLte,e.limit,e.sort,s).then(o=>o(t,n))},getBenzingaV1Ratings(e={},s){return i.getBenzingaV1Ratings(e.date,e.dateAnyOf,e.dateGt,e.dateGte,e.dateLt,e.dateLte,e.ticker,e.tickerAnyOf,e.tickerGt,e.tickerGte,e.tickerLt,e.tickerLte,e.importance,e.importanceGt,e.importanceGte,e.importanceLt,e.importanceLte,e.lastUpdated,e.lastUpdatedGt,e.lastUpdatedGte,e.lastUpdatedLt,e.lastUpdatedLte,e.ratingAction,e.ratingActionAnyOf,e.ratingActionGt,e.ratingActionGte,e.ratingActionLt,e.ratingActionLte,e.priceTargetAction,e.priceTargetActionAnyOf,e.priceTargetActionGt,e.priceTargetActionGte,e.priceTargetActionLt,e.priceTargetActionLte,e.benzingaId,e.benzingaIdAnyOf,e.benzingaIdGt,e.benzingaIdGte,e.benzingaIdLt,e.benzingaIdLte,e.benzingaAnalystId,e.benzingaAnalystIdAnyOf,e.benzingaAnalystIdGt,e.benzingaAnalystIdGte,e.benzingaAnalystIdLt,e.benzingaAnalystIdLte,e.benzingaFirmId,e.benzingaFirmIdAnyOf,e.benzingaFirmIdGt,e.benzingaFirmIdGte,e.benzingaFirmIdLt,e.benzingaFirmIdLte,e.limit,e.sort,s).then(o=>o(t,n))},getBenzingaV2News(e={},s){return i.getBenzingaV2News(e.published,e.publishedGt,e.publishedGte,e.publishedLt,e.publishedLte,e.channels,e.channelsAllOf,e.channelsAnyOf,e.tags,e.tagsAllOf,e.tagsAnyOf,e.author,e.authorAnyOf,e.authorGt,e.authorGte,e.authorLt,e.authorLte,e.stocks,e.stocksAllOf,e.stocksAnyOf,e.tickers,e.tickersAllOf,e.tickersAnyOf,e.limit,e.sort,s).then(o=>o(t,n))},getCryptoAggregates(e,s){return i.getCryptoAggregates(e.cryptoTicker,e.multiplier,e.timespan,e.from,e.to,e.adjusted,e.sort,e.limit,s).then(o=>o(t,n))},getCryptoEMA(e,s){return i.getCryptoEMA(e.cryptoTicker,e.timestamp,e.timespan,e.window,e.seriesType,e.expandUnderlying,e.order,e.limit,e.timestampGte,e.timestampGt,e.timestampLte,e.timestampLt,s).then(o=>o(t,n))},getCryptoMACD(e,s){return i.getCryptoMACD(e.cryptoTicker,e.timestamp,e.timespan,e.shortWindow,e.longWindow,e.signalWindow,e.seriesType,e.expandUnderlying,e.order,e.limit,e.timestampGte,e.timestampGt,e.timestampLte,e.timestampLt,s).then(o=>o(t,n))},getCryptoOpenClose(e,s){return i.getCryptoOpenClose(e.from,e.to,e.date,e.adjusted,s).then(o=>o(t,n))},getCryptoRSI(e,s){return i.getCryptoRSI(e.cryptoTicker,e.timestamp,e.timespan,e.window,e.seriesType,e.expandUnderlying,e.order,e.limit,e.timestampGte,e.timestampGt,e.timestampLte,e.timestampLt,s).then(o=>o(t,n))},getCryptoSMA(e,s){return i.getCryptoSMA(e.cryptoTicker,e.timestamp,e.timespan,e.window,e.seriesType,e.expandUnderlying,e.order,e.limit,e.timestampGte,e.timestampGt,e.timestampLte,e.timestampLt,s).then(o=>o(t,n))},getCryptoSnapshotDirection(e,s){return i.getCryptoSnapshotDirection(e.direction,s).then(o=>o(t,n))},getCryptoSnapshotTicker(e,s){return i.getCryptoSnapshotTicker(e.ticker,s).then(o=>o(t,n))},getCryptoSnapshotTickers(e={},s){return i.getCryptoSnapshotTickers(e.tickers,s).then(o=>o(t,n))},getCryptoTrades(e,s){return i.getCryptoTrades(e.cryptoTicker,e.timestamp,e.timestampGte,e.timestampGt,e.timestampLte,e.timestampLt,e.order,e.limit,e.sort,s).then(o=>o(t,n))},getCryptoV1Exchanges(e={},s){return i.getCryptoV1Exchanges(e.limit,s).then(o=>o(t,n))},getCurrencyConversion(e,s){return i.getCurrencyConversion(e.from,e.to,e.amount,e.precision,s).then(o=>o(t,n))},getEtfGlobalV1Analytics(e={},s){return i.getEtfGlobalV1Analytics(e.compositeTicker,e.compositeTickerAnyOf,e.compositeTickerGt,e.compositeTickerGte,e.compositeTickerLt,e.compositeTickerLte,e.processedDate,e.processedDateGt,e.processedDateGte,e.processedDateLt,e.processedDateLte,e.effectiveDate,e.effectiveDateGt,e.effectiveDateGte,e.effectiveDateLt,e.effectiveDateLte,e.riskTotalScore,e.riskTotalScoreGt,e.riskTotalScoreGte,e.riskTotalScoreLt,e.riskTotalScoreLte,e.rewardScore,e.rewardScoreGt,e.rewardScoreGte,e.rewardScoreLt,e.rewardScoreLte,e.quantTotalScore,e.quantTotalScoreGt,e.quantTotalScoreGte,e.quantTotalScoreLt,e.quantTotalScoreLte,e.quantGrade,e.quantGradeAnyOf,e.quantGradeGt,e.quantGradeGte,e.quantGradeLt,e.quantGradeLte,e.quantCompositeTechnical,e.quantCompositeTechnicalGt,e.quantCompositeTechnicalGte,e.quantCompositeTechnicalLt,e.quantCompositeTechnicalLte,e.quantCompositeSentiment,e.quantCompositeSentimentGt,e.quantCompositeSentimentGte,e.quantCompositeSentimentLt,e.quantCompositeSentimentLte,e.quantCompositeBehavioral,e.quantCompositeBehavioralGt,e.quantCompositeBehavioralGte,e.quantCompositeBehavioralLt,e.quantCompositeBehavioralLte,e.quantCompositeFundamental,e.quantCompositeFundamentalGt,e.quantCompositeFundamentalGte,e.quantCompositeFundamentalLt,e.quantCompositeFundamentalLte,e.quantCompositeGlobal,e.quantCompositeGlobalGt,e.quantCompositeGlobalGte,e.quantCompositeGlobalLt,e.quantCompositeGlobalLte,e.quantCompositeQuality,e.quantCompositeQualityGt,e.quantCompositeQualityGte,e.quantCompositeQualityLt,e.quantCompositeQualityLte,e.limit,e.sort,s).then(o=>o(t,n))},getEtfGlobalV1Constituents(e={},s){return i.getEtfGlobalV1Constituents(e.compositeTicker,e.compositeTickerAnyOf,e.compositeTickerGt,e.compositeTickerGte,e.compositeTickerLt,e.compositeTickerLte,e.constituentTicker,e.constituentTickerAnyOf,e.constituentTickerGt,e.constituentTickerGte,e.constituentTickerLt,e.constituentTickerLte,e.effectiveDate,e.effectiveDateGt,e.effectiveDateGte,e.effectiveDateLt,e.effectiveDateLte,e.processedDate,e.processedDateGt,e.processedDateGte,e.processedDateLt,e.processedDateLte,e.usCode,e.usCodeAnyOf,e.usCodeGt,e.usCodeGte,e.usCodeLt,e.usCodeLte,e.isin,e.isinAnyOf,e.isinGt,e.isinGte,e.isinLt,e.isinLte,e.figi,e.figiAnyOf,e.figiGt,e.figiGte,e.figiLt,e.figiLte,e.sedol,e.sedolAnyOf,e.sedolGt,e.sedolGte,e.sedolLt,e.sedolLte,e.limit,e.sort,s).then(o=>o(t,n))},getEtfGlobalV1FundFlows(e={},s){return i.getEtfGlobalV1FundFlows(e.processedDate,e.processedDateGt,e.processedDateGte,e.processedDateLt,e.processedDateLte,e.effectiveDate,e.effectiveDateGt,e.effectiveDateGte,e.effectiveDateLt,e.effectiveDateLte,e.compositeTicker,e.compositeTickerAnyOf,e.compositeTickerGt,e.compositeTickerGte,e.compositeTickerLt,e.compositeTickerLte,e.limit,e.sort,s).then(o=>o(t,n))},getEtfGlobalV1Profiles(e={},s){return i.getEtfGlobalV1Profiles(e.processedDate,e.processedDateGt,e.processedDateGte,e.processedDateLt,e.processedDateLte,e.effectiveDate,e.effectiveDateGt,e.effectiveDateGte,e.effectiveDateLt,e.effectiveDateLte,e.compositeTicker,e.compositeTickerAnyOf,e.compositeTickerGt,e.compositeTickerGte,e.compositeTickerLt,e.compositeTickerLte,e.limit,e.sort,s).then(o=>o(t,n))},getEtfGlobalV1Taxonomies(e={},s){return i.getEtfGlobalV1Taxonomies(e.processedDate,e.processedDateGt,e.processedDateGte,e.processedDateLt,e.processedDateLte,e.effectiveDate,e.effectiveDateGt,e.effectiveDateGte,e.effectiveDateLt,e.effectiveDateLte,e.compositeTicker,e.compositeTickerAnyOf,e.compositeTickerGt,e.compositeTickerGte,e.compositeTickerLt,e.compositeTickerLte,e.limit,e.sort,s).then(o=>o(t,n))},getEvents(e,s){return i.getEvents(e.id,e.types,s).then(o=>o(t,n))},getFedV1Inflation(e={},s){return i.getFedV1Inflation(e.date,e.dateAnyOf,e.dateGt,e.dateGte,e.dateLt,e.dateLte,e.limit,e.sort,s).then(o=>o(t,n))},getFedV1InflationExpectations(e={},s){return i.getFedV1InflationExpectations(e.date,e.dateAnyOf,e.dateGt,e.dateGte,e.dateLt,e.dateLte,e.limit,e.sort,s).then(o=>o(t,n))},getFedV1LaborMarket(e={},s){return i.getFedV1LaborMarket(e.date,e.dateAnyOf,e.dateGt,e.dateGte,e.dateLt,e.dateLte,e.limit,e.sort,s).then(o=>o(t,n))},getFedV1TreasuryYields(e={},s){return i.getFedV1TreasuryYields(e.date,e.dateAnyOf,e.dateGt,e.dateGte,e.dateLt,e.dateLte,e.limit,e.sort,s).then(o=>o(t,n))},getForexAggregates(e,s){return i.getForexAggregates(e.forexTicker,e.multiplier,e.timespan,e.from,e.to,e.adjusted,e.sort,e.limit,s).then(o=>o(t,n))},getForexEMA(e,s){return i.getForexEMA(e.fxTicker,e.timestamp,e.timespan,e.adjusted,e.window,e.seriesType,e.expandUnderlying,e.order,e.limit,e.timestampGte,e.timestampGt,e.timestampLte,e.timestampLt,s).then(o=>o(t,n))},getForexMACD(e,s){return i.getForexMACD(e.fxTicker,e.timestamp,e.timespan,e.adjusted,e.shortWindow,e.longWindow,e.signalWindow,e.seriesType,e.expandUnderlying,e.order,e.limit,e.timestampGte,e.timestampGt,e.timestampLte,e.timestampLt,s).then(o=>o(t,n))},getForexQuotes(e,s){return i.getForexQuotes(e.fxTicker,e.timestamp,e.timestampGte,e.timestampGt,e.timestampLte,e.timestampLt,e.order,e.limit,e.sort,s).then(o=>o(t,n))},getForexRSI(e,s){return i.getForexRSI(e.fxTicker,e.timestamp,e.timespan,e.adjusted,e.window,e.seriesType,e.expandUnderlying,e.order,e.limit,e.timestampGte,e.timestampGt,e.timestampLte,e.timestampLt,s).then(o=>o(t,n))},getForexSMA(e,s){return i.getForexSMA(e.fxTicker,e.timestamp,e.timespan,e.adjusted,e.window,e.seriesType,e.expandUnderlying,e.order,e.limit,e.timestampGte,e.timestampGt,e.timestampLte,e.timestampLt,s).then(o=>o(t,n))},getForexSnapshotDirection(e,s){return i.getForexSnapshotDirection(e.direction,s).then(o=>o(t,n))},getForexSnapshotTicker(e,s){return i.getForexSnapshotTicker(e.ticker,s).then(o=>o(t,n))},getForexSnapshotTickers(e={},s){return i.getForexSnapshotTickers(e.tickers,s).then(o=>o(t,n))},getForexV1Exchanges(e={},s){return i.getForexV1Exchanges(e.limit,s).then(o=>o(t,n))},getFuturesAggregates(e,s){return i.getFuturesAggregates(e.ticker,e.resolution,e.windowStart,e.limit,e.windowStartGte,e.windowStartGt,e.windowStartLte,e.windowStartLt,e.sort,s).then(o=>o(t,n))},getFuturesQuotes(e,s){return i.getFuturesQuotes(e.ticker,e.timestamp,e.sessionEndDate,e.limit,e.timestampGte,e.timestampGt,e.timestampLte,e.timestampLt,e.sessionEndDateGte,e.sessionEndDateGt,e.sessionEndDateLte,e.sessionEndDateLt,e.sort,s).then(o=>o(t,n))},getFuturesTrades(e,s){return i.getFuturesTrades(e.ticker,e.timestamp,e.sessionEndDate,e.limit,e.timestampGte,e.timestampGt,e.timestampLte,e.timestampLt,e.sessionEndDateGte,e.sessionEndDateGt,e.sessionEndDateLte,e.sessionEndDateLt,e.sort,s).then(o=>o(t,n))},getFuturesVXContracts(e={},s){return i.getFuturesVXContracts(e.date,e.dateGt,e.dateGte,e.dateLt,e.dateLte,e.productCode,e.productCodeAnyOf,e.productCodeGt,e.productCodeGte,e.productCodeLt,e.productCodeLte,e.ticker,e.tickerAnyOf,e.tickerGt,e.tickerGte,e.tickerLt,e.tickerLte,e.active,e.type,e.typeAnyOf,e.firstTradeDate,e.firstTradeDateGt,e.firstTradeDateGte,e.firstTradeDateLt,e.firstTradeDateLte,e.lastTradeDate,e.lastTradeDateGt,e.lastTradeDateGte,e.lastTradeDateLt,e.lastTradeDateLte,e.limit,e.sort,s).then(o=>o(t,n))},getFuturesVXExchanges(e={},s){return i.getFuturesVXExchanges(e.limit,s).then(o=>o(t,n))},getFuturesVXMarketStatus(e={},s){return i.getFuturesVXMarketStatus(e.productCode,e.productCodeAnyOf,e.productCodeGt,e.productCodeGte,e.productCodeLt,e.productCodeLte,e.limit,s).then(o=>o(t,n))},getFuturesVXProducts(e={},s){return i.getFuturesVXProducts(e.name,e.nameAnyOf,e.nameGt,e.nameGte,e.nameLt,e.nameLte,e.productCode,e.productCodeAnyOf,e.productCodeGt,e.productCodeGte,e.productCodeLt,e.productCodeLte,e.date,e.dateGt,e.dateGte,e.dateLt,e.dateLte,e.tradingVenue,e.tradingVenueAnyOf,e.tradingVenueGt,e.tradingVenueGte,e.tradingVenueLt,e.tradingVenueLte,e.sector,e.sectorAnyOf,e.subSector,e.subSectorAnyOf,e.assetClass,e.assetClassAnyOf,e.assetSubClass,e.assetSubClassAnyOf,e.type,e.typeAnyOf,e.limit,e.sort,s).then(o=>o(t,n))},getFuturesVXQuotesNew(e,s){return i.getFuturesVXQuotesNew(e.ticker,e.timestamp,e.timestampGt,e.timestampGte,e.timestampLt,e.timestampLte,e.sessionEndDate,e.limit,e.sort,s).then(o=>o(t,n))},getFuturesVXSchedules(e={},s){return i.getFuturesVXSchedules(e.productCode,e.productCodeAnyOf,e.productCodeGt,e.productCodeGte,e.productCodeLt,e.productCodeLte,e.sessionEndDate,e.sessionEndDateAnyOf,e.sessionEndDateGt,e.sessionEndDateGte,e.sessionEndDateLt,e.sessionEndDateLte,e.tradingVenue,e.tradingVenueAnyOf,e.tradingVenueGt,e.tradingVenueGte,e.tradingVenueLt,e.tradingVenueLte,e.limit,e.sort,s).then(o=>o(t,n))},getFuturesVXSnapshot(e={},s){return i.getFuturesVXSnapshot(e.productCode,e.productCodeAnyOf,e.productCodeGt,e.productCodeGte,e.productCodeLt,e.productCodeLte,e.ticker,e.tickerAnyOf,e.tickerGt,e.tickerGte,e.tickerLt,e.tickerLte,e.limit,e.sort,s).then(o=>o(t,n))},getFuturesVXSnapshotNative(e={},s){return i.getFuturesVXSnapshotNative(e.productCode,e.productCodeAnyOf,e.productCodeGt,e.productCodeGte,e.productCodeLt,e.productCodeLte,e.ticker,e.tickerAnyOf,e.tickerGt,e.tickerGte,e.tickerLt,e.tickerLte,e.limit,e.sort,s).then(o=>o(t,n))},getFuturesVXTradesNew(e,s){return i.getFuturesVXTradesNew(e.ticker,e.timestamp,e.timestampGt,e.timestampGte,e.timestampLt,e.timestampLte,e.sessionEndDate,e.limit,e.sort,s).then(o=>o(t,n))},getGroupedCryptoAggregates(e,s){return i.getGroupedCryptoAggregates(e.date,e.adjusted,s).then(o=>o(t,n))},getGroupedForexAggregates(e,s){return i.getGroupedForexAggregates(e.date,e.adjusted,s).then(o=>o(t,n))},getGroupedStocksAggregates(e,s){return i.getGroupedStocksAggregates(e.date,e.adjusted,e.includeOtc,s).then(o=>o(t,n))},getIndicesAggregates(e,s){return i.getIndicesAggregates(e.indicesTicker,e.multiplier,e.timespan,e.from,e.to,e.sort,e.limit,s).then(o=>o(t,n))},getIndicesEMA(e,s){return i.getIndicesEMA(e.indicesTicker,e.timestamp,e.timespan,e.adjusted,e.window,e.seriesType,e.expandUnderlying,e.order,e.limit,e.timestampGte,e.timestampGt,e.timestampLte,e.timestampLt,s).then(o=>o(t,n))},getIndicesMACD(e,s){return i.getIndicesMACD(e.indicesTicker,e.timestamp,e.timespan,e.adjusted,e.shortWindow,e.longWindow,e.signalWindow,e.seriesType,e.expandUnderlying,e.order,e.limit,e.timestampGte,e.timestampGt,e.timestampLte,e.timestampLt,s).then(o=>o(t,n))},getIndicesOpenClose(e,s){return i.getIndicesOpenClose(e.indicesTicker,e.date,s).then(o=>o(t,n))},getIndicesRSI(e,s){return i.getIndicesRSI(e.indicesTicker,e.timestamp,e.timespan,e.adjusted,e.window,e.seriesType,e.expandUnderlying,e.order,e.limit,e.timestampGte,e.timestampGt,e.timestampLte,e.timestampLt,s).then(o=>o(t,n))},getIndicesSMA(e,s){return i.getIndicesSMA(e.indicesTicker,e.timestamp,e.timespan,e.adjusted,e.window,e.seriesType,e.expandUnderlying,e.order,e.limit,e.timestampGte,e.timestampGt,e.timestampLte,e.timestampLt,s).then(o=>o(t,n))},getIndicesSnapshot(e={},s){return i.getIndicesSnapshot(e.tickerAnyOf,e.ticker,e.tickerGte,e.tickerGt,e.tickerLte,e.tickerLt,e.order,e.limit,e.sort,s).then(o=>o(t,n))},getLastCryptoTrade(e,s){return i.getLastCryptoTrade(e.from,e.to,s).then(o=>o(t,n))},getLastCurrencyQuote(e,s){return i.getLastCurrencyQuote(e.from,e.to,s).then(o=>o(t,n))},getLastOptionsTrade(e,s){return i.getLastOptionsTrade(e.optionsTicker,s).then(o=>o(t,n))},getLastStocksQuote(e,s){return i.getLastStocksQuote(e.stocksTicker,s).then(o=>o(t,n))},getLastStocksTrade(e,s){return i.getLastStocksTrade(e.stocksTicker,s).then(o=>o(t,n))},getMarketHolidays(e){return i.getMarketHolidays(e).then(s=>s(t,n))},getMarketStatus(e){return i.getMarketStatus(e).then(s=>s(t,n))},getOptionContract(e,s){return i.getOptionContract(e.underlyingAsset,e.optionContract,s).then(o=>o(t,n))},getOptionsAggregates(e,s){return i.getOptionsAggregates(e.optionsTicker,e.multiplier,e.timespan,e.from,e.to,e.adjusted,e.sort,e.limit,s).then(o=>o(t,n))},getOptionsChain(e,s){return i.getOptionsChain(e.underlyingAsset,e.strikePrice,e.expirationDate,e.contractType,e.strikePriceGte,e.strikePriceGt,e.strikePriceLte,e.strikePriceLt,e.expirationDateGte,e.expirationDateGt,e.expirationDateLte,e.expirationDateLt,e.order,e.limit,e.sort,s).then(o=>o(t,n))},getOptionsContract(e,s){return i.getOptionsContract(e.optionsTicker,e.asOf,s).then(o=>o(t,n))},getOptionsEMA(e,s){return i.getOptionsEMA(e.optionsTicker,e.timestamp,e.timespan,e.adjusted,e.window,e.seriesType,e.expandUnderlying,e.order,e.limit,e.timestampGte,e.timestampGt,e.timestampLte,e.timestampLt,s).then(o=>o(t,n))},getOptionsMACD(e,s){return i.getOptionsMACD(e.optionsTicker,e.timestamp,e.timespan,e.adjusted,e.shortWindow,e.longWindow,e.signalWindow,e.seriesType,e.expandUnderlying,e.order,e.limit,e.timestampGte,e.timestampGt,e.timestampLte,e.timestampLt,s).then(o=>o(t,n))},getOptionsOpenClose(e,s){return i.getOptionsOpenClose(e.optionsTicker,e.date,e.adjusted,s).then(o=>o(t,n))},getOptionsQuotes(e,s){return i.getOptionsQuotes(e.optionsTicker,e.timestamp,e.timestampGte,e.timestampGt,e.timestampLte,e.timestampLt,e.order,e.limit,e.sort,s).then(o=>o(t,n))},getOptionsRSI(e,s){return i.getOptionsRSI(e.optionsTicker,e.timestamp,e.timespan,e.adjusted,e.window,e.seriesType,e.expandUnderlying,e.order,e.limit,e.timestampGte,e.timestampGt,e.timestampLte,e.timestampLt,s).then(o=>o(t,n))},getOptionsSMA(e,s){return i.getOptionsSMA(e.optionsTicker,e.timestamp,e.timespan,e.adjusted,e.window,e.seriesType,e.expandUnderlying,e.order,e.limit,e.timestampGte,e.timestampGt,e.timestampLte,e.timestampLt,s).then(o=>o(t,n))},getOptionsTrades(e,s){return i.getOptionsTrades(e.optionsTicker,e.timestamp,e.timestampGte,e.timestampGt,e.timestampLte,e.timestampLt,e.order,e.limit,e.sort,s).then(o=>o(t,n))},getOptionsV1Exchanges(e={},s){return i.getOptionsV1Exchanges(e.limit,s).then(o=>o(t,n))},getPreviousCryptoAggregates(e,s){return i.getPreviousCryptoAggregates(e.cryptoTicker,e.adjusted,s).then(o=>o(t,n))},getPreviousForexAggregates(e,s){return i.getPreviousForexAggregates(e.forexTicker,e.adjusted,s).then(o=>o(t,n))},getPreviousIndicesAggregates(e,s){return i.getPreviousIndicesAggregates(e.indicesTicker,s).then(o=>o(t,n))},getPreviousOptionsAggregates(e,s){return i.getPreviousOptionsAggregates(e.optionsTicker,e.adjusted,s).then(o=>o(t,n))},getPreviousStocksAggregates(e,s){return i.getPreviousStocksAggregates(e.stocksTicker,e.adjusted,s).then(o=>o(t,n))},getRelatedCompanies(e,s){return i.getRelatedCompanies(e.ticker,s).then(o=>o(t,n))},getSnapshotSummary(e={},s){return i.getSnapshotSummary(e.tickerAnyOf,s).then(o=>o(t,n))},getSnapshots(e={},s){return i.getSnapshots(e.ticker,e.type,e.tickerGte,e.tickerGt,e.tickerLte,e.tickerLt,e.tickerAnyOf,e.order,e.limit,e.sort,s).then(o=>o(t,n))},getStocksAggregates(e,s){return i.getStocksAggregates(e.stocksTicker,e.multiplier,e.timespan,e.from,e.to,e.adjusted,e.sort,e.limit,s).then(o=>o(t,n))},getStocksEMA(e,s){return i.getStocksEMA(e.stockTicker,e.timestamp,e.timespan,e.adjusted,e.window,e.seriesType,e.expandUnderlying,e.order,e.limit,e.timestampGte,e.timestampGt,e.timestampLte,e.timestampLt,s).then(o=>o(t,n))},getStocksFilings10KVXSections(e={},s){return i.getStocksFilings10KVXSections(e.cik,e.cikAnyOf,e.cikGt,e.cikGte,e.cikLt,e.cikLte,e.ticker,e.tickerAnyOf,e.tickerGt,e.tickerGte,e.tickerLt,e.tickerLte,e.section,e.sectionAnyOf,e.filingDate,e.filingDateGt,e.filingDateGte,e.filingDateLt,e.filingDateLte,e.periodEnd,e.periodEndGt,e.periodEndGte,e.periodEndLt,e.periodEndLte,e.limit,e.sort,s).then(o=>o(t,n))},getStocksFilingsVXIndex(e={},s){return i.getStocksFilingsVXIndex(e.cik,e.cikAnyOf,e.cikGt,e.cikGte,e.cikLt,e.cikLte,e.ticker,e.tickerAnyOf,e.tickerGt,e.tickerGte,e.tickerLt,e.tickerLte,e.formType,e.formTypeAnyOf,e.formTypeGt,e.formTypeGte,e.formTypeLt,e.formTypeLte,e.filingDate,e.filingDateGt,e.filingDateGte,e.filingDateLt,e.filingDateLte,e.limit,e.sort,s).then(o=>o(t,n))},getStocksFilingsVXRiskFactors(e={},s){return i.getStocksFilingsVXRiskFactors(e.filingDate,e.filingDateAnyOf,e.filingDateGt,e.filingDateGte,e.filingDateLt,e.filingDateLte,e.ticker,e.tickerAnyOf,e.tickerGt,e.tickerGte,e.tickerLt,e.tickerLte,e.cik,e.cikAnyOf,e.cikGt,e.cikGte,e.cikLt,e.cikLte,e.limit,e.sort,s).then(o=>o(t,n))},getStocksFinancialsV1BalanceSheets(e={},s){return i.getStocksFinancialsV1BalanceSheets(e.cik,e.cikAnyOf,e.cikGt,e.cikGte,e.cikLt,e.cikLte,e.tickers,e.tickersAllOf,e.tickersAnyOf,e.periodEnd,e.periodEndGt,e.periodEndGte,e.periodEndLt,e.periodEndLte,e.filingDate,e.filingDateGt,e.filingDateGte,e.filingDateLt,e.filingDateLte,e.fiscalYear,e.fiscalYearGt,e.fiscalYearGte,e.fiscalYearLt,e.fiscalYearLte,e.fiscalQuarter,e.fiscalQuarterGt,e.fiscalQuarterGte,e.fiscalQuarterLt,e.fiscalQuarterLte,e.timeframe,e.timeframeAnyOf,e.timeframeGt,e.timeframeGte,e.timeframeLt,e.timeframeLte,e.maxTicker,e.maxTickerAnyOf,e.maxTickerGt,e.maxTickerGte,e.maxTickerLt,e.maxTickerLte,e.minTicker,e.minTickerAnyOf,e.minTickerGt,e.minTickerGte,e.minTickerLt,e.minTickerLte,e.limit,e.sort,s).then(o=>o(t,n))},getStocksFinancialsV1CashFlowStatements(e={},s){return i.getStocksFinancialsV1CashFlowStatements(e.cik,e.cikAnyOf,e.cikGt,e.cikGte,e.cikLt,e.cikLte,e.periodEnd,e.periodEndGt,e.periodEndGte,e.periodEndLt,e.periodEndLte,e.filingDate,e.filingDateGt,e.filingDateGte,e.filingDateLt,e.filingDateLte,e.tickers,e.tickersAllOf,e.tickersAnyOf,e.fiscalYear,e.fiscalYearGt,e.fiscalYearGte,e.fiscalYearLt,e.fiscalYearLte,e.fiscalQuarter,e.fiscalQuarterGt,e.fiscalQuarterGte,e.fiscalQuarterLt,e.fiscalQuarterLte,e.timeframe,e.timeframeAnyOf,e.timeframeGt,e.timeframeGte,e.timeframeLt,e.timeframeLte,e.maxTicker,e.maxTickerAnyOf,e.maxTickerGt,e.maxTickerGte,e.maxTickerLt,e.maxTickerLte,e.minTicker,e.minTickerAnyOf,e.minTickerGt,e.minTickerGte,e.minTickerLt,e.minTickerLte,e.limit,e.sort,s).then(o=>o(t,n))},getStocksFinancialsV1IncomeStatements(e={},s){return i.getStocksFinancialsV1IncomeStatements(e.cik,e.cikAnyOf,e.cikGt,e.cikGte,e.cikLt,e.cikLte,e.tickers,e.tickersAllOf,e.tickersAnyOf,e.periodEnd,e.periodEndGt,e.periodEndGte,e.periodEndLt,e.periodEndLte,e.filingDate,e.filingDateGt,e.filingDateGte,e.filingDateLt,e.filingDateLte,e.fiscalYear,e.fiscalYearGt,e.fiscalYearGte,e.fiscalYearLt,e.fiscalYearLte,e.fiscalQuarter,e.fiscalQuarterGt,e.fiscalQuarterGte,e.fiscalQuarterLt,e.fiscalQuarterLte,e.timeframe,e.timeframeAnyOf,e.timeframeGt,e.timeframeGte,e.timeframeLt,e.timeframeLte,e.maxTicker,e.maxTickerAnyOf,e.maxTickerGt,e.maxTickerGte,e.maxTickerLt,e.maxTickerLte,e.minTicker,e.minTickerAnyOf,e.minTickerGt,e.minTickerGte,e.minTickerLt,e.minTickerLte,e.limit,e.sort,s).then(o=>o(t,n))},getStocksFinancialsV1Ratios(e={},s){return i.getStocksFinancialsV1Ratios(e.ticker,e.tickerAnyOf,e.tickerGt,e.tickerGte,e.tickerLt,e.tickerLte,e.cik,e.cikAnyOf,e.cikGt,e.cikGte,e.cikLt,e.cikLte,e.price,e.priceGt,e.priceGte,e.priceLt,e.priceLte,e.averageVolume,e.averageVolumeGt,e.averageVolumeGte,e.averageVolumeLt,e.averageVolumeLte,e.marketCap,e.marketCapGt,e.marketCapGte,e.marketCapLt,e.marketCapLte,e.earningsPerShare,e.earningsPerShareGt,e.earningsPerShareGte,e.earningsPerShareLt,e.earningsPerShareLte,e.priceToEarnings,e.priceToEarningsGt,e.priceToEarningsGte,e.priceToEarningsLt,e.priceToEarningsLte,e.priceToBook,e.priceToBookGt,e.priceToBookGte,e.priceToBookLt,e.priceToBookLte,e.priceToSales,e.priceToSalesGt,e.priceToSalesGte,e.priceToSalesLt,e.priceToSalesLte,e.priceToCashFlow,e.priceToCashFlowGt,e.priceToCashFlowGte,e.priceToCashFlowLt,e.priceToCashFlowLte,e.priceToFreeCashFlow,e.priceToFreeCashFlowGt,e.priceToFreeCashFlowGte,e.priceToFreeCashFlowLt,e.priceToFreeCashFlowLte,e.dividendYield,e.dividendYieldGt,e.dividendYieldGte,e.dividendYieldLt,e.dividendYieldLte,e.returnOnAssets,e.returnOnAssetsGt,e.returnOnAssetsGte,e.returnOnAssetsLt,e.returnOnAssetsLte,e.returnOnEquity,e.returnOnEquityGt,e.returnOnEquityGte,e.returnOnEquityLt,e.returnOnEquityLte,e.debtToEquity,e.debtToEquityGt,e.debtToEquityGte,e.debtToEquityLt,e.debtToEquityLte,e.current,e.currentGt,e.currentGte,e.currentLt,e.currentLte,e.quick,e.quickGt,e.quickGte,e.quickLt,e.quickLte,e.cash,e.cashGt,e.cashGte,e.cashLt,e.cashLte,e.evToSales,e.evToSalesGt,e.evToSalesGte,e.evToSalesLt,e.evToSalesLte,e.evToEbitda,e.evToEbitdaGt,e.evToEbitdaGte,e.evToEbitdaLt,e.evToEbitdaLte,e.enterpriseValue,e.enterpriseValueGt,e.enterpriseValueGte,e.enterpriseValueLt,e.enterpriseValueLte,e.freeCashFlow,e.freeCashFlowGt,e.freeCashFlowGte,e.freeCashFlowLt,e.freeCashFlowLte,e.limit,e.sort,s).then(o=>o(t,n))},getStocksMACD(e,s){return i.getStocksMACD(e.stockTicker,e.timestamp,e.timespan,e.adjusted,e.shortWindow,e.longWindow,e.signalWindow,e.seriesType,e.expandUnderlying,e.order,e.limit,e.timestampGte,e.timestampGt,e.timestampLte,e.timestampLt,s).then(o=>o(t,n))},getStocksOpenClose(e,s){return i.getStocksOpenClose(e.stocksTicker,e.date,e.adjusted,s).then(o=>o(t,n))},getStocksQuotes(e,s){return i.getStocksQuotes(e.stockTicker,e.timestamp,e.timestampGte,e.timestampGt,e.timestampLte,e.timestampLt,e.order,e.limit,e.sort,s).then(o=>o(t,n))},getStocksRSI(e,s){return i.getStocksRSI(e.stockTicker,e.timestamp,e.timespan,e.adjusted,e.window,e.seriesType,e.expandUnderlying,e.order,e.limit,e.timestampGte,e.timestampGt,e.timestampLte,e.timestampLt,s).then(o=>o(t,n))},getStocksSMA(e,s){return i.getStocksSMA(e.stockTicker,e.timestamp,e.timespan,e.adjusted,e.window,e.seriesType,e.expandUnderlying,e.order,e.limit,e.timestampGte,e.timestampGt,e.timestampLte,e.timestampLt,s).then(o=>o(t,n))},getStocksSnapshotDirection(e,s){return i.getStocksSnapshotDirection(e.direction,e.includeOtc,s).then(o=>o(t,n))},getStocksSnapshotTicker(e,s){return i.getStocksSnapshotTicker(e.stocksTicker,s).then(o=>o(t,n))},getStocksSnapshotTickers(e={},s){return i.getStocksSnapshotTickers(e.tickers,e.includeOtc,s).then(o=>o(t,n))},getStocksTaxonomiesVXRiskFactors(e={},s){return i.getStocksTaxonomiesVXRiskFactors(e.taxonomy,e.taxonomyGt,e.taxonomyGte,e.taxonomyLt,e.taxonomyLte,e.primaryCategory,e.primaryCategoryAnyOf,e.primaryCategoryGt,e.primaryCategoryGte,e.primaryCategoryLt,e.primaryCategoryLte,e.secondaryCategory,e.secondaryCategoryAnyOf,e.secondaryCategoryGt,e.secondaryCategoryGte,e.secondaryCategoryLt,e.secondaryCategoryLte,e.tertiaryCategory,e.tertiaryCategoryAnyOf,e.tertiaryCategoryGt,e.tertiaryCategoryGte,e.tertiaryCategoryLt,e.tertiaryCategoryLte,e.limit,e.sort,s).then(o=>o(t,n))},getStocksTrades(e,s){return i.getStocksTrades(e.stockTicker,e.timestamp,e.timestampGte,e.timestampGt,e.timestampLte,e.timestampLt,e.order,e.limit,e.sort,s).then(o=>o(t,n))},getStocksV1Dividends(e={},s){return i.getStocksV1Dividends(e.ticker,e.tickerAnyOf,e.tickerGt,e.tickerGte,e.tickerLt,e.tickerLte,e.exDividendDate,e.exDividendDateGt,e.exDividendDateGte,e.exDividendDateLt,e.exDividendDateLte,e.frequency,e.frequencyGt,e.frequencyGte,e.frequencyLt,e.frequencyLte,e.distributionType,e.distributionTypeAnyOf,e.limit,e.sort,s).then(o=>o(t,n))},getStocksV1Exchanges(e={},s){return i.getStocksV1Exchanges(e.limit,s).then(o=>o(t,n))},getStocksV1ShortInterest(e={},s){return i.getStocksV1ShortInterest(e.ticker,e.tickerAnyOf,e.tickerGt,e.tickerGte,e.tickerLt,e.tickerLte,e.daysToCover,e.daysToCoverAnyOf,e.daysToCoverGt,e.daysToCoverGte,e.daysToCoverLt,e.daysToCoverLte,e.settlementDate,e.settlementDateAnyOf,e.settlementDateGt,e.settlementDateGte,e.settlementDateLt,e.settlementDateLte,e.avgDailyVolume,e.avgDailyVolumeAnyOf,e.avgDailyVolumeGt,e.avgDailyVolumeGte,e.avgDailyVolumeLt,e.avgDailyVolumeLte,e.limit,e.sort,s).then(o=>o(t,n))},getStocksV1ShortVolume(e={},s){return i.getStocksV1ShortVolume(e.ticker,e.tickerAnyOf,e.tickerGt,e.tickerGte,e.tickerLt,e.tickerLte,e.date,e.dateAnyOf,e.dateGt,e.dateGte,e.dateLt,e.dateLte,e.shortVolumeRatio,e.shortVolumeRatioAnyOf,e.shortVolumeRatioGt,e.shortVolumeRatioGte,e.shortVolumeRatioLt,e.shortVolumeRatioLte,e.totalVolume,e.totalVolumeAnyOf,e.totalVolumeGt,e.totalVolumeGte,e.totalVolumeLt,e.totalVolumeLte,e.limit,e.sort,s).then(o=>o(t,n))},getStocksV1Splits(e={},s){return i.getStocksV1Splits(e.ticker,e.tickerAnyOf,e.tickerGt,e.tickerGte,e.tickerLt,e.tickerLte,e.executionDate,e.executionDateGt,e.executionDateGte,e.executionDateLt,e.executionDateLte,e.adjustmentType,e.adjustmentTypeAnyOf,e.limit,e.sort,s).then(o=>o(t,n))},getStocksVXFloat(e={},s){return i.getStocksVXFloat(e.ticker,e.tickerAnyOf,e.tickerGt,e.tickerGte,e.tickerLt,e.tickerLte,e.freeFloatPercent,e.freeFloatPercentGt,e.freeFloatPercentGte,e.freeFloatPercentLt,e.freeFloatPercentLte,e.limit,e.sort,s).then(o=>o(t,n))},getTicker(e,s){return i.getTicker(e.ticker,e.date,s).then(o=>o(t,n))},getTmxV1CorporateEvents(e={},s){return i.getTmxV1CorporateEvents(e.date,e.dateAnyOf,e.dateGt,e.dateGte,e.dateLt,e.dateLte,e.type,e.typeAnyOf,e.typeGt,e.typeGte,e.typeLt,e.typeLte,e.status,e.statusAnyOf,e.statusGt,e.statusGte,e.statusLt,e.statusLte,e.ticker,e.tickerAnyOf,e.tickerGt,e.tickerGte,e.tickerLt,e.tickerLte,e.isin,e.isinAnyOf,e.isinGt,e.isinGte,e.isinLt,e.isinLte,e.tradingVenue,e.tradingVenueAnyOf,e.tradingVenueGt,e.tradingVenueGte,e.tradingVenueLt,e.tradingVenueLte,e.tmxCompanyId,e.tmxCompanyIdGt,e.tmxCompanyIdGte,e.tmxCompanyIdLt,e.tmxCompanyIdLte,e.tmxRecordId,e.tmxRecordIdAnyOf,e.tmxRecordIdGt,e.tmxRecordIdGte,e.tmxRecordIdLt,e.tmxRecordIdLte,e.limit,e.sort,s).then(o=>o(t,n))},getV1ReferenceIpos(e={},s){return i.getV1ReferenceIpos(e.ticker,e.tickerAnyOf,e.tickerGt,e.tickerGte,e.tickerLt,e.tickerLte,e.usCode,e.usCodeAnyOf,e.usCodeGt,e.usCodeGte,e.usCodeLt,e.usCodeLte,e.isin,e.isinAnyOf,e.isinGt,e.isinGte,e.isinLt,e.isinLte,e.listingDate,e.listingDateGt,e.listingDateGte,e.listingDateLt,e.listingDateLte,e.ipoStatus,e.ipoStatusAnyOf,e.limit,e.sort,s).then(o=>o(t,n))},listConditions(e={},s){return i.listConditions(e.assetClass,e.dataType,e.id,e.sip,e.order,e.limit,e.sort,s).then(o=>o(t,n))},listDividends(e={},s){return i.listDividends(e.ticker,e.exDividendDate,e.recordDate,e.declarationDate,e.payDate,e.frequency,e.cashAmount,e.dividendType,e.tickerGte,e.tickerGt,e.tickerLte,e.tickerLt,e.exDividendDateGte,e.exDividendDateGt,e.exDividendDateLte,e.exDividendDateLt,e.recordDateGte,e.recordDateGt,e.recordDateLte,e.recordDateLt,e.declarationDateGte,e.declarationDateGt,e.declarationDateLte,e.declarationDateLt,e.payDateGte,e.payDateGt,e.payDateLte,e.payDateLt,e.cashAmountGte,e.cashAmountGt,e.cashAmountLte,e.cashAmountLt,e.order,e.limit,e.sort,s).then(o=>o(t,n))},listExchanges(e={},s){return i.listExchanges(e.assetClass,e.locale,s).then(o=>o(t,n))},listFinancials(e={},s){return i.listFinancials(e.ticker,e.cik,e.companyName,e.sic,e.filingDate,e.periodOfReportDate,e.timeframe,e.includeSources,e.companyNameSearch,e.filingDateGte,e.filingDateGt,e.filingDateLte,e.filingDateLt,e.periodOfReportDateGte,e.periodOfReportDateGt,e.periodOfReportDateLte,e.periodOfReportDateLt,e.order,e.limit,e.sort,s).then(o=>o(t,n))},listIPOs(e={},s){return i.listIPOs(e.ticker,e.usCode,e.isin,e.listingDate,e.ipoStatus,e.listingDateGte,e.listingDateGt,e.listingDateLte,e.listingDateLt,e.order,e.limit,e.sort,s).then(o=>o(t,n))},listNews(e={},s){return i.listNews(e.ticker,e.publishedUtc,e.tickerGte,e.tickerGt,e.tickerLte,e.tickerLt,e.publishedUtcGte,e.publishedUtcGt,e.publishedUtcLte,e.publishedUtcLt,e.order,e.limit,e.sort,s).then(o=>o(t,n))},listOptionsContracts(e={},s){return i.listOptionsContracts(e.underlyingTicker,e.ticker,e.contractType,e.expirationDate,e.asOf,e.strikePrice,e.expired,e.underlyingTickerGte,e.underlyingTickerGt,e.underlyingTickerLte,e.underlyingTickerLt,e.expirationDateGte,e.expirationDateGt,e.expirationDateLte,e.expirationDateLt,e.strikePriceGte,e.strikePriceGt,e.strikePriceLte,e.strikePriceLt,e.order,e.limit,e.sort,s).then(o=>o(t,n))},listStockSplits(e={},s){return i.listStockSplits(e.ticker,e.executionDate,e.reverseSplit,e.tickerGte,e.tickerGt,e.tickerLte,e.tickerLt,e.executionDateGte,e.executionDateGt,e.executionDateLte,e.executionDateLt,e.order,e.limit,e.sort,s).then(o=>o(t,n))},listTickerTypes(e={},s){return i.listTickerTypes(e.assetClass,e.locale,s).then(o=>o(t,n))},listTickers(e={},s){return i.listTickers(e.ticker,e.type,e.market,e.exchange,e.cusip,e.cik,e.date,e.search,e.active,e.tickerGte,e.tickerGt,e.tickerLte,e.tickerLt,e.order,e.limit,e.sort,s).then(o=>o(t,n))}}},Oe=class extends Ge{deprecatedGetCryptoSnapshotTickerBook(n,t){return M(this.configuration).deprecatedGetCryptoSnapshotTickerBook(n.ticker,t).then(i=>i(this.axios,this.basePath))}deprecatedGetHistoricCryptoTrades(n,t){return M(this.configuration).deprecatedGetHistoricCryptoTrades(n.from,n.to,n.date,n.offset,n.limit,t).then(i=>i(this.axios,this.basePath))}deprecatedGetHistoricForexQuotes(n,t){return M(this.configuration).deprecatedGetHistoricForexQuotes(n.from,n.to,n.date,n.offset,n.limit,t).then(i=>i(this.axios,this.basePath))}deprecatedGetHistoricStocksQuotes(n,t){return M(this.configuration).deprecatedGetHistoricStocksQuotes(n.ticker,n.date,n.timestamp,n.timestampLimit,n.reverse,n.limit,t).then(i=>i(this.axios,this.basePath))}deprecatedGetHistoricStocksTrades(n,t){return M(this.configuration).deprecatedGetHistoricStocksTrades(n.ticker,n.date,n.timestamp,n.timestampLimit,n.reverse,n.limit,t).then(i=>i(this.axios,this.basePath))}getBenzingaV1AnalystInsights(n={},t){return M(this.configuration).getBenzingaV1AnalystInsights(n.date,n.dateAnyOf,n.dateGt,n.dateGte,n.dateLt,n.dateLte,n.ticker,n.tickerAnyOf,n.tickerGt,n.tickerGte,n.tickerLt,n.tickerLte,n.lastUpdated,n.lastUpdatedGt,n.lastUpdatedGte,n.lastUpdatedLt,n.lastUpdatedLte,n.firm,n.firmAnyOf,n.firmGt,n.firmGte,n.firmLt,n.firmLte,n.ratingAction,n.ratingActionAnyOf,n.ratingActionGt,n.ratingActionGte,n.ratingActionLt,n.ratingActionLte,n.benzingaFirmId,n.benzingaFirmIdAnyOf,n.benzingaFirmIdGt,n.benzingaFirmIdGte,n.benzingaFirmIdLt,n.benzingaFirmIdLte,n.benzingaRatingId,n.benzingaRatingIdAnyOf,n.benzingaRatingIdGt,n.benzingaRatingIdGte,n.benzingaRatingIdLt,n.benzingaRatingIdLte,n.limit,n.sort,t).then(i=>i(this.axios,this.basePath))}getBenzingaV1Analysts(n={},t){return M(this.configuration).getBenzingaV1Analysts(n.benzingaId,n.benzingaIdAnyOf,n.benzingaIdGt,n.benzingaIdGte,n.benzingaIdLt,n.benzingaIdLte,n.benzingaFirmId,n.benzingaFirmIdAnyOf,n.benzingaFirmIdGt,n.benzingaFirmIdGte,n.benzingaFirmIdLt,n.benzingaFirmIdLte,n.firmName,n.firmNameAnyOf,n.firmNameGt,n.firmNameGte,n.firmNameLt,n.firmNameLte,n.fullName,n.fullNameAnyOf,n.fullNameGt,n.fullNameGte,n.fullNameLt,n.fullNameLte,n.limit,n.sort,t).then(i=>i(this.axios,this.basePath))}getBenzingaV1BullsBearsSay(n={},t){return M(this.configuration).getBenzingaV1BullsBearsSay(n.ticker,n.tickerAnyOf,n.tickerGt,n.tickerGte,n.tickerLt,n.tickerLte,n.benzingaId,n.benzingaIdAnyOf,n.benzingaIdGt,n.benzingaIdGte,n.benzingaIdLt,n.benzingaIdLte,n.lastUpdated,n.lastUpdatedGt,n.lastUpdatedGte,n.lastUpdatedLt,n.lastUpdatedLte,n.limit,n.sort,t).then(i=>i(this.axios,this.basePath))}getBenzingaV1ConsensusRatings(n,t){return M(this.configuration).getBenzingaV1ConsensusRatings(n.ticker,n.date,n.dateAnyOf,n.dateGt,n.dateGte,n.dateLt,n.dateLte,n.limit,t).then(i=>i(this.axios,this.basePath))}getBenzingaV1Earnings(n={},t){return M(this.configuration).getBenzingaV1Earnings(n.date,n.dateAnyOf,n.dateGt,n.dateGte,n.dateLt,n.dateLte,n.ticker,n.tickerAnyOf,n.tickerGt,n.tickerGte,n.tickerLt,n.tickerLte,n.importance,n.importanceAnyOf,n.importanceGt,n.importanceGte,n.importanceLt,n.importanceLte,n.lastUpdated,n.lastUpdatedAnyOf,n.lastUpdatedGt,n.lastUpdatedGte,n.lastUpdatedLt,n.lastUpdatedLte,n.dateStatus,n.dateStatusAnyOf,n.dateStatusGt,n.dateStatusGte,n.dateStatusLt,n.dateStatusLte,n.epsSurprisePercent,n.epsSurprisePercentAnyOf,n.epsSurprisePercentGt,n.epsSurprisePercentGte,n.epsSurprisePercentLt,n.epsSurprisePercentLte,n.revenueSurprisePercent,n.revenueSurprisePercentAnyOf,n.revenueSurprisePercentGt,n.revenueSurprisePercentGte,n.revenueSurprisePercentLt,n.revenueSurprisePercentLte,n.fiscalYear,n.fiscalYearAnyOf,n.fiscalYearGt,n.fiscalYearGte,n.fiscalYearLt,n.fiscalYearLte,n.fiscalPeriod,n.fiscalPeriodAnyOf,n.fiscalPeriodGt,n.fiscalPeriodGte,n.fiscalPeriodLt,n.fiscalPeriodLte,n.limit,n.sort,t).then(i=>i(this.axios,this.basePath))}getBenzingaV1Firms(n={},t){return M(this.configuration).getBenzingaV1Firms(n.benzingaId,n.benzingaIdAnyOf,n.benzingaIdGt,n.benzingaIdGte,n.benzingaIdLt,n.benzingaIdLte,n.limit,n.sort,t).then(i=>i(this.axios,this.basePath))}getBenzingaV1Guidance(n={},t){return M(this.configuration).getBenzingaV1Guidance(n.date,n.dateAnyOf,n.dateGt,n.dateGte,n.dateLt,n.dateLte,n.ticker,n.tickerAnyOf,n.tickerGt,n.tickerGte,n.tickerLt,n.tickerLte,n.positioning,n.positioningAnyOf,n.positioningGt,n.positioningGte,n.positioningLt,n.positioningLte,n.importance,n.importanceAnyOf,n.importanceGt,n.importanceGte,n.importanceLt,n.importanceLte,n.lastUpdated,n.lastUpdatedAnyOf,n.lastUpdatedGt,n.lastUpdatedGte,n.lastUpdatedLt,n.lastUpdatedLte,n.fiscalYear,n.fiscalYearAnyOf,n.fiscalYearGt,n.fiscalYearGte,n.fiscalYearLt,n.fiscalYearLte,n.fiscalPeriod,n.fiscalPeriodAnyOf,n.fiscalPeriodGt,n.fiscalPeriodGte,n.fiscalPeriodLt,n.fiscalPeriodLte,n.limit,n.sort,t).then(i=>i(this.axios,this.basePath))}getBenzingaV1Ratings(n={},t){return M(this.configuration).getBenzingaV1Ratings(n.date,n.dateAnyOf,n.dateGt,n.dateGte,n.dateLt,n.dateLte,n.ticker,n.tickerAnyOf,n.tickerGt,n.tickerGte,n.tickerLt,n.tickerLte,n.importance,n.importanceGt,n.importanceGte,n.importanceLt,n.importanceLte,n.lastUpdated,n.lastUpdatedGt,n.lastUpdatedGte,n.lastUpdatedLt,n.lastUpdatedLte,n.ratingAction,n.ratingActionAnyOf,n.ratingActionGt,n.ratingActionGte,n.ratingActionLt,n.ratingActionLte,n.priceTargetAction,n.priceTargetActionAnyOf,n.priceTargetActionGt,n.priceTargetActionGte,n.priceTargetActionLt,n.priceTargetActionLte,n.benzingaId,n.benzingaIdAnyOf,n.benzingaIdGt,n.benzingaIdGte,n.benzingaIdLt,n.benzingaIdLte,n.benzingaAnalystId,n.benzingaAnalystIdAnyOf,n.benzingaAnalystIdGt,n.benzingaAnalystIdGte,n.benzingaAnalystIdLt,n.benzingaAnalystIdLte,n.benzingaFirmId,n.benzingaFirmIdAnyOf,n.benzingaFirmIdGt,n.benzingaFirmIdGte,n.benzingaFirmIdLt,n.benzingaFirmIdLte,n.limit,n.sort,t).then(i=>i(this.axios,this.basePath))}getBenzingaV2News(n={},t){return M(this.configuration).getBenzingaV2News(n.published,n.publishedGt,n.publishedGte,n.publishedLt,n.publishedLte,n.channels,n.channelsAllOf,n.channelsAnyOf,n.tags,n.tagsAllOf,n.tagsAnyOf,n.author,n.authorAnyOf,n.authorGt,n.authorGte,n.authorLt,n.authorLte,n.stocks,n.stocksAllOf,n.stocksAnyOf,n.tickers,n.tickersAllOf,n.tickersAnyOf,n.limit,n.sort,t).then(i=>i(this.axios,this.basePath))}getCryptoAggregates(n,t){return M(this.configuration).getCryptoAggregates(n.cryptoTicker,n.multiplier,n.timespan,n.from,n.to,n.adjusted,n.sort,n.limit,t).then(i=>i(this.axios,this.basePath))}getCryptoEMA(n,t){return M(this.configuration).getCryptoEMA(n.cryptoTicker,n.timestamp,n.timespan,n.window,n.seriesType,n.expandUnderlying,n.order,n.limit,n.timestampGte,n.timestampGt,n.timestampLte,n.timestampLt,t).then(i=>i(this.axios,this.basePath))}getCryptoMACD(n,t){return M(this.configuration).getCryptoMACD(n.cryptoTicker,n.timestamp,n.timespan,n.shortWindow,n.longWindow,n.signalWindow,n.seriesType,n.expandUnderlying,n.order,n.limit,n.timestampGte,n.timestampGt,n.timestampLte,n.timestampLt,t).then(i=>i(this.axios,this.basePath))}getCryptoOpenClose(n,t){return M(this.configuration).getCryptoOpenClose(n.from,n.to,n.date,n.adjusted,t).then(i=>i(this.axios,this.basePath))}getCryptoRSI(n,t){return M(this.configuration).getCryptoRSI(n.cryptoTicker,n.timestamp,n.timespan,n.window,n.seriesType,n.expandUnderlying,n.order,n.limit,n.timestampGte,n.timestampGt,n.timestampLte,n.timestampLt,t).then(i=>i(this.axios,this.basePath))}getCryptoSMA(n,t){return M(this.configuration).getCryptoSMA(n.cryptoTicker,n.timestamp,n.timespan,n.window,n.seriesType,n.expandUnderlying,n.order,n.limit,n.timestampGte,n.timestampGt,n.timestampLte,n.timestampLt,t).then(i=>i(this.axios,this.basePath))}getCryptoSnapshotDirection(n,t){return M(this.configuration).getCryptoSnapshotDirection(n.direction,t).then(i=>i(this.axios,this.basePath))}getCryptoSnapshotTicker(n,t){return M(this.configuration).getCryptoSnapshotTicker(n.ticker,t).then(i=>i(this.axios,this.basePath))}getCryptoSnapshotTickers(n={},t){return M(this.configuration).getCryptoSnapshotTickers(n.tickers,t).then(i=>i(this.axios,this.basePath))}getCryptoTrades(n,t){return M(this.configuration).getCryptoTrades(n.cryptoTicker,n.timestamp,n.timestampGte,n.timestampGt,n.timestampLte,n.timestampLt,n.order,n.limit,n.sort,t).then(i=>i(this.axios,this.basePath))}getCryptoV1Exchanges(n={},t){return M(this.configuration).getCryptoV1Exchanges(n.limit,t).then(i=>i(this.axios,this.basePath))}getCurrencyConversion(n,t){return M(this.configuration).getCurrencyConversion(n.from,n.to,n.amount,n.precision,t).then(i=>i(this.axios,this.basePath))}getEtfGlobalV1Analytics(n={},t){return M(this.configuration).getEtfGlobalV1Analytics(n.compositeTicker,n.compositeTickerAnyOf,n.compositeTickerGt,n.compositeTickerGte,n.compositeTickerLt,n.compositeTickerLte,n.processedDate,n.processedDateGt,n.processedDateGte,n.processedDateLt,n.processedDateLte,n.effectiveDate,n.effectiveDateGt,n.effectiveDateGte,n.effectiveDateLt,n.effectiveDateLte,n.riskTotalScore,n.riskTotalScoreGt,n.riskTotalScoreGte,n.riskTotalScoreLt,n.riskTotalScoreLte,n.rewardScore,n.rewardScoreGt,n.rewardScoreGte,n.rewardScoreLt,n.rewardScoreLte,n.quantTotalScore,n.quantTotalScoreGt,n.quantTotalScoreGte,n.quantTotalScoreLt,n.quantTotalScoreLte,n.quantGrade,n.quantGradeAnyOf,n.quantGradeGt,n.quantGradeGte,n.quantGradeLt,n.quantGradeLte,n.quantCompositeTechnical,n.quantCompositeTechnicalGt,n.quantCompositeTechnicalGte,n.quantCompositeTechnicalLt,n.quantCompositeTechnicalLte,n.quantCompositeSentiment,n.quantCompositeSentimentGt,n.quantCompositeSentimentGte,n.quantCompositeSentimentLt,n.quantCompositeSentimentLte,n.quantCompositeBehavioral,n.quantCompositeBehavioralGt,n.quantCompositeBehavioralGte,n.quantCompositeBehavioralLt,n.quantCompositeBehavioralLte,n.quantCompositeFundamental,n.quantCompositeFundamentalGt,n.quantCompositeFundamentalGte,n.quantCompositeFundamentalLt,n.quantCompositeFundamentalLte,n.quantCompositeGlobal,n.quantCompositeGlobalGt,n.quantCompositeGlobalGte,n.quantCompositeGlobalLt,n.quantCompositeGlobalLte,n.quantCompositeQuality,n.quantCompositeQualityGt,n.quantCompositeQualityGte,n.quantCompositeQualityLt,n.quantCompositeQualityLte,n.limit,n.sort,t).then(i=>i(this.axios,this.basePath))}getEtfGlobalV1Constituents(n={},t){return M(this.configuration).getEtfGlobalV1Constituents(n.compositeTicker,n.compositeTickerAnyOf,n.compositeTickerGt,n.compositeTickerGte,n.compositeTickerLt,n.compositeTickerLte,n.constituentTicker,n.constituentTickerAnyOf,n.constituentTickerGt,n.constituentTickerGte,n.constituentTickerLt,n.constituentTickerLte,n.effectiveDate,n.effectiveDateGt,n.effectiveDateGte,n.effectiveDateLt,n.effectiveDateLte,n.processedDate,n.processedDateGt,n.processedDateGte,n.processedDateLt,n.processedDateLte,n.usCode,n.usCodeAnyOf,n.usCodeGt,n.usCodeGte,n.usCodeLt,n.usCodeLte,n.isin,n.isinAnyOf,n.isinGt,n.isinGte,n.isinLt,n.isinLte,n.figi,n.figiAnyOf,n.figiGt,n.figiGte,n.figiLt,n.figiLte,n.sedol,n.sedolAnyOf,n.sedolGt,n.sedolGte,n.sedolLt,n.sedolLte,n.limit,n.sort,t).then(i=>i(this.axios,this.basePath))}getEtfGlobalV1FundFlows(n={},t){return M(this.configuration).getEtfGlobalV1FundFlows(n.processedDate,n.processedDateGt,n.processedDateGte,n.processedDateLt,n.processedDateLte,n.effectiveDate,n.effectiveDateGt,n.effectiveDateGte,n.effectiveDateLt,n.effectiveDateLte,n.compositeTicker,n.compositeTickerAnyOf,n.compositeTickerGt,n.compositeTickerGte,n.compositeTickerLt,n.compositeTickerLte,n.limit,n.sort,t).then(i=>i(this.axios,this.basePath))}getEtfGlobalV1Profiles(n={},t){return M(this.configuration).getEtfGlobalV1Profiles(n.processedDate,n.processedDateGt,n.processedDateGte,n.processedDateLt,n.processedDateLte,n.effectiveDate,n.effectiveDateGt,n.effectiveDateGte,n.effectiveDateLt,n.effectiveDateLte,n.compositeTicker,n.compositeTickerAnyOf,n.compositeTickerGt,n.compositeTickerGte,n.compositeTickerLt,n.compositeTickerLte,n.limit,n.sort,t).then(i=>i(this.axios,this.basePath))}getEtfGlobalV1Taxonomies(n={},t){return M(this.configuration).getEtfGlobalV1Taxonomies(n.processedDate,n.processedDateGt,n.processedDateGte,n.processedDateLt,n.processedDateLte,n.effectiveDate,n.effectiveDateGt,n.effectiveDateGte,n.effectiveDateLt,n.effectiveDateLte,n.compositeTicker,n.compositeTickerAnyOf,n.compositeTickerGt,n.compositeTickerGte,n.compositeTickerLt,n.compositeTickerLte,n.limit,n.sort,t).then(i=>i(this.axios,this.basePath))}getEvents(n,t){return M(this.configuration).getEvents(n.id,n.types,t).then(i=>i(this.axios,this.basePath))}getFedV1Inflation(n={},t){return M(this.configuration).getFedV1Inflation(n.date,n.dateAnyOf,n.dateGt,n.dateGte,n.dateLt,n.dateLte,n.limit,n.sort,t).then(i=>i(this.axios,this.basePath))}getFedV1InflationExpectations(n={},t){return M(this.configuration).getFedV1InflationExpectations(n.date,n.dateAnyOf,n.dateGt,n.dateGte,n.dateLt,n.dateLte,n.limit,n.sort,t).then(i=>i(this.axios,this.basePath))}getFedV1LaborMarket(n={},t){return M(this.configuration).getFedV1LaborMarket(n.date,n.dateAnyOf,n.dateGt,n.dateGte,n.dateLt,n.dateLte,n.limit,n.sort,t).then(i=>i(this.axios,this.basePath))}getFedV1TreasuryYields(n={},t){return M(this.configuration).getFedV1TreasuryYields(n.date,n.dateAnyOf,n.dateGt,n.dateGte,n.dateLt,n.dateLte,n.limit,n.sort,t).then(i=>i(this.axios,this.basePath))}getForexAggregates(n,t){return M(this.configuration).getForexAggregates(n.forexTicker,n.multiplier,n.timespan,n.from,n.to,n.adjusted,n.sort,n.limit,t).then(i=>i(this.axios,this.basePath))}getForexEMA(n,t){return M(this.configuration).getForexEMA(n.fxTicker,n.timestamp,n.timespan,n.adjusted,n.window,n.seriesType,n.expandUnderlying,n.order,n.limit,n.timestampGte,n.timestampGt,n.timestampLte,n.timestampLt,t).then(i=>i(this.axios,this.basePath))}getForexMACD(n,t){return M(this.configuration).getForexMACD(n.fxTicker,n.timestamp,n.timespan,n.adjusted,n.shortWindow,n.longWindow,n.signalWindow,n.seriesType,n.expandUnderlying,n.order,n.limit,n.timestampGte,n.timestampGt,n.timestampLte,n.timestampLt,t).then(i=>i(this.axios,this.basePath))}getForexQuotes(n,t){return M(this.configuration).getForexQuotes(n.fxTicker,n.timestamp,n.timestampGte,n.timestampGt,n.timestampLte,n.timestampLt,n.order,n.limit,n.sort,t).then(i=>i(this.axios,this.basePath))}getForexRSI(n,t){return M(this.configuration).getForexRSI(n.fxTicker,n.timestamp,n.timespan,n.adjusted,n.window,n.seriesType,n.expandUnderlying,n.order,n.limit,n.timestampGte,n.timestampGt,n.timestampLte,n.timestampLt,t).then(i=>i(this.axios,this.basePath))}getForexSMA(n,t){return M(this.configuration).getForexSMA(n.fxTicker,n.timestamp,n.timespan,n.adjusted,n.window,n.seriesType,n.expandUnderlying,n.order,n.limit,n.timestampGte,n.timestampGt,n.timestampLte,n.timestampLt,t).then(i=>i(this.axios,this.basePath))}getForexSnapshotDirection(n,t){return M(this.configuration).getForexSnapshotDirection(n.direction,t).then(i=>i(this.axios,this.basePath))}getForexSnapshotTicker(n,t){return M(this.configuration).getForexSnapshotTicker(n.ticker,t).then(i=>i(this.axios,this.basePath))}getForexSnapshotTickers(n={},t){return M(this.configuration).getForexSnapshotTickers(n.tickers,t).then(i=>i(this.axios,this.basePath))}getForexV1Exchanges(n={},t){return M(this.configuration).getForexV1Exchanges(n.limit,t).then(i=>i(this.axios,this.basePath))}getFuturesAggregates(n,t){return M(this.configuration).getFuturesAggregates(n.ticker,n.resolution,n.windowStart,n.limit,n.windowStartGte,n.windowStartGt,n.windowStartLte,n.windowStartLt,n.sort,t).then(i=>i(this.axios,this.basePath))}getFuturesQuotes(n,t){return M(this.configuration).getFuturesQuotes(n.ticker,n.timestamp,n.sessionEndDate,n.limit,n.timestampGte,n.timestampGt,n.timestampLte,n.timestampLt,n.sessionEndDateGte,n.sessionEndDateGt,n.sessionEndDateLte,n.sessionEndDateLt,n.sort,t).then(i=>i(this.axios,this.basePath))}getFuturesTrades(n,t){return M(this.configuration).getFuturesTrades(n.ticker,n.timestamp,n.sessionEndDate,n.limit,n.timestampGte,n.timestampGt,n.timestampLte,n.timestampLt,n.sessionEndDateGte,n.sessionEndDateGt,n.sessionEndDateLte,n.sessionEndDateLt,n.sort,t).then(i=>i(this.axios,this.basePath))}getFuturesVXContracts(n={},t){return M(this.configuration).getFuturesVXContracts(n.date,n.dateGt,n.dateGte,n.dateLt,n.dateLte,n.productCode,n.productCodeAnyOf,n.productCodeGt,n.productCodeGte,n.productCodeLt,n.productCodeLte,n.ticker,n.tickerAnyOf,n.tickerGt,n.tickerGte,n.tickerLt,n.tickerLte,n.active,n.type,n.typeAnyOf,n.firstTradeDate,n.firstTradeDateGt,n.firstTradeDateGte,n.firstTradeDateLt,n.firstTradeDateLte,n.lastTradeDate,n.lastTradeDateGt,n.lastTradeDateGte,n.lastTradeDateLt,n.lastTradeDateLte,n.limit,n.sort,t).then(i=>i(this.axios,this.basePath))}getFuturesVXExchanges(n={},t){return M(this.configuration).getFuturesVXExchanges(n.limit,t).then(i=>i(this.axios,this.basePath))}getFuturesVXMarketStatus(n={},t){return M(this.configuration).getFuturesVXMarketStatus(n.productCode,n.productCodeAnyOf,n.productCodeGt,n.productCodeGte,n.productCodeLt,n.productCodeLte,n.limit,t).then(i=>i(this.axios,this.basePath))}getFuturesVXProducts(n={},t){return M(this.configuration).getFuturesVXProducts(n.name,n.nameAnyOf,n.nameGt,n.nameGte,n.nameLt,n.nameLte,n.productCode,n.productCodeAnyOf,n.productCodeGt,n.productCodeGte,n.productCodeLt,n.productCodeLte,n.date,n.dateGt,n.dateGte,n.dateLt,n.dateLte,n.tradingVenue,n.tradingVenueAnyOf,n.tradingVenueGt,n.tradingVenueGte,n.tradingVenueLt,n.tradingVenueLte,n.sector,n.sectorAnyOf,n.subSector,n.subSectorAnyOf,n.assetClass,n.assetClassAnyOf,n.assetSubClass,n.assetSubClassAnyOf,n.type,n.typeAnyOf,n.limit,n.sort,t).then(i=>i(this.axios,this.basePath))}getFuturesVXQuotesNew(n,t){return M(this.configuration).getFuturesVXQuotesNew(n.ticker,n.timestamp,n.timestampGt,n.timestampGte,n.timestampLt,n.timestampLte,n.sessionEndDate,n.limit,n.sort,t).then(i=>i(this.axios,this.basePath))}getFuturesVXSchedules(n={},t){return M(this.configuration).getFuturesVXSchedules(n.productCode,n.productCodeAnyOf,n.productCodeGt,n.productCodeGte,n.productCodeLt,n.productCodeLte,n.sessionEndDate,n.sessionEndDateAnyOf,n.sessionEndDateGt,n.sessionEndDateGte,n.sessionEndDateLt,n.sessionEndDateLte,n.tradingVenue,n.tradingVenueAnyOf,n.tradingVenueGt,n.tradingVenueGte,n.tradingVenueLt,n.tradingVenueLte,n.limit,n.sort,t).then(i=>i(this.axios,this.basePath))}getFuturesVXSnapshot(n={},t){return M(this.configuration).getFuturesVXSnapshot(n.productCode,n.productCodeAnyOf,n.productCodeGt,n.productCodeGte,n.productCodeLt,n.productCodeLte,n.ticker,n.tickerAnyOf,n.tickerGt,n.tickerGte,n.tickerLt,n.tickerLte,n.limit,n.sort,t).then(i=>i(this.axios,this.basePath))}getFuturesVXSnapshotNative(n={},t){return M(this.configuration).getFuturesVXSnapshotNative(n.productCode,n.productCodeAnyOf,n.productCodeGt,n.productCodeGte,n.productCodeLt,n.productCodeLte,n.ticker,n.tickerAnyOf,n.tickerGt,n.tickerGte,n.tickerLt,n.tickerLte,n.limit,n.sort,t).then(i=>i(this.axios,this.basePath))}getFuturesVXTradesNew(n,t){return M(this.configuration).getFuturesVXTradesNew(n.ticker,n.timestamp,n.timestampGt,n.timestampGte,n.timestampLt,n.timestampLte,n.sessionEndDate,n.limit,n.sort,t).then(i=>i(this.axios,this.basePath))}getGroupedCryptoAggregates(n,t){return M(this.configuration).getGroupedCryptoAggregates(n.date,n.adjusted,t).then(i=>i(this.axios,this.basePath))}getGroupedForexAggregates(n,t){return M(this.configuration).getGroupedForexAggregates(n.date,n.adjusted,t).then(i=>i(this.axios,this.basePath))}getGroupedStocksAggregates(n,t){return M(this.configuration).getGroupedStocksAggregates(n.date,n.adjusted,n.includeOtc,t).then(i=>i(this.axios,this.basePath))}getIndicesAggregates(n,t){return M(this.configuration).getIndicesAggregates(n.indicesTicker,n.multiplier,n.timespan,n.from,n.to,n.sort,n.limit,t).then(i=>i(this.axios,this.basePath))}getIndicesEMA(n,t){return M(this.configuration).getIndicesEMA(n.indicesTicker,n.timestamp,n.timespan,n.adjusted,n.window,n.seriesType,n.expandUnderlying,n.order,n.limit,n.timestampGte,n.timestampGt,n.timestampLte,n.timestampLt,t).then(i=>i(this.axios,this.basePath))}getIndicesMACD(n,t){return M(this.configuration).getIndicesMACD(n.indicesTicker,n.timestamp,n.timespan,n.adjusted,n.shortWindow,n.longWindow,n.signalWindow,n.seriesType,n.expandUnderlying,n.order,n.limit,n.timestampGte,n.timestampGt,n.timestampLte,n.timestampLt,t).then(i=>i(this.axios,this.basePath))}getIndicesOpenClose(n,t){return M(this.configuration).getIndicesOpenClose(n.indicesTicker,n.date,t).then(i=>i(this.axios,this.basePath))}getIndicesRSI(n,t){return M(this.configuration).getIndicesRSI(n.indicesTicker,n.timestamp,n.timespan,n.adjusted,n.window,n.seriesType,n.expandUnderlying,n.order,n.limit,n.timestampGte,n.timestampGt,n.timestampLte,n.timestampLt,t).then(i=>i(this.axios,this.basePath))}getIndicesSMA(n,t){return M(this.configuration).getIndicesSMA(n.indicesTicker,n.timestamp,n.timespan,n.adjusted,n.window,n.seriesType,n.expandUnderlying,n.order,n.limit,n.timestampGte,n.timestampGt,n.timestampLte,n.timestampLt,t).then(i=>i(this.axios,this.basePath))}getIndicesSnapshot(n={},t){return M(this.configuration).getIndicesSnapshot(n.tickerAnyOf,n.ticker,n.tickerGte,n.tickerGt,n.tickerLte,n.tickerLt,n.order,n.limit,n.sort,t).then(i=>i(this.axios,this.basePath))}getLastCryptoTrade(n,t){return M(this.configuration).getLastCryptoTrade(n.from,n.to,t).then(i=>i(this.axios,this.basePath))}getLastCurrencyQuote(n,t){return M(this.configuration).getLastCurrencyQuote(n.from,n.to,t).then(i=>i(this.axios,this.basePath))}getLastOptionsTrade(n,t){return M(this.configuration).getLastOptionsTrade(n.optionsTicker,t).then(i=>i(this.axios,this.basePath))}getLastStocksQuote(n,t){return M(this.configuration).getLastStocksQuote(n.stocksTicker,t).then(i=>i(this.axios,this.basePath))}getLastStocksTrade(n,t){return M(this.configuration).getLastStocksTrade(n.stocksTicker,t).then(i=>i(this.axios,this.basePath))}getMarketHolidays(n){return M(this.configuration).getMarketHolidays(n).then(t=>t(this.axios,this.basePath))}getMarketStatus(n){return M(this.configuration).getMarketStatus(n).then(t=>t(this.axios,this.basePath))}getOptionContract(n,t){return M(this.configuration).getOptionContract(n.underlyingAsset,n.optionContract,t).then(i=>i(this.axios,this.basePath))}getOptionsAggregates(n,t){return M(this.configuration).getOptionsAggregates(n.optionsTicker,n.multiplier,n.timespan,n.from,n.to,n.adjusted,n.sort,n.limit,t).then(i=>i(this.axios,this.basePath))}getOptionsChain(n,t){return M(this.configuration).getOptionsChain(n.underlyingAsset,n.strikePrice,n.expirationDate,n.contractType,n.strikePriceGte,n.strikePriceGt,n.strikePriceLte,n.strikePriceLt,n.expirationDateGte,n.expirationDateGt,n.expirationDateLte,n.expirationDateLt,n.order,n.limit,n.sort,t).then(i=>i(this.axios,this.basePath))}getOptionsContract(n,t){return M(this.configuration).getOptionsContract(n.optionsTicker,n.asOf,t).then(i=>i(this.axios,this.basePath))}getOptionsEMA(n,t){return M(this.configuration).getOptionsEMA(n.optionsTicker,n.timestamp,n.timespan,n.adjusted,n.window,n.seriesType,n.expandUnderlying,n.order,n.limit,n.timestampGte,n.timestampGt,n.timestampLte,n.timestampLt,t).then(i=>i(this.axios,this.basePath))}getOptionsMACD(n,t){return M(this.configuration).getOptionsMACD(n.optionsTicker,n.timestamp,n.timespan,n.adjusted,n.shortWindow,n.longWindow,n.signalWindow,n.seriesType,n.expandUnderlying,n.order,n.limit,n.timestampGte,n.timestampGt,n.timestampLte,n.timestampLt,t).then(i=>i(this.axios,this.basePath))}getOptionsOpenClose(n,t){return M(this.configuration).getOptionsOpenClose(n.optionsTicker,n.date,n.adjusted,t).then(i=>i(this.axios,this.basePath))}getOptionsQuotes(n,t){return M(this.configuration).getOptionsQuotes(n.optionsTicker,n.timestamp,n.timestampGte,n.timestampGt,n.timestampLte,n.timestampLt,n.order,n.limit,n.sort,t).then(i=>i(this.axios,this.basePath))}getOptionsRSI(n,t){return M(this.configuration).getOptionsRSI(n.optionsTicker,n.timestamp,n.timespan,n.adjusted,n.window,n.seriesType,n.expandUnderlying,n.order,n.limit,n.timestampGte,n.timestampGt,n.timestampLte,n.timestampLt,t).then(i=>i(this.axios,this.basePath))}getOptionsSMA(n,t){return M(this.configuration).getOptionsSMA(n.optionsTicker,n.timestamp,n.timespan,n.adjusted,n.window,n.seriesType,n.expandUnderlying,n.order,n.limit,n.timestampGte,n.timestampGt,n.timestampLte,n.timestampLt,t).then(i=>i(this.axios,this.basePath))}getOptionsTrades(n,t){return M(this.configuration).getOptionsTrades(n.optionsTicker,n.timestamp,n.timestampGte,n.timestampGt,n.timestampLte,n.timestampLt,n.order,n.limit,n.sort,t).then(i=>i(this.axios,this.basePath))}getOptionsV1Exchanges(n={},t){return M(this.configuration).getOptionsV1Exchanges(n.limit,t).then(i=>i(this.axios,this.basePath))}getPreviousCryptoAggregates(n,t){return M(this.configuration).getPreviousCryptoAggregates(n.cryptoTicker,n.adjusted,t).then(i=>i(this.axios,this.basePath))}getPreviousForexAggregates(n,t){return M(this.configuration).getPreviousForexAggregates(n.forexTicker,n.adjusted,t).then(i=>i(this.axios,this.basePath))}getPreviousIndicesAggregates(n,t){return M(this.configuration).getPreviousIndicesAggregates(n.indicesTicker,t).then(i=>i(this.axios,this.basePath))}getPreviousOptionsAggregates(n,t){return M(this.configuration).getPreviousOptionsAggregates(n.optionsTicker,n.adjusted,t).then(i=>i(this.axios,this.basePath))}getPreviousStocksAggregates(n,t){return M(this.configuration).getPreviousStocksAggregates(n.stocksTicker,n.adjusted,t).then(i=>i(this.axios,this.basePath))}getRelatedCompanies(n,t){return M(this.configuration).getRelatedCompanies(n.ticker,t).then(i=>i(this.axios,this.basePath))}getSnapshotSummary(n={},t){return M(this.configuration).getSnapshotSummary(n.tickerAnyOf,t).then(i=>i(this.axios,this.basePath))}getSnapshots(n={},t){return M(this.configuration).getSnapshots(n.ticker,n.type,n.tickerGte,n.tickerGt,n.tickerLte,n.tickerLt,n.tickerAnyOf,n.order,n.limit,n.sort,t).then(i=>i(this.axios,this.basePath))}getStocksAggregates(n,t){return M(this.configuration).getStocksAggregates(n.stocksTicker,n.multiplier,n.timespan,n.from,n.to,n.adjusted,n.sort,n.limit,t).then(i=>i(this.axios,this.basePath))}getStocksEMA(n,t){return M(this.configuration).getStocksEMA(n.stockTicker,n.timestamp,n.timespan,n.adjusted,n.window,n.seriesType,n.expandUnderlying,n.order,n.limit,n.timestampGte,n.timestampGt,n.timestampLte,n.timestampLt,t).then(i=>i(this.axios,this.basePath))}getStocksFilings10KVXSections(n={},t){return M(this.configuration).getStocksFilings10KVXSections(n.cik,n.cikAnyOf,n.cikGt,n.cikGte,n.cikLt,n.cikLte,n.ticker,n.tickerAnyOf,n.tickerGt,n.tickerGte,n.tickerLt,n.tickerLte,n.section,n.sectionAnyOf,n.filingDate,n.filingDateGt,n.filingDateGte,n.filingDateLt,n.filingDateLte,n.periodEnd,n.periodEndGt,n.periodEndGte,n.periodEndLt,n.periodEndLte,n.limit,n.sort,t).then(i=>i(this.axios,this.basePath))}getStocksFilingsVXIndex(n={},t){return M(this.configuration).getStocksFilingsVXIndex(n.cik,n.cikAnyOf,n.cikGt,n.cikGte,n.cikLt,n.cikLte,n.ticker,n.tickerAnyOf,n.tickerGt,n.tickerGte,n.tickerLt,n.tickerLte,n.formType,n.formTypeAnyOf,n.formTypeGt,n.formTypeGte,n.formTypeLt,n.formTypeLte,n.filingDate,n.filingDateGt,n.filingDateGte,n.filingDateLt,n.filingDateLte,n.limit,n.sort,t).then(i=>i(this.axios,this.basePath))}getStocksFilingsVXRiskFactors(n={},t){return M(this.configuration).getStocksFilingsVXRiskFactors(n.filingDate,n.filingDateAnyOf,n.filingDateGt,n.filingDateGte,n.filingDateLt,n.filingDateLte,n.ticker,n.tickerAnyOf,n.tickerGt,n.tickerGte,n.tickerLt,n.tickerLte,n.cik,n.cikAnyOf,n.cikGt,n.cikGte,n.cikLt,n.cikLte,n.limit,n.sort,t).then(i=>i(this.axios,this.basePath))}getStocksFinancialsV1BalanceSheets(n={},t){return M(this.configuration).getStocksFinancialsV1BalanceSheets(n.cik,n.cikAnyOf,n.cikGt,n.cikGte,n.cikLt,n.cikLte,n.tickers,n.tickersAllOf,n.tickersAnyOf,n.periodEnd,n.periodEndGt,n.periodEndGte,n.periodEndLt,n.periodEndLte,n.filingDate,n.filingDateGt,n.filingDateGte,n.filingDateLt,n.filingDateLte,n.fiscalYear,n.fiscalYearGt,n.fiscalYearGte,n.fiscalYearLt,n.fiscalYearLte,n.fiscalQuarter,n.fiscalQuarterGt,n.fiscalQuarterGte,n.fiscalQuarterLt,n.fiscalQuarterLte,n.timeframe,n.timeframeAnyOf,n.timeframeGt,n.timeframeGte,n.timeframeLt,n.timeframeLte,n.maxTicker,n.maxTickerAnyOf,n.maxTickerGt,n.maxTickerGte,n.maxTickerLt,n.maxTickerLte,n.minTicker,n.minTickerAnyOf,n.minTickerGt,n.minTickerGte,n.minTickerLt,n.minTickerLte,n.limit,n.sort,t).then(i=>i(this.axios,this.basePath))}getStocksFinancialsV1CashFlowStatements(n={},t){return M(this.configuration).getStocksFinancialsV1CashFlowStatements(n.cik,n.cikAnyOf,n.cikGt,n.cikGte,n.cikLt,n.cikLte,n.periodEnd,n.periodEndGt,n.periodEndGte,n.periodEndLt,n.periodEndLte,n.filingDate,n.filingDateGt,n.filingDateGte,n.filingDateLt,n.filingDateLte,n.tickers,n.tickersAllOf,n.tickersAnyOf,n.fiscalYear,n.fiscalYearGt,n.fiscalYearGte,n.fiscalYearLt,n.fiscalYearLte,n.fiscalQuarter,n.fiscalQuarterGt,n.fiscalQuarterGte,n.fiscalQuarterLt,n.fiscalQuarterLte,n.timeframe,n.timeframeAnyOf,n.timeframeGt,n.timeframeGte,n.timeframeLt,n.timeframeLte,n.maxTicker,n.maxTickerAnyOf,n.maxTickerGt,n.maxTickerGte,n.maxTickerLt,n.maxTickerLte,n.minTicker,n.minTickerAnyOf,n.minTickerGt,n.minTickerGte,n.minTickerLt,n.minTickerLte,n.limit,n.sort,t).then(i=>i(this.axios,this.basePath))}getStocksFinancialsV1IncomeStatements(n={},t){return M(this.configuration).getStocksFinancialsV1IncomeStatements(n.cik,n.cikAnyOf,n.cikGt,n.cikGte,n.cikLt,n.cikLte,n.tickers,n.tickersAllOf,n.tickersAnyOf,n.periodEnd,n.periodEndGt,n.periodEndGte,n.periodEndLt,n.periodEndLte,n.filingDate,n.filingDateGt,n.filingDateGte,n.filingDateLt,n.filingDateLte,n.fiscalYear,n.fiscalYearGt,n.fiscalYearGte,n.fiscalYearLt,n.fiscalYearLte,n.fiscalQuarter,n.fiscalQuarterGt,n.fiscalQuarterGte,n.fiscalQuarterLt,n.fiscalQuarterLte,n.timeframe,n.timeframeAnyOf,n.timeframeGt,n.timeframeGte,n.timeframeLt,n.timeframeLte,n.maxTicker,n.maxTickerAnyOf,n.maxTickerGt,n.maxTickerGte,n.maxTickerLt,n.maxTickerLte,n.minTicker,n.minTickerAnyOf,n.minTickerGt,n.minTickerGte,n.minTickerLt,n.minTickerLte,n.limit,n.sort,t).then(i=>i(this.axios,this.basePath))}getStocksFinancialsV1Ratios(n={},t){return M(this.configuration).getStocksFinancialsV1Ratios(n.ticker,n.tickerAnyOf,n.tickerGt,n.tickerGte,n.tickerLt,n.tickerLte,n.cik,n.cikAnyOf,n.cikGt,n.cikGte,n.cikLt,n.cikLte,n.price,n.priceGt,n.priceGte,n.priceLt,n.priceLte,n.averageVolume,n.averageVolumeGt,n.averageVolumeGte,n.averageVolumeLt,n.averageVolumeLte,n.marketCap,n.marketCapGt,n.marketCapGte,n.marketCapLt,n.marketCapLte,n.earningsPerShare,n.earningsPerShareGt,n.earningsPerShareGte,n.earningsPerShareLt,n.earningsPerShareLte,n.priceToEarnings,n.priceToEarningsGt,n.priceToEarningsGte,n.priceToEarningsLt,n.priceToEarningsLte,n.priceToBook,n.priceToBookGt,n.priceToBookGte,n.priceToBookLt,n.priceToBookLte,n.priceToSales,n.priceToSalesGt,n.priceToSalesGte,n.priceToSalesLt,n.priceToSalesLte,n.priceToCashFlow,n.priceToCashFlowGt,n.priceToCashFlowGte,n.priceToCashFlowLt,n.priceToCashFlowLte,n.priceToFreeCashFlow,n.priceToFreeCashFlowGt,n.priceToFreeCashFlowGte,n.priceToFreeCashFlowLt,n.priceToFreeCashFlowLte,n.dividendYield,n.dividendYieldGt,n.dividendYieldGte,n.dividendYieldLt,n.dividendYieldLte,n.returnOnAssets,n.returnOnAssetsGt,n.returnOnAssetsGte,n.returnOnAssetsLt,n.returnOnAssetsLte,n.returnOnEquity,n.returnOnEquityGt,n.returnOnEquityGte,n.returnOnEquityLt,n.returnOnEquityLte,n.debtToEquity,n.debtToEquityGt,n.debtToEquityGte,n.debtToEquityLt,n.debtToEquityLte,n.current,n.currentGt,n.currentGte,n.currentLt,n.currentLte,n.quick,n.quickGt,n.quickGte,n.quickLt,n.quickLte,n.cash,n.cashGt,n.cashGte,n.cashLt,n.cashLte,n.evToSales,n.evToSalesGt,n.evToSalesGte,n.evToSalesLt,n.evToSalesLte,n.evToEbitda,n.evToEbitdaGt,n.evToEbitdaGte,n.evToEbitdaLt,n.evToEbitdaLte,n.enterpriseValue,n.enterpriseValueGt,n.enterpriseValueGte,n.enterpriseValueLt,n.enterpriseValueLte,n.freeCashFlow,n.freeCashFlowGt,n.freeCashFlowGte,n.freeCashFlowLt,n.freeCashFlowLte,n.limit,n.sort,t).then(i=>i(this.axios,this.basePath))}getStocksMACD(n,t){return M(this.configuration).getStocksMACD(n.stockTicker,n.timestamp,n.timespan,n.adjusted,n.shortWindow,n.longWindow,n.signalWindow,n.seriesType,n.expandUnderlying,n.order,n.limit,n.timestampGte,n.timestampGt,n.timestampLte,n.timestampLt,t).then(i=>i(this.axios,this.basePath))}getStocksOpenClose(n,t){return M(this.configuration).getStocksOpenClose(n.stocksTicker,n.date,n.adjusted,t).then(i=>i(this.axios,this.basePath))}getStocksQuotes(n,t){return M(this.configuration).getStocksQuotes(n.stockTicker,n.timestamp,n.timestampGte,n.timestampGt,n.timestampLte,n.timestampLt,n.order,n.limit,n.sort,t).then(i=>i(this.axios,this.basePath))}getStocksRSI(n,t){return M(this.configuration).getStocksRSI(n.stockTicker,n.timestamp,n.timespan,n.adjusted,n.window,n.seriesType,n.expandUnderlying,n.order,n.limit,n.timestampGte,n.timestampGt,n.timestampLte,n.timestampLt,t).then(i=>i(this.axios,this.basePath))}getStocksSMA(n,t){return M(this.configuration).getStocksSMA(n.stockTicker,n.timestamp,n.timespan,n.adjusted,n.window,n.seriesType,n.expandUnderlying,n.order,n.limit,n.timestampGte,n.timestampGt,n.timestampLte,n.timestampLt,t).then(i=>i(this.axios,this.basePath))}getStocksSnapshotDirection(n,t){return M(this.configuration).getStocksSnapshotDirection(n.direction,n.includeOtc,t).then(i=>i(this.axios,this.basePath))}getStocksSnapshotTicker(n,t){return M(this.configuration).getStocksSnapshotTicker(n.stocksTicker,t).then(i=>i(this.axios,this.basePath))}getStocksSnapshotTickers(n={},t){return M(this.configuration).getStocksSnapshotTickers(n.tickers,n.includeOtc,t).then(i=>i(this.axios,this.basePath))}getStocksTaxonomiesVXRiskFactors(n={},t){return M(this.configuration).getStocksTaxonomiesVXRiskFactors(n.taxonomy,n.taxonomyGt,n.taxonomyGte,n.taxonomyLt,n.taxonomyLte,n.primaryCategory,n.primaryCategoryAnyOf,n.primaryCategoryGt,n.primaryCategoryGte,n.primaryCategoryLt,n.primaryCategoryLte,n.secondaryCategory,n.secondaryCategoryAnyOf,n.secondaryCategoryGt,n.secondaryCategoryGte,n.secondaryCategoryLt,n.secondaryCategoryLte,n.tertiaryCategory,n.tertiaryCategoryAnyOf,n.tertiaryCategoryGt,n.tertiaryCategoryGte,n.tertiaryCategoryLt,n.tertiaryCategoryLte,n.limit,n.sort,t).then(i=>i(this.axios,this.basePath))}getStocksTrades(n,t){return M(this.configuration).getStocksTrades(n.stockTicker,n.timestamp,n.timestampGte,n.timestampGt,n.timestampLte,n.timestampLt,n.order,n.limit,n.sort,t).then(i=>i(this.axios,this.basePath))}getStocksV1Dividends(n={},t){return M(this.configuration).getStocksV1Dividends(n.ticker,n.tickerAnyOf,n.tickerGt,n.tickerGte,n.tickerLt,n.tickerLte,n.exDividendDate,n.exDividendDateGt,n.exDividendDateGte,n.exDividendDateLt,n.exDividendDateLte,n.frequency,n.frequencyGt,n.frequencyGte,n.frequencyLt,n.frequencyLte,n.distributionType,n.distributionTypeAnyOf,n.limit,n.sort,t).then(i=>i(this.axios,this.basePath))}getStocksV1Exchanges(n={},t){return M(this.configuration).getStocksV1Exchanges(n.limit,t).then(i=>i(this.axios,this.basePath))}getStocksV1ShortInterest(n={},t){return M(this.configuration).getStocksV1ShortInterest(n.ticker,n.tickerAnyOf,n.tickerGt,n.tickerGte,n.tickerLt,n.tickerLte,n.daysToCover,n.daysToCoverAnyOf,n.daysToCoverGt,n.daysToCoverGte,n.daysToCoverLt,n.daysToCoverLte,n.settlementDate,n.settlementDateAnyOf,n.settlementDateGt,n.settlementDateGte,n.settlementDateLt,n.settlementDateLte,n.avgDailyVolume,n.avgDailyVolumeAnyOf,n.avgDailyVolumeGt,n.avgDailyVolumeGte,n.avgDailyVolumeLt,n.avgDailyVolumeLte,n.limit,n.sort,t).then(i=>i(this.axios,this.basePath))}getStocksV1ShortVolume(n={},t){return M(this.configuration).getStocksV1ShortVolume(n.ticker,n.tickerAnyOf,n.tickerGt,n.tickerGte,n.tickerLt,n.tickerLte,n.date,n.dateAnyOf,n.dateGt,n.dateGte,n.dateLt,n.dateLte,n.shortVolumeRatio,n.shortVolumeRatioAnyOf,n.shortVolumeRatioGt,n.shortVolumeRatioGte,n.shortVolumeRatioLt,n.shortVolumeRatioLte,n.totalVolume,n.totalVolumeAnyOf,n.totalVolumeGt,n.totalVolumeGte,n.totalVolumeLt,n.totalVolumeLte,n.limit,n.sort,t).then(i=>i(this.axios,this.basePath))}getStocksV1Splits(n={},t){return M(this.configuration).getStocksV1Splits(n.ticker,n.tickerAnyOf,n.tickerGt,n.tickerGte,n.tickerLt,n.tickerLte,n.executionDate,n.executionDateGt,n.executionDateGte,n.executionDateLt,n.executionDateLte,n.adjustmentType,n.adjustmentTypeAnyOf,n.limit,n.sort,t).then(i=>i(this.axios,this.basePath))}getStocksVXFloat(n={},t){return M(this.configuration).getStocksVXFloat(n.ticker,n.tickerAnyOf,n.tickerGt,n.tickerGte,n.tickerLt,n.tickerLte,n.freeFloatPercent,n.freeFloatPercentGt,n.freeFloatPercentGte,n.freeFloatPercentLt,n.freeFloatPercentLte,n.limit,n.sort,t).then(i=>i(this.axios,this.basePath))}getTicker(n,t){return M(this.configuration).getTicker(n.ticker,n.date,t).then(i=>i(this.axios,this.basePath))}getTmxV1CorporateEvents(n={},t){return M(this.configuration).getTmxV1CorporateEvents(n.date,n.dateAnyOf,n.dateGt,n.dateGte,n.dateLt,n.dateLte,n.type,n.typeAnyOf,n.typeGt,n.typeGte,n.typeLt,n.typeLte,n.status,n.statusAnyOf,n.statusGt,n.statusGte,n.statusLt,n.statusLte,n.ticker,n.tickerAnyOf,n.tickerGt,n.tickerGte,n.tickerLt,n.tickerLte,n.isin,n.isinAnyOf,n.isinGt,n.isinGte,n.isinLt,n.isinLte,n.tradingVenue,n.tradingVenueAnyOf,n.tradingVenueGt,n.tradingVenueGte,n.tradingVenueLt,n.tradingVenueLte,n.tmxCompanyId,n.tmxCompanyIdGt,n.tmxCompanyIdGte,n.tmxCompanyIdLt,n.tmxCompanyIdLte,n.tmxRecordId,n.tmxRecordIdAnyOf,n.tmxRecordIdGt,n.tmxRecordIdGte,n.tmxRecordIdLt,n.tmxRecordIdLte,n.limit,n.sort,t).then(i=>i(this.axios,this.basePath))}getV1ReferenceIpos(n={},t){return M(this.configuration).getV1ReferenceIpos(n.ticker,n.tickerAnyOf,n.tickerGt,n.tickerGte,n.tickerLt,n.tickerLte,n.usCode,n.usCodeAnyOf,n.usCodeGt,n.usCodeGte,n.usCodeLt,n.usCodeLte,n.isin,n.isinAnyOf,n.isinGt,n.isinGte,n.isinLt,n.isinLte,n.listingDate,n.listingDateGt,n.listingDateGte,n.listingDateLt,n.listingDateLte,n.ipoStatus,n.ipoStatusAnyOf,n.limit,n.sort,t).then(i=>i(this.axios,this.basePath))}listConditions(n={},t){return M(this.configuration).listConditions(n.assetClass,n.dataType,n.id,n.sip,n.order,n.limit,n.sort,t).then(i=>i(this.axios,this.basePath))}listDividends(n={},t){return M(this.configuration).listDividends(n.ticker,n.exDividendDate,n.recordDate,n.declarationDate,n.payDate,n.frequency,n.cashAmount,n.dividendType,n.tickerGte,n.tickerGt,n.tickerLte,n.tickerLt,n.exDividendDateGte,n.exDividendDateGt,n.exDividendDateLte,n.exDividendDateLt,n.recordDateGte,n.recordDateGt,n.recordDateLte,n.recordDateLt,n.declarationDateGte,n.declarationDateGt,n.declarationDateLte,n.declarationDateLt,n.payDateGte,n.payDateGt,n.payDateLte,n.payDateLt,n.cashAmountGte,n.cashAmountGt,n.cashAmountLte,n.cashAmountLt,n.order,n.limit,n.sort,t).then(i=>i(this.axios,this.basePath))}listExchanges(n={},t){return M(this.configuration).listExchanges(n.assetClass,n.locale,t).then(i=>i(this.axios,this.basePath))}listFinancials(n={},t){return M(this.configuration).listFinancials(n.ticker,n.cik,n.companyName,n.sic,n.filingDate,n.periodOfReportDate,n.timeframe,n.includeSources,n.companyNameSearch,n.filingDateGte,n.filingDateGt,n.filingDateLte,n.filingDateLt,n.periodOfReportDateGte,n.periodOfReportDateGt,n.periodOfReportDateLte,n.periodOfReportDateLt,n.order,n.limit,n.sort,t).then(i=>i(this.axios,this.basePath))}listIPOs(n={},t){return M(this.configuration).listIPOs(n.ticker,n.usCode,n.isin,n.listingDate,n.ipoStatus,n.listingDateGte,n.listingDateGt,n.listingDateLte,n.listingDateLt,n.order,n.limit,n.sort,t).then(i=>i(this.axios,this.basePath))}listNews(n={},t){return M(this.configuration).listNews(n.ticker,n.publishedUtc,n.tickerGte,n.tickerGt,n.tickerLte,n.tickerLt,n.publishedUtcGte,n.publishedUtcGt,n.publishedUtcLte,n.publishedUtcLt,n.order,n.limit,n.sort,t).then(i=>i(this.axios,this.basePath))}listOptionsContracts(n={},t){return M(this.configuration).listOptionsContracts(n.underlyingTicker,n.ticker,n.contractType,n.expirationDate,n.asOf,n.strikePrice,n.expired,n.underlyingTickerGte,n.underlyingTickerGt,n.underlyingTickerLte,n.underlyingTickerLt,n.expirationDateGte,n.expirationDateGt,n.expirationDateLte,n.expirationDateLt,n.strikePriceGte,n.strikePriceGt,n.strikePriceLte,n.strikePriceLt,n.order,n.limit,n.sort,t).then(i=>i(this.axios,this.basePath))}listStockSplits(n={},t){return M(this.configuration).listStockSplits(n.ticker,n.executionDate,n.reverseSplit,n.tickerGte,n.tickerGt,n.tickerLte,n.tickerLt,n.executionDateGte,n.executionDateGt,n.executionDateLte,n.executionDateLt,n.order,n.limit,n.sort,t).then(i=>i(this.axios,this.basePath))}listTickerTypes(n={},t){return M(this.configuration).listTickerTypes(n.assetClass,n.locale,t).then(i=>i(this.axios,this.basePath))}listTickers(n={},t){return M(this.configuration).listTickers(n.ticker,n.type,n.market,n.exchange,n.cusip,n.cik,n.date,n.search,n.active,n.tickerGte,n.tickerGt,n.tickerLte,n.tickerLt,n.order,n.limit,n.sort,t).then(i=>i(this.axios,this.basePath))}},fi=(d=>(d.Second="second",d.Minute="minute",d.Hour="hour",d.Day="day",d.Week="week",d.Month="month",d.Quarter="quarter",d.Year="year",d))(fi||{}),ui=(t=>(t.Asc="asc",t.Desc="desc",t))(ui||{}),yi=(r=>(r.Minute="minute",r.Hour="hour",r.Day="day",r.Week="week",r.Month="month",r.Quarter="quarter",r.Year="year",r))(yi||{}),bi=(e=>(e.Open="open",e.High="high",e.Low="low",e.Close="close",e))(bi||{}),mi=(t=>(t.Asc="asc",t.Desc="desc",t))(mi||{}),hi=(r=>(r.Minute="minute",r.Hour="hour",r.Day="day",r.Week="week",r.Month="month",r.Quarter="quarter",r.Year="year",r))(hi||{}),Ri=(e=>(e.Open="open",e.High="high",e.Low="low",e.Close="close",e))(Ri||{}),xi=(t=>(t.Asc="asc",t.Desc="desc",t))(xi||{}),Ai=(r=>(r.Minute="minute",r.Hour="hour",r.Day="day",r.Week="week",r.Month="month",r.Quarter="quarter",r.Year="year",r))(Ai||{}),ki=(e=>(e.Open="open",e.High="high",e.Low="low",e.Close="close",e))(ki||{}),_i=(t=>(t.Asc="asc",t.Desc="desc",t))(_i||{}),Gi=(r=>(r.Minute="minute",r.Hour="hour",r.Day="day",r.Week="week",r.Month="month",r.Quarter="quarter",r.Year="year",r))(Gi||{}),Vi=(e=>(e.Open="open",e.High="high",e.Low="low",e.Close="close",e))(Vi||{}),Oi=(t=>(t.Asc="asc",t.Desc="desc",t))(Oi||{}),Ci=(t=>(t.Gainers="gainers",t.Losers="losers",t))(Ci||{}),Si=(t=>(t.Asc="asc",t.Desc="desc",t))(Si||{}),wi=(n=>(n.Timestamp="timestamp",n))(wi||{}),vi=(s=>(s[s.NUMBER_0=0]="NUMBER_0",s[s.NUMBER_1=1]="NUMBER_1",s[s.NUMBER_2=2]="NUMBER_2",s[s.NUMBER_3=3]="NUMBER_3",s[s.NUMBER_4=4]="NUMBER_4",s))(vi||{}),Ii=(d=>(d.Second="second",d.Minute="minute",d.Hour="hour",d.Day="day",d.Week="week",d.Month="month",d.Quarter="quarter",d.Year="year",d))(Ii||{}),Li=(t=>(t.Asc="asc",t.Desc="desc",t))(Li||{}),Di=(r=>(r.Minute="minute",r.Hour="hour",r.Day="day",r.Week="week",r.Month="month",r.Quarter="quarter",r.Year="year",r))(Di||{}),Ti=(e=>(e.Open="open",e.High="high",e.Low="low",e.Close="close",e))(Ti||{}),Fi=(t=>(t.Asc="asc",t.Desc="desc",t))(Fi||{}),Bi=(r=>(r.Minute="minute",r.Hour="hour",r.Day="day",r.Week="week",r.Month="month",r.Quarter="quarter",r.Year="year",r))(Bi||{}),Ui=(e=>(e.Open="open",e.High="high",e.Low="low",e.Close="close",e))(Ui||{}),zi=(t=>(t.Asc="asc",t.Desc="desc",t))(zi||{}),Qi=(t=>(t.Asc="asc",t.Desc="desc",t))(Qi||{}),Ei=(n=>(n.Timestamp="timestamp",n))(Ei||{}),Mi=(r=>(r.Minute="minute",r.Hour="hour",r.Day="day",r.Week="week",r.Month="month",r.Quarter="quarter",r.Year="year",r))(Mi||{}),Hi=(e=>(e.Open="open",e.High="high",e.Low="low",e.Close="close",e))(Hi||{}),ji=(t=>(t.Asc="asc",t.Desc="desc",t))(ji||{}),Ki=(r=>(r.Minute="minute",r.Hour="hour",r.Day="day",r.Week="week",r.Month="month",r.Quarter="quarter",r.Year="year",r))(Ki||{}),Ni=(e=>(e.Open="open",e.High="high",e.Low="low",e.Close="close",e))(Ni||{}),Xi=(t=>(t.Asc="asc",t.Desc="desc",t))(Xi||{}),$i=(t=>(t.Gainers="gainers",t.Losers="losers",t))($i||{}),Yi=(t=>(t.WindowStartAsc="window_start.asc",t.WindowStartDesc="window_start.desc",t))(Yi||{}),Wi=(t=>(t.TimestampAsc="timestamp.asc",t.TimestampDesc="timestamp.desc",t))(Wi||{}),Ji=(t=>(t.TimestampAsc="timestamp.asc",t.TimestampDesc="timestamp.desc",t))(Ji||{}),Zi=(t=>(t.Single="single",t.Combo="combo",t))(Zi||{}),qi=(t=>(t.Single="single",t.Combo="combo",t))(qi||{}),Pi=(w=>(w.Asia="asia",w.Base="base",w.Biofuels="biofuels",w.Coal="coal",w.CrossRates="cross_rates",w.CrudeOil="crude_oil",w.CustomIndex="custom_index",w.Dairy="dairy",w.DjUbsCi="dj_ubs_ci",w.Electricity="electricity",w.Emissions="emissions",w.Europe="europe",w.Fertilizer="fertilizer",w.Forestry="forestry",w.GrainsAndOilseeds="grains_and_oilseeds",w.IntlIndex="intl_index",w.LiqNatGasLng="liq_nat_gas_lng",w.Livestock="livestock",w.LongTermGov="long_term_gov",w.LongTermNonGov="long_term_non_gov",w.Majors="majors",w.Minors="minors",w.NatGas="nat_gas",w.NatGasLiqPetro="nat_gas_liq_petro",w.Precious="precious",w.RefinedProducts="refined_products",w.SAndPGsci="s_and_p_gsci",w.SelSectorIndex="sel_sector_index",w.ShortTermGov="short_term_gov",w.ShortTermNonGov="short_term_non_gov",w.Softs="softs",w.Us="us",w.UsIndex="us_index",w.WetBulk="wet_bulk",w))(Pi||{}),ns=(w=>(w.Asia="asia",w.Base="base",w.Biofuels="biofuels",w.Coal="coal",w.CrossRates="cross_rates",w.CrudeOil="crude_oil",w.CustomIndex="custom_index",w.Dairy="dairy",w.DjUbsCi="dj_ubs_ci",w.Electricity="electricity",w.Emissions="emissions",w.Europe="europe",w.Fertilizer="fertilizer",w.Forestry="forestry",w.GrainsAndOilseeds="grains_and_oilseeds",w.IntlIndex="intl_index",w.LiqNatGasLng="liq_nat_gas_lng",w.Livestock="livestock",w.LongTermGov="long_term_gov",w.LongTermNonGov="long_term_non_gov",w.Majors="majors",w.Minors="minors",w.NatGas="nat_gas",w.NatGasLiqPetro="nat_gas_liq_petro",w.Precious="precious",w.RefinedProducts="refined_products",w.SAndPGsci="s_and_p_gsci",w.SelSectorIndex="sel_sector_index",w.ShortTermGov="short_term_gov",w.ShortTermNonGov="short_term_non_gov",w.Softs="softs",w.Us="us",w.UsIndex="us_index",w.WetBulk="wet_bulk",w))(ns||{}),es=(R=>(R.Asian="asian",R.Canadian="canadian",R.Cat="cat",R.CoolingDegreeDays="cooling_degree_days",R.Ercot="ercot",R.European="european",R.Gulf="gulf",R.HeatingDegreeDays="heating_degree_days",R.IsoNe="iso_ne",R.LargeCapIndex="large_cap_index",R.MidCapIndex="mid_cap_index",R.Miso="miso",R.NorthAmerican="north_american",R.Nyiso="nyiso",R.Pjm="pjm",R.SmallCapIndex="small_cap_index",R.West="west",R.WesternPower="western_power",R))(es||{}),ts=(R=>(R.Asian="asian",R.Canadian="canadian",R.Cat="cat",R.CoolingDegreeDays="cooling_degree_days",R.Ercot="ercot",R.European="european",R.Gulf="gulf",R.HeatingDegreeDays="heating_degree_days",R.IsoNe="iso_ne",R.LargeCapIndex="large_cap_index",R.MidCapIndex="mid_cap_index",R.Miso="miso",R.NorthAmerican="north_american",R.Nyiso="nyiso",R.Pjm="pjm",R.SmallCapIndex="small_cap_index",R.West="west",R.WesternPower="western_power",R))(ts||{}),is=(i=>(i.AltInvestment="alt_investment",i.Commodity="commodity",i.Financials="financials",i))(is||{}),ss=(i=>(i.AltInvestment="alt_investment",i.Commodity="commodity",i.Financials="financials",i))(ss||{}),os=(g=>(g.Agricultural="agricultural",g.CommodityIndex="commodity_index",g.Energy="energy",g.Equity="equity",g.ForeignExchange="foreign_exchange",g.Freight="freight",g.Housing="housing",g.InterestRate="interest_rate",g.Metals="metals",g.Weather="weather",g))(os||{}),rs=(g=>(g.Agricultural="agricultural",g.CommodityIndex="commodity_index",g.Energy="energy",g.Equity="equity",g.ForeignExchange="foreign_exchange",g.Freight="freight",g.Housing="housing",g.InterestRate="interest_rate",g.Metals="metals",g.Weather="weather",g))(rs||{}),as=(t=>(t.Single="single",t.Combo="combo",t))(as||{}),ds=(t=>(t.Single="single",t.Combo="combo",t))(ds||{}),ls=(d=>(d.Second="second",d.Minute="minute",d.Hour="hour",d.Day="day",d.Week="week",d.Month="month",d.Quarter="quarter",d.Year="year",d))(ls||{}),gs=(t=>(t.Asc="asc",t.Desc="desc",t))(gs||{}),cs=(r=>(r.Minute="minute",r.Hour="hour",r.Day="day",r.Week="week",r.Month="month",r.Quarter="quarter",r.Year="year",r))(cs||{}),ps=(e=>(e.Open="open",e.High="high",e.Low="low",e.Close="close",e))(ps||{}),fs=(t=>(t.Asc="asc",t.Desc="desc",t))(fs||{}),us=(r=>(r.Minute="minute",r.Hour="hour",r.Day="day",r.Week="week",r.Month="month",r.Quarter="quarter",r.Year="year",r))(us||{}),ys=(e=>(e.Open="open",e.High="high",e.Low="low",e.Close="close",e))(ys||{}),bs=(t=>(t.Asc="asc",t.Desc="desc",t))(bs||{}),ms=(r=>(r.Minute="minute",r.Hour="hour",r.Day="day",r.Week="week",r.Month="month",r.Quarter="quarter",r.Year="year",r))(ms||{}),hs=(e=>(e.Open="open",e.High="high",e.Low="low",e.Close="close",e))(hs||{}),Rs=(t=>(t.Asc="asc",t.Desc="desc",t))(Rs||{}),xs=(r=>(r.Minute="minute",r.Hour="hour",r.Day="day",r.Week="week",r.Month="month",r.Quarter="quarter",r.Year="year",r))(xs||{}),As=(e=>(e.Open="open",e.High="high",e.Low="low",e.Close="close",e))(As||{}),ks=(t=>(t.Asc="asc",t.Desc="desc",t))(ks||{}),_s=(t=>(t.Asc="asc",t.Desc="desc",t))(_s||{}),Gs=(n=>(n.Ticker="ticker",n))(Gs||{}),Vs=(d=>(d.Second="second",d.Minute="minute",d.Hour="hour",d.Day="day",d.Week="week",d.Month="month",d.Quarter="quarter",d.Year="year",d))(Vs||{}),Os=(t=>(t.Asc="asc",t.Desc="desc",t))(Os||{}),Cs=(t=>(t.Call="call",t.Put="put",t))(Cs||{}),Ss=(t=>(t.Asc="asc",t.Desc="desc",t))(Ss||{}),ws=(i=>(i.Ticker="ticker",i.ExpirationDate="expiration_date",i.StrikePrice="strike_price",i))(ws||{}),vs=(r=>(r.Minute="minute",r.Hour="hour",r.Day="day",r.Week="week",r.Month="month",r.Quarter="quarter",r.Year="year",r))(vs||{}),Is=(e=>(e.Open="open",e.High="high",e.Low="low",e.Close="close",e))(Is||{}),Ls=(t=>(t.Asc="asc",t.Desc="desc",t))(Ls||{}),Ds=(r=>(r.Minute="minute",r.Hour="hour",r.Day="day",r.Week="week",r.Month="month",r.Quarter="quarter",r.Year="year",r))(Ds||{}),Ts=(e=>(e.Open="open",e.High="high",e.Low="low",e.Close="close",e))(Ts||{}),Fs=(t=>(t.Asc="asc",t.Desc="desc",t))(Fs||{}),Bs=(t=>(t.Asc="asc",t.Desc="desc",t))(Bs||{}),Us=(n=>(n.Timestamp="timestamp",n))(Us||{}),zs=(r=>(r.Minute="minute",r.Hour="hour",r.Day="day",r.Week="week",r.Month="month",r.Quarter="quarter",r.Year="year",r))(zs||{}),Qs=(e=>(e.Open="open",e.High="high",e.Low="low",e.Close="close",e))(Qs||{}),Es=(t=>(t.Asc="asc",t.Desc="desc",t))(Es||{}),Ms=(r=>(r.Minute="minute",r.Hour="hour",r.Day="day",r.Week="week",r.Month="month",r.Quarter="quarter",r.Year="year",r))(Ms||{}),Hs=(e=>(e.Open="open",e.High="high",e.Low="low",e.Close="close",e))(Hs||{}),js=(t=>(t.Asc="asc",t.Desc="desc",t))(js||{}),Ks=(t=>(t.Asc="asc",t.Desc="desc",t))(Ks||{}),Ns=(n=>(n.Timestamp="timestamp",n))(Ns||{}),Xs=(s=>(s.Stocks="stocks",s.Options="options",s.Crypto="crypto",s.Fx="fx",s.Indices="indices",s))(Xs||{}),$s=(t=>(t.Asc="asc",t.Desc="desc",t))($s||{}),Ys=(n=>(n.Ticker="ticker",n))(Ys||{}),Ws=(d=>(d.Second="second",d.Minute="minute",d.Hour="hour",d.Day="day",d.Week="week",d.Month="month",d.Quarter="quarter",d.Year="year",d))(Ws||{}),Js=(t=>(t.Asc="asc",t.Desc="desc",t))(Js||{}),Zs=(r=>(r.Minute="minute",r.Hour="hour",r.Day="day",r.Week="week",r.Month="month",r.Quarter="quarter",r.Year="year",r))(Zs||{}),qs=(e=>(e.Open="open",e.High="high",e.Low="low",e.Close="close",e))(qs||{}),Ps=(t=>(t.Asc="asc",t.Desc="desc",t))(Ps||{}),no=(t=>(t.Business="business",t.RiskFactors="risk_factors",t))(no||{}),eo=(t=>(t.Business="business",t.RiskFactors="risk_factors",t))(eo||{}),to=(r=>(r.Minute="minute",r.Hour="hour",r.Day="day",r.Week="week",r.Month="month",r.Quarter="quarter",r.Year="year",r))(to||{}),io=(e=>(e.Open="open",e.High="high",e.Low="low",e.Close="close",e))(io||{}),so=(t=>(t.Asc="asc",t.Desc="desc",t))(so||{}),oo=(t=>(t.Asc="asc",t.Desc="desc",t))(oo||{}),ro=(n=>(n.Timestamp="timestamp",n))(ro||{}),ao=(r=>(r.Minute="minute",r.Hour="hour",r.Day="day",r.Week="week",r.Month="month",r.Quarter="quarter",r.Year="year",r))(ao||{}),lo=(e=>(e.Open="open",e.High="high",e.Low="low",e.Close="close",e))(lo||{}),go=(t=>(t.Asc="asc",t.Desc="desc",t))(go||{}),co=(r=>(r.Minute="minute",r.Hour="hour",r.Day="day",r.Week="week",r.Month="month",r.Quarter="quarter",r.Year="year",r))(co||{}),po=(e=>(e.Open="open",e.High="high",e.Low="low",e.Close="close",e))(po||{}),fo=(t=>(t.Asc="asc",t.Desc="desc",t))(fo||{}),uo=(t=>(t.Gainers="gainers",t.Losers="losers",t))(uo||{}),yo=(t=>(t.Asc="asc",t.Desc="desc",t))(yo||{}),bo=(n=>(n.Timestamp="timestamp",n))(bo||{}),mo=(s=>(s.Recurring="recurring",s.Special="special",s.Supplemental="supplemental",s.Irregular="irregular",s.Unknown="unknown",s))(mo||{}),ho=(s=>(s.Recurring="recurring",s.Special="special",s.Supplemental="supplemental",s.Irregular="irregular",s.Unknown="unknown",s))(ho||{}),Ro=(i=>(i.ForwardSplit="forward_split",i.ReverseSplit="reverse_split",i.StockDividend="stock_dividend",i))(Ro||{}),xo=(i=>(i.ForwardSplit="forward_split",i.ReverseSplit="reverse_split",i.StockDividend="stock_dividend",i))(xo||{}),Ao=(r=>(r.DirectListingProcess="direct_listing_process",r.History="history",r.New="new",r.Pending="pending",r.Postponed="postponed",r.Rumor="rumor",r.Withdrawn="withdrawn",r))(Ao||{}),ko=(r=>(r.DirectListingProcess="direct_listing_process",r.History="history",r.New="new",r.Pending="pending",r.Postponed="postponed",r.Rumor="rumor",r.Withdrawn="withdrawn",r))(ko||{}),_o=(e=>(e.Stocks="stocks",e.Options="options",e.Crypto="crypto",e.Fx="fx",e))(_o||{}),Go=(i=>(i.Trade="trade",i.Bbo="bbo",i.Nbbo="nbbo",i))(Go||{}),Vo=(i=>(i.Cta="CTA",i.Utp="UTP",i.Opra="OPRA",i))(Vo||{}),Oo=(t=>(t.Asc="asc",t.Desc="desc",t))(Oo||{}),Co=(o=>(o.AssetClass="asset_class",o.Id="id",o.Type="type",o.Name="name",o.DataTypes="data_types",o.Legacy="legacy",o))(Co||{}),So=(r=>(r[r.NUMBER_0=0]="NUMBER_0",r[r.NUMBER_1=1]="NUMBER_1",r[r.NUMBER_2=2]="NUMBER_2",r[r.NUMBER_4=4]="NUMBER_4",r[r.NUMBER_12=12]="NUMBER_12",r[r.NUMBER_24=24]="NUMBER_24",r[r.NUMBER_52=52]="NUMBER_52",r))(So||{}),wo=(e=>(e.Cd="CD",e.Sc="SC",e.Lt="LT",e.St="ST",e))(wo||{}),vo=(t=>(t.Asc="asc",t.Desc="desc",t))(vo||{}),Io=(o=>(o.ExDividendDate="ex_dividend_date",o.PayDate="pay_date",o.DeclarationDate="declaration_date",o.RecordDate="record_date",o.CashAmount="cash_amount",o.Ticker="ticker",o))(Io||{}),Lo=(s=>(s.Stocks="stocks",s.Options="options",s.Crypto="crypto",s.Fx="fx",s.Futures="futures",s))(Lo||{}),Do=(t=>(t.Us="us",t.Global="global",t))(Do||{}),To=(i=>(i.Annual="annual",i.Quarterly="quarterly",i.Ttm="ttm",i))(To||{}),Fo=(t=>(t.Asc="asc",t.Desc="desc",t))(Fo||{}),Bo=(t=>(t.FilingDate="filing_date",t.PeriodOfReportDate="period_of_report_date",t))(Bo||{}),Uo=(r=>(r.DirectListingProcess="direct_listing_process",r.History="history",r.New="new",r.Pending="pending",r.Postponed="postponed",r.Rumor="rumor",r.Withdrawn="withdrawn",r))(Uo||{}),zo=(t=>(t.Asc="asc",t.Desc="desc",t))(zo||{}),Qo=(c=>(c.ListingDate="listing_date",c.Ticker="ticker",c.LastUpdated="last_updated",c.SecurityType="security_type",c.IssuerName="issuer_name",c.CurrencyCode="currency_code",c.Isin="isin",c.UsCode="us_code",c.FinalIssuePrice="final_issue_price",c.MinSharesOffered="min_shares_offered",c.MaxSharesOffered="max_shares_offered",c.LowestOfferPrice="lowest_offer_price",c.HighestOfferPrice="highest_offer_price",c.TotalOfferSize="total_offer_size",c.SharesOutstanding="shares_outstanding",c.PrimaryExchange="primary_exchange",c.LotSize="lot_size",c.SecurityDescription="security_description",c.IpoStatus="ipo_status",c.AnnouncedDate="announced_date",c))(Qo||{}),Eo=(t=>(t.Asc="asc",t.Desc="desc",t))(Eo||{}),Mo=(n=>(n.PublishedUtc="published_utc",n))(Mo||{}),Ho=(t=>(t.Call="call",t.Put="put",t))(Ho||{}),jo=(t=>(t.Asc="asc",t.Desc="desc",t))(jo||{}),Ko=(e=>(e.Ticker="ticker",e.UnderlyingTicker="underlying_ticker",e.ExpirationDate="expiration_date",e.StrikePrice="strike_price",e))(Ko||{}),No=(t=>(t.Asc="asc",t.Desc="desc",t))(No||{}),Xo=(t=>(t.ExecutionDate="execution_date",t.Ticker="ticker",t))(Xo||{}),$o=(s=>(s.Stocks="stocks",s.Options="options",s.Crypto="crypto",s.Fx="fx",s.Indices="indices",s))($o||{}),Yo=(t=>(t.Us="us",t.Global="global",t))(Yo||{}),Wo=(G=>(G.Cs="CS",G.Adrc="ADRC",G.Adrp="ADRP",G.Adrr="ADRR",G.Unit="UNIT",G.Right="RIGHT",G.Pfd="PFD",G.Fund="FUND",G.Sp="SP",G.Warrant="WARRANT",G.Index="INDEX",G.Etf="ETF",G.Etn="ETN",G.Os="OS",G.Gdr="GDR",G.Other="OTHER",G.Nyrs="NYRS",G.Agen="AGEN",G.Eqlk="EQLK",G.Bond="BOND",G.Adrw="ADRW",G.Basket="BASKET",G.Lt="LT",G))(Wo||{}),Jo=(s=>(s.Stocks="stocks",s.Crypto="crypto",s.Fx="fx",s.Otc="otc",s.Indices="indices",s))(Jo||{}),Zo=(t=>(t.Asc="asc",t.Desc="desc",t))(Zo||{}),qo=(y=>(y.Ticker="ticker",y.Name="name",y.Market="market",y.Locale="locale",y.PrimaryExchange="primary_exchange",y.Type="type",y.CurrencySymbol="currency_symbol",y.CurrencyName="currency_name",y.BaseCurrencySymbol="base_currency_symbol",y.BaseCurrencyName="base_currency_name",y.Cik="cik",y.CompositeFigi="composite_figi",y.ShareClassFigi="share_class_figi",y.LastUpdatedUtc="last_updated_utc",y.DelistedUtc="delisted_utc",y))(qo||{});var Ce=class{constructor(n={}){this.apiKey=n.apiKey,this.username=n.username,this.password=n.password,this.accessToken=n.accessToken,this.basePath=n.basePath,this.serverIndex=n.serverIndex,this.baseOptions={...n.baseOptions,headers:{...n.baseOptions?.headers}},this.formDataCtor=n.formDataCtor}isJsonMime(n){let t=new RegExp("^(application/json|[^;/ ]+/[^;/ ]+[+]json)[ ]*(;.*)?$","i");return n!==null&&(t.test(n)||n.toLowerCase()==="application/json-patch+json")}};import Po from"websocket";var Gn=(a,n)=>{if(!n)throw new Error("api key not provided.");let t=new Po.w3cwebsocket(a);return t.onopen=()=>{t.send(JSON.stringify({action:"auth",params:n}))},t};var Ie=(a,n="wss://socket.massive.com")=>Gn(`${n}/crypto`,a);var Le=(a,n="wss://socket.massive.com")=>Gn(`${n}/forex`,a);var De=(a,n="wss://socket.massive.com")=>Gn(`${n}/indices`,a);var Te=(a,n="wss://socket.massive.com")=>Gn(`${n}/options`,a);var Fe=(a,n="wss://socket.massive.com")=>Gn(`${n}/stocks`,a);var Be=(a,n="wss://socket.massive.com",t)=>Gn(`${n}/futures${t?`/${t}`:""}`,a);var nr=(a,n,t)=>({crypto:()=>Ie(a,n),forex:()=>Le(a,n),indices:()=>De(a,n),options:()=>Te(a,n),stocks:()=>Fe(a,n),futures:()=>Be(a,n,t)}),Ue=nr;import er from"axios";var tr=(a,n,t)=>{let i=new Ce({apiKey:a}),e="https://api.massive.com",s=er.create();return s.interceptors.response.use(async o=>{if(t?.pagination&&o?.data?.next_url){let r=await s.get(`${o.data.next_url}&apiKey=${a}`),{results:d,count:l}=r;return{...o.data,results:[...d,...o.data?.results],...o.data?.count&&{count:o.data.count+l}}}return o?.data}),new Oe(i,n||e,s)},ir=(a,n,t,i)=>({rest:tr(a,n,i),websockets:Ue(a,t)}),na=ir;export{Ce as Configuration,Oe as DefaultApi,pi as DefaultApiAxiosParamCreator,mr as DefaultApiFactory,M as DefaultApiFp,Ee as FinancialsPeriodEnum,Me as GetBenzingaV1AnalystInsights200ResponseStatusEnum,He as GetBenzingaV1AnalystInsights400ResponseStatusEnum,je as GetBenzingaV1Analysts200ResponseStatusEnum,Ke as GetBenzingaV1BullsBearsSay200ResponseStatusEnum,Ne as GetBenzingaV1ConsensusRatings200ResponseStatusEnum,Xe as GetBenzingaV1Earnings200ResponseStatusEnum,$e as GetBenzingaV1Firms200ResponseStatusEnum,Ye as GetBenzingaV1Guidance200ResponseStatusEnum,We as GetBenzingaV1Ratings200ResponseStatusEnum,Je as GetBenzingaV2News200ResponseStatusEnum,ui as GetCryptoAggregatesSortEnum,fi as GetCryptoAggregatesTimespanEnum,mi as GetCryptoEMAOrderEnum,bi as GetCryptoEMASeriesTypeEnum,yi as GetCryptoEMATimespanEnum,xi as GetCryptoMACDOrderEnum,Ri as GetCryptoMACDSeriesTypeEnum,hi as GetCryptoMACDTimespanEnum,_i as GetCryptoRSIOrderEnum,ki as GetCryptoRSISeriesTypeEnum,Ai as GetCryptoRSITimespanEnum,Oi as GetCryptoSMAOrderEnum,Vi as GetCryptoSMASeriesTypeEnum,Gi as GetCryptoSMATimespanEnum,Ci as GetCryptoSnapshotDirectionDirectionEnum,Si as GetCryptoTradesOrderEnum,wi as GetCryptoTradesSortEnum,Ze as GetCryptoV1Exchanges200ResponseStatusEnum,vi as GetCurrencyConversionPrecisionEnum,qe as GetEtfGlobalV1Analytics200ResponseStatusEnum,Pe as GetEtfGlobalV1Constituents200ResponseStatusEnum,nt as GetEtfGlobalV1FundFlows200ResponseStatusEnum,et as GetEtfGlobalV1Profiles200ResponseStatusEnum,tt as GetEtfGlobalV1Taxonomies200ResponseStatusEnum,it as GetFedV1Inflation200ResponseStatusEnum,st as GetFedV1InflationExpectations200ResponseStatusEnum,ot as GetFedV1LaborMarket200ResponseStatusEnum,rt as GetFedV1TreasuryYields200ResponseStatusEnum,Li as GetForexAggregatesSortEnum,Ii as GetForexAggregatesTimespanEnum,Fi as GetForexEMAOrderEnum,Ti as GetForexEMASeriesTypeEnum,Di as GetForexEMATimespanEnum,zi as GetForexMACDOrderEnum,Ui as GetForexMACDSeriesTypeEnum,Bi as GetForexMACDTimespanEnum,Qi as GetForexQuotesOrderEnum,Ei as GetForexQuotesSortEnum,ji as GetForexRSIOrderEnum,Hi as GetForexRSISeriesTypeEnum,Mi as GetForexRSITimespanEnum,Xi as GetForexSMAOrderEnum,Ni as GetForexSMASeriesTypeEnum,Ki as GetForexSMATimespanEnum,$i as GetForexSnapshotDirectionDirectionEnum,at as GetForexV1Exchanges200ResponseStatusEnum,Yi as GetFuturesAggregatesSortEnum,Wi as GetFuturesQuotesSortEnum,Ji as GetFuturesTradesSortEnum,dt as GetFuturesVXContracts200ResponseStatusEnum,qi as GetFuturesVXContractsTypeAnyOfEnum,Zi as GetFuturesVXContractsTypeEnum,lt as GetFuturesVXExchanges200ResponseStatusEnum,gt as GetFuturesVXMarketStatus200ResponseStatusEnum,ct as GetFuturesVXProducts200ResponseStatusEnum,ss as GetFuturesVXProductsAssetClassAnyOfEnum,is as GetFuturesVXProductsAssetClassEnum,rs as GetFuturesVXProductsAssetSubClassAnyOfEnum,os as GetFuturesVXProductsAssetSubClassEnum,ns as GetFuturesVXProductsSectorAnyOfEnum,Pi as GetFuturesVXProductsSectorEnum,ts as GetFuturesVXProductsSubSectorAnyOfEnum,es as GetFuturesVXProductsSubSectorEnum,ds as GetFuturesVXProductsTypeAnyOfEnum,as as GetFuturesVXProductsTypeEnum,pt as GetFuturesVXQuotesNew200ResponseStatusEnum,ft as GetFuturesVXSchedules200ResponseStatusEnum,ut as GetFuturesVXSnapshot200ResponseStatusEnum,yt as GetFuturesVXTradesNew200ResponseStatusEnum,gs as GetIndicesAggregatesSortEnum,ls as GetIndicesAggregatesTimespanEnum,fs as GetIndicesEMAOrderEnum,ps as GetIndicesEMASeriesTypeEnum,cs as GetIndicesEMATimespanEnum,bs as GetIndicesMACDOrderEnum,ys as GetIndicesMACDSeriesTypeEnum,us as GetIndicesMACDTimespanEnum,Rs as GetIndicesRSIOrderEnum,hs as GetIndicesRSISeriesTypeEnum,ms as GetIndicesRSITimespanEnum,ks as GetIndicesSMAOrderEnum,As as GetIndicesSMASeriesTypeEnum,xs as GetIndicesSMATimespanEnum,bt as GetIndicesSnapshot200ResponseResultsInnerTimeframeEnum,mt as GetIndicesSnapshot200ResponseResultsInnerTypeEnum,_s as GetIndicesSnapshotOrderEnum,Gs as GetIndicesSnapshotSortEnum,Os as GetOptionsAggregatesSortEnum,Vs as GetOptionsAggregatesTimespanEnum,ht as GetOptionsChain200ResponseResultsInnerDetailsContractTypeEnum,Rt as GetOptionsChain200ResponseResultsInnerDetailsExerciseStyleEnum,xt as GetOptionsChain200ResponseResultsInnerLastQuoteTimeframeEnum,At as GetOptionsChain200ResponseResultsInnerLastTradeTimeframeEnum,Cs as GetOptionsChainContractTypeEnum,Ss as GetOptionsChainOrderEnum,ws as GetOptionsChainSortEnum,Ls as GetOptionsEMAOrderEnum,Is as GetOptionsEMASeriesTypeEnum,vs as GetOptionsEMATimespanEnum,Fs as GetOptionsMACDOrderEnum,Ts as GetOptionsMACDSeriesTypeEnum,Ds as GetOptionsMACDTimespanEnum,Bs as GetOptionsQuotesOrderEnum,Us as GetOptionsQuotesSortEnum,Es as GetOptionsRSIOrderEnum,Qs as GetOptionsRSISeriesTypeEnum,zs as GetOptionsRSITimespanEnum,js as GetOptionsSMAOrderEnum,Hs as GetOptionsSMASeriesTypeEnum,Ms as GetOptionsSMATimespanEnum,Ks as GetOptionsTradesOrderEnum,Ns as GetOptionsTradesSortEnum,kt as GetOptionsV1Exchanges200ResponseStatusEnum,Gt as GetSnapshotSummary200ResponseResultsInnerOptionsContractTypeEnum,Vt as GetSnapshotSummary200ResponseResultsInnerOptionsExerciseStyleEnum,_t as GetSnapshotSummary200ResponseResultsInnerTypeEnum,St as GetSnapshots200ResponseResultsInnerDetailsContractTypeEnum,wt as GetSnapshots200ResponseResultsInnerDetailsExerciseStyleEnum,vt as GetSnapshots200ResponseResultsInnerLastQuoteTimeframeEnum,It as GetSnapshots200ResponseResultsInnerLastTradeTimeframeEnum,Ot as GetSnapshots200ResponseResultsInnerTimeframeEnum,Ct as GetSnapshots200ResponseResultsInnerTypeEnum,Lt as GetSnapshots200ResponseResultsInnerUnderlyingAssetTimeframeEnum,$s as GetSnapshotsOrderEnum,Ys as GetSnapshotsSortEnum,Xs as GetSnapshotsTypeEnum,Js as GetStocksAggregatesSortEnum,Ws as GetStocksAggregatesTimespanEnum,Ps as GetStocksEMAOrderEnum,qs as GetStocksEMASeriesTypeEnum,Zs as GetStocksEMATimespanEnum,Dt as GetStocksFilings10KVXSections200ResponseStatusEnum,eo as GetStocksFilings10KVXSectionsSectionAnyOfEnum,no as GetStocksFilings10KVXSectionsSectionEnum,Tt as GetStocksFilingsVXIndex200ResponseStatusEnum,Ft as GetStocksFilingsVXRiskFactors200ResponseStatusEnum,Bt as GetStocksFinancialsV1BalanceSheets200ResponseStatusEnum,Ut as GetStocksFinancialsV1CashFlowStatements200ResponseStatusEnum,zt as GetStocksFinancialsV1IncomeStatements200ResponseStatusEnum,Qt as GetStocksFinancialsV1Ratios200ResponseStatusEnum,so as GetStocksMACDOrderEnum,io as GetStocksMACDSeriesTypeEnum,to as GetStocksMACDTimespanEnum,oo as GetStocksQuotesOrderEnum,ro as GetStocksQuotesSortEnum,go as GetStocksRSIOrderEnum,lo as GetStocksRSISeriesTypeEnum,ao as GetStocksRSITimespanEnum,fo as GetStocksSMAOrderEnum,po as GetStocksSMASeriesTypeEnum,co as GetStocksSMATimespanEnum,uo as GetStocksSnapshotDirectionDirectionEnum,Et as GetStocksTaxonomiesVXRiskFactors200ResponseStatusEnum,yo as GetStocksTradesOrderEnum,bo as GetStocksTradesSortEnum,Mt as GetStocksV1Dividends200ResponseStatusEnum,ho as GetStocksV1DividendsDistributionTypeAnyOfEnum,mo as GetStocksV1DividendsDistributionTypeEnum,Ht as GetStocksV1Exchanges200ResponseStatusEnum,jt as GetStocksV1ShortInterest200ResponseStatusEnum,Kt as GetStocksV1ShortVolume200ResponseStatusEnum,Nt as GetStocksV1Splits200ResponseStatusEnum,xo as GetStocksV1SplitsAdjustmentTypeAnyOfEnum,Ro as GetStocksV1SplitsAdjustmentTypeEnum,Xt as GetStocksVXFloat200ResponseStatusEnum,$t as GetTicker200ResponseResultsLocaleEnum,Yt as GetTicker200ResponseResultsMarketEnum,Wt as GetTmxV1CorporateEvents200ResponseStatusEnum,Jt as GetV1ReferenceIpos200ResponseStatusEnum,ko as GetV1ReferenceIposIpoStatusAnyOfEnum,Ao as GetV1ReferenceIposIpoStatusEnum,Zt as ListConditions200ResponseResultsInnerAssetClassEnum,qt as ListConditions200ResponseResultsInnerDataTypesEnum,Pt as ListConditions200ResponseResultsInnerTypeEnum,_o as ListConditionsAssetClassEnum,Go as ListConditionsDataTypeEnum,Oo as ListConditionsOrderEnum,Vo as ListConditionsSipEnum,Co as ListConditionsSortEnum,ni as ListDividends200ResponseResultsInnerDividendTypeEnum,wo as ListDividendsDividendTypeEnum,So as ListDividendsFrequencyEnum,vo as ListDividendsOrderEnum,Io as ListDividendsSortEnum,ei as ListExchanges200ResponseResultsInnerAssetClassEnum,ti as ListExchanges200ResponseResultsInnerLocaleEnum,ii as ListExchanges200ResponseResultsInnerTypeEnum,Lo as ListExchangesAssetClassEnum,Do as ListExchangesLocaleEnum,Fo as ListFinancialsOrderEnum,Bo as ListFinancialsSortEnum,To as ListFinancialsTimeframeEnum,si as ListIPOs200ResponseResultsInnerIpoStatusEnum,Uo as ListIPOsIpoStatusEnum,zo as ListIPOsOrderEnum,Qo as ListIPOsSortEnum,oi as ListNews200ResponseResultsInnerInsightsInnerSentimentEnum,Eo as ListNewsOrderEnum,Mo as ListNewsSortEnum,ri as ListOptionsContracts200ResponseResultsInnerExerciseStyleEnum,Ho as ListOptionsContractsContractTypeEnum,jo as ListOptionsContractsOrderEnum,Ko as ListOptionsContractsSortEnum,No as ListStockSplitsOrderEnum,Xo as ListStockSplitsSortEnum,ai as ListTickerTypes200ResponseResultsInnerAssetClassEnum,di as ListTickerTypes200ResponseResultsInnerLocaleEnum,$o as ListTickerTypesAssetClassEnum,Yo as ListTickerTypesLocaleEnum,li as ListTickers200ResponseResultsInnerLocaleEnum,gi as ListTickers200ResponseResultsInnerMarketEnum,Jo as ListTickersMarketEnum,Zo as ListTickersOrderEnum,qo as ListTickersSortEnum,Wo as ListTickersTypeEnum,ci as MapKeyTypeEnum,ir as MassiveClient,na as default,Ie as getCryptoWebsocket,Le as getForexWebsocket,Be as getFuturesWebsocket,De as getIndicesWebsocket,Te as getOptionsWebsocket,Fe as getStocksWebsocket,tr as restClient,nr as websocketClient};
1
+ import H from"axios";import Qe from"axios";var T="https://api.massive.com".replace(/\/+$/,"");var Ge=class{constructor(n,t=T,i=Qe){this.basePath=t;this.axios=i;n&&(this.configuration=n,this.basePath=n.basePath??t)}},Ve=class extends Error{constructor(t,i){super(i);this.field=t;this.name="RequiredError"}},D={};var F="https://example.com",$=function(a,n,t){if(t==null)throw new Ve(n,`Required parameter ${n} was null or undefined when calling ${a}.`)},B=async function(a,n,t){if(t&&t.apiKey){let i=typeof t.apiKey=="function"?await t.apiKey(n):await t.apiKey;a[n]=i}};function ve(a,n,t=""){n!=null&&(typeof n=="object"?Array.isArray(n)||n instanceof Set?n.forEach(i=>ve(a,i,t)):Object.keys(n).forEach(i=>ve(a,n[i],`${t}${t!==""?".":""}${i}`)):a.has(t)?a.append(t,n):a.set(t,n))}var U=function(a,...n){let t=new URLSearchParams(a.search);ve(t,n),a.search=t.toString()};var z=function(a){return a.pathname+a.search+a.hash},Q=function(a,n,t,i){return(e=n,s=t)=>{let o={...a.options,url:(e.defaults.baseURL?"":i?.basePath??s)+a.url};return e.request(o)}};var Ee=(o=>(o.Q="Q",o.T="T",o.Qa="QA",o.Ta="TA",o.Y="Y",o.Ya="YA",o))(Ee||{}),Me=(n=>(n.Ok="OK",n))(Me||{}),He=(n=>(n.Error="ERROR",n))(He||{}),je=(n=>(n.Ok="OK",n))(je||{}),Ke=(n=>(n.Ok="OK",n))(Ke||{}),Ne=(n=>(n.Ok="OK",n))(Ne||{}),Xe=(n=>(n.Ok="OK",n))(Xe||{}),$e=(n=>(n.Ok="OK",n))($e||{}),Ye=(n=>(n.Ok="OK",n))(Ye||{}),We=(n=>(n.Ok="OK",n))(We||{}),Je=(n=>(n.Ok="OK",n))(Je||{}),Ze=(n=>(n.Ok="OK",n))(Ze||{}),qe=(n=>(n.Ok="OK",n))(qe||{}),Pe=(n=>(n.Ok="OK",n))(Pe||{}),nt=(n=>(n.Ok="OK",n))(nt||{}),et=(n=>(n.Ok="OK",n))(et||{}),tt=(n=>(n.Ok="OK",n))(tt||{}),it=(n=>(n.Ok="OK",n))(it||{}),st=(n=>(n.Ok="OK",n))(st||{}),ot=(n=>(n.Ok="OK",n))(ot||{}),rt=(n=>(n.Ok="OK",n))(rt||{}),at=(n=>(n.Ok="OK",n))(at||{}),dt=(n=>(n.Ok="OK",n))(dt||{}),lt=(n=>(n.Ok="OK",n))(lt||{}),gt=(n=>(n.Ok="OK",n))(gt||{}),ct=(n=>(n.Ok="OK",n))(ct||{}),pt=(n=>(n.Ok="OK",n))(pt||{}),ft=(n=>(n.Ok="OK",n))(ft||{}),ut=(n=>(n.Ok="OK",n))(ut||{}),yt=(n=>(n.Ok="OK",n))(yt||{}),bt=(t=>(t.Delayed="DELAYED",t.RealTime="REAL-TIME",t))(bt||{}),mt=(n=>(n.Indices="indices",n))(mt||{}),ht=(i=>(i.Put="put",i.Call="call",i.Other="other",i))(ht||{}),Rt=(i=>(i.American="american",i.European="european",i.Bermudan="bermudan",i))(Rt||{}),xt=(t=>(t.Delayed="DELAYED",t.RealTime="REAL-TIME",t))(xt||{}),At=(t=>(t.Delayed="DELAYED",t.RealTime="REAL-TIME",t))(At||{}),kt=(n=>(n.Ok="OK",n))(kt||{}),_t=(e=>(e.Stocks="stocks",e.Crypto="crypto",e.Options="options",e.Fx="fx",e))(_t||{}),Gt=(i=>(i.Put="put",i.Call="call",i.Other="other",i))(Gt||{}),Vt=(i=>(i.American="american",i.European="european",i.Bermudan="bermudan",i))(Vt||{}),Ot=(t=>(t.Delayed="DELAYED",t.RealTime="REAL-TIME",t))(Ot||{}),Ct=(s=>(s.Stocks="stocks",s.Options="options",s.Fx="fx",s.Crypto="crypto",s.Indices="indices",s))(Ct||{}),St=(i=>(i.Put="put",i.Call="call",i.Other="other",i))(St||{}),wt=(i=>(i.American="american",i.European="european",i.Bermudan="bermudan",i))(wt||{}),vt=(t=>(t.Delayed="DELAYED",t.RealTime="REAL-TIME",t))(vt||{}),It=(t=>(t.Delayed="DELAYED",t.RealTime="REAL-TIME",t))(It||{}),Lt=(t=>(t.Delayed="DELAYED",t.RealTime="REAL-TIME",t))(Lt||{}),Tt=(n=>(n.Ok="OK",n))(Tt||{}),Dt=(n=>(n.Ok="OK",n))(Dt||{}),Ft=(n=>(n.Ok="OK",n))(Ft||{}),Bt=(n=>(n.Ok="OK",n))(Bt||{}),Ut=(n=>(n.Ok="OK",n))(Ut||{}),zt=(n=>(n.Ok="OK",n))(zt||{}),Qt=(n=>(n.Ok="OK",n))(Qt||{}),Et=(n=>(n.Ok="OK",n))(Et||{}),Mt=(n=>(n.Ok="OK",n))(Mt||{}),Ht=(n=>(n.Ok="OK",n))(Ht||{}),jt=(n=>(n.Ok="OK",n))(jt||{}),Kt=(n=>(n.Ok="OK",n))(Kt||{}),Nt=(n=>(n.Ok="OK",n))(Nt||{}),Xt=(n=>(n.Ok="OK",n))(Xt||{}),$t=(n=>(n.Ok="OK",n))($t||{}),Yt=(t=>(t.Us="us",t.Global="global",t))(Yt||{}),Wt=(s=>(s.Stocks="stocks",s.Crypto="crypto",s.Fx="fx",s.Otc="otc",s.Indices="indices",s))(Wt||{}),Jt=(n=>(n.Ok="OK",n))(Jt||{}),Zt=(n=>(n.Ok="OK",n))(Zt||{}),qt=(e=>(e.Stocks="stocks",e.Options="options",e.Crypto="crypto",e.Fx="fx",e))(qt||{}),Pt=(i=>(i.Trade="trade",i.Bbo="bbo",i.Nbbo="nbbo",i))(Pt||{}),ni=(d=>(d.SaleCondition="sale_condition",d.QuoteCondition="quote_condition",d.SipGeneratedFlag="sip_generated_flag",d.FinancialStatusIndicator="financial_status_indicator",d.ShortSaleRestrictionIndicator="short_sale_restriction_indicator",d.SettlementCondition="settlement_condition",d.MarketCondition="market_condition",d.TradeThruExempt="trade_thru_exempt",d))(ni||{}),ei=(e=>(e.Cd="CD",e.Sc="SC",e.Lt="LT",e.St="ST",e))(ei||{}),ti=(s=>(s.Stocks="stocks",s.Options="options",s.Crypto="crypto",s.Fx="fx",s.Futures="futures",s))(ti||{}),ii=(t=>(t.Us="us",t.Global="global",t))(ii||{}),si=(i=>(i.Exchange="exchange",i.Trf="TRF",i.Sip="SIP",i))(si||{}),oi=(r=>(r.DirectListingProcess="direct_listing_process",r.History="history",r.New="new",r.Pending="pending",r.Postponed="postponed",r.Rumor="rumor",r.Withdrawn="withdrawn",r))(oi||{}),ri=(i=>(i.Positive="positive",i.Neutral="neutral",i.Negative="negative",i))(ri||{}),ai=(i=>(i.American="american",i.European="european",i.Bermudan="bermudan",i))(ai||{}),di=(s=>(s.Stocks="stocks",s.Options="options",s.Crypto="crypto",s.Fx="fx",s.Indices="indices",s))(di||{}),li=(t=>(t.Us="us",t.Global="global",t))(li||{}),gi=(t=>(t.Us="us",t.Global="global",t))(gi||{}),ci=(s=>(s.Stocks="stocks",s.Crypto="crypto",s.Fx="fx",s.Otc="otc",s.Indices="indices",s))(ci||{}),pi=(e=>(e.String="string",e.Int="int",e.Int64="int64",e.Float64="float64",e))(pi||{}),fi=function(a){return{deprecatedGetCryptoSnapshotTickerBook:async(n,t={})=>{$("deprecatedGetCryptoSnapshotTickerBook","ticker",n);let i="/v2/snapshot/locale/global/markets/crypto/tickers/{ticker}/book".replace("{ticker}",encodeURIComponent(String(n))),e=new URL(i,F),s;a&&(s=a.baseOptions);let o={method:"GET",...s,...t},r={},d={};await B(d,"apiKey",a),U(e,d);let l=s&&s.headers?s.headers:{};return o.headers={...r,...l,...t.headers},{url:z(e),options:o}},deprecatedGetHistoricCryptoTrades:async(n,t,i,e,s,o={})=>{$("deprecatedGetHistoricCryptoTrades","from",n),$("deprecatedGetHistoricCryptoTrades","to",t),$("deprecatedGetHistoricCryptoTrades","date",i);let r="/v1/historic/crypto/{from}/{to}/{date}".replace("{from}",encodeURIComponent(String(n))).replace("{to}",encodeURIComponent(String(t))).replace("{date}",encodeURIComponent(String(i))),d=new URL(r,F),l;a&&(l=a.baseOptions);let g={method:"GET",...l,...o},b={},p={};await B(p,"apiKey",a),e!==void 0&&(p.offset=e),s!==void 0&&(p.limit=s),U(d,p);let f=l&&l.headers?l.headers:{};return g.headers={...b,...f,...o.headers},{url:z(d),options:g}},deprecatedGetHistoricForexQuotes:async(n,t,i,e,s,o={})=>{$("deprecatedGetHistoricForexQuotes","from",n),$("deprecatedGetHistoricForexQuotes","to",t),$("deprecatedGetHistoricForexQuotes","date",i);let r="/v1/historic/forex/{from}/{to}/{date}".replace("{from}",encodeURIComponent(String(n))).replace("{to}",encodeURIComponent(String(t))).replace("{date}",encodeURIComponent(String(i))),d=new URL(r,F),l;a&&(l=a.baseOptions);let g={method:"GET",...l,...o},b={},p={};await B(p,"apiKey",a),e!==void 0&&(p.offset=e),s!==void 0&&(p.limit=s),U(d,p);let f=l&&l.headers?l.headers:{};return g.headers={...b,...f,...o.headers},{url:z(d),options:g}},deprecatedGetHistoricStocksQuotes:async(n,t,i,e,s,o,r={})=>{$("deprecatedGetHistoricStocksQuotes","ticker",n),$("deprecatedGetHistoricStocksQuotes","date",t);let d="/v2/ticks/stocks/nbbo/{ticker}/{date}".replace("{ticker}",encodeURIComponent(String(n))).replace("{date}",encodeURIComponent(String(t))),l=new URL(d,F),g;a&&(g=a.baseOptions);let b={method:"GET",...g,...r},p={},f={};await B(f,"apiKey",a),i!==void 0&&(f.timestamp=i),e!==void 0&&(f.timestampLimit=e),s!==void 0&&(f.reverse=s),o!==void 0&&(f.limit=o),U(l,f);let m=g&&g.headers?g.headers:{};return b.headers={...p,...m,...r.headers},{url:z(l),options:b}},deprecatedGetHistoricStocksTrades:async(n,t,i,e,s,o,r={})=>{$("deprecatedGetHistoricStocksTrades","ticker",n),$("deprecatedGetHistoricStocksTrades","date",t);let d="/v2/ticks/stocks/trades/{ticker}/{date}".replace("{ticker}",encodeURIComponent(String(n))).replace("{date}",encodeURIComponent(String(t))),l=new URL(d,F),g;a&&(g=a.baseOptions);let b={method:"GET",...g,...r},p={},f={};await B(f,"apiKey",a),i!==void 0&&(f.timestamp=i),e!==void 0&&(f.timestampLimit=e),s!==void 0&&(f.reverse=s),o!==void 0&&(f.limit=o),U(l,f);let m=g&&g.headers?g.headers:{};return b.headers={...p,...m,...r.headers},{url:z(l),options:b}},getBenzingaV1AnalystInsights:async(n,t,i,e,s,o,r,d,l,g,b,p,f,m,y,u,h,R,x,c,k,A,V,w,O,I,_,j,L,K,X,C,v,S,en,nn,on,sn,Y,rn,an,M,dn,pn={})=>{let fn="/benzinga/v1/analyst-insights",un=new URL(fn,F),ln;a&&(ln=a.baseOptions);let gn={method:"GET",...ln,...pn},yn={},W={};await B(W,"apiKey",a),n!==void 0&&(W.date=n),t!==void 0&&(W["date.any_of"]=t),i!==void 0&&(W["date.gt"]=i),e!==void 0&&(W["date.gte"]=e),s!==void 0&&(W["date.lt"]=s),o!==void 0&&(W["date.lte"]=o),r!==void 0&&(W.ticker=r),d!==void 0&&(W["ticker.any_of"]=d),l!==void 0&&(W["ticker.gt"]=l),g!==void 0&&(W["ticker.gte"]=g),b!==void 0&&(W["ticker.lt"]=b),p!==void 0&&(W["ticker.lte"]=p),f!==void 0&&(W.last_updated=f),m!==void 0&&(W["last_updated.gt"]=m),y!==void 0&&(W["last_updated.gte"]=y),u!==void 0&&(W["last_updated.lt"]=u),h!==void 0&&(W["last_updated.lte"]=h),R!==void 0&&(W.firm=R),x!==void 0&&(W["firm.any_of"]=x),c!==void 0&&(W["firm.gt"]=c),k!==void 0&&(W["firm.gte"]=k),A!==void 0&&(W["firm.lt"]=A),V!==void 0&&(W["firm.lte"]=V),w!==void 0&&(W.rating_action=w),O!==void 0&&(W["rating_action.any_of"]=O),I!==void 0&&(W["rating_action.gt"]=I),_!==void 0&&(W["rating_action.gte"]=_),j!==void 0&&(W["rating_action.lt"]=j),L!==void 0&&(W["rating_action.lte"]=L),K!==void 0&&(W.benzinga_firm_id=K),X!==void 0&&(W["benzinga_firm_id.any_of"]=X),C!==void 0&&(W["benzinga_firm_id.gt"]=C),v!==void 0&&(W["benzinga_firm_id.gte"]=v),S!==void 0&&(W["benzinga_firm_id.lt"]=S),en!==void 0&&(W["benzinga_firm_id.lte"]=en),nn!==void 0&&(W.benzinga_rating_id=nn),on!==void 0&&(W["benzinga_rating_id.any_of"]=on),sn!==void 0&&(W["benzinga_rating_id.gt"]=sn),Y!==void 0&&(W["benzinga_rating_id.gte"]=Y),rn!==void 0&&(W["benzinga_rating_id.lt"]=rn),an!==void 0&&(W["benzinga_rating_id.lte"]=an),M!==void 0&&(W.limit=M),dn!==void 0&&(W.sort=dn),U(un,W);let J=ln&&ln.headers?ln.headers:{};return gn.headers={...yn,...J,...pn.headers},{url:z(un),options:gn}},getBenzingaV1Analysts:async(n,t,i,e,s,o,r,d,l,g,b,p,f,m,y,u,h,R,x,c,k,A,V,w,O,I,_={})=>{let j="/benzinga/v1/analysts",L=new URL(j,F),K;a&&(K=a.baseOptions);let X={method:"GET",...K,..._},C={},v={};await B(v,"apiKey",a),n!==void 0&&(v.benzinga_id=n),t!==void 0&&(v["benzinga_id.any_of"]=t),i!==void 0&&(v["benzinga_id.gt"]=i),e!==void 0&&(v["benzinga_id.gte"]=e),s!==void 0&&(v["benzinga_id.lt"]=s),o!==void 0&&(v["benzinga_id.lte"]=o),r!==void 0&&(v.benzinga_firm_id=r),d!==void 0&&(v["benzinga_firm_id.any_of"]=d),l!==void 0&&(v["benzinga_firm_id.gt"]=l),g!==void 0&&(v["benzinga_firm_id.gte"]=g),b!==void 0&&(v["benzinga_firm_id.lt"]=b),p!==void 0&&(v["benzinga_firm_id.lte"]=p),f!==void 0&&(v.firm_name=f),m!==void 0&&(v["firm_name.any_of"]=m),y!==void 0&&(v["firm_name.gt"]=y),u!==void 0&&(v["firm_name.gte"]=u),h!==void 0&&(v["firm_name.lt"]=h),R!==void 0&&(v["firm_name.lte"]=R),x!==void 0&&(v.full_name=x),c!==void 0&&(v["full_name.any_of"]=c),k!==void 0&&(v["full_name.gt"]=k),A!==void 0&&(v["full_name.gte"]=A),V!==void 0&&(v["full_name.lt"]=V),w!==void 0&&(v["full_name.lte"]=w),O!==void 0&&(v.limit=O),I!==void 0&&(v.sort=I),U(L,v);let S=K&&K.headers?K.headers:{};return X.headers={...C,...S,..._.headers},{url:z(L),options:X}},getBenzingaV1BullsBearsSay:async(n,t,i,e,s,o,r,d,l,g,b,p,f,m,y,u,h,R,x,c={})=>{let k="/benzinga/v1/bulls-bears-say",A=new URL(k,F),V;a&&(V=a.baseOptions);let w={method:"GET",...V,...c},O={},I={};await B(I,"apiKey",a),n!==void 0&&(I.ticker=n),t!==void 0&&(I["ticker.any_of"]=t),i!==void 0&&(I["ticker.gt"]=i),e!==void 0&&(I["ticker.gte"]=e),s!==void 0&&(I["ticker.lt"]=s),o!==void 0&&(I["ticker.lte"]=o),r!==void 0&&(I.benzinga_id=r),d!==void 0&&(I["benzinga_id.any_of"]=d),l!==void 0&&(I["benzinga_id.gt"]=l),g!==void 0&&(I["benzinga_id.gte"]=g),b!==void 0&&(I["benzinga_id.lt"]=b),p!==void 0&&(I["benzinga_id.lte"]=p),f!==void 0&&(I.last_updated=f),m!==void 0&&(I["last_updated.gt"]=m),y!==void 0&&(I["last_updated.gte"]=y),u!==void 0&&(I["last_updated.lt"]=u),h!==void 0&&(I["last_updated.lte"]=h),R!==void 0&&(I.limit=R),x!==void 0&&(I.sort=x),U(A,I);let _=V&&V.headers?V.headers:{};return w.headers={...O,..._,...c.headers},{url:z(A),options:w}},getBenzingaV1ConsensusRatings:async(n,t,i,e,s,o,r,d,l={})=>{$("getBenzingaV1ConsensusRatings","ticker",n);let g="/benzinga/v1/consensus-ratings/{ticker}".replace("{ticker}",encodeURIComponent(String(n))),b=new URL(g,F),p;a&&(p=a.baseOptions);let f={method:"GET",...p,...l},m={},y={};await B(y,"apiKey",a),t!==void 0&&(y.date=t),i!==void 0&&(y["date.any_of"]=i),e!==void 0&&(y["date.gt"]=e),s!==void 0&&(y["date.gte"]=s),o!==void 0&&(y["date.lt"]=o),r!==void 0&&(y["date.lte"]=r),d!==void 0&&(y.limit=d),U(b,y);let u=p&&p.headers?p.headers:{};return f.headers={...m,...u,...l.headers},{url:z(b),options:f}},getBenzingaV1Earnings:async(n,t,i,e,s,o,r,d,l,g,b,p,f,m,y,u,h,R,x,c,k,A,V,w,O,I,_,j,L,K,X,C,v,S,en,nn,on,sn,Y,rn,an,M,dn,pn,fn,un,ln,gn,yn,W,J,bn,cn,mn,Z,G,hn={})=>{let Rn="/benzinga/v1/earnings",An=new URL(Rn,F),xn;a&&(xn=a.baseOptions);let P={method:"GET",...xn,...hn},kn={},tn={};await B(tn,"apiKey",a),n!==void 0&&(tn.date=n),t!==void 0&&(tn["date.any_of"]=t),i!==void 0&&(tn["date.gt"]=i),e!==void 0&&(tn["date.gte"]=e),s!==void 0&&(tn["date.lt"]=s),o!==void 0&&(tn["date.lte"]=o),r!==void 0&&(tn.ticker=r),d!==void 0&&(tn["ticker.any_of"]=d),l!==void 0&&(tn["ticker.gt"]=l),g!==void 0&&(tn["ticker.gte"]=g),b!==void 0&&(tn["ticker.lt"]=b),p!==void 0&&(tn["ticker.lte"]=p),f!==void 0&&(tn.importance=f),m!==void 0&&(tn["importance.any_of"]=m),y!==void 0&&(tn["importance.gt"]=y),u!==void 0&&(tn["importance.gte"]=u),h!==void 0&&(tn["importance.lt"]=h),R!==void 0&&(tn["importance.lte"]=R),x!==void 0&&(tn.last_updated=x),c!==void 0&&(tn["last_updated.any_of"]=c),k!==void 0&&(tn["last_updated.gt"]=k),A!==void 0&&(tn["last_updated.gte"]=A),V!==void 0&&(tn["last_updated.lt"]=V),w!==void 0&&(tn["last_updated.lte"]=w),O!==void 0&&(tn.date_status=O),I!==void 0&&(tn["date_status.any_of"]=I),_!==void 0&&(tn["date_status.gt"]=_),j!==void 0&&(tn["date_status.gte"]=j),L!==void 0&&(tn["date_status.lt"]=L),K!==void 0&&(tn["date_status.lte"]=K),X!==void 0&&(tn.eps_surprise_percent=X),C!==void 0&&(tn["eps_surprise_percent.any_of"]=C),v!==void 0&&(tn["eps_surprise_percent.gt"]=v),S!==void 0&&(tn["eps_surprise_percent.gte"]=S),en!==void 0&&(tn["eps_surprise_percent.lt"]=en),nn!==void 0&&(tn["eps_surprise_percent.lte"]=nn),on!==void 0&&(tn.revenue_surprise_percent=on),sn!==void 0&&(tn["revenue_surprise_percent.any_of"]=sn),Y!==void 0&&(tn["revenue_surprise_percent.gt"]=Y),rn!==void 0&&(tn["revenue_surprise_percent.gte"]=rn),an!==void 0&&(tn["revenue_surprise_percent.lt"]=an),M!==void 0&&(tn["revenue_surprise_percent.lte"]=M),dn!==void 0&&(tn.fiscal_year=dn),pn!==void 0&&(tn["fiscal_year.any_of"]=pn),fn!==void 0&&(tn["fiscal_year.gt"]=fn),un!==void 0&&(tn["fiscal_year.gte"]=un),ln!==void 0&&(tn["fiscal_year.lt"]=ln),gn!==void 0&&(tn["fiscal_year.lte"]=gn),yn!==void 0&&(tn.fiscal_period=yn),W!==void 0&&(tn["fiscal_period.any_of"]=W),J!==void 0&&(tn["fiscal_period.gt"]=J),bn!==void 0&&(tn["fiscal_period.gte"]=bn),cn!==void 0&&(tn["fiscal_period.lt"]=cn),mn!==void 0&&(tn["fiscal_period.lte"]=mn),Z!==void 0&&(tn.limit=Z),G!==void 0&&(tn.sort=G),U(An,tn);let Vn=xn&&xn.headers?xn.headers:{};return P.headers={...kn,...Vn,...hn.headers},{url:z(An),options:P}},getBenzingaV1Firms:async(n,t,i,e,s,o,r,d,l={})=>{let g="/benzinga/v1/firms",b=new URL(g,F),p;a&&(p=a.baseOptions);let f={method:"GET",...p,...l},m={},y={};await B(y,"apiKey",a),n!==void 0&&(y.benzinga_id=n),t!==void 0&&(y["benzinga_id.any_of"]=t),i!==void 0&&(y["benzinga_id.gt"]=i),e!==void 0&&(y["benzinga_id.gte"]=e),s!==void 0&&(y["benzinga_id.lt"]=s),o!==void 0&&(y["benzinga_id.lte"]=o),r!==void 0&&(y.limit=r),d!==void 0&&(y.sort=d),U(b,y);let u=p&&p.headers?p.headers:{};return f.headers={...m,...u,...l.headers},{url:z(b),options:f}},getBenzingaV1Guidance:async(n,t,i,e,s,o,r,d,l,g,b,p,f,m,y,u,h,R,x,c,k,A,V,w,O,I,_,j,L,K,X,C,v,S,en,nn,on,sn,Y,rn,an,M,dn,pn,fn={})=>{let un="/benzinga/v1/guidance",ln=new URL(un,F),gn;a&&(gn=a.baseOptions);let yn={method:"GET",...gn,...fn},W={},J={};await B(J,"apiKey",a),n!==void 0&&(J.date=n),t!==void 0&&(J["date.any_of"]=t),i!==void 0&&(J["date.gt"]=i),e!==void 0&&(J["date.gte"]=e),s!==void 0&&(J["date.lt"]=s),o!==void 0&&(J["date.lte"]=o),r!==void 0&&(J.ticker=r),d!==void 0&&(J["ticker.any_of"]=d),l!==void 0&&(J["ticker.gt"]=l),g!==void 0&&(J["ticker.gte"]=g),b!==void 0&&(J["ticker.lt"]=b),p!==void 0&&(J["ticker.lte"]=p),f!==void 0&&(J.positioning=f),m!==void 0&&(J["positioning.any_of"]=m),y!==void 0&&(J["positioning.gt"]=y),u!==void 0&&(J["positioning.gte"]=u),h!==void 0&&(J["positioning.lt"]=h),R!==void 0&&(J["positioning.lte"]=R),x!==void 0&&(J.importance=x),c!==void 0&&(J["importance.any_of"]=c),k!==void 0&&(J["importance.gt"]=k),A!==void 0&&(J["importance.gte"]=A),V!==void 0&&(J["importance.lt"]=V),w!==void 0&&(J["importance.lte"]=w),O!==void 0&&(J.last_updated=O),I!==void 0&&(J["last_updated.any_of"]=I),_!==void 0&&(J["last_updated.gt"]=_),j!==void 0&&(J["last_updated.gte"]=j),L!==void 0&&(J["last_updated.lt"]=L),K!==void 0&&(J["last_updated.lte"]=K),X!==void 0&&(J.fiscal_year=X),C!==void 0&&(J["fiscal_year.any_of"]=C),v!==void 0&&(J["fiscal_year.gt"]=v),S!==void 0&&(J["fiscal_year.gte"]=S),en!==void 0&&(J["fiscal_year.lt"]=en),nn!==void 0&&(J["fiscal_year.lte"]=nn),on!==void 0&&(J.fiscal_period=on),sn!==void 0&&(J["fiscal_period.any_of"]=sn),Y!==void 0&&(J["fiscal_period.gt"]=Y),rn!==void 0&&(J["fiscal_period.gte"]=rn),an!==void 0&&(J["fiscal_period.lt"]=an),M!==void 0&&(J["fiscal_period.lte"]=M),dn!==void 0&&(J.limit=dn),pn!==void 0&&(J.sort=pn),U(ln,J);let bn=gn&&gn.headers?gn.headers:{};return yn.headers={...W,...bn,...fn.headers},{url:z(ln),options:yn}},getBenzingaV1Ratings:async(n,t,i,e,s,o,r,d,l,g,b,p,f,m,y,u,h,R,x,c,k,A,V,w,O,I,_,j,L,K,X,C,v,S,en,nn,on,sn,Y,rn,an,M,dn,pn,fn,un,ln,gn,yn,W,J,bn,cn,mn,Z={})=>{let G="/benzinga/v1/ratings",hn=new URL(G,F),Rn;a&&(Rn=a.baseOptions);let An={method:"GET",...Rn,...Z},xn={},P={};await B(P,"apiKey",a),n!==void 0&&(P.date=n),t!==void 0&&(P["date.any_of"]=t),i!==void 0&&(P["date.gt"]=i),e!==void 0&&(P["date.gte"]=e),s!==void 0&&(P["date.lt"]=s),o!==void 0&&(P["date.lte"]=o),r!==void 0&&(P.ticker=r),d!==void 0&&(P["ticker.any_of"]=d),l!==void 0&&(P["ticker.gt"]=l),g!==void 0&&(P["ticker.gte"]=g),b!==void 0&&(P["ticker.lt"]=b),p!==void 0&&(P["ticker.lte"]=p),f!==void 0&&(P.importance=f),m!==void 0&&(P["importance.gt"]=m),y!==void 0&&(P["importance.gte"]=y),u!==void 0&&(P["importance.lt"]=u),h!==void 0&&(P["importance.lte"]=h),R!==void 0&&(P.last_updated=R),x!==void 0&&(P["last_updated.gt"]=x),c!==void 0&&(P["last_updated.gte"]=c),k!==void 0&&(P["last_updated.lt"]=k),A!==void 0&&(P["last_updated.lte"]=A),V!==void 0&&(P.rating_action=V),w!==void 0&&(P["rating_action.any_of"]=w),O!==void 0&&(P["rating_action.gt"]=O),I!==void 0&&(P["rating_action.gte"]=I),_!==void 0&&(P["rating_action.lt"]=_),j!==void 0&&(P["rating_action.lte"]=j),L!==void 0&&(P.price_target_action=L),K!==void 0&&(P["price_target_action.any_of"]=K),X!==void 0&&(P["price_target_action.gt"]=X),C!==void 0&&(P["price_target_action.gte"]=C),v!==void 0&&(P["price_target_action.lt"]=v),S!==void 0&&(P["price_target_action.lte"]=S),en!==void 0&&(P.benzinga_id=en),nn!==void 0&&(P["benzinga_id.any_of"]=nn),on!==void 0&&(P["benzinga_id.gt"]=on),sn!==void 0&&(P["benzinga_id.gte"]=sn),Y!==void 0&&(P["benzinga_id.lt"]=Y),rn!==void 0&&(P["benzinga_id.lte"]=rn),an!==void 0&&(P.benzinga_analyst_id=an),M!==void 0&&(P["benzinga_analyst_id.any_of"]=M),dn!==void 0&&(P["benzinga_analyst_id.gt"]=dn),pn!==void 0&&(P["benzinga_analyst_id.gte"]=pn),fn!==void 0&&(P["benzinga_analyst_id.lt"]=fn),un!==void 0&&(P["benzinga_analyst_id.lte"]=un),ln!==void 0&&(P.benzinga_firm_id=ln),gn!==void 0&&(P["benzinga_firm_id.any_of"]=gn),yn!==void 0&&(P["benzinga_firm_id.gt"]=yn),W!==void 0&&(P["benzinga_firm_id.gte"]=W),J!==void 0&&(P["benzinga_firm_id.lt"]=J),bn!==void 0&&(P["benzinga_firm_id.lte"]=bn),cn!==void 0&&(P.limit=cn),mn!==void 0&&(P.sort=mn),U(hn,P);let kn=Rn&&Rn.headers?Rn.headers:{};return An.headers={...xn,...kn,...Z.headers},{url:z(hn),options:An}},getBenzingaV2News:async(n,t,i,e,s,o,r,d,l,g,b,p,f,m,y,u,h,R,x,c,k,A,V,w,O,I={})=>{let _="/benzinga/v2/news",j=new URL(_,F),L;a&&(L=a.baseOptions);let K={method:"GET",...L,...I},X={},C={};await B(C,"apiKey",a),n!==void 0&&(C.published=n),t!==void 0&&(C["published.gt"]=t),i!==void 0&&(C["published.gte"]=i),e!==void 0&&(C["published.lt"]=e),s!==void 0&&(C["published.lte"]=s),o!==void 0&&(C.channels=o),r!==void 0&&(C["channels.all_of"]=r),d!==void 0&&(C["channels.any_of"]=d),l!==void 0&&(C.tags=l),g!==void 0&&(C["tags.all_of"]=g),b!==void 0&&(C["tags.any_of"]=b),p!==void 0&&(C.author=p),f!==void 0&&(C["author.any_of"]=f),m!==void 0&&(C["author.gt"]=m),y!==void 0&&(C["author.gte"]=y),u!==void 0&&(C["author.lt"]=u),h!==void 0&&(C["author.lte"]=h),R!==void 0&&(C.stocks=R),x!==void 0&&(C["stocks.all_of"]=x),c!==void 0&&(C["stocks.any_of"]=c),k!==void 0&&(C.tickers=k),A!==void 0&&(C["tickers.all_of"]=A),V!==void 0&&(C["tickers.any_of"]=V),w!==void 0&&(C.limit=w),O!==void 0&&(C.sort=O),U(j,C);let v=L&&L.headers?L.headers:{};return K.headers={...X,...v,...I.headers},{url:z(j),options:K}},getCryptoAggregates:async(n,t,i,e,s,o,r,d,l={})=>{$("getCryptoAggregates","cryptoTicker",n),$("getCryptoAggregates","multiplier",t),$("getCryptoAggregates","timespan",i),$("getCryptoAggregates","from",e),$("getCryptoAggregates","to",s);let g="/v2/aggs/ticker/{cryptoTicker}/range/{multiplier}/{timespan}/{from}/{to}".replace("{cryptoTicker}",encodeURIComponent(String(n))).replace("{multiplier}",encodeURIComponent(String(t))).replace("{timespan}",encodeURIComponent(String(i))).replace("{from}",encodeURIComponent(String(e))).replace("{to}",encodeURIComponent(String(s))),b=new URL(g,F),p;a&&(p=a.baseOptions);let f={method:"GET",...p,...l},m={},y={};await B(y,"apiKey",a),o!==void 0&&(y.adjusted=o),r!==void 0&&(y.sort=r),d!==void 0&&(y.limit=d),U(b,y);let u=p&&p.headers?p.headers:{};return f.headers={...m,...u,...l.headers},{url:z(b),options:f}},getCryptoEMA:async(n,t,i,e,s,o,r,d,l,g,b,p,f={})=>{$("getCryptoEMA","cryptoTicker",n);let m="/v1/indicators/ema/{cryptoTicker}".replace("{cryptoTicker}",encodeURIComponent(String(n))),y=new URL(m,F),u;a&&(u=a.baseOptions);let h={method:"GET",...u,...f},R={},x={};await B(x,"apiKey",a),t!==void 0&&(x.timestamp=t),i!==void 0&&(x.timespan=i),e!==void 0&&(x.window=e),s!==void 0&&(x.series_type=s),o!==void 0&&(x.expand_underlying=o),r!==void 0&&(x.order=r),d!==void 0&&(x.limit=d),l!==void 0&&(x["timestamp.gte"]=l),g!==void 0&&(x["timestamp.gt"]=g),b!==void 0&&(x["timestamp.lte"]=b),p!==void 0&&(x["timestamp.lt"]=p),U(y,x);let c=u&&u.headers?u.headers:{};return h.headers={...R,...c,...f.headers},{url:z(y),options:h}},getCryptoMACD:async(n,t,i,e,s,o,r,d,l,g,b,p,f,m,y={})=>{$("getCryptoMACD","cryptoTicker",n);let u="/v1/indicators/macd/{cryptoTicker}".replace("{cryptoTicker}",encodeURIComponent(String(n))),h=new URL(u,F),R;a&&(R=a.baseOptions);let x={method:"GET",...R,...y},c={},k={};await B(k,"apiKey",a),t!==void 0&&(k.timestamp=t),i!==void 0&&(k.timespan=i),e!==void 0&&(k.short_window=e),s!==void 0&&(k.long_window=s),o!==void 0&&(k.signal_window=o),r!==void 0&&(k.series_type=r),d!==void 0&&(k.expand_underlying=d),l!==void 0&&(k.order=l),g!==void 0&&(k.limit=g),b!==void 0&&(k["timestamp.gte"]=b),p!==void 0&&(k["timestamp.gt"]=p),f!==void 0&&(k["timestamp.lte"]=f),m!==void 0&&(k["timestamp.lt"]=m),U(h,k);let A=R&&R.headers?R.headers:{};return x.headers={...c,...A,...y.headers},{url:z(h),options:x}},getCryptoOpenClose:async(n,t,i,e,s={})=>{$("getCryptoOpenClose","from",n),$("getCryptoOpenClose","to",t),$("getCryptoOpenClose","date",i);let o="/v1/open-close/crypto/{from}/{to}/{date}".replace("{from}",encodeURIComponent(String(n))).replace("{to}",encodeURIComponent(String(t))).replace("{date}",encodeURIComponent(String(i))),r=new URL(o,F),d;a&&(d=a.baseOptions);let l={method:"GET",...d,...s},g={},b={};await B(b,"apiKey",a),e!==void 0&&(b.adjusted=e),U(r,b);let p=d&&d.headers?d.headers:{};return l.headers={...g,...p,...s.headers},{url:z(r),options:l}},getCryptoRSI:async(n,t,i,e,s,o,r,d,l,g,b,p,f={})=>{$("getCryptoRSI","cryptoTicker",n);let m="/v1/indicators/rsi/{cryptoTicker}".replace("{cryptoTicker}",encodeURIComponent(String(n))),y=new URL(m,F),u;a&&(u=a.baseOptions);let h={method:"GET",...u,...f},R={},x={};await B(x,"apiKey",a),t!==void 0&&(x.timestamp=t),i!==void 0&&(x.timespan=i),e!==void 0&&(x.window=e),s!==void 0&&(x.series_type=s),o!==void 0&&(x.expand_underlying=o),r!==void 0&&(x.order=r),d!==void 0&&(x.limit=d),l!==void 0&&(x["timestamp.gte"]=l),g!==void 0&&(x["timestamp.gt"]=g),b!==void 0&&(x["timestamp.lte"]=b),p!==void 0&&(x["timestamp.lt"]=p),U(y,x);let c=u&&u.headers?u.headers:{};return h.headers={...R,...c,...f.headers},{url:z(y),options:h}},getCryptoSMA:async(n,t,i,e,s,o,r,d,l,g,b,p,f={})=>{$("getCryptoSMA","cryptoTicker",n);let m="/v1/indicators/sma/{cryptoTicker}".replace("{cryptoTicker}",encodeURIComponent(String(n))),y=new URL(m,F),u;a&&(u=a.baseOptions);let h={method:"GET",...u,...f},R={},x={};await B(x,"apiKey",a),t!==void 0&&(x.timestamp=t),i!==void 0&&(x.timespan=i),e!==void 0&&(x.window=e),s!==void 0&&(x.series_type=s),o!==void 0&&(x.expand_underlying=o),r!==void 0&&(x.order=r),d!==void 0&&(x.limit=d),l!==void 0&&(x["timestamp.gte"]=l),g!==void 0&&(x["timestamp.gt"]=g),b!==void 0&&(x["timestamp.lte"]=b),p!==void 0&&(x["timestamp.lt"]=p),U(y,x);let c=u&&u.headers?u.headers:{};return h.headers={...R,...c,...f.headers},{url:z(y),options:h}},getCryptoSnapshotDirection:async(n,t={})=>{$("getCryptoSnapshotDirection","direction",n);let i="/v2/snapshot/locale/global/markets/crypto/{direction}".replace("{direction}",encodeURIComponent(String(n))),e=new URL(i,F),s;a&&(s=a.baseOptions);let o={method:"GET",...s,...t},r={},d={};await B(d,"apiKey",a),U(e,d);let l=s&&s.headers?s.headers:{};return o.headers={...r,...l,...t.headers},{url:z(e),options:o}},getCryptoSnapshotTicker:async(n,t={})=>{$("getCryptoSnapshotTicker","ticker",n);let i="/v2/snapshot/locale/global/markets/crypto/tickers/{ticker}".replace("{ticker}",encodeURIComponent(String(n))),e=new URL(i,F),s;a&&(s=a.baseOptions);let o={method:"GET",...s,...t},r={},d={};await B(d,"apiKey",a),U(e,d);let l=s&&s.headers?s.headers:{};return o.headers={...r,...l,...t.headers},{url:z(e),options:o}},getCryptoSnapshotTickers:async(n,t={})=>{let i="/v2/snapshot/locale/global/markets/crypto/tickers",e=new URL(i,F),s;a&&(s=a.baseOptions);let o={method:"GET",...s,...t},r={},d={};await B(d,"apiKey",a),n&&(d.tickers=n),U(e,d);let l=s&&s.headers?s.headers:{};return o.headers={...r,...l,...t.headers},{url:z(e),options:o}},getCryptoTrades:async(n,t,i,e,s,o,r,d,l,g={})=>{$("getCryptoTrades","cryptoTicker",n);let b="/v3/trades/{cryptoTicker}".replace("{cryptoTicker}",encodeURIComponent(String(n))),p=new URL(b,F),f;a&&(f=a.baseOptions);let m={method:"GET",...f,...g},y={},u={};await B(u,"apiKey",a),t!==void 0&&(u.timestamp=t),i!==void 0&&(u["timestamp.gte"]=i),e!==void 0&&(u["timestamp.gt"]=e),s!==void 0&&(u["timestamp.lte"]=s),o!==void 0&&(u["timestamp.lt"]=o),r!==void 0&&(u.order=r),d!==void 0&&(u.limit=d),l!==void 0&&(u.sort=l),U(p,u);let h=f&&f.headers?f.headers:{};return m.headers={...y,...h,...g.headers},{url:z(p),options:m}},getCryptoV1Exchanges:async(n,t={})=>{let i="/crypto/v1/exchanges",e=new URL(i,F),s;a&&(s=a.baseOptions);let o={method:"GET",...s,...t},r={},d={};await B(d,"apiKey",a),n!==void 0&&(d.limit=n),U(e,d);let l=s&&s.headers?s.headers:{};return o.headers={...r,...l,...t.headers},{url:z(e),options:o}},getCurrencyConversion:async(n,t,i,e,s={})=>{$("getCurrencyConversion","from",n),$("getCurrencyConversion","to",t);let o="/v1/conversion/{from}/{to}".replace("{from}",encodeURIComponent(String(n))).replace("{to}",encodeURIComponent(String(t))),r=new URL(o,F),d;a&&(d=a.baseOptions);let l={method:"GET",...d,...s},g={},b={};await B(b,"apiKey",a),i!==void 0&&(b.amount=i),e!==void 0&&(b.precision=e),U(r,b);let p=d&&d.headers?d.headers:{};return l.headers={...g,...p,...s.headers},{url:z(r),options:l}},getEtfGlobalV1Analytics:async(n,t,i,e,s,o,r,d,l,g,b,p,f,m,y,u,h,R,x,c,k,A,V,w,O,I,_,j,L,K,X,C,v,S,en,nn,on,sn,Y,rn,an,M,dn,pn,fn,un,ln,gn,yn,W,J,bn,cn,mn,Z,G,hn,Rn,An,xn,P,kn,tn,Vn,On,Cn,Sn,wn,vn,In={})=>{let Dn="/etf-global/v1/analytics",Ln=new URL(Dn,F),_n;a&&(_n=a.baseOptions);let Tn={method:"GET",..._n,...In},Fn={},q={};await B(q,"apiKey",a),n!==void 0&&(q.composite_ticker=n),t!==void 0&&(q["composite_ticker.any_of"]=t),i!==void 0&&(q["composite_ticker.gt"]=i),e!==void 0&&(q["composite_ticker.gte"]=e),s!==void 0&&(q["composite_ticker.lt"]=s),o!==void 0&&(q["composite_ticker.lte"]=o),r!==void 0&&(q.processed_date=r),d!==void 0&&(q["processed_date.gt"]=d),l!==void 0&&(q["processed_date.gte"]=l),g!==void 0&&(q["processed_date.lt"]=g),b!==void 0&&(q["processed_date.lte"]=b),p!==void 0&&(q.effective_date=p),f!==void 0&&(q["effective_date.gt"]=f),m!==void 0&&(q["effective_date.gte"]=m),y!==void 0&&(q["effective_date.lt"]=y),u!==void 0&&(q["effective_date.lte"]=u),h!==void 0&&(q.risk_total_score=h),R!==void 0&&(q["risk_total_score.gt"]=R),x!==void 0&&(q["risk_total_score.gte"]=x),c!==void 0&&(q["risk_total_score.lt"]=c),k!==void 0&&(q["risk_total_score.lte"]=k),A!==void 0&&(q.reward_score=A),V!==void 0&&(q["reward_score.gt"]=V),w!==void 0&&(q["reward_score.gte"]=w),O!==void 0&&(q["reward_score.lt"]=O),I!==void 0&&(q["reward_score.lte"]=I),_!==void 0&&(q.quant_total_score=_),j!==void 0&&(q["quant_total_score.gt"]=j),L!==void 0&&(q["quant_total_score.gte"]=L),K!==void 0&&(q["quant_total_score.lt"]=K),X!==void 0&&(q["quant_total_score.lte"]=X),C!==void 0&&(q.quant_grade=C),v!==void 0&&(q["quant_grade.any_of"]=v),S!==void 0&&(q["quant_grade.gt"]=S),en!==void 0&&(q["quant_grade.gte"]=en),nn!==void 0&&(q["quant_grade.lt"]=nn),on!==void 0&&(q["quant_grade.lte"]=on),sn!==void 0&&(q.quant_composite_technical=sn),Y!==void 0&&(q["quant_composite_technical.gt"]=Y),rn!==void 0&&(q["quant_composite_technical.gte"]=rn),an!==void 0&&(q["quant_composite_technical.lt"]=an),M!==void 0&&(q["quant_composite_technical.lte"]=M),dn!==void 0&&(q.quant_composite_sentiment=dn),pn!==void 0&&(q["quant_composite_sentiment.gt"]=pn),fn!==void 0&&(q["quant_composite_sentiment.gte"]=fn),un!==void 0&&(q["quant_composite_sentiment.lt"]=un),ln!==void 0&&(q["quant_composite_sentiment.lte"]=ln),gn!==void 0&&(q.quant_composite_behavioral=gn),yn!==void 0&&(q["quant_composite_behavioral.gt"]=yn),W!==void 0&&(q["quant_composite_behavioral.gte"]=W),J!==void 0&&(q["quant_composite_behavioral.lt"]=J),bn!==void 0&&(q["quant_composite_behavioral.lte"]=bn),cn!==void 0&&(q.quant_composite_fundamental=cn),mn!==void 0&&(q["quant_composite_fundamental.gt"]=mn),Z!==void 0&&(q["quant_composite_fundamental.gte"]=Z),G!==void 0&&(q["quant_composite_fundamental.lt"]=G),hn!==void 0&&(q["quant_composite_fundamental.lte"]=hn),Rn!==void 0&&(q.quant_composite_global=Rn),An!==void 0&&(q["quant_composite_global.gt"]=An),xn!==void 0&&(q["quant_composite_global.gte"]=xn),P!==void 0&&(q["quant_composite_global.lt"]=P),kn!==void 0&&(q["quant_composite_global.lte"]=kn),tn!==void 0&&(q.quant_composite_quality=tn),Vn!==void 0&&(q["quant_composite_quality.gt"]=Vn),On!==void 0&&(q["quant_composite_quality.gte"]=On),Cn!==void 0&&(q["quant_composite_quality.lt"]=Cn),Sn!==void 0&&(q["quant_composite_quality.lte"]=Sn),wn!==void 0&&(q.limit=wn),vn!==void 0&&(q.sort=vn),U(Ln,q);let Un=_n&&_n.headers?_n.headers:{};return Tn.headers={...Fn,...Un,...In.headers},{url:z(Ln),options:Tn}},getEtfGlobalV1Constituents:async(n,t,i,e,s,o,r,d,l,g,b,p,f,m,y,u,h,R,x,c,k,A,V,w,O,I,_,j,L,K,X,C,v,S,en,nn,on,sn,Y,rn,an,M,dn,pn,fn,un,ln,gn,yn={})=>{let W="/etf-global/v1/constituents",J=new URL(W,F),bn;a&&(bn=a.baseOptions);let cn={method:"GET",...bn,...yn},mn={},Z={};await B(Z,"apiKey",a),n!==void 0&&(Z.composite_ticker=n),t!==void 0&&(Z["composite_ticker.any_of"]=t),i!==void 0&&(Z["composite_ticker.gt"]=i),e!==void 0&&(Z["composite_ticker.gte"]=e),s!==void 0&&(Z["composite_ticker.lt"]=s),o!==void 0&&(Z["composite_ticker.lte"]=o),r!==void 0&&(Z.constituent_ticker=r),d!==void 0&&(Z["constituent_ticker.any_of"]=d),l!==void 0&&(Z["constituent_ticker.gt"]=l),g!==void 0&&(Z["constituent_ticker.gte"]=g),b!==void 0&&(Z["constituent_ticker.lt"]=b),p!==void 0&&(Z["constituent_ticker.lte"]=p),f!==void 0&&(Z.effective_date=f),m!==void 0&&(Z["effective_date.gt"]=m),y!==void 0&&(Z["effective_date.gte"]=y),u!==void 0&&(Z["effective_date.lt"]=u),h!==void 0&&(Z["effective_date.lte"]=h),R!==void 0&&(Z.processed_date=R),x!==void 0&&(Z["processed_date.gt"]=x),c!==void 0&&(Z["processed_date.gte"]=c),k!==void 0&&(Z["processed_date.lt"]=k),A!==void 0&&(Z["processed_date.lte"]=A),V!==void 0&&(Z.us_code=V),w!==void 0&&(Z["us_code.any_of"]=w),O!==void 0&&(Z["us_code.gt"]=O),I!==void 0&&(Z["us_code.gte"]=I),_!==void 0&&(Z["us_code.lt"]=_),j!==void 0&&(Z["us_code.lte"]=j),L!==void 0&&(Z.isin=L),K!==void 0&&(Z["isin.any_of"]=K),X!==void 0&&(Z["isin.gt"]=X),C!==void 0&&(Z["isin.gte"]=C),v!==void 0&&(Z["isin.lt"]=v),S!==void 0&&(Z["isin.lte"]=S),en!==void 0&&(Z.figi=en),nn!==void 0&&(Z["figi.any_of"]=nn),on!==void 0&&(Z["figi.gt"]=on),sn!==void 0&&(Z["figi.gte"]=sn),Y!==void 0&&(Z["figi.lt"]=Y),rn!==void 0&&(Z["figi.lte"]=rn),an!==void 0&&(Z.sedol=an),M!==void 0&&(Z["sedol.any_of"]=M),dn!==void 0&&(Z["sedol.gt"]=dn),pn!==void 0&&(Z["sedol.gte"]=pn),fn!==void 0&&(Z["sedol.lt"]=fn),un!==void 0&&(Z["sedol.lte"]=un),ln!==void 0&&(Z.limit=ln),gn!==void 0&&(Z.sort=gn),U(J,Z);let G=bn&&bn.headers?bn.headers:{};return cn.headers={...mn,...G,...yn.headers},{url:z(J),options:cn}},getEtfGlobalV1FundFlows:async(n,t,i,e,s,o,r,d,l,g,b,p,f,m,y,u,h,R,x={})=>{let c="/etf-global/v1/fund-flows",k=new URL(c,F),A;a&&(A=a.baseOptions);let V={method:"GET",...A,...x},w={},O={};await B(O,"apiKey",a),n!==void 0&&(O.processed_date=n),t!==void 0&&(O["processed_date.gt"]=t),i!==void 0&&(O["processed_date.gte"]=i),e!==void 0&&(O["processed_date.lt"]=e),s!==void 0&&(O["processed_date.lte"]=s),o!==void 0&&(O.effective_date=o),r!==void 0&&(O["effective_date.gt"]=r),d!==void 0&&(O["effective_date.gte"]=d),l!==void 0&&(O["effective_date.lt"]=l),g!==void 0&&(O["effective_date.lte"]=g),b!==void 0&&(O.composite_ticker=b),p!==void 0&&(O["composite_ticker.any_of"]=p),f!==void 0&&(O["composite_ticker.gt"]=f),m!==void 0&&(O["composite_ticker.gte"]=m),y!==void 0&&(O["composite_ticker.lt"]=y),u!==void 0&&(O["composite_ticker.lte"]=u),h!==void 0&&(O.limit=h),R!==void 0&&(O.sort=R),U(k,O);let I=A&&A.headers?A.headers:{};return V.headers={...w,...I,...x.headers},{url:z(k),options:V}},getEtfGlobalV1Profiles:async(n,t,i,e,s,o,r,d,l,g,b,p,f,m,y,u,h,R,x={})=>{let c="/etf-global/v1/profiles",k=new URL(c,F),A;a&&(A=a.baseOptions);let V={method:"GET",...A,...x},w={},O={};await B(O,"apiKey",a),n!==void 0&&(O.processed_date=n),t!==void 0&&(O["processed_date.gt"]=t),i!==void 0&&(O["processed_date.gte"]=i),e!==void 0&&(O["processed_date.lt"]=e),s!==void 0&&(O["processed_date.lte"]=s),o!==void 0&&(O.effective_date=o),r!==void 0&&(O["effective_date.gt"]=r),d!==void 0&&(O["effective_date.gte"]=d),l!==void 0&&(O["effective_date.lt"]=l),g!==void 0&&(O["effective_date.lte"]=g),b!==void 0&&(O.composite_ticker=b),p!==void 0&&(O["composite_ticker.any_of"]=p),f!==void 0&&(O["composite_ticker.gt"]=f),m!==void 0&&(O["composite_ticker.gte"]=m),y!==void 0&&(O["composite_ticker.lt"]=y),u!==void 0&&(O["composite_ticker.lte"]=u),h!==void 0&&(O.limit=h),R!==void 0&&(O.sort=R),U(k,O);let I=A&&A.headers?A.headers:{};return V.headers={...w,...I,...x.headers},{url:z(k),options:V}},getEtfGlobalV1Taxonomies:async(n,t,i,e,s,o,r,d,l,g,b,p,f,m,y,u,h,R,x={})=>{let c="/etf-global/v1/taxonomies",k=new URL(c,F),A;a&&(A=a.baseOptions);let V={method:"GET",...A,...x},w={},O={};await B(O,"apiKey",a),n!==void 0&&(O.processed_date=n),t!==void 0&&(O["processed_date.gt"]=t),i!==void 0&&(O["processed_date.gte"]=i),e!==void 0&&(O["processed_date.lt"]=e),s!==void 0&&(O["processed_date.lte"]=s),o!==void 0&&(O.effective_date=o),r!==void 0&&(O["effective_date.gt"]=r),d!==void 0&&(O["effective_date.gte"]=d),l!==void 0&&(O["effective_date.lt"]=l),g!==void 0&&(O["effective_date.lte"]=g),b!==void 0&&(O.composite_ticker=b),p!==void 0&&(O["composite_ticker.any_of"]=p),f!==void 0&&(O["composite_ticker.gt"]=f),m!==void 0&&(O["composite_ticker.gte"]=m),y!==void 0&&(O["composite_ticker.lt"]=y),u!==void 0&&(O["composite_ticker.lte"]=u),h!==void 0&&(O.limit=h),R!==void 0&&(O.sort=R),U(k,O);let I=A&&A.headers?A.headers:{};return V.headers={...w,...I,...x.headers},{url:z(k),options:V}},getEvents:async(n,t,i={})=>{$("getEvents","id",n);let e="/vX/reference/tickers/{id}/events".replace("{id}",encodeURIComponent(String(n))),s=new URL(e,F),o;a&&(o=a.baseOptions);let r={method:"GET",...o,...i},d={},l={};await B(l,"apiKey",a),t!==void 0&&(l.types=t),U(s,l);let g=o&&o.headers?o.headers:{};return r.headers={...d,...g,...i.headers},{url:z(s),options:r}},getFedV1Inflation:async(n,t,i,e,s,o,r,d,l={})=>{let g="/fed/v1/inflation",b=new URL(g,F),p;a&&(p=a.baseOptions);let f={method:"GET",...p,...l},m={},y={};await B(y,"apiKey",a),n!==void 0&&(y.date=n),t!==void 0&&(y["date.any_of"]=t),i!==void 0&&(y["date.gt"]=i),e!==void 0&&(y["date.gte"]=e),s!==void 0&&(y["date.lt"]=s),o!==void 0&&(y["date.lte"]=o),r!==void 0&&(y.limit=r),d!==void 0&&(y.sort=d),U(b,y);let u=p&&p.headers?p.headers:{};return f.headers={...m,...u,...l.headers},{url:z(b),options:f}},getFedV1InflationExpectations:async(n,t,i,e,s,o,r,d,l={})=>{let g="/fed/v1/inflation-expectations",b=new URL(g,F),p;a&&(p=a.baseOptions);let f={method:"GET",...p,...l},m={},y={};await B(y,"apiKey",a),n!==void 0&&(y.date=n),t!==void 0&&(y["date.any_of"]=t),i!==void 0&&(y["date.gt"]=i),e!==void 0&&(y["date.gte"]=e),s!==void 0&&(y["date.lt"]=s),o!==void 0&&(y["date.lte"]=o),r!==void 0&&(y.limit=r),d!==void 0&&(y.sort=d),U(b,y);let u=p&&p.headers?p.headers:{};return f.headers={...m,...u,...l.headers},{url:z(b),options:f}},getFedV1LaborMarket:async(n,t,i,e,s,o,r,d,l={})=>{let g="/fed/v1/labor-market",b=new URL(g,F),p;a&&(p=a.baseOptions);let f={method:"GET",...p,...l},m={},y={};await B(y,"apiKey",a),n!==void 0&&(y.date=n),t!==void 0&&(y["date.any_of"]=t),i!==void 0&&(y["date.gt"]=i),e!==void 0&&(y["date.gte"]=e),s!==void 0&&(y["date.lt"]=s),o!==void 0&&(y["date.lte"]=o),r!==void 0&&(y.limit=r),d!==void 0&&(y.sort=d),U(b,y);let u=p&&p.headers?p.headers:{};return f.headers={...m,...u,...l.headers},{url:z(b),options:f}},getFedV1TreasuryYields:async(n,t,i,e,s,o,r,d,l={})=>{let g="/fed/v1/treasury-yields",b=new URL(g,F),p;a&&(p=a.baseOptions);let f={method:"GET",...p,...l},m={},y={};await B(y,"apiKey",a),n!==void 0&&(y.date=n),t!==void 0&&(y["date.any_of"]=t),i!==void 0&&(y["date.gt"]=i),e!==void 0&&(y["date.gte"]=e),s!==void 0&&(y["date.lt"]=s),o!==void 0&&(y["date.lte"]=o),r!==void 0&&(y.limit=r),d!==void 0&&(y.sort=d),U(b,y);let u=p&&p.headers?p.headers:{};return f.headers={...m,...u,...l.headers},{url:z(b),options:f}},getForexAggregates:async(n,t,i,e,s,o,r,d,l={})=>{$("getForexAggregates","forexTicker",n),$("getForexAggregates","multiplier",t),$("getForexAggregates","timespan",i),$("getForexAggregates","from",e),$("getForexAggregates","to",s);let g="/v2/aggs/ticker/{forexTicker}/range/{multiplier}/{timespan}/{from}/{to}".replace("{forexTicker}",encodeURIComponent(String(n))).replace("{multiplier}",encodeURIComponent(String(t))).replace("{timespan}",encodeURIComponent(String(i))).replace("{from}",encodeURIComponent(String(e))).replace("{to}",encodeURIComponent(String(s))),b=new URL(g,F),p;a&&(p=a.baseOptions);let f={method:"GET",...p,...l},m={},y={};await B(y,"apiKey",a),o!==void 0&&(y.adjusted=o),r!==void 0&&(y.sort=r),d!==void 0&&(y.limit=d),U(b,y);let u=p&&p.headers?p.headers:{};return f.headers={...m,...u,...l.headers},{url:z(b),options:f}},getForexEMA:async(n,t,i,e,s,o,r,d,l,g,b,p,f,m={})=>{$("getForexEMA","fxTicker",n);let y="/v1/indicators/ema/{fxTicker}".replace("{fxTicker}",encodeURIComponent(String(n))),u=new URL(y,F),h;a&&(h=a.baseOptions);let R={method:"GET",...h,...m},x={},c={};await B(c,"apiKey",a),t!==void 0&&(c.timestamp=t),i!==void 0&&(c.timespan=i),e!==void 0&&(c.adjusted=e),s!==void 0&&(c.window=s),o!==void 0&&(c.series_type=o),r!==void 0&&(c.expand_underlying=r),d!==void 0&&(c.order=d),l!==void 0&&(c.limit=l),g!==void 0&&(c["timestamp.gte"]=g),b!==void 0&&(c["timestamp.gt"]=b),p!==void 0&&(c["timestamp.lte"]=p),f!==void 0&&(c["timestamp.lt"]=f),U(u,c);let k=h&&h.headers?h.headers:{};return R.headers={...x,...k,...m.headers},{url:z(u),options:R}},getForexMACD:async(n,t,i,e,s,o,r,d,l,g,b,p,f,m,y,u={})=>{$("getForexMACD","fxTicker",n);let h="/v1/indicators/macd/{fxTicker}".replace("{fxTicker}",encodeURIComponent(String(n))),R=new URL(h,F),x;a&&(x=a.baseOptions);let c={method:"GET",...x,...u},k={},A={};await B(A,"apiKey",a),t!==void 0&&(A.timestamp=t),i!==void 0&&(A.timespan=i),e!==void 0&&(A.adjusted=e),s!==void 0&&(A.short_window=s),o!==void 0&&(A.long_window=o),r!==void 0&&(A.signal_window=r),d!==void 0&&(A.series_type=d),l!==void 0&&(A.expand_underlying=l),g!==void 0&&(A.order=g),b!==void 0&&(A.limit=b),p!==void 0&&(A["timestamp.gte"]=p),f!==void 0&&(A["timestamp.gt"]=f),m!==void 0&&(A["timestamp.lte"]=m),y!==void 0&&(A["timestamp.lt"]=y),U(R,A);let V=x&&x.headers?x.headers:{};return c.headers={...k,...V,...u.headers},{url:z(R),options:c}},getForexQuotes:async(n,t,i,e,s,o,r,d,l,g={})=>{$("getForexQuotes","fxTicker",n);let b="/v3/quotes/{fxTicker}".replace("{fxTicker}",encodeURIComponent(String(n))),p=new URL(b,F),f;a&&(f=a.baseOptions);let m={method:"GET",...f,...g},y={},u={};await B(u,"apiKey",a),t!==void 0&&(u.timestamp=t),i!==void 0&&(u["timestamp.gte"]=i),e!==void 0&&(u["timestamp.gt"]=e),s!==void 0&&(u["timestamp.lte"]=s),o!==void 0&&(u["timestamp.lt"]=o),r!==void 0&&(u.order=r),d!==void 0&&(u.limit=d),l!==void 0&&(u.sort=l),U(p,u);let h=f&&f.headers?f.headers:{};return m.headers={...y,...h,...g.headers},{url:z(p),options:m}},getForexRSI:async(n,t,i,e,s,o,r,d,l,g,b,p,f,m={})=>{$("getForexRSI","fxTicker",n);let y="/v1/indicators/rsi/{fxTicker}".replace("{fxTicker}",encodeURIComponent(String(n))),u=new URL(y,F),h;a&&(h=a.baseOptions);let R={method:"GET",...h,...m},x={},c={};await B(c,"apiKey",a),t!==void 0&&(c.timestamp=t),i!==void 0&&(c.timespan=i),e!==void 0&&(c.adjusted=e),s!==void 0&&(c.window=s),o!==void 0&&(c.series_type=o),r!==void 0&&(c.expand_underlying=r),d!==void 0&&(c.order=d),l!==void 0&&(c.limit=l),g!==void 0&&(c["timestamp.gte"]=g),b!==void 0&&(c["timestamp.gt"]=b),p!==void 0&&(c["timestamp.lte"]=p),f!==void 0&&(c["timestamp.lt"]=f),U(u,c);let k=h&&h.headers?h.headers:{};return R.headers={...x,...k,...m.headers},{url:z(u),options:R}},getForexSMA:async(n,t,i,e,s,o,r,d,l,g,b,p,f,m={})=>{$("getForexSMA","fxTicker",n);let y="/v1/indicators/sma/{fxTicker}".replace("{fxTicker}",encodeURIComponent(String(n))),u=new URL(y,F),h;a&&(h=a.baseOptions);let R={method:"GET",...h,...m},x={},c={};await B(c,"apiKey",a),t!==void 0&&(c.timestamp=t),i!==void 0&&(c.timespan=i),e!==void 0&&(c.adjusted=e),s!==void 0&&(c.window=s),o!==void 0&&(c.series_type=o),r!==void 0&&(c.expand_underlying=r),d!==void 0&&(c.order=d),l!==void 0&&(c.limit=l),g!==void 0&&(c["timestamp.gte"]=g),b!==void 0&&(c["timestamp.gt"]=b),p!==void 0&&(c["timestamp.lte"]=p),f!==void 0&&(c["timestamp.lt"]=f),U(u,c);let k=h&&h.headers?h.headers:{};return R.headers={...x,...k,...m.headers},{url:z(u),options:R}},getForexSnapshotDirection:async(n,t={})=>{$("getForexSnapshotDirection","direction",n);let i="/v2/snapshot/locale/global/markets/forex/{direction}".replace("{direction}",encodeURIComponent(String(n))),e=new URL(i,F),s;a&&(s=a.baseOptions);let o={method:"GET",...s,...t},r={},d={};await B(d,"apiKey",a),U(e,d);let l=s&&s.headers?s.headers:{};return o.headers={...r,...l,...t.headers},{url:z(e),options:o}},getForexSnapshotTicker:async(n,t={})=>{$("getForexSnapshotTicker","ticker",n);let i="/v2/snapshot/locale/global/markets/forex/tickers/{ticker}".replace("{ticker}",encodeURIComponent(String(n))),e=new URL(i,F),s;a&&(s=a.baseOptions);let o={method:"GET",...s,...t},r={},d={};await B(d,"apiKey",a),U(e,d);let l=s&&s.headers?s.headers:{};return o.headers={...r,...l,...t.headers},{url:z(e),options:o}},getForexSnapshotTickers:async(n,t={})=>{let i="/v2/snapshot/locale/global/markets/forex/tickers",e=new URL(i,F),s;a&&(s=a.baseOptions);let o={method:"GET",...s,...t},r={},d={};await B(d,"apiKey",a),n&&(d.tickers=n),U(e,d);let l=s&&s.headers?s.headers:{};return o.headers={...r,...l,...t.headers},{url:z(e),options:o}},getForexV1Exchanges:async(n,t={})=>{let i="/forex/v1/exchanges",e=new URL(i,F),s;a&&(s=a.baseOptions);let o={method:"GET",...s,...t},r={},d={};await B(d,"apiKey",a),n!==void 0&&(d.limit=n),U(e,d);let l=s&&s.headers?s.headers:{};return o.headers={...r,...l,...t.headers},{url:z(e),options:o}},getFuturesAggregates:async(n,t,i,e,s,o,r,d,l,g={})=>{$("getFuturesAggregates","ticker",n);let b="/futures/vX/aggs/{ticker}".replace("{ticker}",encodeURIComponent(String(n))),p=new URL(b,F),f;a&&(f=a.baseOptions);let m={method:"GET",...f,...g},y={},u={};await B(u,"apiKey",a),t!==void 0&&(u.resolution=t),i!==void 0&&(u.window_start=i),e!==void 0&&(u.limit=e),s!==void 0&&(u["window_start.gte"]=s),o!==void 0&&(u["window_start.gt"]=o),r!==void 0&&(u["window_start.lte"]=r),d!==void 0&&(u["window_start.lt"]=d),l!==void 0&&(u.sort=l),U(p,u);let h=f&&f.headers?f.headers:{};return m.headers={...y,...h,...g.headers},{url:z(p),options:m}},getFuturesQuotes:async(n,t,i,e,s,o,r,d,l,g,b,p,f,m={})=>{$("getFuturesQuotes","ticker",n);let y="/futures/vX/quotes/{ticker}".replace("{ticker}",encodeURIComponent(String(n))),u=new URL(y,F),h;a&&(h=a.baseOptions);let R={method:"GET",...h,...m},x={},c={};await B(c,"apiKey",a),t!==void 0&&(c.timestamp=t),i!==void 0&&(c.session_end_date=i),e!==void 0&&(c.limit=e),s!==void 0&&(c["timestamp.gte"]=s),o!==void 0&&(c["timestamp.gt"]=o),r!==void 0&&(c["timestamp.lte"]=r),d!==void 0&&(c["timestamp.lt"]=d),l!==void 0&&(c["session_end_date.gte"]=l),g!==void 0&&(c["session_end_date.gt"]=g),b!==void 0&&(c["session_end_date.lte"]=b),p!==void 0&&(c["session_end_date.lt"]=p),f!==void 0&&(c.sort=f),U(u,c);let k=h&&h.headers?h.headers:{};return R.headers={...x,...k,...m.headers},{url:z(u),options:R}},getFuturesTrades:async(n,t,i,e,s,o,r,d,l,g,b,p,f,m={})=>{$("getFuturesTrades","ticker",n);let y="/futures/vX/trades/{ticker}".replace("{ticker}",encodeURIComponent(String(n))),u=new URL(y,F),h;a&&(h=a.baseOptions);let R={method:"GET",...h,...m},x={},c={};await B(c,"apiKey",a),t!==void 0&&(c.timestamp=t),i!==void 0&&(c.session_end_date=i),e!==void 0&&(c.limit=e),s!==void 0&&(c["timestamp.gte"]=s),o!==void 0&&(c["timestamp.gt"]=o),r!==void 0&&(c["timestamp.lte"]=r),d!==void 0&&(c["timestamp.lt"]=d),l!==void 0&&(c["session_end_date.gte"]=l),g!==void 0&&(c["session_end_date.gt"]=g),b!==void 0&&(c["session_end_date.lte"]=b),p!==void 0&&(c["session_end_date.lt"]=p),f!==void 0&&(c.sort=f),U(u,c);let k=h&&h.headers?h.headers:{};return R.headers={...x,...k,...m.headers},{url:z(u),options:R}},getFuturesVXContracts:async(n,t,i,e,s,o,r,d,l,g,b,p,f,m,y,u,h,R,x,c,k,A,V,w,O,I,_,j,L,K,X,C,v={})=>{let S="/futures/vX/contracts",en=new URL(S,F),nn;a&&(nn=a.baseOptions);let on={method:"GET",...nn,...v},sn={},Y={};await B(Y,"apiKey",a),n!==void 0&&(Y.date=n),t!==void 0&&(Y["date.gt"]=t),i!==void 0&&(Y["date.gte"]=i),e!==void 0&&(Y["date.lt"]=e),s!==void 0&&(Y["date.lte"]=s),o!==void 0&&(Y.product_code=o),r!==void 0&&(Y["product_code.any_of"]=r),d!==void 0&&(Y["product_code.gt"]=d),l!==void 0&&(Y["product_code.gte"]=l),g!==void 0&&(Y["product_code.lt"]=g),b!==void 0&&(Y["product_code.lte"]=b),p!==void 0&&(Y.ticker=p),f!==void 0&&(Y["ticker.any_of"]=f),m!==void 0&&(Y["ticker.gt"]=m),y!==void 0&&(Y["ticker.gte"]=y),u!==void 0&&(Y["ticker.lt"]=u),h!==void 0&&(Y["ticker.lte"]=h),R!==void 0&&(Y.active=R),x!==void 0&&(Y.type=x),c!==void 0&&(Y["type.any_of"]=c),k!==void 0&&(Y.first_trade_date=k),A!==void 0&&(Y["first_trade_date.gt"]=A),V!==void 0&&(Y["first_trade_date.gte"]=V),w!==void 0&&(Y["first_trade_date.lt"]=w),O!==void 0&&(Y["first_trade_date.lte"]=O),I!==void 0&&(Y.last_trade_date=I),_!==void 0&&(Y["last_trade_date.gt"]=_),j!==void 0&&(Y["last_trade_date.gte"]=j),L!==void 0&&(Y["last_trade_date.lt"]=L),K!==void 0&&(Y["last_trade_date.lte"]=K),X!==void 0&&(Y.limit=X),C!==void 0&&(Y.sort=C),U(en,Y);let rn=nn&&nn.headers?nn.headers:{};return on.headers={...sn,...rn,...v.headers},{url:z(en),options:on}},getFuturesVXExchanges:async(n,t={})=>{let i="/futures/vX/exchanges",e=new URL(i,F),s;a&&(s=a.baseOptions);let o={method:"GET",...s,...t},r={},d={};await B(d,"apiKey",a),n!==void 0&&(d.limit=n),U(e,d);let l=s&&s.headers?s.headers:{};return o.headers={...r,...l,...t.headers},{url:z(e),options:o}},getFuturesVXMarketStatus:async(n,t,i,e,s,o,r,d={})=>{let l="/futures/vX/market-status",g=new URL(l,F),b;a&&(b=a.baseOptions);let p={method:"GET",...b,...d},f={},m={};await B(m,"apiKey",a),n!==void 0&&(m.product_code=n),t!==void 0&&(m["product_code.any_of"]=t),i!==void 0&&(m["product_code.gt"]=i),e!==void 0&&(m["product_code.gte"]=e),s!==void 0&&(m["product_code.lt"]=s),o!==void 0&&(m["product_code.lte"]=o),r!==void 0&&(m.limit=r),U(g,m);let y=b&&b.headers?b.headers:{};return p.headers={...f,...y,...d.headers},{url:z(g),options:p}},getFuturesVXProducts:async(n,t,i,e,s,o,r,d,l,g,b,p,f,m,y,u,h,R,x,c,k,A,V,w,O,I,_,j,L,K,X,C,v,S,en,nn={})=>{let on="/futures/vX/products",sn=new URL(on,F),Y;a&&(Y=a.baseOptions);let rn={method:"GET",...Y,...nn},an={},M={};await B(M,"apiKey",a),n!==void 0&&(M.name=n),t!==void 0&&(M["name.any_of"]=t),i!==void 0&&(M["name.gt"]=i),e!==void 0&&(M["name.gte"]=e),s!==void 0&&(M["name.lt"]=s),o!==void 0&&(M["name.lte"]=o),r!==void 0&&(M.product_code=r),d!==void 0&&(M["product_code.any_of"]=d),l!==void 0&&(M["product_code.gt"]=l),g!==void 0&&(M["product_code.gte"]=g),b!==void 0&&(M["product_code.lt"]=b),p!==void 0&&(M["product_code.lte"]=p),f!==void 0&&(M.date=f),m!==void 0&&(M["date.gt"]=m),y!==void 0&&(M["date.gte"]=y),u!==void 0&&(M["date.lt"]=u),h!==void 0&&(M["date.lte"]=h),R!==void 0&&(M.trading_venue=R),x!==void 0&&(M["trading_venue.any_of"]=x),c!==void 0&&(M["trading_venue.gt"]=c),k!==void 0&&(M["trading_venue.gte"]=k),A!==void 0&&(M["trading_venue.lt"]=A),V!==void 0&&(M["trading_venue.lte"]=V),w!==void 0&&(M.sector=w),O!==void 0&&(M["sector.any_of"]=O),I!==void 0&&(M.sub_sector=I),_!==void 0&&(M["sub_sector.any_of"]=_),j!==void 0&&(M.asset_class=j),L!==void 0&&(M["asset_class.any_of"]=L),K!==void 0&&(M.asset_sub_class=K),X!==void 0&&(M["asset_sub_class.any_of"]=X),C!==void 0&&(M.type=C),v!==void 0&&(M["type.any_of"]=v),S!==void 0&&(M.limit=S),en!==void 0&&(M.sort=en),U(sn,M);let dn=Y&&Y.headers?Y.headers:{};return rn.headers={...an,...dn,...nn.headers},{url:z(sn),options:rn}},getFuturesVXQuotesNew:async(n,t,i,e,s,o,r,d,l,g={})=>{$("getFuturesVXQuotesNew","ticker",n);let b="/futures/vX/quotes-new/{ticker}".replace("{ticker}",encodeURIComponent(String(n))),p=new URL(b,F),f;a&&(f=a.baseOptions);let m={method:"GET",...f,...g},y={},u={};await B(u,"apiKey",a),t!==void 0&&(u.timestamp=t),i!==void 0&&(u["timestamp.gt"]=i),e!==void 0&&(u["timestamp.gte"]=e),s!==void 0&&(u["timestamp.lt"]=s),o!==void 0&&(u["timestamp.lte"]=o),r!==void 0&&(u.session_end_date=r),d!==void 0&&(u.limit=d),l!==void 0&&(u.sort=l),U(p,u);let h=f&&f.headers?f.headers:{};return m.headers={...y,...h,...g.headers},{url:z(p),options:m}},getFuturesVXSchedules:async(n,t,i,e,s,o,r,d,l,g,b,p,f,m,y,u,h,R,x,c,k={})=>{let A="/futures/vX/schedules",V=new URL(A,F),w;a&&(w=a.baseOptions);let O={method:"GET",...w,...k},I={},_={};await B(_,"apiKey",a),n!==void 0&&(_.product_code=n),t!==void 0&&(_["product_code.any_of"]=t),i!==void 0&&(_["product_code.gt"]=i),e!==void 0&&(_["product_code.gte"]=e),s!==void 0&&(_["product_code.lt"]=s),o!==void 0&&(_["product_code.lte"]=o),r!==void 0&&(_.session_end_date=r),d!==void 0&&(_["session_end_date.any_of"]=d),l!==void 0&&(_["session_end_date.gt"]=l),g!==void 0&&(_["session_end_date.gte"]=g),b!==void 0&&(_["session_end_date.lt"]=b),p!==void 0&&(_["session_end_date.lte"]=p),f!==void 0&&(_.trading_venue=f),m!==void 0&&(_["trading_venue.any_of"]=m),y!==void 0&&(_["trading_venue.gt"]=y),u!==void 0&&(_["trading_venue.gte"]=u),h!==void 0&&(_["trading_venue.lt"]=h),R!==void 0&&(_["trading_venue.lte"]=R),x!==void 0&&(_.limit=x),c!==void 0&&(_.sort=c),U(V,_);let j=w&&w.headers?w.headers:{};return O.headers={...I,...j,...k.headers},{url:z(V),options:O}},getFuturesVXSnapshot:async(n,t,i,e,s,o,r,d,l,g,b,p,f,m,y={})=>{let u="/futures/vX/snapshot",h=new URL(u,F),R;a&&(R=a.baseOptions);let x={method:"GET",...R,...y},c={},k={};await B(k,"apiKey",a),n!==void 0&&(k.product_code=n),t!==void 0&&(k["product_code.any_of"]=t),i!==void 0&&(k["product_code.gt"]=i),e!==void 0&&(k["product_code.gte"]=e),s!==void 0&&(k["product_code.lt"]=s),o!==void 0&&(k["product_code.lte"]=o),r!==void 0&&(k.ticker=r),d!==void 0&&(k["ticker.any_of"]=d),l!==void 0&&(k["ticker.gt"]=l),g!==void 0&&(k["ticker.gte"]=g),b!==void 0&&(k["ticker.lt"]=b),p!==void 0&&(k["ticker.lte"]=p),f!==void 0&&(k.limit=f),m!==void 0&&(k.sort=m),U(h,k);let A=R&&R.headers?R.headers:{};return x.headers={...c,...A,...y.headers},{url:z(h),options:x}},getFuturesVXSnapshotNative:async(n,t,i,e,s,o,r,d,l,g,b,p,f,m,y={})=>{let u="/futures/vX/snapshot-native",h=new URL(u,F),R;a&&(R=a.baseOptions);let x={method:"GET",...R,...y},c={},k={};await B(k,"apiKey",a),n!==void 0&&(k.product_code=n),t!==void 0&&(k["product_code.any_of"]=t),i!==void 0&&(k["product_code.gt"]=i),e!==void 0&&(k["product_code.gte"]=e),s!==void 0&&(k["product_code.lt"]=s),o!==void 0&&(k["product_code.lte"]=o),r!==void 0&&(k.ticker=r),d!==void 0&&(k["ticker.any_of"]=d),l!==void 0&&(k["ticker.gt"]=l),g!==void 0&&(k["ticker.gte"]=g),b!==void 0&&(k["ticker.lt"]=b),p!==void 0&&(k["ticker.lte"]=p),f!==void 0&&(k.limit=f),m!==void 0&&(k.sort=m),U(h,k);let A=R&&R.headers?R.headers:{};return x.headers={...c,...A,...y.headers},{url:z(h),options:x}},getFuturesVXTradesNew:async(n,t,i,e,s,o,r,d,l,g={})=>{$("getFuturesVXTradesNew","ticker",n);let b="/futures/vX/trades-new/{ticker}".replace("{ticker}",encodeURIComponent(String(n))),p=new URL(b,F),f;a&&(f=a.baseOptions);let m={method:"GET",...f,...g},y={},u={};await B(u,"apiKey",a),t!==void 0&&(u.timestamp=t),i!==void 0&&(u["timestamp.gt"]=i),e!==void 0&&(u["timestamp.gte"]=e),s!==void 0&&(u["timestamp.lt"]=s),o!==void 0&&(u["timestamp.lte"]=o),r!==void 0&&(u.session_end_date=r),d!==void 0&&(u.limit=d),l!==void 0&&(u.sort=l),U(p,u);let h=f&&f.headers?f.headers:{};return m.headers={...y,...h,...g.headers},{url:z(p),options:m}},getGroupedCryptoAggregates:async(n,t,i={})=>{$("getGroupedCryptoAggregates","date",n);let e="/v2/aggs/grouped/locale/global/market/crypto/{date}".replace("{date}",encodeURIComponent(String(n))),s=new URL(e,F),o;a&&(o=a.baseOptions);let r={method:"GET",...o,...i},d={},l={};await B(l,"apiKey",a),t!==void 0&&(l.adjusted=t),U(s,l);let g=o&&o.headers?o.headers:{};return r.headers={...d,...g,...i.headers},{url:z(s),options:r}},getGroupedForexAggregates:async(n,t,i={})=>{$("getGroupedForexAggregates","date",n);let e="/v2/aggs/grouped/locale/global/market/fx/{date}".replace("{date}",encodeURIComponent(String(n))),s=new URL(e,F),o;a&&(o=a.baseOptions);let r={method:"GET",...o,...i},d={},l={};await B(l,"apiKey",a),t!==void 0&&(l.adjusted=t),U(s,l);let g=o&&o.headers?o.headers:{};return r.headers={...d,...g,...i.headers},{url:z(s),options:r}},getGroupedStocksAggregates:async(n,t,i,e={})=>{$("getGroupedStocksAggregates","date",n);let s="/v2/aggs/grouped/locale/us/market/stocks/{date}".replace("{date}",encodeURIComponent(String(n))),o=new URL(s,F),r;a&&(r=a.baseOptions);let d={method:"GET",...r,...e},l={},g={};await B(g,"apiKey",a),t!==void 0&&(g.adjusted=t),i!==void 0&&(g.include_otc=i),U(o,g);let b=r&&r.headers?r.headers:{};return d.headers={...l,...b,...e.headers},{url:z(o),options:d}},getIndicesAggregates:async(n,t,i,e,s,o,r,d={})=>{$("getIndicesAggregates","indicesTicker",n),$("getIndicesAggregates","multiplier",t),$("getIndicesAggregates","timespan",i),$("getIndicesAggregates","from",e),$("getIndicesAggregates","to",s);let l="/v2/aggs/ticker/{indicesTicker}/range/{multiplier}/{timespan}/{from}/{to}".replace("{indicesTicker}",encodeURIComponent(String(n))).replace("{multiplier}",encodeURIComponent(String(t))).replace("{timespan}",encodeURIComponent(String(i))).replace("{from}",encodeURIComponent(String(e))).replace("{to}",encodeURIComponent(String(s))),g=new URL(l,F),b;a&&(b=a.baseOptions);let p={method:"GET",...b,...d},f={},m={};await B(m,"apiKey",a),o!==void 0&&(m.sort=o),r!==void 0&&(m.limit=r),U(g,m);let y=b&&b.headers?b.headers:{};return p.headers={...f,...y,...d.headers},{url:z(g),options:p}},getIndicesEMA:async(n,t,i,e,s,o,r,d,l,g,b,p,f,m={})=>{$("getIndicesEMA","indicesTicker",n);let y="/v1/indicators/ema/{indicesTicker}".replace("{indicesTicker}",encodeURIComponent(String(n))),u=new URL(y,F),h;a&&(h=a.baseOptions);let R={method:"GET",...h,...m},x={},c={};await B(c,"apiKey",a),t!==void 0&&(c.timestamp=t),i!==void 0&&(c.timespan=i),e!==void 0&&(c.adjusted=e),s!==void 0&&(c.window=s),o!==void 0&&(c.series_type=o),r!==void 0&&(c.expand_underlying=r),d!==void 0&&(c.order=d),l!==void 0&&(c.limit=l),g!==void 0&&(c["timestamp.gte"]=g),b!==void 0&&(c["timestamp.gt"]=b),p!==void 0&&(c["timestamp.lte"]=p),f!==void 0&&(c["timestamp.lt"]=f),U(u,c);let k=h&&h.headers?h.headers:{};return R.headers={...x,...k,...m.headers},{url:z(u),options:R}},getIndicesMACD:async(n,t,i,e,s,o,r,d,l,g,b,p,f,m,y,u={})=>{$("getIndicesMACD","indicesTicker",n);let h="/v1/indicators/macd/{indicesTicker}".replace("{indicesTicker}",encodeURIComponent(String(n))),R=new URL(h,F),x;a&&(x=a.baseOptions);let c={method:"GET",...x,...u},k={},A={};await B(A,"apiKey",a),t!==void 0&&(A.timestamp=t),i!==void 0&&(A.timespan=i),e!==void 0&&(A.adjusted=e),s!==void 0&&(A.short_window=s),o!==void 0&&(A.long_window=o),r!==void 0&&(A.signal_window=r),d!==void 0&&(A.series_type=d),l!==void 0&&(A.expand_underlying=l),g!==void 0&&(A.order=g),b!==void 0&&(A.limit=b),p!==void 0&&(A["timestamp.gte"]=p),f!==void 0&&(A["timestamp.gt"]=f),m!==void 0&&(A["timestamp.lte"]=m),y!==void 0&&(A["timestamp.lt"]=y),U(R,A);let V=x&&x.headers?x.headers:{};return c.headers={...k,...V,...u.headers},{url:z(R),options:c}},getIndicesOpenClose:async(n,t,i={})=>{$("getIndicesOpenClose","indicesTicker",n),$("getIndicesOpenClose","date",t);let e="/v1/open-close/{indicesTicker}/{date}".replace("{indicesTicker}",encodeURIComponent(String(n))).replace("{date}",encodeURIComponent(String(t))),s=new URL(e,F),o;a&&(o=a.baseOptions);let r={method:"GET",...o,...i},d={},l={};await B(l,"apiKey",a),U(s,l);let g=o&&o.headers?o.headers:{};return r.headers={...d,...g,...i.headers},{url:z(s),options:r}},getIndicesRSI:async(n,t,i,e,s,o,r,d,l,g,b,p,f,m={})=>{$("getIndicesRSI","indicesTicker",n);let y="/v1/indicators/rsi/{indicesTicker}".replace("{indicesTicker}",encodeURIComponent(String(n))),u=new URL(y,F),h;a&&(h=a.baseOptions);let R={method:"GET",...h,...m},x={},c={};await B(c,"apiKey",a),t!==void 0&&(c.timestamp=t),i!==void 0&&(c.timespan=i),e!==void 0&&(c.adjusted=e),s!==void 0&&(c.window=s),o!==void 0&&(c.series_type=o),r!==void 0&&(c.expand_underlying=r),d!==void 0&&(c.order=d),l!==void 0&&(c.limit=l),g!==void 0&&(c["timestamp.gte"]=g),b!==void 0&&(c["timestamp.gt"]=b),p!==void 0&&(c["timestamp.lte"]=p),f!==void 0&&(c["timestamp.lt"]=f),U(u,c);let k=h&&h.headers?h.headers:{};return R.headers={...x,...k,...m.headers},{url:z(u),options:R}},getIndicesSMA:async(n,t,i,e,s,o,r,d,l,g,b,p,f,m={})=>{$("getIndicesSMA","indicesTicker",n);let y="/v1/indicators/sma/{indicesTicker}".replace("{indicesTicker}",encodeURIComponent(String(n))),u=new URL(y,F),h;a&&(h=a.baseOptions);let R={method:"GET",...h,...m},x={},c={};await B(c,"apiKey",a),t!==void 0&&(c.timestamp=t),i!==void 0&&(c.timespan=i),e!==void 0&&(c.adjusted=e),s!==void 0&&(c.window=s),o!==void 0&&(c.series_type=o),r!==void 0&&(c.expand_underlying=r),d!==void 0&&(c.order=d),l!==void 0&&(c.limit=l),g!==void 0&&(c["timestamp.gte"]=g),b!==void 0&&(c["timestamp.gt"]=b),p!==void 0&&(c["timestamp.lte"]=p),f!==void 0&&(c["timestamp.lt"]=f),U(u,c);let k=h&&h.headers?h.headers:{};return R.headers={...x,...k,...m.headers},{url:z(u),options:R}},getIndicesSnapshot:async(n,t,i,e,s,o,r,d,l,g={})=>{let b="/v3/snapshot/indices",p=new URL(b,F),f;a&&(f=a.baseOptions);let m={method:"GET",...f,...g},y={},u={};await B(u,"apiKey",a),n!==void 0&&(u["ticker.any_of"]=n),t!==void 0&&(u.ticker=t),i!==void 0&&(u["ticker.gte"]=i),e!==void 0&&(u["ticker.gt"]=e),s!==void 0&&(u["ticker.lte"]=s),o!==void 0&&(u["ticker.lt"]=o),r!==void 0&&(u.order=r),d!==void 0&&(u.limit=d),l!==void 0&&(u.sort=l),U(p,u);let h=f&&f.headers?f.headers:{};return m.headers={...y,...h,...g.headers},{url:z(p),options:m}},getLastCryptoTrade:async(n,t,i={})=>{$("getLastCryptoTrade","from",n),$("getLastCryptoTrade","to",t);let e="/v1/last/crypto/{from}/{to}".replace("{from}",encodeURIComponent(String(n))).replace("{to}",encodeURIComponent(String(t))),s=new URL(e,F),o;a&&(o=a.baseOptions);let r={method:"GET",...o,...i},d={},l={};await B(l,"apiKey",a),U(s,l);let g=o&&o.headers?o.headers:{};return r.headers={...d,...g,...i.headers},{url:z(s),options:r}},getLastCurrencyQuote:async(n,t,i={})=>{$("getLastCurrencyQuote","from",n),$("getLastCurrencyQuote","to",t);let e="/v1/last_quote/currencies/{from}/{to}".replace("{from}",encodeURIComponent(String(n))).replace("{to}",encodeURIComponent(String(t))),s=new URL(e,F),o;a&&(o=a.baseOptions);let r={method:"GET",...o,...i},d={},l={};await B(l,"apiKey",a),U(s,l);let g=o&&o.headers?o.headers:{};return r.headers={...d,...g,...i.headers},{url:z(s),options:r}},getLastOptionsTrade:async(n,t={})=>{$("getLastOptionsTrade","optionsTicker",n);let i="/v2/last/trade/{optionsTicker}".replace("{optionsTicker}",encodeURIComponent(String(n))),e=new URL(i,F),s;a&&(s=a.baseOptions);let o={method:"GET",...s,...t},r={},d={};await B(d,"apiKey",a),U(e,d);let l=s&&s.headers?s.headers:{};return o.headers={...r,...l,...t.headers},{url:z(e),options:o}},getLastStocksQuote:async(n,t={})=>{$("getLastStocksQuote","stocksTicker",n);let i="/v2/last/nbbo/{stocksTicker}".replace("{stocksTicker}",encodeURIComponent(String(n))),e=new URL(i,F),s;a&&(s=a.baseOptions);let o={method:"GET",...s,...t},r={},d={};await B(d,"apiKey",a),U(e,d);let l=s&&s.headers?s.headers:{};return o.headers={...r,...l,...t.headers},{url:z(e),options:o}},getLastStocksTrade:async(n,t={})=>{$("getLastStocksTrade","stocksTicker",n);let i="/v2/last/trade/{stocksTicker}".replace("{stocksTicker}",encodeURIComponent(String(n))),e=new URL(i,F),s;a&&(s=a.baseOptions);let o={method:"GET",...s,...t},r={},d={};await B(d,"apiKey",a),U(e,d);let l=s&&s.headers?s.headers:{};return o.headers={...r,...l,...t.headers},{url:z(e),options:o}},getMarketHolidays:async(n={})=>{let t="/v1/marketstatus/upcoming",i=new URL(t,F),e;a&&(e=a.baseOptions);let s={method:"GET",...e,...n},o={},r={};await B(r,"apiKey",a),U(i,r);let d=e&&e.headers?e.headers:{};return s.headers={...o,...d,...n.headers},{url:z(i),options:s}},getMarketStatus:async(n={})=>{let t="/v1/marketstatus/now",i=new URL(t,F),e;a&&(e=a.baseOptions);let s={method:"GET",...e,...n},o={},r={};await B(r,"apiKey",a),U(i,r);let d=e&&e.headers?e.headers:{};return s.headers={...o,...d,...n.headers},{url:z(i),options:s}},getOptionContract:async(n,t,i={})=>{$("getOptionContract","underlyingAsset",n),$("getOptionContract","optionContract",t);let e="/v3/snapshot/options/{underlyingAsset}/{optionContract}".replace("{underlyingAsset}",encodeURIComponent(String(n))).replace("{optionContract}",encodeURIComponent(String(t))),s=new URL(e,F),o;a&&(o=a.baseOptions);let r={method:"GET",...o,...i},d={},l={};await B(l,"apiKey",a),U(s,l);let g=o&&o.headers?o.headers:{};return r.headers={...d,...g,...i.headers},{url:z(s),options:r}},getOptionsAggregates:async(n,t,i,e,s,o,r,d,l={})=>{$("getOptionsAggregates","optionsTicker",n),$("getOptionsAggregates","multiplier",t),$("getOptionsAggregates","timespan",i),$("getOptionsAggregates","from",e),$("getOptionsAggregates","to",s);let g="/v2/aggs/ticker/{optionsTicker}/range/{multiplier}/{timespan}/{from}/{to}".replace("{optionsTicker}",encodeURIComponent(String(n))).replace("{multiplier}",encodeURIComponent(String(t))).replace("{timespan}",encodeURIComponent(String(i))).replace("{from}",encodeURIComponent(String(e))).replace("{to}",encodeURIComponent(String(s))),b=new URL(g,F),p;a&&(p=a.baseOptions);let f={method:"GET",...p,...l},m={},y={};await B(y,"apiKey",a),o!==void 0&&(y.adjusted=o),r!==void 0&&(y.sort=r),d!==void 0&&(y.limit=d),U(b,y);let u=p&&p.headers?p.headers:{};return f.headers={...m,...u,...l.headers},{url:z(b),options:f}},getOptionsChain:async(n,t,i,e,s,o,r,d,l,g,b,p,f,m,y,u={})=>{$("getOptionsChain","underlyingAsset",n);let h="/v3/snapshot/options/{underlyingAsset}".replace("{underlyingAsset}",encodeURIComponent(String(n))),R=new URL(h,F),x;a&&(x=a.baseOptions);let c={method:"GET",...x,...u},k={},A={};await B(A,"apiKey",a),t!==void 0&&(A.strike_price=t),i!==void 0&&(A.expiration_date=i),e!==void 0&&(A.contract_type=e),s!==void 0&&(A["strike_price.gte"]=s),o!==void 0&&(A["strike_price.gt"]=o),r!==void 0&&(A["strike_price.lte"]=r),d!==void 0&&(A["strike_price.lt"]=d),l!==void 0&&(A["expiration_date.gte"]=l),g!==void 0&&(A["expiration_date.gt"]=g),b!==void 0&&(A["expiration_date.lte"]=b),p!==void 0&&(A["expiration_date.lt"]=p),f!==void 0&&(A.order=f),m!==void 0&&(A.limit=m),y!==void 0&&(A.sort=y),U(R,A);let V=x&&x.headers?x.headers:{};return c.headers={...k,...V,...u.headers},{url:z(R),options:c}},getOptionsContract:async(n,t,i={})=>{$("getOptionsContract","optionsTicker",n);let e="/v3/reference/options/contracts/{options_ticker}".replace("{options_ticker}",encodeURIComponent(String(n))),s=new URL(e,F),o;a&&(o=a.baseOptions);let r={method:"GET",...o,...i},d={},l={};await B(l,"apiKey",a),t!==void 0&&(l.as_of=t),U(s,l);let g=o&&o.headers?o.headers:{};return r.headers={...d,...g,...i.headers},{url:z(s),options:r}},getOptionsEMA:async(n,t,i,e,s,o,r,d,l,g,b,p,f,m={})=>{$("getOptionsEMA","optionsTicker",n);let y="/v1/indicators/ema/{optionsTicker}".replace("{optionsTicker}",encodeURIComponent(String(n))),u=new URL(y,F),h;a&&(h=a.baseOptions);let R={method:"GET",...h,...m},x={},c={};await B(c,"apiKey",a),t!==void 0&&(c.timestamp=t),i!==void 0&&(c.timespan=i),e!==void 0&&(c.adjusted=e),s!==void 0&&(c.window=s),o!==void 0&&(c.series_type=o),r!==void 0&&(c.expand_underlying=r),d!==void 0&&(c.order=d),l!==void 0&&(c.limit=l),g!==void 0&&(c["timestamp.gte"]=g),b!==void 0&&(c["timestamp.gt"]=b),p!==void 0&&(c["timestamp.lte"]=p),f!==void 0&&(c["timestamp.lt"]=f),U(u,c);let k=h&&h.headers?h.headers:{};return R.headers={...x,...k,...m.headers},{url:z(u),options:R}},getOptionsMACD:async(n,t,i,e,s,o,r,d,l,g,b,p,f,m,y,u={})=>{$("getOptionsMACD","optionsTicker",n);let h="/v1/indicators/macd/{optionsTicker}".replace("{optionsTicker}",encodeURIComponent(String(n))),R=new URL(h,F),x;a&&(x=a.baseOptions);let c={method:"GET",...x,...u},k={},A={};await B(A,"apiKey",a),t!==void 0&&(A.timestamp=t),i!==void 0&&(A.timespan=i),e!==void 0&&(A.adjusted=e),s!==void 0&&(A.short_window=s),o!==void 0&&(A.long_window=o),r!==void 0&&(A.signal_window=r),d!==void 0&&(A.series_type=d),l!==void 0&&(A.expand_underlying=l),g!==void 0&&(A.order=g),b!==void 0&&(A.limit=b),p!==void 0&&(A["timestamp.gte"]=p),f!==void 0&&(A["timestamp.gt"]=f),m!==void 0&&(A["timestamp.lte"]=m),y!==void 0&&(A["timestamp.lt"]=y),U(R,A);let V=x&&x.headers?x.headers:{};return c.headers={...k,...V,...u.headers},{url:z(R),options:c}},getOptionsOpenClose:async(n,t,i,e={})=>{$("getOptionsOpenClose","optionsTicker",n),$("getOptionsOpenClose","date",t);let s="/v1/open-close/{optionsTicker}/{date}".replace("{optionsTicker}",encodeURIComponent(String(n))).replace("{date}",encodeURIComponent(String(t))),o=new URL(s,F),r;a&&(r=a.baseOptions);let d={method:"GET",...r,...e},l={},g={};await B(g,"apiKey",a),i!==void 0&&(g.adjusted=i),U(o,g);let b=r&&r.headers?r.headers:{};return d.headers={...l,...b,...e.headers},{url:z(o),options:d}},getOptionsQuotes:async(n,t,i,e,s,o,r,d,l,g={})=>{$("getOptionsQuotes","optionsTicker",n);let b="/v3/quotes/{optionsTicker}".replace("{optionsTicker}",encodeURIComponent(String(n))),p=new URL(b,F),f;a&&(f=a.baseOptions);let m={method:"GET",...f,...g},y={},u={};await B(u,"apiKey",a),t!==void 0&&(u.timestamp=t),i!==void 0&&(u["timestamp.gte"]=i),e!==void 0&&(u["timestamp.gt"]=e),s!==void 0&&(u["timestamp.lte"]=s),o!==void 0&&(u["timestamp.lt"]=o),r!==void 0&&(u.order=r),d!==void 0&&(u.limit=d),l!==void 0&&(u.sort=l),U(p,u);let h=f&&f.headers?f.headers:{};return m.headers={...y,...h,...g.headers},{url:z(p),options:m}},getOptionsRSI:async(n,t,i,e,s,o,r,d,l,g,b,p,f,m={})=>{$("getOptionsRSI","optionsTicker",n);let y="/v1/indicators/rsi/{optionsTicker}".replace("{optionsTicker}",encodeURIComponent(String(n))),u=new URL(y,F),h;a&&(h=a.baseOptions);let R={method:"GET",...h,...m},x={},c={};await B(c,"apiKey",a),t!==void 0&&(c.timestamp=t),i!==void 0&&(c.timespan=i),e!==void 0&&(c.adjusted=e),s!==void 0&&(c.window=s),o!==void 0&&(c.series_type=o),r!==void 0&&(c.expand_underlying=r),d!==void 0&&(c.order=d),l!==void 0&&(c.limit=l),g!==void 0&&(c["timestamp.gte"]=g),b!==void 0&&(c["timestamp.gt"]=b),p!==void 0&&(c["timestamp.lte"]=p),f!==void 0&&(c["timestamp.lt"]=f),U(u,c);let k=h&&h.headers?h.headers:{};return R.headers={...x,...k,...m.headers},{url:z(u),options:R}},getOptionsSMA:async(n,t,i,e,s,o,r,d,l,g,b,p,f,m={})=>{$("getOptionsSMA","optionsTicker",n);let y="/v1/indicators/sma/{optionsTicker}".replace("{optionsTicker}",encodeURIComponent(String(n))),u=new URL(y,F),h;a&&(h=a.baseOptions);let R={method:"GET",...h,...m},x={},c={};await B(c,"apiKey",a),t!==void 0&&(c.timestamp=t),i!==void 0&&(c.timespan=i),e!==void 0&&(c.adjusted=e),s!==void 0&&(c.window=s),o!==void 0&&(c.series_type=o),r!==void 0&&(c.expand_underlying=r),d!==void 0&&(c.order=d),l!==void 0&&(c.limit=l),g!==void 0&&(c["timestamp.gte"]=g),b!==void 0&&(c["timestamp.gt"]=b),p!==void 0&&(c["timestamp.lte"]=p),f!==void 0&&(c["timestamp.lt"]=f),U(u,c);let k=h&&h.headers?h.headers:{};return R.headers={...x,...k,...m.headers},{url:z(u),options:R}},getOptionsTrades:async(n,t,i,e,s,o,r,d,l,g={})=>{$("getOptionsTrades","optionsTicker",n);let b="/v3/trades/{optionsTicker}".replace("{optionsTicker}",encodeURIComponent(String(n))),p=new URL(b,F),f;a&&(f=a.baseOptions);let m={method:"GET",...f,...g},y={},u={};await B(u,"apiKey",a),t!==void 0&&(u.timestamp=t),i!==void 0&&(u["timestamp.gte"]=i),e!==void 0&&(u["timestamp.gt"]=e),s!==void 0&&(u["timestamp.lte"]=s),o!==void 0&&(u["timestamp.lt"]=o),r!==void 0&&(u.order=r),d!==void 0&&(u.limit=d),l!==void 0&&(u.sort=l),U(p,u);let h=f&&f.headers?f.headers:{};return m.headers={...y,...h,...g.headers},{url:z(p),options:m}},getOptionsV1Exchanges:async(n,t={})=>{let i="/options/v1/exchanges",e=new URL(i,F),s;a&&(s=a.baseOptions);let o={method:"GET",...s,...t},r={},d={};await B(d,"apiKey",a),n!==void 0&&(d.limit=n),U(e,d);let l=s&&s.headers?s.headers:{};return o.headers={...r,...l,...t.headers},{url:z(e),options:o}},getPreviousCryptoAggregates:async(n,t,i={})=>{$("getPreviousCryptoAggregates","cryptoTicker",n);let e="/v2/aggs/ticker/{cryptoTicker}/prev".replace("{cryptoTicker}",encodeURIComponent(String(n))),s=new URL(e,F),o;a&&(o=a.baseOptions);let r={method:"GET",...o,...i},d={},l={};await B(l,"apiKey",a),t!==void 0&&(l.adjusted=t),U(s,l);let g=o&&o.headers?o.headers:{};return r.headers={...d,...g,...i.headers},{url:z(s),options:r}},getPreviousForexAggregates:async(n,t,i={})=>{$("getPreviousForexAggregates","forexTicker",n);let e="/v2/aggs/ticker/{forexTicker}/prev".replace("{forexTicker}",encodeURIComponent(String(n))),s=new URL(e,F),o;a&&(o=a.baseOptions);let r={method:"GET",...o,...i},d={},l={};await B(l,"apiKey",a),t!==void 0&&(l.adjusted=t),U(s,l);let g=o&&o.headers?o.headers:{};return r.headers={...d,...g,...i.headers},{url:z(s),options:r}},getPreviousIndicesAggregates:async(n,t={})=>{$("getPreviousIndicesAggregates","indicesTicker",n);let i="/v2/aggs/ticker/{indicesTicker}/prev".replace("{indicesTicker}",encodeURIComponent(String(n))),e=new URL(i,F),s;a&&(s=a.baseOptions);let o={method:"GET",...s,...t},r={},d={};await B(d,"apiKey",a),U(e,d);let l=s&&s.headers?s.headers:{};return o.headers={...r,...l,...t.headers},{url:z(e),options:o}},getPreviousOptionsAggregates:async(n,t,i={})=>{$("getPreviousOptionsAggregates","optionsTicker",n);let e="/v2/aggs/ticker/{optionsTicker}/prev".replace("{optionsTicker}",encodeURIComponent(String(n))),s=new URL(e,F),o;a&&(o=a.baseOptions);let r={method:"GET",...o,...i},d={},l={};await B(l,"apiKey",a),t!==void 0&&(l.adjusted=t),U(s,l);let g=o&&o.headers?o.headers:{};return r.headers={...d,...g,...i.headers},{url:z(s),options:r}},getPreviousStocksAggregates:async(n,t,i={})=>{$("getPreviousStocksAggregates","stocksTicker",n);let e="/v2/aggs/ticker/{stocksTicker}/prev".replace("{stocksTicker}",encodeURIComponent(String(n))),s=new URL(e,F),o;a&&(o=a.baseOptions);let r={method:"GET",...o,...i},d={},l={};await B(l,"apiKey",a),t!==void 0&&(l.adjusted=t),U(s,l);let g=o&&o.headers?o.headers:{};return r.headers={...d,...g,...i.headers},{url:z(s),options:r}},getRelatedCompanies:async(n,t={})=>{$("getRelatedCompanies","ticker",n);let i="/v1/related-companies/{ticker}".replace("{ticker}",encodeURIComponent(String(n))),e=new URL(i,F),s;a&&(s=a.baseOptions);let o={method:"GET",...s,...t},r={},d={};await B(d,"apiKey",a),U(e,d);let l=s&&s.headers?s.headers:{};return o.headers={...r,...l,...t.headers},{url:z(e),options:o}},getSnapshotSummary:async(n,t={})=>{let i="/v1/summaries",e=new URL(i,F),s;a&&(s=a.baseOptions);let o={method:"GET",...s,...t},r={},d={};await B(d,"apiKey",a),n!==void 0&&(d["ticker.any_of"]=n),U(e,d);let l=s&&s.headers?s.headers:{};return o.headers={...r,...l,...t.headers},{url:z(e),options:o}},getSnapshots:async(n,t,i,e,s,o,r,d,l,g,b={})=>{let p="/v3/snapshot",f=new URL(p,F),m;a&&(m=a.baseOptions);let y={method:"GET",...m,...b},u={},h={};await B(h,"apiKey",a),n!==void 0&&(h.ticker=n),t!==void 0&&(h.type=t),i!==void 0&&(h["ticker.gte"]=i),e!==void 0&&(h["ticker.gt"]=e),s!==void 0&&(h["ticker.lte"]=s),o!==void 0&&(h["ticker.lt"]=o),r!==void 0&&(h["ticker.any_of"]=r),d!==void 0&&(h.order=d),l!==void 0&&(h.limit=l),g!==void 0&&(h.sort=g),U(f,h);let R=m&&m.headers?m.headers:{};return y.headers={...u,...R,...b.headers},{url:z(f),options:y}},getStocksAggregates:async(n,t,i,e,s,o,r,d,l={})=>{$("getStocksAggregates","stocksTicker",n),$("getStocksAggregates","multiplier",t),$("getStocksAggregates","timespan",i),$("getStocksAggregates","from",e),$("getStocksAggregates","to",s);let g="/v2/aggs/ticker/{stocksTicker}/range/{multiplier}/{timespan}/{from}/{to}".replace("{stocksTicker}",encodeURIComponent(String(n))).replace("{multiplier}",encodeURIComponent(String(t))).replace("{timespan}",encodeURIComponent(String(i))).replace("{from}",encodeURIComponent(String(e))).replace("{to}",encodeURIComponent(String(s))),b=new URL(g,F),p;a&&(p=a.baseOptions);let f={method:"GET",...p,...l},m={},y={};await B(y,"apiKey",a),o!==void 0&&(y.adjusted=o),r!==void 0&&(y.sort=r),d!==void 0&&(y.limit=d),U(b,y);let u=p&&p.headers?p.headers:{};return f.headers={...m,...u,...l.headers},{url:z(b),options:f}},getStocksEMA:async(n,t,i,e,s,o,r,d,l,g,b,p,f,m={})=>{$("getStocksEMA","stockTicker",n);let y="/v1/indicators/ema/{stockTicker}".replace("{stockTicker}",encodeURIComponent(String(n))),u=new URL(y,F),h;a&&(h=a.baseOptions);let R={method:"GET",...h,...m},x={},c={};await B(c,"apiKey",a),t!==void 0&&(c.timestamp=t),i!==void 0&&(c.timespan=i),e!==void 0&&(c.adjusted=e),s!==void 0&&(c.window=s),o!==void 0&&(c.series_type=o),r!==void 0&&(c.expand_underlying=r),d!==void 0&&(c.order=d),l!==void 0&&(c.limit=l),g!==void 0&&(c["timestamp.gte"]=g),b!==void 0&&(c["timestamp.gt"]=b),p!==void 0&&(c["timestamp.lte"]=p),f!==void 0&&(c["timestamp.lt"]=f),U(u,c);let k=h&&h.headers?h.headers:{};return R.headers={...x,...k,...m.headers},{url:z(u),options:R}},getStocksFilings10KVXSections:async(n,t,i,e,s,o,r,d,l,g,b,p,f,m,y,u,h,R,x,c,k,A,V,w,O,I,_={})=>{let j="/stocks/filings/10-K/vX/sections",L=new URL(j,F),K;a&&(K=a.baseOptions);let X={method:"GET",...K,..._},C={},v={};await B(v,"apiKey",a),n!==void 0&&(v.cik=n),t!==void 0&&(v["cik.any_of"]=t),i!==void 0&&(v["cik.gt"]=i),e!==void 0&&(v["cik.gte"]=e),s!==void 0&&(v["cik.lt"]=s),o!==void 0&&(v["cik.lte"]=o),r!==void 0&&(v.ticker=r),d!==void 0&&(v["ticker.any_of"]=d),l!==void 0&&(v["ticker.gt"]=l),g!==void 0&&(v["ticker.gte"]=g),b!==void 0&&(v["ticker.lt"]=b),p!==void 0&&(v["ticker.lte"]=p),f!==void 0&&(v.section=f),m!==void 0&&(v["section.any_of"]=m),y!==void 0&&(v.filing_date=y),u!==void 0&&(v["filing_date.gt"]=u),h!==void 0&&(v["filing_date.gte"]=h),R!==void 0&&(v["filing_date.lt"]=R),x!==void 0&&(v["filing_date.lte"]=x),c!==void 0&&(v.period_end=c),k!==void 0&&(v["period_end.gt"]=k),A!==void 0&&(v["period_end.gte"]=A),V!==void 0&&(v["period_end.lt"]=V),w!==void 0&&(v["period_end.lte"]=w),O!==void 0&&(v.limit=O),I!==void 0&&(v.sort=I),U(L,v);let S=K&&K.headers?K.headers:{};return X.headers={...C,...S,..._.headers},{url:z(L),options:X}},getStocksFilings8KVXText:async(n,t,i,e,s,o,r,d,l,g,b,p,f,m,y,u,h,R,x,c,k,A,V,w,O,I={})=>{let _="/stocks/filings/8-K/vX/text",j=new URL(_,F),L;a&&(L=a.baseOptions);let K={method:"GET",...L,...I},X={},C={};await B(C,"apiKey",a),n!==void 0&&(C.cik=n),t!==void 0&&(C["cik.any_of"]=t),i!==void 0&&(C["cik.gt"]=i),e!==void 0&&(C["cik.gte"]=e),s!==void 0&&(C["cik.lt"]=s),o!==void 0&&(C["cik.lte"]=o),r!==void 0&&(C.ticker=r),d!==void 0&&(C["ticker.any_of"]=d),l!==void 0&&(C["ticker.gt"]=l),g!==void 0&&(C["ticker.gte"]=g),b!==void 0&&(C["ticker.lt"]=b),p!==void 0&&(C["ticker.lte"]=p),f!==void 0&&(C.form_type=f),m!==void 0&&(C["form_type.any_of"]=m),y!==void 0&&(C["form_type.gt"]=y),u!==void 0&&(C["form_type.gte"]=u),h!==void 0&&(C["form_type.lt"]=h),R!==void 0&&(C["form_type.lte"]=R),x!==void 0&&(C.filing_date=x),c!==void 0&&(C["filing_date.gt"]=c),k!==void 0&&(C["filing_date.gte"]=k),A!==void 0&&(C["filing_date.lt"]=A),V!==void 0&&(C["filing_date.lte"]=V),w!==void 0&&(C.limit=w),O!==void 0&&(C.sort=O),U(j,C);let v=L&&L.headers?L.headers:{};return K.headers={...X,...v,...I.headers},{url:z(j),options:K}},getStocksFilingsVXIndex:async(n,t,i,e,s,o,r,d,l,g,b,p,f,m,y,u,h,R,x,c,k,A,V,w,O,I={})=>{let _="/stocks/filings/vX/index",j=new URL(_,F),L;a&&(L=a.baseOptions);let K={method:"GET",...L,...I},X={},C={};await B(C,"apiKey",a),n!==void 0&&(C.cik=n),t!==void 0&&(C["cik.any_of"]=t),i!==void 0&&(C["cik.gt"]=i),e!==void 0&&(C["cik.gte"]=e),s!==void 0&&(C["cik.lt"]=s),o!==void 0&&(C["cik.lte"]=o),r!==void 0&&(C.ticker=r),d!==void 0&&(C["ticker.any_of"]=d),l!==void 0&&(C["ticker.gt"]=l),g!==void 0&&(C["ticker.gte"]=g),b!==void 0&&(C["ticker.lt"]=b),p!==void 0&&(C["ticker.lte"]=p),f!==void 0&&(C.form_type=f),m!==void 0&&(C["form_type.any_of"]=m),y!==void 0&&(C["form_type.gt"]=y),u!==void 0&&(C["form_type.gte"]=u),h!==void 0&&(C["form_type.lt"]=h),R!==void 0&&(C["form_type.lte"]=R),x!==void 0&&(C.filing_date=x),c!==void 0&&(C["filing_date.gt"]=c),k!==void 0&&(C["filing_date.gte"]=k),A!==void 0&&(C["filing_date.lt"]=A),V!==void 0&&(C["filing_date.lte"]=V),w!==void 0&&(C.limit=w),O!==void 0&&(C.sort=O),U(j,C);let v=L&&L.headers?L.headers:{};return K.headers={...X,...v,...I.headers},{url:z(j),options:K}},getStocksFilingsVXRiskFactors:async(n,t,i,e,s,o,r,d,l,g,b,p,f,m,y,u,h,R,x,c,k={})=>{let A="/stocks/filings/vX/risk-factors",V=new URL(A,F),w;a&&(w=a.baseOptions);let O={method:"GET",...w,...k},I={},_={};await B(_,"apiKey",a),n!==void 0&&(_.filing_date=n),t!==void 0&&(_["filing_date.any_of"]=t),i!==void 0&&(_["filing_date.gt"]=i),e!==void 0&&(_["filing_date.gte"]=e),s!==void 0&&(_["filing_date.lt"]=s),o!==void 0&&(_["filing_date.lte"]=o),r!==void 0&&(_.ticker=r),d!==void 0&&(_["ticker.any_of"]=d),l!==void 0&&(_["ticker.gt"]=l),g!==void 0&&(_["ticker.gte"]=g),b!==void 0&&(_["ticker.lt"]=b),p!==void 0&&(_["ticker.lte"]=p),f!==void 0&&(_.cik=f),m!==void 0&&(_["cik.any_of"]=m),y!==void 0&&(_["cik.gt"]=y),u!==void 0&&(_["cik.gte"]=u),h!==void 0&&(_["cik.lt"]=h),R!==void 0&&(_["cik.lte"]=R),x!==void 0&&(_.limit=x),c!==void 0&&(_.sort=c),U(V,_);let j=w&&w.headers?w.headers:{};return O.headers={...I,...j,...k.headers},{url:z(V),options:O}},getStocksFinancialsV1BalanceSheets:async(n,t,i,e,s,o,r,d,l,g,b,p,f,m,y,u,h,R,x,c,k,A,V,w,O,I,_,j,L,K,X,C,v,S,en,nn,on,sn,Y,rn,an,M,dn,pn,fn,un,ln,gn,yn,W={})=>{let J="/stocks/financials/v1/balance-sheets",bn=new URL(J,F),cn;a&&(cn=a.baseOptions);let mn={method:"GET",...cn,...W},Z={},G={};await B(G,"apiKey",a),n!==void 0&&(G.cik=n),t!==void 0&&(G["cik.any_of"]=t),i!==void 0&&(G["cik.gt"]=i),e!==void 0&&(G["cik.gte"]=e),s!==void 0&&(G["cik.lt"]=s),o!==void 0&&(G["cik.lte"]=o),r!==void 0&&(G.tickers=r),d!==void 0&&(G["tickers.all_of"]=d),l!==void 0&&(G["tickers.any_of"]=l),g!==void 0&&(G.period_end=g),b!==void 0&&(G["period_end.gt"]=b),p!==void 0&&(G["period_end.gte"]=p),f!==void 0&&(G["period_end.lt"]=f),m!==void 0&&(G["period_end.lte"]=m),y!==void 0&&(G.filing_date=y),u!==void 0&&(G["filing_date.gt"]=u),h!==void 0&&(G["filing_date.gte"]=h),R!==void 0&&(G["filing_date.lt"]=R),x!==void 0&&(G["filing_date.lte"]=x),c!==void 0&&(G.fiscal_year=c),k!==void 0&&(G["fiscal_year.gt"]=k),A!==void 0&&(G["fiscal_year.gte"]=A),V!==void 0&&(G["fiscal_year.lt"]=V),w!==void 0&&(G["fiscal_year.lte"]=w),O!==void 0&&(G.fiscal_quarter=O),I!==void 0&&(G["fiscal_quarter.gt"]=I),_!==void 0&&(G["fiscal_quarter.gte"]=_),j!==void 0&&(G["fiscal_quarter.lt"]=j),L!==void 0&&(G["fiscal_quarter.lte"]=L),K!==void 0&&(G.timeframe=K),X!==void 0&&(G["timeframe.any_of"]=X),C!==void 0&&(G["timeframe.gt"]=C),v!==void 0&&(G["timeframe.gte"]=v),S!==void 0&&(G["timeframe.lt"]=S),en!==void 0&&(G["timeframe.lte"]=en),nn!==void 0&&(G.max_ticker=nn),on!==void 0&&(G["max_ticker.any_of"]=on),sn!==void 0&&(G["max_ticker.gt"]=sn),Y!==void 0&&(G["max_ticker.gte"]=Y),rn!==void 0&&(G["max_ticker.lt"]=rn),an!==void 0&&(G["max_ticker.lte"]=an),M!==void 0&&(G.min_ticker=M),dn!==void 0&&(G["min_ticker.any_of"]=dn),pn!==void 0&&(G["min_ticker.gt"]=pn),fn!==void 0&&(G["min_ticker.gte"]=fn),un!==void 0&&(G["min_ticker.lt"]=un),ln!==void 0&&(G["min_ticker.lte"]=ln),gn!==void 0&&(G.limit=gn),yn!==void 0&&(G.sort=yn),U(bn,G);let hn=cn&&cn.headers?cn.headers:{};return mn.headers={...Z,...hn,...W.headers},{url:z(bn),options:mn}},getStocksFinancialsV1CashFlowStatements:async(n,t,i,e,s,o,r,d,l,g,b,p,f,m,y,u,h,R,x,c,k,A,V,w,O,I,_,j,L,K,X,C,v,S,en,nn,on,sn,Y,rn,an,M,dn,pn,fn,un,ln,gn,yn,W={})=>{let J="/stocks/financials/v1/cash-flow-statements",bn=new URL(J,F),cn;a&&(cn=a.baseOptions);let mn={method:"GET",...cn,...W},Z={},G={};await B(G,"apiKey",a),n!==void 0&&(G.cik=n),t!==void 0&&(G["cik.any_of"]=t),i!==void 0&&(G["cik.gt"]=i),e!==void 0&&(G["cik.gte"]=e),s!==void 0&&(G["cik.lt"]=s),o!==void 0&&(G["cik.lte"]=o),r!==void 0&&(G.period_end=r),d!==void 0&&(G["period_end.gt"]=d),l!==void 0&&(G["period_end.gte"]=l),g!==void 0&&(G["period_end.lt"]=g),b!==void 0&&(G["period_end.lte"]=b),p!==void 0&&(G.filing_date=p),f!==void 0&&(G["filing_date.gt"]=f),m!==void 0&&(G["filing_date.gte"]=m),y!==void 0&&(G["filing_date.lt"]=y),u!==void 0&&(G["filing_date.lte"]=u),h!==void 0&&(G.tickers=h),R!==void 0&&(G["tickers.all_of"]=R),x!==void 0&&(G["tickers.any_of"]=x),c!==void 0&&(G.fiscal_year=c),k!==void 0&&(G["fiscal_year.gt"]=k),A!==void 0&&(G["fiscal_year.gte"]=A),V!==void 0&&(G["fiscal_year.lt"]=V),w!==void 0&&(G["fiscal_year.lte"]=w),O!==void 0&&(G.fiscal_quarter=O),I!==void 0&&(G["fiscal_quarter.gt"]=I),_!==void 0&&(G["fiscal_quarter.gte"]=_),j!==void 0&&(G["fiscal_quarter.lt"]=j),L!==void 0&&(G["fiscal_quarter.lte"]=L),K!==void 0&&(G.timeframe=K),X!==void 0&&(G["timeframe.any_of"]=X),C!==void 0&&(G["timeframe.gt"]=C),v!==void 0&&(G["timeframe.gte"]=v),S!==void 0&&(G["timeframe.lt"]=S),en!==void 0&&(G["timeframe.lte"]=en),nn!==void 0&&(G.max_ticker=nn),on!==void 0&&(G["max_ticker.any_of"]=on),sn!==void 0&&(G["max_ticker.gt"]=sn),Y!==void 0&&(G["max_ticker.gte"]=Y),rn!==void 0&&(G["max_ticker.lt"]=rn),an!==void 0&&(G["max_ticker.lte"]=an),M!==void 0&&(G.min_ticker=M),dn!==void 0&&(G["min_ticker.any_of"]=dn),pn!==void 0&&(G["min_ticker.gt"]=pn),fn!==void 0&&(G["min_ticker.gte"]=fn),un!==void 0&&(G["min_ticker.lt"]=un),ln!==void 0&&(G["min_ticker.lte"]=ln),gn!==void 0&&(G.limit=gn),yn!==void 0&&(G.sort=yn),U(bn,G);let hn=cn&&cn.headers?cn.headers:{};return mn.headers={...Z,...hn,...W.headers},{url:z(bn),options:mn}},getStocksFinancialsV1IncomeStatements:async(n,t,i,e,s,o,r,d,l,g,b,p,f,m,y,u,h,R,x,c,k,A,V,w,O,I,_,j,L,K,X,C,v,S,en,nn,on,sn,Y,rn,an,M,dn,pn,fn,un,ln,gn,yn,W={})=>{let J="/stocks/financials/v1/income-statements",bn=new URL(J,F),cn;a&&(cn=a.baseOptions);let mn={method:"GET",...cn,...W},Z={},G={};await B(G,"apiKey",a),n!==void 0&&(G.cik=n),t!==void 0&&(G["cik.any_of"]=t),i!==void 0&&(G["cik.gt"]=i),e!==void 0&&(G["cik.gte"]=e),s!==void 0&&(G["cik.lt"]=s),o!==void 0&&(G["cik.lte"]=o),r!==void 0&&(G.tickers=r),d!==void 0&&(G["tickers.all_of"]=d),l!==void 0&&(G["tickers.any_of"]=l),g!==void 0&&(G.period_end=g),b!==void 0&&(G["period_end.gt"]=b),p!==void 0&&(G["period_end.gte"]=p),f!==void 0&&(G["period_end.lt"]=f),m!==void 0&&(G["period_end.lte"]=m),y!==void 0&&(G.filing_date=y),u!==void 0&&(G["filing_date.gt"]=u),h!==void 0&&(G["filing_date.gte"]=h),R!==void 0&&(G["filing_date.lt"]=R),x!==void 0&&(G["filing_date.lte"]=x),c!==void 0&&(G.fiscal_year=c),k!==void 0&&(G["fiscal_year.gt"]=k),A!==void 0&&(G["fiscal_year.gte"]=A),V!==void 0&&(G["fiscal_year.lt"]=V),w!==void 0&&(G["fiscal_year.lte"]=w),O!==void 0&&(G.fiscal_quarter=O),I!==void 0&&(G["fiscal_quarter.gt"]=I),_!==void 0&&(G["fiscal_quarter.gte"]=_),j!==void 0&&(G["fiscal_quarter.lt"]=j),L!==void 0&&(G["fiscal_quarter.lte"]=L),K!==void 0&&(G.timeframe=K),X!==void 0&&(G["timeframe.any_of"]=X),C!==void 0&&(G["timeframe.gt"]=C),v!==void 0&&(G["timeframe.gte"]=v),S!==void 0&&(G["timeframe.lt"]=S),en!==void 0&&(G["timeframe.lte"]=en),nn!==void 0&&(G.max_ticker=nn),on!==void 0&&(G["max_ticker.any_of"]=on),sn!==void 0&&(G["max_ticker.gt"]=sn),Y!==void 0&&(G["max_ticker.gte"]=Y),rn!==void 0&&(G["max_ticker.lt"]=rn),an!==void 0&&(G["max_ticker.lte"]=an),M!==void 0&&(G.min_ticker=M),dn!==void 0&&(G["min_ticker.any_of"]=dn),pn!==void 0&&(G["min_ticker.gt"]=pn),fn!==void 0&&(G["min_ticker.gte"]=fn),un!==void 0&&(G["min_ticker.lt"]=un),ln!==void 0&&(G["min_ticker.lte"]=ln),gn!==void 0&&(G.limit=gn),yn!==void 0&&(G.sort=yn),U(bn,G);let hn=cn&&cn.headers?cn.headers:{};return mn.headers={...Z,...hn,...W.headers},{url:z(bn),options:mn}},getStocksFinancialsV1Ratios:async(n,t,i,e,s,o,r,d,l,g,b,p,f,m,y,u,h,R,x,c,k,A,V,w,O,I,_,j,L,K,X,C,v,S,en,nn,on,sn,Y,rn,an,M,dn,pn,fn,un,ln,gn,yn,W,J,bn,cn,mn,Z,G,hn,Rn,An,xn,P,kn,tn,Vn,On,Cn,Sn,wn,vn,In,Dn,Ln,_n,Tn,Fn,q,Un,zn,Qn,En,Mn,Hn,jn,Kn,Nn,Xn,$n,Yn,Wn,Jn,Zn,qn,Pn,ne,ee,te,ie,se,oe,re,ae,de,le,ge,ce,pe,fe,ue,ye,be,me,he,Re,xe,Ae={})=>{let Se="/stocks/financials/v1/ratios",ke=new URL(Se,F),Bn;a&&(Bn=a.baseOptions);let _e={method:"GET",...Bn,...Ae},we={},N={};await B(N,"apiKey",a),n!==void 0&&(N.ticker=n),t!==void 0&&(N["ticker.any_of"]=t),i!==void 0&&(N["ticker.gt"]=i),e!==void 0&&(N["ticker.gte"]=e),s!==void 0&&(N["ticker.lt"]=s),o!==void 0&&(N["ticker.lte"]=o),r!==void 0&&(N.cik=r),d!==void 0&&(N["cik.any_of"]=d),l!==void 0&&(N["cik.gt"]=l),g!==void 0&&(N["cik.gte"]=g),b!==void 0&&(N["cik.lt"]=b),p!==void 0&&(N["cik.lte"]=p),f!==void 0&&(N.price=f),m!==void 0&&(N["price.gt"]=m),y!==void 0&&(N["price.gte"]=y),u!==void 0&&(N["price.lt"]=u),h!==void 0&&(N["price.lte"]=h),R!==void 0&&(N.average_volume=R),x!==void 0&&(N["average_volume.gt"]=x),c!==void 0&&(N["average_volume.gte"]=c),k!==void 0&&(N["average_volume.lt"]=k),A!==void 0&&(N["average_volume.lte"]=A),V!==void 0&&(N.market_cap=V),w!==void 0&&(N["market_cap.gt"]=w),O!==void 0&&(N["market_cap.gte"]=O),I!==void 0&&(N["market_cap.lt"]=I),_!==void 0&&(N["market_cap.lte"]=_),j!==void 0&&(N.earnings_per_share=j),L!==void 0&&(N["earnings_per_share.gt"]=L),K!==void 0&&(N["earnings_per_share.gte"]=K),X!==void 0&&(N["earnings_per_share.lt"]=X),C!==void 0&&(N["earnings_per_share.lte"]=C),v!==void 0&&(N.price_to_earnings=v),S!==void 0&&(N["price_to_earnings.gt"]=S),en!==void 0&&(N["price_to_earnings.gte"]=en),nn!==void 0&&(N["price_to_earnings.lt"]=nn),on!==void 0&&(N["price_to_earnings.lte"]=on),sn!==void 0&&(N.price_to_book=sn),Y!==void 0&&(N["price_to_book.gt"]=Y),rn!==void 0&&(N["price_to_book.gte"]=rn),an!==void 0&&(N["price_to_book.lt"]=an),M!==void 0&&(N["price_to_book.lte"]=M),dn!==void 0&&(N.price_to_sales=dn),pn!==void 0&&(N["price_to_sales.gt"]=pn),fn!==void 0&&(N["price_to_sales.gte"]=fn),un!==void 0&&(N["price_to_sales.lt"]=un),ln!==void 0&&(N["price_to_sales.lte"]=ln),gn!==void 0&&(N.price_to_cash_flow=gn),yn!==void 0&&(N["price_to_cash_flow.gt"]=yn),W!==void 0&&(N["price_to_cash_flow.gte"]=W),J!==void 0&&(N["price_to_cash_flow.lt"]=J),bn!==void 0&&(N["price_to_cash_flow.lte"]=bn),cn!==void 0&&(N.price_to_free_cash_flow=cn),mn!==void 0&&(N["price_to_free_cash_flow.gt"]=mn),Z!==void 0&&(N["price_to_free_cash_flow.gte"]=Z),G!==void 0&&(N["price_to_free_cash_flow.lt"]=G),hn!==void 0&&(N["price_to_free_cash_flow.lte"]=hn),Rn!==void 0&&(N.dividend_yield=Rn),An!==void 0&&(N["dividend_yield.gt"]=An),xn!==void 0&&(N["dividend_yield.gte"]=xn),P!==void 0&&(N["dividend_yield.lt"]=P),kn!==void 0&&(N["dividend_yield.lte"]=kn),tn!==void 0&&(N.return_on_assets=tn),Vn!==void 0&&(N["return_on_assets.gt"]=Vn),On!==void 0&&(N["return_on_assets.gte"]=On),Cn!==void 0&&(N["return_on_assets.lt"]=Cn),Sn!==void 0&&(N["return_on_assets.lte"]=Sn),wn!==void 0&&(N.return_on_equity=wn),vn!==void 0&&(N["return_on_equity.gt"]=vn),In!==void 0&&(N["return_on_equity.gte"]=In),Dn!==void 0&&(N["return_on_equity.lt"]=Dn),Ln!==void 0&&(N["return_on_equity.lte"]=Ln),_n!==void 0&&(N.debt_to_equity=_n),Tn!==void 0&&(N["debt_to_equity.gt"]=Tn),Fn!==void 0&&(N["debt_to_equity.gte"]=Fn),q!==void 0&&(N["debt_to_equity.lt"]=q),Un!==void 0&&(N["debt_to_equity.lte"]=Un),zn!==void 0&&(N.current=zn),Qn!==void 0&&(N["current.gt"]=Qn),En!==void 0&&(N["current.gte"]=En),Mn!==void 0&&(N["current.lt"]=Mn),Hn!==void 0&&(N["current.lte"]=Hn),jn!==void 0&&(N.quick=jn),Kn!==void 0&&(N["quick.gt"]=Kn),Nn!==void 0&&(N["quick.gte"]=Nn),Xn!==void 0&&(N["quick.lt"]=Xn),$n!==void 0&&(N["quick.lte"]=$n),Yn!==void 0&&(N.cash=Yn),Wn!==void 0&&(N["cash.gt"]=Wn),Jn!==void 0&&(N["cash.gte"]=Jn),Zn!==void 0&&(N["cash.lt"]=Zn),qn!==void 0&&(N["cash.lte"]=qn),Pn!==void 0&&(N.ev_to_sales=Pn),ne!==void 0&&(N["ev_to_sales.gt"]=ne),ee!==void 0&&(N["ev_to_sales.gte"]=ee),te!==void 0&&(N["ev_to_sales.lt"]=te),ie!==void 0&&(N["ev_to_sales.lte"]=ie),se!==void 0&&(N.ev_to_ebitda=se),oe!==void 0&&(N["ev_to_ebitda.gt"]=oe),re!==void 0&&(N["ev_to_ebitda.gte"]=re),ae!==void 0&&(N["ev_to_ebitda.lt"]=ae),de!==void 0&&(N["ev_to_ebitda.lte"]=de),le!==void 0&&(N.enterprise_value=le),ge!==void 0&&(N["enterprise_value.gt"]=ge),ce!==void 0&&(N["enterprise_value.gte"]=ce),pe!==void 0&&(N["enterprise_value.lt"]=pe),fe!==void 0&&(N["enterprise_value.lte"]=fe),ue!==void 0&&(N.free_cash_flow=ue),ye!==void 0&&(N["free_cash_flow.gt"]=ye),be!==void 0&&(N["free_cash_flow.gte"]=be),me!==void 0&&(N["free_cash_flow.lt"]=me),he!==void 0&&(N["free_cash_flow.lte"]=he),Re!==void 0&&(N.limit=Re),xe!==void 0&&(N.sort=xe),U(ke,N);let ze=Bn&&Bn.headers?Bn.headers:{};return _e.headers={...we,...ze,...Ae.headers},{url:z(ke),options:_e}},getStocksMACD:async(n,t,i,e,s,o,r,d,l,g,b,p,f,m,y,u={})=>{$("getStocksMACD","stockTicker",n);let h="/v1/indicators/macd/{stockTicker}".replace("{stockTicker}",encodeURIComponent(String(n))),R=new URL(h,F),x;a&&(x=a.baseOptions);let c={method:"GET",...x,...u},k={},A={};await B(A,"apiKey",a),t!==void 0&&(A.timestamp=t),i!==void 0&&(A.timespan=i),e!==void 0&&(A.adjusted=e),s!==void 0&&(A.short_window=s),o!==void 0&&(A.long_window=o),r!==void 0&&(A.signal_window=r),d!==void 0&&(A.series_type=d),l!==void 0&&(A.expand_underlying=l),g!==void 0&&(A.order=g),b!==void 0&&(A.limit=b),p!==void 0&&(A["timestamp.gte"]=p),f!==void 0&&(A["timestamp.gt"]=f),m!==void 0&&(A["timestamp.lte"]=m),y!==void 0&&(A["timestamp.lt"]=y),U(R,A);let V=x&&x.headers?x.headers:{};return c.headers={...k,...V,...u.headers},{url:z(R),options:c}},getStocksOpenClose:async(n,t,i,e={})=>{$("getStocksOpenClose","stocksTicker",n),$("getStocksOpenClose","date",t);let s="/v1/open-close/{stocksTicker}/{date}".replace("{stocksTicker}",encodeURIComponent(String(n))).replace("{date}",encodeURIComponent(String(t))),o=new URL(s,F),r;a&&(r=a.baseOptions);let d={method:"GET",...r,...e},l={},g={};await B(g,"apiKey",a),i!==void 0&&(g.adjusted=i),U(o,g);let b=r&&r.headers?r.headers:{};return d.headers={...l,...b,...e.headers},{url:z(o),options:d}},getStocksQuotes:async(n,t,i,e,s,o,r,d,l,g={})=>{$("getStocksQuotes","stockTicker",n);let b="/v3/quotes/{stockTicker}".replace("{stockTicker}",encodeURIComponent(String(n))),p=new URL(b,F),f;a&&(f=a.baseOptions);let m={method:"GET",...f,...g},y={},u={};await B(u,"apiKey",a),t!==void 0&&(u.timestamp=t),i!==void 0&&(u["timestamp.gte"]=i),e!==void 0&&(u["timestamp.gt"]=e),s!==void 0&&(u["timestamp.lte"]=s),o!==void 0&&(u["timestamp.lt"]=o),r!==void 0&&(u.order=r),d!==void 0&&(u.limit=d),l!==void 0&&(u.sort=l),U(p,u);let h=f&&f.headers?f.headers:{};return m.headers={...y,...h,...g.headers},{url:z(p),options:m}},getStocksRSI:async(n,t,i,e,s,o,r,d,l,g,b,p,f,m={})=>{$("getStocksRSI","stockTicker",n);let y="/v1/indicators/rsi/{stockTicker}".replace("{stockTicker}",encodeURIComponent(String(n))),u=new URL(y,F),h;a&&(h=a.baseOptions);let R={method:"GET",...h,...m},x={},c={};await B(c,"apiKey",a),t!==void 0&&(c.timestamp=t),i!==void 0&&(c.timespan=i),e!==void 0&&(c.adjusted=e),s!==void 0&&(c.window=s),o!==void 0&&(c.series_type=o),r!==void 0&&(c.expand_underlying=r),d!==void 0&&(c.order=d),l!==void 0&&(c.limit=l),g!==void 0&&(c["timestamp.gte"]=g),b!==void 0&&(c["timestamp.gt"]=b),p!==void 0&&(c["timestamp.lte"]=p),f!==void 0&&(c["timestamp.lt"]=f),U(u,c);let k=h&&h.headers?h.headers:{};return R.headers={...x,...k,...m.headers},{url:z(u),options:R}},getStocksSMA:async(n,t,i,e,s,o,r,d,l,g,b,p,f,m={})=>{$("getStocksSMA","stockTicker",n);let y="/v1/indicators/sma/{stockTicker}".replace("{stockTicker}",encodeURIComponent(String(n))),u=new URL(y,F),h;a&&(h=a.baseOptions);let R={method:"GET",...h,...m},x={},c={};await B(c,"apiKey",a),t!==void 0&&(c.timestamp=t),i!==void 0&&(c.timespan=i),e!==void 0&&(c.adjusted=e),s!==void 0&&(c.window=s),o!==void 0&&(c.series_type=o),r!==void 0&&(c.expand_underlying=r),d!==void 0&&(c.order=d),l!==void 0&&(c.limit=l),g!==void 0&&(c["timestamp.gte"]=g),b!==void 0&&(c["timestamp.gt"]=b),p!==void 0&&(c["timestamp.lte"]=p),f!==void 0&&(c["timestamp.lt"]=f),U(u,c);let k=h&&h.headers?h.headers:{};return R.headers={...x,...k,...m.headers},{url:z(u),options:R}},getStocksSnapshotDirection:async(n,t,i={})=>{$("getStocksSnapshotDirection","direction",n);let e="/v2/snapshot/locale/us/markets/stocks/{direction}".replace("{direction}",encodeURIComponent(String(n))),s=new URL(e,F),o;a&&(o=a.baseOptions);let r={method:"GET",...o,...i},d={},l={};await B(l,"apiKey",a),t!==void 0&&(l.include_otc=t),U(s,l);let g=o&&o.headers?o.headers:{};return r.headers={...d,...g,...i.headers},{url:z(s),options:r}},getStocksSnapshotTicker:async(n,t={})=>{$("getStocksSnapshotTicker","stocksTicker",n);let i="/v2/snapshot/locale/us/markets/stocks/tickers/{stocksTicker}".replace("{stocksTicker}",encodeURIComponent(String(n))),e=new URL(i,F),s;a&&(s=a.baseOptions);let o={method:"GET",...s,...t},r={},d={};await B(d,"apiKey",a),U(e,d);let l=s&&s.headers?s.headers:{};return o.headers={...r,...l,...t.headers},{url:z(e),options:o}},getStocksSnapshotTickers:async(n,t,i={})=>{let e="/v2/snapshot/locale/us/markets/stocks/tickers",s=new URL(e,F),o;a&&(o=a.baseOptions);let r={method:"GET",...o,...i},d={},l={};await B(l,"apiKey",a),n&&(l.tickers=n),t!==void 0&&(l.include_otc=t),U(s,l);let g=o&&o.headers?o.headers:{};return r.headers={...d,...g,...i.headers},{url:z(s),options:r}},getStocksTaxonomiesVXRiskFactors:async(n,t,i,e,s,o,r,d,l,g,b,p,f,m,y,u,h,R,x,c,k,A,V,w,O,I={})=>{let _="/stocks/taxonomies/vX/risk-factors",j=new URL(_,F),L;a&&(L=a.baseOptions);let K={method:"GET",...L,...I},X={},C={};await B(C,"apiKey",a),n!==void 0&&(C.taxonomy=n),t!==void 0&&(C["taxonomy.gt"]=t),i!==void 0&&(C["taxonomy.gte"]=i),e!==void 0&&(C["taxonomy.lt"]=e),s!==void 0&&(C["taxonomy.lte"]=s),o!==void 0&&(C.primary_category=o),r!==void 0&&(C["primary_category.any_of"]=r),d!==void 0&&(C["primary_category.gt"]=d),l!==void 0&&(C["primary_category.gte"]=l),g!==void 0&&(C["primary_category.lt"]=g),b!==void 0&&(C["primary_category.lte"]=b),p!==void 0&&(C.secondary_category=p),f!==void 0&&(C["secondary_category.any_of"]=f),m!==void 0&&(C["secondary_category.gt"]=m),y!==void 0&&(C["secondary_category.gte"]=y),u!==void 0&&(C["secondary_category.lt"]=u),h!==void 0&&(C["secondary_category.lte"]=h),R!==void 0&&(C.tertiary_category=R),x!==void 0&&(C["tertiary_category.any_of"]=x),c!==void 0&&(C["tertiary_category.gt"]=c),k!==void 0&&(C["tertiary_category.gte"]=k),A!==void 0&&(C["tertiary_category.lt"]=A),V!==void 0&&(C["tertiary_category.lte"]=V),w!==void 0&&(C.limit=w),O!==void 0&&(C.sort=O),U(j,C);let v=L&&L.headers?L.headers:{};return K.headers={...X,...v,...I.headers},{url:z(j),options:K}},getStocksTrades:async(n,t,i,e,s,o,r,d,l,g={})=>{$("getStocksTrades","stockTicker",n);let b="/v3/trades/{stockTicker}".replace("{stockTicker}",encodeURIComponent(String(n))),p=new URL(b,F),f;a&&(f=a.baseOptions);let m={method:"GET",...f,...g},y={},u={};await B(u,"apiKey",a),t!==void 0&&(u.timestamp=t),i!==void 0&&(u["timestamp.gte"]=i),e!==void 0&&(u["timestamp.gt"]=e),s!==void 0&&(u["timestamp.lte"]=s),o!==void 0&&(u["timestamp.lt"]=o),r!==void 0&&(u.order=r),d!==void 0&&(u.limit=d),l!==void 0&&(u.sort=l),U(p,u);let h=f&&f.headers?f.headers:{};return m.headers={...y,...h,...g.headers},{url:z(p),options:m}},getStocksV1Dividends:async(n,t,i,e,s,o,r,d,l,g,b,p,f,m,y,u,h,R,x,c,k={})=>{let A="/stocks/v1/dividends",V=new URL(A,F),w;a&&(w=a.baseOptions);let O={method:"GET",...w,...k},I={},_={};await B(_,"apiKey",a),n!==void 0&&(_.ticker=n),t!==void 0&&(_["ticker.any_of"]=t),i!==void 0&&(_["ticker.gt"]=i),e!==void 0&&(_["ticker.gte"]=e),s!==void 0&&(_["ticker.lt"]=s),o!==void 0&&(_["ticker.lte"]=o),r!==void 0&&(_.ex_dividend_date=r),d!==void 0&&(_["ex_dividend_date.gt"]=d),l!==void 0&&(_["ex_dividend_date.gte"]=l),g!==void 0&&(_["ex_dividend_date.lt"]=g),b!==void 0&&(_["ex_dividend_date.lte"]=b),p!==void 0&&(_.frequency=p),f!==void 0&&(_["frequency.gt"]=f),m!==void 0&&(_["frequency.gte"]=m),y!==void 0&&(_["frequency.lt"]=y),u!==void 0&&(_["frequency.lte"]=u),h!==void 0&&(_.distribution_type=h),R!==void 0&&(_["distribution_type.any_of"]=R),x!==void 0&&(_.limit=x),c!==void 0&&(_.sort=c),U(V,_);let j=w&&w.headers?w.headers:{};return O.headers={...I,...j,...k.headers},{url:z(V),options:O}},getStocksV1Exchanges:async(n,t={})=>{let i="/stocks/v1/exchanges",e=new URL(i,F),s;a&&(s=a.baseOptions);let o={method:"GET",...s,...t},r={},d={};await B(d,"apiKey",a),n!==void 0&&(d.limit=n),U(e,d);let l=s&&s.headers?s.headers:{};return o.headers={...r,...l,...t.headers},{url:z(e),options:o}},getStocksV1ShortInterest:async(n,t,i,e,s,o,r,d,l,g,b,p,f,m,y,u,h,R,x,c,k,A,V,w,O,I,_={})=>{let j="/stocks/v1/short-interest",L=new URL(j,F),K;a&&(K=a.baseOptions);let X={method:"GET",...K,..._},C={},v={};await B(v,"apiKey",a),n!==void 0&&(v.ticker=n),t!==void 0&&(v["ticker.any_of"]=t),i!==void 0&&(v["ticker.gt"]=i),e!==void 0&&(v["ticker.gte"]=e),s!==void 0&&(v["ticker.lt"]=s),o!==void 0&&(v["ticker.lte"]=o),r!==void 0&&(v.days_to_cover=r),d!==void 0&&(v["days_to_cover.any_of"]=d),l!==void 0&&(v["days_to_cover.gt"]=l),g!==void 0&&(v["days_to_cover.gte"]=g),b!==void 0&&(v["days_to_cover.lt"]=b),p!==void 0&&(v["days_to_cover.lte"]=p),f!==void 0&&(v.settlement_date=f),m!==void 0&&(v["settlement_date.any_of"]=m),y!==void 0&&(v["settlement_date.gt"]=y),u!==void 0&&(v["settlement_date.gte"]=u),h!==void 0&&(v["settlement_date.lt"]=h),R!==void 0&&(v["settlement_date.lte"]=R),x!==void 0&&(v.avg_daily_volume=x),c!==void 0&&(v["avg_daily_volume.any_of"]=c),k!==void 0&&(v["avg_daily_volume.gt"]=k),A!==void 0&&(v["avg_daily_volume.gte"]=A),V!==void 0&&(v["avg_daily_volume.lt"]=V),w!==void 0&&(v["avg_daily_volume.lte"]=w),O!==void 0&&(v.limit=O),I!==void 0&&(v.sort=I),U(L,v);let S=K&&K.headers?K.headers:{};return X.headers={...C,...S,..._.headers},{url:z(L),options:X}},getStocksV1ShortVolume:async(n,t,i,e,s,o,r,d,l,g,b,p,f,m,y,u,h,R,x,c,k={})=>{let A="/stocks/v1/short-volume",V=new URL(A,F),w;a&&(w=a.baseOptions);let O={method:"GET",...w,...k},I={},_={};await B(_,"apiKey",a),n!==void 0&&(_.ticker=n),t!==void 0&&(_["ticker.any_of"]=t),i!==void 0&&(_["ticker.gt"]=i),e!==void 0&&(_["ticker.gte"]=e),s!==void 0&&(_["ticker.lt"]=s),o!==void 0&&(_["ticker.lte"]=o),r!==void 0&&(_.date=r),d!==void 0&&(_["date.any_of"]=d),l!==void 0&&(_["date.gt"]=l),g!==void 0&&(_["date.gte"]=g),b!==void 0&&(_["date.lt"]=b),p!==void 0&&(_["date.lte"]=p),f!==void 0&&(_.short_volume_ratio=f),m!==void 0&&(_["short_volume_ratio.any_of"]=m),y!==void 0&&(_["short_volume_ratio.gt"]=y),u!==void 0&&(_["short_volume_ratio.gte"]=u),h!==void 0&&(_["short_volume_ratio.lt"]=h),R!==void 0&&(_["short_volume_ratio.lte"]=R),x!==void 0&&(_.limit=x),c!==void 0&&(_.sort=c),U(V,_);let j=w&&w.headers?w.headers:{};return O.headers={...I,...j,...k.headers},{url:z(V),options:O}},getStocksV1Splits:async(n,t,i,e,s,o,r,d,l,g,b,p,f,m,y,u={})=>{let h="/stocks/v1/splits",R=new URL(h,F),x;a&&(x=a.baseOptions);let c={method:"GET",...x,...u},k={},A={};await B(A,"apiKey",a),n!==void 0&&(A.ticker=n),t!==void 0&&(A["ticker.any_of"]=t),i!==void 0&&(A["ticker.gt"]=i),e!==void 0&&(A["ticker.gte"]=e),s!==void 0&&(A["ticker.lt"]=s),o!==void 0&&(A["ticker.lte"]=o),r!==void 0&&(A.execution_date=r),d!==void 0&&(A["execution_date.gt"]=d),l!==void 0&&(A["execution_date.gte"]=l),g!==void 0&&(A["execution_date.lt"]=g),b!==void 0&&(A["execution_date.lte"]=b),p!==void 0&&(A.adjustment_type=p),f!==void 0&&(A["adjustment_type.any_of"]=f),m!==void 0&&(A.limit=m),y!==void 0&&(A.sort=y),U(R,A);let V=x&&x.headers?x.headers:{};return c.headers={...k,...V,...u.headers},{url:z(R),options:c}},getStocksVXFloat:async(n,t,i,e,s,o,r,d,l,g,b,p,f,m={})=>{let y="/stocks/vX/float",u=new URL(y,F),h;a&&(h=a.baseOptions);let R={method:"GET",...h,...m},x={},c={};await B(c,"apiKey",a),n!==void 0&&(c.ticker=n),t!==void 0&&(c["ticker.any_of"]=t),i!==void 0&&(c["ticker.gt"]=i),e!==void 0&&(c["ticker.gte"]=e),s!==void 0&&(c["ticker.lt"]=s),o!==void 0&&(c["ticker.lte"]=o),r!==void 0&&(c.free_float_percent=r),d!==void 0&&(c["free_float_percent.gt"]=d),l!==void 0&&(c["free_float_percent.gte"]=l),g!==void 0&&(c["free_float_percent.lt"]=g),b!==void 0&&(c["free_float_percent.lte"]=b),p!==void 0&&(c.limit=p),f!==void 0&&(c.sort=f),U(u,c);let k=h&&h.headers?h.headers:{};return R.headers={...x,...k,...m.headers},{url:z(u),options:R}},getTicker:async(n,t,i={})=>{$("getTicker","ticker",n);let e="/v3/reference/tickers/{ticker}".replace("{ticker}",encodeURIComponent(String(n))),s=new URL(e,F),o;a&&(o=a.baseOptions);let r={method:"GET",...o,...i},d={},l={};await B(l,"apiKey",a),t!==void 0&&(l.date=t instanceof Date?t.toISOString().substring(0,10):t),U(s,l);let g=o&&o.headers?o.headers:{};return r.headers={...d,...g,...i.headers},{url:z(s),options:r}},getTmxV1CorporateEvents:async(n,t,i,e,s,o,r,d,l,g,b,p,f,m,y,u,h,R,x,c,k,A,V,w,O,I,_,j,L,K,X,C,v,S,en,nn,on,sn,Y,rn,an,M,dn,pn,fn,un,ln,gn,yn,W={})=>{let J="/tmx/v1/corporate-events",bn=new URL(J,F),cn;a&&(cn=a.baseOptions);let mn={method:"GET",...cn,...W},Z={},G={};await B(G,"apiKey",a),n!==void 0&&(G.date=n),t!==void 0&&(G["date.any_of"]=t),i!==void 0&&(G["date.gt"]=i),e!==void 0&&(G["date.gte"]=e),s!==void 0&&(G["date.lt"]=s),o!==void 0&&(G["date.lte"]=o),r!==void 0&&(G.type=r),d!==void 0&&(G["type.any_of"]=d),l!==void 0&&(G["type.gt"]=l),g!==void 0&&(G["type.gte"]=g),b!==void 0&&(G["type.lt"]=b),p!==void 0&&(G["type.lte"]=p),f!==void 0&&(G.status=f),m!==void 0&&(G["status.any_of"]=m),y!==void 0&&(G["status.gt"]=y),u!==void 0&&(G["status.gte"]=u),h!==void 0&&(G["status.lt"]=h),R!==void 0&&(G["status.lte"]=R),x!==void 0&&(G.ticker=x),c!==void 0&&(G["ticker.any_of"]=c),k!==void 0&&(G["ticker.gt"]=k),A!==void 0&&(G["ticker.gte"]=A),V!==void 0&&(G["ticker.lt"]=V),w!==void 0&&(G["ticker.lte"]=w),O!==void 0&&(G.isin=O),I!==void 0&&(G["isin.any_of"]=I),_!==void 0&&(G["isin.gt"]=_),j!==void 0&&(G["isin.gte"]=j),L!==void 0&&(G["isin.lt"]=L),K!==void 0&&(G["isin.lte"]=K),X!==void 0&&(G.trading_venue=X),C!==void 0&&(G["trading_venue.any_of"]=C),v!==void 0&&(G["trading_venue.gt"]=v),S!==void 0&&(G["trading_venue.gte"]=S),en!==void 0&&(G["trading_venue.lt"]=en),nn!==void 0&&(G["trading_venue.lte"]=nn),on!==void 0&&(G.tmx_company_id=on),sn!==void 0&&(G["tmx_company_id.gt"]=sn),Y!==void 0&&(G["tmx_company_id.gte"]=Y),rn!==void 0&&(G["tmx_company_id.lt"]=rn),an!==void 0&&(G["tmx_company_id.lte"]=an),M!==void 0&&(G.tmx_record_id=M),dn!==void 0&&(G["tmx_record_id.any_of"]=dn),pn!==void 0&&(G["tmx_record_id.gt"]=pn),fn!==void 0&&(G["tmx_record_id.gte"]=fn),un!==void 0&&(G["tmx_record_id.lt"]=un),ln!==void 0&&(G["tmx_record_id.lte"]=ln),gn!==void 0&&(G.limit=gn),yn!==void 0&&(G.sort=yn),U(bn,G);let hn=cn&&cn.headers?cn.headers:{};return mn.headers={...Z,...hn,...W.headers},{url:z(bn),options:mn}},getV1ReferenceIpos:async(n,t,i,e,s,o,r,d,l,g,b,p,f,m,y,u,h,R,x,c,k,A,V,w,O,I,_,j={})=>{let L="/v1/reference/ipos",K=new URL(L,F),X;a&&(X=a.baseOptions);let C={method:"GET",...X,...j},v={},S={};await B(S,"apiKey",a),n!==void 0&&(S.ticker=n),t!==void 0&&(S["ticker.any_of"]=t),i!==void 0&&(S["ticker.gt"]=i),e!==void 0&&(S["ticker.gte"]=e),s!==void 0&&(S["ticker.lt"]=s),o!==void 0&&(S["ticker.lte"]=o),r!==void 0&&(S.us_code=r),d!==void 0&&(S["us_code.any_of"]=d),l!==void 0&&(S["us_code.gt"]=l),g!==void 0&&(S["us_code.gte"]=g),b!==void 0&&(S["us_code.lt"]=b),p!==void 0&&(S["us_code.lte"]=p),f!==void 0&&(S.isin=f),m!==void 0&&(S["isin.any_of"]=m),y!==void 0&&(S["isin.gt"]=y),u!==void 0&&(S["isin.gte"]=u),h!==void 0&&(S["isin.lt"]=h),R!==void 0&&(S["isin.lte"]=R),x!==void 0&&(S.listing_date=x),c!==void 0&&(S["listing_date.gt"]=c),k!==void 0&&(S["listing_date.gte"]=k),A!==void 0&&(S["listing_date.lt"]=A),V!==void 0&&(S["listing_date.lte"]=V),w!==void 0&&(S.ipo_status=w),O!==void 0&&(S["ipo_status.any_of"]=O),I!==void 0&&(S.limit=I),_!==void 0&&(S.sort=_),U(K,S);let en=X&&X.headers?X.headers:{};return C.headers={...v,...en,...j.headers},{url:z(K),options:C}},listConditions:async(n,t,i,e,s,o,r,d={})=>{let l="/v3/reference/conditions",g=new URL(l,F),b;a&&(b=a.baseOptions);let p={method:"GET",...b,...d},f={},m={};await B(m,"apiKey",a),n!==void 0&&(m.asset_class=n),t!==void 0&&(m.data_type=t),i!==void 0&&(m.id=i),e!==void 0&&(m.sip=e),s!==void 0&&(m.order=s),o!==void 0&&(m.limit=o),r!==void 0&&(m.sort=r),U(g,m);let y=b&&b.headers?b.headers:{};return p.headers={...f,...y,...d.headers},{url:z(g),options:p}},listDividends:async(n,t,i,e,s,o,r,d,l,g,b,p,f,m,y,u,h,R,x,c,k,A,V,w,O,I,_,j,L,K,X,C,v,S,en,nn={})=>{let on="/v3/reference/dividends",sn=new URL(on,F),Y;a&&(Y=a.baseOptions);let rn={method:"GET",...Y,...nn},an={},M={};await B(M,"apiKey",a),n!==void 0&&(M.ticker=n),t!==void 0&&(M.ex_dividend_date=t instanceof Date?t.toISOString().substring(0,10):t),i!==void 0&&(M.record_date=i instanceof Date?i.toISOString().substring(0,10):i),e!==void 0&&(M.declaration_date=e instanceof Date?e.toISOString().substring(0,10):e),s!==void 0&&(M.pay_date=s instanceof Date?s.toISOString().substring(0,10):s),o!==void 0&&(M.frequency=o),r!==void 0&&(M.cash_amount=r),d!==void 0&&(M.dividend_type=d),l!==void 0&&(M["ticker.gte"]=l),g!==void 0&&(M["ticker.gt"]=g),b!==void 0&&(M["ticker.lte"]=b),p!==void 0&&(M["ticker.lt"]=p),f!==void 0&&(M["ex_dividend_date.gte"]=f instanceof Date?f.toISOString().substring(0,10):f),m!==void 0&&(M["ex_dividend_date.gt"]=m instanceof Date?m.toISOString().substring(0,10):m),y!==void 0&&(M["ex_dividend_date.lte"]=y instanceof Date?y.toISOString().substring(0,10):y),u!==void 0&&(M["ex_dividend_date.lt"]=u instanceof Date?u.toISOString().substring(0,10):u),h!==void 0&&(M["record_date.gte"]=h instanceof Date?h.toISOString().substring(0,10):h),R!==void 0&&(M["record_date.gt"]=R instanceof Date?R.toISOString().substring(0,10):R),x!==void 0&&(M["record_date.lte"]=x instanceof Date?x.toISOString().substring(0,10):x),c!==void 0&&(M["record_date.lt"]=c instanceof Date?c.toISOString().substring(0,10):c),k!==void 0&&(M["declaration_date.gte"]=k instanceof Date?k.toISOString().substring(0,10):k),A!==void 0&&(M["declaration_date.gt"]=A instanceof Date?A.toISOString().substring(0,10):A),V!==void 0&&(M["declaration_date.lte"]=V instanceof Date?V.toISOString().substring(0,10):V),w!==void 0&&(M["declaration_date.lt"]=w instanceof Date?w.toISOString().substring(0,10):w),O!==void 0&&(M["pay_date.gte"]=O instanceof Date?O.toISOString().substring(0,10):O),I!==void 0&&(M["pay_date.gt"]=I instanceof Date?I.toISOString().substring(0,10):I),_!==void 0&&(M["pay_date.lte"]=_ instanceof Date?_.toISOString().substring(0,10):_),j!==void 0&&(M["pay_date.lt"]=j instanceof Date?j.toISOString().substring(0,10):j),L!==void 0&&(M["cash_amount.gte"]=L),K!==void 0&&(M["cash_amount.gt"]=K),X!==void 0&&(M["cash_amount.lte"]=X),C!==void 0&&(M["cash_amount.lt"]=C),v!==void 0&&(M.order=v),S!==void 0&&(M.limit=S),en!==void 0&&(M.sort=en),U(sn,M);let dn=Y&&Y.headers?Y.headers:{};return rn.headers={...an,...dn,...nn.headers},{url:z(sn),options:rn}},listExchanges:async(n,t,i={})=>{let e="/v3/reference/exchanges",s=new URL(e,F),o;a&&(o=a.baseOptions);let r={method:"GET",...o,...i},d={},l={};await B(l,"apiKey",a),n!==void 0&&(l.asset_class=n),t!==void 0&&(l.locale=t),U(s,l);let g=o&&o.headers?o.headers:{};return r.headers={...d,...g,...i.headers},{url:z(s),options:r}},listFinancials:async(n,t,i,e,s,o,r,d,l,g,b,p,f,m,y,u,h,R,x,c,k={})=>{let A="/vX/reference/financials",V=new URL(A,F),w;a&&(w=a.baseOptions);let O={method:"GET",...w,...k},I={},_={};await B(_,"apiKey",a),n!==void 0&&(_.ticker=n),t!==void 0&&(_.cik=t),i!==void 0&&(_.company_name=i),e!==void 0&&(_.sic=e),s!==void 0&&(_.filing_date=s instanceof Date?s.toISOString().substring(0,10):s),o!==void 0&&(_.period_of_report_date=o instanceof Date?o.toISOString().substring(0,10):o),r!==void 0&&(_.timeframe=r),d!==void 0&&(_.include_sources=d),l!==void 0&&(_["company_name.search"]=l),g!==void 0&&(_["filing_date.gte"]=g instanceof Date?g.toISOString().substring(0,10):g),b!==void 0&&(_["filing_date.gt"]=b instanceof Date?b.toISOString().substring(0,10):b),p!==void 0&&(_["filing_date.lte"]=p instanceof Date?p.toISOString().substring(0,10):p),f!==void 0&&(_["filing_date.lt"]=f instanceof Date?f.toISOString().substring(0,10):f),m!==void 0&&(_["period_of_report_date.gte"]=m instanceof Date?m.toISOString().substring(0,10):m),y!==void 0&&(_["period_of_report_date.gt"]=y instanceof Date?y.toISOString().substring(0,10):y),u!==void 0&&(_["period_of_report_date.lte"]=u instanceof Date?u.toISOString().substring(0,10):u),h!==void 0&&(_["period_of_report_date.lt"]=h instanceof Date?h.toISOString().substring(0,10):h),R!==void 0&&(_.order=R),x!==void 0&&(_.limit=x),c!==void 0&&(_.sort=c),U(V,_);let j=w&&w.headers?w.headers:{};return O.headers={...I,...j,...k.headers},{url:z(V),options:O}},listIPOs:async(n,t,i,e,s,o,r,d,l,g,b,p,f={})=>{let m="/vX/reference/ipos",y=new URL(m,F),u;a&&(u=a.baseOptions);let h={method:"GET",...u,...f},R={},x={};await B(x,"apiKey",a),n!==void 0&&(x.ticker=n),t!==void 0&&(x.us_code=t),i!==void 0&&(x.isin=i),e!==void 0&&(x.listing_date=e instanceof Date?e.toISOString().substring(0,10):e),s!==void 0&&(x.ipo_status=s),o!==void 0&&(x["listing_date.gte"]=o instanceof Date?o.toISOString().substring(0,10):o),r!==void 0&&(x["listing_date.gt"]=r instanceof Date?r.toISOString().substring(0,10):r),d!==void 0&&(x["listing_date.lte"]=d instanceof Date?d.toISOString().substring(0,10):d),l!==void 0&&(x["listing_date.lt"]=l instanceof Date?l.toISOString().substring(0,10):l),g!==void 0&&(x.order=g),b!==void 0&&(x.limit=b),p!==void 0&&(x.sort=p),U(y,x);let c=u&&u.headers?u.headers:{};return h.headers={...R,...c,...f.headers},{url:z(y),options:h}},listNews:async(n,t,i,e,s,o,r,d,l,g,b,p,f,m={})=>{let y="/v2/reference/news",u=new URL(y,F),h;a&&(h=a.baseOptions);let R={method:"GET",...h,...m},x={},c={};if(await B(c,"apiKey",a),n!==void 0&&(c.ticker=n),t!==void 0)for(let[A,V]of Object.entries(t))c[A]=V;if(i!==void 0&&(c["ticker.gte"]=i),e!==void 0&&(c["ticker.gt"]=e),s!==void 0&&(c["ticker.lte"]=s),o!==void 0&&(c["ticker.lt"]=o),r!==void 0)for(let[A,V]of Object.entries(r))c[A]=V;if(d!==void 0)for(let[A,V]of Object.entries(d))c[A]=V;if(l!==void 0)for(let[A,V]of Object.entries(l))c[A]=V;if(g!==void 0)for(let[A,V]of Object.entries(g))c[A]=V;b!==void 0&&(c.order=b),p!==void 0&&(c.limit=p),f!==void 0&&(c.sort=f),U(u,c);let k=h&&h.headers?h.headers:{};return R.headers={...x,...k,...m.headers},{url:z(u),options:R}},listOptionsContracts:async(n,t,i,e,s,o,r,d,l,g,b,p,f,m,y,u,h,R,x,c,k,A,V={})=>{let w="/v3/reference/options/contracts",O=new URL(w,F),I;a&&(I=a.baseOptions);let _={method:"GET",...I,...V},j={},L={};await B(L,"apiKey",a),n!==void 0&&(L.underlying_ticker=n),t!==void 0&&(L.ticker=t),i!==void 0&&(L.contract_type=i),e!==void 0&&(L.expiration_date=e),s!==void 0&&(L.as_of=s),o!==void 0&&(L.strike_price=o),r!==void 0&&(L.expired=r),d!==void 0&&(L["underlying_ticker.gte"]=d),l!==void 0&&(L["underlying_ticker.gt"]=l),g!==void 0&&(L["underlying_ticker.lte"]=g),b!==void 0&&(L["underlying_ticker.lt"]=b),p!==void 0&&(L["expiration_date.gte"]=p),f!==void 0&&(L["expiration_date.gt"]=f),m!==void 0&&(L["expiration_date.lte"]=m),y!==void 0&&(L["expiration_date.lt"]=y),u!==void 0&&(L["strike_price.gte"]=u),h!==void 0&&(L["strike_price.gt"]=h),R!==void 0&&(L["strike_price.lte"]=R),x!==void 0&&(L["strike_price.lt"]=x),c!==void 0&&(L.order=c),k!==void 0&&(L.limit=k),A!==void 0&&(L.sort=A),U(O,L);let K=I&&I.headers?I.headers:{};return _.headers={...j,...K,...V.headers},{url:z(O),options:_}},listStockSplits:async(n,t,i,e,s,o,r,d,l,g,b,p,f,m,y={})=>{let u="/v3/reference/splits",h=new URL(u,F),R;a&&(R=a.baseOptions);let x={method:"GET",...R,...y},c={},k={};await B(k,"apiKey",a),n!==void 0&&(k.ticker=n),t!==void 0&&(k.execution_date=t instanceof Date?t.toISOString().substring(0,10):t),i!==void 0&&(k.reverse_split=i),e!==void 0&&(k["ticker.gte"]=e),s!==void 0&&(k["ticker.gt"]=s),o!==void 0&&(k["ticker.lte"]=o),r!==void 0&&(k["ticker.lt"]=r),d!==void 0&&(k["execution_date.gte"]=d instanceof Date?d.toISOString().substring(0,10):d),l!==void 0&&(k["execution_date.gt"]=l instanceof Date?l.toISOString().substring(0,10):l),g!==void 0&&(k["execution_date.lte"]=g instanceof Date?g.toISOString().substring(0,10):g),b!==void 0&&(k["execution_date.lt"]=b instanceof Date?b.toISOString().substring(0,10):b),p!==void 0&&(k.order=p),f!==void 0&&(k.limit=f),m!==void 0&&(k.sort=m),U(h,k);let A=R&&R.headers?R.headers:{};return x.headers={...c,...A,...y.headers},{url:z(h),options:x}},listTickerTypes:async(n,t,i={})=>{let e="/v3/reference/tickers/types",s=new URL(e,F),o;a&&(o=a.baseOptions);let r={method:"GET",...o,...i},d={},l={};await B(l,"apiKey",a),n!==void 0&&(l.asset_class=n),t!==void 0&&(l.locale=t),U(s,l);let g=o&&o.headers?o.headers:{};return r.headers={...d,...g,...i.headers},{url:z(s),options:r}},listTickers:async(n,t,i,e,s,o,r,d,l,g,b,p,f,m,y,u,h={})=>{let R="/v3/reference/tickers",x=new URL(R,F),c;a&&(c=a.baseOptions);let k={method:"GET",...c,...h},A={},V={};await B(V,"apiKey",a),n!==void 0&&(V.ticker=n),t!==void 0&&(V.type=t),i!==void 0&&(V.market=i),e!==void 0&&(V.exchange=e),s!==void 0&&(V.cusip=s),o!==void 0&&(V.cik=o),r!==void 0&&(V.date=r instanceof Date?r.toISOString().substring(0,10):r),d!==void 0&&(V.search=d),l!==void 0&&(V.active=l),g!==void 0&&(V["ticker.gte"]=g),b!==void 0&&(V["ticker.gt"]=b),p!==void 0&&(V["ticker.lte"]=p),f!==void 0&&(V["ticker.lt"]=f),m!==void 0&&(V.order=m),y!==void 0&&(V.limit=y),u!==void 0&&(V.sort=u),U(x,V);let w=c&&c.headers?c.headers:{};return k.headers={...A,...w,...h.headers},{url:z(x),options:k}}}},E=function(a){let n=fi(a);return{async deprecatedGetCryptoSnapshotTickerBook(t,i){let e=await n.deprecatedGetCryptoSnapshotTickerBook(t,i),s=a?.serverIndex??0,o=D["DefaultApi.deprecatedGetCryptoSnapshotTickerBook"]?.[s]?.url;return(r,d)=>Q(e,H,T,a)(r,o||d)},async deprecatedGetHistoricCryptoTrades(t,i,e,s,o,r){let d=await n.deprecatedGetHistoricCryptoTrades(t,i,e,s,o,r),l=a?.serverIndex??0,g=D["DefaultApi.deprecatedGetHistoricCryptoTrades"]?.[l]?.url;return(b,p)=>Q(d,H,T,a)(b,g||p)},async deprecatedGetHistoricForexQuotes(t,i,e,s,o,r){let d=await n.deprecatedGetHistoricForexQuotes(t,i,e,s,o,r),l=a?.serverIndex??0,g=D["DefaultApi.deprecatedGetHistoricForexQuotes"]?.[l]?.url;return(b,p)=>Q(d,H,T,a)(b,g||p)},async deprecatedGetHistoricStocksQuotes(t,i,e,s,o,r,d){let l=await n.deprecatedGetHistoricStocksQuotes(t,i,e,s,o,r,d),g=a?.serverIndex??0,b=D["DefaultApi.deprecatedGetHistoricStocksQuotes"]?.[g]?.url;return(p,f)=>Q(l,H,T,a)(p,b||f)},async deprecatedGetHistoricStocksTrades(t,i,e,s,o,r,d){let l=await n.deprecatedGetHistoricStocksTrades(t,i,e,s,o,r,d),g=a?.serverIndex??0,b=D["DefaultApi.deprecatedGetHistoricStocksTrades"]?.[g]?.url;return(p,f)=>Q(l,H,T,a)(p,b||f)},async getBenzingaV1AnalystInsights(t,i,e,s,o,r,d,l,g,b,p,f,m,y,u,h,R,x,c,k,A,V,w,O,I,_,j,L,K,X,C,v,S,en,nn,on,sn,Y,rn,an,M,dn,pn,fn){let un=await n.getBenzingaV1AnalystInsights(t,i,e,s,o,r,d,l,g,b,p,f,m,y,u,h,R,x,c,k,A,V,w,O,I,_,j,L,K,X,C,v,S,en,nn,on,sn,Y,rn,an,M,dn,pn,fn),ln=a?.serverIndex??0,gn=D["DefaultApi.getBenzingaV1AnalystInsights"]?.[ln]?.url;return(yn,W)=>Q(un,H,T,a)(yn,gn||W)},async getBenzingaV1Analysts(t,i,e,s,o,r,d,l,g,b,p,f,m,y,u,h,R,x,c,k,A,V,w,O,I,_,j){let L=await n.getBenzingaV1Analysts(t,i,e,s,o,r,d,l,g,b,p,f,m,y,u,h,R,x,c,k,A,V,w,O,I,_,j),K=a?.serverIndex??0,X=D["DefaultApi.getBenzingaV1Analysts"]?.[K]?.url;return(C,v)=>Q(L,H,T,a)(C,X||v)},async getBenzingaV1BullsBearsSay(t,i,e,s,o,r,d,l,g,b,p,f,m,y,u,h,R,x,c,k){let A=await n.getBenzingaV1BullsBearsSay(t,i,e,s,o,r,d,l,g,b,p,f,m,y,u,h,R,x,c,k),V=a?.serverIndex??0,w=D["DefaultApi.getBenzingaV1BullsBearsSay"]?.[V]?.url;return(O,I)=>Q(A,H,T,a)(O,w||I)},async getBenzingaV1ConsensusRatings(t,i,e,s,o,r,d,l,g){let b=await n.getBenzingaV1ConsensusRatings(t,i,e,s,o,r,d,l,g),p=a?.serverIndex??0,f=D["DefaultApi.getBenzingaV1ConsensusRatings"]?.[p]?.url;return(m,y)=>Q(b,H,T,a)(m,f||y)},async getBenzingaV1Earnings(t,i,e,s,o,r,d,l,g,b,p,f,m,y,u,h,R,x,c,k,A,V,w,O,I,_,j,L,K,X,C,v,S,en,nn,on,sn,Y,rn,an,M,dn,pn,fn,un,ln,gn,yn,W,J,bn,cn,mn,Z,G,hn,Rn){let An=await n.getBenzingaV1Earnings(t,i,e,s,o,r,d,l,g,b,p,f,m,y,u,h,R,x,c,k,A,V,w,O,I,_,j,L,K,X,C,v,S,en,nn,on,sn,Y,rn,an,M,dn,pn,fn,un,ln,gn,yn,W,J,bn,cn,mn,Z,G,hn,Rn),xn=a?.serverIndex??0,P=D["DefaultApi.getBenzingaV1Earnings"]?.[xn]?.url;return(kn,tn)=>Q(An,H,T,a)(kn,P||tn)},async getBenzingaV1Firms(t,i,e,s,o,r,d,l,g){let b=await n.getBenzingaV1Firms(t,i,e,s,o,r,d,l,g),p=a?.serverIndex??0,f=D["DefaultApi.getBenzingaV1Firms"]?.[p]?.url;return(m,y)=>Q(b,H,T,a)(m,f||y)},async getBenzingaV1Guidance(t,i,e,s,o,r,d,l,g,b,p,f,m,y,u,h,R,x,c,k,A,V,w,O,I,_,j,L,K,X,C,v,S,en,nn,on,sn,Y,rn,an,M,dn,pn,fn,un){let ln=await n.getBenzingaV1Guidance(t,i,e,s,o,r,d,l,g,b,p,f,m,y,u,h,R,x,c,k,A,V,w,O,I,_,j,L,K,X,C,v,S,en,nn,on,sn,Y,rn,an,M,dn,pn,fn,un),gn=a?.serverIndex??0,yn=D["DefaultApi.getBenzingaV1Guidance"]?.[gn]?.url;return(W,J)=>Q(ln,H,T,a)(W,yn||J)},async getBenzingaV1Ratings(t,i,e,s,o,r,d,l,g,b,p,f,m,y,u,h,R,x,c,k,A,V,w,O,I,_,j,L,K,X,C,v,S,en,nn,on,sn,Y,rn,an,M,dn,pn,fn,un,ln,gn,yn,W,J,bn,cn,mn,Z,G){let hn=await n.getBenzingaV1Ratings(t,i,e,s,o,r,d,l,g,b,p,f,m,y,u,h,R,x,c,k,A,V,w,O,I,_,j,L,K,X,C,v,S,en,nn,on,sn,Y,rn,an,M,dn,pn,fn,un,ln,gn,yn,W,J,bn,cn,mn,Z,G),Rn=a?.serverIndex??0,An=D["DefaultApi.getBenzingaV1Ratings"]?.[Rn]?.url;return(xn,P)=>Q(hn,H,T,a)(xn,An||P)},async getBenzingaV2News(t,i,e,s,o,r,d,l,g,b,p,f,m,y,u,h,R,x,c,k,A,V,w,O,I,_){let j=await n.getBenzingaV2News(t,i,e,s,o,r,d,l,g,b,p,f,m,y,u,h,R,x,c,k,A,V,w,O,I,_),L=a?.serverIndex??0,K=D["DefaultApi.getBenzingaV2News"]?.[L]?.url;return(X,C)=>Q(j,H,T,a)(X,K||C)},async getCryptoAggregates(t,i,e,s,o,r,d,l,g){let b=await n.getCryptoAggregates(t,i,e,s,o,r,d,l,g),p=a?.serverIndex??0,f=D["DefaultApi.getCryptoAggregates"]?.[p]?.url;return(m,y)=>Q(b,H,T,a)(m,f||y)},async getCryptoEMA(t,i,e,s,o,r,d,l,g,b,p,f,m){let y=await n.getCryptoEMA(t,i,e,s,o,r,d,l,g,b,p,f,m),u=a?.serverIndex??0,h=D["DefaultApi.getCryptoEMA"]?.[u]?.url;return(R,x)=>Q(y,H,T,a)(R,h||x)},async getCryptoMACD(t,i,e,s,o,r,d,l,g,b,p,f,m,y,u){let h=await n.getCryptoMACD(t,i,e,s,o,r,d,l,g,b,p,f,m,y,u),R=a?.serverIndex??0,x=D["DefaultApi.getCryptoMACD"]?.[R]?.url;return(c,k)=>Q(h,H,T,a)(c,x||k)},async getCryptoOpenClose(t,i,e,s,o){let r=await n.getCryptoOpenClose(t,i,e,s,o),d=a?.serverIndex??0,l=D["DefaultApi.getCryptoOpenClose"]?.[d]?.url;return(g,b)=>Q(r,H,T,a)(g,l||b)},async getCryptoRSI(t,i,e,s,o,r,d,l,g,b,p,f,m){let y=await n.getCryptoRSI(t,i,e,s,o,r,d,l,g,b,p,f,m),u=a?.serverIndex??0,h=D["DefaultApi.getCryptoRSI"]?.[u]?.url;return(R,x)=>Q(y,H,T,a)(R,h||x)},async getCryptoSMA(t,i,e,s,o,r,d,l,g,b,p,f,m){let y=await n.getCryptoSMA(t,i,e,s,o,r,d,l,g,b,p,f,m),u=a?.serverIndex??0,h=D["DefaultApi.getCryptoSMA"]?.[u]?.url;return(R,x)=>Q(y,H,T,a)(R,h||x)},async getCryptoSnapshotDirection(t,i){let e=await n.getCryptoSnapshotDirection(t,i),s=a?.serverIndex??0,o=D["DefaultApi.getCryptoSnapshotDirection"]?.[s]?.url;return(r,d)=>Q(e,H,T,a)(r,o||d)},async getCryptoSnapshotTicker(t,i){let e=await n.getCryptoSnapshotTicker(t,i),s=a?.serverIndex??0,o=D["DefaultApi.getCryptoSnapshotTicker"]?.[s]?.url;return(r,d)=>Q(e,H,T,a)(r,o||d)},async getCryptoSnapshotTickers(t,i){let e=await n.getCryptoSnapshotTickers(t,i),s=a?.serverIndex??0,o=D["DefaultApi.getCryptoSnapshotTickers"]?.[s]?.url;return(r,d)=>Q(e,H,T,a)(r,o||d)},async getCryptoTrades(t,i,e,s,o,r,d,l,g,b){let p=await n.getCryptoTrades(t,i,e,s,o,r,d,l,g,b),f=a?.serverIndex??0,m=D["DefaultApi.getCryptoTrades"]?.[f]?.url;return(y,u)=>Q(p,H,T,a)(y,m||u)},async getCryptoV1Exchanges(t,i){let e=await n.getCryptoV1Exchanges(t,i),s=a?.serverIndex??0,o=D["DefaultApi.getCryptoV1Exchanges"]?.[s]?.url;return(r,d)=>Q(e,H,T,a)(r,o||d)},async getCurrencyConversion(t,i,e,s,o){let r=await n.getCurrencyConversion(t,i,e,s,o),d=a?.serverIndex??0,l=D["DefaultApi.getCurrencyConversion"]?.[d]?.url;return(g,b)=>Q(r,H,T,a)(g,l||b)},async getEtfGlobalV1Analytics(t,i,e,s,o,r,d,l,g,b,p,f,m,y,u,h,R,x,c,k,A,V,w,O,I,_,j,L,K,X,C,v,S,en,nn,on,sn,Y,rn,an,M,dn,pn,fn,un,ln,gn,yn,W,J,bn,cn,mn,Z,G,hn,Rn,An,xn,P,kn,tn,Vn,On,Cn,Sn,wn,vn,In,Dn){let Ln=await n.getEtfGlobalV1Analytics(t,i,e,s,o,r,d,l,g,b,p,f,m,y,u,h,R,x,c,k,A,V,w,O,I,_,j,L,K,X,C,v,S,en,nn,on,sn,Y,rn,an,M,dn,pn,fn,un,ln,gn,yn,W,J,bn,cn,mn,Z,G,hn,Rn,An,xn,P,kn,tn,Vn,On,Cn,Sn,wn,vn,In,Dn),_n=a?.serverIndex??0,Tn=D["DefaultApi.getEtfGlobalV1Analytics"]?.[_n]?.url;return(Fn,q)=>Q(Ln,H,T,a)(Fn,Tn||q)},async getEtfGlobalV1Constituents(t,i,e,s,o,r,d,l,g,b,p,f,m,y,u,h,R,x,c,k,A,V,w,O,I,_,j,L,K,X,C,v,S,en,nn,on,sn,Y,rn,an,M,dn,pn,fn,un,ln,gn,yn,W){let J=await n.getEtfGlobalV1Constituents(t,i,e,s,o,r,d,l,g,b,p,f,m,y,u,h,R,x,c,k,A,V,w,O,I,_,j,L,K,X,C,v,S,en,nn,on,sn,Y,rn,an,M,dn,pn,fn,un,ln,gn,yn,W),bn=a?.serverIndex??0,cn=D["DefaultApi.getEtfGlobalV1Constituents"]?.[bn]?.url;return(mn,Z)=>Q(J,H,T,a)(mn,cn||Z)},async getEtfGlobalV1FundFlows(t,i,e,s,o,r,d,l,g,b,p,f,m,y,u,h,R,x,c){let k=await n.getEtfGlobalV1FundFlows(t,i,e,s,o,r,d,l,g,b,p,f,m,y,u,h,R,x,c),A=a?.serverIndex??0,V=D["DefaultApi.getEtfGlobalV1FundFlows"]?.[A]?.url;return(w,O)=>Q(k,H,T,a)(w,V||O)},async getEtfGlobalV1Profiles(t,i,e,s,o,r,d,l,g,b,p,f,m,y,u,h,R,x,c){let k=await n.getEtfGlobalV1Profiles(t,i,e,s,o,r,d,l,g,b,p,f,m,y,u,h,R,x,c),A=a?.serverIndex??0,V=D["DefaultApi.getEtfGlobalV1Profiles"]?.[A]?.url;return(w,O)=>Q(k,H,T,a)(w,V||O)},async getEtfGlobalV1Taxonomies(t,i,e,s,o,r,d,l,g,b,p,f,m,y,u,h,R,x,c){let k=await n.getEtfGlobalV1Taxonomies(t,i,e,s,o,r,d,l,g,b,p,f,m,y,u,h,R,x,c),A=a?.serverIndex??0,V=D["DefaultApi.getEtfGlobalV1Taxonomies"]?.[A]?.url;return(w,O)=>Q(k,H,T,a)(w,V||O)},async getEvents(t,i,e){let s=await n.getEvents(t,i,e),o=a?.serverIndex??0,r=D["DefaultApi.getEvents"]?.[o]?.url;return(d,l)=>Q(s,H,T,a)(d,r||l)},async getFedV1Inflation(t,i,e,s,o,r,d,l,g){let b=await n.getFedV1Inflation(t,i,e,s,o,r,d,l,g),p=a?.serverIndex??0,f=D["DefaultApi.getFedV1Inflation"]?.[p]?.url;return(m,y)=>Q(b,H,T,a)(m,f||y)},async getFedV1InflationExpectations(t,i,e,s,o,r,d,l,g){let b=await n.getFedV1InflationExpectations(t,i,e,s,o,r,d,l,g),p=a?.serverIndex??0,f=D["DefaultApi.getFedV1InflationExpectations"]?.[p]?.url;return(m,y)=>Q(b,H,T,a)(m,f||y)},async getFedV1LaborMarket(t,i,e,s,o,r,d,l,g){let b=await n.getFedV1LaborMarket(t,i,e,s,o,r,d,l,g),p=a?.serverIndex??0,f=D["DefaultApi.getFedV1LaborMarket"]?.[p]?.url;return(m,y)=>Q(b,H,T,a)(m,f||y)},async getFedV1TreasuryYields(t,i,e,s,o,r,d,l,g){let b=await n.getFedV1TreasuryYields(t,i,e,s,o,r,d,l,g),p=a?.serverIndex??0,f=D["DefaultApi.getFedV1TreasuryYields"]?.[p]?.url;return(m,y)=>Q(b,H,T,a)(m,f||y)},async getForexAggregates(t,i,e,s,o,r,d,l,g){let b=await n.getForexAggregates(t,i,e,s,o,r,d,l,g),p=a?.serverIndex??0,f=D["DefaultApi.getForexAggregates"]?.[p]?.url;return(m,y)=>Q(b,H,T,a)(m,f||y)},async getForexEMA(t,i,e,s,o,r,d,l,g,b,p,f,m,y){let u=await n.getForexEMA(t,i,e,s,o,r,d,l,g,b,p,f,m,y),h=a?.serverIndex??0,R=D["DefaultApi.getForexEMA"]?.[h]?.url;return(x,c)=>Q(u,H,T,a)(x,R||c)},async getForexMACD(t,i,e,s,o,r,d,l,g,b,p,f,m,y,u,h){let R=await n.getForexMACD(t,i,e,s,o,r,d,l,g,b,p,f,m,y,u,h),x=a?.serverIndex??0,c=D["DefaultApi.getForexMACD"]?.[x]?.url;return(k,A)=>Q(R,H,T,a)(k,c||A)},async getForexQuotes(t,i,e,s,o,r,d,l,g,b){let p=await n.getForexQuotes(t,i,e,s,o,r,d,l,g,b),f=a?.serverIndex??0,m=D["DefaultApi.getForexQuotes"]?.[f]?.url;return(y,u)=>Q(p,H,T,a)(y,m||u)},async getForexRSI(t,i,e,s,o,r,d,l,g,b,p,f,m,y){let u=await n.getForexRSI(t,i,e,s,o,r,d,l,g,b,p,f,m,y),h=a?.serverIndex??0,R=D["DefaultApi.getForexRSI"]?.[h]?.url;return(x,c)=>Q(u,H,T,a)(x,R||c)},async getForexSMA(t,i,e,s,o,r,d,l,g,b,p,f,m,y){let u=await n.getForexSMA(t,i,e,s,o,r,d,l,g,b,p,f,m,y),h=a?.serverIndex??0,R=D["DefaultApi.getForexSMA"]?.[h]?.url;return(x,c)=>Q(u,H,T,a)(x,R||c)},async getForexSnapshotDirection(t,i){let e=await n.getForexSnapshotDirection(t,i),s=a?.serverIndex??0,o=D["DefaultApi.getForexSnapshotDirection"]?.[s]?.url;return(r,d)=>Q(e,H,T,a)(r,o||d)},async getForexSnapshotTicker(t,i){let e=await n.getForexSnapshotTicker(t,i),s=a?.serverIndex??0,o=D["DefaultApi.getForexSnapshotTicker"]?.[s]?.url;return(r,d)=>Q(e,H,T,a)(r,o||d)},async getForexSnapshotTickers(t,i){let e=await n.getForexSnapshotTickers(t,i),s=a?.serverIndex??0,o=D["DefaultApi.getForexSnapshotTickers"]?.[s]?.url;return(r,d)=>Q(e,H,T,a)(r,o||d)},async getForexV1Exchanges(t,i){let e=await n.getForexV1Exchanges(t,i),s=a?.serverIndex??0,o=D["DefaultApi.getForexV1Exchanges"]?.[s]?.url;return(r,d)=>Q(e,H,T,a)(r,o||d)},async getFuturesAggregates(t,i,e,s,o,r,d,l,g,b){let p=await n.getFuturesAggregates(t,i,e,s,o,r,d,l,g,b),f=a?.serverIndex??0,m=D["DefaultApi.getFuturesAggregates"]?.[f]?.url;return(y,u)=>Q(p,H,T,a)(y,m||u)},async getFuturesQuotes(t,i,e,s,o,r,d,l,g,b,p,f,m,y){let u=await n.getFuturesQuotes(t,i,e,s,o,r,d,l,g,b,p,f,m,y),h=a?.serverIndex??0,R=D["DefaultApi.getFuturesQuotes"]?.[h]?.url;return(x,c)=>Q(u,H,T,a)(x,R||c)},async getFuturesTrades(t,i,e,s,o,r,d,l,g,b,p,f,m,y){let u=await n.getFuturesTrades(t,i,e,s,o,r,d,l,g,b,p,f,m,y),h=a?.serverIndex??0,R=D["DefaultApi.getFuturesTrades"]?.[h]?.url;return(x,c)=>Q(u,H,T,a)(x,R||c)},async getFuturesVXContracts(t,i,e,s,o,r,d,l,g,b,p,f,m,y,u,h,R,x,c,k,A,V,w,O,I,_,j,L,K,X,C,v,S){let en=await n.getFuturesVXContracts(t,i,e,s,o,r,d,l,g,b,p,f,m,y,u,h,R,x,c,k,A,V,w,O,I,_,j,L,K,X,C,v,S),nn=a?.serverIndex??0,on=D["DefaultApi.getFuturesVXContracts"]?.[nn]?.url;return(sn,Y)=>Q(en,H,T,a)(sn,on||Y)},async getFuturesVXExchanges(t,i){let e=await n.getFuturesVXExchanges(t,i),s=a?.serverIndex??0,o=D["DefaultApi.getFuturesVXExchanges"]?.[s]?.url;return(r,d)=>Q(e,H,T,a)(r,o||d)},async getFuturesVXMarketStatus(t,i,e,s,o,r,d,l){let g=await n.getFuturesVXMarketStatus(t,i,e,s,o,r,d,l),b=a?.serverIndex??0,p=D["DefaultApi.getFuturesVXMarketStatus"]?.[b]?.url;return(f,m)=>Q(g,H,T,a)(f,p||m)},async getFuturesVXProducts(t,i,e,s,o,r,d,l,g,b,p,f,m,y,u,h,R,x,c,k,A,V,w,O,I,_,j,L,K,X,C,v,S,en,nn,on){let sn=await n.getFuturesVXProducts(t,i,e,s,o,r,d,l,g,b,p,f,m,y,u,h,R,x,c,k,A,V,w,O,I,_,j,L,K,X,C,v,S,en,nn,on),Y=a?.serverIndex??0,rn=D["DefaultApi.getFuturesVXProducts"]?.[Y]?.url;return(an,M)=>Q(sn,H,T,a)(an,rn||M)},async getFuturesVXQuotesNew(t,i,e,s,o,r,d,l,g,b){let p=await n.getFuturesVXQuotesNew(t,i,e,s,o,r,d,l,g,b),f=a?.serverIndex??0,m=D["DefaultApi.getFuturesVXQuotesNew"]?.[f]?.url;return(y,u)=>Q(p,H,T,a)(y,m||u)},async getFuturesVXSchedules(t,i,e,s,o,r,d,l,g,b,p,f,m,y,u,h,R,x,c,k,A){let V=await n.getFuturesVXSchedules(t,i,e,s,o,r,d,l,g,b,p,f,m,y,u,h,R,x,c,k,A),w=a?.serverIndex??0,O=D["DefaultApi.getFuturesVXSchedules"]?.[w]?.url;return(I,_)=>Q(V,H,T,a)(I,O||_)},async getFuturesVXSnapshot(t,i,e,s,o,r,d,l,g,b,p,f,m,y,u){let h=await n.getFuturesVXSnapshot(t,i,e,s,o,r,d,l,g,b,p,f,m,y,u),R=a?.serverIndex??0,x=D["DefaultApi.getFuturesVXSnapshot"]?.[R]?.url;return(c,k)=>Q(h,H,T,a)(c,x||k)},async getFuturesVXSnapshotNative(t,i,e,s,o,r,d,l,g,b,p,f,m,y,u){let h=await n.getFuturesVXSnapshotNative(t,i,e,s,o,r,d,l,g,b,p,f,m,y,u),R=a?.serverIndex??0,x=D["DefaultApi.getFuturesVXSnapshotNative"]?.[R]?.url;return(c,k)=>Q(h,H,T,a)(c,x||k)},async getFuturesVXTradesNew(t,i,e,s,o,r,d,l,g,b){let p=await n.getFuturesVXTradesNew(t,i,e,s,o,r,d,l,g,b),f=a?.serverIndex??0,m=D["DefaultApi.getFuturesVXTradesNew"]?.[f]?.url;return(y,u)=>Q(p,H,T,a)(y,m||u)},async getGroupedCryptoAggregates(t,i,e){let s=await n.getGroupedCryptoAggregates(t,i,e),o=a?.serverIndex??0,r=D["DefaultApi.getGroupedCryptoAggregates"]?.[o]?.url;return(d,l)=>Q(s,H,T,a)(d,r||l)},async getGroupedForexAggregates(t,i,e){let s=await n.getGroupedForexAggregates(t,i,e),o=a?.serverIndex??0,r=D["DefaultApi.getGroupedForexAggregates"]?.[o]?.url;return(d,l)=>Q(s,H,T,a)(d,r||l)},async getGroupedStocksAggregates(t,i,e,s){let o=await n.getGroupedStocksAggregates(t,i,e,s),r=a?.serverIndex??0,d=D["DefaultApi.getGroupedStocksAggregates"]?.[r]?.url;return(l,g)=>Q(o,H,T,a)(l,d||g)},async getIndicesAggregates(t,i,e,s,o,r,d,l){let g=await n.getIndicesAggregates(t,i,e,s,o,r,d,l),b=a?.serverIndex??0,p=D["DefaultApi.getIndicesAggregates"]?.[b]?.url;return(f,m)=>Q(g,H,T,a)(f,p||m)},async getIndicesEMA(t,i,e,s,o,r,d,l,g,b,p,f,m,y){let u=await n.getIndicesEMA(t,i,e,s,o,r,d,l,g,b,p,f,m,y),h=a?.serverIndex??0,R=D["DefaultApi.getIndicesEMA"]?.[h]?.url;return(x,c)=>Q(u,H,T,a)(x,R||c)},async getIndicesMACD(t,i,e,s,o,r,d,l,g,b,p,f,m,y,u,h){let R=await n.getIndicesMACD(t,i,e,s,o,r,d,l,g,b,p,f,m,y,u,h),x=a?.serverIndex??0,c=D["DefaultApi.getIndicesMACD"]?.[x]?.url;return(k,A)=>Q(R,H,T,a)(k,c||A)},async getIndicesOpenClose(t,i,e){let s=await n.getIndicesOpenClose(t,i,e),o=a?.serverIndex??0,r=D["DefaultApi.getIndicesOpenClose"]?.[o]?.url;return(d,l)=>Q(s,H,T,a)(d,r||l)},async getIndicesRSI(t,i,e,s,o,r,d,l,g,b,p,f,m,y){let u=await n.getIndicesRSI(t,i,e,s,o,r,d,l,g,b,p,f,m,y),h=a?.serverIndex??0,R=D["DefaultApi.getIndicesRSI"]?.[h]?.url;return(x,c)=>Q(u,H,T,a)(x,R||c)},async getIndicesSMA(t,i,e,s,o,r,d,l,g,b,p,f,m,y){let u=await n.getIndicesSMA(t,i,e,s,o,r,d,l,g,b,p,f,m,y),h=a?.serverIndex??0,R=D["DefaultApi.getIndicesSMA"]?.[h]?.url;return(x,c)=>Q(u,H,T,a)(x,R||c)},async getIndicesSnapshot(t,i,e,s,o,r,d,l,g,b){let p=await n.getIndicesSnapshot(t,i,e,s,o,r,d,l,g,b),f=a?.serverIndex??0,m=D["DefaultApi.getIndicesSnapshot"]?.[f]?.url;return(y,u)=>Q(p,H,T,a)(y,m||u)},async getLastCryptoTrade(t,i,e){let s=await n.getLastCryptoTrade(t,i,e),o=a?.serverIndex??0,r=D["DefaultApi.getLastCryptoTrade"]?.[o]?.url;return(d,l)=>Q(s,H,T,a)(d,r||l)},async getLastCurrencyQuote(t,i,e){let s=await n.getLastCurrencyQuote(t,i,e),o=a?.serverIndex??0,r=D["DefaultApi.getLastCurrencyQuote"]?.[o]?.url;return(d,l)=>Q(s,H,T,a)(d,r||l)},async getLastOptionsTrade(t,i){let e=await n.getLastOptionsTrade(t,i),s=a?.serverIndex??0,o=D["DefaultApi.getLastOptionsTrade"]?.[s]?.url;return(r,d)=>Q(e,H,T,a)(r,o||d)},async getLastStocksQuote(t,i){let e=await n.getLastStocksQuote(t,i),s=a?.serverIndex??0,o=D["DefaultApi.getLastStocksQuote"]?.[s]?.url;return(r,d)=>Q(e,H,T,a)(r,o||d)},async getLastStocksTrade(t,i){let e=await n.getLastStocksTrade(t,i),s=a?.serverIndex??0,o=D["DefaultApi.getLastStocksTrade"]?.[s]?.url;return(r,d)=>Q(e,H,T,a)(r,o||d)},async getMarketHolidays(t){let i=await n.getMarketHolidays(t),e=a?.serverIndex??0,s=D["DefaultApi.getMarketHolidays"]?.[e]?.url;return(o,r)=>Q(i,H,T,a)(o,s||r)},async getMarketStatus(t){let i=await n.getMarketStatus(t),e=a?.serverIndex??0,s=D["DefaultApi.getMarketStatus"]?.[e]?.url;return(o,r)=>Q(i,H,T,a)(o,s||r)},async getOptionContract(t,i,e){let s=await n.getOptionContract(t,i,e),o=a?.serverIndex??0,r=D["DefaultApi.getOptionContract"]?.[o]?.url;return(d,l)=>Q(s,H,T,a)(d,r||l)},async getOptionsAggregates(t,i,e,s,o,r,d,l,g){let b=await n.getOptionsAggregates(t,i,e,s,o,r,d,l,g),p=a?.serverIndex??0,f=D["DefaultApi.getOptionsAggregates"]?.[p]?.url;return(m,y)=>Q(b,H,T,a)(m,f||y)},async getOptionsChain(t,i,e,s,o,r,d,l,g,b,p,f,m,y,u,h){let R=await n.getOptionsChain(t,i,e,s,o,r,d,l,g,b,p,f,m,y,u,h),x=a?.serverIndex??0,c=D["DefaultApi.getOptionsChain"]?.[x]?.url;return(k,A)=>Q(R,H,T,a)(k,c||A)},async getOptionsContract(t,i,e){let s=await n.getOptionsContract(t,i,e),o=a?.serverIndex??0,r=D["DefaultApi.getOptionsContract"]?.[o]?.url;return(d,l)=>Q(s,H,T,a)(d,r||l)},async getOptionsEMA(t,i,e,s,o,r,d,l,g,b,p,f,m,y){let u=await n.getOptionsEMA(t,i,e,s,o,r,d,l,g,b,p,f,m,y),h=a?.serverIndex??0,R=D["DefaultApi.getOptionsEMA"]?.[h]?.url;return(x,c)=>Q(u,H,T,a)(x,R||c)},async getOptionsMACD(t,i,e,s,o,r,d,l,g,b,p,f,m,y,u,h){let R=await n.getOptionsMACD(t,i,e,s,o,r,d,l,g,b,p,f,m,y,u,h),x=a?.serverIndex??0,c=D["DefaultApi.getOptionsMACD"]?.[x]?.url;return(k,A)=>Q(R,H,T,a)(k,c||A)},async getOptionsOpenClose(t,i,e,s){let o=await n.getOptionsOpenClose(t,i,e,s),r=a?.serverIndex??0,d=D["DefaultApi.getOptionsOpenClose"]?.[r]?.url;return(l,g)=>Q(o,H,T,a)(l,d||g)},async getOptionsQuotes(t,i,e,s,o,r,d,l,g,b){let p=await n.getOptionsQuotes(t,i,e,s,o,r,d,l,g,b),f=a?.serverIndex??0,m=D["DefaultApi.getOptionsQuotes"]?.[f]?.url;return(y,u)=>Q(p,H,T,a)(y,m||u)},async getOptionsRSI(t,i,e,s,o,r,d,l,g,b,p,f,m,y){let u=await n.getOptionsRSI(t,i,e,s,o,r,d,l,g,b,p,f,m,y),h=a?.serverIndex??0,R=D["DefaultApi.getOptionsRSI"]?.[h]?.url;return(x,c)=>Q(u,H,T,a)(x,R||c)},async getOptionsSMA(t,i,e,s,o,r,d,l,g,b,p,f,m,y){let u=await n.getOptionsSMA(t,i,e,s,o,r,d,l,g,b,p,f,m,y),h=a?.serverIndex??0,R=D["DefaultApi.getOptionsSMA"]?.[h]?.url;return(x,c)=>Q(u,H,T,a)(x,R||c)},async getOptionsTrades(t,i,e,s,o,r,d,l,g,b){let p=await n.getOptionsTrades(t,i,e,s,o,r,d,l,g,b),f=a?.serverIndex??0,m=D["DefaultApi.getOptionsTrades"]?.[f]?.url;return(y,u)=>Q(p,H,T,a)(y,m||u)},async getOptionsV1Exchanges(t,i){let e=await n.getOptionsV1Exchanges(t,i),s=a?.serverIndex??0,o=D["DefaultApi.getOptionsV1Exchanges"]?.[s]?.url;return(r,d)=>Q(e,H,T,a)(r,o||d)},async getPreviousCryptoAggregates(t,i,e){let s=await n.getPreviousCryptoAggregates(t,i,e),o=a?.serverIndex??0,r=D["DefaultApi.getPreviousCryptoAggregates"]?.[o]?.url;return(d,l)=>Q(s,H,T,a)(d,r||l)},async getPreviousForexAggregates(t,i,e){let s=await n.getPreviousForexAggregates(t,i,e),o=a?.serverIndex??0,r=D["DefaultApi.getPreviousForexAggregates"]?.[o]?.url;return(d,l)=>Q(s,H,T,a)(d,r||l)},async getPreviousIndicesAggregates(t,i){let e=await n.getPreviousIndicesAggregates(t,i),s=a?.serverIndex??0,o=D["DefaultApi.getPreviousIndicesAggregates"]?.[s]?.url;return(r,d)=>Q(e,H,T,a)(r,o||d)},async getPreviousOptionsAggregates(t,i,e){let s=await n.getPreviousOptionsAggregates(t,i,e),o=a?.serverIndex??0,r=D["DefaultApi.getPreviousOptionsAggregates"]?.[o]?.url;return(d,l)=>Q(s,H,T,a)(d,r||l)},async getPreviousStocksAggregates(t,i,e){let s=await n.getPreviousStocksAggregates(t,i,e),o=a?.serverIndex??0,r=D["DefaultApi.getPreviousStocksAggregates"]?.[o]?.url;return(d,l)=>Q(s,H,T,a)(d,r||l)},async getRelatedCompanies(t,i){let e=await n.getRelatedCompanies(t,i),s=a?.serverIndex??0,o=D["DefaultApi.getRelatedCompanies"]?.[s]?.url;return(r,d)=>Q(e,H,T,a)(r,o||d)},async getSnapshotSummary(t,i){let e=await n.getSnapshotSummary(t,i),s=a?.serverIndex??0,o=D["DefaultApi.getSnapshotSummary"]?.[s]?.url;return(r,d)=>Q(e,H,T,a)(r,o||d)},async getSnapshots(t,i,e,s,o,r,d,l,g,b,p){let f=await n.getSnapshots(t,i,e,s,o,r,d,l,g,b,p),m=a?.serverIndex??0,y=D["DefaultApi.getSnapshots"]?.[m]?.url;return(u,h)=>Q(f,H,T,a)(u,y||h)},async getStocksAggregates(t,i,e,s,o,r,d,l,g){let b=await n.getStocksAggregates(t,i,e,s,o,r,d,l,g),p=a?.serverIndex??0,f=D["DefaultApi.getStocksAggregates"]?.[p]?.url;return(m,y)=>Q(b,H,T,a)(m,f||y)},async getStocksEMA(t,i,e,s,o,r,d,l,g,b,p,f,m,y){let u=await n.getStocksEMA(t,i,e,s,o,r,d,l,g,b,p,f,m,y),h=a?.serverIndex??0,R=D["DefaultApi.getStocksEMA"]?.[h]?.url;return(x,c)=>Q(u,H,T,a)(x,R||c)},async getStocksFilings10KVXSections(t,i,e,s,o,r,d,l,g,b,p,f,m,y,u,h,R,x,c,k,A,V,w,O,I,_,j){let L=await n.getStocksFilings10KVXSections(t,i,e,s,o,r,d,l,g,b,p,f,m,y,u,h,R,x,c,k,A,V,w,O,I,_,j),K=a?.serverIndex??0,X=D["DefaultApi.getStocksFilings10KVXSections"]?.[K]?.url;return(C,v)=>Q(L,H,T,a)(C,X||v)},async getStocksFilings8KVXText(t,i,e,s,o,r,d,l,g,b,p,f,m,y,u,h,R,x,c,k,A,V,w,O,I,_){let j=await n.getStocksFilings8KVXText(t,i,e,s,o,r,d,l,g,b,p,f,m,y,u,h,R,x,c,k,A,V,w,O,I,_),L=a?.serverIndex??0,K=D["DefaultApi.getStocksFilings8KVXText"]?.[L]?.url;return(X,C)=>Q(j,H,T,a)(X,K||C)},async getStocksFilingsVXIndex(t,i,e,s,o,r,d,l,g,b,p,f,m,y,u,h,R,x,c,k,A,V,w,O,I,_){let j=await n.getStocksFilingsVXIndex(t,i,e,s,o,r,d,l,g,b,p,f,m,y,u,h,R,x,c,k,A,V,w,O,I,_),L=a?.serverIndex??0,K=D["DefaultApi.getStocksFilingsVXIndex"]?.[L]?.url;return(X,C)=>Q(j,H,T,a)(X,K||C)},async getStocksFilingsVXRiskFactors(t,i,e,s,o,r,d,l,g,b,p,f,m,y,u,h,R,x,c,k,A){let V=await n.getStocksFilingsVXRiskFactors(t,i,e,s,o,r,d,l,g,b,p,f,m,y,u,h,R,x,c,k,A),w=a?.serverIndex??0,O=D["DefaultApi.getStocksFilingsVXRiskFactors"]?.[w]?.url;return(I,_)=>Q(V,H,T,a)(I,O||_)},async getStocksFinancialsV1BalanceSheets(t,i,e,s,o,r,d,l,g,b,p,f,m,y,u,h,R,x,c,k,A,V,w,O,I,_,j,L,K,X,C,v,S,en,nn,on,sn,Y,rn,an,M,dn,pn,fn,un,ln,gn,yn,W,J){let bn=await n.getStocksFinancialsV1BalanceSheets(t,i,e,s,o,r,d,l,g,b,p,f,m,y,u,h,R,x,c,k,A,V,w,O,I,_,j,L,K,X,C,v,S,en,nn,on,sn,Y,rn,an,M,dn,pn,fn,un,ln,gn,yn,W,J),cn=a?.serverIndex??0,mn=D["DefaultApi.getStocksFinancialsV1BalanceSheets"]?.[cn]?.url;return(Z,G)=>Q(bn,H,T,a)(Z,mn||G)},async getStocksFinancialsV1CashFlowStatements(t,i,e,s,o,r,d,l,g,b,p,f,m,y,u,h,R,x,c,k,A,V,w,O,I,_,j,L,K,X,C,v,S,en,nn,on,sn,Y,rn,an,M,dn,pn,fn,un,ln,gn,yn,W,J){let bn=await n.getStocksFinancialsV1CashFlowStatements(t,i,e,s,o,r,d,l,g,b,p,f,m,y,u,h,R,x,c,k,A,V,w,O,I,_,j,L,K,X,C,v,S,en,nn,on,sn,Y,rn,an,M,dn,pn,fn,un,ln,gn,yn,W,J),cn=a?.serverIndex??0,mn=D["DefaultApi.getStocksFinancialsV1CashFlowStatements"]?.[cn]?.url;return(Z,G)=>Q(bn,H,T,a)(Z,mn||G)},async getStocksFinancialsV1IncomeStatements(t,i,e,s,o,r,d,l,g,b,p,f,m,y,u,h,R,x,c,k,A,V,w,O,I,_,j,L,K,X,C,v,S,en,nn,on,sn,Y,rn,an,M,dn,pn,fn,un,ln,gn,yn,W,J){let bn=await n.getStocksFinancialsV1IncomeStatements(t,i,e,s,o,r,d,l,g,b,p,f,m,y,u,h,R,x,c,k,A,V,w,O,I,_,j,L,K,X,C,v,S,en,nn,on,sn,Y,rn,an,M,dn,pn,fn,un,ln,gn,yn,W,J),cn=a?.serverIndex??0,mn=D["DefaultApi.getStocksFinancialsV1IncomeStatements"]?.[cn]?.url;return(Z,G)=>Q(bn,H,T,a)(Z,mn||G)},async getStocksFinancialsV1Ratios(t,i,e,s,o,r,d,l,g,b,p,f,m,y,u,h,R,x,c,k,A,V,w,O,I,_,j,L,K,X,C,v,S,en,nn,on,sn,Y,rn,an,M,dn,pn,fn,un,ln,gn,yn,W,J,bn,cn,mn,Z,G,hn,Rn,An,xn,P,kn,tn,Vn,On,Cn,Sn,wn,vn,In,Dn,Ln,_n,Tn,Fn,q,Un,zn,Qn,En,Mn,Hn,jn,Kn,Nn,Xn,$n,Yn,Wn,Jn,Zn,qn,Pn,ne,ee,te,ie,se,oe,re,ae,de,le,ge,ce,pe,fe,ue,ye,be,me,he,Re,xe,Ae,Se){let ke=await n.getStocksFinancialsV1Ratios(t,i,e,s,o,r,d,l,g,b,p,f,m,y,u,h,R,x,c,k,A,V,w,O,I,_,j,L,K,X,C,v,S,en,nn,on,sn,Y,rn,an,M,dn,pn,fn,un,ln,gn,yn,W,J,bn,cn,mn,Z,G,hn,Rn,An,xn,P,kn,tn,Vn,On,Cn,Sn,wn,vn,In,Dn,Ln,_n,Tn,Fn,q,Un,zn,Qn,En,Mn,Hn,jn,Kn,Nn,Xn,$n,Yn,Wn,Jn,Zn,qn,Pn,ne,ee,te,ie,se,oe,re,ae,de,le,ge,ce,pe,fe,ue,ye,be,me,he,Re,xe,Ae,Se),Bn=a?.serverIndex??0,_e=D["DefaultApi.getStocksFinancialsV1Ratios"]?.[Bn]?.url;return(we,N)=>Q(ke,H,T,a)(we,_e||N)},async getStocksMACD(t,i,e,s,o,r,d,l,g,b,p,f,m,y,u,h){let R=await n.getStocksMACD(t,i,e,s,o,r,d,l,g,b,p,f,m,y,u,h),x=a?.serverIndex??0,c=D["DefaultApi.getStocksMACD"]?.[x]?.url;return(k,A)=>Q(R,H,T,a)(k,c||A)},async getStocksOpenClose(t,i,e,s){let o=await n.getStocksOpenClose(t,i,e,s),r=a?.serverIndex??0,d=D["DefaultApi.getStocksOpenClose"]?.[r]?.url;return(l,g)=>Q(o,H,T,a)(l,d||g)},async getStocksQuotes(t,i,e,s,o,r,d,l,g,b){let p=await n.getStocksQuotes(t,i,e,s,o,r,d,l,g,b),f=a?.serverIndex??0,m=D["DefaultApi.getStocksQuotes"]?.[f]?.url;return(y,u)=>Q(p,H,T,a)(y,m||u)},async getStocksRSI(t,i,e,s,o,r,d,l,g,b,p,f,m,y){let u=await n.getStocksRSI(t,i,e,s,o,r,d,l,g,b,p,f,m,y),h=a?.serverIndex??0,R=D["DefaultApi.getStocksRSI"]?.[h]?.url;return(x,c)=>Q(u,H,T,a)(x,R||c)},async getStocksSMA(t,i,e,s,o,r,d,l,g,b,p,f,m,y){let u=await n.getStocksSMA(t,i,e,s,o,r,d,l,g,b,p,f,m,y),h=a?.serverIndex??0,R=D["DefaultApi.getStocksSMA"]?.[h]?.url;return(x,c)=>Q(u,H,T,a)(x,R||c)},async getStocksSnapshotDirection(t,i,e){let s=await n.getStocksSnapshotDirection(t,i,e),o=a?.serverIndex??0,r=D["DefaultApi.getStocksSnapshotDirection"]?.[o]?.url;return(d,l)=>Q(s,H,T,a)(d,r||l)},async getStocksSnapshotTicker(t,i){let e=await n.getStocksSnapshotTicker(t,i),s=a?.serverIndex??0,o=D["DefaultApi.getStocksSnapshotTicker"]?.[s]?.url;return(r,d)=>Q(e,H,T,a)(r,o||d)},async getStocksSnapshotTickers(t,i,e){let s=await n.getStocksSnapshotTickers(t,i,e),o=a?.serverIndex??0,r=D["DefaultApi.getStocksSnapshotTickers"]?.[o]?.url;return(d,l)=>Q(s,H,T,a)(d,r||l)},async getStocksTaxonomiesVXRiskFactors(t,i,e,s,o,r,d,l,g,b,p,f,m,y,u,h,R,x,c,k,A,V,w,O,I,_){let j=await n.getStocksTaxonomiesVXRiskFactors(t,i,e,s,o,r,d,l,g,b,p,f,m,y,u,h,R,x,c,k,A,V,w,O,I,_),L=a?.serverIndex??0,K=D["DefaultApi.getStocksTaxonomiesVXRiskFactors"]?.[L]?.url;return(X,C)=>Q(j,H,T,a)(X,K||C)},async getStocksTrades(t,i,e,s,o,r,d,l,g,b){let p=await n.getStocksTrades(t,i,e,s,o,r,d,l,g,b),f=a?.serverIndex??0,m=D["DefaultApi.getStocksTrades"]?.[f]?.url;return(y,u)=>Q(p,H,T,a)(y,m||u)},async getStocksV1Dividends(t,i,e,s,o,r,d,l,g,b,p,f,m,y,u,h,R,x,c,k,A){let V=await n.getStocksV1Dividends(t,i,e,s,o,r,d,l,g,b,p,f,m,y,u,h,R,x,c,k,A),w=a?.serverIndex??0,O=D["DefaultApi.getStocksV1Dividends"]?.[w]?.url;return(I,_)=>Q(V,H,T,a)(I,O||_)},async getStocksV1Exchanges(t,i){let e=await n.getStocksV1Exchanges(t,i),s=a?.serverIndex??0,o=D["DefaultApi.getStocksV1Exchanges"]?.[s]?.url;return(r,d)=>Q(e,H,T,a)(r,o||d)},async getStocksV1ShortInterest(t,i,e,s,o,r,d,l,g,b,p,f,m,y,u,h,R,x,c,k,A,V,w,O,I,_,j){let L=await n.getStocksV1ShortInterest(t,i,e,s,o,r,d,l,g,b,p,f,m,y,u,h,R,x,c,k,A,V,w,O,I,_,j),K=a?.serverIndex??0,X=D["DefaultApi.getStocksV1ShortInterest"]?.[K]?.url;return(C,v)=>Q(L,H,T,a)(C,X||v)},async getStocksV1ShortVolume(t,i,e,s,o,r,d,l,g,b,p,f,m,y,u,h,R,x,c,k,A){let V=await n.getStocksV1ShortVolume(t,i,e,s,o,r,d,l,g,b,p,f,m,y,u,h,R,x,c,k,A),w=a?.serverIndex??0,O=D["DefaultApi.getStocksV1ShortVolume"]?.[w]?.url;return(I,_)=>Q(V,H,T,a)(I,O||_)},async getStocksV1Splits(t,i,e,s,o,r,d,l,g,b,p,f,m,y,u,h){let R=await n.getStocksV1Splits(t,i,e,s,o,r,d,l,g,b,p,f,m,y,u,h),x=a?.serverIndex??0,c=D["DefaultApi.getStocksV1Splits"]?.[x]?.url;return(k,A)=>Q(R,H,T,a)(k,c||A)},async getStocksVXFloat(t,i,e,s,o,r,d,l,g,b,p,f,m,y){let u=await n.getStocksVXFloat(t,i,e,s,o,r,d,l,g,b,p,f,m,y),h=a?.serverIndex??0,R=D["DefaultApi.getStocksVXFloat"]?.[h]?.url;return(x,c)=>Q(u,H,T,a)(x,R||c)},async getTicker(t,i,e){let s=await n.getTicker(t,i,e),o=a?.serverIndex??0,r=D["DefaultApi.getTicker"]?.[o]?.url;return(d,l)=>Q(s,H,T,a)(d,r||l)},async getTmxV1CorporateEvents(t,i,e,s,o,r,d,l,g,b,p,f,m,y,u,h,R,x,c,k,A,V,w,O,I,_,j,L,K,X,C,v,S,en,nn,on,sn,Y,rn,an,M,dn,pn,fn,un,ln,gn,yn,W,J){let bn=await n.getTmxV1CorporateEvents(t,i,e,s,o,r,d,l,g,b,p,f,m,y,u,h,R,x,c,k,A,V,w,O,I,_,j,L,K,X,C,v,S,en,nn,on,sn,Y,rn,an,M,dn,pn,fn,un,ln,gn,yn,W,J),cn=a?.serverIndex??0,mn=D["DefaultApi.getTmxV1CorporateEvents"]?.[cn]?.url;return(Z,G)=>Q(bn,H,T,a)(Z,mn||G)},async getV1ReferenceIpos(t,i,e,s,o,r,d,l,g,b,p,f,m,y,u,h,R,x,c,k,A,V,w,O,I,_,j,L){let K=await n.getV1ReferenceIpos(t,i,e,s,o,r,d,l,g,b,p,f,m,y,u,h,R,x,c,k,A,V,w,O,I,_,j,L),X=a?.serverIndex??0,C=D["DefaultApi.getV1ReferenceIpos"]?.[X]?.url;return(v,S)=>Q(K,H,T,a)(v,C||S)},async listConditions(t,i,e,s,o,r,d,l){let g=await n.listConditions(t,i,e,s,o,r,d,l),b=a?.serverIndex??0,p=D["DefaultApi.listConditions"]?.[b]?.url;return(f,m)=>Q(g,H,T,a)(f,p||m)},async listDividends(t,i,e,s,o,r,d,l,g,b,p,f,m,y,u,h,R,x,c,k,A,V,w,O,I,_,j,L,K,X,C,v,S,en,nn,on){let sn=await n.listDividends(t,i,e,s,o,r,d,l,g,b,p,f,m,y,u,h,R,x,c,k,A,V,w,O,I,_,j,L,K,X,C,v,S,en,nn,on),Y=a?.serverIndex??0,rn=D["DefaultApi.listDividends"]?.[Y]?.url;return(an,M)=>Q(sn,H,T,a)(an,rn||M)},async listExchanges(t,i,e){let s=await n.listExchanges(t,i,e),o=a?.serverIndex??0,r=D["DefaultApi.listExchanges"]?.[o]?.url;return(d,l)=>Q(s,H,T,a)(d,r||l)},async listFinancials(t,i,e,s,o,r,d,l,g,b,p,f,m,y,u,h,R,x,c,k,A){let V=await n.listFinancials(t,i,e,s,o,r,d,l,g,b,p,f,m,y,u,h,R,x,c,k,A),w=a?.serverIndex??0,O=D["DefaultApi.listFinancials"]?.[w]?.url;return(I,_)=>Q(V,H,T,a)(I,O||_)},async listIPOs(t,i,e,s,o,r,d,l,g,b,p,f,m){let y=await n.listIPOs(t,i,e,s,o,r,d,l,g,b,p,f,m),u=a?.serverIndex??0,h=D["DefaultApi.listIPOs"]?.[u]?.url;return(R,x)=>Q(y,H,T,a)(R,h||x)},async listNews(t,i,e,s,o,r,d,l,g,b,p,f,m,y){let u=await n.listNews(t,i,e,s,o,r,d,l,g,b,p,f,m,y),h=a?.serverIndex??0,R=D["DefaultApi.listNews"]?.[h]?.url;return(x,c)=>Q(u,H,T,a)(x,R||c)},async listOptionsContracts(t,i,e,s,o,r,d,l,g,b,p,f,m,y,u,h,R,x,c,k,A,V,w){let O=await n.listOptionsContracts(t,i,e,s,o,r,d,l,g,b,p,f,m,y,u,h,R,x,c,k,A,V,w),I=a?.serverIndex??0,_=D["DefaultApi.listOptionsContracts"]?.[I]?.url;return(j,L)=>Q(O,H,T,a)(j,_||L)},async listStockSplits(t,i,e,s,o,r,d,l,g,b,p,f,m,y,u){let h=await n.listStockSplits(t,i,e,s,o,r,d,l,g,b,p,f,m,y,u),R=a?.serverIndex??0,x=D["DefaultApi.listStockSplits"]?.[R]?.url;return(c,k)=>Q(h,H,T,a)(c,x||k)},async listTickerTypes(t,i,e){let s=await n.listTickerTypes(t,i,e),o=a?.serverIndex??0,r=D["DefaultApi.listTickerTypes"]?.[o]?.url;return(d,l)=>Q(s,H,T,a)(d,r||l)},async listTickers(t,i,e,s,o,r,d,l,g,b,p,f,m,y,u,h,R){let x=await n.listTickers(t,i,e,s,o,r,d,l,g,b,p,f,m,y,u,h,R),c=a?.serverIndex??0,k=D["DefaultApi.listTickers"]?.[c]?.url;return(A,V)=>Q(x,H,T,a)(A,k||V)}}},Rr=function(a,n,t){let i=E(a);return{deprecatedGetCryptoSnapshotTickerBook(e,s){return i.deprecatedGetCryptoSnapshotTickerBook(e.ticker,s).then(o=>o(t,n))},deprecatedGetHistoricCryptoTrades(e,s){return i.deprecatedGetHistoricCryptoTrades(e.from,e.to,e.date,e.offset,e.limit,s).then(o=>o(t,n))},deprecatedGetHistoricForexQuotes(e,s){return i.deprecatedGetHistoricForexQuotes(e.from,e.to,e.date,e.offset,e.limit,s).then(o=>o(t,n))},deprecatedGetHistoricStocksQuotes(e,s){return i.deprecatedGetHistoricStocksQuotes(e.ticker,e.date,e.timestamp,e.timestampLimit,e.reverse,e.limit,s).then(o=>o(t,n))},deprecatedGetHistoricStocksTrades(e,s){return i.deprecatedGetHistoricStocksTrades(e.ticker,e.date,e.timestamp,e.timestampLimit,e.reverse,e.limit,s).then(o=>o(t,n))},getBenzingaV1AnalystInsights(e={},s){return i.getBenzingaV1AnalystInsights(e.date,e.dateAnyOf,e.dateGt,e.dateGte,e.dateLt,e.dateLte,e.ticker,e.tickerAnyOf,e.tickerGt,e.tickerGte,e.tickerLt,e.tickerLte,e.lastUpdated,e.lastUpdatedGt,e.lastUpdatedGte,e.lastUpdatedLt,e.lastUpdatedLte,e.firm,e.firmAnyOf,e.firmGt,e.firmGte,e.firmLt,e.firmLte,e.ratingAction,e.ratingActionAnyOf,e.ratingActionGt,e.ratingActionGte,e.ratingActionLt,e.ratingActionLte,e.benzingaFirmId,e.benzingaFirmIdAnyOf,e.benzingaFirmIdGt,e.benzingaFirmIdGte,e.benzingaFirmIdLt,e.benzingaFirmIdLte,e.benzingaRatingId,e.benzingaRatingIdAnyOf,e.benzingaRatingIdGt,e.benzingaRatingIdGte,e.benzingaRatingIdLt,e.benzingaRatingIdLte,e.limit,e.sort,s).then(o=>o(t,n))},getBenzingaV1Analysts(e={},s){return i.getBenzingaV1Analysts(e.benzingaId,e.benzingaIdAnyOf,e.benzingaIdGt,e.benzingaIdGte,e.benzingaIdLt,e.benzingaIdLte,e.benzingaFirmId,e.benzingaFirmIdAnyOf,e.benzingaFirmIdGt,e.benzingaFirmIdGte,e.benzingaFirmIdLt,e.benzingaFirmIdLte,e.firmName,e.firmNameAnyOf,e.firmNameGt,e.firmNameGte,e.firmNameLt,e.firmNameLte,e.fullName,e.fullNameAnyOf,e.fullNameGt,e.fullNameGte,e.fullNameLt,e.fullNameLte,e.limit,e.sort,s).then(o=>o(t,n))},getBenzingaV1BullsBearsSay(e={},s){return i.getBenzingaV1BullsBearsSay(e.ticker,e.tickerAnyOf,e.tickerGt,e.tickerGte,e.tickerLt,e.tickerLte,e.benzingaId,e.benzingaIdAnyOf,e.benzingaIdGt,e.benzingaIdGte,e.benzingaIdLt,e.benzingaIdLte,e.lastUpdated,e.lastUpdatedGt,e.lastUpdatedGte,e.lastUpdatedLt,e.lastUpdatedLte,e.limit,e.sort,s).then(o=>o(t,n))},getBenzingaV1ConsensusRatings(e,s){return i.getBenzingaV1ConsensusRatings(e.ticker,e.date,e.dateAnyOf,e.dateGt,e.dateGte,e.dateLt,e.dateLte,e.limit,s).then(o=>o(t,n))},getBenzingaV1Earnings(e={},s){return i.getBenzingaV1Earnings(e.date,e.dateAnyOf,e.dateGt,e.dateGte,e.dateLt,e.dateLte,e.ticker,e.tickerAnyOf,e.tickerGt,e.tickerGte,e.tickerLt,e.tickerLte,e.importance,e.importanceAnyOf,e.importanceGt,e.importanceGte,e.importanceLt,e.importanceLte,e.lastUpdated,e.lastUpdatedAnyOf,e.lastUpdatedGt,e.lastUpdatedGte,e.lastUpdatedLt,e.lastUpdatedLte,e.dateStatus,e.dateStatusAnyOf,e.dateStatusGt,e.dateStatusGte,e.dateStatusLt,e.dateStatusLte,e.epsSurprisePercent,e.epsSurprisePercentAnyOf,e.epsSurprisePercentGt,e.epsSurprisePercentGte,e.epsSurprisePercentLt,e.epsSurprisePercentLte,e.revenueSurprisePercent,e.revenueSurprisePercentAnyOf,e.revenueSurprisePercentGt,e.revenueSurprisePercentGte,e.revenueSurprisePercentLt,e.revenueSurprisePercentLte,e.fiscalYear,e.fiscalYearAnyOf,e.fiscalYearGt,e.fiscalYearGte,e.fiscalYearLt,e.fiscalYearLte,e.fiscalPeriod,e.fiscalPeriodAnyOf,e.fiscalPeriodGt,e.fiscalPeriodGte,e.fiscalPeriodLt,e.fiscalPeriodLte,e.limit,e.sort,s).then(o=>o(t,n))},getBenzingaV1Firms(e={},s){return i.getBenzingaV1Firms(e.benzingaId,e.benzingaIdAnyOf,e.benzingaIdGt,e.benzingaIdGte,e.benzingaIdLt,e.benzingaIdLte,e.limit,e.sort,s).then(o=>o(t,n))},getBenzingaV1Guidance(e={},s){return i.getBenzingaV1Guidance(e.date,e.dateAnyOf,e.dateGt,e.dateGte,e.dateLt,e.dateLte,e.ticker,e.tickerAnyOf,e.tickerGt,e.tickerGte,e.tickerLt,e.tickerLte,e.positioning,e.positioningAnyOf,e.positioningGt,e.positioningGte,e.positioningLt,e.positioningLte,e.importance,e.importanceAnyOf,e.importanceGt,e.importanceGte,e.importanceLt,e.importanceLte,e.lastUpdated,e.lastUpdatedAnyOf,e.lastUpdatedGt,e.lastUpdatedGte,e.lastUpdatedLt,e.lastUpdatedLte,e.fiscalYear,e.fiscalYearAnyOf,e.fiscalYearGt,e.fiscalYearGte,e.fiscalYearLt,e.fiscalYearLte,e.fiscalPeriod,e.fiscalPeriodAnyOf,e.fiscalPeriodGt,e.fiscalPeriodGte,e.fiscalPeriodLt,e.fiscalPeriodLte,e.limit,e.sort,s).then(o=>o(t,n))},getBenzingaV1Ratings(e={},s){return i.getBenzingaV1Ratings(e.date,e.dateAnyOf,e.dateGt,e.dateGte,e.dateLt,e.dateLte,e.ticker,e.tickerAnyOf,e.tickerGt,e.tickerGte,e.tickerLt,e.tickerLte,e.importance,e.importanceGt,e.importanceGte,e.importanceLt,e.importanceLte,e.lastUpdated,e.lastUpdatedGt,e.lastUpdatedGte,e.lastUpdatedLt,e.lastUpdatedLte,e.ratingAction,e.ratingActionAnyOf,e.ratingActionGt,e.ratingActionGte,e.ratingActionLt,e.ratingActionLte,e.priceTargetAction,e.priceTargetActionAnyOf,e.priceTargetActionGt,e.priceTargetActionGte,e.priceTargetActionLt,e.priceTargetActionLte,e.benzingaId,e.benzingaIdAnyOf,e.benzingaIdGt,e.benzingaIdGte,e.benzingaIdLt,e.benzingaIdLte,e.benzingaAnalystId,e.benzingaAnalystIdAnyOf,e.benzingaAnalystIdGt,e.benzingaAnalystIdGte,e.benzingaAnalystIdLt,e.benzingaAnalystIdLte,e.benzingaFirmId,e.benzingaFirmIdAnyOf,e.benzingaFirmIdGt,e.benzingaFirmIdGte,e.benzingaFirmIdLt,e.benzingaFirmIdLte,e.limit,e.sort,s).then(o=>o(t,n))},getBenzingaV2News(e={},s){return i.getBenzingaV2News(e.published,e.publishedGt,e.publishedGte,e.publishedLt,e.publishedLte,e.channels,e.channelsAllOf,e.channelsAnyOf,e.tags,e.tagsAllOf,e.tagsAnyOf,e.author,e.authorAnyOf,e.authorGt,e.authorGte,e.authorLt,e.authorLte,e.stocks,e.stocksAllOf,e.stocksAnyOf,e.tickers,e.tickersAllOf,e.tickersAnyOf,e.limit,e.sort,s).then(o=>o(t,n))},getCryptoAggregates(e,s){return i.getCryptoAggregates(e.cryptoTicker,e.multiplier,e.timespan,e.from,e.to,e.adjusted,e.sort,e.limit,s).then(o=>o(t,n))},getCryptoEMA(e,s){return i.getCryptoEMA(e.cryptoTicker,e.timestamp,e.timespan,e.window,e.seriesType,e.expandUnderlying,e.order,e.limit,e.timestampGte,e.timestampGt,e.timestampLte,e.timestampLt,s).then(o=>o(t,n))},getCryptoMACD(e,s){return i.getCryptoMACD(e.cryptoTicker,e.timestamp,e.timespan,e.shortWindow,e.longWindow,e.signalWindow,e.seriesType,e.expandUnderlying,e.order,e.limit,e.timestampGte,e.timestampGt,e.timestampLte,e.timestampLt,s).then(o=>o(t,n))},getCryptoOpenClose(e,s){return i.getCryptoOpenClose(e.from,e.to,e.date,e.adjusted,s).then(o=>o(t,n))},getCryptoRSI(e,s){return i.getCryptoRSI(e.cryptoTicker,e.timestamp,e.timespan,e.window,e.seriesType,e.expandUnderlying,e.order,e.limit,e.timestampGte,e.timestampGt,e.timestampLte,e.timestampLt,s).then(o=>o(t,n))},getCryptoSMA(e,s){return i.getCryptoSMA(e.cryptoTicker,e.timestamp,e.timespan,e.window,e.seriesType,e.expandUnderlying,e.order,e.limit,e.timestampGte,e.timestampGt,e.timestampLte,e.timestampLt,s).then(o=>o(t,n))},getCryptoSnapshotDirection(e,s){return i.getCryptoSnapshotDirection(e.direction,s).then(o=>o(t,n))},getCryptoSnapshotTicker(e,s){return i.getCryptoSnapshotTicker(e.ticker,s).then(o=>o(t,n))},getCryptoSnapshotTickers(e={},s){return i.getCryptoSnapshotTickers(e.tickers,s).then(o=>o(t,n))},getCryptoTrades(e,s){return i.getCryptoTrades(e.cryptoTicker,e.timestamp,e.timestampGte,e.timestampGt,e.timestampLte,e.timestampLt,e.order,e.limit,e.sort,s).then(o=>o(t,n))},getCryptoV1Exchanges(e={},s){return i.getCryptoV1Exchanges(e.limit,s).then(o=>o(t,n))},getCurrencyConversion(e,s){return i.getCurrencyConversion(e.from,e.to,e.amount,e.precision,s).then(o=>o(t,n))},getEtfGlobalV1Analytics(e={},s){return i.getEtfGlobalV1Analytics(e.compositeTicker,e.compositeTickerAnyOf,e.compositeTickerGt,e.compositeTickerGte,e.compositeTickerLt,e.compositeTickerLte,e.processedDate,e.processedDateGt,e.processedDateGte,e.processedDateLt,e.processedDateLte,e.effectiveDate,e.effectiveDateGt,e.effectiveDateGte,e.effectiveDateLt,e.effectiveDateLte,e.riskTotalScore,e.riskTotalScoreGt,e.riskTotalScoreGte,e.riskTotalScoreLt,e.riskTotalScoreLte,e.rewardScore,e.rewardScoreGt,e.rewardScoreGte,e.rewardScoreLt,e.rewardScoreLte,e.quantTotalScore,e.quantTotalScoreGt,e.quantTotalScoreGte,e.quantTotalScoreLt,e.quantTotalScoreLte,e.quantGrade,e.quantGradeAnyOf,e.quantGradeGt,e.quantGradeGte,e.quantGradeLt,e.quantGradeLte,e.quantCompositeTechnical,e.quantCompositeTechnicalGt,e.quantCompositeTechnicalGte,e.quantCompositeTechnicalLt,e.quantCompositeTechnicalLte,e.quantCompositeSentiment,e.quantCompositeSentimentGt,e.quantCompositeSentimentGte,e.quantCompositeSentimentLt,e.quantCompositeSentimentLte,e.quantCompositeBehavioral,e.quantCompositeBehavioralGt,e.quantCompositeBehavioralGte,e.quantCompositeBehavioralLt,e.quantCompositeBehavioralLte,e.quantCompositeFundamental,e.quantCompositeFundamentalGt,e.quantCompositeFundamentalGte,e.quantCompositeFundamentalLt,e.quantCompositeFundamentalLte,e.quantCompositeGlobal,e.quantCompositeGlobalGt,e.quantCompositeGlobalGte,e.quantCompositeGlobalLt,e.quantCompositeGlobalLte,e.quantCompositeQuality,e.quantCompositeQualityGt,e.quantCompositeQualityGte,e.quantCompositeQualityLt,e.quantCompositeQualityLte,e.limit,e.sort,s).then(o=>o(t,n))},getEtfGlobalV1Constituents(e={},s){return i.getEtfGlobalV1Constituents(e.compositeTicker,e.compositeTickerAnyOf,e.compositeTickerGt,e.compositeTickerGte,e.compositeTickerLt,e.compositeTickerLte,e.constituentTicker,e.constituentTickerAnyOf,e.constituentTickerGt,e.constituentTickerGte,e.constituentTickerLt,e.constituentTickerLte,e.effectiveDate,e.effectiveDateGt,e.effectiveDateGte,e.effectiveDateLt,e.effectiveDateLte,e.processedDate,e.processedDateGt,e.processedDateGte,e.processedDateLt,e.processedDateLte,e.usCode,e.usCodeAnyOf,e.usCodeGt,e.usCodeGte,e.usCodeLt,e.usCodeLte,e.isin,e.isinAnyOf,e.isinGt,e.isinGte,e.isinLt,e.isinLte,e.figi,e.figiAnyOf,e.figiGt,e.figiGte,e.figiLt,e.figiLte,e.sedol,e.sedolAnyOf,e.sedolGt,e.sedolGte,e.sedolLt,e.sedolLte,e.limit,e.sort,s).then(o=>o(t,n))},getEtfGlobalV1FundFlows(e={},s){return i.getEtfGlobalV1FundFlows(e.processedDate,e.processedDateGt,e.processedDateGte,e.processedDateLt,e.processedDateLte,e.effectiveDate,e.effectiveDateGt,e.effectiveDateGte,e.effectiveDateLt,e.effectiveDateLte,e.compositeTicker,e.compositeTickerAnyOf,e.compositeTickerGt,e.compositeTickerGte,e.compositeTickerLt,e.compositeTickerLte,e.limit,e.sort,s).then(o=>o(t,n))},getEtfGlobalV1Profiles(e={},s){return i.getEtfGlobalV1Profiles(e.processedDate,e.processedDateGt,e.processedDateGte,e.processedDateLt,e.processedDateLte,e.effectiveDate,e.effectiveDateGt,e.effectiveDateGte,e.effectiveDateLt,e.effectiveDateLte,e.compositeTicker,e.compositeTickerAnyOf,e.compositeTickerGt,e.compositeTickerGte,e.compositeTickerLt,e.compositeTickerLte,e.limit,e.sort,s).then(o=>o(t,n))},getEtfGlobalV1Taxonomies(e={},s){return i.getEtfGlobalV1Taxonomies(e.processedDate,e.processedDateGt,e.processedDateGte,e.processedDateLt,e.processedDateLte,e.effectiveDate,e.effectiveDateGt,e.effectiveDateGte,e.effectiveDateLt,e.effectiveDateLte,e.compositeTicker,e.compositeTickerAnyOf,e.compositeTickerGt,e.compositeTickerGte,e.compositeTickerLt,e.compositeTickerLte,e.limit,e.sort,s).then(o=>o(t,n))},getEvents(e,s){return i.getEvents(e.id,e.types,s).then(o=>o(t,n))},getFedV1Inflation(e={},s){return i.getFedV1Inflation(e.date,e.dateAnyOf,e.dateGt,e.dateGte,e.dateLt,e.dateLte,e.limit,e.sort,s).then(o=>o(t,n))},getFedV1InflationExpectations(e={},s){return i.getFedV1InflationExpectations(e.date,e.dateAnyOf,e.dateGt,e.dateGte,e.dateLt,e.dateLte,e.limit,e.sort,s).then(o=>o(t,n))},getFedV1LaborMarket(e={},s){return i.getFedV1LaborMarket(e.date,e.dateAnyOf,e.dateGt,e.dateGte,e.dateLt,e.dateLte,e.limit,e.sort,s).then(o=>o(t,n))},getFedV1TreasuryYields(e={},s){return i.getFedV1TreasuryYields(e.date,e.dateAnyOf,e.dateGt,e.dateGte,e.dateLt,e.dateLte,e.limit,e.sort,s).then(o=>o(t,n))},getForexAggregates(e,s){return i.getForexAggregates(e.forexTicker,e.multiplier,e.timespan,e.from,e.to,e.adjusted,e.sort,e.limit,s).then(o=>o(t,n))},getForexEMA(e,s){return i.getForexEMA(e.fxTicker,e.timestamp,e.timespan,e.adjusted,e.window,e.seriesType,e.expandUnderlying,e.order,e.limit,e.timestampGte,e.timestampGt,e.timestampLte,e.timestampLt,s).then(o=>o(t,n))},getForexMACD(e,s){return i.getForexMACD(e.fxTicker,e.timestamp,e.timespan,e.adjusted,e.shortWindow,e.longWindow,e.signalWindow,e.seriesType,e.expandUnderlying,e.order,e.limit,e.timestampGte,e.timestampGt,e.timestampLte,e.timestampLt,s).then(o=>o(t,n))},getForexQuotes(e,s){return i.getForexQuotes(e.fxTicker,e.timestamp,e.timestampGte,e.timestampGt,e.timestampLte,e.timestampLt,e.order,e.limit,e.sort,s).then(o=>o(t,n))},getForexRSI(e,s){return i.getForexRSI(e.fxTicker,e.timestamp,e.timespan,e.adjusted,e.window,e.seriesType,e.expandUnderlying,e.order,e.limit,e.timestampGte,e.timestampGt,e.timestampLte,e.timestampLt,s).then(o=>o(t,n))},getForexSMA(e,s){return i.getForexSMA(e.fxTicker,e.timestamp,e.timespan,e.adjusted,e.window,e.seriesType,e.expandUnderlying,e.order,e.limit,e.timestampGte,e.timestampGt,e.timestampLte,e.timestampLt,s).then(o=>o(t,n))},getForexSnapshotDirection(e,s){return i.getForexSnapshotDirection(e.direction,s).then(o=>o(t,n))},getForexSnapshotTicker(e,s){return i.getForexSnapshotTicker(e.ticker,s).then(o=>o(t,n))},getForexSnapshotTickers(e={},s){return i.getForexSnapshotTickers(e.tickers,s).then(o=>o(t,n))},getForexV1Exchanges(e={},s){return i.getForexV1Exchanges(e.limit,s).then(o=>o(t,n))},getFuturesAggregates(e,s){return i.getFuturesAggregates(e.ticker,e.resolution,e.windowStart,e.limit,e.windowStartGte,e.windowStartGt,e.windowStartLte,e.windowStartLt,e.sort,s).then(o=>o(t,n))},getFuturesQuotes(e,s){return i.getFuturesQuotes(e.ticker,e.timestamp,e.sessionEndDate,e.limit,e.timestampGte,e.timestampGt,e.timestampLte,e.timestampLt,e.sessionEndDateGte,e.sessionEndDateGt,e.sessionEndDateLte,e.sessionEndDateLt,e.sort,s).then(o=>o(t,n))},getFuturesTrades(e,s){return i.getFuturesTrades(e.ticker,e.timestamp,e.sessionEndDate,e.limit,e.timestampGte,e.timestampGt,e.timestampLte,e.timestampLt,e.sessionEndDateGte,e.sessionEndDateGt,e.sessionEndDateLte,e.sessionEndDateLt,e.sort,s).then(o=>o(t,n))},getFuturesVXContracts(e={},s){return i.getFuturesVXContracts(e.date,e.dateGt,e.dateGte,e.dateLt,e.dateLte,e.productCode,e.productCodeAnyOf,e.productCodeGt,e.productCodeGte,e.productCodeLt,e.productCodeLte,e.ticker,e.tickerAnyOf,e.tickerGt,e.tickerGte,e.tickerLt,e.tickerLte,e.active,e.type,e.typeAnyOf,e.firstTradeDate,e.firstTradeDateGt,e.firstTradeDateGte,e.firstTradeDateLt,e.firstTradeDateLte,e.lastTradeDate,e.lastTradeDateGt,e.lastTradeDateGte,e.lastTradeDateLt,e.lastTradeDateLte,e.limit,e.sort,s).then(o=>o(t,n))},getFuturesVXExchanges(e={},s){return i.getFuturesVXExchanges(e.limit,s).then(o=>o(t,n))},getFuturesVXMarketStatus(e={},s){return i.getFuturesVXMarketStatus(e.productCode,e.productCodeAnyOf,e.productCodeGt,e.productCodeGte,e.productCodeLt,e.productCodeLte,e.limit,s).then(o=>o(t,n))},getFuturesVXProducts(e={},s){return i.getFuturesVXProducts(e.name,e.nameAnyOf,e.nameGt,e.nameGte,e.nameLt,e.nameLte,e.productCode,e.productCodeAnyOf,e.productCodeGt,e.productCodeGte,e.productCodeLt,e.productCodeLte,e.date,e.dateGt,e.dateGte,e.dateLt,e.dateLte,e.tradingVenue,e.tradingVenueAnyOf,e.tradingVenueGt,e.tradingVenueGte,e.tradingVenueLt,e.tradingVenueLte,e.sector,e.sectorAnyOf,e.subSector,e.subSectorAnyOf,e.assetClass,e.assetClassAnyOf,e.assetSubClass,e.assetSubClassAnyOf,e.type,e.typeAnyOf,e.limit,e.sort,s).then(o=>o(t,n))},getFuturesVXQuotesNew(e,s){return i.getFuturesVXQuotesNew(e.ticker,e.timestamp,e.timestampGt,e.timestampGte,e.timestampLt,e.timestampLte,e.sessionEndDate,e.limit,e.sort,s).then(o=>o(t,n))},getFuturesVXSchedules(e={},s){return i.getFuturesVXSchedules(e.productCode,e.productCodeAnyOf,e.productCodeGt,e.productCodeGte,e.productCodeLt,e.productCodeLte,e.sessionEndDate,e.sessionEndDateAnyOf,e.sessionEndDateGt,e.sessionEndDateGte,e.sessionEndDateLt,e.sessionEndDateLte,e.tradingVenue,e.tradingVenueAnyOf,e.tradingVenueGt,e.tradingVenueGte,e.tradingVenueLt,e.tradingVenueLte,e.limit,e.sort,s).then(o=>o(t,n))},getFuturesVXSnapshot(e={},s){return i.getFuturesVXSnapshot(e.productCode,e.productCodeAnyOf,e.productCodeGt,e.productCodeGte,e.productCodeLt,e.productCodeLte,e.ticker,e.tickerAnyOf,e.tickerGt,e.tickerGte,e.tickerLt,e.tickerLte,e.limit,e.sort,s).then(o=>o(t,n))},getFuturesVXSnapshotNative(e={},s){return i.getFuturesVXSnapshotNative(e.productCode,e.productCodeAnyOf,e.productCodeGt,e.productCodeGte,e.productCodeLt,e.productCodeLte,e.ticker,e.tickerAnyOf,e.tickerGt,e.tickerGte,e.tickerLt,e.tickerLte,e.limit,e.sort,s).then(o=>o(t,n))},getFuturesVXTradesNew(e,s){return i.getFuturesVXTradesNew(e.ticker,e.timestamp,e.timestampGt,e.timestampGte,e.timestampLt,e.timestampLte,e.sessionEndDate,e.limit,e.sort,s).then(o=>o(t,n))},getGroupedCryptoAggregates(e,s){return i.getGroupedCryptoAggregates(e.date,e.adjusted,s).then(o=>o(t,n))},getGroupedForexAggregates(e,s){return i.getGroupedForexAggregates(e.date,e.adjusted,s).then(o=>o(t,n))},getGroupedStocksAggregates(e,s){return i.getGroupedStocksAggregates(e.date,e.adjusted,e.includeOtc,s).then(o=>o(t,n))},getIndicesAggregates(e,s){return i.getIndicesAggregates(e.indicesTicker,e.multiplier,e.timespan,e.from,e.to,e.sort,e.limit,s).then(o=>o(t,n))},getIndicesEMA(e,s){return i.getIndicesEMA(e.indicesTicker,e.timestamp,e.timespan,e.adjusted,e.window,e.seriesType,e.expandUnderlying,e.order,e.limit,e.timestampGte,e.timestampGt,e.timestampLte,e.timestampLt,s).then(o=>o(t,n))},getIndicesMACD(e,s){return i.getIndicesMACD(e.indicesTicker,e.timestamp,e.timespan,e.adjusted,e.shortWindow,e.longWindow,e.signalWindow,e.seriesType,e.expandUnderlying,e.order,e.limit,e.timestampGte,e.timestampGt,e.timestampLte,e.timestampLt,s).then(o=>o(t,n))},getIndicesOpenClose(e,s){return i.getIndicesOpenClose(e.indicesTicker,e.date,s).then(o=>o(t,n))},getIndicesRSI(e,s){return i.getIndicesRSI(e.indicesTicker,e.timestamp,e.timespan,e.adjusted,e.window,e.seriesType,e.expandUnderlying,e.order,e.limit,e.timestampGte,e.timestampGt,e.timestampLte,e.timestampLt,s).then(o=>o(t,n))},getIndicesSMA(e,s){return i.getIndicesSMA(e.indicesTicker,e.timestamp,e.timespan,e.adjusted,e.window,e.seriesType,e.expandUnderlying,e.order,e.limit,e.timestampGte,e.timestampGt,e.timestampLte,e.timestampLt,s).then(o=>o(t,n))},getIndicesSnapshot(e={},s){return i.getIndicesSnapshot(e.tickerAnyOf,e.ticker,e.tickerGte,e.tickerGt,e.tickerLte,e.tickerLt,e.order,e.limit,e.sort,s).then(o=>o(t,n))},getLastCryptoTrade(e,s){return i.getLastCryptoTrade(e.from,e.to,s).then(o=>o(t,n))},getLastCurrencyQuote(e,s){return i.getLastCurrencyQuote(e.from,e.to,s).then(o=>o(t,n))},getLastOptionsTrade(e,s){return i.getLastOptionsTrade(e.optionsTicker,s).then(o=>o(t,n))},getLastStocksQuote(e,s){return i.getLastStocksQuote(e.stocksTicker,s).then(o=>o(t,n))},getLastStocksTrade(e,s){return i.getLastStocksTrade(e.stocksTicker,s).then(o=>o(t,n))},getMarketHolidays(e){return i.getMarketHolidays(e).then(s=>s(t,n))},getMarketStatus(e){return i.getMarketStatus(e).then(s=>s(t,n))},getOptionContract(e,s){return i.getOptionContract(e.underlyingAsset,e.optionContract,s).then(o=>o(t,n))},getOptionsAggregates(e,s){return i.getOptionsAggregates(e.optionsTicker,e.multiplier,e.timespan,e.from,e.to,e.adjusted,e.sort,e.limit,s).then(o=>o(t,n))},getOptionsChain(e,s){return i.getOptionsChain(e.underlyingAsset,e.strikePrice,e.expirationDate,e.contractType,e.strikePriceGte,e.strikePriceGt,e.strikePriceLte,e.strikePriceLt,e.expirationDateGte,e.expirationDateGt,e.expirationDateLte,e.expirationDateLt,e.order,e.limit,e.sort,s).then(o=>o(t,n))},getOptionsContract(e,s){return i.getOptionsContract(e.optionsTicker,e.asOf,s).then(o=>o(t,n))},getOptionsEMA(e,s){return i.getOptionsEMA(e.optionsTicker,e.timestamp,e.timespan,e.adjusted,e.window,e.seriesType,e.expandUnderlying,e.order,e.limit,e.timestampGte,e.timestampGt,e.timestampLte,e.timestampLt,s).then(o=>o(t,n))},getOptionsMACD(e,s){return i.getOptionsMACD(e.optionsTicker,e.timestamp,e.timespan,e.adjusted,e.shortWindow,e.longWindow,e.signalWindow,e.seriesType,e.expandUnderlying,e.order,e.limit,e.timestampGte,e.timestampGt,e.timestampLte,e.timestampLt,s).then(o=>o(t,n))},getOptionsOpenClose(e,s){return i.getOptionsOpenClose(e.optionsTicker,e.date,e.adjusted,s).then(o=>o(t,n))},getOptionsQuotes(e,s){return i.getOptionsQuotes(e.optionsTicker,e.timestamp,e.timestampGte,e.timestampGt,e.timestampLte,e.timestampLt,e.order,e.limit,e.sort,s).then(o=>o(t,n))},getOptionsRSI(e,s){return i.getOptionsRSI(e.optionsTicker,e.timestamp,e.timespan,e.adjusted,e.window,e.seriesType,e.expandUnderlying,e.order,e.limit,e.timestampGte,e.timestampGt,e.timestampLte,e.timestampLt,s).then(o=>o(t,n))},getOptionsSMA(e,s){return i.getOptionsSMA(e.optionsTicker,e.timestamp,e.timespan,e.adjusted,e.window,e.seriesType,e.expandUnderlying,e.order,e.limit,e.timestampGte,e.timestampGt,e.timestampLte,e.timestampLt,s).then(o=>o(t,n))},getOptionsTrades(e,s){return i.getOptionsTrades(e.optionsTicker,e.timestamp,e.timestampGte,e.timestampGt,e.timestampLte,e.timestampLt,e.order,e.limit,e.sort,s).then(o=>o(t,n))},getOptionsV1Exchanges(e={},s){return i.getOptionsV1Exchanges(e.limit,s).then(o=>o(t,n))},getPreviousCryptoAggregates(e,s){return i.getPreviousCryptoAggregates(e.cryptoTicker,e.adjusted,s).then(o=>o(t,n))},getPreviousForexAggregates(e,s){return i.getPreviousForexAggregates(e.forexTicker,e.adjusted,s).then(o=>o(t,n))},getPreviousIndicesAggregates(e,s){return i.getPreviousIndicesAggregates(e.indicesTicker,s).then(o=>o(t,n))},getPreviousOptionsAggregates(e,s){return i.getPreviousOptionsAggregates(e.optionsTicker,e.adjusted,s).then(o=>o(t,n))},getPreviousStocksAggregates(e,s){return i.getPreviousStocksAggregates(e.stocksTicker,e.adjusted,s).then(o=>o(t,n))},getRelatedCompanies(e,s){return i.getRelatedCompanies(e.ticker,s).then(o=>o(t,n))},getSnapshotSummary(e={},s){return i.getSnapshotSummary(e.tickerAnyOf,s).then(o=>o(t,n))},getSnapshots(e={},s){return i.getSnapshots(e.ticker,e.type,e.tickerGte,e.tickerGt,e.tickerLte,e.tickerLt,e.tickerAnyOf,e.order,e.limit,e.sort,s).then(o=>o(t,n))},getStocksAggregates(e,s){return i.getStocksAggregates(e.stocksTicker,e.multiplier,e.timespan,e.from,e.to,e.adjusted,e.sort,e.limit,s).then(o=>o(t,n))},getStocksEMA(e,s){return i.getStocksEMA(e.stockTicker,e.timestamp,e.timespan,e.adjusted,e.window,e.seriesType,e.expandUnderlying,e.order,e.limit,e.timestampGte,e.timestampGt,e.timestampLte,e.timestampLt,s).then(o=>o(t,n))},getStocksFilings10KVXSections(e={},s){return i.getStocksFilings10KVXSections(e.cik,e.cikAnyOf,e.cikGt,e.cikGte,e.cikLt,e.cikLte,e.ticker,e.tickerAnyOf,e.tickerGt,e.tickerGte,e.tickerLt,e.tickerLte,e.section,e.sectionAnyOf,e.filingDate,e.filingDateGt,e.filingDateGte,e.filingDateLt,e.filingDateLte,e.periodEnd,e.periodEndGt,e.periodEndGte,e.periodEndLt,e.periodEndLte,e.limit,e.sort,s).then(o=>o(t,n))},getStocksFilings8KVXText(e={},s){return i.getStocksFilings8KVXText(e.cik,e.cikAnyOf,e.cikGt,e.cikGte,e.cikLt,e.cikLte,e.ticker,e.tickerAnyOf,e.tickerGt,e.tickerGte,e.tickerLt,e.tickerLte,e.formType,e.formTypeAnyOf,e.formTypeGt,e.formTypeGte,e.formTypeLt,e.formTypeLte,e.filingDate,e.filingDateGt,e.filingDateGte,e.filingDateLt,e.filingDateLte,e.limit,e.sort,s).then(o=>o(t,n))},getStocksFilingsVXIndex(e={},s){return i.getStocksFilingsVXIndex(e.cik,e.cikAnyOf,e.cikGt,e.cikGte,e.cikLt,e.cikLte,e.ticker,e.tickerAnyOf,e.tickerGt,e.tickerGte,e.tickerLt,e.tickerLte,e.formType,e.formTypeAnyOf,e.formTypeGt,e.formTypeGte,e.formTypeLt,e.formTypeLte,e.filingDate,e.filingDateGt,e.filingDateGte,e.filingDateLt,e.filingDateLte,e.limit,e.sort,s).then(o=>o(t,n))},getStocksFilingsVXRiskFactors(e={},s){return i.getStocksFilingsVXRiskFactors(e.filingDate,e.filingDateAnyOf,e.filingDateGt,e.filingDateGte,e.filingDateLt,e.filingDateLte,e.ticker,e.tickerAnyOf,e.tickerGt,e.tickerGte,e.tickerLt,e.tickerLte,e.cik,e.cikAnyOf,e.cikGt,e.cikGte,e.cikLt,e.cikLte,e.limit,e.sort,s).then(o=>o(t,n))},getStocksFinancialsV1BalanceSheets(e={},s){return i.getStocksFinancialsV1BalanceSheets(e.cik,e.cikAnyOf,e.cikGt,e.cikGte,e.cikLt,e.cikLte,e.tickers,e.tickersAllOf,e.tickersAnyOf,e.periodEnd,e.periodEndGt,e.periodEndGte,e.periodEndLt,e.periodEndLte,e.filingDate,e.filingDateGt,e.filingDateGte,e.filingDateLt,e.filingDateLte,e.fiscalYear,e.fiscalYearGt,e.fiscalYearGte,e.fiscalYearLt,e.fiscalYearLte,e.fiscalQuarter,e.fiscalQuarterGt,e.fiscalQuarterGte,e.fiscalQuarterLt,e.fiscalQuarterLte,e.timeframe,e.timeframeAnyOf,e.timeframeGt,e.timeframeGte,e.timeframeLt,e.timeframeLte,e.maxTicker,e.maxTickerAnyOf,e.maxTickerGt,e.maxTickerGte,e.maxTickerLt,e.maxTickerLte,e.minTicker,e.minTickerAnyOf,e.minTickerGt,e.minTickerGte,e.minTickerLt,e.minTickerLte,e.limit,e.sort,s).then(o=>o(t,n))},getStocksFinancialsV1CashFlowStatements(e={},s){return i.getStocksFinancialsV1CashFlowStatements(e.cik,e.cikAnyOf,e.cikGt,e.cikGte,e.cikLt,e.cikLte,e.periodEnd,e.periodEndGt,e.periodEndGte,e.periodEndLt,e.periodEndLte,e.filingDate,e.filingDateGt,e.filingDateGte,e.filingDateLt,e.filingDateLte,e.tickers,e.tickersAllOf,e.tickersAnyOf,e.fiscalYear,e.fiscalYearGt,e.fiscalYearGte,e.fiscalYearLt,e.fiscalYearLte,e.fiscalQuarter,e.fiscalQuarterGt,e.fiscalQuarterGte,e.fiscalQuarterLt,e.fiscalQuarterLte,e.timeframe,e.timeframeAnyOf,e.timeframeGt,e.timeframeGte,e.timeframeLt,e.timeframeLte,e.maxTicker,e.maxTickerAnyOf,e.maxTickerGt,e.maxTickerGte,e.maxTickerLt,e.maxTickerLte,e.minTicker,e.minTickerAnyOf,e.minTickerGt,e.minTickerGte,e.minTickerLt,e.minTickerLte,e.limit,e.sort,s).then(o=>o(t,n))},getStocksFinancialsV1IncomeStatements(e={},s){return i.getStocksFinancialsV1IncomeStatements(e.cik,e.cikAnyOf,e.cikGt,e.cikGte,e.cikLt,e.cikLte,e.tickers,e.tickersAllOf,e.tickersAnyOf,e.periodEnd,e.periodEndGt,e.periodEndGte,e.periodEndLt,e.periodEndLte,e.filingDate,e.filingDateGt,e.filingDateGte,e.filingDateLt,e.filingDateLte,e.fiscalYear,e.fiscalYearGt,e.fiscalYearGte,e.fiscalYearLt,e.fiscalYearLte,e.fiscalQuarter,e.fiscalQuarterGt,e.fiscalQuarterGte,e.fiscalQuarterLt,e.fiscalQuarterLte,e.timeframe,e.timeframeAnyOf,e.timeframeGt,e.timeframeGte,e.timeframeLt,e.timeframeLte,e.maxTicker,e.maxTickerAnyOf,e.maxTickerGt,e.maxTickerGte,e.maxTickerLt,e.maxTickerLte,e.minTicker,e.minTickerAnyOf,e.minTickerGt,e.minTickerGte,e.minTickerLt,e.minTickerLte,e.limit,e.sort,s).then(o=>o(t,n))},getStocksFinancialsV1Ratios(e={},s){return i.getStocksFinancialsV1Ratios(e.ticker,e.tickerAnyOf,e.tickerGt,e.tickerGte,e.tickerLt,e.tickerLte,e.cik,e.cikAnyOf,e.cikGt,e.cikGte,e.cikLt,e.cikLte,e.price,e.priceGt,e.priceGte,e.priceLt,e.priceLte,e.averageVolume,e.averageVolumeGt,e.averageVolumeGte,e.averageVolumeLt,e.averageVolumeLte,e.marketCap,e.marketCapGt,e.marketCapGte,e.marketCapLt,e.marketCapLte,e.earningsPerShare,e.earningsPerShareGt,e.earningsPerShareGte,e.earningsPerShareLt,e.earningsPerShareLte,e.priceToEarnings,e.priceToEarningsGt,e.priceToEarningsGte,e.priceToEarningsLt,e.priceToEarningsLte,e.priceToBook,e.priceToBookGt,e.priceToBookGte,e.priceToBookLt,e.priceToBookLte,e.priceToSales,e.priceToSalesGt,e.priceToSalesGte,e.priceToSalesLt,e.priceToSalesLte,e.priceToCashFlow,e.priceToCashFlowGt,e.priceToCashFlowGte,e.priceToCashFlowLt,e.priceToCashFlowLte,e.priceToFreeCashFlow,e.priceToFreeCashFlowGt,e.priceToFreeCashFlowGte,e.priceToFreeCashFlowLt,e.priceToFreeCashFlowLte,e.dividendYield,e.dividendYieldGt,e.dividendYieldGte,e.dividendYieldLt,e.dividendYieldLte,e.returnOnAssets,e.returnOnAssetsGt,e.returnOnAssetsGte,e.returnOnAssetsLt,e.returnOnAssetsLte,e.returnOnEquity,e.returnOnEquityGt,e.returnOnEquityGte,e.returnOnEquityLt,e.returnOnEquityLte,e.debtToEquity,e.debtToEquityGt,e.debtToEquityGte,e.debtToEquityLt,e.debtToEquityLte,e.current,e.currentGt,e.currentGte,e.currentLt,e.currentLte,e.quick,e.quickGt,e.quickGte,e.quickLt,e.quickLte,e.cash,e.cashGt,e.cashGte,e.cashLt,e.cashLte,e.evToSales,e.evToSalesGt,e.evToSalesGte,e.evToSalesLt,e.evToSalesLte,e.evToEbitda,e.evToEbitdaGt,e.evToEbitdaGte,e.evToEbitdaLt,e.evToEbitdaLte,e.enterpriseValue,e.enterpriseValueGt,e.enterpriseValueGte,e.enterpriseValueLt,e.enterpriseValueLte,e.freeCashFlow,e.freeCashFlowGt,e.freeCashFlowGte,e.freeCashFlowLt,e.freeCashFlowLte,e.limit,e.sort,s).then(o=>o(t,n))},getStocksMACD(e,s){return i.getStocksMACD(e.stockTicker,e.timestamp,e.timespan,e.adjusted,e.shortWindow,e.longWindow,e.signalWindow,e.seriesType,e.expandUnderlying,e.order,e.limit,e.timestampGte,e.timestampGt,e.timestampLte,e.timestampLt,s).then(o=>o(t,n))},getStocksOpenClose(e,s){return i.getStocksOpenClose(e.stocksTicker,e.date,e.adjusted,s).then(o=>o(t,n))},getStocksQuotes(e,s){return i.getStocksQuotes(e.stockTicker,e.timestamp,e.timestampGte,e.timestampGt,e.timestampLte,e.timestampLt,e.order,e.limit,e.sort,s).then(o=>o(t,n))},getStocksRSI(e,s){return i.getStocksRSI(e.stockTicker,e.timestamp,e.timespan,e.adjusted,e.window,e.seriesType,e.expandUnderlying,e.order,e.limit,e.timestampGte,e.timestampGt,e.timestampLte,e.timestampLt,s).then(o=>o(t,n))},getStocksSMA(e,s){return i.getStocksSMA(e.stockTicker,e.timestamp,e.timespan,e.adjusted,e.window,e.seriesType,e.expandUnderlying,e.order,e.limit,e.timestampGte,e.timestampGt,e.timestampLte,e.timestampLt,s).then(o=>o(t,n))},getStocksSnapshotDirection(e,s){return i.getStocksSnapshotDirection(e.direction,e.includeOtc,s).then(o=>o(t,n))},getStocksSnapshotTicker(e,s){return i.getStocksSnapshotTicker(e.stocksTicker,s).then(o=>o(t,n))},getStocksSnapshotTickers(e={},s){return i.getStocksSnapshotTickers(e.tickers,e.includeOtc,s).then(o=>o(t,n))},getStocksTaxonomiesVXRiskFactors(e={},s){return i.getStocksTaxonomiesVXRiskFactors(e.taxonomy,e.taxonomyGt,e.taxonomyGte,e.taxonomyLt,e.taxonomyLte,e.primaryCategory,e.primaryCategoryAnyOf,e.primaryCategoryGt,e.primaryCategoryGte,e.primaryCategoryLt,e.primaryCategoryLte,e.secondaryCategory,e.secondaryCategoryAnyOf,e.secondaryCategoryGt,e.secondaryCategoryGte,e.secondaryCategoryLt,e.secondaryCategoryLte,e.tertiaryCategory,e.tertiaryCategoryAnyOf,e.tertiaryCategoryGt,e.tertiaryCategoryGte,e.tertiaryCategoryLt,e.tertiaryCategoryLte,e.limit,e.sort,s).then(o=>o(t,n))},getStocksTrades(e,s){return i.getStocksTrades(e.stockTicker,e.timestamp,e.timestampGte,e.timestampGt,e.timestampLte,e.timestampLt,e.order,e.limit,e.sort,s).then(o=>o(t,n))},getStocksV1Dividends(e={},s){return i.getStocksV1Dividends(e.ticker,e.tickerAnyOf,e.tickerGt,e.tickerGte,e.tickerLt,e.tickerLte,e.exDividendDate,e.exDividendDateGt,e.exDividendDateGte,e.exDividendDateLt,e.exDividendDateLte,e.frequency,e.frequencyGt,e.frequencyGte,e.frequencyLt,e.frequencyLte,e.distributionType,e.distributionTypeAnyOf,e.limit,e.sort,s).then(o=>o(t,n))},getStocksV1Exchanges(e={},s){return i.getStocksV1Exchanges(e.limit,s).then(o=>o(t,n))},getStocksV1ShortInterest(e={},s){return i.getStocksV1ShortInterest(e.ticker,e.tickerAnyOf,e.tickerGt,e.tickerGte,e.tickerLt,e.tickerLte,e.daysToCover,e.daysToCoverAnyOf,e.daysToCoverGt,e.daysToCoverGte,e.daysToCoverLt,e.daysToCoverLte,e.settlementDate,e.settlementDateAnyOf,e.settlementDateGt,e.settlementDateGte,e.settlementDateLt,e.settlementDateLte,e.avgDailyVolume,e.avgDailyVolumeAnyOf,e.avgDailyVolumeGt,e.avgDailyVolumeGte,e.avgDailyVolumeLt,e.avgDailyVolumeLte,e.limit,e.sort,s).then(o=>o(t,n))},getStocksV1ShortVolume(e={},s){return i.getStocksV1ShortVolume(e.ticker,e.tickerAnyOf,e.tickerGt,e.tickerGte,e.tickerLt,e.tickerLte,e.date,e.dateAnyOf,e.dateGt,e.dateGte,e.dateLt,e.dateLte,e.shortVolumeRatio,e.shortVolumeRatioAnyOf,e.shortVolumeRatioGt,e.shortVolumeRatioGte,e.shortVolumeRatioLt,e.shortVolumeRatioLte,e.limit,e.sort,s).then(o=>o(t,n))},getStocksV1Splits(e={},s){return i.getStocksV1Splits(e.ticker,e.tickerAnyOf,e.tickerGt,e.tickerGte,e.tickerLt,e.tickerLte,e.executionDate,e.executionDateGt,e.executionDateGte,e.executionDateLt,e.executionDateLte,e.adjustmentType,e.adjustmentTypeAnyOf,e.limit,e.sort,s).then(o=>o(t,n))},getStocksVXFloat(e={},s){return i.getStocksVXFloat(e.ticker,e.tickerAnyOf,e.tickerGt,e.tickerGte,e.tickerLt,e.tickerLte,e.freeFloatPercent,e.freeFloatPercentGt,e.freeFloatPercentGte,e.freeFloatPercentLt,e.freeFloatPercentLte,e.limit,e.sort,s).then(o=>o(t,n))},getTicker(e,s){return i.getTicker(e.ticker,e.date,s).then(o=>o(t,n))},getTmxV1CorporateEvents(e={},s){return i.getTmxV1CorporateEvents(e.date,e.dateAnyOf,e.dateGt,e.dateGte,e.dateLt,e.dateLte,e.type,e.typeAnyOf,e.typeGt,e.typeGte,e.typeLt,e.typeLte,e.status,e.statusAnyOf,e.statusGt,e.statusGte,e.statusLt,e.statusLte,e.ticker,e.tickerAnyOf,e.tickerGt,e.tickerGte,e.tickerLt,e.tickerLte,e.isin,e.isinAnyOf,e.isinGt,e.isinGte,e.isinLt,e.isinLte,e.tradingVenue,e.tradingVenueAnyOf,e.tradingVenueGt,e.tradingVenueGte,e.tradingVenueLt,e.tradingVenueLte,e.tmxCompanyId,e.tmxCompanyIdGt,e.tmxCompanyIdGte,e.tmxCompanyIdLt,e.tmxCompanyIdLte,e.tmxRecordId,e.tmxRecordIdAnyOf,e.tmxRecordIdGt,e.tmxRecordIdGte,e.tmxRecordIdLt,e.tmxRecordIdLte,e.limit,e.sort,s).then(o=>o(t,n))},getV1ReferenceIpos(e={},s){return i.getV1ReferenceIpos(e.ticker,e.tickerAnyOf,e.tickerGt,e.tickerGte,e.tickerLt,e.tickerLte,e.usCode,e.usCodeAnyOf,e.usCodeGt,e.usCodeGte,e.usCodeLt,e.usCodeLte,e.isin,e.isinAnyOf,e.isinGt,e.isinGte,e.isinLt,e.isinLte,e.listingDate,e.listingDateGt,e.listingDateGte,e.listingDateLt,e.listingDateLte,e.ipoStatus,e.ipoStatusAnyOf,e.limit,e.sort,s).then(o=>o(t,n))},listConditions(e={},s){return i.listConditions(e.assetClass,e.dataType,e.id,e.sip,e.order,e.limit,e.sort,s).then(o=>o(t,n))},listDividends(e={},s){return i.listDividends(e.ticker,e.exDividendDate,e.recordDate,e.declarationDate,e.payDate,e.frequency,e.cashAmount,e.dividendType,e.tickerGte,e.tickerGt,e.tickerLte,e.tickerLt,e.exDividendDateGte,e.exDividendDateGt,e.exDividendDateLte,e.exDividendDateLt,e.recordDateGte,e.recordDateGt,e.recordDateLte,e.recordDateLt,e.declarationDateGte,e.declarationDateGt,e.declarationDateLte,e.declarationDateLt,e.payDateGte,e.payDateGt,e.payDateLte,e.payDateLt,e.cashAmountGte,e.cashAmountGt,e.cashAmountLte,e.cashAmountLt,e.order,e.limit,e.sort,s).then(o=>o(t,n))},listExchanges(e={},s){return i.listExchanges(e.assetClass,e.locale,s).then(o=>o(t,n))},listFinancials(e={},s){return i.listFinancials(e.ticker,e.cik,e.companyName,e.sic,e.filingDate,e.periodOfReportDate,e.timeframe,e.includeSources,e.companyNameSearch,e.filingDateGte,e.filingDateGt,e.filingDateLte,e.filingDateLt,e.periodOfReportDateGte,e.periodOfReportDateGt,e.periodOfReportDateLte,e.periodOfReportDateLt,e.order,e.limit,e.sort,s).then(o=>o(t,n))},listIPOs(e={},s){return i.listIPOs(e.ticker,e.usCode,e.isin,e.listingDate,e.ipoStatus,e.listingDateGte,e.listingDateGt,e.listingDateLte,e.listingDateLt,e.order,e.limit,e.sort,s).then(o=>o(t,n))},listNews(e={},s){return i.listNews(e.ticker,e.publishedUtc,e.tickerGte,e.tickerGt,e.tickerLte,e.tickerLt,e.publishedUtcGte,e.publishedUtcGt,e.publishedUtcLte,e.publishedUtcLt,e.order,e.limit,e.sort,s).then(o=>o(t,n))},listOptionsContracts(e={},s){return i.listOptionsContracts(e.underlyingTicker,e.ticker,e.contractType,e.expirationDate,e.asOf,e.strikePrice,e.expired,e.underlyingTickerGte,e.underlyingTickerGt,e.underlyingTickerLte,e.underlyingTickerLt,e.expirationDateGte,e.expirationDateGt,e.expirationDateLte,e.expirationDateLt,e.strikePriceGte,e.strikePriceGt,e.strikePriceLte,e.strikePriceLt,e.order,e.limit,e.sort,s).then(o=>o(t,n))},listStockSplits(e={},s){return i.listStockSplits(e.ticker,e.executionDate,e.reverseSplit,e.tickerGte,e.tickerGt,e.tickerLte,e.tickerLt,e.executionDateGte,e.executionDateGt,e.executionDateLte,e.executionDateLt,e.order,e.limit,e.sort,s).then(o=>o(t,n))},listTickerTypes(e={},s){return i.listTickerTypes(e.assetClass,e.locale,s).then(o=>o(t,n))},listTickers(e={},s){return i.listTickers(e.ticker,e.type,e.market,e.exchange,e.cusip,e.cik,e.date,e.search,e.active,e.tickerGte,e.tickerGt,e.tickerLte,e.tickerLt,e.order,e.limit,e.sort,s).then(o=>o(t,n))}}},Oe=class extends Ge{deprecatedGetCryptoSnapshotTickerBook(n,t){return E(this.configuration).deprecatedGetCryptoSnapshotTickerBook(n.ticker,t).then(i=>i(this.axios,this.basePath))}deprecatedGetHistoricCryptoTrades(n,t){return E(this.configuration).deprecatedGetHistoricCryptoTrades(n.from,n.to,n.date,n.offset,n.limit,t).then(i=>i(this.axios,this.basePath))}deprecatedGetHistoricForexQuotes(n,t){return E(this.configuration).deprecatedGetHistoricForexQuotes(n.from,n.to,n.date,n.offset,n.limit,t).then(i=>i(this.axios,this.basePath))}deprecatedGetHistoricStocksQuotes(n,t){return E(this.configuration).deprecatedGetHistoricStocksQuotes(n.ticker,n.date,n.timestamp,n.timestampLimit,n.reverse,n.limit,t).then(i=>i(this.axios,this.basePath))}deprecatedGetHistoricStocksTrades(n,t){return E(this.configuration).deprecatedGetHistoricStocksTrades(n.ticker,n.date,n.timestamp,n.timestampLimit,n.reverse,n.limit,t).then(i=>i(this.axios,this.basePath))}getBenzingaV1AnalystInsights(n={},t){return E(this.configuration).getBenzingaV1AnalystInsights(n.date,n.dateAnyOf,n.dateGt,n.dateGte,n.dateLt,n.dateLte,n.ticker,n.tickerAnyOf,n.tickerGt,n.tickerGte,n.tickerLt,n.tickerLte,n.lastUpdated,n.lastUpdatedGt,n.lastUpdatedGte,n.lastUpdatedLt,n.lastUpdatedLte,n.firm,n.firmAnyOf,n.firmGt,n.firmGte,n.firmLt,n.firmLte,n.ratingAction,n.ratingActionAnyOf,n.ratingActionGt,n.ratingActionGte,n.ratingActionLt,n.ratingActionLte,n.benzingaFirmId,n.benzingaFirmIdAnyOf,n.benzingaFirmIdGt,n.benzingaFirmIdGte,n.benzingaFirmIdLt,n.benzingaFirmIdLte,n.benzingaRatingId,n.benzingaRatingIdAnyOf,n.benzingaRatingIdGt,n.benzingaRatingIdGte,n.benzingaRatingIdLt,n.benzingaRatingIdLte,n.limit,n.sort,t).then(i=>i(this.axios,this.basePath))}getBenzingaV1Analysts(n={},t){return E(this.configuration).getBenzingaV1Analysts(n.benzingaId,n.benzingaIdAnyOf,n.benzingaIdGt,n.benzingaIdGte,n.benzingaIdLt,n.benzingaIdLte,n.benzingaFirmId,n.benzingaFirmIdAnyOf,n.benzingaFirmIdGt,n.benzingaFirmIdGte,n.benzingaFirmIdLt,n.benzingaFirmIdLte,n.firmName,n.firmNameAnyOf,n.firmNameGt,n.firmNameGte,n.firmNameLt,n.firmNameLte,n.fullName,n.fullNameAnyOf,n.fullNameGt,n.fullNameGte,n.fullNameLt,n.fullNameLte,n.limit,n.sort,t).then(i=>i(this.axios,this.basePath))}getBenzingaV1BullsBearsSay(n={},t){return E(this.configuration).getBenzingaV1BullsBearsSay(n.ticker,n.tickerAnyOf,n.tickerGt,n.tickerGte,n.tickerLt,n.tickerLte,n.benzingaId,n.benzingaIdAnyOf,n.benzingaIdGt,n.benzingaIdGte,n.benzingaIdLt,n.benzingaIdLte,n.lastUpdated,n.lastUpdatedGt,n.lastUpdatedGte,n.lastUpdatedLt,n.lastUpdatedLte,n.limit,n.sort,t).then(i=>i(this.axios,this.basePath))}getBenzingaV1ConsensusRatings(n,t){return E(this.configuration).getBenzingaV1ConsensusRatings(n.ticker,n.date,n.dateAnyOf,n.dateGt,n.dateGte,n.dateLt,n.dateLte,n.limit,t).then(i=>i(this.axios,this.basePath))}getBenzingaV1Earnings(n={},t){return E(this.configuration).getBenzingaV1Earnings(n.date,n.dateAnyOf,n.dateGt,n.dateGte,n.dateLt,n.dateLte,n.ticker,n.tickerAnyOf,n.tickerGt,n.tickerGte,n.tickerLt,n.tickerLte,n.importance,n.importanceAnyOf,n.importanceGt,n.importanceGte,n.importanceLt,n.importanceLte,n.lastUpdated,n.lastUpdatedAnyOf,n.lastUpdatedGt,n.lastUpdatedGte,n.lastUpdatedLt,n.lastUpdatedLte,n.dateStatus,n.dateStatusAnyOf,n.dateStatusGt,n.dateStatusGte,n.dateStatusLt,n.dateStatusLte,n.epsSurprisePercent,n.epsSurprisePercentAnyOf,n.epsSurprisePercentGt,n.epsSurprisePercentGte,n.epsSurprisePercentLt,n.epsSurprisePercentLte,n.revenueSurprisePercent,n.revenueSurprisePercentAnyOf,n.revenueSurprisePercentGt,n.revenueSurprisePercentGte,n.revenueSurprisePercentLt,n.revenueSurprisePercentLte,n.fiscalYear,n.fiscalYearAnyOf,n.fiscalYearGt,n.fiscalYearGte,n.fiscalYearLt,n.fiscalYearLte,n.fiscalPeriod,n.fiscalPeriodAnyOf,n.fiscalPeriodGt,n.fiscalPeriodGte,n.fiscalPeriodLt,n.fiscalPeriodLte,n.limit,n.sort,t).then(i=>i(this.axios,this.basePath))}getBenzingaV1Firms(n={},t){return E(this.configuration).getBenzingaV1Firms(n.benzingaId,n.benzingaIdAnyOf,n.benzingaIdGt,n.benzingaIdGte,n.benzingaIdLt,n.benzingaIdLte,n.limit,n.sort,t).then(i=>i(this.axios,this.basePath))}getBenzingaV1Guidance(n={},t){return E(this.configuration).getBenzingaV1Guidance(n.date,n.dateAnyOf,n.dateGt,n.dateGte,n.dateLt,n.dateLte,n.ticker,n.tickerAnyOf,n.tickerGt,n.tickerGte,n.tickerLt,n.tickerLte,n.positioning,n.positioningAnyOf,n.positioningGt,n.positioningGte,n.positioningLt,n.positioningLte,n.importance,n.importanceAnyOf,n.importanceGt,n.importanceGte,n.importanceLt,n.importanceLte,n.lastUpdated,n.lastUpdatedAnyOf,n.lastUpdatedGt,n.lastUpdatedGte,n.lastUpdatedLt,n.lastUpdatedLte,n.fiscalYear,n.fiscalYearAnyOf,n.fiscalYearGt,n.fiscalYearGte,n.fiscalYearLt,n.fiscalYearLte,n.fiscalPeriod,n.fiscalPeriodAnyOf,n.fiscalPeriodGt,n.fiscalPeriodGte,n.fiscalPeriodLt,n.fiscalPeriodLte,n.limit,n.sort,t).then(i=>i(this.axios,this.basePath))}getBenzingaV1Ratings(n={},t){return E(this.configuration).getBenzingaV1Ratings(n.date,n.dateAnyOf,n.dateGt,n.dateGte,n.dateLt,n.dateLte,n.ticker,n.tickerAnyOf,n.tickerGt,n.tickerGte,n.tickerLt,n.tickerLte,n.importance,n.importanceGt,n.importanceGte,n.importanceLt,n.importanceLte,n.lastUpdated,n.lastUpdatedGt,n.lastUpdatedGte,n.lastUpdatedLt,n.lastUpdatedLte,n.ratingAction,n.ratingActionAnyOf,n.ratingActionGt,n.ratingActionGte,n.ratingActionLt,n.ratingActionLte,n.priceTargetAction,n.priceTargetActionAnyOf,n.priceTargetActionGt,n.priceTargetActionGte,n.priceTargetActionLt,n.priceTargetActionLte,n.benzingaId,n.benzingaIdAnyOf,n.benzingaIdGt,n.benzingaIdGte,n.benzingaIdLt,n.benzingaIdLte,n.benzingaAnalystId,n.benzingaAnalystIdAnyOf,n.benzingaAnalystIdGt,n.benzingaAnalystIdGte,n.benzingaAnalystIdLt,n.benzingaAnalystIdLte,n.benzingaFirmId,n.benzingaFirmIdAnyOf,n.benzingaFirmIdGt,n.benzingaFirmIdGte,n.benzingaFirmIdLt,n.benzingaFirmIdLte,n.limit,n.sort,t).then(i=>i(this.axios,this.basePath))}getBenzingaV2News(n={},t){return E(this.configuration).getBenzingaV2News(n.published,n.publishedGt,n.publishedGte,n.publishedLt,n.publishedLte,n.channels,n.channelsAllOf,n.channelsAnyOf,n.tags,n.tagsAllOf,n.tagsAnyOf,n.author,n.authorAnyOf,n.authorGt,n.authorGte,n.authorLt,n.authorLte,n.stocks,n.stocksAllOf,n.stocksAnyOf,n.tickers,n.tickersAllOf,n.tickersAnyOf,n.limit,n.sort,t).then(i=>i(this.axios,this.basePath))}getCryptoAggregates(n,t){return E(this.configuration).getCryptoAggregates(n.cryptoTicker,n.multiplier,n.timespan,n.from,n.to,n.adjusted,n.sort,n.limit,t).then(i=>i(this.axios,this.basePath))}getCryptoEMA(n,t){return E(this.configuration).getCryptoEMA(n.cryptoTicker,n.timestamp,n.timespan,n.window,n.seriesType,n.expandUnderlying,n.order,n.limit,n.timestampGte,n.timestampGt,n.timestampLte,n.timestampLt,t).then(i=>i(this.axios,this.basePath))}getCryptoMACD(n,t){return E(this.configuration).getCryptoMACD(n.cryptoTicker,n.timestamp,n.timespan,n.shortWindow,n.longWindow,n.signalWindow,n.seriesType,n.expandUnderlying,n.order,n.limit,n.timestampGte,n.timestampGt,n.timestampLte,n.timestampLt,t).then(i=>i(this.axios,this.basePath))}getCryptoOpenClose(n,t){return E(this.configuration).getCryptoOpenClose(n.from,n.to,n.date,n.adjusted,t).then(i=>i(this.axios,this.basePath))}getCryptoRSI(n,t){return E(this.configuration).getCryptoRSI(n.cryptoTicker,n.timestamp,n.timespan,n.window,n.seriesType,n.expandUnderlying,n.order,n.limit,n.timestampGte,n.timestampGt,n.timestampLte,n.timestampLt,t).then(i=>i(this.axios,this.basePath))}getCryptoSMA(n,t){return E(this.configuration).getCryptoSMA(n.cryptoTicker,n.timestamp,n.timespan,n.window,n.seriesType,n.expandUnderlying,n.order,n.limit,n.timestampGte,n.timestampGt,n.timestampLte,n.timestampLt,t).then(i=>i(this.axios,this.basePath))}getCryptoSnapshotDirection(n,t){return E(this.configuration).getCryptoSnapshotDirection(n.direction,t).then(i=>i(this.axios,this.basePath))}getCryptoSnapshotTicker(n,t){return E(this.configuration).getCryptoSnapshotTicker(n.ticker,t).then(i=>i(this.axios,this.basePath))}getCryptoSnapshotTickers(n={},t){return E(this.configuration).getCryptoSnapshotTickers(n.tickers,t).then(i=>i(this.axios,this.basePath))}getCryptoTrades(n,t){return E(this.configuration).getCryptoTrades(n.cryptoTicker,n.timestamp,n.timestampGte,n.timestampGt,n.timestampLte,n.timestampLt,n.order,n.limit,n.sort,t).then(i=>i(this.axios,this.basePath))}getCryptoV1Exchanges(n={},t){return E(this.configuration).getCryptoV1Exchanges(n.limit,t).then(i=>i(this.axios,this.basePath))}getCurrencyConversion(n,t){return E(this.configuration).getCurrencyConversion(n.from,n.to,n.amount,n.precision,t).then(i=>i(this.axios,this.basePath))}getEtfGlobalV1Analytics(n={},t){return E(this.configuration).getEtfGlobalV1Analytics(n.compositeTicker,n.compositeTickerAnyOf,n.compositeTickerGt,n.compositeTickerGte,n.compositeTickerLt,n.compositeTickerLte,n.processedDate,n.processedDateGt,n.processedDateGte,n.processedDateLt,n.processedDateLte,n.effectiveDate,n.effectiveDateGt,n.effectiveDateGte,n.effectiveDateLt,n.effectiveDateLte,n.riskTotalScore,n.riskTotalScoreGt,n.riskTotalScoreGte,n.riskTotalScoreLt,n.riskTotalScoreLte,n.rewardScore,n.rewardScoreGt,n.rewardScoreGte,n.rewardScoreLt,n.rewardScoreLte,n.quantTotalScore,n.quantTotalScoreGt,n.quantTotalScoreGte,n.quantTotalScoreLt,n.quantTotalScoreLte,n.quantGrade,n.quantGradeAnyOf,n.quantGradeGt,n.quantGradeGte,n.quantGradeLt,n.quantGradeLte,n.quantCompositeTechnical,n.quantCompositeTechnicalGt,n.quantCompositeTechnicalGte,n.quantCompositeTechnicalLt,n.quantCompositeTechnicalLte,n.quantCompositeSentiment,n.quantCompositeSentimentGt,n.quantCompositeSentimentGte,n.quantCompositeSentimentLt,n.quantCompositeSentimentLte,n.quantCompositeBehavioral,n.quantCompositeBehavioralGt,n.quantCompositeBehavioralGte,n.quantCompositeBehavioralLt,n.quantCompositeBehavioralLte,n.quantCompositeFundamental,n.quantCompositeFundamentalGt,n.quantCompositeFundamentalGte,n.quantCompositeFundamentalLt,n.quantCompositeFundamentalLte,n.quantCompositeGlobal,n.quantCompositeGlobalGt,n.quantCompositeGlobalGte,n.quantCompositeGlobalLt,n.quantCompositeGlobalLte,n.quantCompositeQuality,n.quantCompositeQualityGt,n.quantCompositeQualityGte,n.quantCompositeQualityLt,n.quantCompositeQualityLte,n.limit,n.sort,t).then(i=>i(this.axios,this.basePath))}getEtfGlobalV1Constituents(n={},t){return E(this.configuration).getEtfGlobalV1Constituents(n.compositeTicker,n.compositeTickerAnyOf,n.compositeTickerGt,n.compositeTickerGte,n.compositeTickerLt,n.compositeTickerLte,n.constituentTicker,n.constituentTickerAnyOf,n.constituentTickerGt,n.constituentTickerGte,n.constituentTickerLt,n.constituentTickerLte,n.effectiveDate,n.effectiveDateGt,n.effectiveDateGte,n.effectiveDateLt,n.effectiveDateLte,n.processedDate,n.processedDateGt,n.processedDateGte,n.processedDateLt,n.processedDateLte,n.usCode,n.usCodeAnyOf,n.usCodeGt,n.usCodeGte,n.usCodeLt,n.usCodeLte,n.isin,n.isinAnyOf,n.isinGt,n.isinGte,n.isinLt,n.isinLte,n.figi,n.figiAnyOf,n.figiGt,n.figiGte,n.figiLt,n.figiLte,n.sedol,n.sedolAnyOf,n.sedolGt,n.sedolGte,n.sedolLt,n.sedolLte,n.limit,n.sort,t).then(i=>i(this.axios,this.basePath))}getEtfGlobalV1FundFlows(n={},t){return E(this.configuration).getEtfGlobalV1FundFlows(n.processedDate,n.processedDateGt,n.processedDateGte,n.processedDateLt,n.processedDateLte,n.effectiveDate,n.effectiveDateGt,n.effectiveDateGte,n.effectiveDateLt,n.effectiveDateLte,n.compositeTicker,n.compositeTickerAnyOf,n.compositeTickerGt,n.compositeTickerGte,n.compositeTickerLt,n.compositeTickerLte,n.limit,n.sort,t).then(i=>i(this.axios,this.basePath))}getEtfGlobalV1Profiles(n={},t){return E(this.configuration).getEtfGlobalV1Profiles(n.processedDate,n.processedDateGt,n.processedDateGte,n.processedDateLt,n.processedDateLte,n.effectiveDate,n.effectiveDateGt,n.effectiveDateGte,n.effectiveDateLt,n.effectiveDateLte,n.compositeTicker,n.compositeTickerAnyOf,n.compositeTickerGt,n.compositeTickerGte,n.compositeTickerLt,n.compositeTickerLte,n.limit,n.sort,t).then(i=>i(this.axios,this.basePath))}getEtfGlobalV1Taxonomies(n={},t){return E(this.configuration).getEtfGlobalV1Taxonomies(n.processedDate,n.processedDateGt,n.processedDateGte,n.processedDateLt,n.processedDateLte,n.effectiveDate,n.effectiveDateGt,n.effectiveDateGte,n.effectiveDateLt,n.effectiveDateLte,n.compositeTicker,n.compositeTickerAnyOf,n.compositeTickerGt,n.compositeTickerGte,n.compositeTickerLt,n.compositeTickerLte,n.limit,n.sort,t).then(i=>i(this.axios,this.basePath))}getEvents(n,t){return E(this.configuration).getEvents(n.id,n.types,t).then(i=>i(this.axios,this.basePath))}getFedV1Inflation(n={},t){return E(this.configuration).getFedV1Inflation(n.date,n.dateAnyOf,n.dateGt,n.dateGte,n.dateLt,n.dateLte,n.limit,n.sort,t).then(i=>i(this.axios,this.basePath))}getFedV1InflationExpectations(n={},t){return E(this.configuration).getFedV1InflationExpectations(n.date,n.dateAnyOf,n.dateGt,n.dateGte,n.dateLt,n.dateLte,n.limit,n.sort,t).then(i=>i(this.axios,this.basePath))}getFedV1LaborMarket(n={},t){return E(this.configuration).getFedV1LaborMarket(n.date,n.dateAnyOf,n.dateGt,n.dateGte,n.dateLt,n.dateLte,n.limit,n.sort,t).then(i=>i(this.axios,this.basePath))}getFedV1TreasuryYields(n={},t){return E(this.configuration).getFedV1TreasuryYields(n.date,n.dateAnyOf,n.dateGt,n.dateGte,n.dateLt,n.dateLte,n.limit,n.sort,t).then(i=>i(this.axios,this.basePath))}getForexAggregates(n,t){return E(this.configuration).getForexAggregates(n.forexTicker,n.multiplier,n.timespan,n.from,n.to,n.adjusted,n.sort,n.limit,t).then(i=>i(this.axios,this.basePath))}getForexEMA(n,t){return E(this.configuration).getForexEMA(n.fxTicker,n.timestamp,n.timespan,n.adjusted,n.window,n.seriesType,n.expandUnderlying,n.order,n.limit,n.timestampGte,n.timestampGt,n.timestampLte,n.timestampLt,t).then(i=>i(this.axios,this.basePath))}getForexMACD(n,t){return E(this.configuration).getForexMACD(n.fxTicker,n.timestamp,n.timespan,n.adjusted,n.shortWindow,n.longWindow,n.signalWindow,n.seriesType,n.expandUnderlying,n.order,n.limit,n.timestampGte,n.timestampGt,n.timestampLte,n.timestampLt,t).then(i=>i(this.axios,this.basePath))}getForexQuotes(n,t){return E(this.configuration).getForexQuotes(n.fxTicker,n.timestamp,n.timestampGte,n.timestampGt,n.timestampLte,n.timestampLt,n.order,n.limit,n.sort,t).then(i=>i(this.axios,this.basePath))}getForexRSI(n,t){return E(this.configuration).getForexRSI(n.fxTicker,n.timestamp,n.timespan,n.adjusted,n.window,n.seriesType,n.expandUnderlying,n.order,n.limit,n.timestampGte,n.timestampGt,n.timestampLte,n.timestampLt,t).then(i=>i(this.axios,this.basePath))}getForexSMA(n,t){return E(this.configuration).getForexSMA(n.fxTicker,n.timestamp,n.timespan,n.adjusted,n.window,n.seriesType,n.expandUnderlying,n.order,n.limit,n.timestampGte,n.timestampGt,n.timestampLte,n.timestampLt,t).then(i=>i(this.axios,this.basePath))}getForexSnapshotDirection(n,t){return E(this.configuration).getForexSnapshotDirection(n.direction,t).then(i=>i(this.axios,this.basePath))}getForexSnapshotTicker(n,t){return E(this.configuration).getForexSnapshotTicker(n.ticker,t).then(i=>i(this.axios,this.basePath))}getForexSnapshotTickers(n={},t){return E(this.configuration).getForexSnapshotTickers(n.tickers,t).then(i=>i(this.axios,this.basePath))}getForexV1Exchanges(n={},t){return E(this.configuration).getForexV1Exchanges(n.limit,t).then(i=>i(this.axios,this.basePath))}getFuturesAggregates(n,t){return E(this.configuration).getFuturesAggregates(n.ticker,n.resolution,n.windowStart,n.limit,n.windowStartGte,n.windowStartGt,n.windowStartLte,n.windowStartLt,n.sort,t).then(i=>i(this.axios,this.basePath))}getFuturesQuotes(n,t){return E(this.configuration).getFuturesQuotes(n.ticker,n.timestamp,n.sessionEndDate,n.limit,n.timestampGte,n.timestampGt,n.timestampLte,n.timestampLt,n.sessionEndDateGte,n.sessionEndDateGt,n.sessionEndDateLte,n.sessionEndDateLt,n.sort,t).then(i=>i(this.axios,this.basePath))}getFuturesTrades(n,t){return E(this.configuration).getFuturesTrades(n.ticker,n.timestamp,n.sessionEndDate,n.limit,n.timestampGte,n.timestampGt,n.timestampLte,n.timestampLt,n.sessionEndDateGte,n.sessionEndDateGt,n.sessionEndDateLte,n.sessionEndDateLt,n.sort,t).then(i=>i(this.axios,this.basePath))}getFuturesVXContracts(n={},t){return E(this.configuration).getFuturesVXContracts(n.date,n.dateGt,n.dateGte,n.dateLt,n.dateLte,n.productCode,n.productCodeAnyOf,n.productCodeGt,n.productCodeGte,n.productCodeLt,n.productCodeLte,n.ticker,n.tickerAnyOf,n.tickerGt,n.tickerGte,n.tickerLt,n.tickerLte,n.active,n.type,n.typeAnyOf,n.firstTradeDate,n.firstTradeDateGt,n.firstTradeDateGte,n.firstTradeDateLt,n.firstTradeDateLte,n.lastTradeDate,n.lastTradeDateGt,n.lastTradeDateGte,n.lastTradeDateLt,n.lastTradeDateLte,n.limit,n.sort,t).then(i=>i(this.axios,this.basePath))}getFuturesVXExchanges(n={},t){return E(this.configuration).getFuturesVXExchanges(n.limit,t).then(i=>i(this.axios,this.basePath))}getFuturesVXMarketStatus(n={},t){return E(this.configuration).getFuturesVXMarketStatus(n.productCode,n.productCodeAnyOf,n.productCodeGt,n.productCodeGte,n.productCodeLt,n.productCodeLte,n.limit,t).then(i=>i(this.axios,this.basePath))}getFuturesVXProducts(n={},t){return E(this.configuration).getFuturesVXProducts(n.name,n.nameAnyOf,n.nameGt,n.nameGte,n.nameLt,n.nameLte,n.productCode,n.productCodeAnyOf,n.productCodeGt,n.productCodeGte,n.productCodeLt,n.productCodeLte,n.date,n.dateGt,n.dateGte,n.dateLt,n.dateLte,n.tradingVenue,n.tradingVenueAnyOf,n.tradingVenueGt,n.tradingVenueGte,n.tradingVenueLt,n.tradingVenueLte,n.sector,n.sectorAnyOf,n.subSector,n.subSectorAnyOf,n.assetClass,n.assetClassAnyOf,n.assetSubClass,n.assetSubClassAnyOf,n.type,n.typeAnyOf,n.limit,n.sort,t).then(i=>i(this.axios,this.basePath))}getFuturesVXQuotesNew(n,t){return E(this.configuration).getFuturesVXQuotesNew(n.ticker,n.timestamp,n.timestampGt,n.timestampGte,n.timestampLt,n.timestampLte,n.sessionEndDate,n.limit,n.sort,t).then(i=>i(this.axios,this.basePath))}getFuturesVXSchedules(n={},t){return E(this.configuration).getFuturesVXSchedules(n.productCode,n.productCodeAnyOf,n.productCodeGt,n.productCodeGte,n.productCodeLt,n.productCodeLte,n.sessionEndDate,n.sessionEndDateAnyOf,n.sessionEndDateGt,n.sessionEndDateGte,n.sessionEndDateLt,n.sessionEndDateLte,n.tradingVenue,n.tradingVenueAnyOf,n.tradingVenueGt,n.tradingVenueGte,n.tradingVenueLt,n.tradingVenueLte,n.limit,n.sort,t).then(i=>i(this.axios,this.basePath))}getFuturesVXSnapshot(n={},t){return E(this.configuration).getFuturesVXSnapshot(n.productCode,n.productCodeAnyOf,n.productCodeGt,n.productCodeGte,n.productCodeLt,n.productCodeLte,n.ticker,n.tickerAnyOf,n.tickerGt,n.tickerGte,n.tickerLt,n.tickerLte,n.limit,n.sort,t).then(i=>i(this.axios,this.basePath))}getFuturesVXSnapshotNative(n={},t){return E(this.configuration).getFuturesVXSnapshotNative(n.productCode,n.productCodeAnyOf,n.productCodeGt,n.productCodeGte,n.productCodeLt,n.productCodeLte,n.ticker,n.tickerAnyOf,n.tickerGt,n.tickerGte,n.tickerLt,n.tickerLte,n.limit,n.sort,t).then(i=>i(this.axios,this.basePath))}getFuturesVXTradesNew(n,t){return E(this.configuration).getFuturesVXTradesNew(n.ticker,n.timestamp,n.timestampGt,n.timestampGte,n.timestampLt,n.timestampLte,n.sessionEndDate,n.limit,n.sort,t).then(i=>i(this.axios,this.basePath))}getGroupedCryptoAggregates(n,t){return E(this.configuration).getGroupedCryptoAggregates(n.date,n.adjusted,t).then(i=>i(this.axios,this.basePath))}getGroupedForexAggregates(n,t){return E(this.configuration).getGroupedForexAggregates(n.date,n.adjusted,t).then(i=>i(this.axios,this.basePath))}getGroupedStocksAggregates(n,t){return E(this.configuration).getGroupedStocksAggregates(n.date,n.adjusted,n.includeOtc,t).then(i=>i(this.axios,this.basePath))}getIndicesAggregates(n,t){return E(this.configuration).getIndicesAggregates(n.indicesTicker,n.multiplier,n.timespan,n.from,n.to,n.sort,n.limit,t).then(i=>i(this.axios,this.basePath))}getIndicesEMA(n,t){return E(this.configuration).getIndicesEMA(n.indicesTicker,n.timestamp,n.timespan,n.adjusted,n.window,n.seriesType,n.expandUnderlying,n.order,n.limit,n.timestampGte,n.timestampGt,n.timestampLte,n.timestampLt,t).then(i=>i(this.axios,this.basePath))}getIndicesMACD(n,t){return E(this.configuration).getIndicesMACD(n.indicesTicker,n.timestamp,n.timespan,n.adjusted,n.shortWindow,n.longWindow,n.signalWindow,n.seriesType,n.expandUnderlying,n.order,n.limit,n.timestampGte,n.timestampGt,n.timestampLte,n.timestampLt,t).then(i=>i(this.axios,this.basePath))}getIndicesOpenClose(n,t){return E(this.configuration).getIndicesOpenClose(n.indicesTicker,n.date,t).then(i=>i(this.axios,this.basePath))}getIndicesRSI(n,t){return E(this.configuration).getIndicesRSI(n.indicesTicker,n.timestamp,n.timespan,n.adjusted,n.window,n.seriesType,n.expandUnderlying,n.order,n.limit,n.timestampGte,n.timestampGt,n.timestampLte,n.timestampLt,t).then(i=>i(this.axios,this.basePath))}getIndicesSMA(n,t){return E(this.configuration).getIndicesSMA(n.indicesTicker,n.timestamp,n.timespan,n.adjusted,n.window,n.seriesType,n.expandUnderlying,n.order,n.limit,n.timestampGte,n.timestampGt,n.timestampLte,n.timestampLt,t).then(i=>i(this.axios,this.basePath))}getIndicesSnapshot(n={},t){return E(this.configuration).getIndicesSnapshot(n.tickerAnyOf,n.ticker,n.tickerGte,n.tickerGt,n.tickerLte,n.tickerLt,n.order,n.limit,n.sort,t).then(i=>i(this.axios,this.basePath))}getLastCryptoTrade(n,t){return E(this.configuration).getLastCryptoTrade(n.from,n.to,t).then(i=>i(this.axios,this.basePath))}getLastCurrencyQuote(n,t){return E(this.configuration).getLastCurrencyQuote(n.from,n.to,t).then(i=>i(this.axios,this.basePath))}getLastOptionsTrade(n,t){return E(this.configuration).getLastOptionsTrade(n.optionsTicker,t).then(i=>i(this.axios,this.basePath))}getLastStocksQuote(n,t){return E(this.configuration).getLastStocksQuote(n.stocksTicker,t).then(i=>i(this.axios,this.basePath))}getLastStocksTrade(n,t){return E(this.configuration).getLastStocksTrade(n.stocksTicker,t).then(i=>i(this.axios,this.basePath))}getMarketHolidays(n){return E(this.configuration).getMarketHolidays(n).then(t=>t(this.axios,this.basePath))}getMarketStatus(n){return E(this.configuration).getMarketStatus(n).then(t=>t(this.axios,this.basePath))}getOptionContract(n,t){return E(this.configuration).getOptionContract(n.underlyingAsset,n.optionContract,t).then(i=>i(this.axios,this.basePath))}getOptionsAggregates(n,t){return E(this.configuration).getOptionsAggregates(n.optionsTicker,n.multiplier,n.timespan,n.from,n.to,n.adjusted,n.sort,n.limit,t).then(i=>i(this.axios,this.basePath))}getOptionsChain(n,t){return E(this.configuration).getOptionsChain(n.underlyingAsset,n.strikePrice,n.expirationDate,n.contractType,n.strikePriceGte,n.strikePriceGt,n.strikePriceLte,n.strikePriceLt,n.expirationDateGte,n.expirationDateGt,n.expirationDateLte,n.expirationDateLt,n.order,n.limit,n.sort,t).then(i=>i(this.axios,this.basePath))}getOptionsContract(n,t){return E(this.configuration).getOptionsContract(n.optionsTicker,n.asOf,t).then(i=>i(this.axios,this.basePath))}getOptionsEMA(n,t){return E(this.configuration).getOptionsEMA(n.optionsTicker,n.timestamp,n.timespan,n.adjusted,n.window,n.seriesType,n.expandUnderlying,n.order,n.limit,n.timestampGte,n.timestampGt,n.timestampLte,n.timestampLt,t).then(i=>i(this.axios,this.basePath))}getOptionsMACD(n,t){return E(this.configuration).getOptionsMACD(n.optionsTicker,n.timestamp,n.timespan,n.adjusted,n.shortWindow,n.longWindow,n.signalWindow,n.seriesType,n.expandUnderlying,n.order,n.limit,n.timestampGte,n.timestampGt,n.timestampLte,n.timestampLt,t).then(i=>i(this.axios,this.basePath))}getOptionsOpenClose(n,t){return E(this.configuration).getOptionsOpenClose(n.optionsTicker,n.date,n.adjusted,t).then(i=>i(this.axios,this.basePath))}getOptionsQuotes(n,t){return E(this.configuration).getOptionsQuotes(n.optionsTicker,n.timestamp,n.timestampGte,n.timestampGt,n.timestampLte,n.timestampLt,n.order,n.limit,n.sort,t).then(i=>i(this.axios,this.basePath))}getOptionsRSI(n,t){return E(this.configuration).getOptionsRSI(n.optionsTicker,n.timestamp,n.timespan,n.adjusted,n.window,n.seriesType,n.expandUnderlying,n.order,n.limit,n.timestampGte,n.timestampGt,n.timestampLte,n.timestampLt,t).then(i=>i(this.axios,this.basePath))}getOptionsSMA(n,t){return E(this.configuration).getOptionsSMA(n.optionsTicker,n.timestamp,n.timespan,n.adjusted,n.window,n.seriesType,n.expandUnderlying,n.order,n.limit,n.timestampGte,n.timestampGt,n.timestampLte,n.timestampLt,t).then(i=>i(this.axios,this.basePath))}getOptionsTrades(n,t){return E(this.configuration).getOptionsTrades(n.optionsTicker,n.timestamp,n.timestampGte,n.timestampGt,n.timestampLte,n.timestampLt,n.order,n.limit,n.sort,t).then(i=>i(this.axios,this.basePath))}getOptionsV1Exchanges(n={},t){return E(this.configuration).getOptionsV1Exchanges(n.limit,t).then(i=>i(this.axios,this.basePath))}getPreviousCryptoAggregates(n,t){return E(this.configuration).getPreviousCryptoAggregates(n.cryptoTicker,n.adjusted,t).then(i=>i(this.axios,this.basePath))}getPreviousForexAggregates(n,t){return E(this.configuration).getPreviousForexAggregates(n.forexTicker,n.adjusted,t).then(i=>i(this.axios,this.basePath))}getPreviousIndicesAggregates(n,t){return E(this.configuration).getPreviousIndicesAggregates(n.indicesTicker,t).then(i=>i(this.axios,this.basePath))}getPreviousOptionsAggregates(n,t){return E(this.configuration).getPreviousOptionsAggregates(n.optionsTicker,n.adjusted,t).then(i=>i(this.axios,this.basePath))}getPreviousStocksAggregates(n,t){return E(this.configuration).getPreviousStocksAggregates(n.stocksTicker,n.adjusted,t).then(i=>i(this.axios,this.basePath))}getRelatedCompanies(n,t){return E(this.configuration).getRelatedCompanies(n.ticker,t).then(i=>i(this.axios,this.basePath))}getSnapshotSummary(n={},t){return E(this.configuration).getSnapshotSummary(n.tickerAnyOf,t).then(i=>i(this.axios,this.basePath))}getSnapshots(n={},t){return E(this.configuration).getSnapshots(n.ticker,n.type,n.tickerGte,n.tickerGt,n.tickerLte,n.tickerLt,n.tickerAnyOf,n.order,n.limit,n.sort,t).then(i=>i(this.axios,this.basePath))}getStocksAggregates(n,t){return E(this.configuration).getStocksAggregates(n.stocksTicker,n.multiplier,n.timespan,n.from,n.to,n.adjusted,n.sort,n.limit,t).then(i=>i(this.axios,this.basePath))}getStocksEMA(n,t){return E(this.configuration).getStocksEMA(n.stockTicker,n.timestamp,n.timespan,n.adjusted,n.window,n.seriesType,n.expandUnderlying,n.order,n.limit,n.timestampGte,n.timestampGt,n.timestampLte,n.timestampLt,t).then(i=>i(this.axios,this.basePath))}getStocksFilings10KVXSections(n={},t){return E(this.configuration).getStocksFilings10KVXSections(n.cik,n.cikAnyOf,n.cikGt,n.cikGte,n.cikLt,n.cikLte,n.ticker,n.tickerAnyOf,n.tickerGt,n.tickerGte,n.tickerLt,n.tickerLte,n.section,n.sectionAnyOf,n.filingDate,n.filingDateGt,n.filingDateGte,n.filingDateLt,n.filingDateLte,n.periodEnd,n.periodEndGt,n.periodEndGte,n.periodEndLt,n.periodEndLte,n.limit,n.sort,t).then(i=>i(this.axios,this.basePath))}getStocksFilings8KVXText(n={},t){return E(this.configuration).getStocksFilings8KVXText(n.cik,n.cikAnyOf,n.cikGt,n.cikGte,n.cikLt,n.cikLte,n.ticker,n.tickerAnyOf,n.tickerGt,n.tickerGte,n.tickerLt,n.tickerLte,n.formType,n.formTypeAnyOf,n.formTypeGt,n.formTypeGte,n.formTypeLt,n.formTypeLte,n.filingDate,n.filingDateGt,n.filingDateGte,n.filingDateLt,n.filingDateLte,n.limit,n.sort,t).then(i=>i(this.axios,this.basePath))}getStocksFilingsVXIndex(n={},t){return E(this.configuration).getStocksFilingsVXIndex(n.cik,n.cikAnyOf,n.cikGt,n.cikGte,n.cikLt,n.cikLte,n.ticker,n.tickerAnyOf,n.tickerGt,n.tickerGte,n.tickerLt,n.tickerLte,n.formType,n.formTypeAnyOf,n.formTypeGt,n.formTypeGte,n.formTypeLt,n.formTypeLte,n.filingDate,n.filingDateGt,n.filingDateGte,n.filingDateLt,n.filingDateLte,n.limit,n.sort,t).then(i=>i(this.axios,this.basePath))}getStocksFilingsVXRiskFactors(n={},t){return E(this.configuration).getStocksFilingsVXRiskFactors(n.filingDate,n.filingDateAnyOf,n.filingDateGt,n.filingDateGte,n.filingDateLt,n.filingDateLte,n.ticker,n.tickerAnyOf,n.tickerGt,n.tickerGte,n.tickerLt,n.tickerLte,n.cik,n.cikAnyOf,n.cikGt,n.cikGte,n.cikLt,n.cikLte,n.limit,n.sort,t).then(i=>i(this.axios,this.basePath))}getStocksFinancialsV1BalanceSheets(n={},t){return E(this.configuration).getStocksFinancialsV1BalanceSheets(n.cik,n.cikAnyOf,n.cikGt,n.cikGte,n.cikLt,n.cikLte,n.tickers,n.tickersAllOf,n.tickersAnyOf,n.periodEnd,n.periodEndGt,n.periodEndGte,n.periodEndLt,n.periodEndLte,n.filingDate,n.filingDateGt,n.filingDateGte,n.filingDateLt,n.filingDateLte,n.fiscalYear,n.fiscalYearGt,n.fiscalYearGte,n.fiscalYearLt,n.fiscalYearLte,n.fiscalQuarter,n.fiscalQuarterGt,n.fiscalQuarterGte,n.fiscalQuarterLt,n.fiscalQuarterLte,n.timeframe,n.timeframeAnyOf,n.timeframeGt,n.timeframeGte,n.timeframeLt,n.timeframeLte,n.maxTicker,n.maxTickerAnyOf,n.maxTickerGt,n.maxTickerGte,n.maxTickerLt,n.maxTickerLte,n.minTicker,n.minTickerAnyOf,n.minTickerGt,n.minTickerGte,n.minTickerLt,n.minTickerLte,n.limit,n.sort,t).then(i=>i(this.axios,this.basePath))}getStocksFinancialsV1CashFlowStatements(n={},t){return E(this.configuration).getStocksFinancialsV1CashFlowStatements(n.cik,n.cikAnyOf,n.cikGt,n.cikGte,n.cikLt,n.cikLte,n.periodEnd,n.periodEndGt,n.periodEndGte,n.periodEndLt,n.periodEndLte,n.filingDate,n.filingDateGt,n.filingDateGte,n.filingDateLt,n.filingDateLte,n.tickers,n.tickersAllOf,n.tickersAnyOf,n.fiscalYear,n.fiscalYearGt,n.fiscalYearGte,n.fiscalYearLt,n.fiscalYearLte,n.fiscalQuarter,n.fiscalQuarterGt,n.fiscalQuarterGte,n.fiscalQuarterLt,n.fiscalQuarterLte,n.timeframe,n.timeframeAnyOf,n.timeframeGt,n.timeframeGte,n.timeframeLt,n.timeframeLte,n.maxTicker,n.maxTickerAnyOf,n.maxTickerGt,n.maxTickerGte,n.maxTickerLt,n.maxTickerLte,n.minTicker,n.minTickerAnyOf,n.minTickerGt,n.minTickerGte,n.minTickerLt,n.minTickerLte,n.limit,n.sort,t).then(i=>i(this.axios,this.basePath))}getStocksFinancialsV1IncomeStatements(n={},t){return E(this.configuration).getStocksFinancialsV1IncomeStatements(n.cik,n.cikAnyOf,n.cikGt,n.cikGte,n.cikLt,n.cikLte,n.tickers,n.tickersAllOf,n.tickersAnyOf,n.periodEnd,n.periodEndGt,n.periodEndGte,n.periodEndLt,n.periodEndLte,n.filingDate,n.filingDateGt,n.filingDateGte,n.filingDateLt,n.filingDateLte,n.fiscalYear,n.fiscalYearGt,n.fiscalYearGte,n.fiscalYearLt,n.fiscalYearLte,n.fiscalQuarter,n.fiscalQuarterGt,n.fiscalQuarterGte,n.fiscalQuarterLt,n.fiscalQuarterLte,n.timeframe,n.timeframeAnyOf,n.timeframeGt,n.timeframeGte,n.timeframeLt,n.timeframeLte,n.maxTicker,n.maxTickerAnyOf,n.maxTickerGt,n.maxTickerGte,n.maxTickerLt,n.maxTickerLte,n.minTicker,n.minTickerAnyOf,n.minTickerGt,n.minTickerGte,n.minTickerLt,n.minTickerLte,n.limit,n.sort,t).then(i=>i(this.axios,this.basePath))}getStocksFinancialsV1Ratios(n={},t){return E(this.configuration).getStocksFinancialsV1Ratios(n.ticker,n.tickerAnyOf,n.tickerGt,n.tickerGte,n.tickerLt,n.tickerLte,n.cik,n.cikAnyOf,n.cikGt,n.cikGte,n.cikLt,n.cikLte,n.price,n.priceGt,n.priceGte,n.priceLt,n.priceLte,n.averageVolume,n.averageVolumeGt,n.averageVolumeGte,n.averageVolumeLt,n.averageVolumeLte,n.marketCap,n.marketCapGt,n.marketCapGte,n.marketCapLt,n.marketCapLte,n.earningsPerShare,n.earningsPerShareGt,n.earningsPerShareGte,n.earningsPerShareLt,n.earningsPerShareLte,n.priceToEarnings,n.priceToEarningsGt,n.priceToEarningsGte,n.priceToEarningsLt,n.priceToEarningsLte,n.priceToBook,n.priceToBookGt,n.priceToBookGte,n.priceToBookLt,n.priceToBookLte,n.priceToSales,n.priceToSalesGt,n.priceToSalesGte,n.priceToSalesLt,n.priceToSalesLte,n.priceToCashFlow,n.priceToCashFlowGt,n.priceToCashFlowGte,n.priceToCashFlowLt,n.priceToCashFlowLte,n.priceToFreeCashFlow,n.priceToFreeCashFlowGt,n.priceToFreeCashFlowGte,n.priceToFreeCashFlowLt,n.priceToFreeCashFlowLte,n.dividendYield,n.dividendYieldGt,n.dividendYieldGte,n.dividendYieldLt,n.dividendYieldLte,n.returnOnAssets,n.returnOnAssetsGt,n.returnOnAssetsGte,n.returnOnAssetsLt,n.returnOnAssetsLte,n.returnOnEquity,n.returnOnEquityGt,n.returnOnEquityGte,n.returnOnEquityLt,n.returnOnEquityLte,n.debtToEquity,n.debtToEquityGt,n.debtToEquityGte,n.debtToEquityLt,n.debtToEquityLte,n.current,n.currentGt,n.currentGte,n.currentLt,n.currentLte,n.quick,n.quickGt,n.quickGte,n.quickLt,n.quickLte,n.cash,n.cashGt,n.cashGte,n.cashLt,n.cashLte,n.evToSales,n.evToSalesGt,n.evToSalesGte,n.evToSalesLt,n.evToSalesLte,n.evToEbitda,n.evToEbitdaGt,n.evToEbitdaGte,n.evToEbitdaLt,n.evToEbitdaLte,n.enterpriseValue,n.enterpriseValueGt,n.enterpriseValueGte,n.enterpriseValueLt,n.enterpriseValueLte,n.freeCashFlow,n.freeCashFlowGt,n.freeCashFlowGte,n.freeCashFlowLt,n.freeCashFlowLte,n.limit,n.sort,t).then(i=>i(this.axios,this.basePath))}getStocksMACD(n,t){return E(this.configuration).getStocksMACD(n.stockTicker,n.timestamp,n.timespan,n.adjusted,n.shortWindow,n.longWindow,n.signalWindow,n.seriesType,n.expandUnderlying,n.order,n.limit,n.timestampGte,n.timestampGt,n.timestampLte,n.timestampLt,t).then(i=>i(this.axios,this.basePath))}getStocksOpenClose(n,t){return E(this.configuration).getStocksOpenClose(n.stocksTicker,n.date,n.adjusted,t).then(i=>i(this.axios,this.basePath))}getStocksQuotes(n,t){return E(this.configuration).getStocksQuotes(n.stockTicker,n.timestamp,n.timestampGte,n.timestampGt,n.timestampLte,n.timestampLt,n.order,n.limit,n.sort,t).then(i=>i(this.axios,this.basePath))}getStocksRSI(n,t){return E(this.configuration).getStocksRSI(n.stockTicker,n.timestamp,n.timespan,n.adjusted,n.window,n.seriesType,n.expandUnderlying,n.order,n.limit,n.timestampGte,n.timestampGt,n.timestampLte,n.timestampLt,t).then(i=>i(this.axios,this.basePath))}getStocksSMA(n,t){return E(this.configuration).getStocksSMA(n.stockTicker,n.timestamp,n.timespan,n.adjusted,n.window,n.seriesType,n.expandUnderlying,n.order,n.limit,n.timestampGte,n.timestampGt,n.timestampLte,n.timestampLt,t).then(i=>i(this.axios,this.basePath))}getStocksSnapshotDirection(n,t){return E(this.configuration).getStocksSnapshotDirection(n.direction,n.includeOtc,t).then(i=>i(this.axios,this.basePath))}getStocksSnapshotTicker(n,t){return E(this.configuration).getStocksSnapshotTicker(n.stocksTicker,t).then(i=>i(this.axios,this.basePath))}getStocksSnapshotTickers(n={},t){return E(this.configuration).getStocksSnapshotTickers(n.tickers,n.includeOtc,t).then(i=>i(this.axios,this.basePath))}getStocksTaxonomiesVXRiskFactors(n={},t){return E(this.configuration).getStocksTaxonomiesVXRiskFactors(n.taxonomy,n.taxonomyGt,n.taxonomyGte,n.taxonomyLt,n.taxonomyLte,n.primaryCategory,n.primaryCategoryAnyOf,n.primaryCategoryGt,n.primaryCategoryGte,n.primaryCategoryLt,n.primaryCategoryLte,n.secondaryCategory,n.secondaryCategoryAnyOf,n.secondaryCategoryGt,n.secondaryCategoryGte,n.secondaryCategoryLt,n.secondaryCategoryLte,n.tertiaryCategory,n.tertiaryCategoryAnyOf,n.tertiaryCategoryGt,n.tertiaryCategoryGte,n.tertiaryCategoryLt,n.tertiaryCategoryLte,n.limit,n.sort,t).then(i=>i(this.axios,this.basePath))}getStocksTrades(n,t){return E(this.configuration).getStocksTrades(n.stockTicker,n.timestamp,n.timestampGte,n.timestampGt,n.timestampLte,n.timestampLt,n.order,n.limit,n.sort,t).then(i=>i(this.axios,this.basePath))}getStocksV1Dividends(n={},t){return E(this.configuration).getStocksV1Dividends(n.ticker,n.tickerAnyOf,n.tickerGt,n.tickerGte,n.tickerLt,n.tickerLte,n.exDividendDate,n.exDividendDateGt,n.exDividendDateGte,n.exDividendDateLt,n.exDividendDateLte,n.frequency,n.frequencyGt,n.frequencyGte,n.frequencyLt,n.frequencyLte,n.distributionType,n.distributionTypeAnyOf,n.limit,n.sort,t).then(i=>i(this.axios,this.basePath))}getStocksV1Exchanges(n={},t){return E(this.configuration).getStocksV1Exchanges(n.limit,t).then(i=>i(this.axios,this.basePath))}getStocksV1ShortInterest(n={},t){return E(this.configuration).getStocksV1ShortInterest(n.ticker,n.tickerAnyOf,n.tickerGt,n.tickerGte,n.tickerLt,n.tickerLte,n.daysToCover,n.daysToCoverAnyOf,n.daysToCoverGt,n.daysToCoverGte,n.daysToCoverLt,n.daysToCoverLte,n.settlementDate,n.settlementDateAnyOf,n.settlementDateGt,n.settlementDateGte,n.settlementDateLt,n.settlementDateLte,n.avgDailyVolume,n.avgDailyVolumeAnyOf,n.avgDailyVolumeGt,n.avgDailyVolumeGte,n.avgDailyVolumeLt,n.avgDailyVolumeLte,n.limit,n.sort,t).then(i=>i(this.axios,this.basePath))}getStocksV1ShortVolume(n={},t){return E(this.configuration).getStocksV1ShortVolume(n.ticker,n.tickerAnyOf,n.tickerGt,n.tickerGte,n.tickerLt,n.tickerLte,n.date,n.dateAnyOf,n.dateGt,n.dateGte,n.dateLt,n.dateLte,n.shortVolumeRatio,n.shortVolumeRatioAnyOf,n.shortVolumeRatioGt,n.shortVolumeRatioGte,n.shortVolumeRatioLt,n.shortVolumeRatioLte,n.limit,n.sort,t).then(i=>i(this.axios,this.basePath))}getStocksV1Splits(n={},t){return E(this.configuration).getStocksV1Splits(n.ticker,n.tickerAnyOf,n.tickerGt,n.tickerGte,n.tickerLt,n.tickerLte,n.executionDate,n.executionDateGt,n.executionDateGte,n.executionDateLt,n.executionDateLte,n.adjustmentType,n.adjustmentTypeAnyOf,n.limit,n.sort,t).then(i=>i(this.axios,this.basePath))}getStocksVXFloat(n={},t){return E(this.configuration).getStocksVXFloat(n.ticker,n.tickerAnyOf,n.tickerGt,n.tickerGte,n.tickerLt,n.tickerLte,n.freeFloatPercent,n.freeFloatPercentGt,n.freeFloatPercentGte,n.freeFloatPercentLt,n.freeFloatPercentLte,n.limit,n.sort,t).then(i=>i(this.axios,this.basePath))}getTicker(n,t){return E(this.configuration).getTicker(n.ticker,n.date,t).then(i=>i(this.axios,this.basePath))}getTmxV1CorporateEvents(n={},t){return E(this.configuration).getTmxV1CorporateEvents(n.date,n.dateAnyOf,n.dateGt,n.dateGte,n.dateLt,n.dateLte,n.type,n.typeAnyOf,n.typeGt,n.typeGte,n.typeLt,n.typeLte,n.status,n.statusAnyOf,n.statusGt,n.statusGte,n.statusLt,n.statusLte,n.ticker,n.tickerAnyOf,n.tickerGt,n.tickerGte,n.tickerLt,n.tickerLte,n.isin,n.isinAnyOf,n.isinGt,n.isinGte,n.isinLt,n.isinLte,n.tradingVenue,n.tradingVenueAnyOf,n.tradingVenueGt,n.tradingVenueGte,n.tradingVenueLt,n.tradingVenueLte,n.tmxCompanyId,n.tmxCompanyIdGt,n.tmxCompanyIdGte,n.tmxCompanyIdLt,n.tmxCompanyIdLte,n.tmxRecordId,n.tmxRecordIdAnyOf,n.tmxRecordIdGt,n.tmxRecordIdGte,n.tmxRecordIdLt,n.tmxRecordIdLte,n.limit,n.sort,t).then(i=>i(this.axios,this.basePath))}getV1ReferenceIpos(n={},t){return E(this.configuration).getV1ReferenceIpos(n.ticker,n.tickerAnyOf,n.tickerGt,n.tickerGte,n.tickerLt,n.tickerLte,n.usCode,n.usCodeAnyOf,n.usCodeGt,n.usCodeGte,n.usCodeLt,n.usCodeLte,n.isin,n.isinAnyOf,n.isinGt,n.isinGte,n.isinLt,n.isinLte,n.listingDate,n.listingDateGt,n.listingDateGte,n.listingDateLt,n.listingDateLte,n.ipoStatus,n.ipoStatusAnyOf,n.limit,n.sort,t).then(i=>i(this.axios,this.basePath))}listConditions(n={},t){return E(this.configuration).listConditions(n.assetClass,n.dataType,n.id,n.sip,n.order,n.limit,n.sort,t).then(i=>i(this.axios,this.basePath))}listDividends(n={},t){return E(this.configuration).listDividends(n.ticker,n.exDividendDate,n.recordDate,n.declarationDate,n.payDate,n.frequency,n.cashAmount,n.dividendType,n.tickerGte,n.tickerGt,n.tickerLte,n.tickerLt,n.exDividendDateGte,n.exDividendDateGt,n.exDividendDateLte,n.exDividendDateLt,n.recordDateGte,n.recordDateGt,n.recordDateLte,n.recordDateLt,n.declarationDateGte,n.declarationDateGt,n.declarationDateLte,n.declarationDateLt,n.payDateGte,n.payDateGt,n.payDateLte,n.payDateLt,n.cashAmountGte,n.cashAmountGt,n.cashAmountLte,n.cashAmountLt,n.order,n.limit,n.sort,t).then(i=>i(this.axios,this.basePath))}listExchanges(n={},t){return E(this.configuration).listExchanges(n.assetClass,n.locale,t).then(i=>i(this.axios,this.basePath))}listFinancials(n={},t){return E(this.configuration).listFinancials(n.ticker,n.cik,n.companyName,n.sic,n.filingDate,n.periodOfReportDate,n.timeframe,n.includeSources,n.companyNameSearch,n.filingDateGte,n.filingDateGt,n.filingDateLte,n.filingDateLt,n.periodOfReportDateGte,n.periodOfReportDateGt,n.periodOfReportDateLte,n.periodOfReportDateLt,n.order,n.limit,n.sort,t).then(i=>i(this.axios,this.basePath))}listIPOs(n={},t){return E(this.configuration).listIPOs(n.ticker,n.usCode,n.isin,n.listingDate,n.ipoStatus,n.listingDateGte,n.listingDateGt,n.listingDateLte,n.listingDateLt,n.order,n.limit,n.sort,t).then(i=>i(this.axios,this.basePath))}listNews(n={},t){return E(this.configuration).listNews(n.ticker,n.publishedUtc,n.tickerGte,n.tickerGt,n.tickerLte,n.tickerLt,n.publishedUtcGte,n.publishedUtcGt,n.publishedUtcLte,n.publishedUtcLt,n.order,n.limit,n.sort,t).then(i=>i(this.axios,this.basePath))}listOptionsContracts(n={},t){return E(this.configuration).listOptionsContracts(n.underlyingTicker,n.ticker,n.contractType,n.expirationDate,n.asOf,n.strikePrice,n.expired,n.underlyingTickerGte,n.underlyingTickerGt,n.underlyingTickerLte,n.underlyingTickerLt,n.expirationDateGte,n.expirationDateGt,n.expirationDateLte,n.expirationDateLt,n.strikePriceGte,n.strikePriceGt,n.strikePriceLte,n.strikePriceLt,n.order,n.limit,n.sort,t).then(i=>i(this.axios,this.basePath))}listStockSplits(n={},t){return E(this.configuration).listStockSplits(n.ticker,n.executionDate,n.reverseSplit,n.tickerGte,n.tickerGt,n.tickerLte,n.tickerLt,n.executionDateGte,n.executionDateGt,n.executionDateLte,n.executionDateLt,n.order,n.limit,n.sort,t).then(i=>i(this.axios,this.basePath))}listTickerTypes(n={},t){return E(this.configuration).listTickerTypes(n.assetClass,n.locale,t).then(i=>i(this.axios,this.basePath))}listTickers(n={},t){return E(this.configuration).listTickers(n.ticker,n.type,n.market,n.exchange,n.cusip,n.cik,n.date,n.search,n.active,n.tickerGte,n.tickerGt,n.tickerLte,n.tickerLt,n.order,n.limit,n.sort,t).then(i=>i(this.axios,this.basePath))}},ui=(d=>(d.Second="second",d.Minute="minute",d.Hour="hour",d.Day="day",d.Week="week",d.Month="month",d.Quarter="quarter",d.Year="year",d))(ui||{}),yi=(t=>(t.Asc="asc",t.Desc="desc",t))(yi||{}),bi=(r=>(r.Minute="minute",r.Hour="hour",r.Day="day",r.Week="week",r.Month="month",r.Quarter="quarter",r.Year="year",r))(bi||{}),mi=(e=>(e.Open="open",e.High="high",e.Low="low",e.Close="close",e))(mi||{}),hi=(t=>(t.Asc="asc",t.Desc="desc",t))(hi||{}),Ri=(r=>(r.Minute="minute",r.Hour="hour",r.Day="day",r.Week="week",r.Month="month",r.Quarter="quarter",r.Year="year",r))(Ri||{}),xi=(e=>(e.Open="open",e.High="high",e.Low="low",e.Close="close",e))(xi||{}),Ai=(t=>(t.Asc="asc",t.Desc="desc",t))(Ai||{}),ki=(r=>(r.Minute="minute",r.Hour="hour",r.Day="day",r.Week="week",r.Month="month",r.Quarter="quarter",r.Year="year",r))(ki||{}),_i=(e=>(e.Open="open",e.High="high",e.Low="low",e.Close="close",e))(_i||{}),Gi=(t=>(t.Asc="asc",t.Desc="desc",t))(Gi||{}),Vi=(r=>(r.Minute="minute",r.Hour="hour",r.Day="day",r.Week="week",r.Month="month",r.Quarter="quarter",r.Year="year",r))(Vi||{}),Oi=(e=>(e.Open="open",e.High="high",e.Low="low",e.Close="close",e))(Oi||{}),Ci=(t=>(t.Asc="asc",t.Desc="desc",t))(Ci||{}),Si=(t=>(t.Gainers="gainers",t.Losers="losers",t))(Si||{}),wi=(t=>(t.Asc="asc",t.Desc="desc",t))(wi||{}),vi=(n=>(n.Timestamp="timestamp",n))(vi||{}),Ii=(s=>(s[s.NUMBER_0=0]="NUMBER_0",s[s.NUMBER_1=1]="NUMBER_1",s[s.NUMBER_2=2]="NUMBER_2",s[s.NUMBER_3=3]="NUMBER_3",s[s.NUMBER_4=4]="NUMBER_4",s))(Ii||{}),Li=(d=>(d.Second="second",d.Minute="minute",d.Hour="hour",d.Day="day",d.Week="week",d.Month="month",d.Quarter="quarter",d.Year="year",d))(Li||{}),Ti=(t=>(t.Asc="asc",t.Desc="desc",t))(Ti||{}),Di=(r=>(r.Minute="minute",r.Hour="hour",r.Day="day",r.Week="week",r.Month="month",r.Quarter="quarter",r.Year="year",r))(Di||{}),Fi=(e=>(e.Open="open",e.High="high",e.Low="low",e.Close="close",e))(Fi||{}),Bi=(t=>(t.Asc="asc",t.Desc="desc",t))(Bi||{}),Ui=(r=>(r.Minute="minute",r.Hour="hour",r.Day="day",r.Week="week",r.Month="month",r.Quarter="quarter",r.Year="year",r))(Ui||{}),zi=(e=>(e.Open="open",e.High="high",e.Low="low",e.Close="close",e))(zi||{}),Qi=(t=>(t.Asc="asc",t.Desc="desc",t))(Qi||{}),Ei=(t=>(t.Asc="asc",t.Desc="desc",t))(Ei||{}),Mi=(n=>(n.Timestamp="timestamp",n))(Mi||{}),Hi=(r=>(r.Minute="minute",r.Hour="hour",r.Day="day",r.Week="week",r.Month="month",r.Quarter="quarter",r.Year="year",r))(Hi||{}),ji=(e=>(e.Open="open",e.High="high",e.Low="low",e.Close="close",e))(ji||{}),Ki=(t=>(t.Asc="asc",t.Desc="desc",t))(Ki||{}),Ni=(r=>(r.Minute="minute",r.Hour="hour",r.Day="day",r.Week="week",r.Month="month",r.Quarter="quarter",r.Year="year",r))(Ni||{}),Xi=(e=>(e.Open="open",e.High="high",e.Low="low",e.Close="close",e))(Xi||{}),$i=(t=>(t.Asc="asc",t.Desc="desc",t))($i||{}),Yi=(t=>(t.Gainers="gainers",t.Losers="losers",t))(Yi||{}),Wi=(t=>(t.WindowStartAsc="window_start.asc",t.WindowStartDesc="window_start.desc",t))(Wi||{}),Ji=(t=>(t.TimestampAsc="timestamp.asc",t.TimestampDesc="timestamp.desc",t))(Ji||{}),Zi=(t=>(t.TimestampAsc="timestamp.asc",t.TimestampDesc="timestamp.desc",t))(Zi||{}),qi=(t=>(t.Single="single",t.Combo="combo",t))(qi||{}),Pi=(t=>(t.Single="single",t.Combo="combo",t))(Pi||{}),ns=(S=>(S.Asia="asia",S.Base="base",S.Biofuels="biofuels",S.Coal="coal",S.CrossRates="cross_rates",S.CrudeOil="crude_oil",S.CustomIndex="custom_index",S.Dairy="dairy",S.DjUbsCi="dj_ubs_ci",S.Electricity="electricity",S.Emissions="emissions",S.Europe="europe",S.Fertilizer="fertilizer",S.Forestry="forestry",S.GrainsAndOilseeds="grains_and_oilseeds",S.IntlIndex="intl_index",S.LiqNatGasLng="liq_nat_gas_lng",S.Livestock="livestock",S.LongTermGov="long_term_gov",S.LongTermNonGov="long_term_non_gov",S.Majors="majors",S.Minors="minors",S.NatGas="nat_gas",S.NatGasLiqPetro="nat_gas_liq_petro",S.Precious="precious",S.RefinedProducts="refined_products",S.SAndPGsci="s_and_p_gsci",S.SelSectorIndex="sel_sector_index",S.ShortTermGov="short_term_gov",S.ShortTermNonGov="short_term_non_gov",S.Softs="softs",S.Us="us",S.UsIndex="us_index",S.WetBulk="wet_bulk",S))(ns||{}),es=(S=>(S.Asia="asia",S.Base="base",S.Biofuels="biofuels",S.Coal="coal",S.CrossRates="cross_rates",S.CrudeOil="crude_oil",S.CustomIndex="custom_index",S.Dairy="dairy",S.DjUbsCi="dj_ubs_ci",S.Electricity="electricity",S.Emissions="emissions",S.Europe="europe",S.Fertilizer="fertilizer",S.Forestry="forestry",S.GrainsAndOilseeds="grains_and_oilseeds",S.IntlIndex="intl_index",S.LiqNatGasLng="liq_nat_gas_lng",S.Livestock="livestock",S.LongTermGov="long_term_gov",S.LongTermNonGov="long_term_non_gov",S.Majors="majors",S.Minors="minors",S.NatGas="nat_gas",S.NatGasLiqPetro="nat_gas_liq_petro",S.Precious="precious",S.RefinedProducts="refined_products",S.SAndPGsci="s_and_p_gsci",S.SelSectorIndex="sel_sector_index",S.ShortTermGov="short_term_gov",S.ShortTermNonGov="short_term_non_gov",S.Softs="softs",S.Us="us",S.UsIndex="us_index",S.WetBulk="wet_bulk",S))(es||{}),ts=(R=>(R.Asian="asian",R.Canadian="canadian",R.Cat="cat",R.CoolingDegreeDays="cooling_degree_days",R.Ercot="ercot",R.European="european",R.Gulf="gulf",R.HeatingDegreeDays="heating_degree_days",R.IsoNe="iso_ne",R.LargeCapIndex="large_cap_index",R.MidCapIndex="mid_cap_index",R.Miso="miso",R.NorthAmerican="north_american",R.Nyiso="nyiso",R.Pjm="pjm",R.SmallCapIndex="small_cap_index",R.West="west",R.WesternPower="western_power",R))(ts||{}),is=(R=>(R.Asian="asian",R.Canadian="canadian",R.Cat="cat",R.CoolingDegreeDays="cooling_degree_days",R.Ercot="ercot",R.European="european",R.Gulf="gulf",R.HeatingDegreeDays="heating_degree_days",R.IsoNe="iso_ne",R.LargeCapIndex="large_cap_index",R.MidCapIndex="mid_cap_index",R.Miso="miso",R.NorthAmerican="north_american",R.Nyiso="nyiso",R.Pjm="pjm",R.SmallCapIndex="small_cap_index",R.West="west",R.WesternPower="western_power",R))(is||{}),ss=(i=>(i.AltInvestment="alt_investment",i.Commodity="commodity",i.Financials="financials",i))(ss||{}),os=(i=>(i.AltInvestment="alt_investment",i.Commodity="commodity",i.Financials="financials",i))(os||{}),rs=(g=>(g.Agricultural="agricultural",g.CommodityIndex="commodity_index",g.Energy="energy",g.Equity="equity",g.ForeignExchange="foreign_exchange",g.Freight="freight",g.Housing="housing",g.InterestRate="interest_rate",g.Metals="metals",g.Weather="weather",g))(rs||{}),as=(g=>(g.Agricultural="agricultural",g.CommodityIndex="commodity_index",g.Energy="energy",g.Equity="equity",g.ForeignExchange="foreign_exchange",g.Freight="freight",g.Housing="housing",g.InterestRate="interest_rate",g.Metals="metals",g.Weather="weather",g))(as||{}),ds=(t=>(t.Single="single",t.Combo="combo",t))(ds||{}),ls=(t=>(t.Single="single",t.Combo="combo",t))(ls||{}),gs=(d=>(d.Second="second",d.Minute="minute",d.Hour="hour",d.Day="day",d.Week="week",d.Month="month",d.Quarter="quarter",d.Year="year",d))(gs||{}),cs=(t=>(t.Asc="asc",t.Desc="desc",t))(cs||{}),ps=(r=>(r.Minute="minute",r.Hour="hour",r.Day="day",r.Week="week",r.Month="month",r.Quarter="quarter",r.Year="year",r))(ps||{}),fs=(e=>(e.Open="open",e.High="high",e.Low="low",e.Close="close",e))(fs||{}),us=(t=>(t.Asc="asc",t.Desc="desc",t))(us||{}),ys=(r=>(r.Minute="minute",r.Hour="hour",r.Day="day",r.Week="week",r.Month="month",r.Quarter="quarter",r.Year="year",r))(ys||{}),bs=(e=>(e.Open="open",e.High="high",e.Low="low",e.Close="close",e))(bs||{}),ms=(t=>(t.Asc="asc",t.Desc="desc",t))(ms||{}),hs=(r=>(r.Minute="minute",r.Hour="hour",r.Day="day",r.Week="week",r.Month="month",r.Quarter="quarter",r.Year="year",r))(hs||{}),Rs=(e=>(e.Open="open",e.High="high",e.Low="low",e.Close="close",e))(Rs||{}),xs=(t=>(t.Asc="asc",t.Desc="desc",t))(xs||{}),As=(r=>(r.Minute="minute",r.Hour="hour",r.Day="day",r.Week="week",r.Month="month",r.Quarter="quarter",r.Year="year",r))(As||{}),ks=(e=>(e.Open="open",e.High="high",e.Low="low",e.Close="close",e))(ks||{}),_s=(t=>(t.Asc="asc",t.Desc="desc",t))(_s||{}),Gs=(t=>(t.Asc="asc",t.Desc="desc",t))(Gs||{}),Vs=(n=>(n.Ticker="ticker",n))(Vs||{}),Os=(d=>(d.Second="second",d.Minute="minute",d.Hour="hour",d.Day="day",d.Week="week",d.Month="month",d.Quarter="quarter",d.Year="year",d))(Os||{}),Cs=(t=>(t.Asc="asc",t.Desc="desc",t))(Cs||{}),Ss=(t=>(t.Call="call",t.Put="put",t))(Ss||{}),ws=(t=>(t.Asc="asc",t.Desc="desc",t))(ws||{}),vs=(i=>(i.Ticker="ticker",i.ExpirationDate="expiration_date",i.StrikePrice="strike_price",i))(vs||{}),Is=(r=>(r.Minute="minute",r.Hour="hour",r.Day="day",r.Week="week",r.Month="month",r.Quarter="quarter",r.Year="year",r))(Is||{}),Ls=(e=>(e.Open="open",e.High="high",e.Low="low",e.Close="close",e))(Ls||{}),Ts=(t=>(t.Asc="asc",t.Desc="desc",t))(Ts||{}),Ds=(r=>(r.Minute="minute",r.Hour="hour",r.Day="day",r.Week="week",r.Month="month",r.Quarter="quarter",r.Year="year",r))(Ds||{}),Fs=(e=>(e.Open="open",e.High="high",e.Low="low",e.Close="close",e))(Fs||{}),Bs=(t=>(t.Asc="asc",t.Desc="desc",t))(Bs||{}),Us=(t=>(t.Asc="asc",t.Desc="desc",t))(Us||{}),zs=(n=>(n.Timestamp="timestamp",n))(zs||{}),Qs=(r=>(r.Minute="minute",r.Hour="hour",r.Day="day",r.Week="week",r.Month="month",r.Quarter="quarter",r.Year="year",r))(Qs||{}),Es=(e=>(e.Open="open",e.High="high",e.Low="low",e.Close="close",e))(Es||{}),Ms=(t=>(t.Asc="asc",t.Desc="desc",t))(Ms||{}),Hs=(r=>(r.Minute="minute",r.Hour="hour",r.Day="day",r.Week="week",r.Month="month",r.Quarter="quarter",r.Year="year",r))(Hs||{}),js=(e=>(e.Open="open",e.High="high",e.Low="low",e.Close="close",e))(js||{}),Ks=(t=>(t.Asc="asc",t.Desc="desc",t))(Ks||{}),Ns=(t=>(t.Asc="asc",t.Desc="desc",t))(Ns||{}),Xs=(n=>(n.Timestamp="timestamp",n))(Xs||{}),$s=(s=>(s.Stocks="stocks",s.Options="options",s.Crypto="crypto",s.Fx="fx",s.Indices="indices",s))($s||{}),Ys=(t=>(t.Asc="asc",t.Desc="desc",t))(Ys||{}),Ws=(n=>(n.Ticker="ticker",n))(Ws||{}),Js=(d=>(d.Second="second",d.Minute="minute",d.Hour="hour",d.Day="day",d.Week="week",d.Month="month",d.Quarter="quarter",d.Year="year",d))(Js||{}),Zs=(t=>(t.Asc="asc",t.Desc="desc",t))(Zs||{}),qs=(r=>(r.Minute="minute",r.Hour="hour",r.Day="day",r.Week="week",r.Month="month",r.Quarter="quarter",r.Year="year",r))(qs||{}),Ps=(e=>(e.Open="open",e.High="high",e.Low="low",e.Close="close",e))(Ps||{}),no=(t=>(t.Asc="asc",t.Desc="desc",t))(no||{}),eo=(t=>(t.Business="business",t.RiskFactors="risk_factors",t))(eo||{}),to=(t=>(t.Business="business",t.RiskFactors="risk_factors",t))(to||{}),io=(r=>(r.Minute="minute",r.Hour="hour",r.Day="day",r.Week="week",r.Month="month",r.Quarter="quarter",r.Year="year",r))(io||{}),so=(e=>(e.Open="open",e.High="high",e.Low="low",e.Close="close",e))(so||{}),oo=(t=>(t.Asc="asc",t.Desc="desc",t))(oo||{}),ro=(t=>(t.Asc="asc",t.Desc="desc",t))(ro||{}),ao=(n=>(n.Timestamp="timestamp",n))(ao||{}),lo=(r=>(r.Minute="minute",r.Hour="hour",r.Day="day",r.Week="week",r.Month="month",r.Quarter="quarter",r.Year="year",r))(lo||{}),go=(e=>(e.Open="open",e.High="high",e.Low="low",e.Close="close",e))(go||{}),co=(t=>(t.Asc="asc",t.Desc="desc",t))(co||{}),po=(r=>(r.Minute="minute",r.Hour="hour",r.Day="day",r.Week="week",r.Month="month",r.Quarter="quarter",r.Year="year",r))(po||{}),fo=(e=>(e.Open="open",e.High="high",e.Low="low",e.Close="close",e))(fo||{}),uo=(t=>(t.Asc="asc",t.Desc="desc",t))(uo||{}),yo=(t=>(t.Gainers="gainers",t.Losers="losers",t))(yo||{}),bo=(t=>(t.Asc="asc",t.Desc="desc",t))(bo||{}),mo=(n=>(n.Timestamp="timestamp",n))(mo||{}),ho=(s=>(s.Recurring="recurring",s.Special="special",s.Supplemental="supplemental",s.Irregular="irregular",s.Unknown="unknown",s))(ho||{}),Ro=(s=>(s.Recurring="recurring",s.Special="special",s.Supplemental="supplemental",s.Irregular="irregular",s.Unknown="unknown",s))(Ro||{}),xo=(i=>(i.ForwardSplit="forward_split",i.ReverseSplit="reverse_split",i.StockDividend="stock_dividend",i))(xo||{}),Ao=(i=>(i.ForwardSplit="forward_split",i.ReverseSplit="reverse_split",i.StockDividend="stock_dividend",i))(Ao||{}),ko=(r=>(r.DirectListingProcess="direct_listing_process",r.History="history",r.New="new",r.Pending="pending",r.Postponed="postponed",r.Rumor="rumor",r.Withdrawn="withdrawn",r))(ko||{}),_o=(r=>(r.DirectListingProcess="direct_listing_process",r.History="history",r.New="new",r.Pending="pending",r.Postponed="postponed",r.Rumor="rumor",r.Withdrawn="withdrawn",r))(_o||{}),Go=(e=>(e.Stocks="stocks",e.Options="options",e.Crypto="crypto",e.Fx="fx",e))(Go||{}),Vo=(i=>(i.Trade="trade",i.Bbo="bbo",i.Nbbo="nbbo",i))(Vo||{}),Oo=(i=>(i.Cta="CTA",i.Utp="UTP",i.Opra="OPRA",i))(Oo||{}),Co=(t=>(t.Asc="asc",t.Desc="desc",t))(Co||{}),So=(o=>(o.AssetClass="asset_class",o.Id="id",o.Type="type",o.Name="name",o.DataTypes="data_types",o.Legacy="legacy",o))(So||{}),wo=(r=>(r[r.NUMBER_0=0]="NUMBER_0",r[r.NUMBER_1=1]="NUMBER_1",r[r.NUMBER_2=2]="NUMBER_2",r[r.NUMBER_4=4]="NUMBER_4",r[r.NUMBER_12=12]="NUMBER_12",r[r.NUMBER_24=24]="NUMBER_24",r[r.NUMBER_52=52]="NUMBER_52",r))(wo||{}),vo=(e=>(e.Cd="CD",e.Sc="SC",e.Lt="LT",e.St="ST",e))(vo||{}),Io=(t=>(t.Asc="asc",t.Desc="desc",t))(Io||{}),Lo=(o=>(o.ExDividendDate="ex_dividend_date",o.PayDate="pay_date",o.DeclarationDate="declaration_date",o.RecordDate="record_date",o.CashAmount="cash_amount",o.Ticker="ticker",o))(Lo||{}),To=(s=>(s.Stocks="stocks",s.Options="options",s.Crypto="crypto",s.Fx="fx",s.Futures="futures",s))(To||{}),Do=(t=>(t.Us="us",t.Global="global",t))(Do||{}),Fo=(i=>(i.Annual="annual",i.Quarterly="quarterly",i.Ttm="ttm",i))(Fo||{}),Bo=(t=>(t.Asc="asc",t.Desc="desc",t))(Bo||{}),Uo=(t=>(t.FilingDate="filing_date",t.PeriodOfReportDate="period_of_report_date",t))(Uo||{}),zo=(r=>(r.DirectListingProcess="direct_listing_process",r.History="history",r.New="new",r.Pending="pending",r.Postponed="postponed",r.Rumor="rumor",r.Withdrawn="withdrawn",r))(zo||{}),Qo=(t=>(t.Asc="asc",t.Desc="desc",t))(Qo||{}),Eo=(c=>(c.ListingDate="listing_date",c.Ticker="ticker",c.LastUpdated="last_updated",c.SecurityType="security_type",c.IssuerName="issuer_name",c.CurrencyCode="currency_code",c.Isin="isin",c.UsCode="us_code",c.FinalIssuePrice="final_issue_price",c.MinSharesOffered="min_shares_offered",c.MaxSharesOffered="max_shares_offered",c.LowestOfferPrice="lowest_offer_price",c.HighestOfferPrice="highest_offer_price",c.TotalOfferSize="total_offer_size",c.SharesOutstanding="shares_outstanding",c.PrimaryExchange="primary_exchange",c.LotSize="lot_size",c.SecurityDescription="security_description",c.IpoStatus="ipo_status",c.AnnouncedDate="announced_date",c))(Eo||{}),Mo=(t=>(t.Asc="asc",t.Desc="desc",t))(Mo||{}),Ho=(n=>(n.PublishedUtc="published_utc",n))(Ho||{}),jo=(t=>(t.Call="call",t.Put="put",t))(jo||{}),Ko=(t=>(t.Asc="asc",t.Desc="desc",t))(Ko||{}),No=(e=>(e.Ticker="ticker",e.UnderlyingTicker="underlying_ticker",e.ExpirationDate="expiration_date",e.StrikePrice="strike_price",e))(No||{}),Xo=(t=>(t.Asc="asc",t.Desc="desc",t))(Xo||{}),$o=(t=>(t.ExecutionDate="execution_date",t.Ticker="ticker",t))($o||{}),Yo=(s=>(s.Stocks="stocks",s.Options="options",s.Crypto="crypto",s.Fx="fx",s.Indices="indices",s))(Yo||{}),Wo=(t=>(t.Us="us",t.Global="global",t))(Wo||{}),Jo=(V=>(V.Cs="CS",V.Adrc="ADRC",V.Adrp="ADRP",V.Adrr="ADRR",V.Unit="UNIT",V.Right="RIGHT",V.Pfd="PFD",V.Fund="FUND",V.Sp="SP",V.Warrant="WARRANT",V.Index="INDEX",V.Etf="ETF",V.Etn="ETN",V.Os="OS",V.Gdr="GDR",V.Other="OTHER",V.Nyrs="NYRS",V.Agen="AGEN",V.Eqlk="EQLK",V.Bond="BOND",V.Adrw="ADRW",V.Basket="BASKET",V.Lt="LT",V))(Jo||{}),Zo=(s=>(s.Stocks="stocks",s.Crypto="crypto",s.Fx="fx",s.Otc="otc",s.Indices="indices",s))(Zo||{}),qo=(t=>(t.Asc="asc",t.Desc="desc",t))(qo||{}),Po=(y=>(y.Ticker="ticker",y.Name="name",y.Market="market",y.Locale="locale",y.PrimaryExchange="primary_exchange",y.Type="type",y.CurrencySymbol="currency_symbol",y.CurrencyName="currency_name",y.BaseCurrencySymbol="base_currency_symbol",y.BaseCurrencyName="base_currency_name",y.Cik="cik",y.CompositeFigi="composite_figi",y.ShareClassFigi="share_class_figi",y.LastUpdatedUtc="last_updated_utc",y.DelistedUtc="delisted_utc",y))(Po||{});var Ce=class{constructor(n={}){this.apiKey=n.apiKey,this.username=n.username,this.password=n.password,this.accessToken=n.accessToken,this.awsv4=n.awsv4,this.basePath=n.basePath,this.serverIndex=n.serverIndex,this.baseOptions={...n.baseOptions,headers:{...n.baseOptions?.headers}},this.formDataCtor=n.formDataCtor}isJsonMime(n){let t=new RegExp("^(application/json|[^;/ ]+/[^;/ ]+[+]json)[ ]*(;.*)?$","i");return n!==null&&(t.test(n)||n.toLowerCase()==="application/json-patch+json")}};import nr from"websocket";var Gn=(a,n)=>{if(!n)throw new Error("api key not provided.");let t=new nr.w3cwebsocket(a);return t.onopen=()=>{t.send(JSON.stringify({action:"auth",params:n}))},t};var Ie=(a,n="wss://socket.massive.com")=>Gn(`${n}/crypto`,a);var Le=(a,n="wss://socket.massive.com")=>Gn(`${n}/forex`,a);var Te=(a,n="wss://socket.massive.com")=>Gn(`${n}/indices`,a);var De=(a,n="wss://socket.massive.com")=>Gn(`${n}/options`,a);var Fe=(a,n="wss://socket.massive.com")=>Gn(`${n}/stocks`,a);var Be=(a,n="wss://socket.massive.com",t)=>Gn(`${n}/futures${t?`/${t}`:""}`,a);var er=(a,n,t)=>({crypto:()=>Ie(a,n),forex:()=>Le(a,n),indices:()=>Te(a,n),options:()=>De(a,n),stocks:()=>Fe(a,n),futures:()=>Be(a,n,t)}),Ue=er;import tr from"axios";var ir=(a,n,t)=>{let i=new Ce({apiKey:a}),e="https://api.massive.com",s=tr.create();return s.interceptors.response.use(async o=>{if(t?.pagination&&o?.data?.next_url){let r=await s.get(`${o.data.next_url}&apiKey=${a}`),{results:d,count:l}=r;return{...o.data,results:[...d,...o.data?.results],...o.data?.count&&{count:o.data.count+l}}}return o?.data}),new Oe(i,n||e,s)},sr=(a,n,t,i)=>({rest:ir(a,n,i),websockets:Ue(a,t)}),ta=sr;export{Ce as Configuration,Oe as DefaultApi,fi as DefaultApiAxiosParamCreator,Rr as DefaultApiFactory,E as DefaultApiFp,Ee as FinancialsPeriodEnum,Me as GetBenzingaV1AnalystInsights200ResponseStatusEnum,He as GetBenzingaV1AnalystInsights400ResponseStatusEnum,je as GetBenzingaV1Analysts200ResponseStatusEnum,Ke as GetBenzingaV1BullsBearsSay200ResponseStatusEnum,Ne as GetBenzingaV1ConsensusRatings200ResponseStatusEnum,Xe as GetBenzingaV1Earnings200ResponseStatusEnum,$e as GetBenzingaV1Firms200ResponseStatusEnum,Ye as GetBenzingaV1Guidance200ResponseStatusEnum,We as GetBenzingaV1Ratings200ResponseStatusEnum,Je as GetBenzingaV2News200ResponseStatusEnum,yi as GetCryptoAggregatesSortEnum,ui as GetCryptoAggregatesTimespanEnum,hi as GetCryptoEMAOrderEnum,mi as GetCryptoEMASeriesTypeEnum,bi as GetCryptoEMATimespanEnum,Ai as GetCryptoMACDOrderEnum,xi as GetCryptoMACDSeriesTypeEnum,Ri as GetCryptoMACDTimespanEnum,Gi as GetCryptoRSIOrderEnum,_i as GetCryptoRSISeriesTypeEnum,ki as GetCryptoRSITimespanEnum,Ci as GetCryptoSMAOrderEnum,Oi as GetCryptoSMASeriesTypeEnum,Vi as GetCryptoSMATimespanEnum,Si as GetCryptoSnapshotDirectionDirectionEnum,wi as GetCryptoTradesOrderEnum,vi as GetCryptoTradesSortEnum,Ze as GetCryptoV1Exchanges200ResponseStatusEnum,Ii as GetCurrencyConversionPrecisionEnum,qe as GetEtfGlobalV1Analytics200ResponseStatusEnum,Pe as GetEtfGlobalV1Constituents200ResponseStatusEnum,nt as GetEtfGlobalV1FundFlows200ResponseStatusEnum,et as GetEtfGlobalV1Profiles200ResponseStatusEnum,tt as GetEtfGlobalV1Taxonomies200ResponseStatusEnum,it as GetFedV1Inflation200ResponseStatusEnum,st as GetFedV1InflationExpectations200ResponseStatusEnum,ot as GetFedV1LaborMarket200ResponseStatusEnum,rt as GetFedV1TreasuryYields200ResponseStatusEnum,Ti as GetForexAggregatesSortEnum,Li as GetForexAggregatesTimespanEnum,Bi as GetForexEMAOrderEnum,Fi as GetForexEMASeriesTypeEnum,Di as GetForexEMATimespanEnum,Qi as GetForexMACDOrderEnum,zi as GetForexMACDSeriesTypeEnum,Ui as GetForexMACDTimespanEnum,Ei as GetForexQuotesOrderEnum,Mi as GetForexQuotesSortEnum,Ki as GetForexRSIOrderEnum,ji as GetForexRSISeriesTypeEnum,Hi as GetForexRSITimespanEnum,$i as GetForexSMAOrderEnum,Xi as GetForexSMASeriesTypeEnum,Ni as GetForexSMATimespanEnum,Yi as GetForexSnapshotDirectionDirectionEnum,at as GetForexV1Exchanges200ResponseStatusEnum,Wi as GetFuturesAggregatesSortEnum,Ji as GetFuturesQuotesSortEnum,Zi as GetFuturesTradesSortEnum,dt as GetFuturesVXContracts200ResponseStatusEnum,Pi as GetFuturesVXContractsTypeAnyOfEnum,qi as GetFuturesVXContractsTypeEnum,lt as GetFuturesVXExchanges200ResponseStatusEnum,gt as GetFuturesVXMarketStatus200ResponseStatusEnum,ct as GetFuturesVXProducts200ResponseStatusEnum,os as GetFuturesVXProductsAssetClassAnyOfEnum,ss as GetFuturesVXProductsAssetClassEnum,as as GetFuturesVXProductsAssetSubClassAnyOfEnum,rs as GetFuturesVXProductsAssetSubClassEnum,es as GetFuturesVXProductsSectorAnyOfEnum,ns as GetFuturesVXProductsSectorEnum,is as GetFuturesVXProductsSubSectorAnyOfEnum,ts as GetFuturesVXProductsSubSectorEnum,ls as GetFuturesVXProductsTypeAnyOfEnum,ds as GetFuturesVXProductsTypeEnum,pt as GetFuturesVXQuotesNew200ResponseStatusEnum,ft as GetFuturesVXSchedules200ResponseStatusEnum,ut as GetFuturesVXSnapshot200ResponseStatusEnum,yt as GetFuturesVXTradesNew200ResponseStatusEnum,cs as GetIndicesAggregatesSortEnum,gs as GetIndicesAggregatesTimespanEnum,us as GetIndicesEMAOrderEnum,fs as GetIndicesEMASeriesTypeEnum,ps as GetIndicesEMATimespanEnum,ms as GetIndicesMACDOrderEnum,bs as GetIndicesMACDSeriesTypeEnum,ys as GetIndicesMACDTimespanEnum,xs as GetIndicesRSIOrderEnum,Rs as GetIndicesRSISeriesTypeEnum,hs as GetIndicesRSITimespanEnum,_s as GetIndicesSMAOrderEnum,ks as GetIndicesSMASeriesTypeEnum,As as GetIndicesSMATimespanEnum,bt as GetIndicesSnapshot200ResponseResultsInnerTimeframeEnum,mt as GetIndicesSnapshot200ResponseResultsInnerTypeEnum,Gs as GetIndicesSnapshotOrderEnum,Vs as GetIndicesSnapshotSortEnum,Cs as GetOptionsAggregatesSortEnum,Os as GetOptionsAggregatesTimespanEnum,ht as GetOptionsChain200ResponseResultsInnerDetailsContractTypeEnum,Rt as GetOptionsChain200ResponseResultsInnerDetailsExerciseStyleEnum,xt as GetOptionsChain200ResponseResultsInnerLastQuoteTimeframeEnum,At as GetOptionsChain200ResponseResultsInnerLastTradeTimeframeEnum,Ss as GetOptionsChainContractTypeEnum,ws as GetOptionsChainOrderEnum,vs as GetOptionsChainSortEnum,Ts as GetOptionsEMAOrderEnum,Ls as GetOptionsEMASeriesTypeEnum,Is as GetOptionsEMATimespanEnum,Bs as GetOptionsMACDOrderEnum,Fs as GetOptionsMACDSeriesTypeEnum,Ds as GetOptionsMACDTimespanEnum,Us as GetOptionsQuotesOrderEnum,zs as GetOptionsQuotesSortEnum,Ms as GetOptionsRSIOrderEnum,Es as GetOptionsRSISeriesTypeEnum,Qs as GetOptionsRSITimespanEnum,Ks as GetOptionsSMAOrderEnum,js as GetOptionsSMASeriesTypeEnum,Hs as GetOptionsSMATimespanEnum,Ns as GetOptionsTradesOrderEnum,Xs as GetOptionsTradesSortEnum,kt as GetOptionsV1Exchanges200ResponseStatusEnum,Gt as GetSnapshotSummary200ResponseResultsInnerOptionsContractTypeEnum,Vt as GetSnapshotSummary200ResponseResultsInnerOptionsExerciseStyleEnum,_t as GetSnapshotSummary200ResponseResultsInnerTypeEnum,St as GetSnapshots200ResponseResultsInnerDetailsContractTypeEnum,wt as GetSnapshots200ResponseResultsInnerDetailsExerciseStyleEnum,vt as GetSnapshots200ResponseResultsInnerLastQuoteTimeframeEnum,It as GetSnapshots200ResponseResultsInnerLastTradeTimeframeEnum,Ot as GetSnapshots200ResponseResultsInnerTimeframeEnum,Ct as GetSnapshots200ResponseResultsInnerTypeEnum,Lt as GetSnapshots200ResponseResultsInnerUnderlyingAssetTimeframeEnum,Ys as GetSnapshotsOrderEnum,Ws as GetSnapshotsSortEnum,$s as GetSnapshotsTypeEnum,Zs as GetStocksAggregatesSortEnum,Js as GetStocksAggregatesTimespanEnum,no as GetStocksEMAOrderEnum,Ps as GetStocksEMASeriesTypeEnum,qs as GetStocksEMATimespanEnum,Tt as GetStocksFilings10KVXSections200ResponseStatusEnum,to as GetStocksFilings10KVXSectionsSectionAnyOfEnum,eo as GetStocksFilings10KVXSectionsSectionEnum,Dt as GetStocksFilings8KVXText200ResponseStatusEnum,Ft as GetStocksFilingsVXIndex200ResponseStatusEnum,Bt as GetStocksFilingsVXRiskFactors200ResponseStatusEnum,Ut as GetStocksFinancialsV1BalanceSheets200ResponseStatusEnum,zt as GetStocksFinancialsV1CashFlowStatements200ResponseStatusEnum,Qt as GetStocksFinancialsV1IncomeStatements200ResponseStatusEnum,Et as GetStocksFinancialsV1Ratios200ResponseStatusEnum,oo as GetStocksMACDOrderEnum,so as GetStocksMACDSeriesTypeEnum,io as GetStocksMACDTimespanEnum,ro as GetStocksQuotesOrderEnum,ao as GetStocksQuotesSortEnum,co as GetStocksRSIOrderEnum,go as GetStocksRSISeriesTypeEnum,lo as GetStocksRSITimespanEnum,uo as GetStocksSMAOrderEnum,fo as GetStocksSMASeriesTypeEnum,po as GetStocksSMATimespanEnum,yo as GetStocksSnapshotDirectionDirectionEnum,Mt as GetStocksTaxonomiesVXRiskFactors200ResponseStatusEnum,bo as GetStocksTradesOrderEnum,mo as GetStocksTradesSortEnum,Ht as GetStocksV1Dividends200ResponseStatusEnum,Ro as GetStocksV1DividendsDistributionTypeAnyOfEnum,ho as GetStocksV1DividendsDistributionTypeEnum,jt as GetStocksV1Exchanges200ResponseStatusEnum,Kt as GetStocksV1ShortInterest200ResponseStatusEnum,Nt as GetStocksV1ShortVolume200ResponseStatusEnum,Xt as GetStocksV1Splits200ResponseStatusEnum,Ao as GetStocksV1SplitsAdjustmentTypeAnyOfEnum,xo as GetStocksV1SplitsAdjustmentTypeEnum,$t as GetStocksVXFloat200ResponseStatusEnum,Yt as GetTicker200ResponseResultsLocaleEnum,Wt as GetTicker200ResponseResultsMarketEnum,Jt as GetTmxV1CorporateEvents200ResponseStatusEnum,Zt as GetV1ReferenceIpos200ResponseStatusEnum,_o as GetV1ReferenceIposIpoStatusAnyOfEnum,ko as GetV1ReferenceIposIpoStatusEnum,qt as ListConditions200ResponseResultsInnerAssetClassEnum,Pt as ListConditions200ResponseResultsInnerDataTypesEnum,ni as ListConditions200ResponseResultsInnerTypeEnum,Go as ListConditionsAssetClassEnum,Vo as ListConditionsDataTypeEnum,Co as ListConditionsOrderEnum,Oo as ListConditionsSipEnum,So as ListConditionsSortEnum,ei as ListDividends200ResponseResultsInnerDividendTypeEnum,vo as ListDividendsDividendTypeEnum,wo as ListDividendsFrequencyEnum,Io as ListDividendsOrderEnum,Lo as ListDividendsSortEnum,ti as ListExchanges200ResponseResultsInnerAssetClassEnum,ii as ListExchanges200ResponseResultsInnerLocaleEnum,si as ListExchanges200ResponseResultsInnerTypeEnum,To as ListExchangesAssetClassEnum,Do as ListExchangesLocaleEnum,Bo as ListFinancialsOrderEnum,Uo as ListFinancialsSortEnum,Fo as ListFinancialsTimeframeEnum,oi as ListIPOs200ResponseResultsInnerIpoStatusEnum,zo as ListIPOsIpoStatusEnum,Qo as ListIPOsOrderEnum,Eo as ListIPOsSortEnum,ri as ListNews200ResponseResultsInnerInsightsInnerSentimentEnum,Mo as ListNewsOrderEnum,Ho as ListNewsSortEnum,ai as ListOptionsContracts200ResponseResultsInnerExerciseStyleEnum,jo as ListOptionsContractsContractTypeEnum,Ko as ListOptionsContractsOrderEnum,No as ListOptionsContractsSortEnum,Xo as ListStockSplitsOrderEnum,$o as ListStockSplitsSortEnum,di as ListTickerTypes200ResponseResultsInnerAssetClassEnum,li as ListTickerTypes200ResponseResultsInnerLocaleEnum,Yo as ListTickerTypesAssetClassEnum,Wo as ListTickerTypesLocaleEnum,gi as ListTickers200ResponseResultsInnerLocaleEnum,ci as ListTickers200ResponseResultsInnerMarketEnum,Zo as ListTickersMarketEnum,qo as ListTickersOrderEnum,Po as ListTickersSortEnum,Jo as ListTickersTypeEnum,pi as MapKeyTypeEnum,sr as MassiveClient,ta as default,Ie as getCryptoWebsocket,Le as getForexWebsocket,Be as getFuturesWebsocket,Te as getIndicesWebsocket,De as getOptionsWebsocket,Fe as getStocksWebsocket,ir as restClient,er as websocketClient};