@massive.com/client-js 10.1.0 → 10.2.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.d.ts +1937 -1866
- package/dist/main.js +1 -1
- package/massive.com-client-js-10.2.0.tgz +0 -0
- package/package.json +1 -1
- package/massive.com-client-js-10.1.0.tgz +0 -0
package/dist/main.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import Q from"axios";import Qn from"axios";var I="https://api.massive.com".replace(/\/+$/,"");var Gn=class{constructor(e,t=I,i=Qn){this.basePath=t;this.axios=i;e&&(this.configuration=e,this.basePath=e.basePath??t)}},On=class extends Error{constructor(t,i){super(i);this.field=t;this.name="RequiredError"}},D={};var L="https://example.com",N=function(a,e,t){if(t==null)throw new On(e,`Required parameter ${e} was null or undefined when calling ${a}.`)},T=async function(a,e,t){if(t&&t.apiKey){let i=typeof t.apiKey=="function"?await t.apiKey(e):await t.apiKey;a[e]=i}};function vn(a,e,t=""){e!=null&&(typeof e=="object"?Array.isArray(e)?e.forEach(i=>vn(a,i,t)):Object.keys(e).forEach(i=>vn(a,e[i],`${t}${t!==""?".":""}${i}`)):a.has(t)?a.append(t,e):a.set(t,e))}var F=function(a,...e){let t=new URLSearchParams(a.search);vn(t,e),a.search=t.toString()};var U=function(a){return a.pathname+a.search+a.hash},B=function(a,e,t,i){return(n=e,s=t)=>{let o={...a.options,url:(n.defaults.baseURL?"":i?.basePath??s)+a.url};return n.request(o)}};var zn=(o=>(o.Q="Q",o.T="T",o.Qa="QA",o.Ta="TA",o.Y="Y",o.Ya="YA",o))(zn||{}),Mn=(e=>(e.Ok="OK",e))(Mn||{}),Hn=(e=>(e.Error="ERROR",e))(Hn||{}),jn=(e=>(e.Ok="OK",e))(jn||{}),Kn=(e=>(e.Ok="OK",e))(Kn||{}),Nn=(e=>(e.Ok="OK",e))(Nn||{}),Xn=(e=>(e.Ok="OK",e))(Xn||{}),$n=(e=>(e.Ok="OK",e))($n||{}),Yn=(e=>(e.Ok="OK",e))(Yn||{}),Wn=(e=>(e.Ok="OK",e))(Wn||{}),Jn=(e=>(e.Ok="OK",e))(Jn||{}),Zn=(e=>(e.Ok="OK",e))(Zn||{}),qn=(e=>(e.Ok="OK",e))(qn||{}),Pn=(e=>(e.Ok="OK",e))(Pn||{}),et=(e=>(e.Ok="OK",e))(et||{}),nt=(e=>(e.Ok="OK",e))(nt||{}),tt=(e=>(e.Ok="OK",e))(tt||{}),it=(e=>(e.Ok="OK",e))(it||{}),st=(e=>(e.Ok="OK",e))(st||{}),ot=(e=>(e.Ok="OK",e))(ot||{}),rt=(s=>(s.PreOpen="pre_open",s.Open="open",s.Close="close",s.Pause="pause",s.PostClosePreOpen="post_close_pre_open",s))(rt||{}),at=(s=>(s.PreOpen="pre_open",s.Open="open",s.Close="close",s.Pause="pause",s.PostClosePreOpen="post_close_pre_open",s))(at||{}),dt=(t=>(t.ExchangeOnly="exchange_only",t.ExchangeAndOtc="exchange_and_otc",t))(dt||{}),lt=(e=>(e.Ok="OK",e))(lt||{}),gt=(e=>(e.Ok="OK",e))(gt||{}),ct=(e=>(e.Ok="OK",e))(ct||{}),pt=(e=>(e.Ok="OK",e))(pt||{}),ut=(t=>(t.Delayed="DELAYED",t.RealTime="REAL-TIME",t))(ut||{}),ft=(e=>(e.Indices="indices",e))(ft||{}),yt=(i=>(i.Put="put",i.Call="call",i.Other="other",i))(yt||{}),bt=(i=>(i.American="american",i.European="european",i.Bermudan="bermudan",i))(bt||{}),mt=(t=>(t.Delayed="DELAYED",t.RealTime="REAL-TIME",t))(mt||{}),ht=(t=>(t.Delayed="DELAYED",t.RealTime="REAL-TIME",t))(ht||{}),Rt=(e=>(e.Ok="OK",e))(Rt||{}),xt=(n=>(n.Stocks="stocks",n.Crypto="crypto",n.Options="options",n.Fx="fx",n))(xt||{}),At=(i=>(i.Put="put",i.Call="call",i.Other="other",i))(At||{}),_t=(i=>(i.American="american",i.European="european",i.Bermudan="bermudan",i))(_t||{}),kt=(t=>(t.Delayed="DELAYED",t.RealTime="REAL-TIME",t))(kt||{}),Gt=(s=>(s.Stocks="stocks",s.Options="options",s.Fx="fx",s.Crypto="crypto",s.Indices="indices",s))(Gt||{}),Ot=(i=>(i.Put="put",i.Call="call",i.Other="other",i))(Ot||{}),Ct=(i=>(i.American="american",i.European="european",i.Bermudan="bermudan",i))(Ct||{}),Vt=(t=>(t.Delayed="DELAYED",t.RealTime="REAL-TIME",t))(Vt||{}),St=(t=>(t.Delayed="DELAYED",t.RealTime="REAL-TIME",t))(St||{}),wt=(t=>(t.Delayed="DELAYED",t.RealTime="REAL-TIME",t))(wt||{}),vt=(e=>(e.Ok="OK",e))(vt||{}),It=(e=>(e.Ok="OK",e))(It||{}),Dt=(e=>(e.Ok="OK",e))(Dt||{}),Lt=(e=>(e.Ok="OK",e))(Lt||{}),Tt=(e=>(e.Ok="OK",e))(Tt||{}),Ft=(e=>(e.Ok="OK",e))(Ft||{}),Ut=(e=>(e.Ok="OK",e))(Ut||{}),Bt=(e=>(e.Ok="OK",e))(Bt||{}),Et=(e=>(e.Ok="OK",e))(Et||{}),Qt=(e=>(e.Ok="OK",e))(Qt||{}),zt=(e=>(e.Ok="OK",e))(zt||{}),Mt=(e=>(e.Ok="OK",e))(Mt||{}),Ht=(t=>(t.Us="us",t.Global="global",t))(Ht||{}),jt=(s=>(s.Stocks="stocks",s.Crypto="crypto",s.Fx="fx",s.Otc="otc",s.Indices="indices",s))(jt||{}),Kt=(e=>(e.Ok="OK",e))(Kt||{}),Nt=(n=>(n.Stocks="stocks",n.Options="options",n.Crypto="crypto",n.Fx="fx",n))(Nt||{}),Xt=(i=>(i.Trade="trade",i.Bbo="bbo",i.Nbbo="nbbo",i))(Xt||{}),$t=(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))($t||{}),Yt=(n=>(n.Cd="CD",n.Sc="SC",n.Lt="LT",n.St="ST",n))(Yt||{}),Wt=(s=>(s.Stocks="stocks",s.Options="options",s.Crypto="crypto",s.Fx="fx",s.Futures="futures",s))(Wt||{}),Jt=(t=>(t.Us="us",t.Global="global",t))(Jt||{}),Zt=(i=>(i.Exchange="exchange",i.Trf="TRF",i.Sip="SIP",i))(Zt||{}),qt=(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))(qt||{}),Pt=(i=>(i.Positive="positive",i.Neutral="neutral",i.Negative="negative",i))(Pt||{}),ei=(i=>(i.American="american",i.European="european",i.Bermudan="bermudan",i))(ei||{}),ni=(s=>(s.Stocks="stocks",s.Options="options",s.Crypto="crypto",s.Fx="fx",s.Indices="indices",s))(ni||{}),ti=(t=>(t.Us="us",t.Global="global",t))(ti||{}),ii=(t=>(t.Us="us",t.Global="global",t))(ii||{}),si=(s=>(s.Stocks="stocks",s.Crypto="crypto",s.Fx="fx",s.Otc="otc",s.Indices="indices",s))(si||{}),oi=(n=>(n.String="string",n.Int="int",n.Int64="int64",n.Float64="float64",n))(oi||{}),ri=function(a){return{deprecatedGetCryptoSnapshotTickerBook:async(e,t={})=>{N("deprecatedGetCryptoSnapshotTickerBook","ticker",e);let i="/v2/snapshot/locale/global/markets/crypto/tickers/{ticker}/book".replace("{ticker}",encodeURIComponent(String(e))),n=new URL(i,L),s;a&&(s=a.baseOptions);let o={method:"GET",...s,...t},r={},d={};await T(d,"apiKey",a),F(n,d);let l=s&&s.headers?s.headers:{};return o.headers={...r,...l,...t.headers},{url:U(n),options:o}},deprecatedGetHistoricCryptoTrades:async(e,t,i,n,s,o={})=>{N("deprecatedGetHistoricCryptoTrades","from",e),N("deprecatedGetHistoricCryptoTrades","to",t),N("deprecatedGetHistoricCryptoTrades","date",i);let r="/v1/historic/crypto/{from}/{to}/{date}".replace("{from}",encodeURIComponent(String(e))).replace("{to}",encodeURIComponent(String(t))).replace("{date}",encodeURIComponent(String(i))),d=new URL(r,L),l;a&&(l=a.baseOptions);let g={method:"GET",...l,...o},f={},p={};await T(p,"apiKey",a),n!==void 0&&(p.offset=n),s!==void 0&&(p.limit=s),F(d,p);let y=l&&l.headers?l.headers:{};return g.headers={...f,...y,...o.headers},{url:U(d),options:g}},deprecatedGetHistoricForexQuotes:async(e,t,i,n,s,o={})=>{N("deprecatedGetHistoricForexQuotes","from",e),N("deprecatedGetHistoricForexQuotes","to",t),N("deprecatedGetHistoricForexQuotes","date",i);let r="/v1/historic/forex/{from}/{to}/{date}".replace("{from}",encodeURIComponent(String(e))).replace("{to}",encodeURIComponent(String(t))).replace("{date}",encodeURIComponent(String(i))),d=new URL(r,L),l;a&&(l=a.baseOptions);let g={method:"GET",...l,...o},f={},p={};await T(p,"apiKey",a),n!==void 0&&(p.offset=n),s!==void 0&&(p.limit=s),F(d,p);let y=l&&l.headers?l.headers:{};return g.headers={...f,...y,...o.headers},{url:U(d),options:g}},deprecatedGetHistoricStocksQuotes:async(e,t,i,n,s,o,r={})=>{N("deprecatedGetHistoricStocksQuotes","ticker",e),N("deprecatedGetHistoricStocksQuotes","date",t);let d="/v2/ticks/stocks/nbbo/{ticker}/{date}".replace("{ticker}",encodeURIComponent(String(e))).replace("{date}",encodeURIComponent(String(t))),l=new URL(d,L),g;a&&(g=a.baseOptions);let f={method:"GET",...g,...r},p={},y={};await T(y,"apiKey",a),i!==void 0&&(y.timestamp=i),n!==void 0&&(y.timestampLimit=n),s!==void 0&&(y.reverse=s),o!==void 0&&(y.limit=o),F(l,y);let m=g&&g.headers?g.headers:{};return f.headers={...p,...m,...r.headers},{url:U(l),options:f}},deprecatedGetHistoricStocksTrades:async(e,t,i,n,s,o,r={})=>{N("deprecatedGetHistoricStocksTrades","ticker",e),N("deprecatedGetHistoricStocksTrades","date",t);let d="/v2/ticks/stocks/trades/{ticker}/{date}".replace("{ticker}",encodeURIComponent(String(e))).replace("{date}",encodeURIComponent(String(t))),l=new URL(d,L),g;a&&(g=a.baseOptions);let f={method:"GET",...g,...r},p={},y={};await T(y,"apiKey",a),i!==void 0&&(y.timestamp=i),n!==void 0&&(y.timestampLimit=n),s!==void 0&&(y.reverse=s),o!==void 0&&(y.limit=o),F(l,y);let m=g&&g.headers?g.headers:{};return f.headers={...p,...m,...r.headers},{url:U(l),options:f}},getBenzingaV1AnalystInsights:async(e,t,i,n,s,o,r,d,l,g,f,p,y,m,u,b,h,x,R,c,_,A,k,w,G,M,O,X,v,K,J,S,V,j,Y,se,ae,de,re,ie,ne,$,W,C={})=>{let le="/benzinga/v1/analyst-insights",pe=new URL(le,L),ge;a&&(ge=a.baseOptions);let ce={method:"GET",...ge,...C},ue={},Z={};await T(Z,"apiKey",a),e!==void 0&&(Z.date=e),t!==void 0&&(Z["date.any_of"]=t),i!==void 0&&(Z["date.gt"]=i),n!==void 0&&(Z["date.gte"]=n),s!==void 0&&(Z["date.lt"]=s),o!==void 0&&(Z["date.lte"]=o),r!==void 0&&(Z.ticker=r),d!==void 0&&(Z["ticker.any_of"]=d),l!==void 0&&(Z["ticker.gt"]=l),g!==void 0&&(Z["ticker.gte"]=g),f!==void 0&&(Z["ticker.lt"]=f),p!==void 0&&(Z["ticker.lte"]=p),y!==void 0&&(Z.last_updated=y),m!==void 0&&(Z["last_updated.gt"]=m),u!==void 0&&(Z["last_updated.gte"]=u),b!==void 0&&(Z["last_updated.lt"]=b),h!==void 0&&(Z["last_updated.lte"]=h),x!==void 0&&(Z.firm=x),R!==void 0&&(Z["firm.any_of"]=R),c!==void 0&&(Z["firm.gt"]=c),_!==void 0&&(Z["firm.gte"]=_),A!==void 0&&(Z["firm.lt"]=A),k!==void 0&&(Z["firm.lte"]=k),w!==void 0&&(Z.rating_action=w),G!==void 0&&(Z["rating_action.any_of"]=G),M!==void 0&&(Z["rating_action.gt"]=M),O!==void 0&&(Z["rating_action.gte"]=O),X!==void 0&&(Z["rating_action.lt"]=X),v!==void 0&&(Z["rating_action.lte"]=v),K!==void 0&&(Z.benzinga_firm_id=K),J!==void 0&&(Z["benzinga_firm_id.any_of"]=J),S!==void 0&&(Z["benzinga_firm_id.gt"]=S),V!==void 0&&(Z["benzinga_firm_id.gte"]=V),j!==void 0&&(Z["benzinga_firm_id.lt"]=j),Y!==void 0&&(Z["benzinga_firm_id.lte"]=Y),se!==void 0&&(Z.benzinga_rating_id=se),ae!==void 0&&(Z["benzinga_rating_id.any_of"]=ae),de!==void 0&&(Z["benzinga_rating_id.gt"]=de),re!==void 0&&(Z["benzinga_rating_id.gte"]=re),ie!==void 0&&(Z["benzinga_rating_id.lt"]=ie),ne!==void 0&&(Z["benzinga_rating_id.lte"]=ne),$!==void 0&&(Z.limit=$),W!==void 0&&(Z.sort=W),F(pe,Z);let q=ge&&ge.headers?ge.headers:{};return ce.headers={...ue,...q,...C.headers},{url:U(pe),options:ce}},getBenzingaV1Analysts:async(e,t,i,n,s,o,r,d,l,g,f,p,y,m,u,b,h,x,R,c,_,A,k,w,G,M,O={})=>{let X="/benzinga/v1/analysts",v=new URL(X,L),K;a&&(K=a.baseOptions);let J={method:"GET",...K,...O},S={},V={};await T(V,"apiKey",a),e!==void 0&&(V.benzinga_id=e),t!==void 0&&(V["benzinga_id.any_of"]=t),i!==void 0&&(V["benzinga_id.gt"]=i),n!==void 0&&(V["benzinga_id.gte"]=n),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),f!==void 0&&(V["benzinga_firm_id.lt"]=f),p!==void 0&&(V["benzinga_firm_id.lte"]=p),y!==void 0&&(V.firm_name=y),m!==void 0&&(V["firm_name.any_of"]=m),u!==void 0&&(V["firm_name.gt"]=u),b!==void 0&&(V["firm_name.gte"]=b),h!==void 0&&(V["firm_name.lt"]=h),x!==void 0&&(V["firm_name.lte"]=x),R!==void 0&&(V.full_name=R),c!==void 0&&(V["full_name.any_of"]=c),_!==void 0&&(V["full_name.gt"]=_),A!==void 0&&(V["full_name.gte"]=A),k!==void 0&&(V["full_name.lt"]=k),w!==void 0&&(V["full_name.lte"]=w),G!==void 0&&(V.limit=G),M!==void 0&&(V.sort=M),F(v,V);let j=K&&K.headers?K.headers:{};return J.headers={...S,...j,...O.headers},{url:U(v),options:J}},getBenzingaV1ConsensusRatings:async(e,t,i,n,s,o,r,d,l={})=>{N("getBenzingaV1ConsensusRatings","ticker",e);let g="/benzinga/v1/consensus-ratings/{ticker}".replace("{ticker}",encodeURIComponent(String(e))),f=new URL(g,L),p;a&&(p=a.baseOptions);let y={method:"GET",...p,...l},m={},u={};await T(u,"apiKey",a),t!==void 0&&(u.date=t),i!==void 0&&(u["date.any_of"]=i),n!==void 0&&(u["date.gt"]=n),s!==void 0&&(u["date.gte"]=s),o!==void 0&&(u["date.lt"]=o),r!==void 0&&(u["date.lte"]=r),d!==void 0&&(u.limit=d),F(f,u);let b=p&&p.headers?p.headers:{};return y.headers={...m,...b,...l.headers},{url:U(f),options:y}},getBenzingaV1Earnings:async(e,t,i,n,s,o,r,d,l,g,f,p,y,m,u,b,h,x,R,c,_,A,k,w,G,M,O,X,v,K,J,S,V,j,Y,se,ae,de,re,ie,ne,$,W,C,le,pe,ge,ce,ue,Z,q,ye,fe,be,P,z,me={})=>{let he="/benzinga/v1/earnings",xe=new URL(he,L),Re;a&&(Re=a.baseOptions);let te={method:"GET",...Re,...me},Ae={},oe={};await T(oe,"apiKey",a),e!==void 0&&(oe.date=e),t!==void 0&&(oe["date.any_of"]=t),i!==void 0&&(oe["date.gt"]=i),n!==void 0&&(oe["date.gte"]=n),s!==void 0&&(oe["date.lt"]=s),o!==void 0&&(oe["date.lte"]=o),r!==void 0&&(oe.ticker=r),d!==void 0&&(oe["ticker.any_of"]=d),l!==void 0&&(oe["ticker.gt"]=l),g!==void 0&&(oe["ticker.gte"]=g),f!==void 0&&(oe["ticker.lt"]=f),p!==void 0&&(oe["ticker.lte"]=p),y!==void 0&&(oe.importance=y),m!==void 0&&(oe["importance.any_of"]=m),u!==void 0&&(oe["importance.gt"]=u),b!==void 0&&(oe["importance.gte"]=b),h!==void 0&&(oe["importance.lt"]=h),x!==void 0&&(oe["importance.lte"]=x),R!==void 0&&(oe.last_updated=R),c!==void 0&&(oe["last_updated.any_of"]=c),_!==void 0&&(oe["last_updated.gt"]=_),A!==void 0&&(oe["last_updated.gte"]=A),k!==void 0&&(oe["last_updated.lt"]=k),w!==void 0&&(oe["last_updated.lte"]=w),G!==void 0&&(oe.date_status=G),M!==void 0&&(oe["date_status.any_of"]=M),O!==void 0&&(oe["date_status.gt"]=O),X!==void 0&&(oe["date_status.gte"]=X),v!==void 0&&(oe["date_status.lt"]=v),K!==void 0&&(oe["date_status.lte"]=K),J!==void 0&&(oe.eps_surprise_percent=J),S!==void 0&&(oe["eps_surprise_percent.any_of"]=S),V!==void 0&&(oe["eps_surprise_percent.gt"]=V),j!==void 0&&(oe["eps_surprise_percent.gte"]=j),Y!==void 0&&(oe["eps_surprise_percent.lt"]=Y),se!==void 0&&(oe["eps_surprise_percent.lte"]=se),ae!==void 0&&(oe.revenue_surprise_percent=ae),de!==void 0&&(oe["revenue_surprise_percent.any_of"]=de),re!==void 0&&(oe["revenue_surprise_percent.gt"]=re),ie!==void 0&&(oe["revenue_surprise_percent.gte"]=ie),ne!==void 0&&(oe["revenue_surprise_percent.lt"]=ne),$!==void 0&&(oe["revenue_surprise_percent.lte"]=$),W!==void 0&&(oe.fiscal_year=W),C!==void 0&&(oe["fiscal_year.any_of"]=C),le!==void 0&&(oe["fiscal_year.gt"]=le),pe!==void 0&&(oe["fiscal_year.gte"]=pe),ge!==void 0&&(oe["fiscal_year.lt"]=ge),ce!==void 0&&(oe["fiscal_year.lte"]=ce),ue!==void 0&&(oe.fiscal_period=ue),Z!==void 0&&(oe["fiscal_period.any_of"]=Z),q!==void 0&&(oe["fiscal_period.gt"]=q),ye!==void 0&&(oe["fiscal_period.gte"]=ye),fe!==void 0&&(oe["fiscal_period.lt"]=fe),be!==void 0&&(oe["fiscal_period.lte"]=be),P!==void 0&&(oe.limit=P),z!==void 0&&(oe.sort=z),F(xe,oe);let Ge=Re&&Re.headers?Re.headers:{};return te.headers={...Ae,...Ge,...me.headers},{url:U(xe),options:te}},getBenzingaV1Firms:async(e,t,i,n,s,o,r,d,l={})=>{let g="/benzinga/v1/firms",f=new URL(g,L),p;a&&(p=a.baseOptions);let y={method:"GET",...p,...l},m={},u={};await T(u,"apiKey",a),e!==void 0&&(u.benzinga_id=e),t!==void 0&&(u["benzinga_id.any_of"]=t),i!==void 0&&(u["benzinga_id.gt"]=i),n!==void 0&&(u["benzinga_id.gte"]=n),s!==void 0&&(u["benzinga_id.lt"]=s),o!==void 0&&(u["benzinga_id.lte"]=o),r!==void 0&&(u.limit=r),d!==void 0&&(u.sort=d),F(f,u);let b=p&&p.headers?p.headers:{};return y.headers={...m,...b,...l.headers},{url:U(f),options:y}},getBenzingaV1Guidance:async(e,t,i,n,s,o,r,d,l,g,f,p,y,m,u,b,h,x,R,c,_,A,k,w,G,M,O,X,v,K,J,S,V,j,Y,se,ae,de,re,ie,ne,$,W,C,le={})=>{let pe="/benzinga/v1/guidance",ge=new URL(pe,L),ce;a&&(ce=a.baseOptions);let ue={method:"GET",...ce,...le},Z={},q={};await T(q,"apiKey",a),e!==void 0&&(q.date=e),t!==void 0&&(q["date.any_of"]=t),i!==void 0&&(q["date.gt"]=i),n!==void 0&&(q["date.gte"]=n),s!==void 0&&(q["date.lt"]=s),o!==void 0&&(q["date.lte"]=o),r!==void 0&&(q.ticker=r),d!==void 0&&(q["ticker.any_of"]=d),l!==void 0&&(q["ticker.gt"]=l),g!==void 0&&(q["ticker.gte"]=g),f!==void 0&&(q["ticker.lt"]=f),p!==void 0&&(q["ticker.lte"]=p),y!==void 0&&(q.positioning=y),m!==void 0&&(q["positioning.any_of"]=m),u!==void 0&&(q["positioning.gt"]=u),b!==void 0&&(q["positioning.gte"]=b),h!==void 0&&(q["positioning.lt"]=h),x!==void 0&&(q["positioning.lte"]=x),R!==void 0&&(q.importance=R),c!==void 0&&(q["importance.any_of"]=c),_!==void 0&&(q["importance.gt"]=_),A!==void 0&&(q["importance.gte"]=A),k!==void 0&&(q["importance.lt"]=k),w!==void 0&&(q["importance.lte"]=w),G!==void 0&&(q.last_updated=G),M!==void 0&&(q["last_updated.any_of"]=M),O!==void 0&&(q["last_updated.gt"]=O),X!==void 0&&(q["last_updated.gte"]=X),v!==void 0&&(q["last_updated.lt"]=v),K!==void 0&&(q["last_updated.lte"]=K),J!==void 0&&(q.fiscal_year=J),S!==void 0&&(q["fiscal_year.any_of"]=S),V!==void 0&&(q["fiscal_year.gt"]=V),j!==void 0&&(q["fiscal_year.gte"]=j),Y!==void 0&&(q["fiscal_year.lt"]=Y),se!==void 0&&(q["fiscal_year.lte"]=se),ae!==void 0&&(q.fiscal_period=ae),de!==void 0&&(q["fiscal_period.any_of"]=de),re!==void 0&&(q["fiscal_period.gt"]=re),ie!==void 0&&(q["fiscal_period.gte"]=ie),ne!==void 0&&(q["fiscal_period.lt"]=ne),$!==void 0&&(q["fiscal_period.lte"]=$),W!==void 0&&(q.limit=W),C!==void 0&&(q.sort=C),F(ge,q);let ye=ce&&ce.headers?ce.headers:{};return ue.headers={...Z,...ye,...le.headers},{url:U(ge),options:ue}},getBenzingaV1Ratings:async(e,t,i,n,s,o,r,d,l,g,f,p,y,m,u,b,h,x,R,c,_,A,k,w,G,M,O,X,v,K,J,S,V,j,Y,se,ae,de,re,ie,ne,$,W,C,le,pe,ge,ce,ue,Z,q,ye,fe,be,P={})=>{let z="/benzinga/v1/ratings",me=new URL(z,L),he;a&&(he=a.baseOptions);let xe={method:"GET",...he,...P},Re={},te={};await T(te,"apiKey",a),e!==void 0&&(te.date=e),t!==void 0&&(te["date.any_of"]=t),i!==void 0&&(te["date.gt"]=i),n!==void 0&&(te["date.gte"]=n),s!==void 0&&(te["date.lt"]=s),o!==void 0&&(te["date.lte"]=o),r!==void 0&&(te.ticker=r),d!==void 0&&(te["ticker.any_of"]=d),l!==void 0&&(te["ticker.gt"]=l),g!==void 0&&(te["ticker.gte"]=g),f!==void 0&&(te["ticker.lt"]=f),p!==void 0&&(te["ticker.lte"]=p),y!==void 0&&(te.importance=y),m!==void 0&&(te["importance.gt"]=m),u!==void 0&&(te["importance.gte"]=u),b!==void 0&&(te["importance.lt"]=b),h!==void 0&&(te["importance.lte"]=h),x!==void 0&&(te.last_updated=x),R!==void 0&&(te["last_updated.gt"]=R),c!==void 0&&(te["last_updated.gte"]=c),_!==void 0&&(te["last_updated.lt"]=_),A!==void 0&&(te["last_updated.lte"]=A),k!==void 0&&(te.rating_action=k),w!==void 0&&(te["rating_action.any_of"]=w),G!==void 0&&(te["rating_action.gt"]=G),M!==void 0&&(te["rating_action.gte"]=M),O!==void 0&&(te["rating_action.lt"]=O),X!==void 0&&(te["rating_action.lte"]=X),v!==void 0&&(te.price_target_action=v),K!==void 0&&(te["price_target_action.any_of"]=K),J!==void 0&&(te["price_target_action.gt"]=J),S!==void 0&&(te["price_target_action.gte"]=S),V!==void 0&&(te["price_target_action.lt"]=V),j!==void 0&&(te["price_target_action.lte"]=j),Y!==void 0&&(te.benzinga_id=Y),se!==void 0&&(te["benzinga_id.any_of"]=se),ae!==void 0&&(te["benzinga_id.gt"]=ae),de!==void 0&&(te["benzinga_id.gte"]=de),re!==void 0&&(te["benzinga_id.lt"]=re),ie!==void 0&&(te["benzinga_id.lte"]=ie),ne!==void 0&&(te.benzinga_analyst_id=ne),$!==void 0&&(te["benzinga_analyst_id.any_of"]=$),W!==void 0&&(te["benzinga_analyst_id.gt"]=W),C!==void 0&&(te["benzinga_analyst_id.gte"]=C),le!==void 0&&(te["benzinga_analyst_id.lt"]=le),pe!==void 0&&(te["benzinga_analyst_id.lte"]=pe),ge!==void 0&&(te.benzinga_firm_id=ge),ce!==void 0&&(te["benzinga_firm_id.any_of"]=ce),ue!==void 0&&(te["benzinga_firm_id.gt"]=ue),Z!==void 0&&(te["benzinga_firm_id.gte"]=Z),q!==void 0&&(te["benzinga_firm_id.lt"]=q),ye!==void 0&&(te["benzinga_firm_id.lte"]=ye),fe!==void 0&&(te.limit=fe),be!==void 0&&(te.sort=be),F(me,te);let Ae=he&&he.headers?he.headers:{};return xe.headers={...Re,...Ae,...P.headers},{url:U(me),options:xe}},getBenzingaV2News:async(e,t,i,n,s,o,r,d,l,g,f,p,y,m,u,b,h,x,R,c,_,A,k,w,G,M={})=>{let O="/benzinga/v2/news",X=new URL(O,L),v;a&&(v=a.baseOptions);let K={method:"GET",...v,...M},J={},S={};await T(S,"apiKey",a),e!==void 0&&(S.published=e),t!==void 0&&(S["published.gt"]=t),i!==void 0&&(S["published.gte"]=i),n!==void 0&&(S["published.lt"]=n),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),f!==void 0&&(S["tags.any_of"]=f),p!==void 0&&(S.author=p),y!==void 0&&(S["author.any_of"]=y),m!==void 0&&(S["author.gt"]=m),u!==void 0&&(S["author.gte"]=u),b!==void 0&&(S["author.lt"]=b),h!==void 0&&(S["author.lte"]=h),x!==void 0&&(S.stocks=x),R!==void 0&&(S["stocks.all_of"]=R),c!==void 0&&(S["stocks.any_of"]=c),_!==void 0&&(S.tickers=_),A!==void 0&&(S["tickers.all_of"]=A),k!==void 0&&(S["tickers.any_of"]=k),w!==void 0&&(S.limit=w),G!==void 0&&(S.sort=G),F(X,S);let V=v&&v.headers?v.headers:{};return K.headers={...J,...V,...M.headers},{url:U(X),options:K}},getCryptoAggregates:async(e,t,i,n,s,o,r,d,l={})=>{N("getCryptoAggregates","cryptoTicker",e),N("getCryptoAggregates","multiplier",t),N("getCryptoAggregates","timespan",i),N("getCryptoAggregates","from",n),N("getCryptoAggregates","to",s);let g="/v2/aggs/ticker/{cryptoTicker}/range/{multiplier}/{timespan}/{from}/{to}".replace("{cryptoTicker}",encodeURIComponent(String(e))).replace("{multiplier}",encodeURIComponent(String(t))).replace("{timespan}",encodeURIComponent(String(i))).replace("{from}",encodeURIComponent(String(n))).replace("{to}",encodeURIComponent(String(s))),f=new URL(g,L),p;a&&(p=a.baseOptions);let y={method:"GET",...p,...l},m={},u={};await T(u,"apiKey",a),o!==void 0&&(u.adjusted=o),r!==void 0&&(u.sort=r),d!==void 0&&(u.limit=d),F(f,u);let b=p&&p.headers?p.headers:{};return y.headers={...m,...b,...l.headers},{url:U(f),options:y}},getCryptoEMA:async(e,t,i,n,s,o,r,d,l,g,f,p,y={})=>{N("getCryptoEMA","cryptoTicker",e);let m="/v1/indicators/ema/{cryptoTicker}".replace("{cryptoTicker}",encodeURIComponent(String(e))),u=new URL(m,L),b;a&&(b=a.baseOptions);let h={method:"GET",...b,...y},x={},R={};await T(R,"apiKey",a),t!==void 0&&(R.timestamp=t),i!==void 0&&(R.timespan=i),n!==void 0&&(R.window=n),s!==void 0&&(R.series_type=s),o!==void 0&&(R.expand_underlying=o),r!==void 0&&(R.order=r),d!==void 0&&(R.limit=d),l!==void 0&&(R["timestamp.gte"]=l),g!==void 0&&(R["timestamp.gt"]=g),f!==void 0&&(R["timestamp.lte"]=f),p!==void 0&&(R["timestamp.lt"]=p),F(u,R);let c=b&&b.headers?b.headers:{};return h.headers={...x,...c,...y.headers},{url:U(u),options:h}},getCryptoMACD:async(e,t,i,n,s,o,r,d,l,g,f,p,y,m,u={})=>{N("getCryptoMACD","cryptoTicker",e);let b="/v1/indicators/macd/{cryptoTicker}".replace("{cryptoTicker}",encodeURIComponent(String(e))),h=new URL(b,L),x;a&&(x=a.baseOptions);let R={method:"GET",...x,...u},c={},_={};await T(_,"apiKey",a),t!==void 0&&(_.timestamp=t),i!==void 0&&(_.timespan=i),n!==void 0&&(_.short_window=n),s!==void 0&&(_.long_window=s),o!==void 0&&(_.signal_window=o),r!==void 0&&(_.series_type=r),d!==void 0&&(_.expand_underlying=d),l!==void 0&&(_.order=l),g!==void 0&&(_.limit=g),f!==void 0&&(_["timestamp.gte"]=f),p!==void 0&&(_["timestamp.gt"]=p),y!==void 0&&(_["timestamp.lte"]=y),m!==void 0&&(_["timestamp.lt"]=m),F(h,_);let A=x&&x.headers?x.headers:{};return R.headers={...c,...A,...u.headers},{url:U(h),options:R}},getCryptoOpenClose:async(e,t,i,n,s={})=>{N("getCryptoOpenClose","from",e),N("getCryptoOpenClose","to",t),N("getCryptoOpenClose","date",i);let o="/v1/open-close/crypto/{from}/{to}/{date}".replace("{from}",encodeURIComponent(String(e))).replace("{to}",encodeURIComponent(String(t))).replace("{date}",encodeURIComponent(String(i))),r=new URL(o,L),d;a&&(d=a.baseOptions);let l={method:"GET",...d,...s},g={},f={};await T(f,"apiKey",a),n!==void 0&&(f.adjusted=n),F(r,f);let p=d&&d.headers?d.headers:{};return l.headers={...g,...p,...s.headers},{url:U(r),options:l}},getCryptoRSI:async(e,t,i,n,s,o,r,d,l,g,f,p,y={})=>{N("getCryptoRSI","cryptoTicker",e);let m="/v1/indicators/rsi/{cryptoTicker}".replace("{cryptoTicker}",encodeURIComponent(String(e))),u=new URL(m,L),b;a&&(b=a.baseOptions);let h={method:"GET",...b,...y},x={},R={};await T(R,"apiKey",a),t!==void 0&&(R.timestamp=t),i!==void 0&&(R.timespan=i),n!==void 0&&(R.window=n),s!==void 0&&(R.series_type=s),o!==void 0&&(R.expand_underlying=o),r!==void 0&&(R.order=r),d!==void 0&&(R.limit=d),l!==void 0&&(R["timestamp.gte"]=l),g!==void 0&&(R["timestamp.gt"]=g),f!==void 0&&(R["timestamp.lte"]=f),p!==void 0&&(R["timestamp.lt"]=p),F(u,R);let c=b&&b.headers?b.headers:{};return h.headers={...x,...c,...y.headers},{url:U(u),options:h}},getCryptoSMA:async(e,t,i,n,s,o,r,d,l,g,f,p,y={})=>{N("getCryptoSMA","cryptoTicker",e);let m="/v1/indicators/sma/{cryptoTicker}".replace("{cryptoTicker}",encodeURIComponent(String(e))),u=new URL(m,L),b;a&&(b=a.baseOptions);let h={method:"GET",...b,...y},x={},R={};await T(R,"apiKey",a),t!==void 0&&(R.timestamp=t),i!==void 0&&(R.timespan=i),n!==void 0&&(R.window=n),s!==void 0&&(R.series_type=s),o!==void 0&&(R.expand_underlying=o),r!==void 0&&(R.order=r),d!==void 0&&(R.limit=d),l!==void 0&&(R["timestamp.gte"]=l),g!==void 0&&(R["timestamp.gt"]=g),f!==void 0&&(R["timestamp.lte"]=f),p!==void 0&&(R["timestamp.lt"]=p),F(u,R);let c=b&&b.headers?b.headers:{};return h.headers={...x,...c,...y.headers},{url:U(u),options:h}},getCryptoSnapshotDirection:async(e,t={})=>{N("getCryptoSnapshotDirection","direction",e);let i="/v2/snapshot/locale/global/markets/crypto/{direction}".replace("{direction}",encodeURIComponent(String(e))),n=new URL(i,L),s;a&&(s=a.baseOptions);let o={method:"GET",...s,...t},r={},d={};await T(d,"apiKey",a),F(n,d);let l=s&&s.headers?s.headers:{};return o.headers={...r,...l,...t.headers},{url:U(n),options:o}},getCryptoSnapshotTicker:async(e,t={})=>{N("getCryptoSnapshotTicker","ticker",e);let i="/v2/snapshot/locale/global/markets/crypto/tickers/{ticker}".replace("{ticker}",encodeURIComponent(String(e))),n=new URL(i,L),s;a&&(s=a.baseOptions);let o={method:"GET",...s,...t},r={},d={};await T(d,"apiKey",a),F(n,d);let l=s&&s.headers?s.headers:{};return o.headers={...r,...l,...t.headers},{url:U(n),options:o}},getCryptoSnapshotTickers:async(e,t={})=>{let i="/v2/snapshot/locale/global/markets/crypto/tickers",n=new URL(i,L),s;a&&(s=a.baseOptions);let o={method:"GET",...s,...t},r={},d={};await T(d,"apiKey",a),e&&(d.tickers=e),F(n,d);let l=s&&s.headers?s.headers:{};return o.headers={...r,...l,...t.headers},{url:U(n),options:o}},getCryptoTrades:async(e,t,i,n,s,o,r,d,l,g={})=>{N("getCryptoTrades","cryptoTicker",e);let f="/v3/trades/{cryptoTicker}".replace("{cryptoTicker}",encodeURIComponent(String(e))),p=new URL(f,L),y;a&&(y=a.baseOptions);let m={method:"GET",...y,...g},u={},b={};await T(b,"apiKey",a),t!==void 0&&(b.timestamp=t),i!==void 0&&(b["timestamp.gte"]=i),n!==void 0&&(b["timestamp.gt"]=n),s!==void 0&&(b["timestamp.lte"]=s),o!==void 0&&(b["timestamp.lt"]=o),r!==void 0&&(b.order=r),d!==void 0&&(b.limit=d),l!==void 0&&(b.sort=l),F(p,b);let h=y&&y.headers?y.headers:{};return m.headers={...u,...h,...g.headers},{url:U(p),options:m}},getCryptoV1Exchanges:async(e,t={})=>{let i="/crypto/v1/exchanges",n=new URL(i,L),s;a&&(s=a.baseOptions);let o={method:"GET",...s,...t},r={},d={};await T(d,"apiKey",a),e!==void 0&&(d.limit=e),F(n,d);let l=s&&s.headers?s.headers:{};return o.headers={...r,...l,...t.headers},{url:U(n),options:o}},getCurrencyConversion:async(e,t,i,n,s={})=>{N("getCurrencyConversion","from",e),N("getCurrencyConversion","to",t);let o="/v1/conversion/{from}/{to}".replace("{from}",encodeURIComponent(String(e))).replace("{to}",encodeURIComponent(String(t))),r=new URL(o,L),d;a&&(d=a.baseOptions);let l={method:"GET",...d,...s},g={},f={};await T(f,"apiKey",a),i!==void 0&&(f.amount=i),n!==void 0&&(f.precision=n),F(r,f);let p=d&&d.headers?d.headers:{};return l.headers={...g,...p,...s.headers},{url:U(r),options:l}},getEtfGlobalV1Analytics:async(e,t,i,n,s,o,r,d,l,g,f,p,y,m,u,b,h,x,R,c,_,A,k,w,G,M,O,X,v,K,J,S,V,j,Y,se,ae,de,re,ie,ne,$,W,C,le,pe,ge,ce,ue,Z,q,ye,fe,be,P,z,me,he,xe,Re,te,Ae,oe,Ge,Oe,Ce,Ve,Se,we,ve={})=>{let Le="/etf-global/v1/analytics",Ie=new URL(Le,L),_e;a&&(_e=a.baseOptions);let De={method:"GET",..._e,...ve},Te={},ee={};await T(ee,"apiKey",a),e!==void 0&&(ee.composite_ticker=e),t!==void 0&&(ee["composite_ticker.any_of"]=t),i!==void 0&&(ee["composite_ticker.gt"]=i),n!==void 0&&(ee["composite_ticker.gte"]=n),s!==void 0&&(ee["composite_ticker.lt"]=s),o!==void 0&&(ee["composite_ticker.lte"]=o),r!==void 0&&(ee.processed_date=r),d!==void 0&&(ee["processed_date.gt"]=d),l!==void 0&&(ee["processed_date.gte"]=l),g!==void 0&&(ee["processed_date.lt"]=g),f!==void 0&&(ee["processed_date.lte"]=f),p!==void 0&&(ee.effective_date=p),y!==void 0&&(ee["effective_date.gt"]=y),m!==void 0&&(ee["effective_date.gte"]=m),u!==void 0&&(ee["effective_date.lt"]=u),b!==void 0&&(ee["effective_date.lte"]=b),h!==void 0&&(ee.risk_total_score=h),x!==void 0&&(ee["risk_total_score.gt"]=x),R!==void 0&&(ee["risk_total_score.gte"]=R),c!==void 0&&(ee["risk_total_score.lt"]=c),_!==void 0&&(ee["risk_total_score.lte"]=_),A!==void 0&&(ee.reward_score=A),k!==void 0&&(ee["reward_score.gt"]=k),w!==void 0&&(ee["reward_score.gte"]=w),G!==void 0&&(ee["reward_score.lt"]=G),M!==void 0&&(ee["reward_score.lte"]=M),O!==void 0&&(ee.quant_total_score=O),X!==void 0&&(ee["quant_total_score.gt"]=X),v!==void 0&&(ee["quant_total_score.gte"]=v),K!==void 0&&(ee["quant_total_score.lt"]=K),J!==void 0&&(ee["quant_total_score.lte"]=J),S!==void 0&&(ee.quant_grade=S),V!==void 0&&(ee["quant_grade.any_of"]=V),j!==void 0&&(ee["quant_grade.gt"]=j),Y!==void 0&&(ee["quant_grade.gte"]=Y),se!==void 0&&(ee["quant_grade.lt"]=se),ae!==void 0&&(ee["quant_grade.lte"]=ae),de!==void 0&&(ee.quant_composite_technical=de),re!==void 0&&(ee["quant_composite_technical.gt"]=re),ie!==void 0&&(ee["quant_composite_technical.gte"]=ie),ne!==void 0&&(ee["quant_composite_technical.lt"]=ne),$!==void 0&&(ee["quant_composite_technical.lte"]=$),W!==void 0&&(ee.quant_composite_sentiment=W),C!==void 0&&(ee["quant_composite_sentiment.gt"]=C),le!==void 0&&(ee["quant_composite_sentiment.gte"]=le),pe!==void 0&&(ee["quant_composite_sentiment.lt"]=pe),ge!==void 0&&(ee["quant_composite_sentiment.lte"]=ge),ce!==void 0&&(ee.quant_composite_behavioral=ce),ue!==void 0&&(ee["quant_composite_behavioral.gt"]=ue),Z!==void 0&&(ee["quant_composite_behavioral.gte"]=Z),q!==void 0&&(ee["quant_composite_behavioral.lt"]=q),ye!==void 0&&(ee["quant_composite_behavioral.lte"]=ye),fe!==void 0&&(ee.quant_composite_fundamental=fe),be!==void 0&&(ee["quant_composite_fundamental.gt"]=be),P!==void 0&&(ee["quant_composite_fundamental.gte"]=P),z!==void 0&&(ee["quant_composite_fundamental.lt"]=z),me!==void 0&&(ee["quant_composite_fundamental.lte"]=me),he!==void 0&&(ee.quant_composite_global=he),xe!==void 0&&(ee["quant_composite_global.gt"]=xe),Re!==void 0&&(ee["quant_composite_global.gte"]=Re),te!==void 0&&(ee["quant_composite_global.lt"]=te),Ae!==void 0&&(ee["quant_composite_global.lte"]=Ae),oe!==void 0&&(ee.quant_composite_quality=oe),Ge!==void 0&&(ee["quant_composite_quality.gt"]=Ge),Oe!==void 0&&(ee["quant_composite_quality.gte"]=Oe),Ce!==void 0&&(ee["quant_composite_quality.lt"]=Ce),Ve!==void 0&&(ee["quant_composite_quality.lte"]=Ve),Se!==void 0&&(ee.limit=Se),we!==void 0&&(ee.sort=we),F(Ie,ee);let Ue=_e&&_e.headers?_e.headers:{};return De.headers={...Te,...Ue,...ve.headers},{url:U(Ie),options:De}},getEtfGlobalV1Constituents:async(e,t,i,n,s,o,r,d,l,g,f,p,y,m,u,b,h,x,R,c,_,A,k,w,G,M,O,X,v,K,J,S,V,j,Y,se,ae,de,re,ie,ne,$,W,C,le,pe,ge,ce,ue={})=>{let Z="/etf-global/v1/constituents",q=new URL(Z,L),ye;a&&(ye=a.baseOptions);let fe={method:"GET",...ye,...ue},be={},P={};await T(P,"apiKey",a),e!==void 0&&(P.composite_ticker=e),t!==void 0&&(P["composite_ticker.any_of"]=t),i!==void 0&&(P["composite_ticker.gt"]=i),n!==void 0&&(P["composite_ticker.gte"]=n),s!==void 0&&(P["composite_ticker.lt"]=s),o!==void 0&&(P["composite_ticker.lte"]=o),r!==void 0&&(P.constituent_ticker=r),d!==void 0&&(P["constituent_ticker.any_of"]=d),l!==void 0&&(P["constituent_ticker.gt"]=l),g!==void 0&&(P["constituent_ticker.gte"]=g),f!==void 0&&(P["constituent_ticker.lt"]=f),p!==void 0&&(P["constituent_ticker.lte"]=p),y!==void 0&&(P.effective_date=y),m!==void 0&&(P["effective_date.gt"]=m),u!==void 0&&(P["effective_date.gte"]=u),b!==void 0&&(P["effective_date.lt"]=b),h!==void 0&&(P["effective_date.lte"]=h),x!==void 0&&(P.processed_date=x),R!==void 0&&(P["processed_date.gt"]=R),c!==void 0&&(P["processed_date.gte"]=c),_!==void 0&&(P["processed_date.lt"]=_),A!==void 0&&(P["processed_date.lte"]=A),k!==void 0&&(P.us_code=k),w!==void 0&&(P["us_code.any_of"]=w),G!==void 0&&(P["us_code.gt"]=G),M!==void 0&&(P["us_code.gte"]=M),O!==void 0&&(P["us_code.lt"]=O),X!==void 0&&(P["us_code.lte"]=X),v!==void 0&&(P.isin=v),K!==void 0&&(P["isin.any_of"]=K),J!==void 0&&(P["isin.gt"]=J),S!==void 0&&(P["isin.gte"]=S),V!==void 0&&(P["isin.lt"]=V),j!==void 0&&(P["isin.lte"]=j),Y!==void 0&&(P.figi=Y),se!==void 0&&(P["figi.any_of"]=se),ae!==void 0&&(P["figi.gt"]=ae),de!==void 0&&(P["figi.gte"]=de),re!==void 0&&(P["figi.lt"]=re),ie!==void 0&&(P["figi.lte"]=ie),ne!==void 0&&(P.sedol=ne),$!==void 0&&(P["sedol.any_of"]=$),W!==void 0&&(P["sedol.gt"]=W),C!==void 0&&(P["sedol.gte"]=C),le!==void 0&&(P["sedol.lt"]=le),pe!==void 0&&(P["sedol.lte"]=pe),ge!==void 0&&(P.limit=ge),ce!==void 0&&(P.sort=ce),F(q,P);let z=ye&&ye.headers?ye.headers:{};return fe.headers={...be,...z,...ue.headers},{url:U(q),options:fe}},getEtfGlobalV1FundFlows:async(e,t,i,n,s,o,r,d,l,g,f,p,y,m,u,b,h,x,R={})=>{let c="/etf-global/v1/fund-flows",_=new URL(c,L),A;a&&(A=a.baseOptions);let k={method:"GET",...A,...R},w={},G={};await T(G,"apiKey",a),e!==void 0&&(G.processed_date=e),t!==void 0&&(G["processed_date.gt"]=t),i!==void 0&&(G["processed_date.gte"]=i),n!==void 0&&(G["processed_date.lt"]=n),s!==void 0&&(G["processed_date.lte"]=s),o!==void 0&&(G.effective_date=o),r!==void 0&&(G["effective_date.gt"]=r),d!==void 0&&(G["effective_date.gte"]=d),l!==void 0&&(G["effective_date.lt"]=l),g!==void 0&&(G["effective_date.lte"]=g),f!==void 0&&(G.composite_ticker=f),p!==void 0&&(G["composite_ticker.any_of"]=p),y!==void 0&&(G["composite_ticker.gt"]=y),m!==void 0&&(G["composite_ticker.gte"]=m),u!==void 0&&(G["composite_ticker.lt"]=u),b!==void 0&&(G["composite_ticker.lte"]=b),h!==void 0&&(G.limit=h),x!==void 0&&(G.sort=x),F(_,G);let M=A&&A.headers?A.headers:{};return k.headers={...w,...M,...R.headers},{url:U(_),options:k}},getEtfGlobalV1Profiles:async(e,t,i,n,s,o,r,d,l,g,f,p,y,m,u,b,h,x,R={})=>{let c="/etf-global/v1/profiles",_=new URL(c,L),A;a&&(A=a.baseOptions);let k={method:"GET",...A,...R},w={},G={};await T(G,"apiKey",a),e!==void 0&&(G.processed_date=e),t!==void 0&&(G["processed_date.gt"]=t),i!==void 0&&(G["processed_date.gte"]=i),n!==void 0&&(G["processed_date.lt"]=n),s!==void 0&&(G["processed_date.lte"]=s),o!==void 0&&(G.effective_date=o),r!==void 0&&(G["effective_date.gt"]=r),d!==void 0&&(G["effective_date.gte"]=d),l!==void 0&&(G["effective_date.lt"]=l),g!==void 0&&(G["effective_date.lte"]=g),f!==void 0&&(G.composite_ticker=f),p!==void 0&&(G["composite_ticker.any_of"]=p),y!==void 0&&(G["composite_ticker.gt"]=y),m!==void 0&&(G["composite_ticker.gte"]=m),u!==void 0&&(G["composite_ticker.lt"]=u),b!==void 0&&(G["composite_ticker.lte"]=b),h!==void 0&&(G.limit=h),x!==void 0&&(G.sort=x),F(_,G);let M=A&&A.headers?A.headers:{};return k.headers={...w,...M,...R.headers},{url:U(_),options:k}},getEtfGlobalV1Taxonomies:async(e,t,i,n,s,o,r,d,l,g,f,p,y,m,u,b,h,x,R={})=>{let c="/etf-global/v1/taxonomies",_=new URL(c,L),A;a&&(A=a.baseOptions);let k={method:"GET",...A,...R},w={},G={};await T(G,"apiKey",a),e!==void 0&&(G.processed_date=e),t!==void 0&&(G["processed_date.gt"]=t),i!==void 0&&(G["processed_date.gte"]=i),n!==void 0&&(G["processed_date.lt"]=n),s!==void 0&&(G["processed_date.lte"]=s),o!==void 0&&(G.effective_date=o),r!==void 0&&(G["effective_date.gt"]=r),d!==void 0&&(G["effective_date.gte"]=d),l!==void 0&&(G["effective_date.lt"]=l),g!==void 0&&(G["effective_date.lte"]=g),f!==void 0&&(G.composite_ticker=f),p!==void 0&&(G["composite_ticker.any_of"]=p),y!==void 0&&(G["composite_ticker.gt"]=y),m!==void 0&&(G["composite_ticker.gte"]=m),u!==void 0&&(G["composite_ticker.lt"]=u),b!==void 0&&(G["composite_ticker.lte"]=b),h!==void 0&&(G.limit=h),x!==void 0&&(G.sort=x),F(_,G);let M=A&&A.headers?A.headers:{};return k.headers={...w,...M,...R.headers},{url:U(_),options:k}},getEvents:async(e,t,i={})=>{N("getEvents","id",e);let n="/vX/reference/tickers/{id}/events".replace("{id}",encodeURIComponent(String(e))),s=new URL(n,L),o;a&&(o=a.baseOptions);let r={method:"GET",...o,...i},d={},l={};await T(l,"apiKey",a),t!==void 0&&(l.types=t),F(s,l);let g=o&&o.headers?o.headers:{};return r.headers={...d,...g,...i.headers},{url:U(s),options:r}},getFedV1Inflation:async(e,t,i,n,s,o,r,d,l={})=>{let g="/fed/v1/inflation",f=new URL(g,L),p;a&&(p=a.baseOptions);let y={method:"GET",...p,...l},m={},u={};await T(u,"apiKey",a),e!==void 0&&(u.date=e),t!==void 0&&(u["date.any_of"]=t),i!==void 0&&(u["date.gt"]=i),n!==void 0&&(u["date.gte"]=n),s!==void 0&&(u["date.lt"]=s),o!==void 0&&(u["date.lte"]=o),r!==void 0&&(u.limit=r),d!==void 0&&(u.sort=d),F(f,u);let b=p&&p.headers?p.headers:{};return y.headers={...m,...b,...l.headers},{url:U(f),options:y}},getFedV1InflationExpectations:async(e,t,i,n,s,o,r,d,l={})=>{let g="/fed/v1/inflation-expectations",f=new URL(g,L),p;a&&(p=a.baseOptions);let y={method:"GET",...p,...l},m={},u={};await T(u,"apiKey",a),e!==void 0&&(u.date=e),t!==void 0&&(u["date.any_of"]=t),i!==void 0&&(u["date.gt"]=i),n!==void 0&&(u["date.gte"]=n),s!==void 0&&(u["date.lt"]=s),o!==void 0&&(u["date.lte"]=o),r!==void 0&&(u.limit=r),d!==void 0&&(u.sort=d),F(f,u);let b=p&&p.headers?p.headers:{};return y.headers={...m,...b,...l.headers},{url:U(f),options:y}},getFedV1TreasuryYields:async(e,t,i,n,s,o,r,d,l={})=>{let g="/fed/v1/treasury-yields",f=new URL(g,L),p;a&&(p=a.baseOptions);let y={method:"GET",...p,...l},m={},u={};await T(u,"apiKey",a),e!==void 0&&(u.date=e),t!==void 0&&(u["date.any_of"]=t),i!==void 0&&(u["date.gt"]=i),n!==void 0&&(u["date.gte"]=n),s!==void 0&&(u["date.lt"]=s),o!==void 0&&(u["date.lte"]=o),r!==void 0&&(u.limit=r),d!==void 0&&(u.sort=d),F(f,u);let b=p&&p.headers?p.headers:{};return y.headers={...m,...b,...l.headers},{url:U(f),options:y}},getForexAggregates:async(e,t,i,n,s,o,r,d,l={})=>{N("getForexAggregates","forexTicker",e),N("getForexAggregates","multiplier",t),N("getForexAggregates","timespan",i),N("getForexAggregates","from",n),N("getForexAggregates","to",s);let g="/v2/aggs/ticker/{forexTicker}/range/{multiplier}/{timespan}/{from}/{to}".replace("{forexTicker}",encodeURIComponent(String(e))).replace("{multiplier}",encodeURIComponent(String(t))).replace("{timespan}",encodeURIComponent(String(i))).replace("{from}",encodeURIComponent(String(n))).replace("{to}",encodeURIComponent(String(s))),f=new URL(g,L),p;a&&(p=a.baseOptions);let y={method:"GET",...p,...l},m={},u={};await T(u,"apiKey",a),o!==void 0&&(u.adjusted=o),r!==void 0&&(u.sort=r),d!==void 0&&(u.limit=d),F(f,u);let b=p&&p.headers?p.headers:{};return y.headers={...m,...b,...l.headers},{url:U(f),options:y}},getForexEMA:async(e,t,i,n,s,o,r,d,l,g,f,p,y,m={})=>{N("getForexEMA","fxTicker",e);let u="/v1/indicators/ema/{fxTicker}".replace("{fxTicker}",encodeURIComponent(String(e))),b=new URL(u,L),h;a&&(h=a.baseOptions);let x={method:"GET",...h,...m},R={},c={};await T(c,"apiKey",a),t!==void 0&&(c.timestamp=t),i!==void 0&&(c.timespan=i),n!==void 0&&(c.adjusted=n),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),f!==void 0&&(c["timestamp.gt"]=f),p!==void 0&&(c["timestamp.lte"]=p),y!==void 0&&(c["timestamp.lt"]=y),F(b,c);let _=h&&h.headers?h.headers:{};return x.headers={...R,..._,...m.headers},{url:U(b),options:x}},getForexMACD:async(e,t,i,n,s,o,r,d,l,g,f,p,y,m,u,b={})=>{N("getForexMACD","fxTicker",e);let h="/v1/indicators/macd/{fxTicker}".replace("{fxTicker}",encodeURIComponent(String(e))),x=new URL(h,L),R;a&&(R=a.baseOptions);let c={method:"GET",...R,...b},_={},A={};await T(A,"apiKey",a),t!==void 0&&(A.timestamp=t),i!==void 0&&(A.timespan=i),n!==void 0&&(A.adjusted=n),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),f!==void 0&&(A.limit=f),p!==void 0&&(A["timestamp.gte"]=p),y!==void 0&&(A["timestamp.gt"]=y),m!==void 0&&(A["timestamp.lte"]=m),u!==void 0&&(A["timestamp.lt"]=u),F(x,A);let k=R&&R.headers?R.headers:{};return c.headers={..._,...k,...b.headers},{url:U(x),options:c}},getForexQuotes:async(e,t,i,n,s,o,r,d,l,g={})=>{N("getForexQuotes","fxTicker",e);let f="/v3/quotes/{fxTicker}".replace("{fxTicker}",encodeURIComponent(String(e))),p=new URL(f,L),y;a&&(y=a.baseOptions);let m={method:"GET",...y,...g},u={},b={};await T(b,"apiKey",a),t!==void 0&&(b.timestamp=t),i!==void 0&&(b["timestamp.gte"]=i),n!==void 0&&(b["timestamp.gt"]=n),s!==void 0&&(b["timestamp.lte"]=s),o!==void 0&&(b["timestamp.lt"]=o),r!==void 0&&(b.order=r),d!==void 0&&(b.limit=d),l!==void 0&&(b.sort=l),F(p,b);let h=y&&y.headers?y.headers:{};return m.headers={...u,...h,...g.headers},{url:U(p),options:m}},getForexRSI:async(e,t,i,n,s,o,r,d,l,g,f,p,y,m={})=>{N("getForexRSI","fxTicker",e);let u="/v1/indicators/rsi/{fxTicker}".replace("{fxTicker}",encodeURIComponent(String(e))),b=new URL(u,L),h;a&&(h=a.baseOptions);let x={method:"GET",...h,...m},R={},c={};await T(c,"apiKey",a),t!==void 0&&(c.timestamp=t),i!==void 0&&(c.timespan=i),n!==void 0&&(c.adjusted=n),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),f!==void 0&&(c["timestamp.gt"]=f),p!==void 0&&(c["timestamp.lte"]=p),y!==void 0&&(c["timestamp.lt"]=y),F(b,c);let _=h&&h.headers?h.headers:{};return x.headers={...R,..._,...m.headers},{url:U(b),options:x}},getForexSMA:async(e,t,i,n,s,o,r,d,l,g,f,p,y,m={})=>{N("getForexSMA","fxTicker",e);let u="/v1/indicators/sma/{fxTicker}".replace("{fxTicker}",encodeURIComponent(String(e))),b=new URL(u,L),h;a&&(h=a.baseOptions);let x={method:"GET",...h,...m},R={},c={};await T(c,"apiKey",a),t!==void 0&&(c.timestamp=t),i!==void 0&&(c.timespan=i),n!==void 0&&(c.adjusted=n),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),f!==void 0&&(c["timestamp.gt"]=f),p!==void 0&&(c["timestamp.lte"]=p),y!==void 0&&(c["timestamp.lt"]=y),F(b,c);let _=h&&h.headers?h.headers:{};return x.headers={...R,..._,...m.headers},{url:U(b),options:x}},getForexSnapshotDirection:async(e,t={})=>{N("getForexSnapshotDirection","direction",e);let i="/v2/snapshot/locale/global/markets/forex/{direction}".replace("{direction}",encodeURIComponent(String(e))),n=new URL(i,L),s;a&&(s=a.baseOptions);let o={method:"GET",...s,...t},r={},d={};await T(d,"apiKey",a),F(n,d);let l=s&&s.headers?s.headers:{};return o.headers={...r,...l,...t.headers},{url:U(n),options:o}},getForexSnapshotTicker:async(e,t={})=>{N("getForexSnapshotTicker","ticker",e);let i="/v2/snapshot/locale/global/markets/forex/tickers/{ticker}".replace("{ticker}",encodeURIComponent(String(e))),n=new URL(i,L),s;a&&(s=a.baseOptions);let o={method:"GET",...s,...t},r={},d={};await T(d,"apiKey",a),F(n,d);let l=s&&s.headers?s.headers:{};return o.headers={...r,...l,...t.headers},{url:U(n),options:o}},getForexSnapshotTickers:async(e,t={})=>{let i="/v2/snapshot/locale/global/markets/forex/tickers",n=new URL(i,L),s;a&&(s=a.baseOptions);let o={method:"GET",...s,...t},r={},d={};await T(d,"apiKey",a),e&&(d.tickers=e),F(n,d);let l=s&&s.headers?s.headers:{};return o.headers={...r,...l,...t.headers},{url:U(n),options:o}},getForexV1Exchanges:async(e,t={})=>{let i="/forex/v1/exchanges",n=new URL(i,L),s;a&&(s=a.baseOptions);let o={method:"GET",...s,...t},r={},d={};await T(d,"apiKey",a),e!==void 0&&(d.limit=e),F(n,d);let l=s&&s.headers?s.headers:{};return o.headers={...r,...l,...t.headers},{url:U(n),options:o}},getFuturesAggregates:async(e,t,i,n,s,o,r,d,l,g={})=>{N("getFuturesAggregates","ticker",e);let f="/futures/vX/aggs/{ticker}".replace("{ticker}",encodeURIComponent(String(e))),p=new URL(f,L),y;a&&(y=a.baseOptions);let m={method:"GET",...y,...g},u={},b={};await T(b,"apiKey",a),t!==void 0&&(b.resolution=t),i!==void 0&&(b.window_start=i),n!==void 0&&(b.limit=n),s!==void 0&&(b["window_start.gte"]=s),o!==void 0&&(b["window_start.gt"]=o),r!==void 0&&(b["window_start.lte"]=r),d!==void 0&&(b["window_start.lt"]=d),l!==void 0&&(b.sort=l),F(p,b);let h=y&&y.headers?y.headers:{};return m.headers={...u,...h,...g.headers},{url:U(p),options:m}},getFuturesContractDetails:async(e,t,i={})=>{N("getFuturesContractDetails","ticker",e);let n="/futures/vX/contracts/{ticker}".replace("{ticker}",encodeURIComponent(String(e))),s=new URL(n,L),o;a&&(o=a.baseOptions);let r={method:"GET",...o,...i},d={},l={};await T(l,"apiKey",a),t!==void 0&&(l.as_of=t instanceof Date?t.toISOString().substring(0,10):t),F(s,l);let g=o&&o.headers?o.headers:{};return r.headers={...d,...g,...i.headers},{url:U(s),options:r}},getFuturesContracts:async(e,t,i,n,s,o,r,d,l={})=>{let g="/futures/vX/contracts",f=new URL(g,L),p;a&&(p=a.baseOptions);let y={method:"GET",...p,...l},m={},u={};await T(u,"apiKey",a),e!==void 0&&(u.product_code=e),t!==void 0&&(u.first_trade_date=t instanceof Date?t.toISOString().substring(0,10):t),i!==void 0&&(u.last_trade_date=i instanceof Date?i.toISOString().substring(0,10):i),n!==void 0&&(u.as_of=n instanceof Date?n.toISOString().substring(0,10):n),s!==void 0&&(u.active=s),o!==void 0&&(u.type=o),r!==void 0&&(u.limit=r),d!==void 0&&(u.sort=d),F(f,u);let b=p&&p.headers?p.headers:{};return y.headers={...m,...b,...l.headers},{url:U(f),options:y}},getFuturesDailySchedules:async(e,t,i,n,s={})=>{let o="/futures/vX/schedules",r=new URL(o,L),d;a&&(d=a.baseOptions);let l={method:"GET",...d,...s},g={},f={};await T(f,"apiKey",a),e!==void 0&&(f.session_end_date=e instanceof Date?e.toISOString().substring(0,10):e),t!==void 0&&(f.trading_venue=t),i!==void 0&&(f.limit=i),n!==void 0&&(f.sort=n),F(r,f);let p=d&&d.headers?d.headers:{};return l.headers={...g,...p,...s.headers},{url:U(r),options:l}},getFuturesMarketStatuses:async(e,t,i,n,s={})=>{let o="/futures/vX/market-status",r=new URL(o,L),d;a&&(d=a.baseOptions);let l={method:"GET",...d,...s},g={},f={};await T(f,"apiKey",a),e!==void 0&&(f["product_code.any_of"]=e),t!==void 0&&(f.product_code=t),i!==void 0&&(f.limit=i),n!==void 0&&(f.sort=n),F(r,f);let p=d&&d.headers?d.headers:{};return l.headers={...g,...p,...s.headers},{url:U(r),options:l}},getFuturesProductDetails:async(e,t,i,n={})=>{N("getFuturesProductDetails","productCode",e);let s="/futures/vX/products/{product_code}".replace("{product_code}",encodeURIComponent(String(e))),o=new URL(s,L),r;a&&(r=a.baseOptions);let d={method:"GET",...r,...n},l={},g={};await T(g,"apiKey",a),t!==void 0&&(g.type=t),i!==void 0&&(g.as_of=i instanceof Date?i.toISOString().substring(0,10):i),F(o,g);let f=r&&r.headers?r.headers:{};return d.headers={...l,...f,...n.headers},{url:U(o),options:d}},getFuturesProductSchedules:async(e,t,i,n,s,o,r,d,l={})=>{N("getFuturesProductSchedules","productCode",e);let g="/futures/vX/products/{product_code}/schedules".replace("{product_code}",encodeURIComponent(String(e))),f=new URL(g,L),p;a&&(p=a.baseOptions);let y={method:"GET",...p,...l},m={},u={};await T(u,"apiKey",a),t!==void 0&&(u.session_end_date=t instanceof Date?t.toISOString().substring(0,10):t),i!==void 0&&(u.limit=i),n!==void 0&&(u["session_end_date.gte"]=n instanceof Date?n.toISOString().substring(0,10):n),s!==void 0&&(u["session_end_date.gt"]=s instanceof Date?s.toISOString().substring(0,10):s),o!==void 0&&(u["session_end_date.lte"]=o instanceof Date?o.toISOString().substring(0,10):o),r!==void 0&&(u["session_end_date.lt"]=r instanceof Date?r.toISOString().substring(0,10):r),d!==void 0&&(u.sort=d),F(f,u);let b=p&&p.headers?p.headers:{};return y.headers={...m,...b,...l.headers},{url:U(f),options:y}},getFuturesProducts:async(e,t,i,n,s,o,r,d,l,g,f,p={})=>{let y="/futures/vX/products",m=new URL(y,L),u;a&&(u=a.baseOptions);let b={method:"GET",...u,...p},h={},x={};await T(x,"apiKey",a),e!==void 0&&(x.name=e),t!==void 0&&(x.as_of=t instanceof Date?t.toISOString().substring(0,10):t),i!==void 0&&(x.trading_venue=i),n!==void 0&&(x.sector=n),s!==void 0&&(x.sub_sector=s),o!==void 0&&(x.asset_class=o),r!==void 0&&(x.asset_sub_class=r),d!==void 0&&(x.type=d),l!==void 0&&(x.limit=l),g!==void 0&&(x["name.search"]=g),f!==void 0&&(x.sort=f),F(m,x);let R=u&&u.headers?u.headers:{};return b.headers={...h,...R,...p.headers},{url:U(m),options:b}},getFuturesQuotes:async(e,t,i,n,s,o,r,d,l,g,f,p,y,m={})=>{N("getFuturesQuotes","ticker",e);let u="/futures/vX/quotes/{ticker}".replace("{ticker}",encodeURIComponent(String(e))),b=new URL(u,L),h;a&&(h=a.baseOptions);let x={method:"GET",...h,...m},R={},c={};await T(c,"apiKey",a),t!==void 0&&(c.timestamp=t),i!==void 0&&(c.session_end_date=i),n!==void 0&&(c.limit=n),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),f!==void 0&&(c["session_end_date.lte"]=f),p!==void 0&&(c["session_end_date.lt"]=p),y!==void 0&&(c.sort=y),F(b,c);let _=h&&h.headers?h.headers:{};return x.headers={...R,..._,...m.headers},{url:U(b),options:x}},getFuturesTrades:async(e,t,i,n,s,o,r,d,l,g,f,p,y,m={})=>{N("getFuturesTrades","ticker",e);let u="/futures/vX/trades/{ticker}".replace("{ticker}",encodeURIComponent(String(e))),b=new URL(u,L),h;a&&(h=a.baseOptions);let x={method:"GET",...h,...m},R={},c={};await T(c,"apiKey",a),t!==void 0&&(c.timestamp=t),i!==void 0&&(c.session_end_date=i),n!==void 0&&(c.limit=n),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),f!==void 0&&(c["session_end_date.lte"]=f),p!==void 0&&(c["session_end_date.lt"]=p),y!==void 0&&(c.sort=y),F(b,c);let _=h&&h.headers?h.headers:{};return x.headers={...R,..._,...m.headers},{url:U(b),options:x}},getFuturesVXContractsNew:async(e,t,i,n,s,o,r,d,l,g,f,p,y,m,u,b,h,x,R,c,_,A,k,w,G,M,O,X,v,K,J,S,V,j,Y,se,ae={})=>{let de="/futures/vX/contracts-new",re=new URL(de,L),ie;a&&(ie=a.baseOptions);let ne={method:"GET",...ie,...ae},$={},W={};await T(W,"apiKey",a),e!==void 0&&(W.date=e),t!==void 0&&(W["date.gt"]=t),i!==void 0&&(W["date.gte"]=i),n!==void 0&&(W["date.lt"]=n),s!==void 0&&(W["date.lte"]=s),o!==void 0&&(W.product_code=o),r!==void 0&&(W["product_code.any_of"]=r),d!==void 0&&(W["product_code.gt"]=d),l!==void 0&&(W["product_code.gte"]=l),g!==void 0&&(W["product_code.lt"]=g),f!==void 0&&(W["product_code.lte"]=f),p!==void 0&&(W.ticker=p),y!==void 0&&(W["ticker.any_of"]=y),m!==void 0&&(W["ticker.gt"]=m),u!==void 0&&(W["ticker.gte"]=u),b!==void 0&&(W["ticker.lt"]=b),h!==void 0&&(W["ticker.lte"]=h),x!==void 0&&(W.active=x),R!==void 0&&(W.type=R),c!==void 0&&(W["type.any_of"]=c),_!==void 0&&(W["type.gt"]=_),A!==void 0&&(W["type.gte"]=A),k!==void 0&&(W["type.lt"]=k),w!==void 0&&(W["type.lte"]=w),G!==void 0&&(W.first_trade_date=G),M!==void 0&&(W["first_trade_date.gt"]=M),O!==void 0&&(W["first_trade_date.gte"]=O),X!==void 0&&(W["first_trade_date.lt"]=X),v!==void 0&&(W["first_trade_date.lte"]=v),K!==void 0&&(W.last_trade_date=K),J!==void 0&&(W["last_trade_date.gt"]=J),S!==void 0&&(W["last_trade_date.gte"]=S),V!==void 0&&(W["last_trade_date.lt"]=V),j!==void 0&&(W["last_trade_date.lte"]=j),Y!==void 0&&(W.limit=Y),se!==void 0&&(W.sort=se),F(re,W);let C=ie&&ie.headers?ie.headers:{};return ne.headers={...$,...C,...ae.headers},{url:U(re),options:ne}},getFuturesVXExchanges:async(e,t={})=>{let i="/futures/vX/exchanges",n=new URL(i,L),s;a&&(s=a.baseOptions);let o={method:"GET",...s,...t},r={},d={};await T(d,"apiKey",a),e!==void 0&&(d.limit=e),F(n,d);let l=s&&s.headers?s.headers:{};return o.headers={...r,...l,...t.headers},{url:U(n),options:o}},getFuturesVXProductsNew:async(e,t,i,n,s,o,r,d,l,g,f,p,y,m,u,b,h,x,R,c,_,A,k,w,G,M,O,X,v,K,J,S,V,j,Y,se,ae,de,re,ie,ne,$,W,C,le,pe,ge,ce,ue,Z={})=>{let q="/futures/vX/products-new",ye=new URL(q,L),fe;a&&(fe=a.baseOptions);let be={method:"GET",...fe,...Z},P={},z={};await T(z,"apiKey",a),e!==void 0&&(z.name=e),t!==void 0&&(z["name.any_of"]=t),i!==void 0&&(z["name.gt"]=i),n!==void 0&&(z["name.gte"]=n),s!==void 0&&(z["name.lt"]=s),o!==void 0&&(z["name.lte"]=o),r!==void 0&&(z.product_code=r),d!==void 0&&(z["product_code.any_of"]=d),l!==void 0&&(z["product_code.gt"]=l),g!==void 0&&(z["product_code.gte"]=g),f!==void 0&&(z["product_code.lt"]=f),p!==void 0&&(z["product_code.lte"]=p),y!==void 0&&(z.date=y),m!==void 0&&(z["date.gt"]=m),u!==void 0&&(z["date.gte"]=u),b!==void 0&&(z["date.lt"]=b),h!==void 0&&(z["date.lte"]=h),x!==void 0&&(z.sector=x),R!==void 0&&(z["sector.any_of"]=R),c!==void 0&&(z["sector.gt"]=c),_!==void 0&&(z["sector.gte"]=_),A!==void 0&&(z["sector.lt"]=A),k!==void 0&&(z["sector.lte"]=k),w!==void 0&&(z.sub_sector=w),G!==void 0&&(z["sub_sector.any_of"]=G),M!==void 0&&(z["sub_sector.gt"]=M),O!==void 0&&(z["sub_sector.gte"]=O),X!==void 0&&(z["sub_sector.lt"]=X),v!==void 0&&(z["sub_sector.lte"]=v),K!==void 0&&(z.asset_class=K),J!==void 0&&(z["asset_class.any_of"]=J),S!==void 0&&(z["asset_class.gt"]=S),V!==void 0&&(z["asset_class.gte"]=V),j!==void 0&&(z["asset_class.lt"]=j),Y!==void 0&&(z["asset_class.lte"]=Y),se!==void 0&&(z.asset_sub_class=se),ae!==void 0&&(z["asset_sub_class.any_of"]=ae),de!==void 0&&(z["asset_sub_class.gt"]=de),re!==void 0&&(z["asset_sub_class.gte"]=re),ie!==void 0&&(z["asset_sub_class.lt"]=ie),ne!==void 0&&(z["asset_sub_class.lte"]=ne),$!==void 0&&(z.type=$),W!==void 0&&(z["type.any_of"]=W),C!==void 0&&(z["type.gt"]=C),le!==void 0&&(z["type.gte"]=le),pe!==void 0&&(z["type.lt"]=pe),ge!==void 0&&(z["type.lte"]=ge),ce!==void 0&&(z.limit=ce),ue!==void 0&&(z.sort=ue),F(ye,z);let me=fe&&fe.headers?fe.headers:{};return be.headers={...P,...me,...Z.headers},{url:U(ye),options:be}},getFuturesVXSnapshot:async(e,t,i,n,s,o,r,d,l,g,f,p,y,m,u={})=>{let b="/futures/vX/snapshot",h=new URL(b,L),x;a&&(x=a.baseOptions);let R={method:"GET",...x,...u},c={},_={};await T(_,"apiKey",a),e!==void 0&&(_.product_code=e),t!==void 0&&(_["product_code.any_of"]=t),i!==void 0&&(_["product_code.gt"]=i),n!==void 0&&(_["product_code.gte"]=n),s!==void 0&&(_["product_code.lt"]=s),o!==void 0&&(_["product_code.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),f!==void 0&&(_["ticker.lt"]=f),p!==void 0&&(_["ticker.lte"]=p),y!==void 0&&(_.limit=y),m!==void 0&&(_.sort=m),F(h,_);let A=x&&x.headers?x.headers:{};return R.headers={...c,...A,...u.headers},{url:U(h),options:R}},getGroupedCryptoAggregates:async(e,t,i={})=>{N("getGroupedCryptoAggregates","date",e);let n="/v2/aggs/grouped/locale/global/market/crypto/{date}".replace("{date}",encodeURIComponent(String(e))),s=new URL(n,L),o;a&&(o=a.baseOptions);let r={method:"GET",...o,...i},d={},l={};await T(l,"apiKey",a),t!==void 0&&(l.adjusted=t),F(s,l);let g=o&&o.headers?o.headers:{};return r.headers={...d,...g,...i.headers},{url:U(s),options:r}},getGroupedForexAggregates:async(e,t,i={})=>{N("getGroupedForexAggregates","date",e);let n="/v2/aggs/grouped/locale/global/market/fx/{date}".replace("{date}",encodeURIComponent(String(e))),s=new URL(n,L),o;a&&(o=a.baseOptions);let r={method:"GET",...o,...i},d={},l={};await T(l,"apiKey",a),t!==void 0&&(l.adjusted=t),F(s,l);let g=o&&o.headers?o.headers:{};return r.headers={...d,...g,...i.headers},{url:U(s),options:r}},getGroupedStocksAggregates:async(e,t,i,n={})=>{N("getGroupedStocksAggregates","date",e);let s="/v2/aggs/grouped/locale/us/market/stocks/{date}".replace("{date}",encodeURIComponent(String(e))),o=new URL(s,L),r;a&&(r=a.baseOptions);let d={method:"GET",...r,...n},l={},g={};await T(g,"apiKey",a),t!==void 0&&(g.adjusted=t),i!==void 0&&(g.include_otc=i),F(o,g);let f=r&&r.headers?r.headers:{};return d.headers={...l,...f,...n.headers},{url:U(o),options:d}},getIndicesAggregates:async(e,t,i,n,s,o,r,d={})=>{N("getIndicesAggregates","indicesTicker",e),N("getIndicesAggregates","multiplier",t),N("getIndicesAggregates","timespan",i),N("getIndicesAggregates","from",n),N("getIndicesAggregates","to",s);let l="/v2/aggs/ticker/{indicesTicker}/range/{multiplier}/{timespan}/{from}/{to}".replace("{indicesTicker}",encodeURIComponent(String(e))).replace("{multiplier}",encodeURIComponent(String(t))).replace("{timespan}",encodeURIComponent(String(i))).replace("{from}",encodeURIComponent(String(n))).replace("{to}",encodeURIComponent(String(s))),g=new URL(l,L),f;a&&(f=a.baseOptions);let p={method:"GET",...f,...d},y={},m={};await T(m,"apiKey",a),o!==void 0&&(m.sort=o),r!==void 0&&(m.limit=r),F(g,m);let u=f&&f.headers?f.headers:{};return p.headers={...y,...u,...d.headers},{url:U(g),options:p}},getIndicesEMA:async(e,t,i,n,s,o,r,d,l,g,f,p,y,m={})=>{N("getIndicesEMA","indicesTicker",e);let u="/v1/indicators/ema/{indicesTicker}".replace("{indicesTicker}",encodeURIComponent(String(e))),b=new URL(u,L),h;a&&(h=a.baseOptions);let x={method:"GET",...h,...m},R={},c={};await T(c,"apiKey",a),t!==void 0&&(c.timestamp=t),i!==void 0&&(c.timespan=i),n!==void 0&&(c.adjusted=n),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),f!==void 0&&(c["timestamp.gt"]=f),p!==void 0&&(c["timestamp.lte"]=p),y!==void 0&&(c["timestamp.lt"]=y),F(b,c);let _=h&&h.headers?h.headers:{};return x.headers={...R,..._,...m.headers},{url:U(b),options:x}},getIndicesMACD:async(e,t,i,n,s,o,r,d,l,g,f,p,y,m,u,b={})=>{N("getIndicesMACD","indicesTicker",e);let h="/v1/indicators/macd/{indicesTicker}".replace("{indicesTicker}",encodeURIComponent(String(e))),x=new URL(h,L),R;a&&(R=a.baseOptions);let c={method:"GET",...R,...b},_={},A={};await T(A,"apiKey",a),t!==void 0&&(A.timestamp=t),i!==void 0&&(A.timespan=i),n!==void 0&&(A.adjusted=n),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),f!==void 0&&(A.limit=f),p!==void 0&&(A["timestamp.gte"]=p),y!==void 0&&(A["timestamp.gt"]=y),m!==void 0&&(A["timestamp.lte"]=m),u!==void 0&&(A["timestamp.lt"]=u),F(x,A);let k=R&&R.headers?R.headers:{};return c.headers={..._,...k,...b.headers},{url:U(x),options:c}},getIndicesOpenClose:async(e,t,i={})=>{N("getIndicesOpenClose","indicesTicker",e),N("getIndicesOpenClose","date",t);let n="/v1/open-close/{indicesTicker}/{date}".replace("{indicesTicker}",encodeURIComponent(String(e))).replace("{date}",encodeURIComponent(String(t))),s=new URL(n,L),o;a&&(o=a.baseOptions);let r={method:"GET",...o,...i},d={},l={};await T(l,"apiKey",a),F(s,l);let g=o&&o.headers?o.headers:{};return r.headers={...d,...g,...i.headers},{url:U(s),options:r}},getIndicesRSI:async(e,t,i,n,s,o,r,d,l,g,f,p,y,m={})=>{N("getIndicesRSI","indicesTicker",e);let u="/v1/indicators/rsi/{indicesTicker}".replace("{indicesTicker}",encodeURIComponent(String(e))),b=new URL(u,L),h;a&&(h=a.baseOptions);let x={method:"GET",...h,...m},R={},c={};await T(c,"apiKey",a),t!==void 0&&(c.timestamp=t),i!==void 0&&(c.timespan=i),n!==void 0&&(c.adjusted=n),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),f!==void 0&&(c["timestamp.gt"]=f),p!==void 0&&(c["timestamp.lte"]=p),y!==void 0&&(c["timestamp.lt"]=y),F(b,c);let _=h&&h.headers?h.headers:{};return x.headers={...R,..._,...m.headers},{url:U(b),options:x}},getIndicesSMA:async(e,t,i,n,s,o,r,d,l,g,f,p,y,m={})=>{N("getIndicesSMA","indicesTicker",e);let u="/v1/indicators/sma/{indicesTicker}".replace("{indicesTicker}",encodeURIComponent(String(e))),b=new URL(u,L),h;a&&(h=a.baseOptions);let x={method:"GET",...h,...m},R={},c={};await T(c,"apiKey",a),t!==void 0&&(c.timestamp=t),i!==void 0&&(c.timespan=i),n!==void 0&&(c.adjusted=n),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),f!==void 0&&(c["timestamp.gt"]=f),p!==void 0&&(c["timestamp.lte"]=p),y!==void 0&&(c["timestamp.lt"]=y),F(b,c);let _=h&&h.headers?h.headers:{};return x.headers={...R,..._,...m.headers},{url:U(b),options:x}},getIndicesSnapshot:async(e,t,i,n,s,o,r,d,l,g={})=>{let f="/v3/snapshot/indices",p=new URL(f,L),y;a&&(y=a.baseOptions);let m={method:"GET",...y,...g},u={},b={};await T(b,"apiKey",a),e!==void 0&&(b["ticker.any_of"]=e),t!==void 0&&(b.ticker=t),i!==void 0&&(b["ticker.gte"]=i),n!==void 0&&(b["ticker.gt"]=n),s!==void 0&&(b["ticker.lte"]=s),o!==void 0&&(b["ticker.lt"]=o),r!==void 0&&(b.order=r),d!==void 0&&(b.limit=d),l!==void 0&&(b.sort=l),F(p,b);let h=y&&y.headers?y.headers:{};return m.headers={...u,...h,...g.headers},{url:U(p),options:m}},getLastCryptoTrade:async(e,t,i={})=>{N("getLastCryptoTrade","from",e),N("getLastCryptoTrade","to",t);let n="/v1/last/crypto/{from}/{to}".replace("{from}",encodeURIComponent(String(e))).replace("{to}",encodeURIComponent(String(t))),s=new URL(n,L),o;a&&(o=a.baseOptions);let r={method:"GET",...o,...i},d={},l={};await T(l,"apiKey",a),F(s,l);let g=o&&o.headers?o.headers:{};return r.headers={...d,...g,...i.headers},{url:U(s),options:r}},getLastCurrencyQuote:async(e,t,i={})=>{N("getLastCurrencyQuote","from",e),N("getLastCurrencyQuote","to",t);let n="/v1/last_quote/currencies/{from}/{to}".replace("{from}",encodeURIComponent(String(e))).replace("{to}",encodeURIComponent(String(t))),s=new URL(n,L),o;a&&(o=a.baseOptions);let r={method:"GET",...o,...i},d={},l={};await T(l,"apiKey",a),F(s,l);let g=o&&o.headers?o.headers:{};return r.headers={...d,...g,...i.headers},{url:U(s),options:r}},getLastOptionsTrade:async(e,t={})=>{N("getLastOptionsTrade","optionsTicker",e);let i="/v2/last/trade/{optionsTicker}".replace("{optionsTicker}",encodeURIComponent(String(e))),n=new URL(i,L),s;a&&(s=a.baseOptions);let o={method:"GET",...s,...t},r={},d={};await T(d,"apiKey",a),F(n,d);let l=s&&s.headers?s.headers:{};return o.headers={...r,...l,...t.headers},{url:U(n),options:o}},getLastStocksQuote:async(e,t={})=>{N("getLastStocksQuote","stocksTicker",e);let i="/v2/last/nbbo/{stocksTicker}".replace("{stocksTicker}",encodeURIComponent(String(e))),n=new URL(i,L),s;a&&(s=a.baseOptions);let o={method:"GET",...s,...t},r={},d={};await T(d,"apiKey",a),F(n,d);let l=s&&s.headers?s.headers:{};return o.headers={...r,...l,...t.headers},{url:U(n),options:o}},getLastStocksTrade:async(e,t={})=>{N("getLastStocksTrade","stocksTicker",e);let i="/v2/last/trade/{stocksTicker}".replace("{stocksTicker}",encodeURIComponent(String(e))),n=new URL(i,L),s;a&&(s=a.baseOptions);let o={method:"GET",...s,...t},r={},d={};await T(d,"apiKey",a),F(n,d);let l=s&&s.headers?s.headers:{};return o.headers={...r,...l,...t.headers},{url:U(n),options:o}},getMarketHolidays:async(e={})=>{let t="/v1/marketstatus/upcoming",i=new URL(t,L),n;a&&(n=a.baseOptions);let s={method:"GET",...n,...e},o={},r={};await T(r,"apiKey",a),F(i,r);let d=n&&n.headers?n.headers:{};return s.headers={...o,...d,...e.headers},{url:U(i),options:s}},getMarketStatus:async(e={})=>{let t="/v1/marketstatus/now",i=new URL(t,L),n;a&&(n=a.baseOptions);let s={method:"GET",...n,...e},o={},r={};await T(r,"apiKey",a),F(i,r);let d=n&&n.headers?n.headers:{};return s.headers={...o,...d,...e.headers},{url:U(i),options:s}},getOptionContract:async(e,t,i={})=>{N("getOptionContract","underlyingAsset",e),N("getOptionContract","optionContract",t);let n="/v3/snapshot/options/{underlyingAsset}/{optionContract}".replace("{underlyingAsset}",encodeURIComponent(String(e))).replace("{optionContract}",encodeURIComponent(String(t))),s=new URL(n,L),o;a&&(o=a.baseOptions);let r={method:"GET",...o,...i},d={},l={};await T(l,"apiKey",a),F(s,l);let g=o&&o.headers?o.headers:{};return r.headers={...d,...g,...i.headers},{url:U(s),options:r}},getOptionsAggregates:async(e,t,i,n,s,o,r,d,l={})=>{N("getOptionsAggregates","optionsTicker",e),N("getOptionsAggregates","multiplier",t),N("getOptionsAggregates","timespan",i),N("getOptionsAggregates","from",n),N("getOptionsAggregates","to",s);let g="/v2/aggs/ticker/{optionsTicker}/range/{multiplier}/{timespan}/{from}/{to}".replace("{optionsTicker}",encodeURIComponent(String(e))).replace("{multiplier}",encodeURIComponent(String(t))).replace("{timespan}",encodeURIComponent(String(i))).replace("{from}",encodeURIComponent(String(n))).replace("{to}",encodeURIComponent(String(s))),f=new URL(g,L),p;a&&(p=a.baseOptions);let y={method:"GET",...p,...l},m={},u={};await T(u,"apiKey",a),o!==void 0&&(u.adjusted=o),r!==void 0&&(u.sort=r),d!==void 0&&(u.limit=d),F(f,u);let b=p&&p.headers?p.headers:{};return y.headers={...m,...b,...l.headers},{url:U(f),options:y}},getOptionsChain:async(e,t,i,n,s,o,r,d,l,g,f,p,y,m,u,b={})=>{N("getOptionsChain","underlyingAsset",e);let h="/v3/snapshot/options/{underlyingAsset}".replace("{underlyingAsset}",encodeURIComponent(String(e))),x=new URL(h,L),R;a&&(R=a.baseOptions);let c={method:"GET",...R,...b},_={},A={};await T(A,"apiKey",a),t!==void 0&&(A.strike_price=t),i!==void 0&&(A.expiration_date=i),n!==void 0&&(A.contract_type=n),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),f!==void 0&&(A["expiration_date.lte"]=f),p!==void 0&&(A["expiration_date.lt"]=p),y!==void 0&&(A.order=y),m!==void 0&&(A.limit=m),u!==void 0&&(A.sort=u),F(x,A);let k=R&&R.headers?R.headers:{};return c.headers={..._,...k,...b.headers},{url:U(x),options:c}},getOptionsContract:async(e,t,i={})=>{N("getOptionsContract","optionsTicker",e);let n="/v3/reference/options/contracts/{options_ticker}".replace("{options_ticker}",encodeURIComponent(String(e))),s=new URL(n,L),o;a&&(o=a.baseOptions);let r={method:"GET",...o,...i},d={},l={};await T(l,"apiKey",a),t!==void 0&&(l.as_of=t),F(s,l);let g=o&&o.headers?o.headers:{};return r.headers={...d,...g,...i.headers},{url:U(s),options:r}},getOptionsEMA:async(e,t,i,n,s,o,r,d,l,g,f,p,y,m={})=>{N("getOptionsEMA","optionsTicker",e);let u="/v1/indicators/ema/{optionsTicker}".replace("{optionsTicker}",encodeURIComponent(String(e))),b=new URL(u,L),h;a&&(h=a.baseOptions);let x={method:"GET",...h,...m},R={},c={};await T(c,"apiKey",a),t!==void 0&&(c.timestamp=t),i!==void 0&&(c.timespan=i),n!==void 0&&(c.adjusted=n),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),f!==void 0&&(c["timestamp.gt"]=f),p!==void 0&&(c["timestamp.lte"]=p),y!==void 0&&(c["timestamp.lt"]=y),F(b,c);let _=h&&h.headers?h.headers:{};return x.headers={...R,..._,...m.headers},{url:U(b),options:x}},getOptionsMACD:async(e,t,i,n,s,o,r,d,l,g,f,p,y,m,u,b={})=>{N("getOptionsMACD","optionsTicker",e);let h="/v1/indicators/macd/{optionsTicker}".replace("{optionsTicker}",encodeURIComponent(String(e))),x=new URL(h,L),R;a&&(R=a.baseOptions);let c={method:"GET",...R,...b},_={},A={};await T(A,"apiKey",a),t!==void 0&&(A.timestamp=t),i!==void 0&&(A.timespan=i),n!==void 0&&(A.adjusted=n),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),f!==void 0&&(A.limit=f),p!==void 0&&(A["timestamp.gte"]=p),y!==void 0&&(A["timestamp.gt"]=y),m!==void 0&&(A["timestamp.lte"]=m),u!==void 0&&(A["timestamp.lt"]=u),F(x,A);let k=R&&R.headers?R.headers:{};return c.headers={..._,...k,...b.headers},{url:U(x),options:c}},getOptionsOpenClose:async(e,t,i,n={})=>{N("getOptionsOpenClose","optionsTicker",e),N("getOptionsOpenClose","date",t);let s="/v1/open-close/{optionsTicker}/{date}".replace("{optionsTicker}",encodeURIComponent(String(e))).replace("{date}",encodeURIComponent(String(t))),o=new URL(s,L),r;a&&(r=a.baseOptions);let d={method:"GET",...r,...n},l={},g={};await T(g,"apiKey",a),i!==void 0&&(g.adjusted=i),F(o,g);let f=r&&r.headers?r.headers:{};return d.headers={...l,...f,...n.headers},{url:U(o),options:d}},getOptionsQuotes:async(e,t,i,n,s,o,r,d,l,g={})=>{N("getOptionsQuotes","optionsTicker",e);let f="/v3/quotes/{optionsTicker}".replace("{optionsTicker}",encodeURIComponent(String(e))),p=new URL(f,L),y;a&&(y=a.baseOptions);let m={method:"GET",...y,...g},u={},b={};await T(b,"apiKey",a),t!==void 0&&(b.timestamp=t),i!==void 0&&(b["timestamp.gte"]=i),n!==void 0&&(b["timestamp.gt"]=n),s!==void 0&&(b["timestamp.lte"]=s),o!==void 0&&(b["timestamp.lt"]=o),r!==void 0&&(b.order=r),d!==void 0&&(b.limit=d),l!==void 0&&(b.sort=l),F(p,b);let h=y&&y.headers?y.headers:{};return m.headers={...u,...h,...g.headers},{url:U(p),options:m}},getOptionsRSI:async(e,t,i,n,s,o,r,d,l,g,f,p,y,m={})=>{N("getOptionsRSI","optionsTicker",e);let u="/v1/indicators/rsi/{optionsTicker}".replace("{optionsTicker}",encodeURIComponent(String(e))),b=new URL(u,L),h;a&&(h=a.baseOptions);let x={method:"GET",...h,...m},R={},c={};await T(c,"apiKey",a),t!==void 0&&(c.timestamp=t),i!==void 0&&(c.timespan=i),n!==void 0&&(c.adjusted=n),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),f!==void 0&&(c["timestamp.gt"]=f),p!==void 0&&(c["timestamp.lte"]=p),y!==void 0&&(c["timestamp.lt"]=y),F(b,c);let _=h&&h.headers?h.headers:{};return x.headers={...R,..._,...m.headers},{url:U(b),options:x}},getOptionsSMA:async(e,t,i,n,s,o,r,d,l,g,f,p,y,m={})=>{N("getOptionsSMA","optionsTicker",e);let u="/v1/indicators/sma/{optionsTicker}".replace("{optionsTicker}",encodeURIComponent(String(e))),b=new URL(u,L),h;a&&(h=a.baseOptions);let x={method:"GET",...h,...m},R={},c={};await T(c,"apiKey",a),t!==void 0&&(c.timestamp=t),i!==void 0&&(c.timespan=i),n!==void 0&&(c.adjusted=n),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),f!==void 0&&(c["timestamp.gt"]=f),p!==void 0&&(c["timestamp.lte"]=p),y!==void 0&&(c["timestamp.lt"]=y),F(b,c);let _=h&&h.headers?h.headers:{};return x.headers={...R,..._,...m.headers},{url:U(b),options:x}},getOptionsTrades:async(e,t,i,n,s,o,r,d,l,g={})=>{N("getOptionsTrades","optionsTicker",e);let f="/v3/trades/{optionsTicker}".replace("{optionsTicker}",encodeURIComponent(String(e))),p=new URL(f,L),y;a&&(y=a.baseOptions);let m={method:"GET",...y,...g},u={},b={};await T(b,"apiKey",a),t!==void 0&&(b.timestamp=t),i!==void 0&&(b["timestamp.gte"]=i),n!==void 0&&(b["timestamp.gt"]=n),s!==void 0&&(b["timestamp.lte"]=s),o!==void 0&&(b["timestamp.lt"]=o),r!==void 0&&(b.order=r),d!==void 0&&(b.limit=d),l!==void 0&&(b.sort=l),F(p,b);let h=y&&y.headers?y.headers:{};return m.headers={...u,...h,...g.headers},{url:U(p),options:m}},getOptionsV1Exchanges:async(e,t={})=>{let i="/options/v1/exchanges",n=new URL(i,L),s;a&&(s=a.baseOptions);let o={method:"GET",...s,...t},r={},d={};await T(d,"apiKey",a),e!==void 0&&(d.limit=e),F(n,d);let l=s&&s.headers?s.headers:{};return o.headers={...r,...l,...t.headers},{url:U(n),options:o}},getPreviousCryptoAggregates:async(e,t,i={})=>{N("getPreviousCryptoAggregates","cryptoTicker",e);let n="/v2/aggs/ticker/{cryptoTicker}/prev".replace("{cryptoTicker}",encodeURIComponent(String(e))),s=new URL(n,L),o;a&&(o=a.baseOptions);let r={method:"GET",...o,...i},d={},l={};await T(l,"apiKey",a),t!==void 0&&(l.adjusted=t),F(s,l);let g=o&&o.headers?o.headers:{};return r.headers={...d,...g,...i.headers},{url:U(s),options:r}},getPreviousForexAggregates:async(e,t,i={})=>{N("getPreviousForexAggregates","forexTicker",e);let n="/v2/aggs/ticker/{forexTicker}/prev".replace("{forexTicker}",encodeURIComponent(String(e))),s=new URL(n,L),o;a&&(o=a.baseOptions);let r={method:"GET",...o,...i},d={},l={};await T(l,"apiKey",a),t!==void 0&&(l.adjusted=t),F(s,l);let g=o&&o.headers?o.headers:{};return r.headers={...d,...g,...i.headers},{url:U(s),options:r}},getPreviousIndicesAggregates:async(e,t={})=>{N("getPreviousIndicesAggregates","indicesTicker",e);let i="/v2/aggs/ticker/{indicesTicker}/prev".replace("{indicesTicker}",encodeURIComponent(String(e))),n=new URL(i,L),s;a&&(s=a.baseOptions);let o={method:"GET",...s,...t},r={},d={};await T(d,"apiKey",a),F(n,d);let l=s&&s.headers?s.headers:{};return o.headers={...r,...l,...t.headers},{url:U(n),options:o}},getPreviousOptionsAggregates:async(e,t,i={})=>{N("getPreviousOptionsAggregates","optionsTicker",e);let n="/v2/aggs/ticker/{optionsTicker}/prev".replace("{optionsTicker}",encodeURIComponent(String(e))),s=new URL(n,L),o;a&&(o=a.baseOptions);let r={method:"GET",...o,...i},d={},l={};await T(l,"apiKey",a),t!==void 0&&(l.adjusted=t),F(s,l);let g=o&&o.headers?o.headers:{};return r.headers={...d,...g,...i.headers},{url:U(s),options:r}},getPreviousStocksAggregates:async(e,t,i={})=>{N("getPreviousStocksAggregates","stocksTicker",e);let n="/v2/aggs/ticker/{stocksTicker}/prev".replace("{stocksTicker}",encodeURIComponent(String(e))),s=new URL(n,L),o;a&&(o=a.baseOptions);let r={method:"GET",...o,...i},d={},l={};await T(l,"apiKey",a),t!==void 0&&(l.adjusted=t),F(s,l);let g=o&&o.headers?o.headers:{};return r.headers={...d,...g,...i.headers},{url:U(s),options:r}},getRelatedCompanies:async(e,t={})=>{N("getRelatedCompanies","ticker",e);let i="/v1/related-companies/{ticker}".replace("{ticker}",encodeURIComponent(String(e))),n=new URL(i,L),s;a&&(s=a.baseOptions);let o={method:"GET",...s,...t},r={},d={};await T(d,"apiKey",a),F(n,d);let l=s&&s.headers?s.headers:{};return o.headers={...r,...l,...t.headers},{url:U(n),options:o}},getSnapshotSummary:async(e,t={})=>{let i="/v1/summaries",n=new URL(i,L),s;a&&(s=a.baseOptions);let o={method:"GET",...s,...t},r={},d={};await T(d,"apiKey",a),e!==void 0&&(d["ticker.any_of"]=e),F(n,d);let l=s&&s.headers?s.headers:{};return o.headers={...r,...l,...t.headers},{url:U(n),options:o}},getSnapshots:async(e,t,i,n,s,o,r,d,l,g,f={})=>{let p="/v3/snapshot",y=new URL(p,L),m;a&&(m=a.baseOptions);let u={method:"GET",...m,...f},b={},h={};await T(h,"apiKey",a),e!==void 0&&(h.ticker=e),t!==void 0&&(h.type=t),i!==void 0&&(h["ticker.gte"]=i),n!==void 0&&(h["ticker.gt"]=n),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),F(y,h);let x=m&&m.headers?m.headers:{};return u.headers={...b,...x,...f.headers},{url:U(y),options:u}},getStocksAggregates:async(e,t,i,n,s,o,r,d,l={})=>{N("getStocksAggregates","stocksTicker",e),N("getStocksAggregates","multiplier",t),N("getStocksAggregates","timespan",i),N("getStocksAggregates","from",n),N("getStocksAggregates","to",s);let g="/v2/aggs/ticker/{stocksTicker}/range/{multiplier}/{timespan}/{from}/{to}".replace("{stocksTicker}",encodeURIComponent(String(e))).replace("{multiplier}",encodeURIComponent(String(t))).replace("{timespan}",encodeURIComponent(String(i))).replace("{from}",encodeURIComponent(String(n))).replace("{to}",encodeURIComponent(String(s))),f=new URL(g,L),p;a&&(p=a.baseOptions);let y={method:"GET",...p,...l},m={},u={};await T(u,"apiKey",a),o!==void 0&&(u.adjusted=o),r!==void 0&&(u.sort=r),d!==void 0&&(u.limit=d),F(f,u);let b=p&&p.headers?p.headers:{};return y.headers={...m,...b,...l.headers},{url:U(f),options:y}},getStocksEMA:async(e,t,i,n,s,o,r,d,l,g,f,p,y,m={})=>{N("getStocksEMA","stockTicker",e);let u="/v1/indicators/ema/{stockTicker}".replace("{stockTicker}",encodeURIComponent(String(e))),b=new URL(u,L),h;a&&(h=a.baseOptions);let x={method:"GET",...h,...m},R={},c={};await T(c,"apiKey",a),t!==void 0&&(c.timestamp=t),i!==void 0&&(c.timespan=i),n!==void 0&&(c.adjusted=n),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),f!==void 0&&(c["timestamp.gt"]=f),p!==void 0&&(c["timestamp.lte"]=p),y!==void 0&&(c["timestamp.lt"]=y),F(b,c);let _=h&&h.headers?h.headers:{};return x.headers={...R,..._,...m.headers},{url:U(b),options:x}},getStocksFilingsVXRiskFactors:async(e,t,i,n,s,o,r,d,l,g,f,p,y,m,u,b,h,x,R,c,_={})=>{let A="/stocks/filings/vX/risk-factors",k=new URL(A,L),w;a&&(w=a.baseOptions);let G={method:"GET",...w,..._},M={},O={};await T(O,"apiKey",a),e!==void 0&&(O.filing_date=e),t!==void 0&&(O["filing_date.any_of"]=t),i!==void 0&&(O["filing_date.gt"]=i),n!==void 0&&(O["filing_date.gte"]=n),s!==void 0&&(O["filing_date.lt"]=s),o!==void 0&&(O["filing_date.lte"]=o),r!==void 0&&(O.ticker=r),d!==void 0&&(O["ticker.any_of"]=d),l!==void 0&&(O["ticker.gt"]=l),g!==void 0&&(O["ticker.gte"]=g),f!==void 0&&(O["ticker.lt"]=f),p!==void 0&&(O["ticker.lte"]=p),y!==void 0&&(O.cik=y),m!==void 0&&(O["cik.any_of"]=m),u!==void 0&&(O["cik.gt"]=u),b!==void 0&&(O["cik.gte"]=b),h!==void 0&&(O["cik.lt"]=h),x!==void 0&&(O["cik.lte"]=x),R!==void 0&&(O.limit=R),c!==void 0&&(O.sort=c),F(k,O);let X=w&&w.headers?w.headers:{};return G.headers={...M,...X,..._.headers},{url:U(k),options:G}},getStocksFilingsVXText:async(e,t,i,n,s,o,r,d,l,g,f,p,y,m,u,b,h,x,R,c,_,A,k,w,G,M,O,X,v={})=>{let K="/stocks/filings/vX/text",J=new URL(K,L),S;a&&(S=a.baseOptions);let V={method:"GET",...S,...v},j={},Y={};await T(Y,"apiKey",a),e!==void 0&&(Y.cik=e),t!==void 0&&(Y["cik.any_of"]=t),i!==void 0&&(Y["cik.gt"]=i),n!==void 0&&(Y["cik.gte"]=n),s!==void 0&&(Y["cik.lt"]=s),o!==void 0&&(Y["cik.lte"]=o),r!==void 0&&(Y.ticker=r),d!==void 0&&(Y["ticker.any_of"]=d),l!==void 0&&(Y["ticker.gt"]=l),g!==void 0&&(Y["ticker.gte"]=g),f!==void 0&&(Y["ticker.lt"]=f),p!==void 0&&(Y["ticker.lte"]=p),y!==void 0&&(Y.form_type=y),m!==void 0&&(Y["form_type.any_of"]=m),u!==void 0&&(Y.section=u),b!==void 0&&(Y["section.any_of"]=b),h!==void 0&&(Y.filing_date=h),x!==void 0&&(Y["filing_date.gt"]=x),R!==void 0&&(Y["filing_date.gte"]=R),c!==void 0&&(Y["filing_date.lt"]=c),_!==void 0&&(Y["filing_date.lte"]=_),A!==void 0&&(Y.period_end=A),k!==void 0&&(Y["period_end.gt"]=k),w!==void 0&&(Y["period_end.gte"]=w),G!==void 0&&(Y["period_end.lt"]=G),M!==void 0&&(Y["period_end.lte"]=M),O!==void 0&&(Y.limit=O),X!==void 0&&(Y.sort=X),F(J,Y);let se=S&&S.headers?S.headers:{};return V.headers={...j,...se,...v.headers},{url:U(J),options:V}},getStocksFinancialsV1BalanceSheets:async(e,t,i,n,s,o,r,d,l,g,f,p,y,m,u,b,h,x,R,c,_,A,k,w,G,M,O,X,v,K,J,S,V,j,Y,se,ae,de={})=>{let re="/stocks/financials/v1/balance-sheets",ie=new URL(re,L),ne;a&&(ne=a.baseOptions);let $={method:"GET",...ne,...de},W={},C={};await T(C,"apiKey",a),e!==void 0&&(C.cik=e),t!==void 0&&(C["cik.any_of"]=t),i!==void 0&&(C["cik.gt"]=i),n!==void 0&&(C["cik.gte"]=n),s!==void 0&&(C["cik.lt"]=s),o!==void 0&&(C["cik.lte"]=o),r!==void 0&&(C.tickers=r),d!==void 0&&(C["tickers.all_of"]=d),l!==void 0&&(C["tickers.any_of"]=l),g!==void 0&&(C.period_end=g),f!==void 0&&(C["period_end.gt"]=f),p!==void 0&&(C["period_end.gte"]=p),y!==void 0&&(C["period_end.lt"]=y),m!==void 0&&(C["period_end.lte"]=m),u!==void 0&&(C.filing_date=u),b!==void 0&&(C["filing_date.gt"]=b),h!==void 0&&(C["filing_date.gte"]=h),x!==void 0&&(C["filing_date.lt"]=x),R!==void 0&&(C["filing_date.lte"]=R),c!==void 0&&(C.fiscal_year=c),_!==void 0&&(C["fiscal_year.gt"]=_),A!==void 0&&(C["fiscal_year.gte"]=A),k!==void 0&&(C["fiscal_year.lt"]=k),w!==void 0&&(C["fiscal_year.lte"]=w),G!==void 0&&(C.fiscal_quarter=G),M!==void 0&&(C["fiscal_quarter.gt"]=M),O!==void 0&&(C["fiscal_quarter.gte"]=O),X!==void 0&&(C["fiscal_quarter.lt"]=X),v!==void 0&&(C["fiscal_quarter.lte"]=v),K!==void 0&&(C.timeframe=K),J!==void 0&&(C["timeframe.any_of"]=J),S!==void 0&&(C["timeframe.gt"]=S),V!==void 0&&(C["timeframe.gte"]=V),j!==void 0&&(C["timeframe.lt"]=j),Y!==void 0&&(C["timeframe.lte"]=Y),se!==void 0&&(C.limit=se),ae!==void 0&&(C.sort=ae),F(ie,C);let le=ne&&ne.headers?ne.headers:{};return $.headers={...W,...le,...de.headers},{url:U(ie),options:$}},getStocksFinancialsV1CashFlowStatements:async(e,t,i,n,s,o,r,d,l,g,f,p,y,m,u,b,h,x,R,c,_,A,k,w,G,M,O,X,v,K,J,S,V,j,Y,se,ae,de={})=>{let re="/stocks/financials/v1/cash-flow-statements",ie=new URL(re,L),ne;a&&(ne=a.baseOptions);let $={method:"GET",...ne,...de},W={},C={};await T(C,"apiKey",a),e!==void 0&&(C.cik=e),t!==void 0&&(C["cik.any_of"]=t),i!==void 0&&(C["cik.gt"]=i),n!==void 0&&(C["cik.gte"]=n),s!==void 0&&(C["cik.lt"]=s),o!==void 0&&(C["cik.lte"]=o),r!==void 0&&(C.period_end=r),d!==void 0&&(C["period_end.gt"]=d),l!==void 0&&(C["period_end.gte"]=l),g!==void 0&&(C["period_end.lt"]=g),f!==void 0&&(C["period_end.lte"]=f),p!==void 0&&(C.filing_date=p),y!==void 0&&(C["filing_date.gt"]=y),m!==void 0&&(C["filing_date.gte"]=m),u!==void 0&&(C["filing_date.lt"]=u),b!==void 0&&(C["filing_date.lte"]=b),h!==void 0&&(C.tickers=h),x!==void 0&&(C["tickers.all_of"]=x),R!==void 0&&(C["tickers.any_of"]=R),c!==void 0&&(C.fiscal_year=c),_!==void 0&&(C["fiscal_year.gt"]=_),A!==void 0&&(C["fiscal_year.gte"]=A),k!==void 0&&(C["fiscal_year.lt"]=k),w!==void 0&&(C["fiscal_year.lte"]=w),G!==void 0&&(C.fiscal_quarter=G),M!==void 0&&(C["fiscal_quarter.gt"]=M),O!==void 0&&(C["fiscal_quarter.gte"]=O),X!==void 0&&(C["fiscal_quarter.lt"]=X),v!==void 0&&(C["fiscal_quarter.lte"]=v),K!==void 0&&(C.timeframe=K),J!==void 0&&(C["timeframe.any_of"]=J),S!==void 0&&(C["timeframe.gt"]=S),V!==void 0&&(C["timeframe.gte"]=V),j!==void 0&&(C["timeframe.lt"]=j),Y!==void 0&&(C["timeframe.lte"]=Y),se!==void 0&&(C.limit=se),ae!==void 0&&(C.sort=ae),F(ie,C);let le=ne&&ne.headers?ne.headers:{};return $.headers={...W,...le,...de.headers},{url:U(ie),options:$}},getStocksFinancialsV1IncomeStatements:async(e,t,i,n,s,o,r,d,l,g,f,p,y,m,u,b,h,x,R,c,_,A,k,w,G,M,O,X,v,K,J,S,V,j,Y,se,ae,de={})=>{let re="/stocks/financials/v1/income-statements",ie=new URL(re,L),ne;a&&(ne=a.baseOptions);let $={method:"GET",...ne,...de},W={},C={};await T(C,"apiKey",a),e!==void 0&&(C.cik=e),t!==void 0&&(C["cik.any_of"]=t),i!==void 0&&(C["cik.gt"]=i),n!==void 0&&(C["cik.gte"]=n),s!==void 0&&(C["cik.lt"]=s),o!==void 0&&(C["cik.lte"]=o),r!==void 0&&(C.tickers=r),d!==void 0&&(C["tickers.all_of"]=d),l!==void 0&&(C["tickers.any_of"]=l),g!==void 0&&(C.period_end=g),f!==void 0&&(C["period_end.gt"]=f),p!==void 0&&(C["period_end.gte"]=p),y!==void 0&&(C["period_end.lt"]=y),m!==void 0&&(C["period_end.lte"]=m),u!==void 0&&(C.filing_date=u),b!==void 0&&(C["filing_date.gt"]=b),h!==void 0&&(C["filing_date.gte"]=h),x!==void 0&&(C["filing_date.lt"]=x),R!==void 0&&(C["filing_date.lte"]=R),c!==void 0&&(C.fiscal_year=c),_!==void 0&&(C["fiscal_year.gt"]=_),A!==void 0&&(C["fiscal_year.gte"]=A),k!==void 0&&(C["fiscal_year.lt"]=k),w!==void 0&&(C["fiscal_year.lte"]=w),G!==void 0&&(C.fiscal_quarter=G),M!==void 0&&(C["fiscal_quarter.gt"]=M),O!==void 0&&(C["fiscal_quarter.gte"]=O),X!==void 0&&(C["fiscal_quarter.lt"]=X),v!==void 0&&(C["fiscal_quarter.lte"]=v),K!==void 0&&(C.timeframe=K),J!==void 0&&(C["timeframe.any_of"]=J),S!==void 0&&(C["timeframe.gt"]=S),V!==void 0&&(C["timeframe.gte"]=V),j!==void 0&&(C["timeframe.lt"]=j),Y!==void 0&&(C["timeframe.lte"]=Y),se!==void 0&&(C.limit=se),ae!==void 0&&(C.sort=ae),F(ie,C);let le=ne&&ne.headers?ne.headers:{};return $.headers={...W,...le,...de.headers},{url:U(ie),options:$}},getStocksFinancialsV1Ratios:async(e,t,i,n,s,o,r,d,l,g,f,p,y,m,u,b,h,x,R,c,_,A,k,w,G,M,O,X,v,K,J,S,V,j,Y,se,ae,de,re,ie,ne,$,W,C,le,pe,ge,ce,ue,Z,q,ye,fe,be,P,z,me,he,xe,Re,te,Ae,oe,Ge,Oe,Ce,Ve,Se,we,ve,Le,Ie,_e,De,Te,ee,Ue,Be,Ee,Qe,ze,Me,He,je,Ke,Ne,Xe,$e,Ye,We,Je,Ze,qe,Pe,en,nn,tn,sn,on,rn,an,dn,ln,gn,cn,pn,un,fn,yn,bn,mn,hn,Rn,xn,An={})=>{let Sn="/stocks/financials/v1/ratios",_n=new URL(Sn,L),Fe;a&&(Fe=a.baseOptions);let kn={method:"GET",...Fe,...An},wn={},H={};await T(H,"apiKey",a),e!==void 0&&(H.ticker=e),t!==void 0&&(H["ticker.any_of"]=t),i!==void 0&&(H["ticker.gt"]=i),n!==void 0&&(H["ticker.gte"]=n),s!==void 0&&(H["ticker.lt"]=s),o!==void 0&&(H["ticker.lte"]=o),r!==void 0&&(H.cik=r),d!==void 0&&(H["cik.any_of"]=d),l!==void 0&&(H["cik.gt"]=l),g!==void 0&&(H["cik.gte"]=g),f!==void 0&&(H["cik.lt"]=f),p!==void 0&&(H["cik.lte"]=p),y!==void 0&&(H.price=y),m!==void 0&&(H["price.gt"]=m),u!==void 0&&(H["price.gte"]=u),b!==void 0&&(H["price.lt"]=b),h!==void 0&&(H["price.lte"]=h),x!==void 0&&(H.average_volume=x),R!==void 0&&(H["average_volume.gt"]=R),c!==void 0&&(H["average_volume.gte"]=c),_!==void 0&&(H["average_volume.lt"]=_),A!==void 0&&(H["average_volume.lte"]=A),k!==void 0&&(H.market_cap=k),w!==void 0&&(H["market_cap.gt"]=w),G!==void 0&&(H["market_cap.gte"]=G),M!==void 0&&(H["market_cap.lt"]=M),O!==void 0&&(H["market_cap.lte"]=O),X!==void 0&&(H.earnings_per_share=X),v!==void 0&&(H["earnings_per_share.gt"]=v),K!==void 0&&(H["earnings_per_share.gte"]=K),J!==void 0&&(H["earnings_per_share.lt"]=J),S!==void 0&&(H["earnings_per_share.lte"]=S),V!==void 0&&(H.price_to_earnings=V),j!==void 0&&(H["price_to_earnings.gt"]=j),Y!==void 0&&(H["price_to_earnings.gte"]=Y),se!==void 0&&(H["price_to_earnings.lt"]=se),ae!==void 0&&(H["price_to_earnings.lte"]=ae),de!==void 0&&(H.price_to_book=de),re!==void 0&&(H["price_to_book.gt"]=re),ie!==void 0&&(H["price_to_book.gte"]=ie),ne!==void 0&&(H["price_to_book.lt"]=ne),$!==void 0&&(H["price_to_book.lte"]=$),W!==void 0&&(H.price_to_sales=W),C!==void 0&&(H["price_to_sales.gt"]=C),le!==void 0&&(H["price_to_sales.gte"]=le),pe!==void 0&&(H["price_to_sales.lt"]=pe),ge!==void 0&&(H["price_to_sales.lte"]=ge),ce!==void 0&&(H.price_to_cash_flow=ce),ue!==void 0&&(H["price_to_cash_flow.gt"]=ue),Z!==void 0&&(H["price_to_cash_flow.gte"]=Z),q!==void 0&&(H["price_to_cash_flow.lt"]=q),ye!==void 0&&(H["price_to_cash_flow.lte"]=ye),fe!==void 0&&(H.price_to_free_cash_flow=fe),be!==void 0&&(H["price_to_free_cash_flow.gt"]=be),P!==void 0&&(H["price_to_free_cash_flow.gte"]=P),z!==void 0&&(H["price_to_free_cash_flow.lt"]=z),me!==void 0&&(H["price_to_free_cash_flow.lte"]=me),he!==void 0&&(H.dividend_yield=he),xe!==void 0&&(H["dividend_yield.gt"]=xe),Re!==void 0&&(H["dividend_yield.gte"]=Re),te!==void 0&&(H["dividend_yield.lt"]=te),Ae!==void 0&&(H["dividend_yield.lte"]=Ae),oe!==void 0&&(H.return_on_assets=oe),Ge!==void 0&&(H["return_on_assets.gt"]=Ge),Oe!==void 0&&(H["return_on_assets.gte"]=Oe),Ce!==void 0&&(H["return_on_assets.lt"]=Ce),Ve!==void 0&&(H["return_on_assets.lte"]=Ve),Se!==void 0&&(H.return_on_equity=Se),we!==void 0&&(H["return_on_equity.gt"]=we),ve!==void 0&&(H["return_on_equity.gte"]=ve),Le!==void 0&&(H["return_on_equity.lt"]=Le),Ie!==void 0&&(H["return_on_equity.lte"]=Ie),_e!==void 0&&(H.debt_to_equity=_e),De!==void 0&&(H["debt_to_equity.gt"]=De),Te!==void 0&&(H["debt_to_equity.gte"]=Te),ee!==void 0&&(H["debt_to_equity.lt"]=ee),Ue!==void 0&&(H["debt_to_equity.lte"]=Ue),Be!==void 0&&(H.current=Be),Ee!==void 0&&(H["current.gt"]=Ee),Qe!==void 0&&(H["current.gte"]=Qe),ze!==void 0&&(H["current.lt"]=ze),Me!==void 0&&(H["current.lte"]=Me),He!==void 0&&(H.quick=He),je!==void 0&&(H["quick.gt"]=je),Ke!==void 0&&(H["quick.gte"]=Ke),Ne!==void 0&&(H["quick.lt"]=Ne),Xe!==void 0&&(H["quick.lte"]=Xe),$e!==void 0&&(H.cash=$e),Ye!==void 0&&(H["cash.gt"]=Ye),We!==void 0&&(H["cash.gte"]=We),Je!==void 0&&(H["cash.lt"]=Je),Ze!==void 0&&(H["cash.lte"]=Ze),qe!==void 0&&(H.ev_to_sales=qe),Pe!==void 0&&(H["ev_to_sales.gt"]=Pe),en!==void 0&&(H["ev_to_sales.gte"]=en),nn!==void 0&&(H["ev_to_sales.lt"]=nn),tn!==void 0&&(H["ev_to_sales.lte"]=tn),sn!==void 0&&(H.ev_to_ebitda=sn),on!==void 0&&(H["ev_to_ebitda.gt"]=on),rn!==void 0&&(H["ev_to_ebitda.gte"]=rn),an!==void 0&&(H["ev_to_ebitda.lt"]=an),dn!==void 0&&(H["ev_to_ebitda.lte"]=dn),ln!==void 0&&(H.enterprise_value=ln),gn!==void 0&&(H["enterprise_value.gt"]=gn),cn!==void 0&&(H["enterprise_value.gte"]=cn),pn!==void 0&&(H["enterprise_value.lt"]=pn),un!==void 0&&(H["enterprise_value.lte"]=un),fn!==void 0&&(H.free_cash_flow=fn),yn!==void 0&&(H["free_cash_flow.gt"]=yn),bn!==void 0&&(H["free_cash_flow.gte"]=bn),mn!==void 0&&(H["free_cash_flow.lt"]=mn),hn!==void 0&&(H["free_cash_flow.lte"]=hn),Rn!==void 0&&(H.limit=Rn),xn!==void 0&&(H.sort=xn),F(_n,H);let En=Fe&&Fe.headers?Fe.headers:{};return kn.headers={...wn,...En,...An.headers},{url:U(_n),options:kn}},getStocksMACD:async(e,t,i,n,s,o,r,d,l,g,f,p,y,m,u,b={})=>{N("getStocksMACD","stockTicker",e);let h="/v1/indicators/macd/{stockTicker}".replace("{stockTicker}",encodeURIComponent(String(e))),x=new URL(h,L),R;a&&(R=a.baseOptions);let c={method:"GET",...R,...b},_={},A={};await T(A,"apiKey",a),t!==void 0&&(A.timestamp=t),i!==void 0&&(A.timespan=i),n!==void 0&&(A.adjusted=n),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),f!==void 0&&(A.limit=f),p!==void 0&&(A["timestamp.gte"]=p),y!==void 0&&(A["timestamp.gt"]=y),m!==void 0&&(A["timestamp.lte"]=m),u!==void 0&&(A["timestamp.lt"]=u),F(x,A);let k=R&&R.headers?R.headers:{};return c.headers={..._,...k,...b.headers},{url:U(x),options:c}},getStocksOpenClose:async(e,t,i,n={})=>{N("getStocksOpenClose","stocksTicker",e),N("getStocksOpenClose","date",t);let s="/v1/open-close/{stocksTicker}/{date}".replace("{stocksTicker}",encodeURIComponent(String(e))).replace("{date}",encodeURIComponent(String(t))),o=new URL(s,L),r;a&&(r=a.baseOptions);let d={method:"GET",...r,...n},l={},g={};await T(g,"apiKey",a),i!==void 0&&(g.adjusted=i),F(o,g);let f=r&&r.headers?r.headers:{};return d.headers={...l,...f,...n.headers},{url:U(o),options:d}},getStocksQuotes:async(e,t,i,n,s,o,r,d,l,g={})=>{N("getStocksQuotes","stockTicker",e);let f="/v3/quotes/{stockTicker}".replace("{stockTicker}",encodeURIComponent(String(e))),p=new URL(f,L),y;a&&(y=a.baseOptions);let m={method:"GET",...y,...g},u={},b={};await T(b,"apiKey",a),t!==void 0&&(b.timestamp=t),i!==void 0&&(b["timestamp.gte"]=i),n!==void 0&&(b["timestamp.gt"]=n),s!==void 0&&(b["timestamp.lte"]=s),o!==void 0&&(b["timestamp.lt"]=o),r!==void 0&&(b.order=r),d!==void 0&&(b.limit=d),l!==void 0&&(b.sort=l),F(p,b);let h=y&&y.headers?y.headers:{};return m.headers={...u,...h,...g.headers},{url:U(p),options:m}},getStocksRSI:async(e,t,i,n,s,o,r,d,l,g,f,p,y,m={})=>{N("getStocksRSI","stockTicker",e);let u="/v1/indicators/rsi/{stockTicker}".replace("{stockTicker}",encodeURIComponent(String(e))),b=new URL(u,L),h;a&&(h=a.baseOptions);let x={method:"GET",...h,...m},R={},c={};await T(c,"apiKey",a),t!==void 0&&(c.timestamp=t),i!==void 0&&(c.timespan=i),n!==void 0&&(c.adjusted=n),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),f!==void 0&&(c["timestamp.gt"]=f),p!==void 0&&(c["timestamp.lte"]=p),y!==void 0&&(c["timestamp.lt"]=y),F(b,c);let _=h&&h.headers?h.headers:{};return x.headers={...R,..._,...m.headers},{url:U(b),options:x}},getStocksSMA:async(e,t,i,n,s,o,r,d,l,g,f,p,y,m={})=>{N("getStocksSMA","stockTicker",e);let u="/v1/indicators/sma/{stockTicker}".replace("{stockTicker}",encodeURIComponent(String(e))),b=new URL(u,L),h;a&&(h=a.baseOptions);let x={method:"GET",...h,...m},R={},c={};await T(c,"apiKey",a),t!==void 0&&(c.timestamp=t),i!==void 0&&(c.timespan=i),n!==void 0&&(c.adjusted=n),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),f!==void 0&&(c["timestamp.gt"]=f),p!==void 0&&(c["timestamp.lte"]=p),y!==void 0&&(c["timestamp.lt"]=y),F(b,c);let _=h&&h.headers?h.headers:{};return x.headers={...R,..._,...m.headers},{url:U(b),options:x}},getStocksSnapshotDirection:async(e,t,i={})=>{N("getStocksSnapshotDirection","direction",e);let n="/v2/snapshot/locale/us/markets/stocks/{direction}".replace("{direction}",encodeURIComponent(String(e))),s=new URL(n,L),o;a&&(o=a.baseOptions);let r={method:"GET",...o,...i},d={},l={};await T(l,"apiKey",a),t!==void 0&&(l.include_otc=t),F(s,l);let g=o&&o.headers?o.headers:{};return r.headers={...d,...g,...i.headers},{url:U(s),options:r}},getStocksSnapshotTicker:async(e,t={})=>{N("getStocksSnapshotTicker","stocksTicker",e);let i="/v2/snapshot/locale/us/markets/stocks/tickers/{stocksTicker}".replace("{stocksTicker}",encodeURIComponent(String(e))),n=new URL(i,L),s;a&&(s=a.baseOptions);let o={method:"GET",...s,...t},r={},d={};await T(d,"apiKey",a),F(n,d);let l=s&&s.headers?s.headers:{};return o.headers={...r,...l,...t.headers},{url:U(n),options:o}},getStocksSnapshotTickers:async(e,t,i={})=>{let n="/v2/snapshot/locale/us/markets/stocks/tickers",s=new URL(n,L),o;a&&(o=a.baseOptions);let r={method:"GET",...o,...i},d={},l={};await T(l,"apiKey",a),e&&(l.tickers=e),t!==void 0&&(l.include_otc=t),F(s,l);let g=o&&o.headers?o.headers:{};return r.headers={...d,...g,...i.headers},{url:U(s),options:r}},getStocksTaxonomiesVXRiskFactors:async(e,t,i,n,s,o,r,d,l,g,f,p,y,m,u,b,h,x,R,c,_,A,k,w,G,M={})=>{let O="/stocks/taxonomies/vX/risk-factors",X=new URL(O,L),v;a&&(v=a.baseOptions);let K={method:"GET",...v,...M},J={},S={};await T(S,"apiKey",a),e!==void 0&&(S.taxonomy=e),t!==void 0&&(S["taxonomy.gt"]=t),i!==void 0&&(S["taxonomy.gte"]=i),n!==void 0&&(S["taxonomy.lt"]=n),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),f!==void 0&&(S["primary_category.lte"]=f),p!==void 0&&(S.secondary_category=p),y!==void 0&&(S["secondary_category.any_of"]=y),m!==void 0&&(S["secondary_category.gt"]=m),u!==void 0&&(S["secondary_category.gte"]=u),b!==void 0&&(S["secondary_category.lt"]=b),h!==void 0&&(S["secondary_category.lte"]=h),x!==void 0&&(S.tertiary_category=x),R!==void 0&&(S["tertiary_category.any_of"]=R),c!==void 0&&(S["tertiary_category.gt"]=c),_!==void 0&&(S["tertiary_category.gte"]=_),A!==void 0&&(S["tertiary_category.lt"]=A),k!==void 0&&(S["tertiary_category.lte"]=k),w!==void 0&&(S.limit=w),G!==void 0&&(S.sort=G),F(X,S);let V=v&&v.headers?v.headers:{};return K.headers={...J,...V,...M.headers},{url:U(X),options:K}},getStocksTrades:async(e,t,i,n,s,o,r,d,l,g={})=>{N("getStocksTrades","stockTicker",e);let f="/v3/trades/{stockTicker}".replace("{stockTicker}",encodeURIComponent(String(e))),p=new URL(f,L),y;a&&(y=a.baseOptions);let m={method:"GET",...y,...g},u={},b={};await T(b,"apiKey",a),t!==void 0&&(b.timestamp=t),i!==void 0&&(b["timestamp.gte"]=i),n!==void 0&&(b["timestamp.gt"]=n),s!==void 0&&(b["timestamp.lte"]=s),o!==void 0&&(b["timestamp.lt"]=o),r!==void 0&&(b.order=r),d!==void 0&&(b.limit=d),l!==void 0&&(b.sort=l),F(p,b);let h=y&&y.headers?y.headers:{};return m.headers={...u,...h,...g.headers},{url:U(p),options:m}},getStocksV1Dividends:async(e,t,i,n,s,o,r,d,l,g,f,p,y,m,u,b,h,x,R,c,_={})=>{let A="/stocks/v1/dividends",k=new URL(A,L),w;a&&(w=a.baseOptions);let G={method:"GET",...w,..._},M={},O={};await T(O,"apiKey",a),e!==void 0&&(O.ticker=e),t!==void 0&&(O["ticker.any_of"]=t),i!==void 0&&(O["ticker.gt"]=i),n!==void 0&&(O["ticker.gte"]=n),s!==void 0&&(O["ticker.lt"]=s),o!==void 0&&(O["ticker.lte"]=o),r!==void 0&&(O.ex_dividend_date=r),d!==void 0&&(O["ex_dividend_date.gt"]=d),l!==void 0&&(O["ex_dividend_date.gte"]=l),g!==void 0&&(O["ex_dividend_date.lt"]=g),f!==void 0&&(O["ex_dividend_date.lte"]=f),p!==void 0&&(O.frequency=p),y!==void 0&&(O["frequency.gt"]=y),m!==void 0&&(O["frequency.gte"]=m),u!==void 0&&(O["frequency.lt"]=u),b!==void 0&&(O["frequency.lte"]=b),h!==void 0&&(O.distribution_type=h),x!==void 0&&(O["distribution_type.any_of"]=x),R!==void 0&&(O.limit=R),c!==void 0&&(O.sort=c),F(k,O);let X=w&&w.headers?w.headers:{};return G.headers={...M,...X,..._.headers},{url:U(k),options:G}},getStocksV1Exchanges:async(e,t={})=>{let i="/stocks/v1/exchanges",n=new URL(i,L),s;a&&(s=a.baseOptions);let o={method:"GET",...s,...t},r={},d={};await T(d,"apiKey",a),e!==void 0&&(d.limit=e),F(n,d);let l=s&&s.headers?s.headers:{};return o.headers={...r,...l,...t.headers},{url:U(n),options:o}},getStocksV1ShortInterest:async(e,t,i,n,s,o,r,d,l,g,f,p,y,m,u,b,h,x,R,c,_,A,k,w,G,M,O={})=>{let X="/stocks/v1/short-interest",v=new URL(X,L),K;a&&(K=a.baseOptions);let J={method:"GET",...K,...O},S={},V={};await T(V,"apiKey",a),e!==void 0&&(V.ticker=e),t!==void 0&&(V["ticker.any_of"]=t),i!==void 0&&(V["ticker.gt"]=i),n!==void 0&&(V["ticker.gte"]=n),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),f!==void 0&&(V["days_to_cover.lt"]=f),p!==void 0&&(V["days_to_cover.lte"]=p),y!==void 0&&(V.settlement_date=y),m!==void 0&&(V["settlement_date.any_of"]=m),u!==void 0&&(V["settlement_date.gt"]=u),b!==void 0&&(V["settlement_date.gte"]=b),h!==void 0&&(V["settlement_date.lt"]=h),x!==void 0&&(V["settlement_date.lte"]=x),R!==void 0&&(V.avg_daily_volume=R),c!==void 0&&(V["avg_daily_volume.any_of"]=c),_!==void 0&&(V["avg_daily_volume.gt"]=_),A!==void 0&&(V["avg_daily_volume.gte"]=A),k!==void 0&&(V["avg_daily_volume.lt"]=k),w!==void 0&&(V["avg_daily_volume.lte"]=w),G!==void 0&&(V.limit=G),M!==void 0&&(V.sort=M),F(v,V);let j=K&&K.headers?K.headers:{};return J.headers={...S,...j,...O.headers},{url:U(v),options:J}},getStocksV1ShortVolume:async(e,t,i,n,s,o,r,d,l,g,f,p,y,m,u,b,h,x,R,c,_,A,k,w,G,M,O={})=>{let X="/stocks/v1/short-volume",v=new URL(X,L),K;a&&(K=a.baseOptions);let J={method:"GET",...K,...O},S={},V={};await T(V,"apiKey",a),e!==void 0&&(V.ticker=e),t!==void 0&&(V["ticker.any_of"]=t),i!==void 0&&(V["ticker.gt"]=i),n!==void 0&&(V["ticker.gte"]=n),s!==void 0&&(V["ticker.lt"]=s),o!==void 0&&(V["ticker.lte"]=o),r!==void 0&&(V.date=r),d!==void 0&&(V["date.any_of"]=d),l!==void 0&&(V["date.gt"]=l),g!==void 0&&(V["date.gte"]=g),f!==void 0&&(V["date.lt"]=f),p!==void 0&&(V["date.lte"]=p),y!==void 0&&(V.short_volume_ratio=y),m!==void 0&&(V["short_volume_ratio.any_of"]=m),u!==void 0&&(V["short_volume_ratio.gt"]=u),b!==void 0&&(V["short_volume_ratio.gte"]=b),h!==void 0&&(V["short_volume_ratio.lt"]=h),x!==void 0&&(V["short_volume_ratio.lte"]=x),R!==void 0&&(V.total_volume=R),c!==void 0&&(V["total_volume.any_of"]=c),_!==void 0&&(V["total_volume.gt"]=_),A!==void 0&&(V["total_volume.gte"]=A),k!==void 0&&(V["total_volume.lt"]=k),w!==void 0&&(V["total_volume.lte"]=w),G!==void 0&&(V.limit=G),M!==void 0&&(V.sort=M),F(v,V);let j=K&&K.headers?K.headers:{};return J.headers={...S,...j,...O.headers},{url:U(v),options:J}},getStocksV1Splits:async(e,t,i,n,s,o,r,d,l,g,f,p,y,m,u,b={})=>{let h="/stocks/v1/splits",x=new URL(h,L),R;a&&(R=a.baseOptions);let c={method:"GET",...R,...b},_={},A={};await T(A,"apiKey",a),e!==void 0&&(A.ticker=e),t!==void 0&&(A["ticker.any_of"]=t),i!==void 0&&(A["ticker.gt"]=i),n!==void 0&&(A["ticker.gte"]=n),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),f!==void 0&&(A["execution_date.lte"]=f),p!==void 0&&(A.adjustment_type=p),y!==void 0&&(A["adjustment_type.any_of"]=y),m!==void 0&&(A.limit=m),u!==void 0&&(A.sort=u),F(x,A);let k=R&&R.headers?R.headers:{};return c.headers={..._,...k,...b.headers},{url:U(x),options:c}},getTicker:async(e,t,i={})=>{N("getTicker","ticker",e);let n="/v3/reference/tickers/{ticker}".replace("{ticker}",encodeURIComponent(String(e))),s=new URL(n,L),o;a&&(o=a.baseOptions);let r={method:"GET",...o,...i},d={},l={};await T(l,"apiKey",a),t!==void 0&&(l.date=t instanceof Date?t.toISOString().substring(0,10):t),F(s,l);let g=o&&o.headers?o.headers:{};return r.headers={...d,...g,...i.headers},{url:U(s),options:r}},getTmxV1CorporateEvents:async(e,t,i,n,s,o,r,d,l,g,f,p,y,m,u,b,h,x,R,c,_,A,k,w,G,M,O,X,v,K,J,S,V,j,Y,se,ae,de,re,ie,ne,$,W,C,le,pe,ge,ce,ue,Z={})=>{let q="/tmx/v1/corporate-events",ye=new URL(q,L),fe;a&&(fe=a.baseOptions);let be={method:"GET",...fe,...Z},P={},z={};await T(z,"apiKey",a),e!==void 0&&(z.date=e),t!==void 0&&(z["date.any_of"]=t),i!==void 0&&(z["date.gt"]=i),n!==void 0&&(z["date.gte"]=n),s!==void 0&&(z["date.lt"]=s),o!==void 0&&(z["date.lte"]=o),r!==void 0&&(z.type=r),d!==void 0&&(z["type.any_of"]=d),l!==void 0&&(z["type.gt"]=l),g!==void 0&&(z["type.gte"]=g),f!==void 0&&(z["type.lt"]=f),p!==void 0&&(z["type.lte"]=p),y!==void 0&&(z.status=y),m!==void 0&&(z["status.any_of"]=m),u!==void 0&&(z["status.gt"]=u),b!==void 0&&(z["status.gte"]=b),h!==void 0&&(z["status.lt"]=h),x!==void 0&&(z["status.lte"]=x),R!==void 0&&(z.ticker=R),c!==void 0&&(z["ticker.any_of"]=c),_!==void 0&&(z["ticker.gt"]=_),A!==void 0&&(z["ticker.gte"]=A),k!==void 0&&(z["ticker.lt"]=k),w!==void 0&&(z["ticker.lte"]=w),G!==void 0&&(z.isin=G),M!==void 0&&(z["isin.any_of"]=M),O!==void 0&&(z["isin.gt"]=O),X!==void 0&&(z["isin.gte"]=X),v!==void 0&&(z["isin.lt"]=v),K!==void 0&&(z["isin.lte"]=K),J!==void 0&&(z.trading_venue=J),S!==void 0&&(z["trading_venue.any_of"]=S),V!==void 0&&(z["trading_venue.gt"]=V),j!==void 0&&(z["trading_venue.gte"]=j),Y!==void 0&&(z["trading_venue.lt"]=Y),se!==void 0&&(z["trading_venue.lte"]=se),ae!==void 0&&(z.tmx_company_id=ae),de!==void 0&&(z["tmx_company_id.gt"]=de),re!==void 0&&(z["tmx_company_id.gte"]=re),ie!==void 0&&(z["tmx_company_id.lt"]=ie),ne!==void 0&&(z["tmx_company_id.lte"]=ne),$!==void 0&&(z.tmx_record_id=$),W!==void 0&&(z["tmx_record_id.any_of"]=W),C!==void 0&&(z["tmx_record_id.gt"]=C),le!==void 0&&(z["tmx_record_id.gte"]=le),pe!==void 0&&(z["tmx_record_id.lt"]=pe),ge!==void 0&&(z["tmx_record_id.lte"]=ge),ce!==void 0&&(z.limit=ce),ue!==void 0&&(z.sort=ue),F(ye,z);let me=fe&&fe.headers?fe.headers:{};return be.headers={...P,...me,...Z.headers},{url:U(ye),options:be}},listConditions:async(e,t,i,n,s,o,r,d={})=>{let l="/v3/reference/conditions",g=new URL(l,L),f;a&&(f=a.baseOptions);let p={method:"GET",...f,...d},y={},m={};await T(m,"apiKey",a),e!==void 0&&(m.asset_class=e),t!==void 0&&(m.data_type=t),i!==void 0&&(m.id=i),n!==void 0&&(m.sip=n),s!==void 0&&(m.order=s),o!==void 0&&(m.limit=o),r!==void 0&&(m.sort=r),F(g,m);let u=f&&f.headers?f.headers:{};return p.headers={...y,...u,...d.headers},{url:U(g),options:p}},listDividends:async(e,t,i,n,s,o,r,d,l,g,f,p,y,m,u,b,h,x,R,c,_,A,k,w,G,M,O,X,v,K,J,S,V,j,Y,se={})=>{let ae="/v3/reference/dividends",de=new URL(ae,L),re;a&&(re=a.baseOptions);let ie={method:"GET",...re,...se},ne={},$={};await T($,"apiKey",a),e!==void 0&&($.ticker=e),t!==void 0&&($.ex_dividend_date=t instanceof Date?t.toISOString().substring(0,10):t),i!==void 0&&($.record_date=i instanceof Date?i.toISOString().substring(0,10):i),n!==void 0&&($.declaration_date=n instanceof Date?n.toISOString().substring(0,10):n),s!==void 0&&($.pay_date=s instanceof Date?s.toISOString().substring(0,10):s),o!==void 0&&($.frequency=o),r!==void 0&&($.cash_amount=r),d!==void 0&&($.dividend_type=d),l!==void 0&&($["ticker.gte"]=l),g!==void 0&&($["ticker.gt"]=g),f!==void 0&&($["ticker.lte"]=f),p!==void 0&&($["ticker.lt"]=p),y!==void 0&&($["ex_dividend_date.gte"]=y instanceof Date?y.toISOString().substring(0,10):y),m!==void 0&&($["ex_dividend_date.gt"]=m instanceof Date?m.toISOString().substring(0,10):m),u!==void 0&&($["ex_dividend_date.lte"]=u instanceof Date?u.toISOString().substring(0,10):u),b!==void 0&&($["ex_dividend_date.lt"]=b instanceof Date?b.toISOString().substring(0,10):b),h!==void 0&&($["record_date.gte"]=h instanceof Date?h.toISOString().substring(0,10):h),x!==void 0&&($["record_date.gt"]=x instanceof Date?x.toISOString().substring(0,10):x),R!==void 0&&($["record_date.lte"]=R instanceof Date?R.toISOString().substring(0,10):R),c!==void 0&&($["record_date.lt"]=c instanceof Date?c.toISOString().substring(0,10):c),_!==void 0&&($["declaration_date.gte"]=_ instanceof Date?_.toISOString().substring(0,10):_),A!==void 0&&($["declaration_date.gt"]=A instanceof Date?A.toISOString().substring(0,10):A),k!==void 0&&($["declaration_date.lte"]=k instanceof Date?k.toISOString().substring(0,10):k),w!==void 0&&($["declaration_date.lt"]=w instanceof Date?w.toISOString().substring(0,10):w),G!==void 0&&($["pay_date.gte"]=G instanceof Date?G.toISOString().substring(0,10):G),M!==void 0&&($["pay_date.gt"]=M instanceof Date?M.toISOString().substring(0,10):M),O!==void 0&&($["pay_date.lte"]=O instanceof Date?O.toISOString().substring(0,10):O),X!==void 0&&($["pay_date.lt"]=X instanceof Date?X.toISOString().substring(0,10):X),v!==void 0&&($["cash_amount.gte"]=v),K!==void 0&&($["cash_amount.gt"]=K),J!==void 0&&($["cash_amount.lte"]=J),S!==void 0&&($["cash_amount.lt"]=S),V!==void 0&&($.order=V),j!==void 0&&($.limit=j),Y!==void 0&&($.sort=Y),F(de,$);let W=re&&re.headers?re.headers:{};return ie.headers={...ne,...W,...se.headers},{url:U(de),options:ie}},listExchanges:async(e,t,i={})=>{let n="/v3/reference/exchanges",s=new URL(n,L),o;a&&(o=a.baseOptions);let r={method:"GET",...o,...i},d={},l={};await T(l,"apiKey",a),e!==void 0&&(l.asset_class=e),t!==void 0&&(l.locale=t),F(s,l);let g=o&&o.headers?o.headers:{};return r.headers={...d,...g,...i.headers},{url:U(s),options:r}},listFinancials:async(e,t,i,n,s,o,r,d,l,g,f,p,y,m,u,b,h,x,R,c,_={})=>{let A="/vX/reference/financials",k=new URL(A,L),w;a&&(w=a.baseOptions);let G={method:"GET",...w,..._},M={},O={};await T(O,"apiKey",a),e!==void 0&&(O.ticker=e),t!==void 0&&(O.cik=t),i!==void 0&&(O.company_name=i),n!==void 0&&(O.sic=n),s!==void 0&&(O.filing_date=s instanceof Date?s.toISOString().substring(0,10):s),o!==void 0&&(O.period_of_report_date=o instanceof Date?o.toISOString().substring(0,10):o),r!==void 0&&(O.timeframe=r),d!==void 0&&(O.include_sources=d),l!==void 0&&(O["company_name.search"]=l),g!==void 0&&(O["filing_date.gte"]=g instanceof Date?g.toISOString().substring(0,10):g),f!==void 0&&(O["filing_date.gt"]=f instanceof Date?f.toISOString().substring(0,10):f),p!==void 0&&(O["filing_date.lte"]=p instanceof Date?p.toISOString().substring(0,10):p),y!==void 0&&(O["filing_date.lt"]=y instanceof Date?y.toISOString().substring(0,10):y),m!==void 0&&(O["period_of_report_date.gte"]=m instanceof Date?m.toISOString().substring(0,10):m),u!==void 0&&(O["period_of_report_date.gt"]=u instanceof Date?u.toISOString().substring(0,10):u),b!==void 0&&(O["period_of_report_date.lte"]=b instanceof Date?b.toISOString().substring(0,10):b),h!==void 0&&(O["period_of_report_date.lt"]=h instanceof Date?h.toISOString().substring(0,10):h),x!==void 0&&(O.order=x),R!==void 0&&(O.limit=R),c!==void 0&&(O.sort=c),F(k,O);let X=w&&w.headers?w.headers:{};return G.headers={...M,...X,..._.headers},{url:U(k),options:G}},listIPOs:async(e,t,i,n,s,o,r,d,l,g,f,p,y={})=>{let m="/vX/reference/ipos",u=new URL(m,L),b;a&&(b=a.baseOptions);let h={method:"GET",...b,...y},x={},R={};await T(R,"apiKey",a),e!==void 0&&(R.ticker=e),t!==void 0&&(R.us_code=t),i!==void 0&&(R.isin=i),n!==void 0&&(R.listing_date=n instanceof Date?n.toISOString().substring(0,10):n),s!==void 0&&(R.ipo_status=s),o!==void 0&&(R["listing_date.gte"]=o instanceof Date?o.toISOString().substring(0,10):o),r!==void 0&&(R["listing_date.gt"]=r instanceof Date?r.toISOString().substring(0,10):r),d!==void 0&&(R["listing_date.lte"]=d instanceof Date?d.toISOString().substring(0,10):d),l!==void 0&&(R["listing_date.lt"]=l instanceof Date?l.toISOString().substring(0,10):l),g!==void 0&&(R.order=g),f!==void 0&&(R.limit=f),p!==void 0&&(R.sort=p),F(u,R);let c=b&&b.headers?b.headers:{};return h.headers={...x,...c,...y.headers},{url:U(u),options:h}},listNews:async(e,t,i,n,s,o,r,d,l,g,f,p,y,m={})=>{let u="/v2/reference/news",b=new URL(u,L),h;a&&(h=a.baseOptions);let x={method:"GET",...h,...m},R={},c={};if(await T(c,"apiKey",a),e!==void 0&&(c.ticker=e),t!==void 0)for(let[A,k]of Object.entries(t))c[A]=k;if(i!==void 0&&(c["ticker.gte"]=i),n!==void 0&&(c["ticker.gt"]=n),s!==void 0&&(c["ticker.lte"]=s),o!==void 0&&(c["ticker.lt"]=o),r!==void 0)for(let[A,k]of Object.entries(r))c[A]=k;if(d!==void 0)for(let[A,k]of Object.entries(d))c[A]=k;if(l!==void 0)for(let[A,k]of Object.entries(l))c[A]=k;if(g!==void 0)for(let[A,k]of Object.entries(g))c[A]=k;f!==void 0&&(c.order=f),p!==void 0&&(c.limit=p),y!==void 0&&(c.sort=y),F(b,c);let _=h&&h.headers?h.headers:{};return x.headers={...R,..._,...m.headers},{url:U(b),options:x}},listOptionsContracts:async(e,t,i,n,s,o,r,d,l,g,f,p,y,m,u,b,h,x,R,c,_,A,k={})=>{let w="/v3/reference/options/contracts",G=new URL(w,L),M;a&&(M=a.baseOptions);let O={method:"GET",...M,...k},X={},v={};await T(v,"apiKey",a),e!==void 0&&(v.underlying_ticker=e),t!==void 0&&(v.ticker=t),i!==void 0&&(v.contract_type=i),n!==void 0&&(v.expiration_date=n),s!==void 0&&(v.as_of=s),o!==void 0&&(v.strike_price=o),r!==void 0&&(v.expired=r),d!==void 0&&(v["underlying_ticker.gte"]=d),l!==void 0&&(v["underlying_ticker.gt"]=l),g!==void 0&&(v["underlying_ticker.lte"]=g),f!==void 0&&(v["underlying_ticker.lt"]=f),p!==void 0&&(v["expiration_date.gte"]=p),y!==void 0&&(v["expiration_date.gt"]=y),m!==void 0&&(v["expiration_date.lte"]=m),u!==void 0&&(v["expiration_date.lt"]=u),b!==void 0&&(v["strike_price.gte"]=b),h!==void 0&&(v["strike_price.gt"]=h),x!==void 0&&(v["strike_price.lte"]=x),R!==void 0&&(v["strike_price.lt"]=R),c!==void 0&&(v.order=c),_!==void 0&&(v.limit=_),A!==void 0&&(v.sort=A),F(G,v);let K=M&&M.headers?M.headers:{};return O.headers={...X,...K,...k.headers},{url:U(G),options:O}},listStockSplits:async(e,t,i,n,s,o,r,d,l,g,f,p,y,m,u={})=>{let b="/v3/reference/splits",h=new URL(b,L),x;a&&(x=a.baseOptions);let R={method:"GET",...x,...u},c={},_={};await T(_,"apiKey",a),e!==void 0&&(_.ticker=e),t!==void 0&&(_.execution_date=t instanceof Date?t.toISOString().substring(0,10):t),i!==void 0&&(_.reverse_split=i),n!==void 0&&(_["ticker.gte"]=n),s!==void 0&&(_["ticker.gt"]=s),o!==void 0&&(_["ticker.lte"]=o),r!==void 0&&(_["ticker.lt"]=r),d!==void 0&&(_["execution_date.gte"]=d instanceof Date?d.toISOString().substring(0,10):d),l!==void 0&&(_["execution_date.gt"]=l instanceof Date?l.toISOString().substring(0,10):l),g!==void 0&&(_["execution_date.lte"]=g instanceof Date?g.toISOString().substring(0,10):g),f!==void 0&&(_["execution_date.lt"]=f instanceof Date?f.toISOString().substring(0,10):f),p!==void 0&&(_.order=p),y!==void 0&&(_.limit=y),m!==void 0&&(_.sort=m),F(h,_);let A=x&&x.headers?x.headers:{};return R.headers={...c,...A,...u.headers},{url:U(h),options:R}},listTickerTypes:async(e,t,i={})=>{let n="/v3/reference/tickers/types",s=new URL(n,L),o;a&&(o=a.baseOptions);let r={method:"GET",...o,...i},d={},l={};await T(l,"apiKey",a),e!==void 0&&(l.asset_class=e),t!==void 0&&(l.locale=t),F(s,l);let g=o&&o.headers?o.headers:{};return r.headers={...d,...g,...i.headers},{url:U(s),options:r}},listTickers:async(e,t,i,n,s,o,r,d,l,g,f,p,y,m,u,b,h={})=>{let x="/v3/reference/tickers",R=new URL(x,L),c;a&&(c=a.baseOptions);let _={method:"GET",...c,...h},A={},k={};await T(k,"apiKey",a),e!==void 0&&(k.ticker=e),t!==void 0&&(k.type=t),i!==void 0&&(k.market=i),n!==void 0&&(k.exchange=n),s!==void 0&&(k.cusip=s),o!==void 0&&(k.cik=o),r!==void 0&&(k.date=r instanceof Date?r.toISOString().substring(0,10):r),d!==void 0&&(k.search=d),l!==void 0&&(k.active=l),g!==void 0&&(k["ticker.gte"]=g),f!==void 0&&(k["ticker.gt"]=f),p!==void 0&&(k["ticker.lte"]=p),y!==void 0&&(k["ticker.lt"]=y),m!==void 0&&(k.order=m),u!==void 0&&(k.limit=u),b!==void 0&&(k.sort=b),F(R,k);let w=c&&c.headers?c.headers:{};return _.headers={...A,...w,...h.headers},{url:U(R),options:_}}}},E=function(a){let e=ri(a);return{async deprecatedGetCryptoSnapshotTickerBook(t,i){let n=await e.deprecatedGetCryptoSnapshotTickerBook(t,i),s=a?.serverIndex??0,o=D["DefaultApi.deprecatedGetCryptoSnapshotTickerBook"]?.[s]?.url;return(r,d)=>B(n,Q,I,a)(r,o||d)},async deprecatedGetHistoricCryptoTrades(t,i,n,s,o,r){let d=await e.deprecatedGetHistoricCryptoTrades(t,i,n,s,o,r),l=a?.serverIndex??0,g=D["DefaultApi.deprecatedGetHistoricCryptoTrades"]?.[l]?.url;return(f,p)=>B(d,Q,I,a)(f,g||p)},async deprecatedGetHistoricForexQuotes(t,i,n,s,o,r){let d=await e.deprecatedGetHistoricForexQuotes(t,i,n,s,o,r),l=a?.serverIndex??0,g=D["DefaultApi.deprecatedGetHistoricForexQuotes"]?.[l]?.url;return(f,p)=>B(d,Q,I,a)(f,g||p)},async deprecatedGetHistoricStocksQuotes(t,i,n,s,o,r,d){let l=await e.deprecatedGetHistoricStocksQuotes(t,i,n,s,o,r,d),g=a?.serverIndex??0,f=D["DefaultApi.deprecatedGetHistoricStocksQuotes"]?.[g]?.url;return(p,y)=>B(l,Q,I,a)(p,f||y)},async deprecatedGetHistoricStocksTrades(t,i,n,s,o,r,d){let l=await e.deprecatedGetHistoricStocksTrades(t,i,n,s,o,r,d),g=a?.serverIndex??0,f=D["DefaultApi.deprecatedGetHistoricStocksTrades"]?.[g]?.url;return(p,y)=>B(l,Q,I,a)(p,f||y)},async getBenzingaV1AnalystInsights(t,i,n,s,o,r,d,l,g,f,p,y,m,u,b,h,x,R,c,_,A,k,w,G,M,O,X,v,K,J,S,V,j,Y,se,ae,de,re,ie,ne,$,W,C,le){let pe=await e.getBenzingaV1AnalystInsights(t,i,n,s,o,r,d,l,g,f,p,y,m,u,b,h,x,R,c,_,A,k,w,G,M,O,X,v,K,J,S,V,j,Y,se,ae,de,re,ie,ne,$,W,C,le),ge=a?.serverIndex??0,ce=D["DefaultApi.getBenzingaV1AnalystInsights"]?.[ge]?.url;return(ue,Z)=>B(pe,Q,I,a)(ue,ce||Z)},async getBenzingaV1Analysts(t,i,n,s,o,r,d,l,g,f,p,y,m,u,b,h,x,R,c,_,A,k,w,G,M,O,X){let v=await e.getBenzingaV1Analysts(t,i,n,s,o,r,d,l,g,f,p,y,m,u,b,h,x,R,c,_,A,k,w,G,M,O,X),K=a?.serverIndex??0,J=D["DefaultApi.getBenzingaV1Analysts"]?.[K]?.url;return(S,V)=>B(v,Q,I,a)(S,J||V)},async getBenzingaV1ConsensusRatings(t,i,n,s,o,r,d,l,g){let f=await e.getBenzingaV1ConsensusRatings(t,i,n,s,o,r,d,l,g),p=a?.serverIndex??0,y=D["DefaultApi.getBenzingaV1ConsensusRatings"]?.[p]?.url;return(m,u)=>B(f,Q,I,a)(m,y||u)},async getBenzingaV1Earnings(t,i,n,s,o,r,d,l,g,f,p,y,m,u,b,h,x,R,c,_,A,k,w,G,M,O,X,v,K,J,S,V,j,Y,se,ae,de,re,ie,ne,$,W,C,le,pe,ge,ce,ue,Z,q,ye,fe,be,P,z,me,he){let xe=await e.getBenzingaV1Earnings(t,i,n,s,o,r,d,l,g,f,p,y,m,u,b,h,x,R,c,_,A,k,w,G,M,O,X,v,K,J,S,V,j,Y,se,ae,de,re,ie,ne,$,W,C,le,pe,ge,ce,ue,Z,q,ye,fe,be,P,z,me,he),Re=a?.serverIndex??0,te=D["DefaultApi.getBenzingaV1Earnings"]?.[Re]?.url;return(Ae,oe)=>B(xe,Q,I,a)(Ae,te||oe)},async getBenzingaV1Firms(t,i,n,s,o,r,d,l,g){let f=await e.getBenzingaV1Firms(t,i,n,s,o,r,d,l,g),p=a?.serverIndex??0,y=D["DefaultApi.getBenzingaV1Firms"]?.[p]?.url;return(m,u)=>B(f,Q,I,a)(m,y||u)},async getBenzingaV1Guidance(t,i,n,s,o,r,d,l,g,f,p,y,m,u,b,h,x,R,c,_,A,k,w,G,M,O,X,v,K,J,S,V,j,Y,se,ae,de,re,ie,ne,$,W,C,le,pe){let ge=await e.getBenzingaV1Guidance(t,i,n,s,o,r,d,l,g,f,p,y,m,u,b,h,x,R,c,_,A,k,w,G,M,O,X,v,K,J,S,V,j,Y,se,ae,de,re,ie,ne,$,W,C,le,pe),ce=a?.serverIndex??0,ue=D["DefaultApi.getBenzingaV1Guidance"]?.[ce]?.url;return(Z,q)=>B(ge,Q,I,a)(Z,ue||q)},async getBenzingaV1Ratings(t,i,n,s,o,r,d,l,g,f,p,y,m,u,b,h,x,R,c,_,A,k,w,G,M,O,X,v,K,J,S,V,j,Y,se,ae,de,re,ie,ne,$,W,C,le,pe,ge,ce,ue,Z,q,ye,fe,be,P,z){let me=await e.getBenzingaV1Ratings(t,i,n,s,o,r,d,l,g,f,p,y,m,u,b,h,x,R,c,_,A,k,w,G,M,O,X,v,K,J,S,V,j,Y,se,ae,de,re,ie,ne,$,W,C,le,pe,ge,ce,ue,Z,q,ye,fe,be,P,z),he=a?.serverIndex??0,xe=D["DefaultApi.getBenzingaV1Ratings"]?.[he]?.url;return(Re,te)=>B(me,Q,I,a)(Re,xe||te)},async getBenzingaV2News(t,i,n,s,o,r,d,l,g,f,p,y,m,u,b,h,x,R,c,_,A,k,w,G,M,O){let X=await e.getBenzingaV2News(t,i,n,s,o,r,d,l,g,f,p,y,m,u,b,h,x,R,c,_,A,k,w,G,M,O),v=a?.serverIndex??0,K=D["DefaultApi.getBenzingaV2News"]?.[v]?.url;return(J,S)=>B(X,Q,I,a)(J,K||S)},async getCryptoAggregates(t,i,n,s,o,r,d,l,g){let f=await e.getCryptoAggregates(t,i,n,s,o,r,d,l,g),p=a?.serverIndex??0,y=D["DefaultApi.getCryptoAggregates"]?.[p]?.url;return(m,u)=>B(f,Q,I,a)(m,y||u)},async getCryptoEMA(t,i,n,s,o,r,d,l,g,f,p,y,m){let u=await e.getCryptoEMA(t,i,n,s,o,r,d,l,g,f,p,y,m),b=a?.serverIndex??0,h=D["DefaultApi.getCryptoEMA"]?.[b]?.url;return(x,R)=>B(u,Q,I,a)(x,h||R)},async getCryptoMACD(t,i,n,s,o,r,d,l,g,f,p,y,m,u,b){let h=await e.getCryptoMACD(t,i,n,s,o,r,d,l,g,f,p,y,m,u,b),x=a?.serverIndex??0,R=D["DefaultApi.getCryptoMACD"]?.[x]?.url;return(c,_)=>B(h,Q,I,a)(c,R||_)},async getCryptoOpenClose(t,i,n,s,o){let r=await e.getCryptoOpenClose(t,i,n,s,o),d=a?.serverIndex??0,l=D["DefaultApi.getCryptoOpenClose"]?.[d]?.url;return(g,f)=>B(r,Q,I,a)(g,l||f)},async getCryptoRSI(t,i,n,s,o,r,d,l,g,f,p,y,m){let u=await e.getCryptoRSI(t,i,n,s,o,r,d,l,g,f,p,y,m),b=a?.serverIndex??0,h=D["DefaultApi.getCryptoRSI"]?.[b]?.url;return(x,R)=>B(u,Q,I,a)(x,h||R)},async getCryptoSMA(t,i,n,s,o,r,d,l,g,f,p,y,m){let u=await e.getCryptoSMA(t,i,n,s,o,r,d,l,g,f,p,y,m),b=a?.serverIndex??0,h=D["DefaultApi.getCryptoSMA"]?.[b]?.url;return(x,R)=>B(u,Q,I,a)(x,h||R)},async getCryptoSnapshotDirection(t,i){let n=await e.getCryptoSnapshotDirection(t,i),s=a?.serverIndex??0,o=D["DefaultApi.getCryptoSnapshotDirection"]?.[s]?.url;return(r,d)=>B(n,Q,I,a)(r,o||d)},async getCryptoSnapshotTicker(t,i){let n=await e.getCryptoSnapshotTicker(t,i),s=a?.serverIndex??0,o=D["DefaultApi.getCryptoSnapshotTicker"]?.[s]?.url;return(r,d)=>B(n,Q,I,a)(r,o||d)},async getCryptoSnapshotTickers(t,i){let n=await e.getCryptoSnapshotTickers(t,i),s=a?.serverIndex??0,o=D["DefaultApi.getCryptoSnapshotTickers"]?.[s]?.url;return(r,d)=>B(n,Q,I,a)(r,o||d)},async getCryptoTrades(t,i,n,s,o,r,d,l,g,f){let p=await e.getCryptoTrades(t,i,n,s,o,r,d,l,g,f),y=a?.serverIndex??0,m=D["DefaultApi.getCryptoTrades"]?.[y]?.url;return(u,b)=>B(p,Q,I,a)(u,m||b)},async getCryptoV1Exchanges(t,i){let n=await e.getCryptoV1Exchanges(t,i),s=a?.serverIndex??0,o=D["DefaultApi.getCryptoV1Exchanges"]?.[s]?.url;return(r,d)=>B(n,Q,I,a)(r,o||d)},async getCurrencyConversion(t,i,n,s,o){let r=await e.getCurrencyConversion(t,i,n,s,o),d=a?.serverIndex??0,l=D["DefaultApi.getCurrencyConversion"]?.[d]?.url;return(g,f)=>B(r,Q,I,a)(g,l||f)},async getEtfGlobalV1Analytics(t,i,n,s,o,r,d,l,g,f,p,y,m,u,b,h,x,R,c,_,A,k,w,G,M,O,X,v,K,J,S,V,j,Y,se,ae,de,re,ie,ne,$,W,C,le,pe,ge,ce,ue,Z,q,ye,fe,be,P,z,me,he,xe,Re,te,Ae,oe,Ge,Oe,Ce,Ve,Se,we,ve,Le){let Ie=await e.getEtfGlobalV1Analytics(t,i,n,s,o,r,d,l,g,f,p,y,m,u,b,h,x,R,c,_,A,k,w,G,M,O,X,v,K,J,S,V,j,Y,se,ae,de,re,ie,ne,$,W,C,le,pe,ge,ce,ue,Z,q,ye,fe,be,P,z,me,he,xe,Re,te,Ae,oe,Ge,Oe,Ce,Ve,Se,we,ve,Le),_e=a?.serverIndex??0,De=D["DefaultApi.getEtfGlobalV1Analytics"]?.[_e]?.url;return(Te,ee)=>B(Ie,Q,I,a)(Te,De||ee)},async getEtfGlobalV1Constituents(t,i,n,s,o,r,d,l,g,f,p,y,m,u,b,h,x,R,c,_,A,k,w,G,M,O,X,v,K,J,S,V,j,Y,se,ae,de,re,ie,ne,$,W,C,le,pe,ge,ce,ue,Z){let q=await e.getEtfGlobalV1Constituents(t,i,n,s,o,r,d,l,g,f,p,y,m,u,b,h,x,R,c,_,A,k,w,G,M,O,X,v,K,J,S,V,j,Y,se,ae,de,re,ie,ne,$,W,C,le,pe,ge,ce,ue,Z),ye=a?.serverIndex??0,fe=D["DefaultApi.getEtfGlobalV1Constituents"]?.[ye]?.url;return(be,P)=>B(q,Q,I,a)(be,fe||P)},async getEtfGlobalV1FundFlows(t,i,n,s,o,r,d,l,g,f,p,y,m,u,b,h,x,R,c){let _=await e.getEtfGlobalV1FundFlows(t,i,n,s,o,r,d,l,g,f,p,y,m,u,b,h,x,R,c),A=a?.serverIndex??0,k=D["DefaultApi.getEtfGlobalV1FundFlows"]?.[A]?.url;return(w,G)=>B(_,Q,I,a)(w,k||G)},async getEtfGlobalV1Profiles(t,i,n,s,o,r,d,l,g,f,p,y,m,u,b,h,x,R,c){let _=await e.getEtfGlobalV1Profiles(t,i,n,s,o,r,d,l,g,f,p,y,m,u,b,h,x,R,c),A=a?.serverIndex??0,k=D["DefaultApi.getEtfGlobalV1Profiles"]?.[A]?.url;return(w,G)=>B(_,Q,I,a)(w,k||G)},async getEtfGlobalV1Taxonomies(t,i,n,s,o,r,d,l,g,f,p,y,m,u,b,h,x,R,c){let _=await e.getEtfGlobalV1Taxonomies(t,i,n,s,o,r,d,l,g,f,p,y,m,u,b,h,x,R,c),A=a?.serverIndex??0,k=D["DefaultApi.getEtfGlobalV1Taxonomies"]?.[A]?.url;return(w,G)=>B(_,Q,I,a)(w,k||G)},async getEvents(t,i,n){let s=await e.getEvents(t,i,n),o=a?.serverIndex??0,r=D["DefaultApi.getEvents"]?.[o]?.url;return(d,l)=>B(s,Q,I,a)(d,r||l)},async getFedV1Inflation(t,i,n,s,o,r,d,l,g){let f=await e.getFedV1Inflation(t,i,n,s,o,r,d,l,g),p=a?.serverIndex??0,y=D["DefaultApi.getFedV1Inflation"]?.[p]?.url;return(m,u)=>B(f,Q,I,a)(m,y||u)},async getFedV1InflationExpectations(t,i,n,s,o,r,d,l,g){let f=await e.getFedV1InflationExpectations(t,i,n,s,o,r,d,l,g),p=a?.serverIndex??0,y=D["DefaultApi.getFedV1InflationExpectations"]?.[p]?.url;return(m,u)=>B(f,Q,I,a)(m,y||u)},async getFedV1TreasuryYields(t,i,n,s,o,r,d,l,g){let f=await e.getFedV1TreasuryYields(t,i,n,s,o,r,d,l,g),p=a?.serverIndex??0,y=D["DefaultApi.getFedV1TreasuryYields"]?.[p]?.url;return(m,u)=>B(f,Q,I,a)(m,y||u)},async getForexAggregates(t,i,n,s,o,r,d,l,g){let f=await e.getForexAggregates(t,i,n,s,o,r,d,l,g),p=a?.serverIndex??0,y=D["DefaultApi.getForexAggregates"]?.[p]?.url;return(m,u)=>B(f,Q,I,a)(m,y||u)},async getForexEMA(t,i,n,s,o,r,d,l,g,f,p,y,m,u){let b=await e.getForexEMA(t,i,n,s,o,r,d,l,g,f,p,y,m,u),h=a?.serverIndex??0,x=D["DefaultApi.getForexEMA"]?.[h]?.url;return(R,c)=>B(b,Q,I,a)(R,x||c)},async getForexMACD(t,i,n,s,o,r,d,l,g,f,p,y,m,u,b,h){let x=await e.getForexMACD(t,i,n,s,o,r,d,l,g,f,p,y,m,u,b,h),R=a?.serverIndex??0,c=D["DefaultApi.getForexMACD"]?.[R]?.url;return(_,A)=>B(x,Q,I,a)(_,c||A)},async getForexQuotes(t,i,n,s,o,r,d,l,g,f){let p=await e.getForexQuotes(t,i,n,s,o,r,d,l,g,f),y=a?.serverIndex??0,m=D["DefaultApi.getForexQuotes"]?.[y]?.url;return(u,b)=>B(p,Q,I,a)(u,m||b)},async getForexRSI(t,i,n,s,o,r,d,l,g,f,p,y,m,u){let b=await e.getForexRSI(t,i,n,s,o,r,d,l,g,f,p,y,m,u),h=a?.serverIndex??0,x=D["DefaultApi.getForexRSI"]?.[h]?.url;return(R,c)=>B(b,Q,I,a)(R,x||c)},async getForexSMA(t,i,n,s,o,r,d,l,g,f,p,y,m,u){let b=await e.getForexSMA(t,i,n,s,o,r,d,l,g,f,p,y,m,u),h=a?.serverIndex??0,x=D["DefaultApi.getForexSMA"]?.[h]?.url;return(R,c)=>B(b,Q,I,a)(R,x||c)},async getForexSnapshotDirection(t,i){let n=await e.getForexSnapshotDirection(t,i),s=a?.serverIndex??0,o=D["DefaultApi.getForexSnapshotDirection"]?.[s]?.url;return(r,d)=>B(n,Q,I,a)(r,o||d)},async getForexSnapshotTicker(t,i){let n=await e.getForexSnapshotTicker(t,i),s=a?.serverIndex??0,o=D["DefaultApi.getForexSnapshotTicker"]?.[s]?.url;return(r,d)=>B(n,Q,I,a)(r,o||d)},async getForexSnapshotTickers(t,i){let n=await e.getForexSnapshotTickers(t,i),s=a?.serverIndex??0,o=D["DefaultApi.getForexSnapshotTickers"]?.[s]?.url;return(r,d)=>B(n,Q,I,a)(r,o||d)},async getForexV1Exchanges(t,i){let n=await e.getForexV1Exchanges(t,i),s=a?.serverIndex??0,o=D["DefaultApi.getForexV1Exchanges"]?.[s]?.url;return(r,d)=>B(n,Q,I,a)(r,o||d)},async getFuturesAggregates(t,i,n,s,o,r,d,l,g,f){let p=await e.getFuturesAggregates(t,i,n,s,o,r,d,l,g,f),y=a?.serverIndex??0,m=D["DefaultApi.getFuturesAggregates"]?.[y]?.url;return(u,b)=>B(p,Q,I,a)(u,m||b)},async getFuturesContractDetails(t,i,n){let s=await e.getFuturesContractDetails(t,i,n),o=a?.serverIndex??0,r=D["DefaultApi.getFuturesContractDetails"]?.[o]?.url;return(d,l)=>B(s,Q,I,a)(d,r||l)},async getFuturesContracts(t,i,n,s,o,r,d,l,g){let f=await e.getFuturesContracts(t,i,n,s,o,r,d,l,g),p=a?.serverIndex??0,y=D["DefaultApi.getFuturesContracts"]?.[p]?.url;return(m,u)=>B(f,Q,I,a)(m,y||u)},async getFuturesDailySchedules(t,i,n,s,o){let r=await e.getFuturesDailySchedules(t,i,n,s,o),d=a?.serverIndex??0,l=D["DefaultApi.getFuturesDailySchedules"]?.[d]?.url;return(g,f)=>B(r,Q,I,a)(g,l||f)},async getFuturesMarketStatuses(t,i,n,s,o){let r=await e.getFuturesMarketStatuses(t,i,n,s,o),d=a?.serverIndex??0,l=D["DefaultApi.getFuturesMarketStatuses"]?.[d]?.url;return(g,f)=>B(r,Q,I,a)(g,l||f)},async getFuturesProductDetails(t,i,n,s){let o=await e.getFuturesProductDetails(t,i,n,s),r=a?.serverIndex??0,d=D["DefaultApi.getFuturesProductDetails"]?.[r]?.url;return(l,g)=>B(o,Q,I,a)(l,d||g)},async getFuturesProductSchedules(t,i,n,s,o,r,d,l,g){let f=await e.getFuturesProductSchedules(t,i,n,s,o,r,d,l,g),p=a?.serverIndex??0,y=D["DefaultApi.getFuturesProductSchedules"]?.[p]?.url;return(m,u)=>B(f,Q,I,a)(m,y||u)},async getFuturesProducts(t,i,n,s,o,r,d,l,g,f,p,y){let m=await e.getFuturesProducts(t,i,n,s,o,r,d,l,g,f,p,y),u=a?.serverIndex??0,b=D["DefaultApi.getFuturesProducts"]?.[u]?.url;return(h,x)=>B(m,Q,I,a)(h,b||x)},async getFuturesQuotes(t,i,n,s,o,r,d,l,g,f,p,y,m,u){let b=await e.getFuturesQuotes(t,i,n,s,o,r,d,l,g,f,p,y,m,u),h=a?.serverIndex??0,x=D["DefaultApi.getFuturesQuotes"]?.[h]?.url;return(R,c)=>B(b,Q,I,a)(R,x||c)},async getFuturesTrades(t,i,n,s,o,r,d,l,g,f,p,y,m,u){let b=await e.getFuturesTrades(t,i,n,s,o,r,d,l,g,f,p,y,m,u),h=a?.serverIndex??0,x=D["DefaultApi.getFuturesTrades"]?.[h]?.url;return(R,c)=>B(b,Q,I,a)(R,x||c)},async getFuturesVXContractsNew(t,i,n,s,o,r,d,l,g,f,p,y,m,u,b,h,x,R,c,_,A,k,w,G,M,O,X,v,K,J,S,V,j,Y,se,ae,de){let re=await e.getFuturesVXContractsNew(t,i,n,s,o,r,d,l,g,f,p,y,m,u,b,h,x,R,c,_,A,k,w,G,M,O,X,v,K,J,S,V,j,Y,se,ae,de),ie=a?.serverIndex??0,ne=D["DefaultApi.getFuturesVXContractsNew"]?.[ie]?.url;return($,W)=>B(re,Q,I,a)($,ne||W)},async getFuturesVXExchanges(t,i){let n=await e.getFuturesVXExchanges(t,i),s=a?.serverIndex??0,o=D["DefaultApi.getFuturesVXExchanges"]?.[s]?.url;return(r,d)=>B(n,Q,I,a)(r,o||d)},async getFuturesVXProductsNew(t,i,n,s,o,r,d,l,g,f,p,y,m,u,b,h,x,R,c,_,A,k,w,G,M,O,X,v,K,J,S,V,j,Y,se,ae,de,re,ie,ne,$,W,C,le,pe,ge,ce,ue,Z,q){let ye=await e.getFuturesVXProductsNew(t,i,n,s,o,r,d,l,g,f,p,y,m,u,b,h,x,R,c,_,A,k,w,G,M,O,X,v,K,J,S,V,j,Y,se,ae,de,re,ie,ne,$,W,C,le,pe,ge,ce,ue,Z,q),fe=a?.serverIndex??0,be=D["DefaultApi.getFuturesVXProductsNew"]?.[fe]?.url;return(P,z)=>B(ye,Q,I,a)(P,be||z)},async getFuturesVXSnapshot(t,i,n,s,o,r,d,l,g,f,p,y,m,u,b){let h=await e.getFuturesVXSnapshot(t,i,n,s,o,r,d,l,g,f,p,y,m,u,b),x=a?.serverIndex??0,R=D["DefaultApi.getFuturesVXSnapshot"]?.[x]?.url;return(c,_)=>B(h,Q,I,a)(c,R||_)},async getGroupedCryptoAggregates(t,i,n){let s=await e.getGroupedCryptoAggregates(t,i,n),o=a?.serverIndex??0,r=D["DefaultApi.getGroupedCryptoAggregates"]?.[o]?.url;return(d,l)=>B(s,Q,I,a)(d,r||l)},async getGroupedForexAggregates(t,i,n){let s=await e.getGroupedForexAggregates(t,i,n),o=a?.serverIndex??0,r=D["DefaultApi.getGroupedForexAggregates"]?.[o]?.url;return(d,l)=>B(s,Q,I,a)(d,r||l)},async getGroupedStocksAggregates(t,i,n,s){let o=await e.getGroupedStocksAggregates(t,i,n,s),r=a?.serverIndex??0,d=D["DefaultApi.getGroupedStocksAggregates"]?.[r]?.url;return(l,g)=>B(o,Q,I,a)(l,d||g)},async getIndicesAggregates(t,i,n,s,o,r,d,l){let g=await e.getIndicesAggregates(t,i,n,s,o,r,d,l),f=a?.serverIndex??0,p=D["DefaultApi.getIndicesAggregates"]?.[f]?.url;return(y,m)=>B(g,Q,I,a)(y,p||m)},async getIndicesEMA(t,i,n,s,o,r,d,l,g,f,p,y,m,u){let b=await e.getIndicesEMA(t,i,n,s,o,r,d,l,g,f,p,y,m,u),h=a?.serverIndex??0,x=D["DefaultApi.getIndicesEMA"]?.[h]?.url;return(R,c)=>B(b,Q,I,a)(R,x||c)},async getIndicesMACD(t,i,n,s,o,r,d,l,g,f,p,y,m,u,b,h){let x=await e.getIndicesMACD(t,i,n,s,o,r,d,l,g,f,p,y,m,u,b,h),R=a?.serverIndex??0,c=D["DefaultApi.getIndicesMACD"]?.[R]?.url;return(_,A)=>B(x,Q,I,a)(_,c||A)},async getIndicesOpenClose(t,i,n){let s=await e.getIndicesOpenClose(t,i,n),o=a?.serverIndex??0,r=D["DefaultApi.getIndicesOpenClose"]?.[o]?.url;return(d,l)=>B(s,Q,I,a)(d,r||l)},async getIndicesRSI(t,i,n,s,o,r,d,l,g,f,p,y,m,u){let b=await e.getIndicesRSI(t,i,n,s,o,r,d,l,g,f,p,y,m,u),h=a?.serverIndex??0,x=D["DefaultApi.getIndicesRSI"]?.[h]?.url;return(R,c)=>B(b,Q,I,a)(R,x||c)},async getIndicesSMA(t,i,n,s,o,r,d,l,g,f,p,y,m,u){let b=await e.getIndicesSMA(t,i,n,s,o,r,d,l,g,f,p,y,m,u),h=a?.serverIndex??0,x=D["DefaultApi.getIndicesSMA"]?.[h]?.url;return(R,c)=>B(b,Q,I,a)(R,x||c)},async getIndicesSnapshot(t,i,n,s,o,r,d,l,g,f){let p=await e.getIndicesSnapshot(t,i,n,s,o,r,d,l,g,f),y=a?.serverIndex??0,m=D["DefaultApi.getIndicesSnapshot"]?.[y]?.url;return(u,b)=>B(p,Q,I,a)(u,m||b)},async getLastCryptoTrade(t,i,n){let s=await e.getLastCryptoTrade(t,i,n),o=a?.serverIndex??0,r=D["DefaultApi.getLastCryptoTrade"]?.[o]?.url;return(d,l)=>B(s,Q,I,a)(d,r||l)},async getLastCurrencyQuote(t,i,n){let s=await e.getLastCurrencyQuote(t,i,n),o=a?.serverIndex??0,r=D["DefaultApi.getLastCurrencyQuote"]?.[o]?.url;return(d,l)=>B(s,Q,I,a)(d,r||l)},async getLastOptionsTrade(t,i){let n=await e.getLastOptionsTrade(t,i),s=a?.serverIndex??0,o=D["DefaultApi.getLastOptionsTrade"]?.[s]?.url;return(r,d)=>B(n,Q,I,a)(r,o||d)},async getLastStocksQuote(t,i){let n=await e.getLastStocksQuote(t,i),s=a?.serverIndex??0,o=D["DefaultApi.getLastStocksQuote"]?.[s]?.url;return(r,d)=>B(n,Q,I,a)(r,o||d)},async getLastStocksTrade(t,i){let n=await e.getLastStocksTrade(t,i),s=a?.serverIndex??0,o=D["DefaultApi.getLastStocksTrade"]?.[s]?.url;return(r,d)=>B(n,Q,I,a)(r,o||d)},async getMarketHolidays(t){let i=await e.getMarketHolidays(t),n=a?.serverIndex??0,s=D["DefaultApi.getMarketHolidays"]?.[n]?.url;return(o,r)=>B(i,Q,I,a)(o,s||r)},async getMarketStatus(t){let i=await e.getMarketStatus(t),n=a?.serverIndex??0,s=D["DefaultApi.getMarketStatus"]?.[n]?.url;return(o,r)=>B(i,Q,I,a)(o,s||r)},async getOptionContract(t,i,n){let s=await e.getOptionContract(t,i,n),o=a?.serverIndex??0,r=D["DefaultApi.getOptionContract"]?.[o]?.url;return(d,l)=>B(s,Q,I,a)(d,r||l)},async getOptionsAggregates(t,i,n,s,o,r,d,l,g){let f=await e.getOptionsAggregates(t,i,n,s,o,r,d,l,g),p=a?.serverIndex??0,y=D["DefaultApi.getOptionsAggregates"]?.[p]?.url;return(m,u)=>B(f,Q,I,a)(m,y||u)},async getOptionsChain(t,i,n,s,o,r,d,l,g,f,p,y,m,u,b,h){let x=await e.getOptionsChain(t,i,n,s,o,r,d,l,g,f,p,y,m,u,b,h),R=a?.serverIndex??0,c=D["DefaultApi.getOptionsChain"]?.[R]?.url;return(_,A)=>B(x,Q,I,a)(_,c||A)},async getOptionsContract(t,i,n){let s=await e.getOptionsContract(t,i,n),o=a?.serverIndex??0,r=D["DefaultApi.getOptionsContract"]?.[o]?.url;return(d,l)=>B(s,Q,I,a)(d,r||l)},async getOptionsEMA(t,i,n,s,o,r,d,l,g,f,p,y,m,u){let b=await e.getOptionsEMA(t,i,n,s,o,r,d,l,g,f,p,y,m,u),h=a?.serverIndex??0,x=D["DefaultApi.getOptionsEMA"]?.[h]?.url;return(R,c)=>B(b,Q,I,a)(R,x||c)},async getOptionsMACD(t,i,n,s,o,r,d,l,g,f,p,y,m,u,b,h){let x=await e.getOptionsMACD(t,i,n,s,o,r,d,l,g,f,p,y,m,u,b,h),R=a?.serverIndex??0,c=D["DefaultApi.getOptionsMACD"]?.[R]?.url;return(_,A)=>B(x,Q,I,a)(_,c||A)},async getOptionsOpenClose(t,i,n,s){let o=await e.getOptionsOpenClose(t,i,n,s),r=a?.serverIndex??0,d=D["DefaultApi.getOptionsOpenClose"]?.[r]?.url;return(l,g)=>B(o,Q,I,a)(l,d||g)},async getOptionsQuotes(t,i,n,s,o,r,d,l,g,f){let p=await e.getOptionsQuotes(t,i,n,s,o,r,d,l,g,f),y=a?.serverIndex??0,m=D["DefaultApi.getOptionsQuotes"]?.[y]?.url;return(u,b)=>B(p,Q,I,a)(u,m||b)},async getOptionsRSI(t,i,n,s,o,r,d,l,g,f,p,y,m,u){let b=await e.getOptionsRSI(t,i,n,s,o,r,d,l,g,f,p,y,m,u),h=a?.serverIndex??0,x=D["DefaultApi.getOptionsRSI"]?.[h]?.url;return(R,c)=>B(b,Q,I,a)(R,x||c)},async getOptionsSMA(t,i,n,s,o,r,d,l,g,f,p,y,m,u){let b=await e.getOptionsSMA(t,i,n,s,o,r,d,l,g,f,p,y,m,u),h=a?.serverIndex??0,x=D["DefaultApi.getOptionsSMA"]?.[h]?.url;return(R,c)=>B(b,Q,I,a)(R,x||c)},async getOptionsTrades(t,i,n,s,o,r,d,l,g,f){let p=await e.getOptionsTrades(t,i,n,s,o,r,d,l,g,f),y=a?.serverIndex??0,m=D["DefaultApi.getOptionsTrades"]?.[y]?.url;return(u,b)=>B(p,Q,I,a)(u,m||b)},async getOptionsV1Exchanges(t,i){let n=await e.getOptionsV1Exchanges(t,i),s=a?.serverIndex??0,o=D["DefaultApi.getOptionsV1Exchanges"]?.[s]?.url;return(r,d)=>B(n,Q,I,a)(r,o||d)},async getPreviousCryptoAggregates(t,i,n){let s=await e.getPreviousCryptoAggregates(t,i,n),o=a?.serverIndex??0,r=D["DefaultApi.getPreviousCryptoAggregates"]?.[o]?.url;return(d,l)=>B(s,Q,I,a)(d,r||l)},async getPreviousForexAggregates(t,i,n){let s=await e.getPreviousForexAggregates(t,i,n),o=a?.serverIndex??0,r=D["DefaultApi.getPreviousForexAggregates"]?.[o]?.url;return(d,l)=>B(s,Q,I,a)(d,r||l)},async getPreviousIndicesAggregates(t,i){let n=await e.getPreviousIndicesAggregates(t,i),s=a?.serverIndex??0,o=D["DefaultApi.getPreviousIndicesAggregates"]?.[s]?.url;return(r,d)=>B(n,Q,I,a)(r,o||d)},async getPreviousOptionsAggregates(t,i,n){let s=await e.getPreviousOptionsAggregates(t,i,n),o=a?.serverIndex??0,r=D["DefaultApi.getPreviousOptionsAggregates"]?.[o]?.url;return(d,l)=>B(s,Q,I,a)(d,r||l)},async getPreviousStocksAggregates(t,i,n){let s=await e.getPreviousStocksAggregates(t,i,n),o=a?.serverIndex??0,r=D["DefaultApi.getPreviousStocksAggregates"]?.[o]?.url;return(d,l)=>B(s,Q,I,a)(d,r||l)},async getRelatedCompanies(t,i){let n=await e.getRelatedCompanies(t,i),s=a?.serverIndex??0,o=D["DefaultApi.getRelatedCompanies"]?.[s]?.url;return(r,d)=>B(n,Q,I,a)(r,o||d)},async getSnapshotSummary(t,i){let n=await e.getSnapshotSummary(t,i),s=a?.serverIndex??0,o=D["DefaultApi.getSnapshotSummary"]?.[s]?.url;return(r,d)=>B(n,Q,I,a)(r,o||d)},async getSnapshots(t,i,n,s,o,r,d,l,g,f,p){let y=await e.getSnapshots(t,i,n,s,o,r,d,l,g,f,p),m=a?.serverIndex??0,u=D["DefaultApi.getSnapshots"]?.[m]?.url;return(b,h)=>B(y,Q,I,a)(b,u||h)},async getStocksAggregates(t,i,n,s,o,r,d,l,g){let f=await e.getStocksAggregates(t,i,n,s,o,r,d,l,g),p=a?.serverIndex??0,y=D["DefaultApi.getStocksAggregates"]?.[p]?.url;return(m,u)=>B(f,Q,I,a)(m,y||u)},async getStocksEMA(t,i,n,s,o,r,d,l,g,f,p,y,m,u){let b=await e.getStocksEMA(t,i,n,s,o,r,d,l,g,f,p,y,m,u),h=a?.serverIndex??0,x=D["DefaultApi.getStocksEMA"]?.[h]?.url;return(R,c)=>B(b,Q,I,a)(R,x||c)},async getStocksFilingsVXRiskFactors(t,i,n,s,o,r,d,l,g,f,p,y,m,u,b,h,x,R,c,_,A){let k=await e.getStocksFilingsVXRiskFactors(t,i,n,s,o,r,d,l,g,f,p,y,m,u,b,h,x,R,c,_,A),w=a?.serverIndex??0,G=D["DefaultApi.getStocksFilingsVXRiskFactors"]?.[w]?.url;return(M,O)=>B(k,Q,I,a)(M,G||O)},async getStocksFilingsVXText(t,i,n,s,o,r,d,l,g,f,p,y,m,u,b,h,x,R,c,_,A,k,w,G,M,O,X,v,K){let J=await e.getStocksFilingsVXText(t,i,n,s,o,r,d,l,g,f,p,y,m,u,b,h,x,R,c,_,A,k,w,G,M,O,X,v,K),S=a?.serverIndex??0,V=D["DefaultApi.getStocksFilingsVXText"]?.[S]?.url;return(j,Y)=>B(J,Q,I,a)(j,V||Y)},async getStocksFinancialsV1BalanceSheets(t,i,n,s,o,r,d,l,g,f,p,y,m,u,b,h,x,R,c,_,A,k,w,G,M,O,X,v,K,J,S,V,j,Y,se,ae,de,re){let ie=await e.getStocksFinancialsV1BalanceSheets(t,i,n,s,o,r,d,l,g,f,p,y,m,u,b,h,x,R,c,_,A,k,w,G,M,O,X,v,K,J,S,V,j,Y,se,ae,de,re),ne=a?.serverIndex??0,$=D["DefaultApi.getStocksFinancialsV1BalanceSheets"]?.[ne]?.url;return(W,C)=>B(ie,Q,I,a)(W,$||C)},async getStocksFinancialsV1CashFlowStatements(t,i,n,s,o,r,d,l,g,f,p,y,m,u,b,h,x,R,c,_,A,k,w,G,M,O,X,v,K,J,S,V,j,Y,se,ae,de,re){let ie=await e.getStocksFinancialsV1CashFlowStatements(t,i,n,s,o,r,d,l,g,f,p,y,m,u,b,h,x,R,c,_,A,k,w,G,M,O,X,v,K,J,S,V,j,Y,se,ae,de,re),ne=a?.serverIndex??0,$=D["DefaultApi.getStocksFinancialsV1CashFlowStatements"]?.[ne]?.url;return(W,C)=>B(ie,Q,I,a)(W,$||C)},async getStocksFinancialsV1IncomeStatements(t,i,n,s,o,r,d,l,g,f,p,y,m,u,b,h,x,R,c,_,A,k,w,G,M,O,X,v,K,J,S,V,j,Y,se,ae,de,re){let ie=await e.getStocksFinancialsV1IncomeStatements(t,i,n,s,o,r,d,l,g,f,p,y,m,u,b,h,x,R,c,_,A,k,w,G,M,O,X,v,K,J,S,V,j,Y,se,ae,de,re),ne=a?.serverIndex??0,$=D["DefaultApi.getStocksFinancialsV1IncomeStatements"]?.[ne]?.url;return(W,C)=>B(ie,Q,I,a)(W,$||C)},async getStocksFinancialsV1Ratios(t,i,n,s,o,r,d,l,g,f,p,y,m,u,b,h,x,R,c,_,A,k,w,G,M,O,X,v,K,J,S,V,j,Y,se,ae,de,re,ie,ne,$,W,C,le,pe,ge,ce,ue,Z,q,ye,fe,be,P,z,me,he,xe,Re,te,Ae,oe,Ge,Oe,Ce,Ve,Se,we,ve,Le,Ie,_e,De,Te,ee,Ue,Be,Ee,Qe,ze,Me,He,je,Ke,Ne,Xe,$e,Ye,We,Je,Ze,qe,Pe,en,nn,tn,sn,on,rn,an,dn,ln,gn,cn,pn,un,fn,yn,bn,mn,hn,Rn,xn,An,Sn){let _n=await e.getStocksFinancialsV1Ratios(t,i,n,s,o,r,d,l,g,f,p,y,m,u,b,h,x,R,c,_,A,k,w,G,M,O,X,v,K,J,S,V,j,Y,se,ae,de,re,ie,ne,$,W,C,le,pe,ge,ce,ue,Z,q,ye,fe,be,P,z,me,he,xe,Re,te,Ae,oe,Ge,Oe,Ce,Ve,Se,we,ve,Le,Ie,_e,De,Te,ee,Ue,Be,Ee,Qe,ze,Me,He,je,Ke,Ne,Xe,$e,Ye,We,Je,Ze,qe,Pe,en,nn,tn,sn,on,rn,an,dn,ln,gn,cn,pn,un,fn,yn,bn,mn,hn,Rn,xn,An,Sn),Fe=a?.serverIndex??0,kn=D["DefaultApi.getStocksFinancialsV1Ratios"]?.[Fe]?.url;return(wn,H)=>B(_n,Q,I,a)(wn,kn||H)},async getStocksMACD(t,i,n,s,o,r,d,l,g,f,p,y,m,u,b,h){let x=await e.getStocksMACD(t,i,n,s,o,r,d,l,g,f,p,y,m,u,b,h),R=a?.serverIndex??0,c=D["DefaultApi.getStocksMACD"]?.[R]?.url;return(_,A)=>B(x,Q,I,a)(_,c||A)},async getStocksOpenClose(t,i,n,s){let o=await e.getStocksOpenClose(t,i,n,s),r=a?.serverIndex??0,d=D["DefaultApi.getStocksOpenClose"]?.[r]?.url;return(l,g)=>B(o,Q,I,a)(l,d||g)},async getStocksQuotes(t,i,n,s,o,r,d,l,g,f){let p=await e.getStocksQuotes(t,i,n,s,o,r,d,l,g,f),y=a?.serverIndex??0,m=D["DefaultApi.getStocksQuotes"]?.[y]?.url;return(u,b)=>B(p,Q,I,a)(u,m||b)},async getStocksRSI(t,i,n,s,o,r,d,l,g,f,p,y,m,u){let b=await e.getStocksRSI(t,i,n,s,o,r,d,l,g,f,p,y,m,u),h=a?.serverIndex??0,x=D["DefaultApi.getStocksRSI"]?.[h]?.url;return(R,c)=>B(b,Q,I,a)(R,x||c)},async getStocksSMA(t,i,n,s,o,r,d,l,g,f,p,y,m,u){let b=await e.getStocksSMA(t,i,n,s,o,r,d,l,g,f,p,y,m,u),h=a?.serverIndex??0,x=D["DefaultApi.getStocksSMA"]?.[h]?.url;return(R,c)=>B(b,Q,I,a)(R,x||c)},async getStocksSnapshotDirection(t,i,n){let s=await e.getStocksSnapshotDirection(t,i,n),o=a?.serverIndex??0,r=D["DefaultApi.getStocksSnapshotDirection"]?.[o]?.url;return(d,l)=>B(s,Q,I,a)(d,r||l)},async getStocksSnapshotTicker(t,i){let n=await e.getStocksSnapshotTicker(t,i),s=a?.serverIndex??0,o=D["DefaultApi.getStocksSnapshotTicker"]?.[s]?.url;return(r,d)=>B(n,Q,I,a)(r,o||d)},async getStocksSnapshotTickers(t,i,n){let s=await e.getStocksSnapshotTickers(t,i,n),o=a?.serverIndex??0,r=D["DefaultApi.getStocksSnapshotTickers"]?.[o]?.url;return(d,l)=>B(s,Q,I,a)(d,r||l)},async getStocksTaxonomiesVXRiskFactors(t,i,n,s,o,r,d,l,g,f,p,y,m,u,b,h,x,R,c,_,A,k,w,G,M,O){let X=await e.getStocksTaxonomiesVXRiskFactors(t,i,n,s,o,r,d,l,g,f,p,y,m,u,b,h,x,R,c,_,A,k,w,G,M,O),v=a?.serverIndex??0,K=D["DefaultApi.getStocksTaxonomiesVXRiskFactors"]?.[v]?.url;return(J,S)=>B(X,Q,I,a)(J,K||S)},async getStocksTrades(t,i,n,s,o,r,d,l,g,f){let p=await e.getStocksTrades(t,i,n,s,o,r,d,l,g,f),y=a?.serverIndex??0,m=D["DefaultApi.getStocksTrades"]?.[y]?.url;return(u,b)=>B(p,Q,I,a)(u,m||b)},async getStocksV1Dividends(t,i,n,s,o,r,d,l,g,f,p,y,m,u,b,h,x,R,c,_,A){let k=await e.getStocksV1Dividends(t,i,n,s,o,r,d,l,g,f,p,y,m,u,b,h,x,R,c,_,A),w=a?.serverIndex??0,G=D["DefaultApi.getStocksV1Dividends"]?.[w]?.url;return(M,O)=>B(k,Q,I,a)(M,G||O)},async getStocksV1Exchanges(t,i){let n=await e.getStocksV1Exchanges(t,i),s=a?.serverIndex??0,o=D["DefaultApi.getStocksV1Exchanges"]?.[s]?.url;return(r,d)=>B(n,Q,I,a)(r,o||d)},async getStocksV1ShortInterest(t,i,n,s,o,r,d,l,g,f,p,y,m,u,b,h,x,R,c,_,A,k,w,G,M,O,X){let v=await e.getStocksV1ShortInterest(t,i,n,s,o,r,d,l,g,f,p,y,m,u,b,h,x,R,c,_,A,k,w,G,M,O,X),K=a?.serverIndex??0,J=D["DefaultApi.getStocksV1ShortInterest"]?.[K]?.url;return(S,V)=>B(v,Q,I,a)(S,J||V)},async getStocksV1ShortVolume(t,i,n,s,o,r,d,l,g,f,p,y,m,u,b,h,x,R,c,_,A,k,w,G,M,O,X){let v=await e.getStocksV1ShortVolume(t,i,n,s,o,r,d,l,g,f,p,y,m,u,b,h,x,R,c,_,A,k,w,G,M,O,X),K=a?.serverIndex??0,J=D["DefaultApi.getStocksV1ShortVolume"]?.[K]?.url;return(S,V)=>B(v,Q,I,a)(S,J||V)},async getStocksV1Splits(t,i,n,s,o,r,d,l,g,f,p,y,m,u,b,h){let x=await e.getStocksV1Splits(t,i,n,s,o,r,d,l,g,f,p,y,m,u,b,h),R=a?.serverIndex??0,c=D["DefaultApi.getStocksV1Splits"]?.[R]?.url;return(_,A)=>B(x,Q,I,a)(_,c||A)},async getTicker(t,i,n){let s=await e.getTicker(t,i,n),o=a?.serverIndex??0,r=D["DefaultApi.getTicker"]?.[o]?.url;return(d,l)=>B(s,Q,I,a)(d,r||l)},async getTmxV1CorporateEvents(t,i,n,s,o,r,d,l,g,f,p,y,m,u,b,h,x,R,c,_,A,k,w,G,M,O,X,v,K,J,S,V,j,Y,se,ae,de,re,ie,ne,$,W,C,le,pe,ge,ce,ue,Z,q){let ye=await e.getTmxV1CorporateEvents(t,i,n,s,o,r,d,l,g,f,p,y,m,u,b,h,x,R,c,_,A,k,w,G,M,O,X,v,K,J,S,V,j,Y,se,ae,de,re,ie,ne,$,W,C,le,pe,ge,ce,ue,Z,q),fe=a?.serverIndex??0,be=D["DefaultApi.getTmxV1CorporateEvents"]?.[fe]?.url;return(P,z)=>B(ye,Q,I,a)(P,be||z)},async listConditions(t,i,n,s,o,r,d,l){let g=await e.listConditions(t,i,n,s,o,r,d,l),f=a?.serverIndex??0,p=D["DefaultApi.listConditions"]?.[f]?.url;return(y,m)=>B(g,Q,I,a)(y,p||m)},async listDividends(t,i,n,s,o,r,d,l,g,f,p,y,m,u,b,h,x,R,c,_,A,k,w,G,M,O,X,v,K,J,S,V,j,Y,se,ae){let de=await e.listDividends(t,i,n,s,o,r,d,l,g,f,p,y,m,u,b,h,x,R,c,_,A,k,w,G,M,O,X,v,K,J,S,V,j,Y,se,ae),re=a?.serverIndex??0,ie=D["DefaultApi.listDividends"]?.[re]?.url;return(ne,$)=>B(de,Q,I,a)(ne,ie||$)},async listExchanges(t,i,n){let s=await e.listExchanges(t,i,n),o=a?.serverIndex??0,r=D["DefaultApi.listExchanges"]?.[o]?.url;return(d,l)=>B(s,Q,I,a)(d,r||l)},async listFinancials(t,i,n,s,o,r,d,l,g,f,p,y,m,u,b,h,x,R,c,_,A){let k=await e.listFinancials(t,i,n,s,o,r,d,l,g,f,p,y,m,u,b,h,x,R,c,_,A),w=a?.serverIndex??0,G=D["DefaultApi.listFinancials"]?.[w]?.url;return(M,O)=>B(k,Q,I,a)(M,G||O)},async listIPOs(t,i,n,s,o,r,d,l,g,f,p,y,m){let u=await e.listIPOs(t,i,n,s,o,r,d,l,g,f,p,y,m),b=a?.serverIndex??0,h=D["DefaultApi.listIPOs"]?.[b]?.url;return(x,R)=>B(u,Q,I,a)(x,h||R)},async listNews(t,i,n,s,o,r,d,l,g,f,p,y,m,u){let b=await e.listNews(t,i,n,s,o,r,d,l,g,f,p,y,m,u),h=a?.serverIndex??0,x=D["DefaultApi.listNews"]?.[h]?.url;return(R,c)=>B(b,Q,I,a)(R,x||c)},async listOptionsContracts(t,i,n,s,o,r,d,l,g,f,p,y,m,u,b,h,x,R,c,_,A,k,w){let G=await e.listOptionsContracts(t,i,n,s,o,r,d,l,g,f,p,y,m,u,b,h,x,R,c,_,A,k,w),M=a?.serverIndex??0,O=D["DefaultApi.listOptionsContracts"]?.[M]?.url;return(X,v)=>B(G,Q,I,a)(X,O||v)},async listStockSplits(t,i,n,s,o,r,d,l,g,f,p,y,m,u,b){let h=await e.listStockSplits(t,i,n,s,o,r,d,l,g,f,p,y,m,u,b),x=a?.serverIndex??0,R=D["DefaultApi.listStockSplits"]?.[x]?.url;return(c,_)=>B(h,Q,I,a)(c,R||_)},async listTickerTypes(t,i,n){let s=await e.listTickerTypes(t,i,n),o=a?.serverIndex??0,r=D["DefaultApi.listTickerTypes"]?.[o]?.url;return(d,l)=>B(s,Q,I,a)(d,r||l)},async listTickers(t,i,n,s,o,r,d,l,g,f,p,y,m,u,b,h,x){let R=await e.listTickers(t,i,n,s,o,r,d,l,g,f,p,y,m,u,b,h,x),c=a?.serverIndex??0,_=D["DefaultApi.listTickers"]?.[c]?.url;return(A,k)=>B(R,Q,I,a)(A,_||k)}}},pr=function(a,e,t){let i=E(a);return{deprecatedGetCryptoSnapshotTickerBook(n,s){return i.deprecatedGetCryptoSnapshotTickerBook(n.ticker,s).then(o=>o(t,e))},deprecatedGetHistoricCryptoTrades(n,s){return i.deprecatedGetHistoricCryptoTrades(n.from,n.to,n.date,n.offset,n.limit,s).then(o=>o(t,e))},deprecatedGetHistoricForexQuotes(n,s){return i.deprecatedGetHistoricForexQuotes(n.from,n.to,n.date,n.offset,n.limit,s).then(o=>o(t,e))},deprecatedGetHistoricStocksQuotes(n,s){return i.deprecatedGetHistoricStocksQuotes(n.ticker,n.date,n.timestamp,n.timestampLimit,n.reverse,n.limit,s).then(o=>o(t,e))},deprecatedGetHistoricStocksTrades(n,s){return i.deprecatedGetHistoricStocksTrades(n.ticker,n.date,n.timestamp,n.timestampLimit,n.reverse,n.limit,s).then(o=>o(t,e))},getBenzingaV1AnalystInsights(n={},s){return i.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,s).then(o=>o(t,e))},getBenzingaV1Analysts(n={},s){return i.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,s).then(o=>o(t,e))},getBenzingaV1ConsensusRatings(n,s){return i.getBenzingaV1ConsensusRatings(n.ticker,n.date,n.dateAnyOf,n.dateGt,n.dateGte,n.dateLt,n.dateLte,n.limit,s).then(o=>o(t,e))},getBenzingaV1Earnings(n={},s){return i.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,s).then(o=>o(t,e))},getBenzingaV1Firms(n={},s){return i.getBenzingaV1Firms(n.benzingaId,n.benzingaIdAnyOf,n.benzingaIdGt,n.benzingaIdGte,n.benzingaIdLt,n.benzingaIdLte,n.limit,n.sort,s).then(o=>o(t,e))},getBenzingaV1Guidance(n={},s){return i.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,s).then(o=>o(t,e))},getBenzingaV1Ratings(n={},s){return i.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,s).then(o=>o(t,e))},getBenzingaV2News(n={},s){return i.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,s).then(o=>o(t,e))},getCryptoAggregates(n,s){return i.getCryptoAggregates(n.cryptoTicker,n.multiplier,n.timespan,n.from,n.to,n.adjusted,n.sort,n.limit,s).then(o=>o(t,e))},getCryptoEMA(n,s){return i.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,s).then(o=>o(t,e))},getCryptoMACD(n,s){return i.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,s).then(o=>o(t,e))},getCryptoOpenClose(n,s){return i.getCryptoOpenClose(n.from,n.to,n.date,n.adjusted,s).then(o=>o(t,e))},getCryptoRSI(n,s){return i.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,s).then(o=>o(t,e))},getCryptoSMA(n,s){return i.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,s).then(o=>o(t,e))},getCryptoSnapshotDirection(n,s){return i.getCryptoSnapshotDirection(n.direction,s).then(o=>o(t,e))},getCryptoSnapshotTicker(n,s){return i.getCryptoSnapshotTicker(n.ticker,s).then(o=>o(t,e))},getCryptoSnapshotTickers(n={},s){return i.getCryptoSnapshotTickers(n.tickers,s).then(o=>o(t,e))},getCryptoTrades(n,s){return i.getCryptoTrades(n.cryptoTicker,n.timestamp,n.timestampGte,n.timestampGt,n.timestampLte,n.timestampLt,n.order,n.limit,n.sort,s).then(o=>o(t,e))},getCryptoV1Exchanges(n={},s){return i.getCryptoV1Exchanges(n.limit,s).then(o=>o(t,e))},getCurrencyConversion(n,s){return i.getCurrencyConversion(n.from,n.to,n.amount,n.precision,s).then(o=>o(t,e))},getEtfGlobalV1Analytics(n={},s){return i.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,s).then(o=>o(t,e))},getEtfGlobalV1Constituents(n={},s){return i.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,s).then(o=>o(t,e))},getEtfGlobalV1FundFlows(n={},s){return i.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,s).then(o=>o(t,e))},getEtfGlobalV1Profiles(n={},s){return i.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,s).then(o=>o(t,e))},getEtfGlobalV1Taxonomies(n={},s){return i.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,s).then(o=>o(t,e))},getEvents(n,s){return i.getEvents(n.id,n.types,s).then(o=>o(t,e))},getFedV1Inflation(n={},s){return i.getFedV1Inflation(n.date,n.dateAnyOf,n.dateGt,n.dateGte,n.dateLt,n.dateLte,n.limit,n.sort,s).then(o=>o(t,e))},getFedV1InflationExpectations(n={},s){return i.getFedV1InflationExpectations(n.date,n.dateAnyOf,n.dateGt,n.dateGte,n.dateLt,n.dateLte,n.limit,n.sort,s).then(o=>o(t,e))},getFedV1TreasuryYields(n={},s){return i.getFedV1TreasuryYields(n.date,n.dateAnyOf,n.dateGt,n.dateGte,n.dateLt,n.dateLte,n.limit,n.sort,s).then(o=>o(t,e))},getForexAggregates(n,s){return i.getForexAggregates(n.forexTicker,n.multiplier,n.timespan,n.from,n.to,n.adjusted,n.sort,n.limit,s).then(o=>o(t,e))},getForexEMA(n,s){return i.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,s).then(o=>o(t,e))},getForexMACD(n,s){return i.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,s).then(o=>o(t,e))},getForexQuotes(n,s){return i.getForexQuotes(n.fxTicker,n.timestamp,n.timestampGte,n.timestampGt,n.timestampLte,n.timestampLt,n.order,n.limit,n.sort,s).then(o=>o(t,e))},getForexRSI(n,s){return i.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,s).then(o=>o(t,e))},getForexSMA(n,s){return i.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,s).then(o=>o(t,e))},getForexSnapshotDirection(n,s){return i.getForexSnapshotDirection(n.direction,s).then(o=>o(t,e))},getForexSnapshotTicker(n,s){return i.getForexSnapshotTicker(n.ticker,s).then(o=>o(t,e))},getForexSnapshotTickers(n={},s){return i.getForexSnapshotTickers(n.tickers,s).then(o=>o(t,e))},getForexV1Exchanges(n={},s){return i.getForexV1Exchanges(n.limit,s).then(o=>o(t,e))},getFuturesAggregates(n,s){return i.getFuturesAggregates(n.ticker,n.resolution,n.windowStart,n.limit,n.windowStartGte,n.windowStartGt,n.windowStartLte,n.windowStartLt,n.sort,s).then(o=>o(t,e))},getFuturesContractDetails(n,s){return i.getFuturesContractDetails(n.ticker,n.asOf,s).then(o=>o(t,e))},getFuturesContracts(n={},s){return i.getFuturesContracts(n.productCode,n.firstTradeDate,n.lastTradeDate,n.asOf,n.active,n.type,n.limit,n.sort,s).then(o=>o(t,e))},getFuturesDailySchedules(n={},s){return i.getFuturesDailySchedules(n.sessionEndDate,n.tradingVenue,n.limit,n.sort,s).then(o=>o(t,e))},getFuturesMarketStatuses(n={},s){return i.getFuturesMarketStatuses(n.productCodeAnyOf,n.productCode,n.limit,n.sort,s).then(o=>o(t,e))},getFuturesProductDetails(n,s){return i.getFuturesProductDetails(n.productCode,n.type,n.asOf,s).then(o=>o(t,e))},getFuturesProductSchedules(n,s){return i.getFuturesProductSchedules(n.productCode,n.sessionEndDate,n.limit,n.sessionEndDateGte,n.sessionEndDateGt,n.sessionEndDateLte,n.sessionEndDateLt,n.sort,s).then(o=>o(t,e))},getFuturesProducts(n={},s){return i.getFuturesProducts(n.name,n.asOf,n.tradingVenue,n.sector,n.subSector,n.assetClass,n.assetSubClass,n.type,n.limit,n.nameSearch,n.sort,s).then(o=>o(t,e))},getFuturesQuotes(n,s){return i.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,s).then(o=>o(t,e))},getFuturesTrades(n,s){return i.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,s).then(o=>o(t,e))},getFuturesVXContractsNew(n={},s){return i.getFuturesVXContractsNew(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.typeGt,n.typeGte,n.typeLt,n.typeLte,n.firstTradeDate,n.firstTradeDateGt,n.firstTradeDateGte,n.firstTradeDateLt,n.firstTradeDateLte,n.lastTradeDate,n.lastTradeDateGt,n.lastTradeDateGte,n.lastTradeDateLt,n.lastTradeDateLte,n.limit,n.sort,s).then(o=>o(t,e))},getFuturesVXExchanges(n={},s){return i.getFuturesVXExchanges(n.limit,s).then(o=>o(t,e))},getFuturesVXProductsNew(n={},s){return i.getFuturesVXProductsNew(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.sector,n.sectorAnyOf,n.sectorGt,n.sectorGte,n.sectorLt,n.sectorLte,n.subSector,n.subSectorAnyOf,n.subSectorGt,n.subSectorGte,n.subSectorLt,n.subSectorLte,n.assetClass,n.assetClassAnyOf,n.assetClassGt,n.assetClassGte,n.assetClassLt,n.assetClassLte,n.assetSubClass,n.assetSubClassAnyOf,n.assetSubClassGt,n.assetSubClassGte,n.assetSubClassLt,n.assetSubClassLte,n.type,n.typeAnyOf,n.typeGt,n.typeGte,n.typeLt,n.typeLte,n.limit,n.sort,s).then(o=>o(t,e))},getFuturesVXSnapshot(n={},s){return i.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,s).then(o=>o(t,e))},getGroupedCryptoAggregates(n,s){return i.getGroupedCryptoAggregates(n.date,n.adjusted,s).then(o=>o(t,e))},getGroupedForexAggregates(n,s){return i.getGroupedForexAggregates(n.date,n.adjusted,s).then(o=>o(t,e))},getGroupedStocksAggregates(n,s){return i.getGroupedStocksAggregates(n.date,n.adjusted,n.includeOtc,s).then(o=>o(t,e))},getIndicesAggregates(n,s){return i.getIndicesAggregates(n.indicesTicker,n.multiplier,n.timespan,n.from,n.to,n.sort,n.limit,s).then(o=>o(t,e))},getIndicesEMA(n,s){return i.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,s).then(o=>o(t,e))},getIndicesMACD(n,s){return i.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,s).then(o=>o(t,e))},getIndicesOpenClose(n,s){return i.getIndicesOpenClose(n.indicesTicker,n.date,s).then(o=>o(t,e))},getIndicesRSI(n,s){return i.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,s).then(o=>o(t,e))},getIndicesSMA(n,s){return i.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,s).then(o=>o(t,e))},getIndicesSnapshot(n={},s){return i.getIndicesSnapshot(n.tickerAnyOf,n.ticker,n.tickerGte,n.tickerGt,n.tickerLte,n.tickerLt,n.order,n.limit,n.sort,s).then(o=>o(t,e))},getLastCryptoTrade(n,s){return i.getLastCryptoTrade(n.from,n.to,s).then(o=>o(t,e))},getLastCurrencyQuote(n,s){return i.getLastCurrencyQuote(n.from,n.to,s).then(o=>o(t,e))},getLastOptionsTrade(n,s){return i.getLastOptionsTrade(n.optionsTicker,s).then(o=>o(t,e))},getLastStocksQuote(n,s){return i.getLastStocksQuote(n.stocksTicker,s).then(o=>o(t,e))},getLastStocksTrade(n,s){return i.getLastStocksTrade(n.stocksTicker,s).then(o=>o(t,e))},getMarketHolidays(n){return i.getMarketHolidays(n).then(s=>s(t,e))},getMarketStatus(n){return i.getMarketStatus(n).then(s=>s(t,e))},getOptionContract(n,s){return i.getOptionContract(n.underlyingAsset,n.optionContract,s).then(o=>o(t,e))},getOptionsAggregates(n,s){return i.getOptionsAggregates(n.optionsTicker,n.multiplier,n.timespan,n.from,n.to,n.adjusted,n.sort,n.limit,s).then(o=>o(t,e))},getOptionsChain(n,s){return i.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,s).then(o=>o(t,e))},getOptionsContract(n,s){return i.getOptionsContract(n.optionsTicker,n.asOf,s).then(o=>o(t,e))},getOptionsEMA(n,s){return i.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,s).then(o=>o(t,e))},getOptionsMACD(n,s){return i.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,s).then(o=>o(t,e))},getOptionsOpenClose(n,s){return i.getOptionsOpenClose(n.optionsTicker,n.date,n.adjusted,s).then(o=>o(t,e))},getOptionsQuotes(n,s){return i.getOptionsQuotes(n.optionsTicker,n.timestamp,n.timestampGte,n.timestampGt,n.timestampLte,n.timestampLt,n.order,n.limit,n.sort,s).then(o=>o(t,e))},getOptionsRSI(n,s){return i.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,s).then(o=>o(t,e))},getOptionsSMA(n,s){return i.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,s).then(o=>o(t,e))},getOptionsTrades(n,s){return i.getOptionsTrades(n.optionsTicker,n.timestamp,n.timestampGte,n.timestampGt,n.timestampLte,n.timestampLt,n.order,n.limit,n.sort,s).then(o=>o(t,e))},getOptionsV1Exchanges(n={},s){return i.getOptionsV1Exchanges(n.limit,s).then(o=>o(t,e))},getPreviousCryptoAggregates(n,s){return i.getPreviousCryptoAggregates(n.cryptoTicker,n.adjusted,s).then(o=>o(t,e))},getPreviousForexAggregates(n,s){return i.getPreviousForexAggregates(n.forexTicker,n.adjusted,s).then(o=>o(t,e))},getPreviousIndicesAggregates(n,s){return i.getPreviousIndicesAggregates(n.indicesTicker,s).then(o=>o(t,e))},getPreviousOptionsAggregates(n,s){return i.getPreviousOptionsAggregates(n.optionsTicker,n.adjusted,s).then(o=>o(t,e))},getPreviousStocksAggregates(n,s){return i.getPreviousStocksAggregates(n.stocksTicker,n.adjusted,s).then(o=>o(t,e))},getRelatedCompanies(n,s){return i.getRelatedCompanies(n.ticker,s).then(o=>o(t,e))},getSnapshotSummary(n={},s){return i.getSnapshotSummary(n.tickerAnyOf,s).then(o=>o(t,e))},getSnapshots(n={},s){return i.getSnapshots(n.ticker,n.type,n.tickerGte,n.tickerGt,n.tickerLte,n.tickerLt,n.tickerAnyOf,n.order,n.limit,n.sort,s).then(o=>o(t,e))},getStocksAggregates(n,s){return i.getStocksAggregates(n.stocksTicker,n.multiplier,n.timespan,n.from,n.to,n.adjusted,n.sort,n.limit,s).then(o=>o(t,e))},getStocksEMA(n,s){return i.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,s).then(o=>o(t,e))},getStocksFilingsVXRiskFactors(n={},s){return i.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,s).then(o=>o(t,e))},getStocksFilingsVXText(n={},s){return i.getStocksFilingsVXText(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.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,s).then(o=>o(t,e))},getStocksFinancialsV1BalanceSheets(n={},s){return i.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.limit,n.sort,s).then(o=>o(t,e))},getStocksFinancialsV1CashFlowStatements(n={},s){return i.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.limit,n.sort,s).then(o=>o(t,e))},getStocksFinancialsV1IncomeStatements(n={},s){return i.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.limit,n.sort,s).then(o=>o(t,e))},getStocksFinancialsV1Ratios(n={},s){return i.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,s).then(o=>o(t,e))},getStocksMACD(n,s){return i.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,s).then(o=>o(t,e))},getStocksOpenClose(n,s){return i.getStocksOpenClose(n.stocksTicker,n.date,n.adjusted,s).then(o=>o(t,e))},getStocksQuotes(n,s){return i.getStocksQuotes(n.stockTicker,n.timestamp,n.timestampGte,n.timestampGt,n.timestampLte,n.timestampLt,n.order,n.limit,n.sort,s).then(o=>o(t,e))},getStocksRSI(n,s){return i.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,s).then(o=>o(t,e))},getStocksSMA(n,s){return i.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,s).then(o=>o(t,e))},getStocksSnapshotDirection(n,s){return i.getStocksSnapshotDirection(n.direction,n.includeOtc,s).then(o=>o(t,e))},getStocksSnapshotTicker(n,s){return i.getStocksSnapshotTicker(n.stocksTicker,s).then(o=>o(t,e))},getStocksSnapshotTickers(n={},s){return i.getStocksSnapshotTickers(n.tickers,n.includeOtc,s).then(o=>o(t,e))},getStocksTaxonomiesVXRiskFactors(n={},s){return i.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,s).then(o=>o(t,e))},getStocksTrades(n,s){return i.getStocksTrades(n.stockTicker,n.timestamp,n.timestampGte,n.timestampGt,n.timestampLte,n.timestampLt,n.order,n.limit,n.sort,s).then(o=>o(t,e))},getStocksV1Dividends(n={},s){return i.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,s).then(o=>o(t,e))},getStocksV1Exchanges(n={},s){return i.getStocksV1Exchanges(n.limit,s).then(o=>o(t,e))},getStocksV1ShortInterest(n={},s){return i.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,s).then(o=>o(t,e))},getStocksV1ShortVolume(n={},s){return i.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,s).then(o=>o(t,e))},getStocksV1Splits(n={},s){return i.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,s).then(o=>o(t,e))},getTicker(n,s){return i.getTicker(n.ticker,n.date,s).then(o=>o(t,e))},getTmxV1CorporateEvents(n={},s){return i.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,s).then(o=>o(t,e))},listConditions(n={},s){return i.listConditions(n.assetClass,n.dataType,n.id,n.sip,n.order,n.limit,n.sort,s).then(o=>o(t,e))},listDividends(n={},s){return i.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,s).then(o=>o(t,e))},listExchanges(n={},s){return i.listExchanges(n.assetClass,n.locale,s).then(o=>o(t,e))},listFinancials(n={},s){return i.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,s).then(o=>o(t,e))},listIPOs(n={},s){return i.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,s).then(o=>o(t,e))},listNews(n={},s){return i.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,s).then(o=>o(t,e))},listOptionsContracts(n={},s){return i.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,s).then(o=>o(t,e))},listStockSplits(n={},s){return i.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,s).then(o=>o(t,e))},listTickerTypes(n={},s){return i.listTickerTypes(n.assetClass,n.locale,s).then(o=>o(t,e))},listTickers(n={},s){return i.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,s).then(o=>o(t,e))}}},Cn=class extends Gn{deprecatedGetCryptoSnapshotTickerBook(e,t){return E(this.configuration).deprecatedGetCryptoSnapshotTickerBook(e.ticker,t).then(i=>i(this.axios,this.basePath))}deprecatedGetHistoricCryptoTrades(e,t){return E(this.configuration).deprecatedGetHistoricCryptoTrades(e.from,e.to,e.date,e.offset,e.limit,t).then(i=>i(this.axios,this.basePath))}deprecatedGetHistoricForexQuotes(e,t){return E(this.configuration).deprecatedGetHistoricForexQuotes(e.from,e.to,e.date,e.offset,e.limit,t).then(i=>i(this.axios,this.basePath))}deprecatedGetHistoricStocksQuotes(e,t){return E(this.configuration).deprecatedGetHistoricStocksQuotes(e.ticker,e.date,e.timestamp,e.timestampLimit,e.reverse,e.limit,t).then(i=>i(this.axios,this.basePath))}deprecatedGetHistoricStocksTrades(e,t){return E(this.configuration).deprecatedGetHistoricStocksTrades(e.ticker,e.date,e.timestamp,e.timestampLimit,e.reverse,e.limit,t).then(i=>i(this.axios,this.basePath))}getBenzingaV1AnalystInsights(e={},t){return E(this.configuration).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,t).then(i=>i(this.axios,this.basePath))}getBenzingaV1Analysts(e={},t){return E(this.configuration).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,t).then(i=>i(this.axios,this.basePath))}getBenzingaV1ConsensusRatings(e,t){return E(this.configuration).getBenzingaV1ConsensusRatings(e.ticker,e.date,e.dateAnyOf,e.dateGt,e.dateGte,e.dateLt,e.dateLte,e.limit,t).then(i=>i(this.axios,this.basePath))}getBenzingaV1Earnings(e={},t){return E(this.configuration).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,t).then(i=>i(this.axios,this.basePath))}getBenzingaV1Firms(e={},t){return E(this.configuration).getBenzingaV1Firms(e.benzingaId,e.benzingaIdAnyOf,e.benzingaIdGt,e.benzingaIdGte,e.benzingaIdLt,e.benzingaIdLte,e.limit,e.sort,t).then(i=>i(this.axios,this.basePath))}getBenzingaV1Guidance(e={},t){return E(this.configuration).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,t).then(i=>i(this.axios,this.basePath))}getBenzingaV1Ratings(e={},t){return E(this.configuration).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,t).then(i=>i(this.axios,this.basePath))}getBenzingaV2News(e={},t){return E(this.configuration).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,t).then(i=>i(this.axios,this.basePath))}getCryptoAggregates(e,t){return E(this.configuration).getCryptoAggregates(e.cryptoTicker,e.multiplier,e.timespan,e.from,e.to,e.adjusted,e.sort,e.limit,t).then(i=>i(this.axios,this.basePath))}getCryptoEMA(e,t){return E(this.configuration).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,t).then(i=>i(this.axios,this.basePath))}getCryptoMACD(e,t){return E(this.configuration).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,t).then(i=>i(this.axios,this.basePath))}getCryptoOpenClose(e,t){return E(this.configuration).getCryptoOpenClose(e.from,e.to,e.date,e.adjusted,t).then(i=>i(this.axios,this.basePath))}getCryptoRSI(e,t){return E(this.configuration).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,t).then(i=>i(this.axios,this.basePath))}getCryptoSMA(e,t){return E(this.configuration).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,t).then(i=>i(this.axios,this.basePath))}getCryptoSnapshotDirection(e,t){return E(this.configuration).getCryptoSnapshotDirection(e.direction,t).then(i=>i(this.axios,this.basePath))}getCryptoSnapshotTicker(e,t){return E(this.configuration).getCryptoSnapshotTicker(e.ticker,t).then(i=>i(this.axios,this.basePath))}getCryptoSnapshotTickers(e={},t){return E(this.configuration).getCryptoSnapshotTickers(e.tickers,t).then(i=>i(this.axios,this.basePath))}getCryptoTrades(e,t){return E(this.configuration).getCryptoTrades(e.cryptoTicker,e.timestamp,e.timestampGte,e.timestampGt,e.timestampLte,e.timestampLt,e.order,e.limit,e.sort,t).then(i=>i(this.axios,this.basePath))}getCryptoV1Exchanges(e={},t){return E(this.configuration).getCryptoV1Exchanges(e.limit,t).then(i=>i(this.axios,this.basePath))}getCurrencyConversion(e,t){return E(this.configuration).getCurrencyConversion(e.from,e.to,e.amount,e.precision,t).then(i=>i(this.axios,this.basePath))}getEtfGlobalV1Analytics(e={},t){return E(this.configuration).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,t).then(i=>i(this.axios,this.basePath))}getEtfGlobalV1Constituents(e={},t){return E(this.configuration).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,t).then(i=>i(this.axios,this.basePath))}getEtfGlobalV1FundFlows(e={},t){return E(this.configuration).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,t).then(i=>i(this.axios,this.basePath))}getEtfGlobalV1Profiles(e={},t){return E(this.configuration).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,t).then(i=>i(this.axios,this.basePath))}getEtfGlobalV1Taxonomies(e={},t){return E(this.configuration).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,t).then(i=>i(this.axios,this.basePath))}getEvents(e,t){return E(this.configuration).getEvents(e.id,e.types,t).then(i=>i(this.axios,this.basePath))}getFedV1Inflation(e={},t){return E(this.configuration).getFedV1Inflation(e.date,e.dateAnyOf,e.dateGt,e.dateGte,e.dateLt,e.dateLte,e.limit,e.sort,t).then(i=>i(this.axios,this.basePath))}getFedV1InflationExpectations(e={},t){return E(this.configuration).getFedV1InflationExpectations(e.date,e.dateAnyOf,e.dateGt,e.dateGte,e.dateLt,e.dateLte,e.limit,e.sort,t).then(i=>i(this.axios,this.basePath))}getFedV1TreasuryYields(e={},t){return E(this.configuration).getFedV1TreasuryYields(e.date,e.dateAnyOf,e.dateGt,e.dateGte,e.dateLt,e.dateLte,e.limit,e.sort,t).then(i=>i(this.axios,this.basePath))}getForexAggregates(e,t){return E(this.configuration).getForexAggregates(e.forexTicker,e.multiplier,e.timespan,e.from,e.to,e.adjusted,e.sort,e.limit,t).then(i=>i(this.axios,this.basePath))}getForexEMA(e,t){return E(this.configuration).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,t).then(i=>i(this.axios,this.basePath))}getForexMACD(e,t){return E(this.configuration).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,t).then(i=>i(this.axios,this.basePath))}getForexQuotes(e,t){return E(this.configuration).getForexQuotes(e.fxTicker,e.timestamp,e.timestampGte,e.timestampGt,e.timestampLte,e.timestampLt,e.order,e.limit,e.sort,t).then(i=>i(this.axios,this.basePath))}getForexRSI(e,t){return E(this.configuration).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,t).then(i=>i(this.axios,this.basePath))}getForexSMA(e,t){return E(this.configuration).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,t).then(i=>i(this.axios,this.basePath))}getForexSnapshotDirection(e,t){return E(this.configuration).getForexSnapshotDirection(e.direction,t).then(i=>i(this.axios,this.basePath))}getForexSnapshotTicker(e,t){return E(this.configuration).getForexSnapshotTicker(e.ticker,t).then(i=>i(this.axios,this.basePath))}getForexSnapshotTickers(e={},t){return E(this.configuration).getForexSnapshotTickers(e.tickers,t).then(i=>i(this.axios,this.basePath))}getForexV1Exchanges(e={},t){return E(this.configuration).getForexV1Exchanges(e.limit,t).then(i=>i(this.axios,this.basePath))}getFuturesAggregates(e,t){return E(this.configuration).getFuturesAggregates(e.ticker,e.resolution,e.windowStart,e.limit,e.windowStartGte,e.windowStartGt,e.windowStartLte,e.windowStartLt,e.sort,t).then(i=>i(this.axios,this.basePath))}getFuturesContractDetails(e,t){return E(this.configuration).getFuturesContractDetails(e.ticker,e.asOf,t).then(i=>i(this.axios,this.basePath))}getFuturesContracts(e={},t){return E(this.configuration).getFuturesContracts(e.productCode,e.firstTradeDate,e.lastTradeDate,e.asOf,e.active,e.type,e.limit,e.sort,t).then(i=>i(this.axios,this.basePath))}getFuturesDailySchedules(e={},t){return E(this.configuration).getFuturesDailySchedules(e.sessionEndDate,e.tradingVenue,e.limit,e.sort,t).then(i=>i(this.axios,this.basePath))}getFuturesMarketStatuses(e={},t){return E(this.configuration).getFuturesMarketStatuses(e.productCodeAnyOf,e.productCode,e.limit,e.sort,t).then(i=>i(this.axios,this.basePath))}getFuturesProductDetails(e,t){return E(this.configuration).getFuturesProductDetails(e.productCode,e.type,e.asOf,t).then(i=>i(this.axios,this.basePath))}getFuturesProductSchedules(e,t){return E(this.configuration).getFuturesProductSchedules(e.productCode,e.sessionEndDate,e.limit,e.sessionEndDateGte,e.sessionEndDateGt,e.sessionEndDateLte,e.sessionEndDateLt,e.sort,t).then(i=>i(this.axios,this.basePath))}getFuturesProducts(e={},t){return E(this.configuration).getFuturesProducts(e.name,e.asOf,e.tradingVenue,e.sector,e.subSector,e.assetClass,e.assetSubClass,e.type,e.limit,e.nameSearch,e.sort,t).then(i=>i(this.axios,this.basePath))}getFuturesQuotes(e,t){return E(this.configuration).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,t).then(i=>i(this.axios,this.basePath))}getFuturesTrades(e,t){return E(this.configuration).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,t).then(i=>i(this.axios,this.basePath))}getFuturesVXContractsNew(e={},t){return E(this.configuration).getFuturesVXContractsNew(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.typeGt,e.typeGte,e.typeLt,e.typeLte,e.firstTradeDate,e.firstTradeDateGt,e.firstTradeDateGte,e.firstTradeDateLt,e.firstTradeDateLte,e.lastTradeDate,e.lastTradeDateGt,e.lastTradeDateGte,e.lastTradeDateLt,e.lastTradeDateLte,e.limit,e.sort,t).then(i=>i(this.axios,this.basePath))}getFuturesVXExchanges(e={},t){return E(this.configuration).getFuturesVXExchanges(e.limit,t).then(i=>i(this.axios,this.basePath))}getFuturesVXProductsNew(e={},t){return E(this.configuration).getFuturesVXProductsNew(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.sector,e.sectorAnyOf,e.sectorGt,e.sectorGte,e.sectorLt,e.sectorLte,e.subSector,e.subSectorAnyOf,e.subSectorGt,e.subSectorGte,e.subSectorLt,e.subSectorLte,e.assetClass,e.assetClassAnyOf,e.assetClassGt,e.assetClassGte,e.assetClassLt,e.assetClassLte,e.assetSubClass,e.assetSubClassAnyOf,e.assetSubClassGt,e.assetSubClassGte,e.assetSubClassLt,e.assetSubClassLte,e.type,e.typeAnyOf,e.typeGt,e.typeGte,e.typeLt,e.typeLte,e.limit,e.sort,t).then(i=>i(this.axios,this.basePath))}getFuturesVXSnapshot(e={},t){return E(this.configuration).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,t).then(i=>i(this.axios,this.basePath))}getGroupedCryptoAggregates(e,t){return E(this.configuration).getGroupedCryptoAggregates(e.date,e.adjusted,t).then(i=>i(this.axios,this.basePath))}getGroupedForexAggregates(e,t){return E(this.configuration).getGroupedForexAggregates(e.date,e.adjusted,t).then(i=>i(this.axios,this.basePath))}getGroupedStocksAggregates(e,t){return E(this.configuration).getGroupedStocksAggregates(e.date,e.adjusted,e.includeOtc,t).then(i=>i(this.axios,this.basePath))}getIndicesAggregates(e,t){return E(this.configuration).getIndicesAggregates(e.indicesTicker,e.multiplier,e.timespan,e.from,e.to,e.sort,e.limit,t).then(i=>i(this.axios,this.basePath))}getIndicesEMA(e,t){return E(this.configuration).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,t).then(i=>i(this.axios,this.basePath))}getIndicesMACD(e,t){return E(this.configuration).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,t).then(i=>i(this.axios,this.basePath))}getIndicesOpenClose(e,t){return E(this.configuration).getIndicesOpenClose(e.indicesTicker,e.date,t).then(i=>i(this.axios,this.basePath))}getIndicesRSI(e,t){return E(this.configuration).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,t).then(i=>i(this.axios,this.basePath))}getIndicesSMA(e,t){return E(this.configuration).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,t).then(i=>i(this.axios,this.basePath))}getIndicesSnapshot(e={},t){return E(this.configuration).getIndicesSnapshot(e.tickerAnyOf,e.ticker,e.tickerGte,e.tickerGt,e.tickerLte,e.tickerLt,e.order,e.limit,e.sort,t).then(i=>i(this.axios,this.basePath))}getLastCryptoTrade(e,t){return E(this.configuration).getLastCryptoTrade(e.from,e.to,t).then(i=>i(this.axios,this.basePath))}getLastCurrencyQuote(e,t){return E(this.configuration).getLastCurrencyQuote(e.from,e.to,t).then(i=>i(this.axios,this.basePath))}getLastOptionsTrade(e,t){return E(this.configuration).getLastOptionsTrade(e.optionsTicker,t).then(i=>i(this.axios,this.basePath))}getLastStocksQuote(e,t){return E(this.configuration).getLastStocksQuote(e.stocksTicker,t).then(i=>i(this.axios,this.basePath))}getLastStocksTrade(e,t){return E(this.configuration).getLastStocksTrade(e.stocksTicker,t).then(i=>i(this.axios,this.basePath))}getMarketHolidays(e){return E(this.configuration).getMarketHolidays(e).then(t=>t(this.axios,this.basePath))}getMarketStatus(e){return E(this.configuration).getMarketStatus(e).then(t=>t(this.axios,this.basePath))}getOptionContract(e,t){return E(this.configuration).getOptionContract(e.underlyingAsset,e.optionContract,t).then(i=>i(this.axios,this.basePath))}getOptionsAggregates(e,t){return E(this.configuration).getOptionsAggregates(e.optionsTicker,e.multiplier,e.timespan,e.from,e.to,e.adjusted,e.sort,e.limit,t).then(i=>i(this.axios,this.basePath))}getOptionsChain(e,t){return E(this.configuration).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,t).then(i=>i(this.axios,this.basePath))}getOptionsContract(e,t){return E(this.configuration).getOptionsContract(e.optionsTicker,e.asOf,t).then(i=>i(this.axios,this.basePath))}getOptionsEMA(e,t){return E(this.configuration).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,t).then(i=>i(this.axios,this.basePath))}getOptionsMACD(e,t){return E(this.configuration).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,t).then(i=>i(this.axios,this.basePath))}getOptionsOpenClose(e,t){return E(this.configuration).getOptionsOpenClose(e.optionsTicker,e.date,e.adjusted,t).then(i=>i(this.axios,this.basePath))}getOptionsQuotes(e,t){return E(this.configuration).getOptionsQuotes(e.optionsTicker,e.timestamp,e.timestampGte,e.timestampGt,e.timestampLte,e.timestampLt,e.order,e.limit,e.sort,t).then(i=>i(this.axios,this.basePath))}getOptionsRSI(e,t){return E(this.configuration).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,t).then(i=>i(this.axios,this.basePath))}getOptionsSMA(e,t){return E(this.configuration).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,t).then(i=>i(this.axios,this.basePath))}getOptionsTrades(e,t){return E(this.configuration).getOptionsTrades(e.optionsTicker,e.timestamp,e.timestampGte,e.timestampGt,e.timestampLte,e.timestampLt,e.order,e.limit,e.sort,t).then(i=>i(this.axios,this.basePath))}getOptionsV1Exchanges(e={},t){return E(this.configuration).getOptionsV1Exchanges(e.limit,t).then(i=>i(this.axios,this.basePath))}getPreviousCryptoAggregates(e,t){return E(this.configuration).getPreviousCryptoAggregates(e.cryptoTicker,e.adjusted,t).then(i=>i(this.axios,this.basePath))}getPreviousForexAggregates(e,t){return E(this.configuration).getPreviousForexAggregates(e.forexTicker,e.adjusted,t).then(i=>i(this.axios,this.basePath))}getPreviousIndicesAggregates(e,t){return E(this.configuration).getPreviousIndicesAggregates(e.indicesTicker,t).then(i=>i(this.axios,this.basePath))}getPreviousOptionsAggregates(e,t){return E(this.configuration).getPreviousOptionsAggregates(e.optionsTicker,e.adjusted,t).then(i=>i(this.axios,this.basePath))}getPreviousStocksAggregates(e,t){return E(this.configuration).getPreviousStocksAggregates(e.stocksTicker,e.adjusted,t).then(i=>i(this.axios,this.basePath))}getRelatedCompanies(e,t){return E(this.configuration).getRelatedCompanies(e.ticker,t).then(i=>i(this.axios,this.basePath))}getSnapshotSummary(e={},t){return E(this.configuration).getSnapshotSummary(e.tickerAnyOf,t).then(i=>i(this.axios,this.basePath))}getSnapshots(e={},t){return E(this.configuration).getSnapshots(e.ticker,e.type,e.tickerGte,e.tickerGt,e.tickerLte,e.tickerLt,e.tickerAnyOf,e.order,e.limit,e.sort,t).then(i=>i(this.axios,this.basePath))}getStocksAggregates(e,t){return E(this.configuration).getStocksAggregates(e.stocksTicker,e.multiplier,e.timespan,e.from,e.to,e.adjusted,e.sort,e.limit,t).then(i=>i(this.axios,this.basePath))}getStocksEMA(e,t){return E(this.configuration).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,t).then(i=>i(this.axios,this.basePath))}getStocksFilingsVXRiskFactors(e={},t){return E(this.configuration).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,t).then(i=>i(this.axios,this.basePath))}getStocksFilingsVXText(e={},t){return E(this.configuration).getStocksFilingsVXText(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.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,t).then(i=>i(this.axios,this.basePath))}getStocksFinancialsV1BalanceSheets(e={},t){return E(this.configuration).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.limit,e.sort,t).then(i=>i(this.axios,this.basePath))}getStocksFinancialsV1CashFlowStatements(e={},t){return E(this.configuration).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.limit,e.sort,t).then(i=>i(this.axios,this.basePath))}getStocksFinancialsV1IncomeStatements(e={},t){return E(this.configuration).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.limit,e.sort,t).then(i=>i(this.axios,this.basePath))}getStocksFinancialsV1Ratios(e={},t){return E(this.configuration).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,t).then(i=>i(this.axios,this.basePath))}getStocksMACD(e,t){return E(this.configuration).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,t).then(i=>i(this.axios,this.basePath))}getStocksOpenClose(e,t){return E(this.configuration).getStocksOpenClose(e.stocksTicker,e.date,e.adjusted,t).then(i=>i(this.axios,this.basePath))}getStocksQuotes(e,t){return E(this.configuration).getStocksQuotes(e.stockTicker,e.timestamp,e.timestampGte,e.timestampGt,e.timestampLte,e.timestampLt,e.order,e.limit,e.sort,t).then(i=>i(this.axios,this.basePath))}getStocksRSI(e,t){return E(this.configuration).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,t).then(i=>i(this.axios,this.basePath))}getStocksSMA(e,t){return E(this.configuration).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,t).then(i=>i(this.axios,this.basePath))}getStocksSnapshotDirection(e,t){return E(this.configuration).getStocksSnapshotDirection(e.direction,e.includeOtc,t).then(i=>i(this.axios,this.basePath))}getStocksSnapshotTicker(e,t){return E(this.configuration).getStocksSnapshotTicker(e.stocksTicker,t).then(i=>i(this.axios,this.basePath))}getStocksSnapshotTickers(e={},t){return E(this.configuration).getStocksSnapshotTickers(e.tickers,e.includeOtc,t).then(i=>i(this.axios,this.basePath))}getStocksTaxonomiesVXRiskFactors(e={},t){return E(this.configuration).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,t).then(i=>i(this.axios,this.basePath))}getStocksTrades(e,t){return E(this.configuration).getStocksTrades(e.stockTicker,e.timestamp,e.timestampGte,e.timestampGt,e.timestampLte,e.timestampLt,e.order,e.limit,e.sort,t).then(i=>i(this.axios,this.basePath))}getStocksV1Dividends(e={},t){return E(this.configuration).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,t).then(i=>i(this.axios,this.basePath))}getStocksV1Exchanges(e={},t){return E(this.configuration).getStocksV1Exchanges(e.limit,t).then(i=>i(this.axios,this.basePath))}getStocksV1ShortInterest(e={},t){return E(this.configuration).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,t).then(i=>i(this.axios,this.basePath))}getStocksV1ShortVolume(e={},t){return E(this.configuration).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,t).then(i=>i(this.axios,this.basePath))}getStocksV1Splits(e={},t){return E(this.configuration).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,t).then(i=>i(this.axios,this.basePath))}getTicker(e,t){return E(this.configuration).getTicker(e.ticker,e.date,t).then(i=>i(this.axios,this.basePath))}getTmxV1CorporateEvents(e={},t){return E(this.configuration).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,t).then(i=>i(this.axios,this.basePath))}listConditions(e={},t){return E(this.configuration).listConditions(e.assetClass,e.dataType,e.id,e.sip,e.order,e.limit,e.sort,t).then(i=>i(this.axios,this.basePath))}listDividends(e={},t){return E(this.configuration).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,t).then(i=>i(this.axios,this.basePath))}listExchanges(e={},t){return E(this.configuration).listExchanges(e.assetClass,e.locale,t).then(i=>i(this.axios,this.basePath))}listFinancials(e={},t){return E(this.configuration).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,t).then(i=>i(this.axios,this.basePath))}listIPOs(e={},t){return E(this.configuration).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,t).then(i=>i(this.axios,this.basePath))}listNews(e={},t){return E(this.configuration).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,t).then(i=>i(this.axios,this.basePath))}listOptionsContracts(e={},t){return E(this.configuration).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,t).then(i=>i(this.axios,this.basePath))}listStockSplits(e={},t){return E(this.configuration).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,t).then(i=>i(this.axios,this.basePath))}listTickerTypes(e={},t){return E(this.configuration).listTickerTypes(e.assetClass,e.locale,t).then(i=>i(this.axios,this.basePath))}listTickers(e={},t){return E(this.configuration).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,t).then(i=>i(this.axios,this.basePath))}},ai=(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))(ai||{}),di=(t=>(t.Asc="asc",t.Desc="desc",t))(di||{}),li=(r=>(r.Minute="minute",r.Hour="hour",r.Day="day",r.Week="week",r.Month="month",r.Quarter="quarter",r.Year="year",r))(li||{}),gi=(n=>(n.Open="open",n.High="high",n.Low="low",n.Close="close",n))(gi||{}),ci=(t=>(t.Asc="asc",t.Desc="desc",t))(ci||{}),pi=(r=>(r.Minute="minute",r.Hour="hour",r.Day="day",r.Week="week",r.Month="month",r.Quarter="quarter",r.Year="year",r))(pi||{}),ui=(n=>(n.Open="open",n.High="high",n.Low="low",n.Close="close",n))(ui||{}),fi=(t=>(t.Asc="asc",t.Desc="desc",t))(fi||{}),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=(n=>(n.Open="open",n.High="high",n.Low="low",n.Close="close",n))(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=(n=>(n.Open="open",n.High="high",n.Low="low",n.Close="close",n))(Ri||{}),xi=(t=>(t.Asc="asc",t.Desc="desc",t))(xi||{}),Ai=(t=>(t.Gainers="gainers",t.Losers="losers",t))(Ai||{}),_i=(t=>(t.Asc="asc",t.Desc="desc",t))(_i||{}),ki=(e=>(e.Timestamp="timestamp",e))(ki||{}),Gi=(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))(Gi||{}),Oi=(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))(Oi||{}),Ci=(t=>(t.Asc="asc",t.Desc="desc",t))(Ci||{}),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||{}),Si=(n=>(n.Open="open",n.High="high",n.Low="low",n.Close="close",n))(Si||{}),wi=(t=>(t.Asc="asc",t.Desc="desc",t))(wi||{}),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||{}),Ii=(n=>(n.Open="open",n.High="high",n.Low="low",n.Close="close",n))(Ii||{}),Di=(t=>(t.Asc="asc",t.Desc="desc",t))(Di||{}),Li=(t=>(t.Asc="asc",t.Desc="desc",t))(Li||{}),Ti=(e=>(e.Timestamp="timestamp",e))(Ti||{}),Fi=(r=>(r.Minute="minute",r.Hour="hour",r.Day="day",r.Week="week",r.Month="month",r.Quarter="quarter",r.Year="year",r))(Fi||{}),Ui=(n=>(n.Open="open",n.High="high",n.Low="low",n.Close="close",n))(Ui||{}),Bi=(t=>(t.Asc="asc",t.Desc="desc",t))(Bi||{}),Ei=(r=>(r.Minute="minute",r.Hour="hour",r.Day="day",r.Week="week",r.Month="month",r.Quarter="quarter",r.Year="year",r))(Ei||{}),Qi=(n=>(n.Open="open",n.High="high",n.Low="low",n.Close="close",n))(Qi||{}),zi=(t=>(t.Asc="asc",t.Desc="desc",t))(zi||{}),Mi=(t=>(t.Gainers="gainers",t.Losers="losers",t))(Mi||{}),Hi=(t=>(t.WindowStartAsc="window_start.asc",t.WindowStartDesc="window_start.desc",t))(Hi||{}),ji=(i=>(i.All="all",i.True="true",i.False="false",i))(ji||{}),Ki=(i=>(i.All="all",i.Single="single",i.Combo="combo",i))(Ki||{}),Ni=(o=>(o.ProductCodeAsc="product_code.asc",o.ProductCodeDesc="product_code.desc",o.FirstTradeDateAsc="first_trade_date.asc",o.FirstTradeDateDesc="first_trade_date.desc",o.LastTradeDateAsc="last_trade_date.asc",o.LastTradeDateDesc="last_trade_date.desc",o))(Ni||{}),Xi=(t=>(t.TradingVenueAsc="trading_venue.asc",t.TradingVenueDesc="trading_venue.desc",t))(Xi||{}),$i=(t=>(t.ProductCodeAsc="product_code.asc",t.ProductCodeDesc="product_code.desc",t))($i||{}),Yi=(t=>(t.Single="single",t.Combo="combo",t))(Yi||{}),Wi=(t=>(t.SessionEndDateAsc="session_end_date.asc",t.SessionEndDateDesc="session_end_date.desc",t))(Wi||{}),Ji=(j=>(j.Asia="asia",j.Base="base",j.Biofuels="biofuels",j.Coal="coal",j.CrossRates="cross_rates",j.CrudeOil="crude_oil",j.CustomIndex="custom_index",j.Dairy="dairy",j.DjUbsCi="dj_ubs_ci",j.Electricity="electricity",j.Emissions="emissions",j.Europe="europe",j.Fertilizer="fertilizer",j.Forestry="forestry",j.GrainsAndOilseeds="grains_and_oilseeds",j.IntlIndex="intl_index",j.LiqNatGasLng="liq_nat_gas_lng",j.Livestock="livestock",j.LongTermGov="long_term_gov",j.LongTermNonGov="long_term_non_gov",j.Majors="majors",j.Minors="minors",j.NatGas="nat_gas",j.NatGasLiqPetro="nat_gas_liq_petro",j.Precious="precious",j.RefinedProducts="refined_products",j.SAndPGsci="s_and_p_gsci",j.SelSectorIndex="sel_sector_index",j.ShortTermGov="short_term_gov",j.ShortTermNonGov="short_term_non_gov",j.Softs="softs",j.Us="us",j.UsIndex="us_index",j.WetBulk="wet_bulk",j))(Ji||{}),Zi=(x=>(x.Asian="asian",x.Canadian="canadian",x.Cat="cat",x.CoolingDegreeDays="cooling_degree_days",x.Ercot="ercot",x.European="european",x.Gulf="gulf",x.HeatingDegreeDays="heating_degree_days",x.IsoNe="iso_ne",x.LargeCapIndex="large_cap_index",x.MidCapIndex="mid_cap_index",x.Miso="miso",x.NorthAmerican="north_american",x.Nyiso="nyiso",x.Pjm="pjm",x.SmallCapIndex="small_cap_index",x.West="west",x.WesternPower="western_power",x))(Zi||{}),qi=(i=>(i.AltInvestment="alt_investment",i.Commodity="commodity",i.Financials="financials",i))(qi||{}),Pi=(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))(Pi||{}),es=(i=>(i.All="all",i.Single="single",i.Combo="combo",i))(es||{}),ns=(m=>(m.NameAsc="name.asc",m.NameDesc="name.desc",m.TradingVenueAsc="trading_venue.asc",m.TradingVenueDesc="trading_venue.desc",m.SectorAsc="sector.asc",m.SectorDesc="sector.desc",m.SubSectorAsc="sub_sector.asc",m.SubSectorDesc="sub_sector.desc",m.AssetClassAsc="asset_class.asc",m.AssetClassDesc="asset_class.desc",m.AssetSubClassAsc="asset_sub_class.asc",m.AssetSubClassDesc="asset_sub_class.desc",m.TypeAsc="type.asc",m.TypeDesc="type.desc",m))(ns||{}),ts=(t=>(t.TimestampAsc="timestamp.asc",t.TimestampDesc="timestamp.desc",t))(ts||{}),is=(t=>(t.TimestampAsc="timestamp.asc",t.TimestampDesc="timestamp.desc",t))(is||{}),ss=(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))(ss||{}),os=(t=>(t.Asc="asc",t.Desc="desc",t))(os||{}),rs=(r=>(r.Minute="minute",r.Hour="hour",r.Day="day",r.Week="week",r.Month="month",r.Quarter="quarter",r.Year="year",r))(rs||{}),as=(n=>(n.Open="open",n.High="high",n.Low="low",n.Close="close",n))(as||{}),ds=(t=>(t.Asc="asc",t.Desc="desc",t))(ds||{}),ls=(r=>(r.Minute="minute",r.Hour="hour",r.Day="day",r.Week="week",r.Month="month",r.Quarter="quarter",r.Year="year",r))(ls||{}),gs=(n=>(n.Open="open",n.High="high",n.Low="low",n.Close="close",n))(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||{}),us=(n=>(n.Open="open",n.High="high",n.Low="low",n.Close="close",n))(us||{}),fs=(t=>(t.Asc="asc",t.Desc="desc",t))(fs||{}),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=(n=>(n.Open="open",n.High="high",n.Low="low",n.Close="close",n))(bs||{}),ms=(t=>(t.Asc="asc",t.Desc="desc",t))(ms||{}),hs=(t=>(t.Asc="asc",t.Desc="desc",t))(hs||{}),Rs=(e=>(e.Ticker="ticker",e))(Rs||{}),xs=(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))(xs||{}),As=(t=>(t.Asc="asc",t.Desc="desc",t))(As||{}),_s=(t=>(t.Call="call",t.Put="put",t))(_s||{}),ks=(t=>(t.Asc="asc",t.Desc="desc",t))(ks||{}),Gs=(i=>(i.Ticker="ticker",i.ExpirationDate="expiration_date",i.StrikePrice="strike_price",i))(Gs||{}),Os=(r=>(r.Minute="minute",r.Hour="hour",r.Day="day",r.Week="week",r.Month="month",r.Quarter="quarter",r.Year="year",r))(Os||{}),Cs=(n=>(n.Open="open",n.High="high",n.Low="low",n.Close="close",n))(Cs||{}),Vs=(t=>(t.Asc="asc",t.Desc="desc",t))(Vs||{}),Ss=(r=>(r.Minute="minute",r.Hour="hour",r.Day="day",r.Week="week",r.Month="month",r.Quarter="quarter",r.Year="year",r))(Ss||{}),ws=(n=>(n.Open="open",n.High="high",n.Low="low",n.Close="close",n))(ws||{}),vs=(t=>(t.Asc="asc",t.Desc="desc",t))(vs||{}),Is=(t=>(t.Asc="asc",t.Desc="desc",t))(Is||{}),Ds=(e=>(e.Timestamp="timestamp",e))(Ds||{}),Ls=(r=>(r.Minute="minute",r.Hour="hour",r.Day="day",r.Week="week",r.Month="month",r.Quarter="quarter",r.Year="year",r))(Ls||{}),Ts=(n=>(n.Open="open",n.High="high",n.Low="low",n.Close="close",n))(Ts||{}),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||{}),Bs=(n=>(n.Open="open",n.High="high",n.Low="low",n.Close="close",n))(Bs||{}),Es=(t=>(t.Asc="asc",t.Desc="desc",t))(Es||{}),Qs=(t=>(t.Asc="asc",t.Desc="desc",t))(Qs||{}),zs=(e=>(e.Timestamp="timestamp",e))(zs||{}),Ms=(s=>(s.Stocks="stocks",s.Options="options",s.Crypto="crypto",s.Fx="fx",s.Indices="indices",s))(Ms||{}),Hs=(t=>(t.Asc="asc",t.Desc="desc",t))(Hs||{}),js=(e=>(e.Ticker="ticker",e))(js||{}),Ks=(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))(Ks||{}),Ns=(t=>(t.Asc="asc",t.Desc="desc",t))(Ns||{}),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||{}),$s=(n=>(n.Open="open",n.High="high",n.Low="low",n.Close="close",n))($s||{}),Ys=(t=>(t.Asc="asc",t.Desc="desc",t))(Ys||{}),Ws=(e=>(e._10K="10-K",e))(Ws||{}),Js=(e=>(e._10K="10-K",e))(Js||{}),Zs=(t=>(t.Business="business",t.RiskFactors="risk_factors",t))(Zs||{}),qs=(t=>(t.Business="business",t.RiskFactors="risk_factors",t))(qs||{}),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||{}),eo=(n=>(n.Open="open",n.High="high",n.Low="low",n.Close="close",n))(eo||{}),no=(t=>(t.Asc="asc",t.Desc="desc",t))(no||{}),to=(t=>(t.Asc="asc",t.Desc="desc",t))(to||{}),io=(e=>(e.Timestamp="timestamp",e))(io||{}),so=(r=>(r.Minute="minute",r.Hour="hour",r.Day="day",r.Week="week",r.Month="month",r.Quarter="quarter",r.Year="year",r))(so||{}),oo=(n=>(n.Open="open",n.High="high",n.Low="low",n.Close="close",n))(oo||{}),ro=(t=>(t.Asc="asc",t.Desc="desc",t))(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=(n=>(n.Open="open",n.High="high",n.Low="low",n.Close="close",n))(lo||{}),go=(t=>(t.Asc="asc",t.Desc="desc",t))(go||{}),co=(t=>(t.Gainers="gainers",t.Losers="losers",t))(co||{}),po=(t=>(t.Asc="asc",t.Desc="desc",t))(po||{}),uo=(e=>(e.Timestamp="timestamp",e))(uo||{}),fo=(s=>(s.Recurring="recurring",s.Special="special",s.Supplemental="supplemental",s.Irregular="irregular",s.Unknown="unknown",s))(fo||{}),yo=(s=>(s.Recurring="recurring",s.Special="special",s.Supplemental="supplemental",s.Irregular="irregular",s.Unknown="unknown",s))(yo||{}),bo=(i=>(i.ForwardSplit="forward_split",i.ReverseSplit="reverse_split",i.StockDividend="stock_dividend",i))(bo||{}),mo=(i=>(i.ForwardSplit="forward_split",i.ReverseSplit="reverse_split",i.StockDividend="stock_dividend",i))(mo||{}),ho=(n=>(n.Stocks="stocks",n.Options="options",n.Crypto="crypto",n.Fx="fx",n))(ho||{}),Ro=(i=>(i.Trade="trade",i.Bbo="bbo",i.Nbbo="nbbo",i))(Ro||{}),xo=(i=>(i.Cta="CTA",i.Utp="UTP",i.Opra="OPRA",i))(xo||{}),Ao=(t=>(t.Asc="asc",t.Desc="desc",t))(Ao||{}),_o=(o=>(o.AssetClass="asset_class",o.Id="id",o.Type="type",o.Name="name",o.DataTypes="data_types",o.Legacy="legacy",o))(_o||{}),ko=(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))(ko||{}),Go=(n=>(n.Cd="CD",n.Sc="SC",n.Lt="LT",n.St="ST",n))(Go||{}),Oo=(t=>(t.Asc="asc",t.Desc="desc",t))(Oo||{}),Co=(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))(Co||{}),Vo=(s=>(s.Stocks="stocks",s.Options="options",s.Crypto="crypto",s.Fx="fx",s.Futures="futures",s))(Vo||{}),So=(t=>(t.Us="us",t.Global="global",t))(So||{}),wo=(i=>(i.Annual="annual",i.Quarterly="quarterly",i.Ttm="ttm",i))(wo||{}),vo=(t=>(t.Asc="asc",t.Desc="desc",t))(vo||{}),Io=(t=>(t.FilingDate="filing_date",t.PeriodOfReportDate="period_of_report_date",t))(Io||{}),Do=(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))(Do||{}),Lo=(t=>(t.Asc="asc",t.Desc="desc",t))(Lo||{}),To=(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))(To||{}),Fo=(t=>(t.Asc="asc",t.Desc="desc",t))(Fo||{}),Uo=(e=>(e.PublishedUtc="published_utc",e))(Uo||{}),Bo=(t=>(t.Call="call",t.Put="put",t))(Bo||{}),Eo=(t=>(t.Asc="asc",t.Desc="desc",t))(Eo||{}),Qo=(n=>(n.Ticker="ticker",n.UnderlyingTicker="underlying_ticker",n.ExpirationDate="expiration_date",n.StrikePrice="strike_price",n))(Qo||{}),zo=(t=>(t.Asc="asc",t.Desc="desc",t))(zo||{}),Mo=(t=>(t.ExecutionDate="execution_date",t.Ticker="ticker",t))(Mo||{}),Ho=(s=>(s.Stocks="stocks",s.Options="options",s.Crypto="crypto",s.Fx="fx",s.Indices="indices",s))(Ho||{}),jo=(t=>(t.Us="us",t.Global="global",t))(jo||{}),Ko=(k=>(k.Cs="CS",k.Adrc="ADRC",k.Adrp="ADRP",k.Adrr="ADRR",k.Unit="UNIT",k.Right="RIGHT",k.Pfd="PFD",k.Fund="FUND",k.Sp="SP",k.Warrant="WARRANT",k.Index="INDEX",k.Etf="ETF",k.Etn="ETN",k.Os="OS",k.Gdr="GDR",k.Other="OTHER",k.Nyrs="NYRS",k.Agen="AGEN",k.Eqlk="EQLK",k.Bond="BOND",k.Adrw="ADRW",k.Basket="BASKET",k.Lt="LT",k))(Ko||{}),No=(s=>(s.Stocks="stocks",s.Crypto="crypto",s.Fx="fx",s.Otc="otc",s.Indices="indices",s))(No||{}),Xo=(t=>(t.Asc="asc",t.Desc="desc",t))(Xo||{}),$o=(u=>(u.Ticker="ticker",u.Name="name",u.Market="market",u.Locale="locale",u.PrimaryExchange="primary_exchange",u.Type="type",u.CurrencySymbol="currency_symbol",u.CurrencyName="currency_name",u.BaseCurrencySymbol="base_currency_symbol",u.BaseCurrencyName="base_currency_name",u.Cik="cik",u.CompositeFigi="composite_figi",u.ShareClassFigi="share_class_figi",u.LastUpdatedUtc="last_updated_utc",u.DelistedUtc="delisted_utc",u))($o||{});var Vn=class{constructor(e={}){this.apiKey=e.apiKey,this.username=e.username,this.password=e.password,this.accessToken=e.accessToken,this.basePath=e.basePath,this.serverIndex=e.serverIndex,this.baseOptions={...e.baseOptions,headers:{...e.baseOptions?.headers}},this.formDataCtor=e.formDataCtor}isJsonMime(e){let t=new RegExp("^(application/json|[^;/ ]+/[^;/ ]+[+]json)[ ]*(;.*)?$","i");return e!==null&&(t.test(e)||e.toLowerCase()==="application/json-patch+json")}};import Yo from"websocket";var ke=(a,e)=>{if(!e)throw new Error("api key not provided.");let t=new Yo.w3cwebsocket(a);return t.onopen=()=>{t.send(JSON.stringify({action:"auth",params:e}))},t};var In=(a,e="wss://socket.massive.com")=>ke(`${e}/crypto`,a);var Dn=(a,e="wss://socket.massive.com")=>ke(`${e}/forex`,a);var Ln=(a,e="wss://socket.massive.com")=>ke(`${e}/indices`,a);var Tn=(a,e="wss://socket.massive.com")=>ke(`${e}/options`,a);var Fn=(a,e="wss://socket.massive.com")=>ke(`${e}/stocks`,a);var Un=(a,e="wss://socket.massive.com",t)=>ke(`${e}/futures${t?`/${t}`:""}`,a);var Wo=(a,e,t)=>({crypto:()=>In(a,e),forex:()=>Dn(a,e),indices:()=>Ln(a,e),options:()=>Tn(a,e),stocks:()=>Fn(a,e),futures:()=>Un(a,e,t)}),Bn=Wo;import Jo from"axios";var Zo=(a,e,t)=>{let i=new Vn({apiKey:a}),n="https://api.massive.com",s=Jo.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 Cn(i,e||n,s)},qo=(a,e,t,i)=>({rest:Zo(a,e,i),websockets:Bn(a,t)}),Wr=qo;export{Vn as Configuration,Cn as DefaultApi,ri as DefaultApiAxiosParamCreator,pr as DefaultApiFactory,E as DefaultApiFp,zn as FinancialsPeriodEnum,Mn as GetBenzingaV1AnalystInsights200ResponseStatusEnum,Hn as GetBenzingaV1AnalystInsights400ResponseStatusEnum,jn as GetBenzingaV1Analysts200ResponseStatusEnum,Kn as GetBenzingaV1ConsensusRatings200ResponseStatusEnum,Nn as GetBenzingaV1Earnings200ResponseStatusEnum,Xn as GetBenzingaV1Firms200ResponseStatusEnum,$n as GetBenzingaV1Guidance200ResponseStatusEnum,Yn as GetBenzingaV1Ratings200ResponseStatusEnum,Wn as GetBenzingaV2News200ResponseStatusEnum,di as GetCryptoAggregatesSortEnum,ai as GetCryptoAggregatesTimespanEnum,ci as GetCryptoEMAOrderEnum,gi as GetCryptoEMASeriesTypeEnum,li as GetCryptoEMATimespanEnum,fi as GetCryptoMACDOrderEnum,ui as GetCryptoMACDSeriesTypeEnum,pi as GetCryptoMACDTimespanEnum,mi as GetCryptoRSIOrderEnum,bi as GetCryptoRSISeriesTypeEnum,yi as GetCryptoRSITimespanEnum,xi as GetCryptoSMAOrderEnum,Ri as GetCryptoSMASeriesTypeEnum,hi as GetCryptoSMATimespanEnum,Ai as GetCryptoSnapshotDirectionDirectionEnum,_i as GetCryptoTradesOrderEnum,ki as GetCryptoTradesSortEnum,Jn as GetCryptoV1Exchanges200ResponseStatusEnum,Gi as GetCurrencyConversionPrecisionEnum,Zn as GetEtfGlobalV1Analytics200ResponseStatusEnum,qn as GetEtfGlobalV1Constituents200ResponseStatusEnum,Pn as GetEtfGlobalV1FundFlows200ResponseStatusEnum,et as GetEtfGlobalV1Profiles200ResponseStatusEnum,nt as GetEtfGlobalV1Taxonomies200ResponseStatusEnum,tt as GetFedV1Inflation200ResponseStatusEnum,it as GetFedV1InflationExpectations200ResponseStatusEnum,st as GetFedV1TreasuryYields200ResponseStatusEnum,Ci as GetForexAggregatesSortEnum,Oi as GetForexAggregatesTimespanEnum,wi as GetForexEMAOrderEnum,Si as GetForexEMASeriesTypeEnum,Vi as GetForexEMATimespanEnum,Di as GetForexMACDOrderEnum,Ii as GetForexMACDSeriesTypeEnum,vi as GetForexMACDTimespanEnum,Li as GetForexQuotesOrderEnum,Ti as GetForexQuotesSortEnum,Bi as GetForexRSIOrderEnum,Ui as GetForexRSISeriesTypeEnum,Fi as GetForexRSITimespanEnum,zi as GetForexSMAOrderEnum,Qi as GetForexSMASeriesTypeEnum,Ei as GetForexSMATimespanEnum,Mi as GetForexSnapshotDirectionDirectionEnum,ot as GetForexV1Exchanges200ResponseStatusEnum,Hi as GetFuturesAggregatesSortEnum,ji as GetFuturesContractsActiveEnum,Ni as GetFuturesContractsSortEnum,Ki as GetFuturesContractsTypeEnum,Xi as GetFuturesDailySchedulesSortEnum,rt as GetFuturesMarketStatuses200ResponseResultsInnerMarketStatusEnum,$i as GetFuturesMarketStatusesSortEnum,Yi as GetFuturesProductDetailsTypeEnum,at as GetFuturesProductSchedules200ResponseResultsInnerScheduleInnerEventEnum,Wi as GetFuturesProductSchedulesSortEnum,dt as GetFuturesProducts200ResponseResultsInnerClearingChannelEnum,qi as GetFuturesProductsAssetClassEnum,Pi as GetFuturesProductsAssetSubClassEnum,Ji as GetFuturesProductsSectorEnum,ns as GetFuturesProductsSortEnum,Zi as GetFuturesProductsSubSectorEnum,es as GetFuturesProductsTypeEnum,ts as GetFuturesQuotesSortEnum,is as GetFuturesTradesSortEnum,lt as GetFuturesVXContractsNew200ResponseStatusEnum,gt as GetFuturesVXExchanges200ResponseStatusEnum,ct as GetFuturesVXProductsNew200ResponseStatusEnum,pt as GetFuturesVXSnapshot200ResponseStatusEnum,os as GetIndicesAggregatesSortEnum,ss as GetIndicesAggregatesTimespanEnum,ds as GetIndicesEMAOrderEnum,as as GetIndicesEMASeriesTypeEnum,rs as GetIndicesEMATimespanEnum,cs as GetIndicesMACDOrderEnum,gs as GetIndicesMACDSeriesTypeEnum,ls as GetIndicesMACDTimespanEnum,fs as GetIndicesRSIOrderEnum,us as GetIndicesRSISeriesTypeEnum,ps as GetIndicesRSITimespanEnum,ms as GetIndicesSMAOrderEnum,bs as GetIndicesSMASeriesTypeEnum,ys as GetIndicesSMATimespanEnum,ut as GetIndicesSnapshot200ResponseResultsInnerTimeframeEnum,ft as GetIndicesSnapshot200ResponseResultsInnerTypeEnum,hs as GetIndicesSnapshotOrderEnum,Rs as GetIndicesSnapshotSortEnum,As as GetOptionsAggregatesSortEnum,xs as GetOptionsAggregatesTimespanEnum,yt as GetOptionsChain200ResponseResultsInnerDetailsContractTypeEnum,bt as GetOptionsChain200ResponseResultsInnerDetailsExerciseStyleEnum,mt as GetOptionsChain200ResponseResultsInnerLastQuoteTimeframeEnum,ht as GetOptionsChain200ResponseResultsInnerLastTradeTimeframeEnum,_s as GetOptionsChainContractTypeEnum,ks as GetOptionsChainOrderEnum,Gs as GetOptionsChainSortEnum,Vs as GetOptionsEMAOrderEnum,Cs as GetOptionsEMASeriesTypeEnum,Os as GetOptionsEMATimespanEnum,vs as GetOptionsMACDOrderEnum,ws as GetOptionsMACDSeriesTypeEnum,Ss as GetOptionsMACDTimespanEnum,Is as GetOptionsQuotesOrderEnum,Ds as GetOptionsQuotesSortEnum,Fs as GetOptionsRSIOrderEnum,Ts as GetOptionsRSISeriesTypeEnum,Ls as GetOptionsRSITimespanEnum,Es as GetOptionsSMAOrderEnum,Bs as GetOptionsSMASeriesTypeEnum,Us as GetOptionsSMATimespanEnum,Qs as GetOptionsTradesOrderEnum,zs as GetOptionsTradesSortEnum,Rt as GetOptionsV1Exchanges200ResponseStatusEnum,At as GetSnapshotSummary200ResponseResultsInnerOptionsContractTypeEnum,_t as GetSnapshotSummary200ResponseResultsInnerOptionsExerciseStyleEnum,xt as GetSnapshotSummary200ResponseResultsInnerTypeEnum,Ot as GetSnapshots200ResponseResultsInnerDetailsContractTypeEnum,Ct as GetSnapshots200ResponseResultsInnerDetailsExerciseStyleEnum,Vt as GetSnapshots200ResponseResultsInnerLastQuoteTimeframeEnum,St as GetSnapshots200ResponseResultsInnerLastTradeTimeframeEnum,kt as GetSnapshots200ResponseResultsInnerTimeframeEnum,Gt as GetSnapshots200ResponseResultsInnerTypeEnum,wt as GetSnapshots200ResponseResultsInnerUnderlyingAssetTimeframeEnum,Hs as GetSnapshotsOrderEnum,js as GetSnapshotsSortEnum,Ms as GetSnapshotsTypeEnum,Ns as GetStocksAggregatesSortEnum,Ks as GetStocksAggregatesTimespanEnum,Ys as GetStocksEMAOrderEnum,$s as GetStocksEMASeriesTypeEnum,Xs as GetStocksEMATimespanEnum,vt as GetStocksFilingsVXRiskFactors200ResponseStatusEnum,It as GetStocksFilingsVXText200ResponseStatusEnum,Js as GetStocksFilingsVXTextFormTypeAnyOfEnum,Ws as GetStocksFilingsVXTextFormTypeEnum,qs as GetStocksFilingsVXTextSectionAnyOfEnum,Zs as GetStocksFilingsVXTextSectionEnum,Dt as GetStocksFinancialsV1BalanceSheets200ResponseStatusEnum,Lt as GetStocksFinancialsV1CashFlowStatements200ResponseStatusEnum,Tt as GetStocksFinancialsV1IncomeStatements200ResponseStatusEnum,Ft as GetStocksFinancialsV1Ratios200ResponseStatusEnum,no as GetStocksMACDOrderEnum,eo as GetStocksMACDSeriesTypeEnum,Ps as GetStocksMACDTimespanEnum,to as GetStocksQuotesOrderEnum,io as GetStocksQuotesSortEnum,ro as GetStocksRSIOrderEnum,oo as GetStocksRSISeriesTypeEnum,so as GetStocksRSITimespanEnum,go as GetStocksSMAOrderEnum,lo as GetStocksSMASeriesTypeEnum,ao as GetStocksSMATimespanEnum,co as GetStocksSnapshotDirectionDirectionEnum,Ut as GetStocksTaxonomiesVXRiskFactors200ResponseStatusEnum,po as GetStocksTradesOrderEnum,uo as GetStocksTradesSortEnum,Bt as GetStocksV1Dividends200ResponseStatusEnum,yo as GetStocksV1DividendsDistributionTypeAnyOfEnum,fo as GetStocksV1DividendsDistributionTypeEnum,Et as GetStocksV1Exchanges200ResponseStatusEnum,Qt as GetStocksV1ShortInterest200ResponseStatusEnum,zt as GetStocksV1ShortVolume200ResponseStatusEnum,Mt as GetStocksV1Splits200ResponseStatusEnum,mo as GetStocksV1SplitsAdjustmentTypeAnyOfEnum,bo as GetStocksV1SplitsAdjustmentTypeEnum,Ht as GetTicker200ResponseResultsLocaleEnum,jt as GetTicker200ResponseResultsMarketEnum,Kt as GetTmxV1CorporateEvents200ResponseStatusEnum,Nt as ListConditions200ResponseResultsInnerAssetClassEnum,Xt as ListConditions200ResponseResultsInnerDataTypesEnum,$t as ListConditions200ResponseResultsInnerTypeEnum,ho as ListConditionsAssetClassEnum,Ro as ListConditionsDataTypeEnum,Ao as ListConditionsOrderEnum,xo as ListConditionsSipEnum,_o as ListConditionsSortEnum,Yt as ListDividends200ResponseResultsInnerDividendTypeEnum,Go as ListDividendsDividendTypeEnum,ko as ListDividendsFrequencyEnum,Oo as ListDividendsOrderEnum,Co as ListDividendsSortEnum,Wt as ListExchanges200ResponseResultsInnerAssetClassEnum,Jt as ListExchanges200ResponseResultsInnerLocaleEnum,Zt as ListExchanges200ResponseResultsInnerTypeEnum,Vo as ListExchangesAssetClassEnum,So as ListExchangesLocaleEnum,vo as ListFinancialsOrderEnum,Io as ListFinancialsSortEnum,wo as ListFinancialsTimeframeEnum,qt as ListIPOs200ResponseResultsInnerIpoStatusEnum,Do as ListIPOsIpoStatusEnum,Lo as ListIPOsOrderEnum,To as ListIPOsSortEnum,Pt as ListNews200ResponseResultsInnerInsightsInnerSentimentEnum,Fo as ListNewsOrderEnum,Uo as ListNewsSortEnum,ei as ListOptionsContracts200ResponseResultsInnerExerciseStyleEnum,Bo as ListOptionsContractsContractTypeEnum,Eo as ListOptionsContractsOrderEnum,Qo as ListOptionsContractsSortEnum,zo as ListStockSplitsOrderEnum,Mo as ListStockSplitsSortEnum,ni as ListTickerTypes200ResponseResultsInnerAssetClassEnum,ti as ListTickerTypes200ResponseResultsInnerLocaleEnum,Ho as ListTickerTypesAssetClassEnum,jo as ListTickerTypesLocaleEnum,ii as ListTickers200ResponseResultsInnerLocaleEnum,si as ListTickers200ResponseResultsInnerMarketEnum,No as ListTickersMarketEnum,Xo as ListTickersOrderEnum,$o as ListTickersSortEnum,Ko as ListTickersTypeEnum,oi as MapKeyTypeEnum,qo as MassiveClient,Wr as default,In as getCryptoWebsocket,Dn as getForexWebsocket,Un as getFuturesWebsocket,Ln as getIndicesWebsocket,Tn as getOptionsWebsocket,Fn as getStocksWebsocket,Zo as restClient,Wo as websocketClient};
|
|
1
|
+
import H from"axios";import En from"axios";var D="https://api.massive.com".replace(/\/+$/,"");var Gn=class{constructor(e,t=D,i=En){this.basePath=t;this.axios=i;e&&(this.configuration=e,this.basePath=e.basePath??t)}},On=class extends Error{constructor(t,i){super(i);this.field=t;this.name="RequiredError"}},F={};var B="https://example.com",Y=function(a,e,t){if(t==null)throw new On(e,`Required parameter ${e} was null or undefined when calling ${a}.`)},U=async function(a,e,t){if(t&&t.apiKey){let i=typeof t.apiKey=="function"?await t.apiKey(e):await t.apiKey;a[e]=i}};function vn(a,e,t=""){e!=null&&(typeof e=="object"?Array.isArray(e)?e.forEach(i=>vn(a,i,t)):Object.keys(e).forEach(i=>vn(a,e[i],`${t}${t!==""?".":""}${i}`)):a.has(t)?a.append(t,e):a.set(t,e))}var z=function(a,...e){let t=new URLSearchParams(a.search);vn(t,e),a.search=t.toString()};var E=function(a){return a.pathname+a.search+a.hash},Q=function(a,e,t,i){return(n=e,s=t)=>{let o={...a.options,url:(n.defaults.baseURL?"":i?.basePath??s)+a.url};return n.request(o)}};var Qn=(o=>(o.Q="Q",o.T="T",o.Qa="QA",o.Ta="TA",o.Y="Y",o.Ya="YA",o))(Qn||{}),Mn=(e=>(e.Ok="OK",e))(Mn||{}),Hn=(e=>(e.Error="ERROR",e))(Hn||{}),jn=(e=>(e.Ok="OK",e))(jn||{}),Kn=(e=>(e.Ok="OK",e))(Kn||{}),Nn=(e=>(e.Ok="OK",e))(Nn||{}),$n=(e=>(e.Ok="OK",e))($n||{}),Yn=(e=>(e.Ok="OK",e))(Yn||{}),Wn=(e=>(e.Ok="OK",e))(Wn||{}),Xn=(e=>(e.Ok="OK",e))(Xn||{}),Jn=(e=>(e.Ok="OK",e))(Jn||{}),Zn=(e=>(e.Ok="OK",e))(Zn||{}),qn=(e=>(e.Ok="OK",e))(qn||{}),Pn=(e=>(e.Ok="OK",e))(Pn||{}),et=(e=>(e.Ok="OK",e))(et||{}),nt=(e=>(e.Ok="OK",e))(nt||{}),tt=(e=>(e.Ok="OK",e))(tt||{}),it=(e=>(e.Ok="OK",e))(it||{}),st=(e=>(e.Ok="OK",e))(st||{}),ot=(e=>(e.Ok="OK",e))(ot||{}),rt=(e=>(e.Ok="OK",e))(rt||{}),at=(e=>(e.Ok="OK",e))(at||{}),dt=(e=>(e.Ok="OK",e))(dt||{}),lt=(e=>(e.Ok="OK",e))(lt||{}),gt=(e=>(e.Ok="OK",e))(gt||{}),ct=(e=>(e.Ok="OK",e))(ct||{}),pt=(e=>(e.Ok="OK",e))(pt||{}),ft=(e=>(e.Ok="OK",e))(ft||{}),ut=(t=>(t.Delayed="DELAYED",t.RealTime="REAL-TIME",t))(ut||{}),yt=(e=>(e.Indices="indices",e))(yt||{}),bt=(i=>(i.Put="put",i.Call="call",i.Other="other",i))(bt||{}),mt=(i=>(i.American="american",i.European="european",i.Bermudan="bermudan",i))(mt||{}),ht=(t=>(t.Delayed="DELAYED",t.RealTime="REAL-TIME",t))(ht||{}),Rt=(t=>(t.Delayed="DELAYED",t.RealTime="REAL-TIME",t))(Rt||{}),xt=(e=>(e.Ok="OK",e))(xt||{}),At=(n=>(n.Stocks="stocks",n.Crypto="crypto",n.Options="options",n.Fx="fx",n))(At||{}),kt=(i=>(i.Put="put",i.Call="call",i.Other="other",i))(kt||{}),_t=(i=>(i.American="american",i.European="european",i.Bermudan="bermudan",i))(_t||{}),Gt=(t=>(t.Delayed="DELAYED",t.RealTime="REAL-TIME",t))(Gt||{}),Ot=(s=>(s.Stocks="stocks",s.Options="options",s.Fx="fx",s.Crypto="crypto",s.Indices="indices",s))(Ot||{}),Ct=(i=>(i.Put="put",i.Call="call",i.Other="other",i))(Ct||{}),Vt=(i=>(i.American="american",i.European="european",i.Bermudan="bermudan",i))(Vt||{}),St=(t=>(t.Delayed="DELAYED",t.RealTime="REAL-TIME",t))(St||{}),wt=(t=>(t.Delayed="DELAYED",t.RealTime="REAL-TIME",t))(wt||{}),vt=(t=>(t.Delayed="DELAYED",t.RealTime="REAL-TIME",t))(vt||{}),It=(e=>(e.Ok="OK",e))(It||{}),Lt=(e=>(e.Ok="OK",e))(Lt||{}),Tt=(e=>(e.Ok="OK",e))(Tt||{}),Dt=(e=>(e.Ok="OK",e))(Dt||{}),Ft=(e=>(e.Ok="OK",e))(Ft||{}),Bt=(e=>(e.Ok="OK",e))(Bt||{}),Ut=(e=>(e.Ok="OK",e))(Ut||{}),zt=(e=>(e.Ok="OK",e))(zt||{}),Et=(e=>(e.Ok="OK",e))(Et||{}),Qt=(e=>(e.Ok="OK",e))(Qt||{}),Mt=(e=>(e.Ok="OK",e))(Mt||{}),Ht=(e=>(e.Ok="OK",e))(Ht||{}),jt=(e=>(e.Ok="OK",e))(jt||{}),Kt=(t=>(t.Us="us",t.Global="global",t))(Kt||{}),Nt=(s=>(s.Stocks="stocks",s.Crypto="crypto",s.Fx="fx",s.Otc="otc",s.Indices="indices",s))(Nt||{}),$t=(e=>(e.Ok="OK",e))($t||{}),Yt=(n=>(n.Stocks="stocks",n.Options="options",n.Crypto="crypto",n.Fx="fx",n))(Yt||{}),Wt=(i=>(i.Trade="trade",i.Bbo="bbo",i.Nbbo="nbbo",i))(Wt||{}),Xt=(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))(Xt||{}),Jt=(n=>(n.Cd="CD",n.Sc="SC",n.Lt="LT",n.St="ST",n))(Jt||{}),Zt=(s=>(s.Stocks="stocks",s.Options="options",s.Crypto="crypto",s.Fx="fx",s.Futures="futures",s))(Zt||{}),qt=(t=>(t.Us="us",t.Global="global",t))(qt||{}),Pt=(i=>(i.Exchange="exchange",i.Trf="TRF",i.Sip="SIP",i))(Pt||{}),ei=(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))(ei||{}),ni=(i=>(i.Positive="positive",i.Neutral="neutral",i.Negative="negative",i))(ni||{}),ti=(i=>(i.American="american",i.European="european",i.Bermudan="bermudan",i))(ti||{}),ii=(s=>(s.Stocks="stocks",s.Options="options",s.Crypto="crypto",s.Fx="fx",s.Indices="indices",s))(ii||{}),si=(t=>(t.Us="us",t.Global="global",t))(si||{}),oi=(t=>(t.Us="us",t.Global="global",t))(oi||{}),ri=(s=>(s.Stocks="stocks",s.Crypto="crypto",s.Fx="fx",s.Otc="otc",s.Indices="indices",s))(ri||{}),ai=(n=>(n.String="string",n.Int="int",n.Int64="int64",n.Float64="float64",n))(ai||{}),di=function(a){return{deprecatedGetCryptoSnapshotTickerBook:async(e,t={})=>{Y("deprecatedGetCryptoSnapshotTickerBook","ticker",e);let i="/v2/snapshot/locale/global/markets/crypto/tickers/{ticker}/book".replace("{ticker}",encodeURIComponent(String(e))),n=new URL(i,B),s;a&&(s=a.baseOptions);let o={method:"GET",...s,...t},r={},d={};await U(d,"apiKey",a),z(n,d);let l=s&&s.headers?s.headers:{};return o.headers={...r,...l,...t.headers},{url:E(n),options:o}},deprecatedGetHistoricCryptoTrades:async(e,t,i,n,s,o={})=>{Y("deprecatedGetHistoricCryptoTrades","from",e),Y("deprecatedGetHistoricCryptoTrades","to",t),Y("deprecatedGetHistoricCryptoTrades","date",i);let r="/v1/historic/crypto/{from}/{to}/{date}".replace("{from}",encodeURIComponent(String(e))).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},y={},p={};await U(p,"apiKey",a),n!==void 0&&(p.offset=n),s!==void 0&&(p.limit=s),z(d,p);let f=l&&l.headers?l.headers:{};return g.headers={...y,...f,...o.headers},{url:E(d),options:g}},deprecatedGetHistoricForexQuotes:async(e,t,i,n,s,o={})=>{Y("deprecatedGetHistoricForexQuotes","from",e),Y("deprecatedGetHistoricForexQuotes","to",t),Y("deprecatedGetHistoricForexQuotes","date",i);let r="/v1/historic/forex/{from}/{to}/{date}".replace("{from}",encodeURIComponent(String(e))).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},y={},p={};await U(p,"apiKey",a),n!==void 0&&(p.offset=n),s!==void 0&&(p.limit=s),z(d,p);let f=l&&l.headers?l.headers:{};return g.headers={...y,...f,...o.headers},{url:E(d),options:g}},deprecatedGetHistoricStocksQuotes:async(e,t,i,n,s,o,r={})=>{Y("deprecatedGetHistoricStocksQuotes","ticker",e),Y("deprecatedGetHistoricStocksQuotes","date",t);let d="/v2/ticks/stocks/nbbo/{ticker}/{date}".replace("{ticker}",encodeURIComponent(String(e))).replace("{date}",encodeURIComponent(String(t))),l=new URL(d,B),g;a&&(g=a.baseOptions);let y={method:"GET",...g,...r},p={},f={};await U(f,"apiKey",a),i!==void 0&&(f.timestamp=i),n!==void 0&&(f.timestampLimit=n),s!==void 0&&(f.reverse=s),o!==void 0&&(f.limit=o),z(l,f);let m=g&&g.headers?g.headers:{};return y.headers={...p,...m,...r.headers},{url:E(l),options:y}},deprecatedGetHistoricStocksTrades:async(e,t,i,n,s,o,r={})=>{Y("deprecatedGetHistoricStocksTrades","ticker",e),Y("deprecatedGetHistoricStocksTrades","date",t);let d="/v2/ticks/stocks/trades/{ticker}/{date}".replace("{ticker}",encodeURIComponent(String(e))).replace("{date}",encodeURIComponent(String(t))),l=new URL(d,B),g;a&&(g=a.baseOptions);let y={method:"GET",...g,...r},p={},f={};await U(f,"apiKey",a),i!==void 0&&(f.timestamp=i),n!==void 0&&(f.timestampLimit=n),s!==void 0&&(f.reverse=s),o!==void 0&&(f.limit=o),z(l,f);let m=g&&g.headers?g.headers:{};return y.headers={...p,...m,...r.headers},{url:E(l),options:y}},getBenzingaV1AnalystInsights:async(e,t,i,n,s,o,r,d,l,g,y,p,f,m,u,b,h,x,R,c,k,A,G,S,C,w,O,N,T,K,W,I,V,v,te,ee,se,ie,$,oe,re,L,ae,ce={})=>{let pe="/benzinga/v1/analyst-insights",fe=new URL(pe,B),de;a&&(de=a.baseOptions);let le={method:"GET",...de,...ce},ue={},X={};await U(X,"apiKey",a),e!==void 0&&(X.date=e),t!==void 0&&(X["date.any_of"]=t),i!==void 0&&(X["date.gt"]=i),n!==void 0&&(X["date.gte"]=n),s!==void 0&&(X["date.lt"]=s),o!==void 0&&(X["date.lte"]=o),r!==void 0&&(X.ticker=r),d!==void 0&&(X["ticker.any_of"]=d),l!==void 0&&(X["ticker.gt"]=l),g!==void 0&&(X["ticker.gte"]=g),y!==void 0&&(X["ticker.lt"]=y),p!==void 0&&(X["ticker.lte"]=p),f!==void 0&&(X.last_updated=f),m!==void 0&&(X["last_updated.gt"]=m),u!==void 0&&(X["last_updated.gte"]=u),b!==void 0&&(X["last_updated.lt"]=b),h!==void 0&&(X["last_updated.lte"]=h),x!==void 0&&(X.firm=x),R!==void 0&&(X["firm.any_of"]=R),c!==void 0&&(X["firm.gt"]=c),k!==void 0&&(X["firm.gte"]=k),A!==void 0&&(X["firm.lt"]=A),G!==void 0&&(X["firm.lte"]=G),S!==void 0&&(X.rating_action=S),C!==void 0&&(X["rating_action.any_of"]=C),w!==void 0&&(X["rating_action.gt"]=w),O!==void 0&&(X["rating_action.gte"]=O),N!==void 0&&(X["rating_action.lt"]=N),T!==void 0&&(X["rating_action.lte"]=T),K!==void 0&&(X.benzinga_firm_id=K),W!==void 0&&(X["benzinga_firm_id.any_of"]=W),I!==void 0&&(X["benzinga_firm_id.gt"]=I),V!==void 0&&(X["benzinga_firm_id.gte"]=V),v!==void 0&&(X["benzinga_firm_id.lt"]=v),te!==void 0&&(X["benzinga_firm_id.lte"]=te),ee!==void 0&&(X.benzinga_rating_id=ee),se!==void 0&&(X["benzinga_rating_id.any_of"]=se),ie!==void 0&&(X["benzinga_rating_id.gt"]=ie),$!==void 0&&(X["benzinga_rating_id.gte"]=$),oe!==void 0&&(X["benzinga_rating_id.lt"]=oe),re!==void 0&&(X["benzinga_rating_id.lte"]=re),L!==void 0&&(X.limit=L),ae!==void 0&&(X.sort=ae),z(fe,X);let J=de&&de.headers?de.headers:{};return le.headers={...ue,...J,...ce.headers},{url:E(fe),options:le}},getBenzingaV1Analysts:async(e,t,i,n,s,o,r,d,l,g,y,p,f,m,u,b,h,x,R,c,k,A,G,S,C,w,O={})=>{let N="/benzinga/v1/analysts",T=new URL(N,B),K;a&&(K=a.baseOptions);let W={method:"GET",...K,...O},I={},V={};await U(V,"apiKey",a),e!==void 0&&(V.benzinga_id=e),t!==void 0&&(V["benzinga_id.any_of"]=t),i!==void 0&&(V["benzinga_id.gt"]=i),n!==void 0&&(V["benzinga_id.gte"]=n),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),y!==void 0&&(V["benzinga_firm_id.lt"]=y),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),u!==void 0&&(V["firm_name.gt"]=u),b!==void 0&&(V["firm_name.gte"]=b),h!==void 0&&(V["firm_name.lt"]=h),x!==void 0&&(V["firm_name.lte"]=x),R!==void 0&&(V.full_name=R),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),G!==void 0&&(V["full_name.lt"]=G),S!==void 0&&(V["full_name.lte"]=S),C!==void 0&&(V.limit=C),w!==void 0&&(V.sort=w),z(T,V);let v=K&&K.headers?K.headers:{};return W.headers={...I,...v,...O.headers},{url:E(T),options:W}},getBenzingaV1BullsBearsSay:async(e,t,i,n,s,o,r,d,l,g,y,p,f,m,u,b,h,x,R,c={})=>{let k="/benzinga/v1/bulls-bears-say",A=new URL(k,B),G;a&&(G=a.baseOptions);let S={method:"GET",...G,...c},C={},w={};await U(w,"apiKey",a),e!==void 0&&(w.ticker=e),t!==void 0&&(w["ticker.any_of"]=t),i!==void 0&&(w["ticker.gt"]=i),n!==void 0&&(w["ticker.gte"]=n),s!==void 0&&(w["ticker.lt"]=s),o!==void 0&&(w["ticker.lte"]=o),r!==void 0&&(w.benzinga_id=r),d!==void 0&&(w["benzinga_id.any_of"]=d),l!==void 0&&(w["benzinga_id.gt"]=l),g!==void 0&&(w["benzinga_id.gte"]=g),y!==void 0&&(w["benzinga_id.lt"]=y),p!==void 0&&(w["benzinga_id.lte"]=p),f!==void 0&&(w.last_updated=f),m!==void 0&&(w["last_updated.gt"]=m),u!==void 0&&(w["last_updated.gte"]=u),b!==void 0&&(w["last_updated.lt"]=b),h!==void 0&&(w["last_updated.lte"]=h),x!==void 0&&(w.limit=x),R!==void 0&&(w.sort=R),z(A,w);let O=G&&G.headers?G.headers:{};return S.headers={...C,...O,...c.headers},{url:E(A),options:S}},getBenzingaV1ConsensusRatings:async(e,t,i,n,s,o,r,d,l={})=>{Y("getBenzingaV1ConsensusRatings","ticker",e);let g="/benzinga/v1/consensus-ratings/{ticker}".replace("{ticker}",encodeURIComponent(String(e))),y=new URL(g,B),p;a&&(p=a.baseOptions);let f={method:"GET",...p,...l},m={},u={};await U(u,"apiKey",a),t!==void 0&&(u.date=t),i!==void 0&&(u["date.any_of"]=i),n!==void 0&&(u["date.gt"]=n),s!==void 0&&(u["date.gte"]=s),o!==void 0&&(u["date.lt"]=o),r!==void 0&&(u["date.lte"]=r),d!==void 0&&(u.limit=d),z(y,u);let b=p&&p.headers?p.headers:{};return f.headers={...m,...b,...l.headers},{url:E(y),options:f}},getBenzingaV1Earnings:async(e,t,i,n,s,o,r,d,l,g,y,p,f,m,u,b,h,x,R,c,k,A,G,S,C,w,O,N,T,K,W,I,V,v,te,ee,se,ie,$,oe,re,L,ae,ce,pe,fe,de,le,ue,X,J,ye,ge,be,Z,_,me={})=>{let he="/benzinga/v1/earnings",xe=new URL(he,B),Re;a&&(Re=a.baseOptions);let P={method:"GET",...Re,...me},Ae={},ne={};await U(ne,"apiKey",a),e!==void 0&&(ne.date=e),t!==void 0&&(ne["date.any_of"]=t),i!==void 0&&(ne["date.gt"]=i),n!==void 0&&(ne["date.gte"]=n),s!==void 0&&(ne["date.lt"]=s),o!==void 0&&(ne["date.lte"]=o),r!==void 0&&(ne.ticker=r),d!==void 0&&(ne["ticker.any_of"]=d),l!==void 0&&(ne["ticker.gt"]=l),g!==void 0&&(ne["ticker.gte"]=g),y!==void 0&&(ne["ticker.lt"]=y),p!==void 0&&(ne["ticker.lte"]=p),f!==void 0&&(ne.importance=f),m!==void 0&&(ne["importance.any_of"]=m),u!==void 0&&(ne["importance.gt"]=u),b!==void 0&&(ne["importance.gte"]=b),h!==void 0&&(ne["importance.lt"]=h),x!==void 0&&(ne["importance.lte"]=x),R!==void 0&&(ne.last_updated=R),c!==void 0&&(ne["last_updated.any_of"]=c),k!==void 0&&(ne["last_updated.gt"]=k),A!==void 0&&(ne["last_updated.gte"]=A),G!==void 0&&(ne["last_updated.lt"]=G),S!==void 0&&(ne["last_updated.lte"]=S),C!==void 0&&(ne.date_status=C),w!==void 0&&(ne["date_status.any_of"]=w),O!==void 0&&(ne["date_status.gt"]=O),N!==void 0&&(ne["date_status.gte"]=N),T!==void 0&&(ne["date_status.lt"]=T),K!==void 0&&(ne["date_status.lte"]=K),W!==void 0&&(ne.eps_surprise_percent=W),I!==void 0&&(ne["eps_surprise_percent.any_of"]=I),V!==void 0&&(ne["eps_surprise_percent.gt"]=V),v!==void 0&&(ne["eps_surprise_percent.gte"]=v),te!==void 0&&(ne["eps_surprise_percent.lt"]=te),ee!==void 0&&(ne["eps_surprise_percent.lte"]=ee),se!==void 0&&(ne.revenue_surprise_percent=se),ie!==void 0&&(ne["revenue_surprise_percent.any_of"]=ie),$!==void 0&&(ne["revenue_surprise_percent.gt"]=$),oe!==void 0&&(ne["revenue_surprise_percent.gte"]=oe),re!==void 0&&(ne["revenue_surprise_percent.lt"]=re),L!==void 0&&(ne["revenue_surprise_percent.lte"]=L),ae!==void 0&&(ne.fiscal_year=ae),ce!==void 0&&(ne["fiscal_year.any_of"]=ce),pe!==void 0&&(ne["fiscal_year.gt"]=pe),fe!==void 0&&(ne["fiscal_year.gte"]=fe),de!==void 0&&(ne["fiscal_year.lt"]=de),le!==void 0&&(ne["fiscal_year.lte"]=le),ue!==void 0&&(ne.fiscal_period=ue),X!==void 0&&(ne["fiscal_period.any_of"]=X),J!==void 0&&(ne["fiscal_period.gt"]=J),ye!==void 0&&(ne["fiscal_period.gte"]=ye),ge!==void 0&&(ne["fiscal_period.lt"]=ge),be!==void 0&&(ne["fiscal_period.lte"]=be),Z!==void 0&&(ne.limit=Z),_!==void 0&&(ne.sort=_),z(xe,ne);let Ge=Re&&Re.headers?Re.headers:{};return P.headers={...Ae,...Ge,...me.headers},{url:E(xe),options:P}},getBenzingaV1Firms:async(e,t,i,n,s,o,r,d,l={})=>{let g="/benzinga/v1/firms",y=new URL(g,B),p;a&&(p=a.baseOptions);let f={method:"GET",...p,...l},m={},u={};await U(u,"apiKey",a),e!==void 0&&(u.benzinga_id=e),t!==void 0&&(u["benzinga_id.any_of"]=t),i!==void 0&&(u["benzinga_id.gt"]=i),n!==void 0&&(u["benzinga_id.gte"]=n),s!==void 0&&(u["benzinga_id.lt"]=s),o!==void 0&&(u["benzinga_id.lte"]=o),r!==void 0&&(u.limit=r),d!==void 0&&(u.sort=d),z(y,u);let b=p&&p.headers?p.headers:{};return f.headers={...m,...b,...l.headers},{url:E(y),options:f}},getBenzingaV1Guidance:async(e,t,i,n,s,o,r,d,l,g,y,p,f,m,u,b,h,x,R,c,k,A,G,S,C,w,O,N,T,K,W,I,V,v,te,ee,se,ie,$,oe,re,L,ae,ce,pe={})=>{let fe="/benzinga/v1/guidance",de=new URL(fe,B),le;a&&(le=a.baseOptions);let ue={method:"GET",...le,...pe},X={},J={};await U(J,"apiKey",a),e!==void 0&&(J.date=e),t!==void 0&&(J["date.any_of"]=t),i!==void 0&&(J["date.gt"]=i),n!==void 0&&(J["date.gte"]=n),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),y!==void 0&&(J["ticker.lt"]=y),p!==void 0&&(J["ticker.lte"]=p),f!==void 0&&(J.positioning=f),m!==void 0&&(J["positioning.any_of"]=m),u!==void 0&&(J["positioning.gt"]=u),b!==void 0&&(J["positioning.gte"]=b),h!==void 0&&(J["positioning.lt"]=h),x!==void 0&&(J["positioning.lte"]=x),R!==void 0&&(J.importance=R),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),S!==void 0&&(J["importance.lte"]=S),C!==void 0&&(J.last_updated=C),w!==void 0&&(J["last_updated.any_of"]=w),O!==void 0&&(J["last_updated.gt"]=O),N!==void 0&&(J["last_updated.gte"]=N),T!==void 0&&(J["last_updated.lt"]=T),K!==void 0&&(J["last_updated.lte"]=K),W!==void 0&&(J.fiscal_year=W),I!==void 0&&(J["fiscal_year.any_of"]=I),V!==void 0&&(J["fiscal_year.gt"]=V),v!==void 0&&(J["fiscal_year.gte"]=v),te!==void 0&&(J["fiscal_year.lt"]=te),ee!==void 0&&(J["fiscal_year.lte"]=ee),se!==void 0&&(J.fiscal_period=se),ie!==void 0&&(J["fiscal_period.any_of"]=ie),$!==void 0&&(J["fiscal_period.gt"]=$),oe!==void 0&&(J["fiscal_period.gte"]=oe),re!==void 0&&(J["fiscal_period.lt"]=re),L!==void 0&&(J["fiscal_period.lte"]=L),ae!==void 0&&(J.limit=ae),ce!==void 0&&(J.sort=ce),z(de,J);let ye=le&&le.headers?le.headers:{};return ue.headers={...X,...ye,...pe.headers},{url:E(de),options:ue}},getBenzingaV1Ratings:async(e,t,i,n,s,o,r,d,l,g,y,p,f,m,u,b,h,x,R,c,k,A,G,S,C,w,O,N,T,K,W,I,V,v,te,ee,se,ie,$,oe,re,L,ae,ce,pe,fe,de,le,ue,X,J,ye,ge,be,Z={})=>{let _="/benzinga/v1/ratings",me=new URL(_,B),he;a&&(he=a.baseOptions);let xe={method:"GET",...he,...Z},Re={},P={};await U(P,"apiKey",a),e!==void 0&&(P.date=e),t!==void 0&&(P["date.any_of"]=t),i!==void 0&&(P["date.gt"]=i),n!==void 0&&(P["date.gte"]=n),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),y!==void 0&&(P["ticker.lt"]=y),p!==void 0&&(P["ticker.lte"]=p),f!==void 0&&(P.importance=f),m!==void 0&&(P["importance.gt"]=m),u!==void 0&&(P["importance.gte"]=u),b!==void 0&&(P["importance.lt"]=b),h!==void 0&&(P["importance.lte"]=h),x!==void 0&&(P.last_updated=x),R!==void 0&&(P["last_updated.gt"]=R),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),S!==void 0&&(P["rating_action.any_of"]=S),C!==void 0&&(P["rating_action.gt"]=C),w!==void 0&&(P["rating_action.gte"]=w),O!==void 0&&(P["rating_action.lt"]=O),N!==void 0&&(P["rating_action.lte"]=N),T!==void 0&&(P.price_target_action=T),K!==void 0&&(P["price_target_action.any_of"]=K),W!==void 0&&(P["price_target_action.gt"]=W),I!==void 0&&(P["price_target_action.gte"]=I),V!==void 0&&(P["price_target_action.lt"]=V),v!==void 0&&(P["price_target_action.lte"]=v),te!==void 0&&(P.benzinga_id=te),ee!==void 0&&(P["benzinga_id.any_of"]=ee),se!==void 0&&(P["benzinga_id.gt"]=se),ie!==void 0&&(P["benzinga_id.gte"]=ie),$!==void 0&&(P["benzinga_id.lt"]=$),oe!==void 0&&(P["benzinga_id.lte"]=oe),re!==void 0&&(P.benzinga_analyst_id=re),L!==void 0&&(P["benzinga_analyst_id.any_of"]=L),ae!==void 0&&(P["benzinga_analyst_id.gt"]=ae),ce!==void 0&&(P["benzinga_analyst_id.gte"]=ce),pe!==void 0&&(P["benzinga_analyst_id.lt"]=pe),fe!==void 0&&(P["benzinga_analyst_id.lte"]=fe),de!==void 0&&(P.benzinga_firm_id=de),le!==void 0&&(P["benzinga_firm_id.any_of"]=le),ue!==void 0&&(P["benzinga_firm_id.gt"]=ue),X!==void 0&&(P["benzinga_firm_id.gte"]=X),J!==void 0&&(P["benzinga_firm_id.lt"]=J),ye!==void 0&&(P["benzinga_firm_id.lte"]=ye),ge!==void 0&&(P.limit=ge),be!==void 0&&(P.sort=be),z(me,P);let Ae=he&&he.headers?he.headers:{};return xe.headers={...Re,...Ae,...Z.headers},{url:E(me),options:xe}},getBenzingaV2News:async(e,t,i,n,s,o,r,d,l,g,y,p,f,m,u,b,h,x,R,c,k,A,G,S,C,w={})=>{let O="/benzinga/v2/news",N=new URL(O,B),T;a&&(T=a.baseOptions);let K={method:"GET",...T,...w},W={},I={};await U(I,"apiKey",a),e!==void 0&&(I.published=e),t!==void 0&&(I["published.gt"]=t),i!==void 0&&(I["published.gte"]=i),n!==void 0&&(I["published.lt"]=n),s!==void 0&&(I["published.lte"]=s),o!==void 0&&(I.channels=o),r!==void 0&&(I["channels.all_of"]=r),d!==void 0&&(I["channels.any_of"]=d),l!==void 0&&(I.tags=l),g!==void 0&&(I["tags.all_of"]=g),y!==void 0&&(I["tags.any_of"]=y),p!==void 0&&(I.author=p),f!==void 0&&(I["author.any_of"]=f),m!==void 0&&(I["author.gt"]=m),u!==void 0&&(I["author.gte"]=u),b!==void 0&&(I["author.lt"]=b),h!==void 0&&(I["author.lte"]=h),x!==void 0&&(I.stocks=x),R!==void 0&&(I["stocks.all_of"]=R),c!==void 0&&(I["stocks.any_of"]=c),k!==void 0&&(I.tickers=k),A!==void 0&&(I["tickers.all_of"]=A),G!==void 0&&(I["tickers.any_of"]=G),S!==void 0&&(I.limit=S),C!==void 0&&(I.sort=C),z(N,I);let V=T&&T.headers?T.headers:{};return K.headers={...W,...V,...w.headers},{url:E(N),options:K}},getCryptoAggregates:async(e,t,i,n,s,o,r,d,l={})=>{Y("getCryptoAggregates","cryptoTicker",e),Y("getCryptoAggregates","multiplier",t),Y("getCryptoAggregates","timespan",i),Y("getCryptoAggregates","from",n),Y("getCryptoAggregates","to",s);let g="/v2/aggs/ticker/{cryptoTicker}/range/{multiplier}/{timespan}/{from}/{to}".replace("{cryptoTicker}",encodeURIComponent(String(e))).replace("{multiplier}",encodeURIComponent(String(t))).replace("{timespan}",encodeURIComponent(String(i))).replace("{from}",encodeURIComponent(String(n))).replace("{to}",encodeURIComponent(String(s))),y=new URL(g,B),p;a&&(p=a.baseOptions);let f={method:"GET",...p,...l},m={},u={};await U(u,"apiKey",a),o!==void 0&&(u.adjusted=o),r!==void 0&&(u.sort=r),d!==void 0&&(u.limit=d),z(y,u);let b=p&&p.headers?p.headers:{};return f.headers={...m,...b,...l.headers},{url:E(y),options:f}},getCryptoEMA:async(e,t,i,n,s,o,r,d,l,g,y,p,f={})=>{Y("getCryptoEMA","cryptoTicker",e);let m="/v1/indicators/ema/{cryptoTicker}".replace("{cryptoTicker}",encodeURIComponent(String(e))),u=new URL(m,B),b;a&&(b=a.baseOptions);let h={method:"GET",...b,...f},x={},R={};await U(R,"apiKey",a),t!==void 0&&(R.timestamp=t),i!==void 0&&(R.timespan=i),n!==void 0&&(R.window=n),s!==void 0&&(R.series_type=s),o!==void 0&&(R.expand_underlying=o),r!==void 0&&(R.order=r),d!==void 0&&(R.limit=d),l!==void 0&&(R["timestamp.gte"]=l),g!==void 0&&(R["timestamp.gt"]=g),y!==void 0&&(R["timestamp.lte"]=y),p!==void 0&&(R["timestamp.lt"]=p),z(u,R);let c=b&&b.headers?b.headers:{};return h.headers={...x,...c,...f.headers},{url:E(u),options:h}},getCryptoMACD:async(e,t,i,n,s,o,r,d,l,g,y,p,f,m,u={})=>{Y("getCryptoMACD","cryptoTicker",e);let b="/v1/indicators/macd/{cryptoTicker}".replace("{cryptoTicker}",encodeURIComponent(String(e))),h=new URL(b,B),x;a&&(x=a.baseOptions);let R={method:"GET",...x,...u},c={},k={};await U(k,"apiKey",a),t!==void 0&&(k.timestamp=t),i!==void 0&&(k.timespan=i),n!==void 0&&(k.short_window=n),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),y!==void 0&&(k["timestamp.gte"]=y),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=x&&x.headers?x.headers:{};return R.headers={...c,...A,...u.headers},{url:E(h),options:R}},getCryptoOpenClose:async(e,t,i,n,s={})=>{Y("getCryptoOpenClose","from",e),Y("getCryptoOpenClose","to",t),Y("getCryptoOpenClose","date",i);let o="/v1/open-close/crypto/{from}/{to}/{date}".replace("{from}",encodeURIComponent(String(e))).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={},y={};await U(y,"apiKey",a),n!==void 0&&(y.adjusted=n),z(r,y);let p=d&&d.headers?d.headers:{};return l.headers={...g,...p,...s.headers},{url:E(r),options:l}},getCryptoRSI:async(e,t,i,n,s,o,r,d,l,g,y,p,f={})=>{Y("getCryptoRSI","cryptoTicker",e);let m="/v1/indicators/rsi/{cryptoTicker}".replace("{cryptoTicker}",encodeURIComponent(String(e))),u=new URL(m,B),b;a&&(b=a.baseOptions);let h={method:"GET",...b,...f},x={},R={};await U(R,"apiKey",a),t!==void 0&&(R.timestamp=t),i!==void 0&&(R.timespan=i),n!==void 0&&(R.window=n),s!==void 0&&(R.series_type=s),o!==void 0&&(R.expand_underlying=o),r!==void 0&&(R.order=r),d!==void 0&&(R.limit=d),l!==void 0&&(R["timestamp.gte"]=l),g!==void 0&&(R["timestamp.gt"]=g),y!==void 0&&(R["timestamp.lte"]=y),p!==void 0&&(R["timestamp.lt"]=p),z(u,R);let c=b&&b.headers?b.headers:{};return h.headers={...x,...c,...f.headers},{url:E(u),options:h}},getCryptoSMA:async(e,t,i,n,s,o,r,d,l,g,y,p,f={})=>{Y("getCryptoSMA","cryptoTicker",e);let m="/v1/indicators/sma/{cryptoTicker}".replace("{cryptoTicker}",encodeURIComponent(String(e))),u=new URL(m,B),b;a&&(b=a.baseOptions);let h={method:"GET",...b,...f},x={},R={};await U(R,"apiKey",a),t!==void 0&&(R.timestamp=t),i!==void 0&&(R.timespan=i),n!==void 0&&(R.window=n),s!==void 0&&(R.series_type=s),o!==void 0&&(R.expand_underlying=o),r!==void 0&&(R.order=r),d!==void 0&&(R.limit=d),l!==void 0&&(R["timestamp.gte"]=l),g!==void 0&&(R["timestamp.gt"]=g),y!==void 0&&(R["timestamp.lte"]=y),p!==void 0&&(R["timestamp.lt"]=p),z(u,R);let c=b&&b.headers?b.headers:{};return h.headers={...x,...c,...f.headers},{url:E(u),options:h}},getCryptoSnapshotDirection:async(e,t={})=>{Y("getCryptoSnapshotDirection","direction",e);let i="/v2/snapshot/locale/global/markets/crypto/{direction}".replace("{direction}",encodeURIComponent(String(e))),n=new URL(i,B),s;a&&(s=a.baseOptions);let o={method:"GET",...s,...t},r={},d={};await U(d,"apiKey",a),z(n,d);let l=s&&s.headers?s.headers:{};return o.headers={...r,...l,...t.headers},{url:E(n),options:o}},getCryptoSnapshotTicker:async(e,t={})=>{Y("getCryptoSnapshotTicker","ticker",e);let i="/v2/snapshot/locale/global/markets/crypto/tickers/{ticker}".replace("{ticker}",encodeURIComponent(String(e))),n=new URL(i,B),s;a&&(s=a.baseOptions);let o={method:"GET",...s,...t},r={},d={};await U(d,"apiKey",a),z(n,d);let l=s&&s.headers?s.headers:{};return o.headers={...r,...l,...t.headers},{url:E(n),options:o}},getCryptoSnapshotTickers:async(e,t={})=>{let i="/v2/snapshot/locale/global/markets/crypto/tickers",n=new URL(i,B),s;a&&(s=a.baseOptions);let o={method:"GET",...s,...t},r={},d={};await U(d,"apiKey",a),e&&(d.tickers=e),z(n,d);let l=s&&s.headers?s.headers:{};return o.headers={...r,...l,...t.headers},{url:E(n),options:o}},getCryptoTrades:async(e,t,i,n,s,o,r,d,l,g={})=>{Y("getCryptoTrades","cryptoTicker",e);let y="/v3/trades/{cryptoTicker}".replace("{cryptoTicker}",encodeURIComponent(String(e))),p=new URL(y,B),f;a&&(f=a.baseOptions);let m={method:"GET",...f,...g},u={},b={};await U(b,"apiKey",a),t!==void 0&&(b.timestamp=t),i!==void 0&&(b["timestamp.gte"]=i),n!==void 0&&(b["timestamp.gt"]=n),s!==void 0&&(b["timestamp.lte"]=s),o!==void 0&&(b["timestamp.lt"]=o),r!==void 0&&(b.order=r),d!==void 0&&(b.limit=d),l!==void 0&&(b.sort=l),z(p,b);let h=f&&f.headers?f.headers:{};return m.headers={...u,...h,...g.headers},{url:E(p),options:m}},getCryptoV1Exchanges:async(e,t={})=>{let i="/crypto/v1/exchanges",n=new URL(i,B),s;a&&(s=a.baseOptions);let o={method:"GET",...s,...t},r={},d={};await U(d,"apiKey",a),e!==void 0&&(d.limit=e),z(n,d);let l=s&&s.headers?s.headers:{};return o.headers={...r,...l,...t.headers},{url:E(n),options:o}},getCurrencyConversion:async(e,t,i,n,s={})=>{Y("getCurrencyConversion","from",e),Y("getCurrencyConversion","to",t);let o="/v1/conversion/{from}/{to}".replace("{from}",encodeURIComponent(String(e))).replace("{to}",encodeURIComponent(String(t))),r=new URL(o,B),d;a&&(d=a.baseOptions);let l={method:"GET",...d,...s},g={},y={};await U(y,"apiKey",a),i!==void 0&&(y.amount=i),n!==void 0&&(y.precision=n),z(r,y);let p=d&&d.headers?d.headers:{};return l.headers={...g,...p,...s.headers},{url:E(r),options:l}},getEtfGlobalV1Analytics:async(e,t,i,n,s,o,r,d,l,g,y,p,f,m,u,b,h,x,R,c,k,A,G,S,C,w,O,N,T,K,W,I,V,v,te,ee,se,ie,$,oe,re,L,ae,ce,pe,fe,de,le,ue,X,J,ye,ge,be,Z,_,me,he,xe,Re,P,Ae,ne,Ge,Oe,Ce,Ve,Se,we,ve={})=>{let Te="/etf-global/v1/analytics",Ie=new URL(Te,B),ke;a&&(ke=a.baseOptions);let Le={method:"GET",...ke,...ve},De={},q={};await U(q,"apiKey",a),e!==void 0&&(q.composite_ticker=e),t!==void 0&&(q["composite_ticker.any_of"]=t),i!==void 0&&(q["composite_ticker.gt"]=i),n!==void 0&&(q["composite_ticker.gte"]=n),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),y!==void 0&&(q["processed_date.lte"]=y),p!==void 0&&(q.effective_date=p),f!==void 0&&(q["effective_date.gt"]=f),m!==void 0&&(q["effective_date.gte"]=m),u!==void 0&&(q["effective_date.lt"]=u),b!==void 0&&(q["effective_date.lte"]=b),h!==void 0&&(q.risk_total_score=h),x!==void 0&&(q["risk_total_score.gt"]=x),R!==void 0&&(q["risk_total_score.gte"]=R),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),S!==void 0&&(q["reward_score.gte"]=S),C!==void 0&&(q["reward_score.lt"]=C),w!==void 0&&(q["reward_score.lte"]=w),O!==void 0&&(q.quant_total_score=O),N!==void 0&&(q["quant_total_score.gt"]=N),T!==void 0&&(q["quant_total_score.gte"]=T),K!==void 0&&(q["quant_total_score.lt"]=K),W!==void 0&&(q["quant_total_score.lte"]=W),I!==void 0&&(q.quant_grade=I),V!==void 0&&(q["quant_grade.any_of"]=V),v!==void 0&&(q["quant_grade.gt"]=v),te!==void 0&&(q["quant_grade.gte"]=te),ee!==void 0&&(q["quant_grade.lt"]=ee),se!==void 0&&(q["quant_grade.lte"]=se),ie!==void 0&&(q.quant_composite_technical=ie),$!==void 0&&(q["quant_composite_technical.gt"]=$),oe!==void 0&&(q["quant_composite_technical.gte"]=oe),re!==void 0&&(q["quant_composite_technical.lt"]=re),L!==void 0&&(q["quant_composite_technical.lte"]=L),ae!==void 0&&(q.quant_composite_sentiment=ae),ce!==void 0&&(q["quant_composite_sentiment.gt"]=ce),pe!==void 0&&(q["quant_composite_sentiment.gte"]=pe),fe!==void 0&&(q["quant_composite_sentiment.lt"]=fe),de!==void 0&&(q["quant_composite_sentiment.lte"]=de),le!==void 0&&(q.quant_composite_behavioral=le),ue!==void 0&&(q["quant_composite_behavioral.gt"]=ue),X!==void 0&&(q["quant_composite_behavioral.gte"]=X),J!==void 0&&(q["quant_composite_behavioral.lt"]=J),ye!==void 0&&(q["quant_composite_behavioral.lte"]=ye),ge!==void 0&&(q.quant_composite_fundamental=ge),be!==void 0&&(q["quant_composite_fundamental.gt"]=be),Z!==void 0&&(q["quant_composite_fundamental.gte"]=Z),_!==void 0&&(q["quant_composite_fundamental.lt"]=_),me!==void 0&&(q["quant_composite_fundamental.lte"]=me),he!==void 0&&(q.quant_composite_global=he),xe!==void 0&&(q["quant_composite_global.gt"]=xe),Re!==void 0&&(q["quant_composite_global.gte"]=Re),P!==void 0&&(q["quant_composite_global.lt"]=P),Ae!==void 0&&(q["quant_composite_global.lte"]=Ae),ne!==void 0&&(q.quant_composite_quality=ne),Ge!==void 0&&(q["quant_composite_quality.gt"]=Ge),Oe!==void 0&&(q["quant_composite_quality.gte"]=Oe),Ce!==void 0&&(q["quant_composite_quality.lt"]=Ce),Ve!==void 0&&(q["quant_composite_quality.lte"]=Ve),Se!==void 0&&(q.limit=Se),we!==void 0&&(q.sort=we),z(Ie,q);let Be=ke&&ke.headers?ke.headers:{};return Le.headers={...De,...Be,...ve.headers},{url:E(Ie),options:Le}},getEtfGlobalV1Constituents:async(e,t,i,n,s,o,r,d,l,g,y,p,f,m,u,b,h,x,R,c,k,A,G,S,C,w,O,N,T,K,W,I,V,v,te,ee,se,ie,$,oe,re,L,ae,ce,pe,fe,de,le,ue={})=>{let X="/etf-global/v1/constituents",J=new URL(X,B),ye;a&&(ye=a.baseOptions);let ge={method:"GET",...ye,...ue},be={},Z={};await U(Z,"apiKey",a),e!==void 0&&(Z.composite_ticker=e),t!==void 0&&(Z["composite_ticker.any_of"]=t),i!==void 0&&(Z["composite_ticker.gt"]=i),n!==void 0&&(Z["composite_ticker.gte"]=n),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),y!==void 0&&(Z["constituent_ticker.lt"]=y),p!==void 0&&(Z["constituent_ticker.lte"]=p),f!==void 0&&(Z.effective_date=f),m!==void 0&&(Z["effective_date.gt"]=m),u!==void 0&&(Z["effective_date.gte"]=u),b!==void 0&&(Z["effective_date.lt"]=b),h!==void 0&&(Z["effective_date.lte"]=h),x!==void 0&&(Z.processed_date=x),R!==void 0&&(Z["processed_date.gt"]=R),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),S!==void 0&&(Z["us_code.any_of"]=S),C!==void 0&&(Z["us_code.gt"]=C),w!==void 0&&(Z["us_code.gte"]=w),O!==void 0&&(Z["us_code.lt"]=O),N!==void 0&&(Z["us_code.lte"]=N),T!==void 0&&(Z.isin=T),K!==void 0&&(Z["isin.any_of"]=K),W!==void 0&&(Z["isin.gt"]=W),I!==void 0&&(Z["isin.gte"]=I),V!==void 0&&(Z["isin.lt"]=V),v!==void 0&&(Z["isin.lte"]=v),te!==void 0&&(Z.figi=te),ee!==void 0&&(Z["figi.any_of"]=ee),se!==void 0&&(Z["figi.gt"]=se),ie!==void 0&&(Z["figi.gte"]=ie),$!==void 0&&(Z["figi.lt"]=$),oe!==void 0&&(Z["figi.lte"]=oe),re!==void 0&&(Z.sedol=re),L!==void 0&&(Z["sedol.any_of"]=L),ae!==void 0&&(Z["sedol.gt"]=ae),ce!==void 0&&(Z["sedol.gte"]=ce),pe!==void 0&&(Z["sedol.lt"]=pe),fe!==void 0&&(Z["sedol.lte"]=fe),de!==void 0&&(Z.limit=de),le!==void 0&&(Z.sort=le),z(J,Z);let _=ye&&ye.headers?ye.headers:{};return ge.headers={...be,..._,...ue.headers},{url:E(J),options:ge}},getEtfGlobalV1FundFlows:async(e,t,i,n,s,o,r,d,l,g,y,p,f,m,u,b,h,x,R={})=>{let c="/etf-global/v1/fund-flows",k=new URL(c,B),A;a&&(A=a.baseOptions);let G={method:"GET",...A,...R},S={},C={};await U(C,"apiKey",a),e!==void 0&&(C.processed_date=e),t!==void 0&&(C["processed_date.gt"]=t),i!==void 0&&(C["processed_date.gte"]=i),n!==void 0&&(C["processed_date.lt"]=n),s!==void 0&&(C["processed_date.lte"]=s),o!==void 0&&(C.effective_date=o),r!==void 0&&(C["effective_date.gt"]=r),d!==void 0&&(C["effective_date.gte"]=d),l!==void 0&&(C["effective_date.lt"]=l),g!==void 0&&(C["effective_date.lte"]=g),y!==void 0&&(C.composite_ticker=y),p!==void 0&&(C["composite_ticker.any_of"]=p),f!==void 0&&(C["composite_ticker.gt"]=f),m!==void 0&&(C["composite_ticker.gte"]=m),u!==void 0&&(C["composite_ticker.lt"]=u),b!==void 0&&(C["composite_ticker.lte"]=b),h!==void 0&&(C.limit=h),x!==void 0&&(C.sort=x),z(k,C);let w=A&&A.headers?A.headers:{};return G.headers={...S,...w,...R.headers},{url:E(k),options:G}},getEtfGlobalV1Profiles:async(e,t,i,n,s,o,r,d,l,g,y,p,f,m,u,b,h,x,R={})=>{let c="/etf-global/v1/profiles",k=new URL(c,B),A;a&&(A=a.baseOptions);let G={method:"GET",...A,...R},S={},C={};await U(C,"apiKey",a),e!==void 0&&(C.processed_date=e),t!==void 0&&(C["processed_date.gt"]=t),i!==void 0&&(C["processed_date.gte"]=i),n!==void 0&&(C["processed_date.lt"]=n),s!==void 0&&(C["processed_date.lte"]=s),o!==void 0&&(C.effective_date=o),r!==void 0&&(C["effective_date.gt"]=r),d!==void 0&&(C["effective_date.gte"]=d),l!==void 0&&(C["effective_date.lt"]=l),g!==void 0&&(C["effective_date.lte"]=g),y!==void 0&&(C.composite_ticker=y),p!==void 0&&(C["composite_ticker.any_of"]=p),f!==void 0&&(C["composite_ticker.gt"]=f),m!==void 0&&(C["composite_ticker.gte"]=m),u!==void 0&&(C["composite_ticker.lt"]=u),b!==void 0&&(C["composite_ticker.lte"]=b),h!==void 0&&(C.limit=h),x!==void 0&&(C.sort=x),z(k,C);let w=A&&A.headers?A.headers:{};return G.headers={...S,...w,...R.headers},{url:E(k),options:G}},getEtfGlobalV1Taxonomies:async(e,t,i,n,s,o,r,d,l,g,y,p,f,m,u,b,h,x,R={})=>{let c="/etf-global/v1/taxonomies",k=new URL(c,B),A;a&&(A=a.baseOptions);let G={method:"GET",...A,...R},S={},C={};await U(C,"apiKey",a),e!==void 0&&(C.processed_date=e),t!==void 0&&(C["processed_date.gt"]=t),i!==void 0&&(C["processed_date.gte"]=i),n!==void 0&&(C["processed_date.lt"]=n),s!==void 0&&(C["processed_date.lte"]=s),o!==void 0&&(C.effective_date=o),r!==void 0&&(C["effective_date.gt"]=r),d!==void 0&&(C["effective_date.gte"]=d),l!==void 0&&(C["effective_date.lt"]=l),g!==void 0&&(C["effective_date.lte"]=g),y!==void 0&&(C.composite_ticker=y),p!==void 0&&(C["composite_ticker.any_of"]=p),f!==void 0&&(C["composite_ticker.gt"]=f),m!==void 0&&(C["composite_ticker.gte"]=m),u!==void 0&&(C["composite_ticker.lt"]=u),b!==void 0&&(C["composite_ticker.lte"]=b),h!==void 0&&(C.limit=h),x!==void 0&&(C.sort=x),z(k,C);let w=A&&A.headers?A.headers:{};return G.headers={...S,...w,...R.headers},{url:E(k),options:G}},getEvents:async(e,t,i={})=>{Y("getEvents","id",e);let n="/vX/reference/tickers/{id}/events".replace("{id}",encodeURIComponent(String(e))),s=new URL(n,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:E(s),options:r}},getFedV1Inflation:async(e,t,i,n,s,o,r,d,l={})=>{let g="/fed/v1/inflation",y=new URL(g,B),p;a&&(p=a.baseOptions);let f={method:"GET",...p,...l},m={},u={};await U(u,"apiKey",a),e!==void 0&&(u.date=e),t!==void 0&&(u["date.any_of"]=t),i!==void 0&&(u["date.gt"]=i),n!==void 0&&(u["date.gte"]=n),s!==void 0&&(u["date.lt"]=s),o!==void 0&&(u["date.lte"]=o),r!==void 0&&(u.limit=r),d!==void 0&&(u.sort=d),z(y,u);let b=p&&p.headers?p.headers:{};return f.headers={...m,...b,...l.headers},{url:E(y),options:f}},getFedV1InflationExpectations:async(e,t,i,n,s,o,r,d,l={})=>{let g="/fed/v1/inflation-expectations",y=new URL(g,B),p;a&&(p=a.baseOptions);let f={method:"GET",...p,...l},m={},u={};await U(u,"apiKey",a),e!==void 0&&(u.date=e),t!==void 0&&(u["date.any_of"]=t),i!==void 0&&(u["date.gt"]=i),n!==void 0&&(u["date.gte"]=n),s!==void 0&&(u["date.lt"]=s),o!==void 0&&(u["date.lte"]=o),r!==void 0&&(u.limit=r),d!==void 0&&(u.sort=d),z(y,u);let b=p&&p.headers?p.headers:{};return f.headers={...m,...b,...l.headers},{url:E(y),options:f}},getFedV1LaborMarket:async(e,t,i,n,s,o,r,d,l={})=>{let g="/fed/v1/labor-market",y=new URL(g,B),p;a&&(p=a.baseOptions);let f={method:"GET",...p,...l},m={},u={};await U(u,"apiKey",a),e!==void 0&&(u.date=e),t!==void 0&&(u["date.any_of"]=t),i!==void 0&&(u["date.gt"]=i),n!==void 0&&(u["date.gte"]=n),s!==void 0&&(u["date.lt"]=s),o!==void 0&&(u["date.lte"]=o),r!==void 0&&(u.limit=r),d!==void 0&&(u.sort=d),z(y,u);let b=p&&p.headers?p.headers:{};return f.headers={...m,...b,...l.headers},{url:E(y),options:f}},getFedV1TreasuryYields:async(e,t,i,n,s,o,r,d,l={})=>{let g="/fed/v1/treasury-yields",y=new URL(g,B),p;a&&(p=a.baseOptions);let f={method:"GET",...p,...l},m={},u={};await U(u,"apiKey",a),e!==void 0&&(u.date=e),t!==void 0&&(u["date.any_of"]=t),i!==void 0&&(u["date.gt"]=i),n!==void 0&&(u["date.gte"]=n),s!==void 0&&(u["date.lt"]=s),o!==void 0&&(u["date.lte"]=o),r!==void 0&&(u.limit=r),d!==void 0&&(u.sort=d),z(y,u);let b=p&&p.headers?p.headers:{};return f.headers={...m,...b,...l.headers},{url:E(y),options:f}},getForexAggregates:async(e,t,i,n,s,o,r,d,l={})=>{Y("getForexAggregates","forexTicker",e),Y("getForexAggregates","multiplier",t),Y("getForexAggregates","timespan",i),Y("getForexAggregates","from",n),Y("getForexAggregates","to",s);let g="/v2/aggs/ticker/{forexTicker}/range/{multiplier}/{timespan}/{from}/{to}".replace("{forexTicker}",encodeURIComponent(String(e))).replace("{multiplier}",encodeURIComponent(String(t))).replace("{timespan}",encodeURIComponent(String(i))).replace("{from}",encodeURIComponent(String(n))).replace("{to}",encodeURIComponent(String(s))),y=new URL(g,B),p;a&&(p=a.baseOptions);let f={method:"GET",...p,...l},m={},u={};await U(u,"apiKey",a),o!==void 0&&(u.adjusted=o),r!==void 0&&(u.sort=r),d!==void 0&&(u.limit=d),z(y,u);let b=p&&p.headers?p.headers:{};return f.headers={...m,...b,...l.headers},{url:E(y),options:f}},getForexEMA:async(e,t,i,n,s,o,r,d,l,g,y,p,f,m={})=>{Y("getForexEMA","fxTicker",e);let u="/v1/indicators/ema/{fxTicker}".replace("{fxTicker}",encodeURIComponent(String(e))),b=new URL(u,B),h;a&&(h=a.baseOptions);let x={method:"GET",...h,...m},R={},c={};await U(c,"apiKey",a),t!==void 0&&(c.timestamp=t),i!==void 0&&(c.timespan=i),n!==void 0&&(c.adjusted=n),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),y!==void 0&&(c["timestamp.gt"]=y),p!==void 0&&(c["timestamp.lte"]=p),f!==void 0&&(c["timestamp.lt"]=f),z(b,c);let k=h&&h.headers?h.headers:{};return x.headers={...R,...k,...m.headers},{url:E(b),options:x}},getForexMACD:async(e,t,i,n,s,o,r,d,l,g,y,p,f,m,u,b={})=>{Y("getForexMACD","fxTicker",e);let h="/v1/indicators/macd/{fxTicker}".replace("{fxTicker}",encodeURIComponent(String(e))),x=new URL(h,B),R;a&&(R=a.baseOptions);let c={method:"GET",...R,...b},k={},A={};await U(A,"apiKey",a),t!==void 0&&(A.timestamp=t),i!==void 0&&(A.timespan=i),n!==void 0&&(A.adjusted=n),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),y!==void 0&&(A.limit=y),p!==void 0&&(A["timestamp.gte"]=p),f!==void 0&&(A["timestamp.gt"]=f),m!==void 0&&(A["timestamp.lte"]=m),u!==void 0&&(A["timestamp.lt"]=u),z(x,A);let G=R&&R.headers?R.headers:{};return c.headers={...k,...G,...b.headers},{url:E(x),options:c}},getForexQuotes:async(e,t,i,n,s,o,r,d,l,g={})=>{Y("getForexQuotes","fxTicker",e);let y="/v3/quotes/{fxTicker}".replace("{fxTicker}",encodeURIComponent(String(e))),p=new URL(y,B),f;a&&(f=a.baseOptions);let m={method:"GET",...f,...g},u={},b={};await U(b,"apiKey",a),t!==void 0&&(b.timestamp=t),i!==void 0&&(b["timestamp.gte"]=i),n!==void 0&&(b["timestamp.gt"]=n),s!==void 0&&(b["timestamp.lte"]=s),o!==void 0&&(b["timestamp.lt"]=o),r!==void 0&&(b.order=r),d!==void 0&&(b.limit=d),l!==void 0&&(b.sort=l),z(p,b);let h=f&&f.headers?f.headers:{};return m.headers={...u,...h,...g.headers},{url:E(p),options:m}},getForexRSI:async(e,t,i,n,s,o,r,d,l,g,y,p,f,m={})=>{Y("getForexRSI","fxTicker",e);let u="/v1/indicators/rsi/{fxTicker}".replace("{fxTicker}",encodeURIComponent(String(e))),b=new URL(u,B),h;a&&(h=a.baseOptions);let x={method:"GET",...h,...m},R={},c={};await U(c,"apiKey",a),t!==void 0&&(c.timestamp=t),i!==void 0&&(c.timespan=i),n!==void 0&&(c.adjusted=n),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),y!==void 0&&(c["timestamp.gt"]=y),p!==void 0&&(c["timestamp.lte"]=p),f!==void 0&&(c["timestamp.lt"]=f),z(b,c);let k=h&&h.headers?h.headers:{};return x.headers={...R,...k,...m.headers},{url:E(b),options:x}},getForexSMA:async(e,t,i,n,s,o,r,d,l,g,y,p,f,m={})=>{Y("getForexSMA","fxTicker",e);let u="/v1/indicators/sma/{fxTicker}".replace("{fxTicker}",encodeURIComponent(String(e))),b=new URL(u,B),h;a&&(h=a.baseOptions);let x={method:"GET",...h,...m},R={},c={};await U(c,"apiKey",a),t!==void 0&&(c.timestamp=t),i!==void 0&&(c.timespan=i),n!==void 0&&(c.adjusted=n),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),y!==void 0&&(c["timestamp.gt"]=y),p!==void 0&&(c["timestamp.lte"]=p),f!==void 0&&(c["timestamp.lt"]=f),z(b,c);let k=h&&h.headers?h.headers:{};return x.headers={...R,...k,...m.headers},{url:E(b),options:x}},getForexSnapshotDirection:async(e,t={})=>{Y("getForexSnapshotDirection","direction",e);let i="/v2/snapshot/locale/global/markets/forex/{direction}".replace("{direction}",encodeURIComponent(String(e))),n=new URL(i,B),s;a&&(s=a.baseOptions);let o={method:"GET",...s,...t},r={},d={};await U(d,"apiKey",a),z(n,d);let l=s&&s.headers?s.headers:{};return o.headers={...r,...l,...t.headers},{url:E(n),options:o}},getForexSnapshotTicker:async(e,t={})=>{Y("getForexSnapshotTicker","ticker",e);let i="/v2/snapshot/locale/global/markets/forex/tickers/{ticker}".replace("{ticker}",encodeURIComponent(String(e))),n=new URL(i,B),s;a&&(s=a.baseOptions);let o={method:"GET",...s,...t},r={},d={};await U(d,"apiKey",a),z(n,d);let l=s&&s.headers?s.headers:{};return o.headers={...r,...l,...t.headers},{url:E(n),options:o}},getForexSnapshotTickers:async(e,t={})=>{let i="/v2/snapshot/locale/global/markets/forex/tickers",n=new URL(i,B),s;a&&(s=a.baseOptions);let o={method:"GET",...s,...t},r={},d={};await U(d,"apiKey",a),e&&(d.tickers=e),z(n,d);let l=s&&s.headers?s.headers:{};return o.headers={...r,...l,...t.headers},{url:E(n),options:o}},getForexV1Exchanges:async(e,t={})=>{let i="/forex/v1/exchanges",n=new URL(i,B),s;a&&(s=a.baseOptions);let o={method:"GET",...s,...t},r={},d={};await U(d,"apiKey",a),e!==void 0&&(d.limit=e),z(n,d);let l=s&&s.headers?s.headers:{};return o.headers={...r,...l,...t.headers},{url:E(n),options:o}},getFuturesAggregates:async(e,t,i,n,s,o,r,d,l,g={})=>{Y("getFuturesAggregates","ticker",e);let y="/futures/vX/aggs/{ticker}".replace("{ticker}",encodeURIComponent(String(e))),p=new URL(y,B),f;a&&(f=a.baseOptions);let m={method:"GET",...f,...g},u={},b={};await U(b,"apiKey",a),t!==void 0&&(b.resolution=t),i!==void 0&&(b.window_start=i),n!==void 0&&(b.limit=n),s!==void 0&&(b["window_start.gte"]=s),o!==void 0&&(b["window_start.gt"]=o),r!==void 0&&(b["window_start.lte"]=r),d!==void 0&&(b["window_start.lt"]=d),l!==void 0&&(b.sort=l),z(p,b);let h=f&&f.headers?f.headers:{};return m.headers={...u,...h,...g.headers},{url:E(p),options:m}},getFuturesQuotes:async(e,t,i,n,s,o,r,d,l,g,y,p,f,m={})=>{Y("getFuturesQuotes","ticker",e);let u="/futures/vX/quotes/{ticker}".replace("{ticker}",encodeURIComponent(String(e))),b=new URL(u,B),h;a&&(h=a.baseOptions);let x={method:"GET",...h,...m},R={},c={};await U(c,"apiKey",a),t!==void 0&&(c.timestamp=t),i!==void 0&&(c.session_end_date=i),n!==void 0&&(c.limit=n),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),y!==void 0&&(c["session_end_date.lte"]=y),p!==void 0&&(c["session_end_date.lt"]=p),f!==void 0&&(c.sort=f),z(b,c);let k=h&&h.headers?h.headers:{};return x.headers={...R,...k,...m.headers},{url:E(b),options:x}},getFuturesTrades:async(e,t,i,n,s,o,r,d,l,g,y,p,f,m={})=>{Y("getFuturesTrades","ticker",e);let u="/futures/vX/trades/{ticker}".replace("{ticker}",encodeURIComponent(String(e))),b=new URL(u,B),h;a&&(h=a.baseOptions);let x={method:"GET",...h,...m},R={},c={};await U(c,"apiKey",a),t!==void 0&&(c.timestamp=t),i!==void 0&&(c.session_end_date=i),n!==void 0&&(c.limit=n),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),y!==void 0&&(c["session_end_date.lte"]=y),p!==void 0&&(c["session_end_date.lt"]=p),f!==void 0&&(c.sort=f),z(b,c);let k=h&&h.headers?h.headers:{};return x.headers={...R,...k,...m.headers},{url:E(b),options:x}},getFuturesVXContracts:async(e,t,i,n,s,o,r,d,l,g,y,p,f,m,u,b,h,x,R,c,k,A,G,S,C,w,O,N,T,K,W,I,V={})=>{let v="/futures/vX/contracts",te=new URL(v,B),ee;a&&(ee=a.baseOptions);let se={method:"GET",...ee,...V},ie={},$={};await U($,"apiKey",a),e!==void 0&&($.date=e),t!==void 0&&($["date.gt"]=t),i!==void 0&&($["date.gte"]=i),n!==void 0&&($["date.lt"]=n),s!==void 0&&($["date.lte"]=s),o!==void 0&&($.product_code=o),r!==void 0&&($["product_code.any_of"]=r),d!==void 0&&($["product_code.gt"]=d),l!==void 0&&($["product_code.gte"]=l),g!==void 0&&($["product_code.lt"]=g),y!==void 0&&($["product_code.lte"]=y),p!==void 0&&($.ticker=p),f!==void 0&&($["ticker.any_of"]=f),m!==void 0&&($["ticker.gt"]=m),u!==void 0&&($["ticker.gte"]=u),b!==void 0&&($["ticker.lt"]=b),h!==void 0&&($["ticker.lte"]=h),x!==void 0&&($.active=x),R!==void 0&&($.type=R),c!==void 0&&($["type.any_of"]=c),k!==void 0&&($.first_trade_date=k),A!==void 0&&($["first_trade_date.gt"]=A),G!==void 0&&($["first_trade_date.gte"]=G),S!==void 0&&($["first_trade_date.lt"]=S),C!==void 0&&($["first_trade_date.lte"]=C),w!==void 0&&($.last_trade_date=w),O!==void 0&&($["last_trade_date.gt"]=O),N!==void 0&&($["last_trade_date.gte"]=N),T!==void 0&&($["last_trade_date.lt"]=T),K!==void 0&&($["last_trade_date.lte"]=K),W!==void 0&&($.limit=W),I!==void 0&&($.sort=I),z(te,$);let oe=ee&&ee.headers?ee.headers:{};return se.headers={...ie,...oe,...V.headers},{url:E(te),options:se}},getFuturesVXExchanges:async(e,t={})=>{let i="/futures/vX/exchanges",n=new URL(i,B),s;a&&(s=a.baseOptions);let o={method:"GET",...s,...t},r={},d={};await U(d,"apiKey",a),e!==void 0&&(d.limit=e),z(n,d);let l=s&&s.headers?s.headers:{};return o.headers={...r,...l,...t.headers},{url:E(n),options:o}},getFuturesVXMarketStatus:async(e,t,i,n,s,o,r,d={})=>{let l="/futures/vX/market-status",g=new URL(l,B),y;a&&(y=a.baseOptions);let p={method:"GET",...y,...d},f={},m={};await U(m,"apiKey",a),e!==void 0&&(m.product_code=e),t!==void 0&&(m["product_code.any_of"]=t),i!==void 0&&(m["product_code.gt"]=i),n!==void 0&&(m["product_code.gte"]=n),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 u=y&&y.headers?y.headers:{};return p.headers={...f,...u,...d.headers},{url:E(g),options:p}},getFuturesVXProducts:async(e,t,i,n,s,o,r,d,l,g,y,p,f,m,u,b,h,x,R,c,k,A,G,S,C,w,O,N,T,K,W,I,V,v,te,ee={})=>{let se="/futures/vX/products",ie=new URL(se,B),$;a&&($=a.baseOptions);let oe={method:"GET",...$,...ee},re={},L={};await U(L,"apiKey",a),e!==void 0&&(L.name=e),t!==void 0&&(L["name.any_of"]=t),i!==void 0&&(L["name.gt"]=i),n!==void 0&&(L["name.gte"]=n),s!==void 0&&(L["name.lt"]=s),o!==void 0&&(L["name.lte"]=o),r!==void 0&&(L.product_code=r),d!==void 0&&(L["product_code.any_of"]=d),l!==void 0&&(L["product_code.gt"]=l),g!==void 0&&(L["product_code.gte"]=g),y!==void 0&&(L["product_code.lt"]=y),p!==void 0&&(L["product_code.lte"]=p),f!==void 0&&(L.date=f),m!==void 0&&(L["date.gt"]=m),u!==void 0&&(L["date.gte"]=u),b!==void 0&&(L["date.lt"]=b),h!==void 0&&(L["date.lte"]=h),x!==void 0&&(L.trading_venue=x),R!==void 0&&(L["trading_venue.any_of"]=R),c!==void 0&&(L["trading_venue.gt"]=c),k!==void 0&&(L["trading_venue.gte"]=k),A!==void 0&&(L["trading_venue.lt"]=A),G!==void 0&&(L["trading_venue.lte"]=G),S!==void 0&&(L.sector=S),C!==void 0&&(L["sector.any_of"]=C),w!==void 0&&(L.sub_sector=w),O!==void 0&&(L["sub_sector.any_of"]=O),N!==void 0&&(L.asset_class=N),T!==void 0&&(L["asset_class.any_of"]=T),K!==void 0&&(L.asset_sub_class=K),W!==void 0&&(L["asset_sub_class.any_of"]=W),I!==void 0&&(L.type=I),V!==void 0&&(L["type.any_of"]=V),v!==void 0&&(L.limit=v),te!==void 0&&(L.sort=te),z(ie,L);let ae=$&&$.headers?$.headers:{};return oe.headers={...re,...ae,...ee.headers},{url:E(ie),options:oe}},getFuturesVXSchedules:async(e,t,i,n,s,o,r,d,l,g,y,p,f,m,u,b,h,x,R,c,k={})=>{let A="/futures/vX/schedules",G=new URL(A,B),S;a&&(S=a.baseOptions);let C={method:"GET",...S,...k},w={},O={};await U(O,"apiKey",a),e!==void 0&&(O.product_code=e),t!==void 0&&(O["product_code.any_of"]=t),i!==void 0&&(O["product_code.gt"]=i),n!==void 0&&(O["product_code.gte"]=n),s!==void 0&&(O["product_code.lt"]=s),o!==void 0&&(O["product_code.lte"]=o),r!==void 0&&(O.session_end_date=r),d!==void 0&&(O["session_end_date.any_of"]=d),l!==void 0&&(O["session_end_date.gt"]=l),g!==void 0&&(O["session_end_date.gte"]=g),y!==void 0&&(O["session_end_date.lt"]=y),p!==void 0&&(O["session_end_date.lte"]=p),f!==void 0&&(O.trading_venue=f),m!==void 0&&(O["trading_venue.any_of"]=m),u!==void 0&&(O["trading_venue.gt"]=u),b!==void 0&&(O["trading_venue.gte"]=b),h!==void 0&&(O["trading_venue.lt"]=h),x!==void 0&&(O["trading_venue.lte"]=x),R!==void 0&&(O.limit=R),c!==void 0&&(O.sort=c),z(G,O);let N=S&&S.headers?S.headers:{};return C.headers={...w,...N,...k.headers},{url:E(G),options:C}},getFuturesVXSnapshot:async(e,t,i,n,s,o,r,d,l,g,y,p,f,m,u={})=>{let b="/futures/vX/snapshot",h=new URL(b,B),x;a&&(x=a.baseOptions);let R={method:"GET",...x,...u},c={},k={};await U(k,"apiKey",a),e!==void 0&&(k.product_code=e),t!==void 0&&(k["product_code.any_of"]=t),i!==void 0&&(k["product_code.gt"]=i),n!==void 0&&(k["product_code.gte"]=n),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),y!==void 0&&(k["ticker.lt"]=y),p!==void 0&&(k["ticker.lte"]=p),f!==void 0&&(k.limit=f),m!==void 0&&(k.sort=m),z(h,k);let A=x&&x.headers?x.headers:{};return R.headers={...c,...A,...u.headers},{url:E(h),options:R}},getGroupedCryptoAggregates:async(e,t,i={})=>{Y("getGroupedCryptoAggregates","date",e);let n="/v2/aggs/grouped/locale/global/market/crypto/{date}".replace("{date}",encodeURIComponent(String(e))),s=new URL(n,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:E(s),options:r}},getGroupedForexAggregates:async(e,t,i={})=>{Y("getGroupedForexAggregates","date",e);let n="/v2/aggs/grouped/locale/global/market/fx/{date}".replace("{date}",encodeURIComponent(String(e))),s=new URL(n,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:E(s),options:r}},getGroupedStocksAggregates:async(e,t,i,n={})=>{Y("getGroupedStocksAggregates","date",e);let s="/v2/aggs/grouped/locale/us/market/stocks/{date}".replace("{date}",encodeURIComponent(String(e))),o=new URL(s,B),r;a&&(r=a.baseOptions);let d={method:"GET",...r,...n},l={},g={};await U(g,"apiKey",a),t!==void 0&&(g.adjusted=t),i!==void 0&&(g.include_otc=i),z(o,g);let y=r&&r.headers?r.headers:{};return d.headers={...l,...y,...n.headers},{url:E(o),options:d}},getIndicesAggregates:async(e,t,i,n,s,o,r,d={})=>{Y("getIndicesAggregates","indicesTicker",e),Y("getIndicesAggregates","multiplier",t),Y("getIndicesAggregates","timespan",i),Y("getIndicesAggregates","from",n),Y("getIndicesAggregates","to",s);let l="/v2/aggs/ticker/{indicesTicker}/range/{multiplier}/{timespan}/{from}/{to}".replace("{indicesTicker}",encodeURIComponent(String(e))).replace("{multiplier}",encodeURIComponent(String(t))).replace("{timespan}",encodeURIComponent(String(i))).replace("{from}",encodeURIComponent(String(n))).replace("{to}",encodeURIComponent(String(s))),g=new URL(l,B),y;a&&(y=a.baseOptions);let p={method:"GET",...y,...d},f={},m={};await U(m,"apiKey",a),o!==void 0&&(m.sort=o),r!==void 0&&(m.limit=r),z(g,m);let u=y&&y.headers?y.headers:{};return p.headers={...f,...u,...d.headers},{url:E(g),options:p}},getIndicesEMA:async(e,t,i,n,s,o,r,d,l,g,y,p,f,m={})=>{Y("getIndicesEMA","indicesTicker",e);let u="/v1/indicators/ema/{indicesTicker}".replace("{indicesTicker}",encodeURIComponent(String(e))),b=new URL(u,B),h;a&&(h=a.baseOptions);let x={method:"GET",...h,...m},R={},c={};await U(c,"apiKey",a),t!==void 0&&(c.timestamp=t),i!==void 0&&(c.timespan=i),n!==void 0&&(c.adjusted=n),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),y!==void 0&&(c["timestamp.gt"]=y),p!==void 0&&(c["timestamp.lte"]=p),f!==void 0&&(c["timestamp.lt"]=f),z(b,c);let k=h&&h.headers?h.headers:{};return x.headers={...R,...k,...m.headers},{url:E(b),options:x}},getIndicesMACD:async(e,t,i,n,s,o,r,d,l,g,y,p,f,m,u,b={})=>{Y("getIndicesMACD","indicesTicker",e);let h="/v1/indicators/macd/{indicesTicker}".replace("{indicesTicker}",encodeURIComponent(String(e))),x=new URL(h,B),R;a&&(R=a.baseOptions);let c={method:"GET",...R,...b},k={},A={};await U(A,"apiKey",a),t!==void 0&&(A.timestamp=t),i!==void 0&&(A.timespan=i),n!==void 0&&(A.adjusted=n),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),y!==void 0&&(A.limit=y),p!==void 0&&(A["timestamp.gte"]=p),f!==void 0&&(A["timestamp.gt"]=f),m!==void 0&&(A["timestamp.lte"]=m),u!==void 0&&(A["timestamp.lt"]=u),z(x,A);let G=R&&R.headers?R.headers:{};return c.headers={...k,...G,...b.headers},{url:E(x),options:c}},getIndicesOpenClose:async(e,t,i={})=>{Y("getIndicesOpenClose","indicesTicker",e),Y("getIndicesOpenClose","date",t);let n="/v1/open-close/{indicesTicker}/{date}".replace("{indicesTicker}",encodeURIComponent(String(e))).replace("{date}",encodeURIComponent(String(t))),s=new URL(n,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:E(s),options:r}},getIndicesRSI:async(e,t,i,n,s,o,r,d,l,g,y,p,f,m={})=>{Y("getIndicesRSI","indicesTicker",e);let u="/v1/indicators/rsi/{indicesTicker}".replace("{indicesTicker}",encodeURIComponent(String(e))),b=new URL(u,B),h;a&&(h=a.baseOptions);let x={method:"GET",...h,...m},R={},c={};await U(c,"apiKey",a),t!==void 0&&(c.timestamp=t),i!==void 0&&(c.timespan=i),n!==void 0&&(c.adjusted=n),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),y!==void 0&&(c["timestamp.gt"]=y),p!==void 0&&(c["timestamp.lte"]=p),f!==void 0&&(c["timestamp.lt"]=f),z(b,c);let k=h&&h.headers?h.headers:{};return x.headers={...R,...k,...m.headers},{url:E(b),options:x}},getIndicesSMA:async(e,t,i,n,s,o,r,d,l,g,y,p,f,m={})=>{Y("getIndicesSMA","indicesTicker",e);let u="/v1/indicators/sma/{indicesTicker}".replace("{indicesTicker}",encodeURIComponent(String(e))),b=new URL(u,B),h;a&&(h=a.baseOptions);let x={method:"GET",...h,...m},R={},c={};await U(c,"apiKey",a),t!==void 0&&(c.timestamp=t),i!==void 0&&(c.timespan=i),n!==void 0&&(c.adjusted=n),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),y!==void 0&&(c["timestamp.gt"]=y),p!==void 0&&(c["timestamp.lte"]=p),f!==void 0&&(c["timestamp.lt"]=f),z(b,c);let k=h&&h.headers?h.headers:{};return x.headers={...R,...k,...m.headers},{url:E(b),options:x}},getIndicesSnapshot:async(e,t,i,n,s,o,r,d,l,g={})=>{let y="/v3/snapshot/indices",p=new URL(y,B),f;a&&(f=a.baseOptions);let m={method:"GET",...f,...g},u={},b={};await U(b,"apiKey",a),e!==void 0&&(b["ticker.any_of"]=e),t!==void 0&&(b.ticker=t),i!==void 0&&(b["ticker.gte"]=i),n!==void 0&&(b["ticker.gt"]=n),s!==void 0&&(b["ticker.lte"]=s),o!==void 0&&(b["ticker.lt"]=o),r!==void 0&&(b.order=r),d!==void 0&&(b.limit=d),l!==void 0&&(b.sort=l),z(p,b);let h=f&&f.headers?f.headers:{};return m.headers={...u,...h,...g.headers},{url:E(p),options:m}},getLastCryptoTrade:async(e,t,i={})=>{Y("getLastCryptoTrade","from",e),Y("getLastCryptoTrade","to",t);let n="/v1/last/crypto/{from}/{to}".replace("{from}",encodeURIComponent(String(e))).replace("{to}",encodeURIComponent(String(t))),s=new URL(n,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:E(s),options:r}},getLastCurrencyQuote:async(e,t,i={})=>{Y("getLastCurrencyQuote","from",e),Y("getLastCurrencyQuote","to",t);let n="/v1/last_quote/currencies/{from}/{to}".replace("{from}",encodeURIComponent(String(e))).replace("{to}",encodeURIComponent(String(t))),s=new URL(n,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:E(s),options:r}},getLastOptionsTrade:async(e,t={})=>{Y("getLastOptionsTrade","optionsTicker",e);let i="/v2/last/trade/{optionsTicker}".replace("{optionsTicker}",encodeURIComponent(String(e))),n=new URL(i,B),s;a&&(s=a.baseOptions);let o={method:"GET",...s,...t},r={},d={};await U(d,"apiKey",a),z(n,d);let l=s&&s.headers?s.headers:{};return o.headers={...r,...l,...t.headers},{url:E(n),options:o}},getLastStocksQuote:async(e,t={})=>{Y("getLastStocksQuote","stocksTicker",e);let i="/v2/last/nbbo/{stocksTicker}".replace("{stocksTicker}",encodeURIComponent(String(e))),n=new URL(i,B),s;a&&(s=a.baseOptions);let o={method:"GET",...s,...t},r={},d={};await U(d,"apiKey",a),z(n,d);let l=s&&s.headers?s.headers:{};return o.headers={...r,...l,...t.headers},{url:E(n),options:o}},getLastStocksTrade:async(e,t={})=>{Y("getLastStocksTrade","stocksTicker",e);let i="/v2/last/trade/{stocksTicker}".replace("{stocksTicker}",encodeURIComponent(String(e))),n=new URL(i,B),s;a&&(s=a.baseOptions);let o={method:"GET",...s,...t},r={},d={};await U(d,"apiKey",a),z(n,d);let l=s&&s.headers?s.headers:{};return o.headers={...r,...l,...t.headers},{url:E(n),options:o}},getMarketHolidays:async(e={})=>{let t="/v1/marketstatus/upcoming",i=new URL(t,B),n;a&&(n=a.baseOptions);let s={method:"GET",...n,...e},o={},r={};await U(r,"apiKey",a),z(i,r);let d=n&&n.headers?n.headers:{};return s.headers={...o,...d,...e.headers},{url:E(i),options:s}},getMarketStatus:async(e={})=>{let t="/v1/marketstatus/now",i=new URL(t,B),n;a&&(n=a.baseOptions);let s={method:"GET",...n,...e},o={},r={};await U(r,"apiKey",a),z(i,r);let d=n&&n.headers?n.headers:{};return s.headers={...o,...d,...e.headers},{url:E(i),options:s}},getOptionContract:async(e,t,i={})=>{Y("getOptionContract","underlyingAsset",e),Y("getOptionContract","optionContract",t);let n="/v3/snapshot/options/{underlyingAsset}/{optionContract}".replace("{underlyingAsset}",encodeURIComponent(String(e))).replace("{optionContract}",encodeURIComponent(String(t))),s=new URL(n,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:E(s),options:r}},getOptionsAggregates:async(e,t,i,n,s,o,r,d,l={})=>{Y("getOptionsAggregates","optionsTicker",e),Y("getOptionsAggregates","multiplier",t),Y("getOptionsAggregates","timespan",i),Y("getOptionsAggregates","from",n),Y("getOptionsAggregates","to",s);let g="/v2/aggs/ticker/{optionsTicker}/range/{multiplier}/{timespan}/{from}/{to}".replace("{optionsTicker}",encodeURIComponent(String(e))).replace("{multiplier}",encodeURIComponent(String(t))).replace("{timespan}",encodeURIComponent(String(i))).replace("{from}",encodeURIComponent(String(n))).replace("{to}",encodeURIComponent(String(s))),y=new URL(g,B),p;a&&(p=a.baseOptions);let f={method:"GET",...p,...l},m={},u={};await U(u,"apiKey",a),o!==void 0&&(u.adjusted=o),r!==void 0&&(u.sort=r),d!==void 0&&(u.limit=d),z(y,u);let b=p&&p.headers?p.headers:{};return f.headers={...m,...b,...l.headers},{url:E(y),options:f}},getOptionsChain:async(e,t,i,n,s,o,r,d,l,g,y,p,f,m,u,b={})=>{Y("getOptionsChain","underlyingAsset",e);let h="/v3/snapshot/options/{underlyingAsset}".replace("{underlyingAsset}",encodeURIComponent(String(e))),x=new URL(h,B),R;a&&(R=a.baseOptions);let c={method:"GET",...R,...b},k={},A={};await U(A,"apiKey",a),t!==void 0&&(A.strike_price=t),i!==void 0&&(A.expiration_date=i),n!==void 0&&(A.contract_type=n),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),y!==void 0&&(A["expiration_date.lte"]=y),p!==void 0&&(A["expiration_date.lt"]=p),f!==void 0&&(A.order=f),m!==void 0&&(A.limit=m),u!==void 0&&(A.sort=u),z(x,A);let G=R&&R.headers?R.headers:{};return c.headers={...k,...G,...b.headers},{url:E(x),options:c}},getOptionsContract:async(e,t,i={})=>{Y("getOptionsContract","optionsTicker",e);let n="/v3/reference/options/contracts/{options_ticker}".replace("{options_ticker}",encodeURIComponent(String(e))),s=new URL(n,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:E(s),options:r}},getOptionsEMA:async(e,t,i,n,s,o,r,d,l,g,y,p,f,m={})=>{Y("getOptionsEMA","optionsTicker",e);let u="/v1/indicators/ema/{optionsTicker}".replace("{optionsTicker}",encodeURIComponent(String(e))),b=new URL(u,B),h;a&&(h=a.baseOptions);let x={method:"GET",...h,...m},R={},c={};await U(c,"apiKey",a),t!==void 0&&(c.timestamp=t),i!==void 0&&(c.timespan=i),n!==void 0&&(c.adjusted=n),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),y!==void 0&&(c["timestamp.gt"]=y),p!==void 0&&(c["timestamp.lte"]=p),f!==void 0&&(c["timestamp.lt"]=f),z(b,c);let k=h&&h.headers?h.headers:{};return x.headers={...R,...k,...m.headers},{url:E(b),options:x}},getOptionsMACD:async(e,t,i,n,s,o,r,d,l,g,y,p,f,m,u,b={})=>{Y("getOptionsMACD","optionsTicker",e);let h="/v1/indicators/macd/{optionsTicker}".replace("{optionsTicker}",encodeURIComponent(String(e))),x=new URL(h,B),R;a&&(R=a.baseOptions);let c={method:"GET",...R,...b},k={},A={};await U(A,"apiKey",a),t!==void 0&&(A.timestamp=t),i!==void 0&&(A.timespan=i),n!==void 0&&(A.adjusted=n),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),y!==void 0&&(A.limit=y),p!==void 0&&(A["timestamp.gte"]=p),f!==void 0&&(A["timestamp.gt"]=f),m!==void 0&&(A["timestamp.lte"]=m),u!==void 0&&(A["timestamp.lt"]=u),z(x,A);let G=R&&R.headers?R.headers:{};return c.headers={...k,...G,...b.headers},{url:E(x),options:c}},getOptionsOpenClose:async(e,t,i,n={})=>{Y("getOptionsOpenClose","optionsTicker",e),Y("getOptionsOpenClose","date",t);let s="/v1/open-close/{optionsTicker}/{date}".replace("{optionsTicker}",encodeURIComponent(String(e))).replace("{date}",encodeURIComponent(String(t))),o=new URL(s,B),r;a&&(r=a.baseOptions);let d={method:"GET",...r,...n},l={},g={};await U(g,"apiKey",a),i!==void 0&&(g.adjusted=i),z(o,g);let y=r&&r.headers?r.headers:{};return d.headers={...l,...y,...n.headers},{url:E(o),options:d}},getOptionsQuotes:async(e,t,i,n,s,o,r,d,l,g={})=>{Y("getOptionsQuotes","optionsTicker",e);let y="/v3/quotes/{optionsTicker}".replace("{optionsTicker}",encodeURIComponent(String(e))),p=new URL(y,B),f;a&&(f=a.baseOptions);let m={method:"GET",...f,...g},u={},b={};await U(b,"apiKey",a),t!==void 0&&(b.timestamp=t),i!==void 0&&(b["timestamp.gte"]=i),n!==void 0&&(b["timestamp.gt"]=n),s!==void 0&&(b["timestamp.lte"]=s),o!==void 0&&(b["timestamp.lt"]=o),r!==void 0&&(b.order=r),d!==void 0&&(b.limit=d),l!==void 0&&(b.sort=l),z(p,b);let h=f&&f.headers?f.headers:{};return m.headers={...u,...h,...g.headers},{url:E(p),options:m}},getOptionsRSI:async(e,t,i,n,s,o,r,d,l,g,y,p,f,m={})=>{Y("getOptionsRSI","optionsTicker",e);let u="/v1/indicators/rsi/{optionsTicker}".replace("{optionsTicker}",encodeURIComponent(String(e))),b=new URL(u,B),h;a&&(h=a.baseOptions);let x={method:"GET",...h,...m},R={},c={};await U(c,"apiKey",a),t!==void 0&&(c.timestamp=t),i!==void 0&&(c.timespan=i),n!==void 0&&(c.adjusted=n),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),y!==void 0&&(c["timestamp.gt"]=y),p!==void 0&&(c["timestamp.lte"]=p),f!==void 0&&(c["timestamp.lt"]=f),z(b,c);let k=h&&h.headers?h.headers:{};return x.headers={...R,...k,...m.headers},{url:E(b),options:x}},getOptionsSMA:async(e,t,i,n,s,o,r,d,l,g,y,p,f,m={})=>{Y("getOptionsSMA","optionsTicker",e);let u="/v1/indicators/sma/{optionsTicker}".replace("{optionsTicker}",encodeURIComponent(String(e))),b=new URL(u,B),h;a&&(h=a.baseOptions);let x={method:"GET",...h,...m},R={},c={};await U(c,"apiKey",a),t!==void 0&&(c.timestamp=t),i!==void 0&&(c.timespan=i),n!==void 0&&(c.adjusted=n),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),y!==void 0&&(c["timestamp.gt"]=y),p!==void 0&&(c["timestamp.lte"]=p),f!==void 0&&(c["timestamp.lt"]=f),z(b,c);let k=h&&h.headers?h.headers:{};return x.headers={...R,...k,...m.headers},{url:E(b),options:x}},getOptionsTrades:async(e,t,i,n,s,o,r,d,l,g={})=>{Y("getOptionsTrades","optionsTicker",e);let y="/v3/trades/{optionsTicker}".replace("{optionsTicker}",encodeURIComponent(String(e))),p=new URL(y,B),f;a&&(f=a.baseOptions);let m={method:"GET",...f,...g},u={},b={};await U(b,"apiKey",a),t!==void 0&&(b.timestamp=t),i!==void 0&&(b["timestamp.gte"]=i),n!==void 0&&(b["timestamp.gt"]=n),s!==void 0&&(b["timestamp.lte"]=s),o!==void 0&&(b["timestamp.lt"]=o),r!==void 0&&(b.order=r),d!==void 0&&(b.limit=d),l!==void 0&&(b.sort=l),z(p,b);let h=f&&f.headers?f.headers:{};return m.headers={...u,...h,...g.headers},{url:E(p),options:m}},getOptionsV1Exchanges:async(e,t={})=>{let i="/options/v1/exchanges",n=new URL(i,B),s;a&&(s=a.baseOptions);let o={method:"GET",...s,...t},r={},d={};await U(d,"apiKey",a),e!==void 0&&(d.limit=e),z(n,d);let l=s&&s.headers?s.headers:{};return o.headers={...r,...l,...t.headers},{url:E(n),options:o}},getPreviousCryptoAggregates:async(e,t,i={})=>{Y("getPreviousCryptoAggregates","cryptoTicker",e);let n="/v2/aggs/ticker/{cryptoTicker}/prev".replace("{cryptoTicker}",encodeURIComponent(String(e))),s=new URL(n,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:E(s),options:r}},getPreviousForexAggregates:async(e,t,i={})=>{Y("getPreviousForexAggregates","forexTicker",e);let n="/v2/aggs/ticker/{forexTicker}/prev".replace("{forexTicker}",encodeURIComponent(String(e))),s=new URL(n,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:E(s),options:r}},getPreviousIndicesAggregates:async(e,t={})=>{Y("getPreviousIndicesAggregates","indicesTicker",e);let i="/v2/aggs/ticker/{indicesTicker}/prev".replace("{indicesTicker}",encodeURIComponent(String(e))),n=new URL(i,B),s;a&&(s=a.baseOptions);let o={method:"GET",...s,...t},r={},d={};await U(d,"apiKey",a),z(n,d);let l=s&&s.headers?s.headers:{};return o.headers={...r,...l,...t.headers},{url:E(n),options:o}},getPreviousOptionsAggregates:async(e,t,i={})=>{Y("getPreviousOptionsAggregates","optionsTicker",e);let n="/v2/aggs/ticker/{optionsTicker}/prev".replace("{optionsTicker}",encodeURIComponent(String(e))),s=new URL(n,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:E(s),options:r}},getPreviousStocksAggregates:async(e,t,i={})=>{Y("getPreviousStocksAggregates","stocksTicker",e);let n="/v2/aggs/ticker/{stocksTicker}/prev".replace("{stocksTicker}",encodeURIComponent(String(e))),s=new URL(n,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:E(s),options:r}},getRelatedCompanies:async(e,t={})=>{Y("getRelatedCompanies","ticker",e);let i="/v1/related-companies/{ticker}".replace("{ticker}",encodeURIComponent(String(e))),n=new URL(i,B),s;a&&(s=a.baseOptions);let o={method:"GET",...s,...t},r={},d={};await U(d,"apiKey",a),z(n,d);let l=s&&s.headers?s.headers:{};return o.headers={...r,...l,...t.headers},{url:E(n),options:o}},getSnapshotSummary:async(e,t={})=>{let i="/v1/summaries",n=new URL(i,B),s;a&&(s=a.baseOptions);let o={method:"GET",...s,...t},r={},d={};await U(d,"apiKey",a),e!==void 0&&(d["ticker.any_of"]=e),z(n,d);let l=s&&s.headers?s.headers:{};return o.headers={...r,...l,...t.headers},{url:E(n),options:o}},getSnapshots:async(e,t,i,n,s,o,r,d,l,g,y={})=>{let p="/v3/snapshot",f=new URL(p,B),m;a&&(m=a.baseOptions);let u={method:"GET",...m,...y},b={},h={};await U(h,"apiKey",a),e!==void 0&&(h.ticker=e),t!==void 0&&(h.type=t),i!==void 0&&(h["ticker.gte"]=i),n!==void 0&&(h["ticker.gt"]=n),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 x=m&&m.headers?m.headers:{};return u.headers={...b,...x,...y.headers},{url:E(f),options:u}},getStocksAggregates:async(e,t,i,n,s,o,r,d,l={})=>{Y("getStocksAggregates","stocksTicker",e),Y("getStocksAggregates","multiplier",t),Y("getStocksAggregates","timespan",i),Y("getStocksAggregates","from",n),Y("getStocksAggregates","to",s);let g="/v2/aggs/ticker/{stocksTicker}/range/{multiplier}/{timespan}/{from}/{to}".replace("{stocksTicker}",encodeURIComponent(String(e))).replace("{multiplier}",encodeURIComponent(String(t))).replace("{timespan}",encodeURIComponent(String(i))).replace("{from}",encodeURIComponent(String(n))).replace("{to}",encodeURIComponent(String(s))),y=new URL(g,B),p;a&&(p=a.baseOptions);let f={method:"GET",...p,...l},m={},u={};await U(u,"apiKey",a),o!==void 0&&(u.adjusted=o),r!==void 0&&(u.sort=r),d!==void 0&&(u.limit=d),z(y,u);let b=p&&p.headers?p.headers:{};return f.headers={...m,...b,...l.headers},{url:E(y),options:f}},getStocksEMA:async(e,t,i,n,s,o,r,d,l,g,y,p,f,m={})=>{Y("getStocksEMA","stockTicker",e);let u="/v1/indicators/ema/{stockTicker}".replace("{stockTicker}",encodeURIComponent(String(e))),b=new URL(u,B),h;a&&(h=a.baseOptions);let x={method:"GET",...h,...m},R={},c={};await U(c,"apiKey",a),t!==void 0&&(c.timestamp=t),i!==void 0&&(c.timespan=i),n!==void 0&&(c.adjusted=n),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),y!==void 0&&(c["timestamp.gt"]=y),p!==void 0&&(c["timestamp.lte"]=p),f!==void 0&&(c["timestamp.lt"]=f),z(b,c);let k=h&&h.headers?h.headers:{};return x.headers={...R,...k,...m.headers},{url:E(b),options:x}},getStocksFilings10KVXSections:async(e,t,i,n,s,o,r,d,l,g,y,p,f,m,u,b,h,x,R,c,k,A,G,S,C,w,O={})=>{let N="/stocks/filings/10-K/vX/sections",T=new URL(N,B),K;a&&(K=a.baseOptions);let W={method:"GET",...K,...O},I={},V={};await U(V,"apiKey",a),e!==void 0&&(V.cik=e),t!==void 0&&(V["cik.any_of"]=t),i!==void 0&&(V["cik.gt"]=i),n!==void 0&&(V["cik.gte"]=n),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),y!==void 0&&(V["ticker.lt"]=y),p!==void 0&&(V["ticker.lte"]=p),f!==void 0&&(V.section=f),m!==void 0&&(V["section.any_of"]=m),u!==void 0&&(V.filing_date=u),b!==void 0&&(V["filing_date.gt"]=b),h!==void 0&&(V["filing_date.gte"]=h),x!==void 0&&(V["filing_date.lt"]=x),R!==void 0&&(V["filing_date.lte"]=R),c!==void 0&&(V.period_end=c),k!==void 0&&(V["period_end.gt"]=k),A!==void 0&&(V["period_end.gte"]=A),G!==void 0&&(V["period_end.lt"]=G),S!==void 0&&(V["period_end.lte"]=S),C!==void 0&&(V.limit=C),w!==void 0&&(V.sort=w),z(T,V);let v=K&&K.headers?K.headers:{};return W.headers={...I,...v,...O.headers},{url:E(T),options:W}},getStocksFilingsVXRiskFactors:async(e,t,i,n,s,o,r,d,l,g,y,p,f,m,u,b,h,x,R,c,k={})=>{let A="/stocks/filings/vX/risk-factors",G=new URL(A,B),S;a&&(S=a.baseOptions);let C={method:"GET",...S,...k},w={},O={};await U(O,"apiKey",a),e!==void 0&&(O.filing_date=e),t!==void 0&&(O["filing_date.any_of"]=t),i!==void 0&&(O["filing_date.gt"]=i),n!==void 0&&(O["filing_date.gte"]=n),s!==void 0&&(O["filing_date.lt"]=s),o!==void 0&&(O["filing_date.lte"]=o),r!==void 0&&(O.ticker=r),d!==void 0&&(O["ticker.any_of"]=d),l!==void 0&&(O["ticker.gt"]=l),g!==void 0&&(O["ticker.gte"]=g),y!==void 0&&(O["ticker.lt"]=y),p!==void 0&&(O["ticker.lte"]=p),f!==void 0&&(O.cik=f),m!==void 0&&(O["cik.any_of"]=m),u!==void 0&&(O["cik.gt"]=u),b!==void 0&&(O["cik.gte"]=b),h!==void 0&&(O["cik.lt"]=h),x!==void 0&&(O["cik.lte"]=x),R!==void 0&&(O.limit=R),c!==void 0&&(O.sort=c),z(G,O);let N=S&&S.headers?S.headers:{};return C.headers={...w,...N,...k.headers},{url:E(G),options:C}},getStocksFinancialsV1BalanceSheets:async(e,t,i,n,s,o,r,d,l,g,y,p,f,m,u,b,h,x,R,c,k,A,G,S,C,w,O,N,T,K,W,I,V,v,te,ee,se,ie,$,oe,re,L,ae,ce,pe,fe,de,le,ue,X={})=>{let J="/stocks/financials/v1/balance-sheets",ye=new URL(J,B),ge;a&&(ge=a.baseOptions);let be={method:"GET",...ge,...X},Z={},_={};await U(_,"apiKey",a),e!==void 0&&(_.cik=e),t!==void 0&&(_["cik.any_of"]=t),i!==void 0&&(_["cik.gt"]=i),n!==void 0&&(_["cik.gte"]=n),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),y!==void 0&&(_["period_end.gt"]=y),p!==void 0&&(_["period_end.gte"]=p),f!==void 0&&(_["period_end.lt"]=f),m!==void 0&&(_["period_end.lte"]=m),u!==void 0&&(_.filing_date=u),b!==void 0&&(_["filing_date.gt"]=b),h!==void 0&&(_["filing_date.gte"]=h),x!==void 0&&(_["filing_date.lt"]=x),R!==void 0&&(_["filing_date.lte"]=R),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),S!==void 0&&(_["fiscal_year.lte"]=S),C!==void 0&&(_.fiscal_quarter=C),w!==void 0&&(_["fiscal_quarter.gt"]=w),O!==void 0&&(_["fiscal_quarter.gte"]=O),N!==void 0&&(_["fiscal_quarter.lt"]=N),T!==void 0&&(_["fiscal_quarter.lte"]=T),K!==void 0&&(_.timeframe=K),W!==void 0&&(_["timeframe.any_of"]=W),I!==void 0&&(_["timeframe.gt"]=I),V!==void 0&&(_["timeframe.gte"]=V),v!==void 0&&(_["timeframe.lt"]=v),te!==void 0&&(_["timeframe.lte"]=te),ee!==void 0&&(_.max_ticker=ee),se!==void 0&&(_["max_ticker.any_of"]=se),ie!==void 0&&(_["max_ticker.gt"]=ie),$!==void 0&&(_["max_ticker.gte"]=$),oe!==void 0&&(_["max_ticker.lt"]=oe),re!==void 0&&(_["max_ticker.lte"]=re),L!==void 0&&(_.min_ticker=L),ae!==void 0&&(_["min_ticker.any_of"]=ae),ce!==void 0&&(_["min_ticker.gt"]=ce),pe!==void 0&&(_["min_ticker.gte"]=pe),fe!==void 0&&(_["min_ticker.lt"]=fe),de!==void 0&&(_["min_ticker.lte"]=de),le!==void 0&&(_.limit=le),ue!==void 0&&(_.sort=ue),z(ye,_);let me=ge&&ge.headers?ge.headers:{};return be.headers={...Z,...me,...X.headers},{url:E(ye),options:be}},getStocksFinancialsV1CashFlowStatements:async(e,t,i,n,s,o,r,d,l,g,y,p,f,m,u,b,h,x,R,c,k,A,G,S,C,w,O,N,T,K,W,I,V,v,te,ee,se,ie,$,oe,re,L,ae,ce,pe,fe,de,le,ue,X={})=>{let J="/stocks/financials/v1/cash-flow-statements",ye=new URL(J,B),ge;a&&(ge=a.baseOptions);let be={method:"GET",...ge,...X},Z={},_={};await U(_,"apiKey",a),e!==void 0&&(_.cik=e),t!==void 0&&(_["cik.any_of"]=t),i!==void 0&&(_["cik.gt"]=i),n!==void 0&&(_["cik.gte"]=n),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),y!==void 0&&(_["period_end.lte"]=y),p!==void 0&&(_.filing_date=p),f!==void 0&&(_["filing_date.gt"]=f),m!==void 0&&(_["filing_date.gte"]=m),u!==void 0&&(_["filing_date.lt"]=u),b!==void 0&&(_["filing_date.lte"]=b),h!==void 0&&(_.tickers=h),x!==void 0&&(_["tickers.all_of"]=x),R!==void 0&&(_["tickers.any_of"]=R),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),S!==void 0&&(_["fiscal_year.lte"]=S),C!==void 0&&(_.fiscal_quarter=C),w!==void 0&&(_["fiscal_quarter.gt"]=w),O!==void 0&&(_["fiscal_quarter.gte"]=O),N!==void 0&&(_["fiscal_quarter.lt"]=N),T!==void 0&&(_["fiscal_quarter.lte"]=T),K!==void 0&&(_.timeframe=K),W!==void 0&&(_["timeframe.any_of"]=W),I!==void 0&&(_["timeframe.gt"]=I),V!==void 0&&(_["timeframe.gte"]=V),v!==void 0&&(_["timeframe.lt"]=v),te!==void 0&&(_["timeframe.lte"]=te),ee!==void 0&&(_.max_ticker=ee),se!==void 0&&(_["max_ticker.any_of"]=se),ie!==void 0&&(_["max_ticker.gt"]=ie),$!==void 0&&(_["max_ticker.gte"]=$),oe!==void 0&&(_["max_ticker.lt"]=oe),re!==void 0&&(_["max_ticker.lte"]=re),L!==void 0&&(_.min_ticker=L),ae!==void 0&&(_["min_ticker.any_of"]=ae),ce!==void 0&&(_["min_ticker.gt"]=ce),pe!==void 0&&(_["min_ticker.gte"]=pe),fe!==void 0&&(_["min_ticker.lt"]=fe),de!==void 0&&(_["min_ticker.lte"]=de),le!==void 0&&(_.limit=le),ue!==void 0&&(_.sort=ue),z(ye,_);let me=ge&&ge.headers?ge.headers:{};return be.headers={...Z,...me,...X.headers},{url:E(ye),options:be}},getStocksFinancialsV1IncomeStatements:async(e,t,i,n,s,o,r,d,l,g,y,p,f,m,u,b,h,x,R,c,k,A,G,S,C,w,O,N,T,K,W,I,V,v,te,ee,se,ie,$,oe,re,L,ae,ce,pe,fe,de,le,ue,X={})=>{let J="/stocks/financials/v1/income-statements",ye=new URL(J,B),ge;a&&(ge=a.baseOptions);let be={method:"GET",...ge,...X},Z={},_={};await U(_,"apiKey",a),e!==void 0&&(_.cik=e),t!==void 0&&(_["cik.any_of"]=t),i!==void 0&&(_["cik.gt"]=i),n!==void 0&&(_["cik.gte"]=n),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),y!==void 0&&(_["period_end.gt"]=y),p!==void 0&&(_["period_end.gte"]=p),f!==void 0&&(_["period_end.lt"]=f),m!==void 0&&(_["period_end.lte"]=m),u!==void 0&&(_.filing_date=u),b!==void 0&&(_["filing_date.gt"]=b),h!==void 0&&(_["filing_date.gte"]=h),x!==void 0&&(_["filing_date.lt"]=x),R!==void 0&&(_["filing_date.lte"]=R),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),S!==void 0&&(_["fiscal_year.lte"]=S),C!==void 0&&(_.fiscal_quarter=C),w!==void 0&&(_["fiscal_quarter.gt"]=w),O!==void 0&&(_["fiscal_quarter.gte"]=O),N!==void 0&&(_["fiscal_quarter.lt"]=N),T!==void 0&&(_["fiscal_quarter.lte"]=T),K!==void 0&&(_.timeframe=K),W!==void 0&&(_["timeframe.any_of"]=W),I!==void 0&&(_["timeframe.gt"]=I),V!==void 0&&(_["timeframe.gte"]=V),v!==void 0&&(_["timeframe.lt"]=v),te!==void 0&&(_["timeframe.lte"]=te),ee!==void 0&&(_.max_ticker=ee),se!==void 0&&(_["max_ticker.any_of"]=se),ie!==void 0&&(_["max_ticker.gt"]=ie),$!==void 0&&(_["max_ticker.gte"]=$),oe!==void 0&&(_["max_ticker.lt"]=oe),re!==void 0&&(_["max_ticker.lte"]=re),L!==void 0&&(_.min_ticker=L),ae!==void 0&&(_["min_ticker.any_of"]=ae),ce!==void 0&&(_["min_ticker.gt"]=ce),pe!==void 0&&(_["min_ticker.gte"]=pe),fe!==void 0&&(_["min_ticker.lt"]=fe),de!==void 0&&(_["min_ticker.lte"]=de),le!==void 0&&(_.limit=le),ue!==void 0&&(_.sort=ue),z(ye,_);let me=ge&&ge.headers?ge.headers:{};return be.headers={...Z,...me,...X.headers},{url:E(ye),options:be}},getStocksFinancialsV1Ratios:async(e,t,i,n,s,o,r,d,l,g,y,p,f,m,u,b,h,x,R,c,k,A,G,S,C,w,O,N,T,K,W,I,V,v,te,ee,se,ie,$,oe,re,L,ae,ce,pe,fe,de,le,ue,X,J,ye,ge,be,Z,_,me,he,xe,Re,P,Ae,ne,Ge,Oe,Ce,Ve,Se,we,ve,Te,Ie,ke,Le,De,q,Be,Ue,ze,Ee,Qe,Me,He,je,Ke,Ne,$e,Ye,We,Xe,Je,Ze,qe,Pe,en,nn,tn,sn,on,rn,an,dn,ln,gn,cn,pn,fn,un,yn,bn,mn,hn,Rn,xn,An={})=>{let Sn="/stocks/financials/v1/ratios",kn=new URL(Sn,B),Fe;a&&(Fe=a.baseOptions);let _n={method:"GET",...Fe,...An},wn={},j={};await U(j,"apiKey",a),e!==void 0&&(j.ticker=e),t!==void 0&&(j["ticker.any_of"]=t),i!==void 0&&(j["ticker.gt"]=i),n!==void 0&&(j["ticker.gte"]=n),s!==void 0&&(j["ticker.lt"]=s),o!==void 0&&(j["ticker.lte"]=o),r!==void 0&&(j.cik=r),d!==void 0&&(j["cik.any_of"]=d),l!==void 0&&(j["cik.gt"]=l),g!==void 0&&(j["cik.gte"]=g),y!==void 0&&(j["cik.lt"]=y),p!==void 0&&(j["cik.lte"]=p),f!==void 0&&(j.price=f),m!==void 0&&(j["price.gt"]=m),u!==void 0&&(j["price.gte"]=u),b!==void 0&&(j["price.lt"]=b),h!==void 0&&(j["price.lte"]=h),x!==void 0&&(j.average_volume=x),R!==void 0&&(j["average_volume.gt"]=R),c!==void 0&&(j["average_volume.gte"]=c),k!==void 0&&(j["average_volume.lt"]=k),A!==void 0&&(j["average_volume.lte"]=A),G!==void 0&&(j.market_cap=G),S!==void 0&&(j["market_cap.gt"]=S),C!==void 0&&(j["market_cap.gte"]=C),w!==void 0&&(j["market_cap.lt"]=w),O!==void 0&&(j["market_cap.lte"]=O),N!==void 0&&(j.earnings_per_share=N),T!==void 0&&(j["earnings_per_share.gt"]=T),K!==void 0&&(j["earnings_per_share.gte"]=K),W!==void 0&&(j["earnings_per_share.lt"]=W),I!==void 0&&(j["earnings_per_share.lte"]=I),V!==void 0&&(j.price_to_earnings=V),v!==void 0&&(j["price_to_earnings.gt"]=v),te!==void 0&&(j["price_to_earnings.gte"]=te),ee!==void 0&&(j["price_to_earnings.lt"]=ee),se!==void 0&&(j["price_to_earnings.lte"]=se),ie!==void 0&&(j.price_to_book=ie),$!==void 0&&(j["price_to_book.gt"]=$),oe!==void 0&&(j["price_to_book.gte"]=oe),re!==void 0&&(j["price_to_book.lt"]=re),L!==void 0&&(j["price_to_book.lte"]=L),ae!==void 0&&(j.price_to_sales=ae),ce!==void 0&&(j["price_to_sales.gt"]=ce),pe!==void 0&&(j["price_to_sales.gte"]=pe),fe!==void 0&&(j["price_to_sales.lt"]=fe),de!==void 0&&(j["price_to_sales.lte"]=de),le!==void 0&&(j.price_to_cash_flow=le),ue!==void 0&&(j["price_to_cash_flow.gt"]=ue),X!==void 0&&(j["price_to_cash_flow.gte"]=X),J!==void 0&&(j["price_to_cash_flow.lt"]=J),ye!==void 0&&(j["price_to_cash_flow.lte"]=ye),ge!==void 0&&(j.price_to_free_cash_flow=ge),be!==void 0&&(j["price_to_free_cash_flow.gt"]=be),Z!==void 0&&(j["price_to_free_cash_flow.gte"]=Z),_!==void 0&&(j["price_to_free_cash_flow.lt"]=_),me!==void 0&&(j["price_to_free_cash_flow.lte"]=me),he!==void 0&&(j.dividend_yield=he),xe!==void 0&&(j["dividend_yield.gt"]=xe),Re!==void 0&&(j["dividend_yield.gte"]=Re),P!==void 0&&(j["dividend_yield.lt"]=P),Ae!==void 0&&(j["dividend_yield.lte"]=Ae),ne!==void 0&&(j.return_on_assets=ne),Ge!==void 0&&(j["return_on_assets.gt"]=Ge),Oe!==void 0&&(j["return_on_assets.gte"]=Oe),Ce!==void 0&&(j["return_on_assets.lt"]=Ce),Ve!==void 0&&(j["return_on_assets.lte"]=Ve),Se!==void 0&&(j.return_on_equity=Se),we!==void 0&&(j["return_on_equity.gt"]=we),ve!==void 0&&(j["return_on_equity.gte"]=ve),Te!==void 0&&(j["return_on_equity.lt"]=Te),Ie!==void 0&&(j["return_on_equity.lte"]=Ie),ke!==void 0&&(j.debt_to_equity=ke),Le!==void 0&&(j["debt_to_equity.gt"]=Le),De!==void 0&&(j["debt_to_equity.gte"]=De),q!==void 0&&(j["debt_to_equity.lt"]=q),Be!==void 0&&(j["debt_to_equity.lte"]=Be),Ue!==void 0&&(j.current=Ue),ze!==void 0&&(j["current.gt"]=ze),Ee!==void 0&&(j["current.gte"]=Ee),Qe!==void 0&&(j["current.lt"]=Qe),Me!==void 0&&(j["current.lte"]=Me),He!==void 0&&(j.quick=He),je!==void 0&&(j["quick.gt"]=je),Ke!==void 0&&(j["quick.gte"]=Ke),Ne!==void 0&&(j["quick.lt"]=Ne),$e!==void 0&&(j["quick.lte"]=$e),Ye!==void 0&&(j.cash=Ye),We!==void 0&&(j["cash.gt"]=We),Xe!==void 0&&(j["cash.gte"]=Xe),Je!==void 0&&(j["cash.lt"]=Je),Ze!==void 0&&(j["cash.lte"]=Ze),qe!==void 0&&(j.ev_to_sales=qe),Pe!==void 0&&(j["ev_to_sales.gt"]=Pe),en!==void 0&&(j["ev_to_sales.gte"]=en),nn!==void 0&&(j["ev_to_sales.lt"]=nn),tn!==void 0&&(j["ev_to_sales.lte"]=tn),sn!==void 0&&(j.ev_to_ebitda=sn),on!==void 0&&(j["ev_to_ebitda.gt"]=on),rn!==void 0&&(j["ev_to_ebitda.gte"]=rn),an!==void 0&&(j["ev_to_ebitda.lt"]=an),dn!==void 0&&(j["ev_to_ebitda.lte"]=dn),ln!==void 0&&(j.enterprise_value=ln),gn!==void 0&&(j["enterprise_value.gt"]=gn),cn!==void 0&&(j["enterprise_value.gte"]=cn),pn!==void 0&&(j["enterprise_value.lt"]=pn),fn!==void 0&&(j["enterprise_value.lte"]=fn),un!==void 0&&(j.free_cash_flow=un),yn!==void 0&&(j["free_cash_flow.gt"]=yn),bn!==void 0&&(j["free_cash_flow.gte"]=bn),mn!==void 0&&(j["free_cash_flow.lt"]=mn),hn!==void 0&&(j["free_cash_flow.lte"]=hn),Rn!==void 0&&(j.limit=Rn),xn!==void 0&&(j.sort=xn),z(kn,j);let zn=Fe&&Fe.headers?Fe.headers:{};return _n.headers={...wn,...zn,...An.headers},{url:E(kn),options:_n}},getStocksMACD:async(e,t,i,n,s,o,r,d,l,g,y,p,f,m,u,b={})=>{Y("getStocksMACD","stockTicker",e);let h="/v1/indicators/macd/{stockTicker}".replace("{stockTicker}",encodeURIComponent(String(e))),x=new URL(h,B),R;a&&(R=a.baseOptions);let c={method:"GET",...R,...b},k={},A={};await U(A,"apiKey",a),t!==void 0&&(A.timestamp=t),i!==void 0&&(A.timespan=i),n!==void 0&&(A.adjusted=n),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),y!==void 0&&(A.limit=y),p!==void 0&&(A["timestamp.gte"]=p),f!==void 0&&(A["timestamp.gt"]=f),m!==void 0&&(A["timestamp.lte"]=m),u!==void 0&&(A["timestamp.lt"]=u),z(x,A);let G=R&&R.headers?R.headers:{};return c.headers={...k,...G,...b.headers},{url:E(x),options:c}},getStocksOpenClose:async(e,t,i,n={})=>{Y("getStocksOpenClose","stocksTicker",e),Y("getStocksOpenClose","date",t);let s="/v1/open-close/{stocksTicker}/{date}".replace("{stocksTicker}",encodeURIComponent(String(e))).replace("{date}",encodeURIComponent(String(t))),o=new URL(s,B),r;a&&(r=a.baseOptions);let d={method:"GET",...r,...n},l={},g={};await U(g,"apiKey",a),i!==void 0&&(g.adjusted=i),z(o,g);let y=r&&r.headers?r.headers:{};return d.headers={...l,...y,...n.headers},{url:E(o),options:d}},getStocksQuotes:async(e,t,i,n,s,o,r,d,l,g={})=>{Y("getStocksQuotes","stockTicker",e);let y="/v3/quotes/{stockTicker}".replace("{stockTicker}",encodeURIComponent(String(e))),p=new URL(y,B),f;a&&(f=a.baseOptions);let m={method:"GET",...f,...g},u={},b={};await U(b,"apiKey",a),t!==void 0&&(b.timestamp=t),i!==void 0&&(b["timestamp.gte"]=i),n!==void 0&&(b["timestamp.gt"]=n),s!==void 0&&(b["timestamp.lte"]=s),o!==void 0&&(b["timestamp.lt"]=o),r!==void 0&&(b.order=r),d!==void 0&&(b.limit=d),l!==void 0&&(b.sort=l),z(p,b);let h=f&&f.headers?f.headers:{};return m.headers={...u,...h,...g.headers},{url:E(p),options:m}},getStocksRSI:async(e,t,i,n,s,o,r,d,l,g,y,p,f,m={})=>{Y("getStocksRSI","stockTicker",e);let u="/v1/indicators/rsi/{stockTicker}".replace("{stockTicker}",encodeURIComponent(String(e))),b=new URL(u,B),h;a&&(h=a.baseOptions);let x={method:"GET",...h,...m},R={},c={};await U(c,"apiKey",a),t!==void 0&&(c.timestamp=t),i!==void 0&&(c.timespan=i),n!==void 0&&(c.adjusted=n),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),y!==void 0&&(c["timestamp.gt"]=y),p!==void 0&&(c["timestamp.lte"]=p),f!==void 0&&(c["timestamp.lt"]=f),z(b,c);let k=h&&h.headers?h.headers:{};return x.headers={...R,...k,...m.headers},{url:E(b),options:x}},getStocksSMA:async(e,t,i,n,s,o,r,d,l,g,y,p,f,m={})=>{Y("getStocksSMA","stockTicker",e);let u="/v1/indicators/sma/{stockTicker}".replace("{stockTicker}",encodeURIComponent(String(e))),b=new URL(u,B),h;a&&(h=a.baseOptions);let x={method:"GET",...h,...m},R={},c={};await U(c,"apiKey",a),t!==void 0&&(c.timestamp=t),i!==void 0&&(c.timespan=i),n!==void 0&&(c.adjusted=n),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),y!==void 0&&(c["timestamp.gt"]=y),p!==void 0&&(c["timestamp.lte"]=p),f!==void 0&&(c["timestamp.lt"]=f),z(b,c);let k=h&&h.headers?h.headers:{};return x.headers={...R,...k,...m.headers},{url:E(b),options:x}},getStocksSnapshotDirection:async(e,t,i={})=>{Y("getStocksSnapshotDirection","direction",e);let n="/v2/snapshot/locale/us/markets/stocks/{direction}".replace("{direction}",encodeURIComponent(String(e))),s=new URL(n,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:E(s),options:r}},getStocksSnapshotTicker:async(e,t={})=>{Y("getStocksSnapshotTicker","stocksTicker",e);let i="/v2/snapshot/locale/us/markets/stocks/tickers/{stocksTicker}".replace("{stocksTicker}",encodeURIComponent(String(e))),n=new URL(i,B),s;a&&(s=a.baseOptions);let o={method:"GET",...s,...t},r={},d={};await U(d,"apiKey",a),z(n,d);let l=s&&s.headers?s.headers:{};return o.headers={...r,...l,...t.headers},{url:E(n),options:o}},getStocksSnapshotTickers:async(e,t,i={})=>{let n="/v2/snapshot/locale/us/markets/stocks/tickers",s=new URL(n,B),o;a&&(o=a.baseOptions);let r={method:"GET",...o,...i},d={},l={};await U(l,"apiKey",a),e&&(l.tickers=e),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:E(s),options:r}},getStocksTaxonomiesVXRiskFactors:async(e,t,i,n,s,o,r,d,l,g,y,p,f,m,u,b,h,x,R,c,k,A,G,S,C,w={})=>{let O="/stocks/taxonomies/vX/risk-factors",N=new URL(O,B),T;a&&(T=a.baseOptions);let K={method:"GET",...T,...w},W={},I={};await U(I,"apiKey",a),e!==void 0&&(I.taxonomy=e),t!==void 0&&(I["taxonomy.gt"]=t),i!==void 0&&(I["taxonomy.gte"]=i),n!==void 0&&(I["taxonomy.lt"]=n),s!==void 0&&(I["taxonomy.lte"]=s),o!==void 0&&(I.primary_category=o),r!==void 0&&(I["primary_category.any_of"]=r),d!==void 0&&(I["primary_category.gt"]=d),l!==void 0&&(I["primary_category.gte"]=l),g!==void 0&&(I["primary_category.lt"]=g),y!==void 0&&(I["primary_category.lte"]=y),p!==void 0&&(I.secondary_category=p),f!==void 0&&(I["secondary_category.any_of"]=f),m!==void 0&&(I["secondary_category.gt"]=m),u!==void 0&&(I["secondary_category.gte"]=u),b!==void 0&&(I["secondary_category.lt"]=b),h!==void 0&&(I["secondary_category.lte"]=h),x!==void 0&&(I.tertiary_category=x),R!==void 0&&(I["tertiary_category.any_of"]=R),c!==void 0&&(I["tertiary_category.gt"]=c),k!==void 0&&(I["tertiary_category.gte"]=k),A!==void 0&&(I["tertiary_category.lt"]=A),G!==void 0&&(I["tertiary_category.lte"]=G),S!==void 0&&(I.limit=S),C!==void 0&&(I.sort=C),z(N,I);let V=T&&T.headers?T.headers:{};return K.headers={...W,...V,...w.headers},{url:E(N),options:K}},getStocksTrades:async(e,t,i,n,s,o,r,d,l,g={})=>{Y("getStocksTrades","stockTicker",e);let y="/v3/trades/{stockTicker}".replace("{stockTicker}",encodeURIComponent(String(e))),p=new URL(y,B),f;a&&(f=a.baseOptions);let m={method:"GET",...f,...g},u={},b={};await U(b,"apiKey",a),t!==void 0&&(b.timestamp=t),i!==void 0&&(b["timestamp.gte"]=i),n!==void 0&&(b["timestamp.gt"]=n),s!==void 0&&(b["timestamp.lte"]=s),o!==void 0&&(b["timestamp.lt"]=o),r!==void 0&&(b.order=r),d!==void 0&&(b.limit=d),l!==void 0&&(b.sort=l),z(p,b);let h=f&&f.headers?f.headers:{};return m.headers={...u,...h,...g.headers},{url:E(p),options:m}},getStocksV1Dividends:async(e,t,i,n,s,o,r,d,l,g,y,p,f,m,u,b,h,x,R,c,k={})=>{let A="/stocks/v1/dividends",G=new URL(A,B),S;a&&(S=a.baseOptions);let C={method:"GET",...S,...k},w={},O={};await U(O,"apiKey",a),e!==void 0&&(O.ticker=e),t!==void 0&&(O["ticker.any_of"]=t),i!==void 0&&(O["ticker.gt"]=i),n!==void 0&&(O["ticker.gte"]=n),s!==void 0&&(O["ticker.lt"]=s),o!==void 0&&(O["ticker.lte"]=o),r!==void 0&&(O.ex_dividend_date=r),d!==void 0&&(O["ex_dividend_date.gt"]=d),l!==void 0&&(O["ex_dividend_date.gte"]=l),g!==void 0&&(O["ex_dividend_date.lt"]=g),y!==void 0&&(O["ex_dividend_date.lte"]=y),p!==void 0&&(O.frequency=p),f!==void 0&&(O["frequency.gt"]=f),m!==void 0&&(O["frequency.gte"]=m),u!==void 0&&(O["frequency.lt"]=u),b!==void 0&&(O["frequency.lte"]=b),h!==void 0&&(O.distribution_type=h),x!==void 0&&(O["distribution_type.any_of"]=x),R!==void 0&&(O.limit=R),c!==void 0&&(O.sort=c),z(G,O);let N=S&&S.headers?S.headers:{};return C.headers={...w,...N,...k.headers},{url:E(G),options:C}},getStocksV1Exchanges:async(e,t={})=>{let i="/stocks/v1/exchanges",n=new URL(i,B),s;a&&(s=a.baseOptions);let o={method:"GET",...s,...t},r={},d={};await U(d,"apiKey",a),e!==void 0&&(d.limit=e),z(n,d);let l=s&&s.headers?s.headers:{};return o.headers={...r,...l,...t.headers},{url:E(n),options:o}},getStocksV1ShortInterest:async(e,t,i,n,s,o,r,d,l,g,y,p,f,m,u,b,h,x,R,c,k,A,G,S,C,w,O={})=>{let N="/stocks/v1/short-interest",T=new URL(N,B),K;a&&(K=a.baseOptions);let W={method:"GET",...K,...O},I={},V={};await U(V,"apiKey",a),e!==void 0&&(V.ticker=e),t!==void 0&&(V["ticker.any_of"]=t),i!==void 0&&(V["ticker.gt"]=i),n!==void 0&&(V["ticker.gte"]=n),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),y!==void 0&&(V["days_to_cover.lt"]=y),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),u!==void 0&&(V["settlement_date.gt"]=u),b!==void 0&&(V["settlement_date.gte"]=b),h!==void 0&&(V["settlement_date.lt"]=h),x!==void 0&&(V["settlement_date.lte"]=x),R!==void 0&&(V.avg_daily_volume=R),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),G!==void 0&&(V["avg_daily_volume.lt"]=G),S!==void 0&&(V["avg_daily_volume.lte"]=S),C!==void 0&&(V.limit=C),w!==void 0&&(V.sort=w),z(T,V);let v=K&&K.headers?K.headers:{};return W.headers={...I,...v,...O.headers},{url:E(T),options:W}},getStocksV1ShortVolume:async(e,t,i,n,s,o,r,d,l,g,y,p,f,m,u,b,h,x,R,c,k,A,G,S,C,w,O={})=>{let N="/stocks/v1/short-volume",T=new URL(N,B),K;a&&(K=a.baseOptions);let W={method:"GET",...K,...O},I={},V={};await U(V,"apiKey",a),e!==void 0&&(V.ticker=e),t!==void 0&&(V["ticker.any_of"]=t),i!==void 0&&(V["ticker.gt"]=i),n!==void 0&&(V["ticker.gte"]=n),s!==void 0&&(V["ticker.lt"]=s),o!==void 0&&(V["ticker.lte"]=o),r!==void 0&&(V.date=r),d!==void 0&&(V["date.any_of"]=d),l!==void 0&&(V["date.gt"]=l),g!==void 0&&(V["date.gte"]=g),y!==void 0&&(V["date.lt"]=y),p!==void 0&&(V["date.lte"]=p),f!==void 0&&(V.short_volume_ratio=f),m!==void 0&&(V["short_volume_ratio.any_of"]=m),u!==void 0&&(V["short_volume_ratio.gt"]=u),b!==void 0&&(V["short_volume_ratio.gte"]=b),h!==void 0&&(V["short_volume_ratio.lt"]=h),x!==void 0&&(V["short_volume_ratio.lte"]=x),R!==void 0&&(V.total_volume=R),c!==void 0&&(V["total_volume.any_of"]=c),k!==void 0&&(V["total_volume.gt"]=k),A!==void 0&&(V["total_volume.gte"]=A),G!==void 0&&(V["total_volume.lt"]=G),S!==void 0&&(V["total_volume.lte"]=S),C!==void 0&&(V.limit=C),w!==void 0&&(V.sort=w),z(T,V);let v=K&&K.headers?K.headers:{};return W.headers={...I,...v,...O.headers},{url:E(T),options:W}},getStocksV1Splits:async(e,t,i,n,s,o,r,d,l,g,y,p,f,m,u,b={})=>{let h="/stocks/v1/splits",x=new URL(h,B),R;a&&(R=a.baseOptions);let c={method:"GET",...R,...b},k={},A={};await U(A,"apiKey",a),e!==void 0&&(A.ticker=e),t!==void 0&&(A["ticker.any_of"]=t),i!==void 0&&(A["ticker.gt"]=i),n!==void 0&&(A["ticker.gte"]=n),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),y!==void 0&&(A["execution_date.lte"]=y),p!==void 0&&(A.adjustment_type=p),f!==void 0&&(A["adjustment_type.any_of"]=f),m!==void 0&&(A.limit=m),u!==void 0&&(A.sort=u),z(x,A);let G=R&&R.headers?R.headers:{};return c.headers={...k,...G,...b.headers},{url:E(x),options:c}},getStocksVXFloat:async(e,t,i,n,s,o,r,d,l,g,y,p,f,m={})=>{let u="/stocks/vX/float",b=new URL(u,B),h;a&&(h=a.baseOptions);let x={method:"GET",...h,...m},R={},c={};await U(c,"apiKey",a),e!==void 0&&(c.ticker=e),t!==void 0&&(c["ticker.any_of"]=t),i!==void 0&&(c["ticker.gt"]=i),n!==void 0&&(c["ticker.gte"]=n),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),y!==void 0&&(c["free_float_percent.lte"]=y),p!==void 0&&(c.limit=p),f!==void 0&&(c.sort=f),z(b,c);let k=h&&h.headers?h.headers:{};return x.headers={...R,...k,...m.headers},{url:E(b),options:x}},getTicker:async(e,t,i={})=>{Y("getTicker","ticker",e);let n="/v3/reference/tickers/{ticker}".replace("{ticker}",encodeURIComponent(String(e))),s=new URL(n,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:E(s),options:r}},getTmxV1CorporateEvents:async(e,t,i,n,s,o,r,d,l,g,y,p,f,m,u,b,h,x,R,c,k,A,G,S,C,w,O,N,T,K,W,I,V,v,te,ee,se,ie,$,oe,re,L,ae,ce,pe,fe,de,le,ue,X={})=>{let J="/tmx/v1/corporate-events",ye=new URL(J,B),ge;a&&(ge=a.baseOptions);let be={method:"GET",...ge,...X},Z={},_={};await U(_,"apiKey",a),e!==void 0&&(_.date=e),t!==void 0&&(_["date.any_of"]=t),i!==void 0&&(_["date.gt"]=i),n!==void 0&&(_["date.gte"]=n),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),y!==void 0&&(_["type.lt"]=y),p!==void 0&&(_["type.lte"]=p),f!==void 0&&(_.status=f),m!==void 0&&(_["status.any_of"]=m),u!==void 0&&(_["status.gt"]=u),b!==void 0&&(_["status.gte"]=b),h!==void 0&&(_["status.lt"]=h),x!==void 0&&(_["status.lte"]=x),R!==void 0&&(_.ticker=R),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),S!==void 0&&(_["ticker.lte"]=S),C!==void 0&&(_.isin=C),w!==void 0&&(_["isin.any_of"]=w),O!==void 0&&(_["isin.gt"]=O),N!==void 0&&(_["isin.gte"]=N),T!==void 0&&(_["isin.lt"]=T),K!==void 0&&(_["isin.lte"]=K),W!==void 0&&(_.trading_venue=W),I!==void 0&&(_["trading_venue.any_of"]=I),V!==void 0&&(_["trading_venue.gt"]=V),v!==void 0&&(_["trading_venue.gte"]=v),te!==void 0&&(_["trading_venue.lt"]=te),ee!==void 0&&(_["trading_venue.lte"]=ee),se!==void 0&&(_.tmx_company_id=se),ie!==void 0&&(_["tmx_company_id.gt"]=ie),$!==void 0&&(_["tmx_company_id.gte"]=$),oe!==void 0&&(_["tmx_company_id.lt"]=oe),re!==void 0&&(_["tmx_company_id.lte"]=re),L!==void 0&&(_.tmx_record_id=L),ae!==void 0&&(_["tmx_record_id.any_of"]=ae),ce!==void 0&&(_["tmx_record_id.gt"]=ce),pe!==void 0&&(_["tmx_record_id.gte"]=pe),fe!==void 0&&(_["tmx_record_id.lt"]=fe),de!==void 0&&(_["tmx_record_id.lte"]=de),le!==void 0&&(_.limit=le),ue!==void 0&&(_.sort=ue),z(ye,_);let me=ge&&ge.headers?ge.headers:{};return be.headers={...Z,...me,...X.headers},{url:E(ye),options:be}},listConditions:async(e,t,i,n,s,o,r,d={})=>{let l="/v3/reference/conditions",g=new URL(l,B),y;a&&(y=a.baseOptions);let p={method:"GET",...y,...d},f={},m={};await U(m,"apiKey",a),e!==void 0&&(m.asset_class=e),t!==void 0&&(m.data_type=t),i!==void 0&&(m.id=i),n!==void 0&&(m.sip=n),s!==void 0&&(m.order=s),o!==void 0&&(m.limit=o),r!==void 0&&(m.sort=r),z(g,m);let u=y&&y.headers?y.headers:{};return p.headers={...f,...u,...d.headers},{url:E(g),options:p}},listDividends:async(e,t,i,n,s,o,r,d,l,g,y,p,f,m,u,b,h,x,R,c,k,A,G,S,C,w,O,N,T,K,W,I,V,v,te,ee={})=>{let se="/v3/reference/dividends",ie=new URL(se,B),$;a&&($=a.baseOptions);let oe={method:"GET",...$,...ee},re={},L={};await U(L,"apiKey",a),e!==void 0&&(L.ticker=e),t!==void 0&&(L.ex_dividend_date=t instanceof Date?t.toISOString().substring(0,10):t),i!==void 0&&(L.record_date=i instanceof Date?i.toISOString().substring(0,10):i),n!==void 0&&(L.declaration_date=n instanceof Date?n.toISOString().substring(0,10):n),s!==void 0&&(L.pay_date=s instanceof Date?s.toISOString().substring(0,10):s),o!==void 0&&(L.frequency=o),r!==void 0&&(L.cash_amount=r),d!==void 0&&(L.dividend_type=d),l!==void 0&&(L["ticker.gte"]=l),g!==void 0&&(L["ticker.gt"]=g),y!==void 0&&(L["ticker.lte"]=y),p!==void 0&&(L["ticker.lt"]=p),f!==void 0&&(L["ex_dividend_date.gte"]=f instanceof Date?f.toISOString().substring(0,10):f),m!==void 0&&(L["ex_dividend_date.gt"]=m instanceof Date?m.toISOString().substring(0,10):m),u!==void 0&&(L["ex_dividend_date.lte"]=u instanceof Date?u.toISOString().substring(0,10):u),b!==void 0&&(L["ex_dividend_date.lt"]=b instanceof Date?b.toISOString().substring(0,10):b),h!==void 0&&(L["record_date.gte"]=h instanceof Date?h.toISOString().substring(0,10):h),x!==void 0&&(L["record_date.gt"]=x instanceof Date?x.toISOString().substring(0,10):x),R!==void 0&&(L["record_date.lte"]=R instanceof Date?R.toISOString().substring(0,10):R),c!==void 0&&(L["record_date.lt"]=c instanceof Date?c.toISOString().substring(0,10):c),k!==void 0&&(L["declaration_date.gte"]=k instanceof Date?k.toISOString().substring(0,10):k),A!==void 0&&(L["declaration_date.gt"]=A instanceof Date?A.toISOString().substring(0,10):A),G!==void 0&&(L["declaration_date.lte"]=G instanceof Date?G.toISOString().substring(0,10):G),S!==void 0&&(L["declaration_date.lt"]=S instanceof Date?S.toISOString().substring(0,10):S),C!==void 0&&(L["pay_date.gte"]=C instanceof Date?C.toISOString().substring(0,10):C),w!==void 0&&(L["pay_date.gt"]=w instanceof Date?w.toISOString().substring(0,10):w),O!==void 0&&(L["pay_date.lte"]=O instanceof Date?O.toISOString().substring(0,10):O),N!==void 0&&(L["pay_date.lt"]=N instanceof Date?N.toISOString().substring(0,10):N),T!==void 0&&(L["cash_amount.gte"]=T),K!==void 0&&(L["cash_amount.gt"]=K),W!==void 0&&(L["cash_amount.lte"]=W),I!==void 0&&(L["cash_amount.lt"]=I),V!==void 0&&(L.order=V),v!==void 0&&(L.limit=v),te!==void 0&&(L.sort=te),z(ie,L);let ae=$&&$.headers?$.headers:{};return oe.headers={...re,...ae,...ee.headers},{url:E(ie),options:oe}},listExchanges:async(e,t,i={})=>{let n="/v3/reference/exchanges",s=new URL(n,B),o;a&&(o=a.baseOptions);let r={method:"GET",...o,...i},d={},l={};await U(l,"apiKey",a),e!==void 0&&(l.asset_class=e),t!==void 0&&(l.locale=t),z(s,l);let g=o&&o.headers?o.headers:{};return r.headers={...d,...g,...i.headers},{url:E(s),options:r}},listFinancials:async(e,t,i,n,s,o,r,d,l,g,y,p,f,m,u,b,h,x,R,c,k={})=>{let A="/vX/reference/financials",G=new URL(A,B),S;a&&(S=a.baseOptions);let C={method:"GET",...S,...k},w={},O={};await U(O,"apiKey",a),e!==void 0&&(O.ticker=e),t!==void 0&&(O.cik=t),i!==void 0&&(O.company_name=i),n!==void 0&&(O.sic=n),s!==void 0&&(O.filing_date=s instanceof Date?s.toISOString().substring(0,10):s),o!==void 0&&(O.period_of_report_date=o instanceof Date?o.toISOString().substring(0,10):o),r!==void 0&&(O.timeframe=r),d!==void 0&&(O.include_sources=d),l!==void 0&&(O["company_name.search"]=l),g!==void 0&&(O["filing_date.gte"]=g instanceof Date?g.toISOString().substring(0,10):g),y!==void 0&&(O["filing_date.gt"]=y instanceof Date?y.toISOString().substring(0,10):y),p!==void 0&&(O["filing_date.lte"]=p instanceof Date?p.toISOString().substring(0,10):p),f!==void 0&&(O["filing_date.lt"]=f instanceof Date?f.toISOString().substring(0,10):f),m!==void 0&&(O["period_of_report_date.gte"]=m instanceof Date?m.toISOString().substring(0,10):m),u!==void 0&&(O["period_of_report_date.gt"]=u instanceof Date?u.toISOString().substring(0,10):u),b!==void 0&&(O["period_of_report_date.lte"]=b instanceof Date?b.toISOString().substring(0,10):b),h!==void 0&&(O["period_of_report_date.lt"]=h instanceof Date?h.toISOString().substring(0,10):h),x!==void 0&&(O.order=x),R!==void 0&&(O.limit=R),c!==void 0&&(O.sort=c),z(G,O);let N=S&&S.headers?S.headers:{};return C.headers={...w,...N,...k.headers},{url:E(G),options:C}},listIPOs:async(e,t,i,n,s,o,r,d,l,g,y,p,f={})=>{let m="/vX/reference/ipos",u=new URL(m,B),b;a&&(b=a.baseOptions);let h={method:"GET",...b,...f},x={},R={};await U(R,"apiKey",a),e!==void 0&&(R.ticker=e),t!==void 0&&(R.us_code=t),i!==void 0&&(R.isin=i),n!==void 0&&(R.listing_date=n instanceof Date?n.toISOString().substring(0,10):n),s!==void 0&&(R.ipo_status=s),o!==void 0&&(R["listing_date.gte"]=o instanceof Date?o.toISOString().substring(0,10):o),r!==void 0&&(R["listing_date.gt"]=r instanceof Date?r.toISOString().substring(0,10):r),d!==void 0&&(R["listing_date.lte"]=d instanceof Date?d.toISOString().substring(0,10):d),l!==void 0&&(R["listing_date.lt"]=l instanceof Date?l.toISOString().substring(0,10):l),g!==void 0&&(R.order=g),y!==void 0&&(R.limit=y),p!==void 0&&(R.sort=p),z(u,R);let c=b&&b.headers?b.headers:{};return h.headers={...x,...c,...f.headers},{url:E(u),options:h}},listNews:async(e,t,i,n,s,o,r,d,l,g,y,p,f,m={})=>{let u="/v2/reference/news",b=new URL(u,B),h;a&&(h=a.baseOptions);let x={method:"GET",...h,...m},R={},c={};if(await U(c,"apiKey",a),e!==void 0&&(c.ticker=e),t!==void 0)for(let[A,G]of Object.entries(t))c[A]=G;if(i!==void 0&&(c["ticker.gte"]=i),n!==void 0&&(c["ticker.gt"]=n),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;y!==void 0&&(c.order=y),p!==void 0&&(c.limit=p),f!==void 0&&(c.sort=f),z(b,c);let k=h&&h.headers?h.headers:{};return x.headers={...R,...k,...m.headers},{url:E(b),options:x}},listOptionsContracts:async(e,t,i,n,s,o,r,d,l,g,y,p,f,m,u,b,h,x,R,c,k,A,G={})=>{let S="/v3/reference/options/contracts",C=new URL(S,B),w;a&&(w=a.baseOptions);let O={method:"GET",...w,...G},N={},T={};await U(T,"apiKey",a),e!==void 0&&(T.underlying_ticker=e),t!==void 0&&(T.ticker=t),i!==void 0&&(T.contract_type=i),n!==void 0&&(T.expiration_date=n),s!==void 0&&(T.as_of=s),o!==void 0&&(T.strike_price=o),r!==void 0&&(T.expired=r),d!==void 0&&(T["underlying_ticker.gte"]=d),l!==void 0&&(T["underlying_ticker.gt"]=l),g!==void 0&&(T["underlying_ticker.lte"]=g),y!==void 0&&(T["underlying_ticker.lt"]=y),p!==void 0&&(T["expiration_date.gte"]=p),f!==void 0&&(T["expiration_date.gt"]=f),m!==void 0&&(T["expiration_date.lte"]=m),u!==void 0&&(T["expiration_date.lt"]=u),b!==void 0&&(T["strike_price.gte"]=b),h!==void 0&&(T["strike_price.gt"]=h),x!==void 0&&(T["strike_price.lte"]=x),R!==void 0&&(T["strike_price.lt"]=R),c!==void 0&&(T.order=c),k!==void 0&&(T.limit=k),A!==void 0&&(T.sort=A),z(C,T);let K=w&&w.headers?w.headers:{};return O.headers={...N,...K,...G.headers},{url:E(C),options:O}},listStockSplits:async(e,t,i,n,s,o,r,d,l,g,y,p,f,m,u={})=>{let b="/v3/reference/splits",h=new URL(b,B),x;a&&(x=a.baseOptions);let R={method:"GET",...x,...u},c={},k={};await U(k,"apiKey",a),e!==void 0&&(k.ticker=e),t!==void 0&&(k.execution_date=t instanceof Date?t.toISOString().substring(0,10):t),i!==void 0&&(k.reverse_split=i),n!==void 0&&(k["ticker.gte"]=n),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),y!==void 0&&(k["execution_date.lt"]=y instanceof Date?y.toISOString().substring(0,10):y),p!==void 0&&(k.order=p),f!==void 0&&(k.limit=f),m!==void 0&&(k.sort=m),z(h,k);let A=x&&x.headers?x.headers:{};return R.headers={...c,...A,...u.headers},{url:E(h),options:R}},listTickerTypes:async(e,t,i={})=>{let n="/v3/reference/tickers/types",s=new URL(n,B),o;a&&(o=a.baseOptions);let r={method:"GET",...o,...i},d={},l={};await U(l,"apiKey",a),e!==void 0&&(l.asset_class=e),t!==void 0&&(l.locale=t),z(s,l);let g=o&&o.headers?o.headers:{};return r.headers={...d,...g,...i.headers},{url:E(s),options:r}},listTickers:async(e,t,i,n,s,o,r,d,l,g,y,p,f,m,u,b,h={})=>{let x="/v3/reference/tickers",R=new URL(x,B),c;a&&(c=a.baseOptions);let k={method:"GET",...c,...h},A={},G={};await U(G,"apiKey",a),e!==void 0&&(G.ticker=e),t!==void 0&&(G.type=t),i!==void 0&&(G.market=i),n!==void 0&&(G.exchange=n),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),y!==void 0&&(G["ticker.gt"]=y),p!==void 0&&(G["ticker.lte"]=p),f!==void 0&&(G["ticker.lt"]=f),m!==void 0&&(G.order=m),u!==void 0&&(G.limit=u),b!==void 0&&(G.sort=b),z(R,G);let S=c&&c.headers?c.headers:{};return k.headers={...A,...S,...h.headers},{url:E(R),options:k}}}},M=function(a){let e=di(a);return{async deprecatedGetCryptoSnapshotTickerBook(t,i){let n=await e.deprecatedGetCryptoSnapshotTickerBook(t,i),s=a?.serverIndex??0,o=F["DefaultApi.deprecatedGetCryptoSnapshotTickerBook"]?.[s]?.url;return(r,d)=>Q(n,H,D,a)(r,o||d)},async deprecatedGetHistoricCryptoTrades(t,i,n,s,o,r){let d=await e.deprecatedGetHistoricCryptoTrades(t,i,n,s,o,r),l=a?.serverIndex??0,g=F["DefaultApi.deprecatedGetHistoricCryptoTrades"]?.[l]?.url;return(y,p)=>Q(d,H,D,a)(y,g||p)},async deprecatedGetHistoricForexQuotes(t,i,n,s,o,r){let d=await e.deprecatedGetHistoricForexQuotes(t,i,n,s,o,r),l=a?.serverIndex??0,g=F["DefaultApi.deprecatedGetHistoricForexQuotes"]?.[l]?.url;return(y,p)=>Q(d,H,D,a)(y,g||p)},async deprecatedGetHistoricStocksQuotes(t,i,n,s,o,r,d){let l=await e.deprecatedGetHistoricStocksQuotes(t,i,n,s,o,r,d),g=a?.serverIndex??0,y=F["DefaultApi.deprecatedGetHistoricStocksQuotes"]?.[g]?.url;return(p,f)=>Q(l,H,D,a)(p,y||f)},async deprecatedGetHistoricStocksTrades(t,i,n,s,o,r,d){let l=await e.deprecatedGetHistoricStocksTrades(t,i,n,s,o,r,d),g=a?.serverIndex??0,y=F["DefaultApi.deprecatedGetHistoricStocksTrades"]?.[g]?.url;return(p,f)=>Q(l,H,D,a)(p,y||f)},async getBenzingaV1AnalystInsights(t,i,n,s,o,r,d,l,g,y,p,f,m,u,b,h,x,R,c,k,A,G,S,C,w,O,N,T,K,W,I,V,v,te,ee,se,ie,$,oe,re,L,ae,ce,pe){let fe=await e.getBenzingaV1AnalystInsights(t,i,n,s,o,r,d,l,g,y,p,f,m,u,b,h,x,R,c,k,A,G,S,C,w,O,N,T,K,W,I,V,v,te,ee,se,ie,$,oe,re,L,ae,ce,pe),de=a?.serverIndex??0,le=F["DefaultApi.getBenzingaV1AnalystInsights"]?.[de]?.url;return(ue,X)=>Q(fe,H,D,a)(ue,le||X)},async getBenzingaV1Analysts(t,i,n,s,o,r,d,l,g,y,p,f,m,u,b,h,x,R,c,k,A,G,S,C,w,O,N){let T=await e.getBenzingaV1Analysts(t,i,n,s,o,r,d,l,g,y,p,f,m,u,b,h,x,R,c,k,A,G,S,C,w,O,N),K=a?.serverIndex??0,W=F["DefaultApi.getBenzingaV1Analysts"]?.[K]?.url;return(I,V)=>Q(T,H,D,a)(I,W||V)},async getBenzingaV1BullsBearsSay(t,i,n,s,o,r,d,l,g,y,p,f,m,u,b,h,x,R,c,k){let A=await e.getBenzingaV1BullsBearsSay(t,i,n,s,o,r,d,l,g,y,p,f,m,u,b,h,x,R,c,k),G=a?.serverIndex??0,S=F["DefaultApi.getBenzingaV1BullsBearsSay"]?.[G]?.url;return(C,w)=>Q(A,H,D,a)(C,S||w)},async getBenzingaV1ConsensusRatings(t,i,n,s,o,r,d,l,g){let y=await e.getBenzingaV1ConsensusRatings(t,i,n,s,o,r,d,l,g),p=a?.serverIndex??0,f=F["DefaultApi.getBenzingaV1ConsensusRatings"]?.[p]?.url;return(m,u)=>Q(y,H,D,a)(m,f||u)},async getBenzingaV1Earnings(t,i,n,s,o,r,d,l,g,y,p,f,m,u,b,h,x,R,c,k,A,G,S,C,w,O,N,T,K,W,I,V,v,te,ee,se,ie,$,oe,re,L,ae,ce,pe,fe,de,le,ue,X,J,ye,ge,be,Z,_,me,he){let xe=await e.getBenzingaV1Earnings(t,i,n,s,o,r,d,l,g,y,p,f,m,u,b,h,x,R,c,k,A,G,S,C,w,O,N,T,K,W,I,V,v,te,ee,se,ie,$,oe,re,L,ae,ce,pe,fe,de,le,ue,X,J,ye,ge,be,Z,_,me,he),Re=a?.serverIndex??0,P=F["DefaultApi.getBenzingaV1Earnings"]?.[Re]?.url;return(Ae,ne)=>Q(xe,H,D,a)(Ae,P||ne)},async getBenzingaV1Firms(t,i,n,s,o,r,d,l,g){let y=await e.getBenzingaV1Firms(t,i,n,s,o,r,d,l,g),p=a?.serverIndex??0,f=F["DefaultApi.getBenzingaV1Firms"]?.[p]?.url;return(m,u)=>Q(y,H,D,a)(m,f||u)},async getBenzingaV1Guidance(t,i,n,s,o,r,d,l,g,y,p,f,m,u,b,h,x,R,c,k,A,G,S,C,w,O,N,T,K,W,I,V,v,te,ee,se,ie,$,oe,re,L,ae,ce,pe,fe){let de=await e.getBenzingaV1Guidance(t,i,n,s,o,r,d,l,g,y,p,f,m,u,b,h,x,R,c,k,A,G,S,C,w,O,N,T,K,W,I,V,v,te,ee,se,ie,$,oe,re,L,ae,ce,pe,fe),le=a?.serverIndex??0,ue=F["DefaultApi.getBenzingaV1Guidance"]?.[le]?.url;return(X,J)=>Q(de,H,D,a)(X,ue||J)},async getBenzingaV1Ratings(t,i,n,s,o,r,d,l,g,y,p,f,m,u,b,h,x,R,c,k,A,G,S,C,w,O,N,T,K,W,I,V,v,te,ee,se,ie,$,oe,re,L,ae,ce,pe,fe,de,le,ue,X,J,ye,ge,be,Z,_){let me=await e.getBenzingaV1Ratings(t,i,n,s,o,r,d,l,g,y,p,f,m,u,b,h,x,R,c,k,A,G,S,C,w,O,N,T,K,W,I,V,v,te,ee,se,ie,$,oe,re,L,ae,ce,pe,fe,de,le,ue,X,J,ye,ge,be,Z,_),he=a?.serverIndex??0,xe=F["DefaultApi.getBenzingaV1Ratings"]?.[he]?.url;return(Re,P)=>Q(me,H,D,a)(Re,xe||P)},async getBenzingaV2News(t,i,n,s,o,r,d,l,g,y,p,f,m,u,b,h,x,R,c,k,A,G,S,C,w,O){let N=await e.getBenzingaV2News(t,i,n,s,o,r,d,l,g,y,p,f,m,u,b,h,x,R,c,k,A,G,S,C,w,O),T=a?.serverIndex??0,K=F["DefaultApi.getBenzingaV2News"]?.[T]?.url;return(W,I)=>Q(N,H,D,a)(W,K||I)},async getCryptoAggregates(t,i,n,s,o,r,d,l,g){let y=await e.getCryptoAggregates(t,i,n,s,o,r,d,l,g),p=a?.serverIndex??0,f=F["DefaultApi.getCryptoAggregates"]?.[p]?.url;return(m,u)=>Q(y,H,D,a)(m,f||u)},async getCryptoEMA(t,i,n,s,o,r,d,l,g,y,p,f,m){let u=await e.getCryptoEMA(t,i,n,s,o,r,d,l,g,y,p,f,m),b=a?.serverIndex??0,h=F["DefaultApi.getCryptoEMA"]?.[b]?.url;return(x,R)=>Q(u,H,D,a)(x,h||R)},async getCryptoMACD(t,i,n,s,o,r,d,l,g,y,p,f,m,u,b){let h=await e.getCryptoMACD(t,i,n,s,o,r,d,l,g,y,p,f,m,u,b),x=a?.serverIndex??0,R=F["DefaultApi.getCryptoMACD"]?.[x]?.url;return(c,k)=>Q(h,H,D,a)(c,R||k)},async getCryptoOpenClose(t,i,n,s,o){let r=await e.getCryptoOpenClose(t,i,n,s,o),d=a?.serverIndex??0,l=F["DefaultApi.getCryptoOpenClose"]?.[d]?.url;return(g,y)=>Q(r,H,D,a)(g,l||y)},async getCryptoRSI(t,i,n,s,o,r,d,l,g,y,p,f,m){let u=await e.getCryptoRSI(t,i,n,s,o,r,d,l,g,y,p,f,m),b=a?.serverIndex??0,h=F["DefaultApi.getCryptoRSI"]?.[b]?.url;return(x,R)=>Q(u,H,D,a)(x,h||R)},async getCryptoSMA(t,i,n,s,o,r,d,l,g,y,p,f,m){let u=await e.getCryptoSMA(t,i,n,s,o,r,d,l,g,y,p,f,m),b=a?.serverIndex??0,h=F["DefaultApi.getCryptoSMA"]?.[b]?.url;return(x,R)=>Q(u,H,D,a)(x,h||R)},async getCryptoSnapshotDirection(t,i){let n=await e.getCryptoSnapshotDirection(t,i),s=a?.serverIndex??0,o=F["DefaultApi.getCryptoSnapshotDirection"]?.[s]?.url;return(r,d)=>Q(n,H,D,a)(r,o||d)},async getCryptoSnapshotTicker(t,i){let n=await e.getCryptoSnapshotTicker(t,i),s=a?.serverIndex??0,o=F["DefaultApi.getCryptoSnapshotTicker"]?.[s]?.url;return(r,d)=>Q(n,H,D,a)(r,o||d)},async getCryptoSnapshotTickers(t,i){let n=await e.getCryptoSnapshotTickers(t,i),s=a?.serverIndex??0,o=F["DefaultApi.getCryptoSnapshotTickers"]?.[s]?.url;return(r,d)=>Q(n,H,D,a)(r,o||d)},async getCryptoTrades(t,i,n,s,o,r,d,l,g,y){let p=await e.getCryptoTrades(t,i,n,s,o,r,d,l,g,y),f=a?.serverIndex??0,m=F["DefaultApi.getCryptoTrades"]?.[f]?.url;return(u,b)=>Q(p,H,D,a)(u,m||b)},async getCryptoV1Exchanges(t,i){let n=await e.getCryptoV1Exchanges(t,i),s=a?.serverIndex??0,o=F["DefaultApi.getCryptoV1Exchanges"]?.[s]?.url;return(r,d)=>Q(n,H,D,a)(r,o||d)},async getCurrencyConversion(t,i,n,s,o){let r=await e.getCurrencyConversion(t,i,n,s,o),d=a?.serverIndex??0,l=F["DefaultApi.getCurrencyConversion"]?.[d]?.url;return(g,y)=>Q(r,H,D,a)(g,l||y)},async getEtfGlobalV1Analytics(t,i,n,s,o,r,d,l,g,y,p,f,m,u,b,h,x,R,c,k,A,G,S,C,w,O,N,T,K,W,I,V,v,te,ee,se,ie,$,oe,re,L,ae,ce,pe,fe,de,le,ue,X,J,ye,ge,be,Z,_,me,he,xe,Re,P,Ae,ne,Ge,Oe,Ce,Ve,Se,we,ve,Te){let Ie=await e.getEtfGlobalV1Analytics(t,i,n,s,o,r,d,l,g,y,p,f,m,u,b,h,x,R,c,k,A,G,S,C,w,O,N,T,K,W,I,V,v,te,ee,se,ie,$,oe,re,L,ae,ce,pe,fe,de,le,ue,X,J,ye,ge,be,Z,_,me,he,xe,Re,P,Ae,ne,Ge,Oe,Ce,Ve,Se,we,ve,Te),ke=a?.serverIndex??0,Le=F["DefaultApi.getEtfGlobalV1Analytics"]?.[ke]?.url;return(De,q)=>Q(Ie,H,D,a)(De,Le||q)},async getEtfGlobalV1Constituents(t,i,n,s,o,r,d,l,g,y,p,f,m,u,b,h,x,R,c,k,A,G,S,C,w,O,N,T,K,W,I,V,v,te,ee,se,ie,$,oe,re,L,ae,ce,pe,fe,de,le,ue,X){let J=await e.getEtfGlobalV1Constituents(t,i,n,s,o,r,d,l,g,y,p,f,m,u,b,h,x,R,c,k,A,G,S,C,w,O,N,T,K,W,I,V,v,te,ee,se,ie,$,oe,re,L,ae,ce,pe,fe,de,le,ue,X),ye=a?.serverIndex??0,ge=F["DefaultApi.getEtfGlobalV1Constituents"]?.[ye]?.url;return(be,Z)=>Q(J,H,D,a)(be,ge||Z)},async getEtfGlobalV1FundFlows(t,i,n,s,o,r,d,l,g,y,p,f,m,u,b,h,x,R,c){let k=await e.getEtfGlobalV1FundFlows(t,i,n,s,o,r,d,l,g,y,p,f,m,u,b,h,x,R,c),A=a?.serverIndex??0,G=F["DefaultApi.getEtfGlobalV1FundFlows"]?.[A]?.url;return(S,C)=>Q(k,H,D,a)(S,G||C)},async getEtfGlobalV1Profiles(t,i,n,s,o,r,d,l,g,y,p,f,m,u,b,h,x,R,c){let k=await e.getEtfGlobalV1Profiles(t,i,n,s,o,r,d,l,g,y,p,f,m,u,b,h,x,R,c),A=a?.serverIndex??0,G=F["DefaultApi.getEtfGlobalV1Profiles"]?.[A]?.url;return(S,C)=>Q(k,H,D,a)(S,G||C)},async getEtfGlobalV1Taxonomies(t,i,n,s,o,r,d,l,g,y,p,f,m,u,b,h,x,R,c){let k=await e.getEtfGlobalV1Taxonomies(t,i,n,s,o,r,d,l,g,y,p,f,m,u,b,h,x,R,c),A=a?.serverIndex??0,G=F["DefaultApi.getEtfGlobalV1Taxonomies"]?.[A]?.url;return(S,C)=>Q(k,H,D,a)(S,G||C)},async getEvents(t,i,n){let s=await e.getEvents(t,i,n),o=a?.serverIndex??0,r=F["DefaultApi.getEvents"]?.[o]?.url;return(d,l)=>Q(s,H,D,a)(d,r||l)},async getFedV1Inflation(t,i,n,s,o,r,d,l,g){let y=await e.getFedV1Inflation(t,i,n,s,o,r,d,l,g),p=a?.serverIndex??0,f=F["DefaultApi.getFedV1Inflation"]?.[p]?.url;return(m,u)=>Q(y,H,D,a)(m,f||u)},async getFedV1InflationExpectations(t,i,n,s,o,r,d,l,g){let y=await e.getFedV1InflationExpectations(t,i,n,s,o,r,d,l,g),p=a?.serverIndex??0,f=F["DefaultApi.getFedV1InflationExpectations"]?.[p]?.url;return(m,u)=>Q(y,H,D,a)(m,f||u)},async getFedV1LaborMarket(t,i,n,s,o,r,d,l,g){let y=await e.getFedV1LaborMarket(t,i,n,s,o,r,d,l,g),p=a?.serverIndex??0,f=F["DefaultApi.getFedV1LaborMarket"]?.[p]?.url;return(m,u)=>Q(y,H,D,a)(m,f||u)},async getFedV1TreasuryYields(t,i,n,s,o,r,d,l,g){let y=await e.getFedV1TreasuryYields(t,i,n,s,o,r,d,l,g),p=a?.serverIndex??0,f=F["DefaultApi.getFedV1TreasuryYields"]?.[p]?.url;return(m,u)=>Q(y,H,D,a)(m,f||u)},async getForexAggregates(t,i,n,s,o,r,d,l,g){let y=await e.getForexAggregates(t,i,n,s,o,r,d,l,g),p=a?.serverIndex??0,f=F["DefaultApi.getForexAggregates"]?.[p]?.url;return(m,u)=>Q(y,H,D,a)(m,f||u)},async getForexEMA(t,i,n,s,o,r,d,l,g,y,p,f,m,u){let b=await e.getForexEMA(t,i,n,s,o,r,d,l,g,y,p,f,m,u),h=a?.serverIndex??0,x=F["DefaultApi.getForexEMA"]?.[h]?.url;return(R,c)=>Q(b,H,D,a)(R,x||c)},async getForexMACD(t,i,n,s,o,r,d,l,g,y,p,f,m,u,b,h){let x=await e.getForexMACD(t,i,n,s,o,r,d,l,g,y,p,f,m,u,b,h),R=a?.serverIndex??0,c=F["DefaultApi.getForexMACD"]?.[R]?.url;return(k,A)=>Q(x,H,D,a)(k,c||A)},async getForexQuotes(t,i,n,s,o,r,d,l,g,y){let p=await e.getForexQuotes(t,i,n,s,o,r,d,l,g,y),f=a?.serverIndex??0,m=F["DefaultApi.getForexQuotes"]?.[f]?.url;return(u,b)=>Q(p,H,D,a)(u,m||b)},async getForexRSI(t,i,n,s,o,r,d,l,g,y,p,f,m,u){let b=await e.getForexRSI(t,i,n,s,o,r,d,l,g,y,p,f,m,u),h=a?.serverIndex??0,x=F["DefaultApi.getForexRSI"]?.[h]?.url;return(R,c)=>Q(b,H,D,a)(R,x||c)},async getForexSMA(t,i,n,s,o,r,d,l,g,y,p,f,m,u){let b=await e.getForexSMA(t,i,n,s,o,r,d,l,g,y,p,f,m,u),h=a?.serverIndex??0,x=F["DefaultApi.getForexSMA"]?.[h]?.url;return(R,c)=>Q(b,H,D,a)(R,x||c)},async getForexSnapshotDirection(t,i){let n=await e.getForexSnapshotDirection(t,i),s=a?.serverIndex??0,o=F["DefaultApi.getForexSnapshotDirection"]?.[s]?.url;return(r,d)=>Q(n,H,D,a)(r,o||d)},async getForexSnapshotTicker(t,i){let n=await e.getForexSnapshotTicker(t,i),s=a?.serverIndex??0,o=F["DefaultApi.getForexSnapshotTicker"]?.[s]?.url;return(r,d)=>Q(n,H,D,a)(r,o||d)},async getForexSnapshotTickers(t,i){let n=await e.getForexSnapshotTickers(t,i),s=a?.serverIndex??0,o=F["DefaultApi.getForexSnapshotTickers"]?.[s]?.url;return(r,d)=>Q(n,H,D,a)(r,o||d)},async getForexV1Exchanges(t,i){let n=await e.getForexV1Exchanges(t,i),s=a?.serverIndex??0,o=F["DefaultApi.getForexV1Exchanges"]?.[s]?.url;return(r,d)=>Q(n,H,D,a)(r,o||d)},async getFuturesAggregates(t,i,n,s,o,r,d,l,g,y){let p=await e.getFuturesAggregates(t,i,n,s,o,r,d,l,g,y),f=a?.serverIndex??0,m=F["DefaultApi.getFuturesAggregates"]?.[f]?.url;return(u,b)=>Q(p,H,D,a)(u,m||b)},async getFuturesQuotes(t,i,n,s,o,r,d,l,g,y,p,f,m,u){let b=await e.getFuturesQuotes(t,i,n,s,o,r,d,l,g,y,p,f,m,u),h=a?.serverIndex??0,x=F["DefaultApi.getFuturesQuotes"]?.[h]?.url;return(R,c)=>Q(b,H,D,a)(R,x||c)},async getFuturesTrades(t,i,n,s,o,r,d,l,g,y,p,f,m,u){let b=await e.getFuturesTrades(t,i,n,s,o,r,d,l,g,y,p,f,m,u),h=a?.serverIndex??0,x=F["DefaultApi.getFuturesTrades"]?.[h]?.url;return(R,c)=>Q(b,H,D,a)(R,x||c)},async getFuturesVXContracts(t,i,n,s,o,r,d,l,g,y,p,f,m,u,b,h,x,R,c,k,A,G,S,C,w,O,N,T,K,W,I,V,v){let te=await e.getFuturesVXContracts(t,i,n,s,o,r,d,l,g,y,p,f,m,u,b,h,x,R,c,k,A,G,S,C,w,O,N,T,K,W,I,V,v),ee=a?.serverIndex??0,se=F["DefaultApi.getFuturesVXContracts"]?.[ee]?.url;return(ie,$)=>Q(te,H,D,a)(ie,se||$)},async getFuturesVXExchanges(t,i){let n=await e.getFuturesVXExchanges(t,i),s=a?.serverIndex??0,o=F["DefaultApi.getFuturesVXExchanges"]?.[s]?.url;return(r,d)=>Q(n,H,D,a)(r,o||d)},async getFuturesVXMarketStatus(t,i,n,s,o,r,d,l){let g=await e.getFuturesVXMarketStatus(t,i,n,s,o,r,d,l),y=a?.serverIndex??0,p=F["DefaultApi.getFuturesVXMarketStatus"]?.[y]?.url;return(f,m)=>Q(g,H,D,a)(f,p||m)},async getFuturesVXProducts(t,i,n,s,o,r,d,l,g,y,p,f,m,u,b,h,x,R,c,k,A,G,S,C,w,O,N,T,K,W,I,V,v,te,ee,se){let ie=await e.getFuturesVXProducts(t,i,n,s,o,r,d,l,g,y,p,f,m,u,b,h,x,R,c,k,A,G,S,C,w,O,N,T,K,W,I,V,v,te,ee,se),$=a?.serverIndex??0,oe=F["DefaultApi.getFuturesVXProducts"]?.[$]?.url;return(re,L)=>Q(ie,H,D,a)(re,oe||L)},async getFuturesVXSchedules(t,i,n,s,o,r,d,l,g,y,p,f,m,u,b,h,x,R,c,k,A){let G=await e.getFuturesVXSchedules(t,i,n,s,o,r,d,l,g,y,p,f,m,u,b,h,x,R,c,k,A),S=a?.serverIndex??0,C=F["DefaultApi.getFuturesVXSchedules"]?.[S]?.url;return(w,O)=>Q(G,H,D,a)(w,C||O)},async getFuturesVXSnapshot(t,i,n,s,o,r,d,l,g,y,p,f,m,u,b){let h=await e.getFuturesVXSnapshot(t,i,n,s,o,r,d,l,g,y,p,f,m,u,b),x=a?.serverIndex??0,R=F["DefaultApi.getFuturesVXSnapshot"]?.[x]?.url;return(c,k)=>Q(h,H,D,a)(c,R||k)},async getGroupedCryptoAggregates(t,i,n){let s=await e.getGroupedCryptoAggregates(t,i,n),o=a?.serverIndex??0,r=F["DefaultApi.getGroupedCryptoAggregates"]?.[o]?.url;return(d,l)=>Q(s,H,D,a)(d,r||l)},async getGroupedForexAggregates(t,i,n){let s=await e.getGroupedForexAggregates(t,i,n),o=a?.serverIndex??0,r=F["DefaultApi.getGroupedForexAggregates"]?.[o]?.url;return(d,l)=>Q(s,H,D,a)(d,r||l)},async getGroupedStocksAggregates(t,i,n,s){let o=await e.getGroupedStocksAggregates(t,i,n,s),r=a?.serverIndex??0,d=F["DefaultApi.getGroupedStocksAggregates"]?.[r]?.url;return(l,g)=>Q(o,H,D,a)(l,d||g)},async getIndicesAggregates(t,i,n,s,o,r,d,l){let g=await e.getIndicesAggregates(t,i,n,s,o,r,d,l),y=a?.serverIndex??0,p=F["DefaultApi.getIndicesAggregates"]?.[y]?.url;return(f,m)=>Q(g,H,D,a)(f,p||m)},async getIndicesEMA(t,i,n,s,o,r,d,l,g,y,p,f,m,u){let b=await e.getIndicesEMA(t,i,n,s,o,r,d,l,g,y,p,f,m,u),h=a?.serverIndex??0,x=F["DefaultApi.getIndicesEMA"]?.[h]?.url;return(R,c)=>Q(b,H,D,a)(R,x||c)},async getIndicesMACD(t,i,n,s,o,r,d,l,g,y,p,f,m,u,b,h){let x=await e.getIndicesMACD(t,i,n,s,o,r,d,l,g,y,p,f,m,u,b,h),R=a?.serverIndex??0,c=F["DefaultApi.getIndicesMACD"]?.[R]?.url;return(k,A)=>Q(x,H,D,a)(k,c||A)},async getIndicesOpenClose(t,i,n){let s=await e.getIndicesOpenClose(t,i,n),o=a?.serverIndex??0,r=F["DefaultApi.getIndicesOpenClose"]?.[o]?.url;return(d,l)=>Q(s,H,D,a)(d,r||l)},async getIndicesRSI(t,i,n,s,o,r,d,l,g,y,p,f,m,u){let b=await e.getIndicesRSI(t,i,n,s,o,r,d,l,g,y,p,f,m,u),h=a?.serverIndex??0,x=F["DefaultApi.getIndicesRSI"]?.[h]?.url;return(R,c)=>Q(b,H,D,a)(R,x||c)},async getIndicesSMA(t,i,n,s,o,r,d,l,g,y,p,f,m,u){let b=await e.getIndicesSMA(t,i,n,s,o,r,d,l,g,y,p,f,m,u),h=a?.serverIndex??0,x=F["DefaultApi.getIndicesSMA"]?.[h]?.url;return(R,c)=>Q(b,H,D,a)(R,x||c)},async getIndicesSnapshot(t,i,n,s,o,r,d,l,g,y){let p=await e.getIndicesSnapshot(t,i,n,s,o,r,d,l,g,y),f=a?.serverIndex??0,m=F["DefaultApi.getIndicesSnapshot"]?.[f]?.url;return(u,b)=>Q(p,H,D,a)(u,m||b)},async getLastCryptoTrade(t,i,n){let s=await e.getLastCryptoTrade(t,i,n),o=a?.serverIndex??0,r=F["DefaultApi.getLastCryptoTrade"]?.[o]?.url;return(d,l)=>Q(s,H,D,a)(d,r||l)},async getLastCurrencyQuote(t,i,n){let s=await e.getLastCurrencyQuote(t,i,n),o=a?.serverIndex??0,r=F["DefaultApi.getLastCurrencyQuote"]?.[o]?.url;return(d,l)=>Q(s,H,D,a)(d,r||l)},async getLastOptionsTrade(t,i){let n=await e.getLastOptionsTrade(t,i),s=a?.serverIndex??0,o=F["DefaultApi.getLastOptionsTrade"]?.[s]?.url;return(r,d)=>Q(n,H,D,a)(r,o||d)},async getLastStocksQuote(t,i){let n=await e.getLastStocksQuote(t,i),s=a?.serverIndex??0,o=F["DefaultApi.getLastStocksQuote"]?.[s]?.url;return(r,d)=>Q(n,H,D,a)(r,o||d)},async getLastStocksTrade(t,i){let n=await e.getLastStocksTrade(t,i),s=a?.serverIndex??0,o=F["DefaultApi.getLastStocksTrade"]?.[s]?.url;return(r,d)=>Q(n,H,D,a)(r,o||d)},async getMarketHolidays(t){let i=await e.getMarketHolidays(t),n=a?.serverIndex??0,s=F["DefaultApi.getMarketHolidays"]?.[n]?.url;return(o,r)=>Q(i,H,D,a)(o,s||r)},async getMarketStatus(t){let i=await e.getMarketStatus(t),n=a?.serverIndex??0,s=F["DefaultApi.getMarketStatus"]?.[n]?.url;return(o,r)=>Q(i,H,D,a)(o,s||r)},async getOptionContract(t,i,n){let s=await e.getOptionContract(t,i,n),o=a?.serverIndex??0,r=F["DefaultApi.getOptionContract"]?.[o]?.url;return(d,l)=>Q(s,H,D,a)(d,r||l)},async getOptionsAggregates(t,i,n,s,o,r,d,l,g){let y=await e.getOptionsAggregates(t,i,n,s,o,r,d,l,g),p=a?.serverIndex??0,f=F["DefaultApi.getOptionsAggregates"]?.[p]?.url;return(m,u)=>Q(y,H,D,a)(m,f||u)},async getOptionsChain(t,i,n,s,o,r,d,l,g,y,p,f,m,u,b,h){let x=await e.getOptionsChain(t,i,n,s,o,r,d,l,g,y,p,f,m,u,b,h),R=a?.serverIndex??0,c=F["DefaultApi.getOptionsChain"]?.[R]?.url;return(k,A)=>Q(x,H,D,a)(k,c||A)},async getOptionsContract(t,i,n){let s=await e.getOptionsContract(t,i,n),o=a?.serverIndex??0,r=F["DefaultApi.getOptionsContract"]?.[o]?.url;return(d,l)=>Q(s,H,D,a)(d,r||l)},async getOptionsEMA(t,i,n,s,o,r,d,l,g,y,p,f,m,u){let b=await e.getOptionsEMA(t,i,n,s,o,r,d,l,g,y,p,f,m,u),h=a?.serverIndex??0,x=F["DefaultApi.getOptionsEMA"]?.[h]?.url;return(R,c)=>Q(b,H,D,a)(R,x||c)},async getOptionsMACD(t,i,n,s,o,r,d,l,g,y,p,f,m,u,b,h){let x=await e.getOptionsMACD(t,i,n,s,o,r,d,l,g,y,p,f,m,u,b,h),R=a?.serverIndex??0,c=F["DefaultApi.getOptionsMACD"]?.[R]?.url;return(k,A)=>Q(x,H,D,a)(k,c||A)},async getOptionsOpenClose(t,i,n,s){let o=await e.getOptionsOpenClose(t,i,n,s),r=a?.serverIndex??0,d=F["DefaultApi.getOptionsOpenClose"]?.[r]?.url;return(l,g)=>Q(o,H,D,a)(l,d||g)},async getOptionsQuotes(t,i,n,s,o,r,d,l,g,y){let p=await e.getOptionsQuotes(t,i,n,s,o,r,d,l,g,y),f=a?.serverIndex??0,m=F["DefaultApi.getOptionsQuotes"]?.[f]?.url;return(u,b)=>Q(p,H,D,a)(u,m||b)},async getOptionsRSI(t,i,n,s,o,r,d,l,g,y,p,f,m,u){let b=await e.getOptionsRSI(t,i,n,s,o,r,d,l,g,y,p,f,m,u),h=a?.serverIndex??0,x=F["DefaultApi.getOptionsRSI"]?.[h]?.url;return(R,c)=>Q(b,H,D,a)(R,x||c)},async getOptionsSMA(t,i,n,s,o,r,d,l,g,y,p,f,m,u){let b=await e.getOptionsSMA(t,i,n,s,o,r,d,l,g,y,p,f,m,u),h=a?.serverIndex??0,x=F["DefaultApi.getOptionsSMA"]?.[h]?.url;return(R,c)=>Q(b,H,D,a)(R,x||c)},async getOptionsTrades(t,i,n,s,o,r,d,l,g,y){let p=await e.getOptionsTrades(t,i,n,s,o,r,d,l,g,y),f=a?.serverIndex??0,m=F["DefaultApi.getOptionsTrades"]?.[f]?.url;return(u,b)=>Q(p,H,D,a)(u,m||b)},async getOptionsV1Exchanges(t,i){let n=await e.getOptionsV1Exchanges(t,i),s=a?.serverIndex??0,o=F["DefaultApi.getOptionsV1Exchanges"]?.[s]?.url;return(r,d)=>Q(n,H,D,a)(r,o||d)},async getPreviousCryptoAggregates(t,i,n){let s=await e.getPreviousCryptoAggregates(t,i,n),o=a?.serverIndex??0,r=F["DefaultApi.getPreviousCryptoAggregates"]?.[o]?.url;return(d,l)=>Q(s,H,D,a)(d,r||l)},async getPreviousForexAggregates(t,i,n){let s=await e.getPreviousForexAggregates(t,i,n),o=a?.serverIndex??0,r=F["DefaultApi.getPreviousForexAggregates"]?.[o]?.url;return(d,l)=>Q(s,H,D,a)(d,r||l)},async getPreviousIndicesAggregates(t,i){let n=await e.getPreviousIndicesAggregates(t,i),s=a?.serverIndex??0,o=F["DefaultApi.getPreviousIndicesAggregates"]?.[s]?.url;return(r,d)=>Q(n,H,D,a)(r,o||d)},async getPreviousOptionsAggregates(t,i,n){let s=await e.getPreviousOptionsAggregates(t,i,n),o=a?.serverIndex??0,r=F["DefaultApi.getPreviousOptionsAggregates"]?.[o]?.url;return(d,l)=>Q(s,H,D,a)(d,r||l)},async getPreviousStocksAggregates(t,i,n){let s=await e.getPreviousStocksAggregates(t,i,n),o=a?.serverIndex??0,r=F["DefaultApi.getPreviousStocksAggregates"]?.[o]?.url;return(d,l)=>Q(s,H,D,a)(d,r||l)},async getRelatedCompanies(t,i){let n=await e.getRelatedCompanies(t,i),s=a?.serverIndex??0,o=F["DefaultApi.getRelatedCompanies"]?.[s]?.url;return(r,d)=>Q(n,H,D,a)(r,o||d)},async getSnapshotSummary(t,i){let n=await e.getSnapshotSummary(t,i),s=a?.serverIndex??0,o=F["DefaultApi.getSnapshotSummary"]?.[s]?.url;return(r,d)=>Q(n,H,D,a)(r,o||d)},async getSnapshots(t,i,n,s,o,r,d,l,g,y,p){let f=await e.getSnapshots(t,i,n,s,o,r,d,l,g,y,p),m=a?.serverIndex??0,u=F["DefaultApi.getSnapshots"]?.[m]?.url;return(b,h)=>Q(f,H,D,a)(b,u||h)},async getStocksAggregates(t,i,n,s,o,r,d,l,g){let y=await e.getStocksAggregates(t,i,n,s,o,r,d,l,g),p=a?.serverIndex??0,f=F["DefaultApi.getStocksAggregates"]?.[p]?.url;return(m,u)=>Q(y,H,D,a)(m,f||u)},async getStocksEMA(t,i,n,s,o,r,d,l,g,y,p,f,m,u){let b=await e.getStocksEMA(t,i,n,s,o,r,d,l,g,y,p,f,m,u),h=a?.serverIndex??0,x=F["DefaultApi.getStocksEMA"]?.[h]?.url;return(R,c)=>Q(b,H,D,a)(R,x||c)},async getStocksFilings10KVXSections(t,i,n,s,o,r,d,l,g,y,p,f,m,u,b,h,x,R,c,k,A,G,S,C,w,O,N){let T=await e.getStocksFilings10KVXSections(t,i,n,s,o,r,d,l,g,y,p,f,m,u,b,h,x,R,c,k,A,G,S,C,w,O,N),K=a?.serverIndex??0,W=F["DefaultApi.getStocksFilings10KVXSections"]?.[K]?.url;return(I,V)=>Q(T,H,D,a)(I,W||V)},async getStocksFilingsVXRiskFactors(t,i,n,s,o,r,d,l,g,y,p,f,m,u,b,h,x,R,c,k,A){let G=await e.getStocksFilingsVXRiskFactors(t,i,n,s,o,r,d,l,g,y,p,f,m,u,b,h,x,R,c,k,A),S=a?.serverIndex??0,C=F["DefaultApi.getStocksFilingsVXRiskFactors"]?.[S]?.url;return(w,O)=>Q(G,H,D,a)(w,C||O)},async getStocksFinancialsV1BalanceSheets(t,i,n,s,o,r,d,l,g,y,p,f,m,u,b,h,x,R,c,k,A,G,S,C,w,O,N,T,K,W,I,V,v,te,ee,se,ie,$,oe,re,L,ae,ce,pe,fe,de,le,ue,X,J){let ye=await e.getStocksFinancialsV1BalanceSheets(t,i,n,s,o,r,d,l,g,y,p,f,m,u,b,h,x,R,c,k,A,G,S,C,w,O,N,T,K,W,I,V,v,te,ee,se,ie,$,oe,re,L,ae,ce,pe,fe,de,le,ue,X,J),ge=a?.serverIndex??0,be=F["DefaultApi.getStocksFinancialsV1BalanceSheets"]?.[ge]?.url;return(Z,_)=>Q(ye,H,D,a)(Z,be||_)},async getStocksFinancialsV1CashFlowStatements(t,i,n,s,o,r,d,l,g,y,p,f,m,u,b,h,x,R,c,k,A,G,S,C,w,O,N,T,K,W,I,V,v,te,ee,se,ie,$,oe,re,L,ae,ce,pe,fe,de,le,ue,X,J){let ye=await e.getStocksFinancialsV1CashFlowStatements(t,i,n,s,o,r,d,l,g,y,p,f,m,u,b,h,x,R,c,k,A,G,S,C,w,O,N,T,K,W,I,V,v,te,ee,se,ie,$,oe,re,L,ae,ce,pe,fe,de,le,ue,X,J),ge=a?.serverIndex??0,be=F["DefaultApi.getStocksFinancialsV1CashFlowStatements"]?.[ge]?.url;return(Z,_)=>Q(ye,H,D,a)(Z,be||_)},async getStocksFinancialsV1IncomeStatements(t,i,n,s,o,r,d,l,g,y,p,f,m,u,b,h,x,R,c,k,A,G,S,C,w,O,N,T,K,W,I,V,v,te,ee,se,ie,$,oe,re,L,ae,ce,pe,fe,de,le,ue,X,J){let ye=await e.getStocksFinancialsV1IncomeStatements(t,i,n,s,o,r,d,l,g,y,p,f,m,u,b,h,x,R,c,k,A,G,S,C,w,O,N,T,K,W,I,V,v,te,ee,se,ie,$,oe,re,L,ae,ce,pe,fe,de,le,ue,X,J),ge=a?.serverIndex??0,be=F["DefaultApi.getStocksFinancialsV1IncomeStatements"]?.[ge]?.url;return(Z,_)=>Q(ye,H,D,a)(Z,be||_)},async getStocksFinancialsV1Ratios(t,i,n,s,o,r,d,l,g,y,p,f,m,u,b,h,x,R,c,k,A,G,S,C,w,O,N,T,K,W,I,V,v,te,ee,se,ie,$,oe,re,L,ae,ce,pe,fe,de,le,ue,X,J,ye,ge,be,Z,_,me,he,xe,Re,P,Ae,ne,Ge,Oe,Ce,Ve,Se,we,ve,Te,Ie,ke,Le,De,q,Be,Ue,ze,Ee,Qe,Me,He,je,Ke,Ne,$e,Ye,We,Xe,Je,Ze,qe,Pe,en,nn,tn,sn,on,rn,an,dn,ln,gn,cn,pn,fn,un,yn,bn,mn,hn,Rn,xn,An,Sn){let kn=await e.getStocksFinancialsV1Ratios(t,i,n,s,o,r,d,l,g,y,p,f,m,u,b,h,x,R,c,k,A,G,S,C,w,O,N,T,K,W,I,V,v,te,ee,se,ie,$,oe,re,L,ae,ce,pe,fe,de,le,ue,X,J,ye,ge,be,Z,_,me,he,xe,Re,P,Ae,ne,Ge,Oe,Ce,Ve,Se,we,ve,Te,Ie,ke,Le,De,q,Be,Ue,ze,Ee,Qe,Me,He,je,Ke,Ne,$e,Ye,We,Xe,Je,Ze,qe,Pe,en,nn,tn,sn,on,rn,an,dn,ln,gn,cn,pn,fn,un,yn,bn,mn,hn,Rn,xn,An,Sn),Fe=a?.serverIndex??0,_n=F["DefaultApi.getStocksFinancialsV1Ratios"]?.[Fe]?.url;return(wn,j)=>Q(kn,H,D,a)(wn,_n||j)},async getStocksMACD(t,i,n,s,o,r,d,l,g,y,p,f,m,u,b,h){let x=await e.getStocksMACD(t,i,n,s,o,r,d,l,g,y,p,f,m,u,b,h),R=a?.serverIndex??0,c=F["DefaultApi.getStocksMACD"]?.[R]?.url;return(k,A)=>Q(x,H,D,a)(k,c||A)},async getStocksOpenClose(t,i,n,s){let o=await e.getStocksOpenClose(t,i,n,s),r=a?.serverIndex??0,d=F["DefaultApi.getStocksOpenClose"]?.[r]?.url;return(l,g)=>Q(o,H,D,a)(l,d||g)},async getStocksQuotes(t,i,n,s,o,r,d,l,g,y){let p=await e.getStocksQuotes(t,i,n,s,o,r,d,l,g,y),f=a?.serverIndex??0,m=F["DefaultApi.getStocksQuotes"]?.[f]?.url;return(u,b)=>Q(p,H,D,a)(u,m||b)},async getStocksRSI(t,i,n,s,o,r,d,l,g,y,p,f,m,u){let b=await e.getStocksRSI(t,i,n,s,o,r,d,l,g,y,p,f,m,u),h=a?.serverIndex??0,x=F["DefaultApi.getStocksRSI"]?.[h]?.url;return(R,c)=>Q(b,H,D,a)(R,x||c)},async getStocksSMA(t,i,n,s,o,r,d,l,g,y,p,f,m,u){let b=await e.getStocksSMA(t,i,n,s,o,r,d,l,g,y,p,f,m,u),h=a?.serverIndex??0,x=F["DefaultApi.getStocksSMA"]?.[h]?.url;return(R,c)=>Q(b,H,D,a)(R,x||c)},async getStocksSnapshotDirection(t,i,n){let s=await e.getStocksSnapshotDirection(t,i,n),o=a?.serverIndex??0,r=F["DefaultApi.getStocksSnapshotDirection"]?.[o]?.url;return(d,l)=>Q(s,H,D,a)(d,r||l)},async getStocksSnapshotTicker(t,i){let n=await e.getStocksSnapshotTicker(t,i),s=a?.serverIndex??0,o=F["DefaultApi.getStocksSnapshotTicker"]?.[s]?.url;return(r,d)=>Q(n,H,D,a)(r,o||d)},async getStocksSnapshotTickers(t,i,n){let s=await e.getStocksSnapshotTickers(t,i,n),o=a?.serverIndex??0,r=F["DefaultApi.getStocksSnapshotTickers"]?.[o]?.url;return(d,l)=>Q(s,H,D,a)(d,r||l)},async getStocksTaxonomiesVXRiskFactors(t,i,n,s,o,r,d,l,g,y,p,f,m,u,b,h,x,R,c,k,A,G,S,C,w,O){let N=await e.getStocksTaxonomiesVXRiskFactors(t,i,n,s,o,r,d,l,g,y,p,f,m,u,b,h,x,R,c,k,A,G,S,C,w,O),T=a?.serverIndex??0,K=F["DefaultApi.getStocksTaxonomiesVXRiskFactors"]?.[T]?.url;return(W,I)=>Q(N,H,D,a)(W,K||I)},async getStocksTrades(t,i,n,s,o,r,d,l,g,y){let p=await e.getStocksTrades(t,i,n,s,o,r,d,l,g,y),f=a?.serverIndex??0,m=F["DefaultApi.getStocksTrades"]?.[f]?.url;return(u,b)=>Q(p,H,D,a)(u,m||b)},async getStocksV1Dividends(t,i,n,s,o,r,d,l,g,y,p,f,m,u,b,h,x,R,c,k,A){let G=await e.getStocksV1Dividends(t,i,n,s,o,r,d,l,g,y,p,f,m,u,b,h,x,R,c,k,A),S=a?.serverIndex??0,C=F["DefaultApi.getStocksV1Dividends"]?.[S]?.url;return(w,O)=>Q(G,H,D,a)(w,C||O)},async getStocksV1Exchanges(t,i){let n=await e.getStocksV1Exchanges(t,i),s=a?.serverIndex??0,o=F["DefaultApi.getStocksV1Exchanges"]?.[s]?.url;return(r,d)=>Q(n,H,D,a)(r,o||d)},async getStocksV1ShortInterest(t,i,n,s,o,r,d,l,g,y,p,f,m,u,b,h,x,R,c,k,A,G,S,C,w,O,N){let T=await e.getStocksV1ShortInterest(t,i,n,s,o,r,d,l,g,y,p,f,m,u,b,h,x,R,c,k,A,G,S,C,w,O,N),K=a?.serverIndex??0,W=F["DefaultApi.getStocksV1ShortInterest"]?.[K]?.url;return(I,V)=>Q(T,H,D,a)(I,W||V)},async getStocksV1ShortVolume(t,i,n,s,o,r,d,l,g,y,p,f,m,u,b,h,x,R,c,k,A,G,S,C,w,O,N){let T=await e.getStocksV1ShortVolume(t,i,n,s,o,r,d,l,g,y,p,f,m,u,b,h,x,R,c,k,A,G,S,C,w,O,N),K=a?.serverIndex??0,W=F["DefaultApi.getStocksV1ShortVolume"]?.[K]?.url;return(I,V)=>Q(T,H,D,a)(I,W||V)},async getStocksV1Splits(t,i,n,s,o,r,d,l,g,y,p,f,m,u,b,h){let x=await e.getStocksV1Splits(t,i,n,s,o,r,d,l,g,y,p,f,m,u,b,h),R=a?.serverIndex??0,c=F["DefaultApi.getStocksV1Splits"]?.[R]?.url;return(k,A)=>Q(x,H,D,a)(k,c||A)},async getStocksVXFloat(t,i,n,s,o,r,d,l,g,y,p,f,m,u){let b=await e.getStocksVXFloat(t,i,n,s,o,r,d,l,g,y,p,f,m,u),h=a?.serverIndex??0,x=F["DefaultApi.getStocksVXFloat"]?.[h]?.url;return(R,c)=>Q(b,H,D,a)(R,x||c)},async getTicker(t,i,n){let s=await e.getTicker(t,i,n),o=a?.serverIndex??0,r=F["DefaultApi.getTicker"]?.[o]?.url;return(d,l)=>Q(s,H,D,a)(d,r||l)},async getTmxV1CorporateEvents(t,i,n,s,o,r,d,l,g,y,p,f,m,u,b,h,x,R,c,k,A,G,S,C,w,O,N,T,K,W,I,V,v,te,ee,se,ie,$,oe,re,L,ae,ce,pe,fe,de,le,ue,X,J){let ye=await e.getTmxV1CorporateEvents(t,i,n,s,o,r,d,l,g,y,p,f,m,u,b,h,x,R,c,k,A,G,S,C,w,O,N,T,K,W,I,V,v,te,ee,se,ie,$,oe,re,L,ae,ce,pe,fe,de,le,ue,X,J),ge=a?.serverIndex??0,be=F["DefaultApi.getTmxV1CorporateEvents"]?.[ge]?.url;return(Z,_)=>Q(ye,H,D,a)(Z,be||_)},async listConditions(t,i,n,s,o,r,d,l){let g=await e.listConditions(t,i,n,s,o,r,d,l),y=a?.serverIndex??0,p=F["DefaultApi.listConditions"]?.[y]?.url;return(f,m)=>Q(g,H,D,a)(f,p||m)},async listDividends(t,i,n,s,o,r,d,l,g,y,p,f,m,u,b,h,x,R,c,k,A,G,S,C,w,O,N,T,K,W,I,V,v,te,ee,se){let ie=await e.listDividends(t,i,n,s,o,r,d,l,g,y,p,f,m,u,b,h,x,R,c,k,A,G,S,C,w,O,N,T,K,W,I,V,v,te,ee,se),$=a?.serverIndex??0,oe=F["DefaultApi.listDividends"]?.[$]?.url;return(re,L)=>Q(ie,H,D,a)(re,oe||L)},async listExchanges(t,i,n){let s=await e.listExchanges(t,i,n),o=a?.serverIndex??0,r=F["DefaultApi.listExchanges"]?.[o]?.url;return(d,l)=>Q(s,H,D,a)(d,r||l)},async listFinancials(t,i,n,s,o,r,d,l,g,y,p,f,m,u,b,h,x,R,c,k,A){let G=await e.listFinancials(t,i,n,s,o,r,d,l,g,y,p,f,m,u,b,h,x,R,c,k,A),S=a?.serverIndex??0,C=F["DefaultApi.listFinancials"]?.[S]?.url;return(w,O)=>Q(G,H,D,a)(w,C||O)},async listIPOs(t,i,n,s,o,r,d,l,g,y,p,f,m){let u=await e.listIPOs(t,i,n,s,o,r,d,l,g,y,p,f,m),b=a?.serverIndex??0,h=F["DefaultApi.listIPOs"]?.[b]?.url;return(x,R)=>Q(u,H,D,a)(x,h||R)},async listNews(t,i,n,s,o,r,d,l,g,y,p,f,m,u){let b=await e.listNews(t,i,n,s,o,r,d,l,g,y,p,f,m,u),h=a?.serverIndex??0,x=F["DefaultApi.listNews"]?.[h]?.url;return(R,c)=>Q(b,H,D,a)(R,x||c)},async listOptionsContracts(t,i,n,s,o,r,d,l,g,y,p,f,m,u,b,h,x,R,c,k,A,G,S){let C=await e.listOptionsContracts(t,i,n,s,o,r,d,l,g,y,p,f,m,u,b,h,x,R,c,k,A,G,S),w=a?.serverIndex??0,O=F["DefaultApi.listOptionsContracts"]?.[w]?.url;return(N,T)=>Q(C,H,D,a)(N,O||T)},async listStockSplits(t,i,n,s,o,r,d,l,g,y,p,f,m,u,b){let h=await e.listStockSplits(t,i,n,s,o,r,d,l,g,y,p,f,m,u,b),x=a?.serverIndex??0,R=F["DefaultApi.listStockSplits"]?.[x]?.url;return(c,k)=>Q(h,H,D,a)(c,R||k)},async listTickerTypes(t,i,n){let s=await e.listTickerTypes(t,i,n),o=a?.serverIndex??0,r=F["DefaultApi.listTickerTypes"]?.[o]?.url;return(d,l)=>Q(s,H,D,a)(d,r||l)},async listTickers(t,i,n,s,o,r,d,l,g,y,p,f,m,u,b,h,x){let R=await e.listTickers(t,i,n,s,o,r,d,l,g,y,p,f,m,u,b,h,x),c=a?.serverIndex??0,k=F["DefaultApi.listTickers"]?.[c]?.url;return(A,G)=>Q(R,H,D,a)(A,k||G)}}},cr=function(a,e,t){let i=M(a);return{deprecatedGetCryptoSnapshotTickerBook(n,s){return i.deprecatedGetCryptoSnapshotTickerBook(n.ticker,s).then(o=>o(t,e))},deprecatedGetHistoricCryptoTrades(n,s){return i.deprecatedGetHistoricCryptoTrades(n.from,n.to,n.date,n.offset,n.limit,s).then(o=>o(t,e))},deprecatedGetHistoricForexQuotes(n,s){return i.deprecatedGetHistoricForexQuotes(n.from,n.to,n.date,n.offset,n.limit,s).then(o=>o(t,e))},deprecatedGetHistoricStocksQuotes(n,s){return i.deprecatedGetHistoricStocksQuotes(n.ticker,n.date,n.timestamp,n.timestampLimit,n.reverse,n.limit,s).then(o=>o(t,e))},deprecatedGetHistoricStocksTrades(n,s){return i.deprecatedGetHistoricStocksTrades(n.ticker,n.date,n.timestamp,n.timestampLimit,n.reverse,n.limit,s).then(o=>o(t,e))},getBenzingaV1AnalystInsights(n={},s){return i.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,s).then(o=>o(t,e))},getBenzingaV1Analysts(n={},s){return i.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,s).then(o=>o(t,e))},getBenzingaV1BullsBearsSay(n={},s){return i.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,s).then(o=>o(t,e))},getBenzingaV1ConsensusRatings(n,s){return i.getBenzingaV1ConsensusRatings(n.ticker,n.date,n.dateAnyOf,n.dateGt,n.dateGte,n.dateLt,n.dateLte,n.limit,s).then(o=>o(t,e))},getBenzingaV1Earnings(n={},s){return i.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,s).then(o=>o(t,e))},getBenzingaV1Firms(n={},s){return i.getBenzingaV1Firms(n.benzingaId,n.benzingaIdAnyOf,n.benzingaIdGt,n.benzingaIdGte,n.benzingaIdLt,n.benzingaIdLte,n.limit,n.sort,s).then(o=>o(t,e))},getBenzingaV1Guidance(n={},s){return i.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,s).then(o=>o(t,e))},getBenzingaV1Ratings(n={},s){return i.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,s).then(o=>o(t,e))},getBenzingaV2News(n={},s){return i.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,s).then(o=>o(t,e))},getCryptoAggregates(n,s){return i.getCryptoAggregates(n.cryptoTicker,n.multiplier,n.timespan,n.from,n.to,n.adjusted,n.sort,n.limit,s).then(o=>o(t,e))},getCryptoEMA(n,s){return i.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,s).then(o=>o(t,e))},getCryptoMACD(n,s){return i.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,s).then(o=>o(t,e))},getCryptoOpenClose(n,s){return i.getCryptoOpenClose(n.from,n.to,n.date,n.adjusted,s).then(o=>o(t,e))},getCryptoRSI(n,s){return i.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,s).then(o=>o(t,e))},getCryptoSMA(n,s){return i.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,s).then(o=>o(t,e))},getCryptoSnapshotDirection(n,s){return i.getCryptoSnapshotDirection(n.direction,s).then(o=>o(t,e))},getCryptoSnapshotTicker(n,s){return i.getCryptoSnapshotTicker(n.ticker,s).then(o=>o(t,e))},getCryptoSnapshotTickers(n={},s){return i.getCryptoSnapshotTickers(n.tickers,s).then(o=>o(t,e))},getCryptoTrades(n,s){return i.getCryptoTrades(n.cryptoTicker,n.timestamp,n.timestampGte,n.timestampGt,n.timestampLte,n.timestampLt,n.order,n.limit,n.sort,s).then(o=>o(t,e))},getCryptoV1Exchanges(n={},s){return i.getCryptoV1Exchanges(n.limit,s).then(o=>o(t,e))},getCurrencyConversion(n,s){return i.getCurrencyConversion(n.from,n.to,n.amount,n.precision,s).then(o=>o(t,e))},getEtfGlobalV1Analytics(n={},s){return i.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,s).then(o=>o(t,e))},getEtfGlobalV1Constituents(n={},s){return i.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,s).then(o=>o(t,e))},getEtfGlobalV1FundFlows(n={},s){return i.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,s).then(o=>o(t,e))},getEtfGlobalV1Profiles(n={},s){return i.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,s).then(o=>o(t,e))},getEtfGlobalV1Taxonomies(n={},s){return i.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,s).then(o=>o(t,e))},getEvents(n,s){return i.getEvents(n.id,n.types,s).then(o=>o(t,e))},getFedV1Inflation(n={},s){return i.getFedV1Inflation(n.date,n.dateAnyOf,n.dateGt,n.dateGte,n.dateLt,n.dateLte,n.limit,n.sort,s).then(o=>o(t,e))},getFedV1InflationExpectations(n={},s){return i.getFedV1InflationExpectations(n.date,n.dateAnyOf,n.dateGt,n.dateGte,n.dateLt,n.dateLte,n.limit,n.sort,s).then(o=>o(t,e))},getFedV1LaborMarket(n={},s){return i.getFedV1LaborMarket(n.date,n.dateAnyOf,n.dateGt,n.dateGte,n.dateLt,n.dateLte,n.limit,n.sort,s).then(o=>o(t,e))},getFedV1TreasuryYields(n={},s){return i.getFedV1TreasuryYields(n.date,n.dateAnyOf,n.dateGt,n.dateGte,n.dateLt,n.dateLte,n.limit,n.sort,s).then(o=>o(t,e))},getForexAggregates(n,s){return i.getForexAggregates(n.forexTicker,n.multiplier,n.timespan,n.from,n.to,n.adjusted,n.sort,n.limit,s).then(o=>o(t,e))},getForexEMA(n,s){return i.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,s).then(o=>o(t,e))},getForexMACD(n,s){return i.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,s).then(o=>o(t,e))},getForexQuotes(n,s){return i.getForexQuotes(n.fxTicker,n.timestamp,n.timestampGte,n.timestampGt,n.timestampLte,n.timestampLt,n.order,n.limit,n.sort,s).then(o=>o(t,e))},getForexRSI(n,s){return i.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,s).then(o=>o(t,e))},getForexSMA(n,s){return i.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,s).then(o=>o(t,e))},getForexSnapshotDirection(n,s){return i.getForexSnapshotDirection(n.direction,s).then(o=>o(t,e))},getForexSnapshotTicker(n,s){return i.getForexSnapshotTicker(n.ticker,s).then(o=>o(t,e))},getForexSnapshotTickers(n={},s){return i.getForexSnapshotTickers(n.tickers,s).then(o=>o(t,e))},getForexV1Exchanges(n={},s){return i.getForexV1Exchanges(n.limit,s).then(o=>o(t,e))},getFuturesAggregates(n,s){return i.getFuturesAggregates(n.ticker,n.resolution,n.windowStart,n.limit,n.windowStartGte,n.windowStartGt,n.windowStartLte,n.windowStartLt,n.sort,s).then(o=>o(t,e))},getFuturesQuotes(n,s){return i.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,s).then(o=>o(t,e))},getFuturesTrades(n,s){return i.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,s).then(o=>o(t,e))},getFuturesVXContracts(n={},s){return i.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,s).then(o=>o(t,e))},getFuturesVXExchanges(n={},s){return i.getFuturesVXExchanges(n.limit,s).then(o=>o(t,e))},getFuturesVXMarketStatus(n={},s){return i.getFuturesVXMarketStatus(n.productCode,n.productCodeAnyOf,n.productCodeGt,n.productCodeGte,n.productCodeLt,n.productCodeLte,n.limit,s).then(o=>o(t,e))},getFuturesVXProducts(n={},s){return i.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,s).then(o=>o(t,e))},getFuturesVXSchedules(n={},s){return i.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,s).then(o=>o(t,e))},getFuturesVXSnapshot(n={},s){return i.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,s).then(o=>o(t,e))},getGroupedCryptoAggregates(n,s){return i.getGroupedCryptoAggregates(n.date,n.adjusted,s).then(o=>o(t,e))},getGroupedForexAggregates(n,s){return i.getGroupedForexAggregates(n.date,n.adjusted,s).then(o=>o(t,e))},getGroupedStocksAggregates(n,s){return i.getGroupedStocksAggregates(n.date,n.adjusted,n.includeOtc,s).then(o=>o(t,e))},getIndicesAggregates(n,s){return i.getIndicesAggregates(n.indicesTicker,n.multiplier,n.timespan,n.from,n.to,n.sort,n.limit,s).then(o=>o(t,e))},getIndicesEMA(n,s){return i.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,s).then(o=>o(t,e))},getIndicesMACD(n,s){return i.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,s).then(o=>o(t,e))},getIndicesOpenClose(n,s){return i.getIndicesOpenClose(n.indicesTicker,n.date,s).then(o=>o(t,e))},getIndicesRSI(n,s){return i.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,s).then(o=>o(t,e))},getIndicesSMA(n,s){return i.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,s).then(o=>o(t,e))},getIndicesSnapshot(n={},s){return i.getIndicesSnapshot(n.tickerAnyOf,n.ticker,n.tickerGte,n.tickerGt,n.tickerLte,n.tickerLt,n.order,n.limit,n.sort,s).then(o=>o(t,e))},getLastCryptoTrade(n,s){return i.getLastCryptoTrade(n.from,n.to,s).then(o=>o(t,e))},getLastCurrencyQuote(n,s){return i.getLastCurrencyQuote(n.from,n.to,s).then(o=>o(t,e))},getLastOptionsTrade(n,s){return i.getLastOptionsTrade(n.optionsTicker,s).then(o=>o(t,e))},getLastStocksQuote(n,s){return i.getLastStocksQuote(n.stocksTicker,s).then(o=>o(t,e))},getLastStocksTrade(n,s){return i.getLastStocksTrade(n.stocksTicker,s).then(o=>o(t,e))},getMarketHolidays(n){return i.getMarketHolidays(n).then(s=>s(t,e))},getMarketStatus(n){return i.getMarketStatus(n).then(s=>s(t,e))},getOptionContract(n,s){return i.getOptionContract(n.underlyingAsset,n.optionContract,s).then(o=>o(t,e))},getOptionsAggregates(n,s){return i.getOptionsAggregates(n.optionsTicker,n.multiplier,n.timespan,n.from,n.to,n.adjusted,n.sort,n.limit,s).then(o=>o(t,e))},getOptionsChain(n,s){return i.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,s).then(o=>o(t,e))},getOptionsContract(n,s){return i.getOptionsContract(n.optionsTicker,n.asOf,s).then(o=>o(t,e))},getOptionsEMA(n,s){return i.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,s).then(o=>o(t,e))},getOptionsMACD(n,s){return i.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,s).then(o=>o(t,e))},getOptionsOpenClose(n,s){return i.getOptionsOpenClose(n.optionsTicker,n.date,n.adjusted,s).then(o=>o(t,e))},getOptionsQuotes(n,s){return i.getOptionsQuotes(n.optionsTicker,n.timestamp,n.timestampGte,n.timestampGt,n.timestampLte,n.timestampLt,n.order,n.limit,n.sort,s).then(o=>o(t,e))},getOptionsRSI(n,s){return i.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,s).then(o=>o(t,e))},getOptionsSMA(n,s){return i.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,s).then(o=>o(t,e))},getOptionsTrades(n,s){return i.getOptionsTrades(n.optionsTicker,n.timestamp,n.timestampGte,n.timestampGt,n.timestampLte,n.timestampLt,n.order,n.limit,n.sort,s).then(o=>o(t,e))},getOptionsV1Exchanges(n={},s){return i.getOptionsV1Exchanges(n.limit,s).then(o=>o(t,e))},getPreviousCryptoAggregates(n,s){return i.getPreviousCryptoAggregates(n.cryptoTicker,n.adjusted,s).then(o=>o(t,e))},getPreviousForexAggregates(n,s){return i.getPreviousForexAggregates(n.forexTicker,n.adjusted,s).then(o=>o(t,e))},getPreviousIndicesAggregates(n,s){return i.getPreviousIndicesAggregates(n.indicesTicker,s).then(o=>o(t,e))},getPreviousOptionsAggregates(n,s){return i.getPreviousOptionsAggregates(n.optionsTicker,n.adjusted,s).then(o=>o(t,e))},getPreviousStocksAggregates(n,s){return i.getPreviousStocksAggregates(n.stocksTicker,n.adjusted,s).then(o=>o(t,e))},getRelatedCompanies(n,s){return i.getRelatedCompanies(n.ticker,s).then(o=>o(t,e))},getSnapshotSummary(n={},s){return i.getSnapshotSummary(n.tickerAnyOf,s).then(o=>o(t,e))},getSnapshots(n={},s){return i.getSnapshots(n.ticker,n.type,n.tickerGte,n.tickerGt,n.tickerLte,n.tickerLt,n.tickerAnyOf,n.order,n.limit,n.sort,s).then(o=>o(t,e))},getStocksAggregates(n,s){return i.getStocksAggregates(n.stocksTicker,n.multiplier,n.timespan,n.from,n.to,n.adjusted,n.sort,n.limit,s).then(o=>o(t,e))},getStocksEMA(n,s){return i.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,s).then(o=>o(t,e))},getStocksFilings10KVXSections(n={},s){return i.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,s).then(o=>o(t,e))},getStocksFilingsVXRiskFactors(n={},s){return i.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,s).then(o=>o(t,e))},getStocksFinancialsV1BalanceSheets(n={},s){return i.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,s).then(o=>o(t,e))},getStocksFinancialsV1CashFlowStatements(n={},s){return i.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,s).then(o=>o(t,e))},getStocksFinancialsV1IncomeStatements(n={},s){return i.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,s).then(o=>o(t,e))},getStocksFinancialsV1Ratios(n={},s){return i.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,s).then(o=>o(t,e))},getStocksMACD(n,s){return i.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,s).then(o=>o(t,e))},getStocksOpenClose(n,s){return i.getStocksOpenClose(n.stocksTicker,n.date,n.adjusted,s).then(o=>o(t,e))},getStocksQuotes(n,s){return i.getStocksQuotes(n.stockTicker,n.timestamp,n.timestampGte,n.timestampGt,n.timestampLte,n.timestampLt,n.order,n.limit,n.sort,s).then(o=>o(t,e))},getStocksRSI(n,s){return i.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,s).then(o=>o(t,e))},getStocksSMA(n,s){return i.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,s).then(o=>o(t,e))},getStocksSnapshotDirection(n,s){return i.getStocksSnapshotDirection(n.direction,n.includeOtc,s).then(o=>o(t,e))},getStocksSnapshotTicker(n,s){return i.getStocksSnapshotTicker(n.stocksTicker,s).then(o=>o(t,e))},getStocksSnapshotTickers(n={},s){return i.getStocksSnapshotTickers(n.tickers,n.includeOtc,s).then(o=>o(t,e))},getStocksTaxonomiesVXRiskFactors(n={},s){return i.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,s).then(o=>o(t,e))},getStocksTrades(n,s){return i.getStocksTrades(n.stockTicker,n.timestamp,n.timestampGte,n.timestampGt,n.timestampLte,n.timestampLt,n.order,n.limit,n.sort,s).then(o=>o(t,e))},getStocksV1Dividends(n={},s){return i.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,s).then(o=>o(t,e))},getStocksV1Exchanges(n={},s){return i.getStocksV1Exchanges(n.limit,s).then(o=>o(t,e))},getStocksV1ShortInterest(n={},s){return i.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,s).then(o=>o(t,e))},getStocksV1ShortVolume(n={},s){return i.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,s).then(o=>o(t,e))},getStocksV1Splits(n={},s){return i.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,s).then(o=>o(t,e))},getStocksVXFloat(n={},s){return i.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,s).then(o=>o(t,e))},getTicker(n,s){return i.getTicker(n.ticker,n.date,s).then(o=>o(t,e))},getTmxV1CorporateEvents(n={},s){return i.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,s).then(o=>o(t,e))},listConditions(n={},s){return i.listConditions(n.assetClass,n.dataType,n.id,n.sip,n.order,n.limit,n.sort,s).then(o=>o(t,e))},listDividends(n={},s){return i.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,s).then(o=>o(t,e))},listExchanges(n={},s){return i.listExchanges(n.assetClass,n.locale,s).then(o=>o(t,e))},listFinancials(n={},s){return i.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,s).then(o=>o(t,e))},listIPOs(n={},s){return i.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,s).then(o=>o(t,e))},listNews(n={},s){return i.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,s).then(o=>o(t,e))},listOptionsContracts(n={},s){return i.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,s).then(o=>o(t,e))},listStockSplits(n={},s){return i.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,s).then(o=>o(t,e))},listTickerTypes(n={},s){return i.listTickerTypes(n.assetClass,n.locale,s).then(o=>o(t,e))},listTickers(n={},s){return i.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,s).then(o=>o(t,e))}}},Cn=class extends Gn{deprecatedGetCryptoSnapshotTickerBook(e,t){return M(this.configuration).deprecatedGetCryptoSnapshotTickerBook(e.ticker,t).then(i=>i(this.axios,this.basePath))}deprecatedGetHistoricCryptoTrades(e,t){return M(this.configuration).deprecatedGetHistoricCryptoTrades(e.from,e.to,e.date,e.offset,e.limit,t).then(i=>i(this.axios,this.basePath))}deprecatedGetHistoricForexQuotes(e,t){return M(this.configuration).deprecatedGetHistoricForexQuotes(e.from,e.to,e.date,e.offset,e.limit,t).then(i=>i(this.axios,this.basePath))}deprecatedGetHistoricStocksQuotes(e,t){return M(this.configuration).deprecatedGetHistoricStocksQuotes(e.ticker,e.date,e.timestamp,e.timestampLimit,e.reverse,e.limit,t).then(i=>i(this.axios,this.basePath))}deprecatedGetHistoricStocksTrades(e,t){return M(this.configuration).deprecatedGetHistoricStocksTrades(e.ticker,e.date,e.timestamp,e.timestampLimit,e.reverse,e.limit,t).then(i=>i(this.axios,this.basePath))}getBenzingaV1AnalystInsights(e={},t){return M(this.configuration).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,t).then(i=>i(this.axios,this.basePath))}getBenzingaV1Analysts(e={},t){return M(this.configuration).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,t).then(i=>i(this.axios,this.basePath))}getBenzingaV1BullsBearsSay(e={},t){return M(this.configuration).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,t).then(i=>i(this.axios,this.basePath))}getBenzingaV1ConsensusRatings(e,t){return M(this.configuration).getBenzingaV1ConsensusRatings(e.ticker,e.date,e.dateAnyOf,e.dateGt,e.dateGte,e.dateLt,e.dateLte,e.limit,t).then(i=>i(this.axios,this.basePath))}getBenzingaV1Earnings(e={},t){return M(this.configuration).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,t).then(i=>i(this.axios,this.basePath))}getBenzingaV1Firms(e={},t){return M(this.configuration).getBenzingaV1Firms(e.benzingaId,e.benzingaIdAnyOf,e.benzingaIdGt,e.benzingaIdGte,e.benzingaIdLt,e.benzingaIdLte,e.limit,e.sort,t).then(i=>i(this.axios,this.basePath))}getBenzingaV1Guidance(e={},t){return M(this.configuration).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,t).then(i=>i(this.axios,this.basePath))}getBenzingaV1Ratings(e={},t){return M(this.configuration).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,t).then(i=>i(this.axios,this.basePath))}getBenzingaV2News(e={},t){return M(this.configuration).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,t).then(i=>i(this.axios,this.basePath))}getCryptoAggregates(e,t){return M(this.configuration).getCryptoAggregates(e.cryptoTicker,e.multiplier,e.timespan,e.from,e.to,e.adjusted,e.sort,e.limit,t).then(i=>i(this.axios,this.basePath))}getCryptoEMA(e,t){return M(this.configuration).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,t).then(i=>i(this.axios,this.basePath))}getCryptoMACD(e,t){return M(this.configuration).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,t).then(i=>i(this.axios,this.basePath))}getCryptoOpenClose(e,t){return M(this.configuration).getCryptoOpenClose(e.from,e.to,e.date,e.adjusted,t).then(i=>i(this.axios,this.basePath))}getCryptoRSI(e,t){return M(this.configuration).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,t).then(i=>i(this.axios,this.basePath))}getCryptoSMA(e,t){return M(this.configuration).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,t).then(i=>i(this.axios,this.basePath))}getCryptoSnapshotDirection(e,t){return M(this.configuration).getCryptoSnapshotDirection(e.direction,t).then(i=>i(this.axios,this.basePath))}getCryptoSnapshotTicker(e,t){return M(this.configuration).getCryptoSnapshotTicker(e.ticker,t).then(i=>i(this.axios,this.basePath))}getCryptoSnapshotTickers(e={},t){return M(this.configuration).getCryptoSnapshotTickers(e.tickers,t).then(i=>i(this.axios,this.basePath))}getCryptoTrades(e,t){return M(this.configuration).getCryptoTrades(e.cryptoTicker,e.timestamp,e.timestampGte,e.timestampGt,e.timestampLte,e.timestampLt,e.order,e.limit,e.sort,t).then(i=>i(this.axios,this.basePath))}getCryptoV1Exchanges(e={},t){return M(this.configuration).getCryptoV1Exchanges(e.limit,t).then(i=>i(this.axios,this.basePath))}getCurrencyConversion(e,t){return M(this.configuration).getCurrencyConversion(e.from,e.to,e.amount,e.precision,t).then(i=>i(this.axios,this.basePath))}getEtfGlobalV1Analytics(e={},t){return M(this.configuration).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,t).then(i=>i(this.axios,this.basePath))}getEtfGlobalV1Constituents(e={},t){return M(this.configuration).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,t).then(i=>i(this.axios,this.basePath))}getEtfGlobalV1FundFlows(e={},t){return M(this.configuration).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,t).then(i=>i(this.axios,this.basePath))}getEtfGlobalV1Profiles(e={},t){return M(this.configuration).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,t).then(i=>i(this.axios,this.basePath))}getEtfGlobalV1Taxonomies(e={},t){return M(this.configuration).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,t).then(i=>i(this.axios,this.basePath))}getEvents(e,t){return M(this.configuration).getEvents(e.id,e.types,t).then(i=>i(this.axios,this.basePath))}getFedV1Inflation(e={},t){return M(this.configuration).getFedV1Inflation(e.date,e.dateAnyOf,e.dateGt,e.dateGte,e.dateLt,e.dateLte,e.limit,e.sort,t).then(i=>i(this.axios,this.basePath))}getFedV1InflationExpectations(e={},t){return M(this.configuration).getFedV1InflationExpectations(e.date,e.dateAnyOf,e.dateGt,e.dateGte,e.dateLt,e.dateLte,e.limit,e.sort,t).then(i=>i(this.axios,this.basePath))}getFedV1LaborMarket(e={},t){return M(this.configuration).getFedV1LaborMarket(e.date,e.dateAnyOf,e.dateGt,e.dateGte,e.dateLt,e.dateLte,e.limit,e.sort,t).then(i=>i(this.axios,this.basePath))}getFedV1TreasuryYields(e={},t){return M(this.configuration).getFedV1TreasuryYields(e.date,e.dateAnyOf,e.dateGt,e.dateGte,e.dateLt,e.dateLte,e.limit,e.sort,t).then(i=>i(this.axios,this.basePath))}getForexAggregates(e,t){return M(this.configuration).getForexAggregates(e.forexTicker,e.multiplier,e.timespan,e.from,e.to,e.adjusted,e.sort,e.limit,t).then(i=>i(this.axios,this.basePath))}getForexEMA(e,t){return M(this.configuration).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,t).then(i=>i(this.axios,this.basePath))}getForexMACD(e,t){return M(this.configuration).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,t).then(i=>i(this.axios,this.basePath))}getForexQuotes(e,t){return M(this.configuration).getForexQuotes(e.fxTicker,e.timestamp,e.timestampGte,e.timestampGt,e.timestampLte,e.timestampLt,e.order,e.limit,e.sort,t).then(i=>i(this.axios,this.basePath))}getForexRSI(e,t){return M(this.configuration).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,t).then(i=>i(this.axios,this.basePath))}getForexSMA(e,t){return M(this.configuration).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,t).then(i=>i(this.axios,this.basePath))}getForexSnapshotDirection(e,t){return M(this.configuration).getForexSnapshotDirection(e.direction,t).then(i=>i(this.axios,this.basePath))}getForexSnapshotTicker(e,t){return M(this.configuration).getForexSnapshotTicker(e.ticker,t).then(i=>i(this.axios,this.basePath))}getForexSnapshotTickers(e={},t){return M(this.configuration).getForexSnapshotTickers(e.tickers,t).then(i=>i(this.axios,this.basePath))}getForexV1Exchanges(e={},t){return M(this.configuration).getForexV1Exchanges(e.limit,t).then(i=>i(this.axios,this.basePath))}getFuturesAggregates(e,t){return M(this.configuration).getFuturesAggregates(e.ticker,e.resolution,e.windowStart,e.limit,e.windowStartGte,e.windowStartGt,e.windowStartLte,e.windowStartLt,e.sort,t).then(i=>i(this.axios,this.basePath))}getFuturesQuotes(e,t){return M(this.configuration).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,t).then(i=>i(this.axios,this.basePath))}getFuturesTrades(e,t){return M(this.configuration).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,t).then(i=>i(this.axios,this.basePath))}getFuturesVXContracts(e={},t){return M(this.configuration).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,t).then(i=>i(this.axios,this.basePath))}getFuturesVXExchanges(e={},t){return M(this.configuration).getFuturesVXExchanges(e.limit,t).then(i=>i(this.axios,this.basePath))}getFuturesVXMarketStatus(e={},t){return M(this.configuration).getFuturesVXMarketStatus(e.productCode,e.productCodeAnyOf,e.productCodeGt,e.productCodeGte,e.productCodeLt,e.productCodeLte,e.limit,t).then(i=>i(this.axios,this.basePath))}getFuturesVXProducts(e={},t){return M(this.configuration).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,t).then(i=>i(this.axios,this.basePath))}getFuturesVXSchedules(e={},t){return M(this.configuration).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,t).then(i=>i(this.axios,this.basePath))}getFuturesVXSnapshot(e={},t){return M(this.configuration).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,t).then(i=>i(this.axios,this.basePath))}getGroupedCryptoAggregates(e,t){return M(this.configuration).getGroupedCryptoAggregates(e.date,e.adjusted,t).then(i=>i(this.axios,this.basePath))}getGroupedForexAggregates(e,t){return M(this.configuration).getGroupedForexAggregates(e.date,e.adjusted,t).then(i=>i(this.axios,this.basePath))}getGroupedStocksAggregates(e,t){return M(this.configuration).getGroupedStocksAggregates(e.date,e.adjusted,e.includeOtc,t).then(i=>i(this.axios,this.basePath))}getIndicesAggregates(e,t){return M(this.configuration).getIndicesAggregates(e.indicesTicker,e.multiplier,e.timespan,e.from,e.to,e.sort,e.limit,t).then(i=>i(this.axios,this.basePath))}getIndicesEMA(e,t){return M(this.configuration).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,t).then(i=>i(this.axios,this.basePath))}getIndicesMACD(e,t){return M(this.configuration).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,t).then(i=>i(this.axios,this.basePath))}getIndicesOpenClose(e,t){return M(this.configuration).getIndicesOpenClose(e.indicesTicker,e.date,t).then(i=>i(this.axios,this.basePath))}getIndicesRSI(e,t){return M(this.configuration).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,t).then(i=>i(this.axios,this.basePath))}getIndicesSMA(e,t){return M(this.configuration).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,t).then(i=>i(this.axios,this.basePath))}getIndicesSnapshot(e={},t){return M(this.configuration).getIndicesSnapshot(e.tickerAnyOf,e.ticker,e.tickerGte,e.tickerGt,e.tickerLte,e.tickerLt,e.order,e.limit,e.sort,t).then(i=>i(this.axios,this.basePath))}getLastCryptoTrade(e,t){return M(this.configuration).getLastCryptoTrade(e.from,e.to,t).then(i=>i(this.axios,this.basePath))}getLastCurrencyQuote(e,t){return M(this.configuration).getLastCurrencyQuote(e.from,e.to,t).then(i=>i(this.axios,this.basePath))}getLastOptionsTrade(e,t){return M(this.configuration).getLastOptionsTrade(e.optionsTicker,t).then(i=>i(this.axios,this.basePath))}getLastStocksQuote(e,t){return M(this.configuration).getLastStocksQuote(e.stocksTicker,t).then(i=>i(this.axios,this.basePath))}getLastStocksTrade(e,t){return M(this.configuration).getLastStocksTrade(e.stocksTicker,t).then(i=>i(this.axios,this.basePath))}getMarketHolidays(e){return M(this.configuration).getMarketHolidays(e).then(t=>t(this.axios,this.basePath))}getMarketStatus(e){return M(this.configuration).getMarketStatus(e).then(t=>t(this.axios,this.basePath))}getOptionContract(e,t){return M(this.configuration).getOptionContract(e.underlyingAsset,e.optionContract,t).then(i=>i(this.axios,this.basePath))}getOptionsAggregates(e,t){return M(this.configuration).getOptionsAggregates(e.optionsTicker,e.multiplier,e.timespan,e.from,e.to,e.adjusted,e.sort,e.limit,t).then(i=>i(this.axios,this.basePath))}getOptionsChain(e,t){return M(this.configuration).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,t).then(i=>i(this.axios,this.basePath))}getOptionsContract(e,t){return M(this.configuration).getOptionsContract(e.optionsTicker,e.asOf,t).then(i=>i(this.axios,this.basePath))}getOptionsEMA(e,t){return M(this.configuration).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,t).then(i=>i(this.axios,this.basePath))}getOptionsMACD(e,t){return M(this.configuration).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,t).then(i=>i(this.axios,this.basePath))}getOptionsOpenClose(e,t){return M(this.configuration).getOptionsOpenClose(e.optionsTicker,e.date,e.adjusted,t).then(i=>i(this.axios,this.basePath))}getOptionsQuotes(e,t){return M(this.configuration).getOptionsQuotes(e.optionsTicker,e.timestamp,e.timestampGte,e.timestampGt,e.timestampLte,e.timestampLt,e.order,e.limit,e.sort,t).then(i=>i(this.axios,this.basePath))}getOptionsRSI(e,t){return M(this.configuration).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,t).then(i=>i(this.axios,this.basePath))}getOptionsSMA(e,t){return M(this.configuration).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,t).then(i=>i(this.axios,this.basePath))}getOptionsTrades(e,t){return M(this.configuration).getOptionsTrades(e.optionsTicker,e.timestamp,e.timestampGte,e.timestampGt,e.timestampLte,e.timestampLt,e.order,e.limit,e.sort,t).then(i=>i(this.axios,this.basePath))}getOptionsV1Exchanges(e={},t){return M(this.configuration).getOptionsV1Exchanges(e.limit,t).then(i=>i(this.axios,this.basePath))}getPreviousCryptoAggregates(e,t){return M(this.configuration).getPreviousCryptoAggregates(e.cryptoTicker,e.adjusted,t).then(i=>i(this.axios,this.basePath))}getPreviousForexAggregates(e,t){return M(this.configuration).getPreviousForexAggregates(e.forexTicker,e.adjusted,t).then(i=>i(this.axios,this.basePath))}getPreviousIndicesAggregates(e,t){return M(this.configuration).getPreviousIndicesAggregates(e.indicesTicker,t).then(i=>i(this.axios,this.basePath))}getPreviousOptionsAggregates(e,t){return M(this.configuration).getPreviousOptionsAggregates(e.optionsTicker,e.adjusted,t).then(i=>i(this.axios,this.basePath))}getPreviousStocksAggregates(e,t){return M(this.configuration).getPreviousStocksAggregates(e.stocksTicker,e.adjusted,t).then(i=>i(this.axios,this.basePath))}getRelatedCompanies(e,t){return M(this.configuration).getRelatedCompanies(e.ticker,t).then(i=>i(this.axios,this.basePath))}getSnapshotSummary(e={},t){return M(this.configuration).getSnapshotSummary(e.tickerAnyOf,t).then(i=>i(this.axios,this.basePath))}getSnapshots(e={},t){return M(this.configuration).getSnapshots(e.ticker,e.type,e.tickerGte,e.tickerGt,e.tickerLte,e.tickerLt,e.tickerAnyOf,e.order,e.limit,e.sort,t).then(i=>i(this.axios,this.basePath))}getStocksAggregates(e,t){return M(this.configuration).getStocksAggregates(e.stocksTicker,e.multiplier,e.timespan,e.from,e.to,e.adjusted,e.sort,e.limit,t).then(i=>i(this.axios,this.basePath))}getStocksEMA(e,t){return M(this.configuration).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,t).then(i=>i(this.axios,this.basePath))}getStocksFilings10KVXSections(e={},t){return M(this.configuration).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,t).then(i=>i(this.axios,this.basePath))}getStocksFilingsVXRiskFactors(e={},t){return M(this.configuration).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,t).then(i=>i(this.axios,this.basePath))}getStocksFinancialsV1BalanceSheets(e={},t){return M(this.configuration).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,t).then(i=>i(this.axios,this.basePath))}getStocksFinancialsV1CashFlowStatements(e={},t){return M(this.configuration).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,t).then(i=>i(this.axios,this.basePath))}getStocksFinancialsV1IncomeStatements(e={},t){return M(this.configuration).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,t).then(i=>i(this.axios,this.basePath))}getStocksFinancialsV1Ratios(e={},t){return M(this.configuration).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,t).then(i=>i(this.axios,this.basePath))}getStocksMACD(e,t){return M(this.configuration).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,t).then(i=>i(this.axios,this.basePath))}getStocksOpenClose(e,t){return M(this.configuration).getStocksOpenClose(e.stocksTicker,e.date,e.adjusted,t).then(i=>i(this.axios,this.basePath))}getStocksQuotes(e,t){return M(this.configuration).getStocksQuotes(e.stockTicker,e.timestamp,e.timestampGte,e.timestampGt,e.timestampLte,e.timestampLt,e.order,e.limit,e.sort,t).then(i=>i(this.axios,this.basePath))}getStocksRSI(e,t){return M(this.configuration).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,t).then(i=>i(this.axios,this.basePath))}getStocksSMA(e,t){return M(this.configuration).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,t).then(i=>i(this.axios,this.basePath))}getStocksSnapshotDirection(e,t){return M(this.configuration).getStocksSnapshotDirection(e.direction,e.includeOtc,t).then(i=>i(this.axios,this.basePath))}getStocksSnapshotTicker(e,t){return M(this.configuration).getStocksSnapshotTicker(e.stocksTicker,t).then(i=>i(this.axios,this.basePath))}getStocksSnapshotTickers(e={},t){return M(this.configuration).getStocksSnapshotTickers(e.tickers,e.includeOtc,t).then(i=>i(this.axios,this.basePath))}getStocksTaxonomiesVXRiskFactors(e={},t){return M(this.configuration).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,t).then(i=>i(this.axios,this.basePath))}getStocksTrades(e,t){return M(this.configuration).getStocksTrades(e.stockTicker,e.timestamp,e.timestampGte,e.timestampGt,e.timestampLte,e.timestampLt,e.order,e.limit,e.sort,t).then(i=>i(this.axios,this.basePath))}getStocksV1Dividends(e={},t){return M(this.configuration).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,t).then(i=>i(this.axios,this.basePath))}getStocksV1Exchanges(e={},t){return M(this.configuration).getStocksV1Exchanges(e.limit,t).then(i=>i(this.axios,this.basePath))}getStocksV1ShortInterest(e={},t){return M(this.configuration).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,t).then(i=>i(this.axios,this.basePath))}getStocksV1ShortVolume(e={},t){return M(this.configuration).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,t).then(i=>i(this.axios,this.basePath))}getStocksV1Splits(e={},t){return M(this.configuration).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,t).then(i=>i(this.axios,this.basePath))}getStocksVXFloat(e={},t){return M(this.configuration).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,t).then(i=>i(this.axios,this.basePath))}getTicker(e,t){return M(this.configuration).getTicker(e.ticker,e.date,t).then(i=>i(this.axios,this.basePath))}getTmxV1CorporateEvents(e={},t){return M(this.configuration).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,t).then(i=>i(this.axios,this.basePath))}listConditions(e={},t){return M(this.configuration).listConditions(e.assetClass,e.dataType,e.id,e.sip,e.order,e.limit,e.sort,t).then(i=>i(this.axios,this.basePath))}listDividends(e={},t){return M(this.configuration).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,t).then(i=>i(this.axios,this.basePath))}listExchanges(e={},t){return M(this.configuration).listExchanges(e.assetClass,e.locale,t).then(i=>i(this.axios,this.basePath))}listFinancials(e={},t){return M(this.configuration).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,t).then(i=>i(this.axios,this.basePath))}listIPOs(e={},t){return M(this.configuration).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,t).then(i=>i(this.axios,this.basePath))}listNews(e={},t){return M(this.configuration).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,t).then(i=>i(this.axios,this.basePath))}listOptionsContracts(e={},t){return M(this.configuration).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,t).then(i=>i(this.axios,this.basePath))}listStockSplits(e={},t){return M(this.configuration).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,t).then(i=>i(this.axios,this.basePath))}listTickerTypes(e={},t){return M(this.configuration).listTickerTypes(e.assetClass,e.locale,t).then(i=>i(this.axios,this.basePath))}listTickers(e={},t){return M(this.configuration).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,t).then(i=>i(this.axios,this.basePath))}},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||{}),gi=(t=>(t.Asc="asc",t.Desc="desc",t))(gi||{}),ci=(r=>(r.Minute="minute",r.Hour="hour",r.Day="day",r.Week="week",r.Month="month",r.Quarter="quarter",r.Year="year",r))(ci||{}),pi=(n=>(n.Open="open",n.High="high",n.Low="low",n.Close="close",n))(pi||{}),fi=(t=>(t.Asc="asc",t.Desc="desc",t))(fi||{}),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||{}),yi=(n=>(n.Open="open",n.High="high",n.Low="low",n.Close="close",n))(yi||{}),bi=(t=>(t.Asc="asc",t.Desc="desc",t))(bi||{}),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=(n=>(n.Open="open",n.High="high",n.Low="low",n.Close="close",n))(hi||{}),Ri=(t=>(t.Asc="asc",t.Desc="desc",t))(Ri||{}),xi=(r=>(r.Minute="minute",r.Hour="hour",r.Day="day",r.Week="week",r.Month="month",r.Quarter="quarter",r.Year="year",r))(xi||{}),Ai=(n=>(n.Open="open",n.High="high",n.Low="low",n.Close="close",n))(Ai||{}),ki=(t=>(t.Asc="asc",t.Desc="desc",t))(ki||{}),_i=(t=>(t.Gainers="gainers",t.Losers="losers",t))(_i||{}),Gi=(t=>(t.Asc="asc",t.Desc="desc",t))(Gi||{}),Oi=(e=>(e.Timestamp="timestamp",e))(Oi||{}),Ci=(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))(Ci||{}),Vi=(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))(Vi||{}),Si=(t=>(t.Asc="asc",t.Desc="desc",t))(Si||{}),wi=(r=>(r.Minute="minute",r.Hour="hour",r.Day="day",r.Week="week",r.Month="month",r.Quarter="quarter",r.Year="year",r))(wi||{}),vi=(n=>(n.Open="open",n.High="high",n.Low="low",n.Close="close",n))(vi||{}),Ii=(t=>(t.Asc="asc",t.Desc="desc",t))(Ii||{}),Li=(r=>(r.Minute="minute",r.Hour="hour",r.Day="day",r.Week="week",r.Month="month",r.Quarter="quarter",r.Year="year",r))(Li||{}),Ti=(n=>(n.Open="open",n.High="high",n.Low="low",n.Close="close",n))(Ti||{}),Di=(t=>(t.Asc="asc",t.Desc="desc",t))(Di||{}),Fi=(t=>(t.Asc="asc",t.Desc="desc",t))(Fi||{}),Bi=(e=>(e.Timestamp="timestamp",e))(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=(n=>(n.Open="open",n.High="high",n.Low="low",n.Close="close",n))(zi||{}),Ei=(t=>(t.Asc="asc",t.Desc="desc",t))(Ei||{}),Qi=(r=>(r.Minute="minute",r.Hour="hour",r.Day="day",r.Week="week",r.Month="month",r.Quarter="quarter",r.Year="year",r))(Qi||{}),Mi=(n=>(n.Open="open",n.High="high",n.Low="low",n.Close="close",n))(Mi||{}),Hi=(t=>(t.Asc="asc",t.Desc="desc",t))(Hi||{}),ji=(t=>(t.Gainers="gainers",t.Losers="losers",t))(ji||{}),Ki=(t=>(t.WindowStartAsc="window_start.asc",t.WindowStartDesc="window_start.desc",t))(Ki||{}),Ni=(t=>(t.TimestampAsc="timestamp.asc",t.TimestampDesc="timestamp.desc",t))(Ni||{}),$i=(t=>(t.TimestampAsc="timestamp.asc",t.TimestampDesc="timestamp.desc",t))($i||{}),Yi=(t=>(t.Single="single",t.Combo="combo",t))(Yi||{}),Wi=(t=>(t.Single="single",t.Combo="combo",t))(Wi||{}),Xi=(v=>(v.Asia="asia",v.Base="base",v.Biofuels="biofuels",v.Coal="coal",v.CrossRates="cross_rates",v.CrudeOil="crude_oil",v.CustomIndex="custom_index",v.Dairy="dairy",v.DjUbsCi="dj_ubs_ci",v.Electricity="electricity",v.Emissions="emissions",v.Europe="europe",v.Fertilizer="fertilizer",v.Forestry="forestry",v.GrainsAndOilseeds="grains_and_oilseeds",v.IntlIndex="intl_index",v.LiqNatGasLng="liq_nat_gas_lng",v.Livestock="livestock",v.LongTermGov="long_term_gov",v.LongTermNonGov="long_term_non_gov",v.Majors="majors",v.Minors="minors",v.NatGas="nat_gas",v.NatGasLiqPetro="nat_gas_liq_petro",v.Precious="precious",v.RefinedProducts="refined_products",v.SAndPGsci="s_and_p_gsci",v.SelSectorIndex="sel_sector_index",v.ShortTermGov="short_term_gov",v.ShortTermNonGov="short_term_non_gov",v.Softs="softs",v.Us="us",v.UsIndex="us_index",v.WetBulk="wet_bulk",v))(Xi||{}),Ji=(v=>(v.Asia="asia",v.Base="base",v.Biofuels="biofuels",v.Coal="coal",v.CrossRates="cross_rates",v.CrudeOil="crude_oil",v.CustomIndex="custom_index",v.Dairy="dairy",v.DjUbsCi="dj_ubs_ci",v.Electricity="electricity",v.Emissions="emissions",v.Europe="europe",v.Fertilizer="fertilizer",v.Forestry="forestry",v.GrainsAndOilseeds="grains_and_oilseeds",v.IntlIndex="intl_index",v.LiqNatGasLng="liq_nat_gas_lng",v.Livestock="livestock",v.LongTermGov="long_term_gov",v.LongTermNonGov="long_term_non_gov",v.Majors="majors",v.Minors="minors",v.NatGas="nat_gas",v.NatGasLiqPetro="nat_gas_liq_petro",v.Precious="precious",v.RefinedProducts="refined_products",v.SAndPGsci="s_and_p_gsci",v.SelSectorIndex="sel_sector_index",v.ShortTermGov="short_term_gov",v.ShortTermNonGov="short_term_non_gov",v.Softs="softs",v.Us="us",v.UsIndex="us_index",v.WetBulk="wet_bulk",v))(Ji||{}),Zi=(x=>(x.Asian="asian",x.Canadian="canadian",x.Cat="cat",x.CoolingDegreeDays="cooling_degree_days",x.Ercot="ercot",x.European="european",x.Gulf="gulf",x.HeatingDegreeDays="heating_degree_days",x.IsoNe="iso_ne",x.LargeCapIndex="large_cap_index",x.MidCapIndex="mid_cap_index",x.Miso="miso",x.NorthAmerican="north_american",x.Nyiso="nyiso",x.Pjm="pjm",x.SmallCapIndex="small_cap_index",x.West="west",x.WesternPower="western_power",x))(Zi||{}),qi=(x=>(x.Asian="asian",x.Canadian="canadian",x.Cat="cat",x.CoolingDegreeDays="cooling_degree_days",x.Ercot="ercot",x.European="european",x.Gulf="gulf",x.HeatingDegreeDays="heating_degree_days",x.IsoNe="iso_ne",x.LargeCapIndex="large_cap_index",x.MidCapIndex="mid_cap_index",x.Miso="miso",x.NorthAmerican="north_american",x.Nyiso="nyiso",x.Pjm="pjm",x.SmallCapIndex="small_cap_index",x.West="west",x.WesternPower="western_power",x))(qi||{}),Pi=(i=>(i.AltInvestment="alt_investment",i.Commodity="commodity",i.Financials="financials",i))(Pi||{}),es=(i=>(i.AltInvestment="alt_investment",i.Commodity="commodity",i.Financials="financials",i))(es||{}),ns=(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))(ns||{}),ts=(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))(ts||{}),is=(t=>(t.Single="single",t.Combo="combo",t))(is||{}),ss=(t=>(t.Single="single",t.Combo="combo",t))(ss||{}),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||{}),rs=(t=>(t.Asc="asc",t.Desc="desc",t))(rs||{}),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||{}),ds=(n=>(n.Open="open",n.High="high",n.Low="low",n.Close="close",n))(ds||{}),ls=(t=>(t.Asc="asc",t.Desc="desc",t))(ls||{}),gs=(r=>(r.Minute="minute",r.Hour="hour",r.Day="day",r.Week="week",r.Month="month",r.Quarter="quarter",r.Year="year",r))(gs||{}),cs=(n=>(n.Open="open",n.High="high",n.Low="low",n.Close="close",n))(cs||{}),ps=(t=>(t.Asc="asc",t.Desc="desc",t))(ps||{}),fs=(r=>(r.Minute="minute",r.Hour="hour",r.Day="day",r.Week="week",r.Month="month",r.Quarter="quarter",r.Year="year",r))(fs||{}),us=(n=>(n.Open="open",n.High="high",n.Low="low",n.Close="close",n))(us||{}),ys=(t=>(t.Asc="asc",t.Desc="desc",t))(ys||{}),bs=(r=>(r.Minute="minute",r.Hour="hour",r.Day="day",r.Week="week",r.Month="month",r.Quarter="quarter",r.Year="year",r))(bs||{}),ms=(n=>(n.Open="open",n.High="high",n.Low="low",n.Close="close",n))(ms||{}),hs=(t=>(t.Asc="asc",t.Desc="desc",t))(hs||{}),Rs=(t=>(t.Asc="asc",t.Desc="desc",t))(Rs||{}),xs=(e=>(e.Ticker="ticker",e))(xs||{}),As=(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))(As||{}),ks=(t=>(t.Asc="asc",t.Desc="desc",t))(ks||{}),_s=(t=>(t.Call="call",t.Put="put",t))(_s||{}),Gs=(t=>(t.Asc="asc",t.Desc="desc",t))(Gs||{}),Os=(i=>(i.Ticker="ticker",i.ExpirationDate="expiration_date",i.StrikePrice="strike_price",i))(Os||{}),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||{}),Vs=(n=>(n.Open="open",n.High="high",n.Low="low",n.Close="close",n))(Vs||{}),Ss=(t=>(t.Asc="asc",t.Desc="desc",t))(Ss||{}),ws=(r=>(r.Minute="minute",r.Hour="hour",r.Day="day",r.Week="week",r.Month="month",r.Quarter="quarter",r.Year="year",r))(ws||{}),vs=(n=>(n.Open="open",n.High="high",n.Low="low",n.Close="close",n))(vs||{}),Is=(t=>(t.Asc="asc",t.Desc="desc",t))(Is||{}),Ls=(t=>(t.Asc="asc",t.Desc="desc",t))(Ls||{}),Ts=(e=>(e.Timestamp="timestamp",e))(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=(n=>(n.Open="open",n.High="high",n.Low="low",n.Close="close",n))(Fs||{}),Bs=(t=>(t.Asc="asc",t.Desc="desc",t))(Bs||{}),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||{}),zs=(n=>(n.Open="open",n.High="high",n.Low="low",n.Close="close",n))(zs||{}),Es=(t=>(t.Asc="asc",t.Desc="desc",t))(Es||{}),Qs=(t=>(t.Asc="asc",t.Desc="desc",t))(Qs||{}),Ms=(e=>(e.Timestamp="timestamp",e))(Ms||{}),Hs=(s=>(s.Stocks="stocks",s.Options="options",s.Crypto="crypto",s.Fx="fx",s.Indices="indices",s))(Hs||{}),js=(t=>(t.Asc="asc",t.Desc="desc",t))(js||{}),Ks=(e=>(e.Ticker="ticker",e))(Ks||{}),Ns=(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))(Ns||{}),$s=(t=>(t.Asc="asc",t.Desc="desc",t))($s||{}),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||{}),Ws=(n=>(n.Open="open",n.High="high",n.Low="low",n.Close="close",n))(Ws||{}),Xs=(t=>(t.Asc="asc",t.Desc="desc",t))(Xs||{}),Js=(t=>(t.Business="business",t.RiskFactors="risk_factors",t))(Js||{}),Zs=(t=>(t.Business="business",t.RiskFactors="risk_factors",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=(n=>(n.Open="open",n.High="high",n.Low="low",n.Close="close",n))(Ps||{}),eo=(t=>(t.Asc="asc",t.Desc="desc",t))(eo||{}),no=(t=>(t.Asc="asc",t.Desc="desc",t))(no||{}),to=(e=>(e.Timestamp="timestamp",e))(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=(n=>(n.Open="open",n.High="high",n.Low="low",n.Close="close",n))(so||{}),oo=(t=>(t.Asc="asc",t.Desc="desc",t))(oo||{}),ro=(r=>(r.Minute="minute",r.Hour="hour",r.Day="day",r.Week="week",r.Month="month",r.Quarter="quarter",r.Year="year",r))(ro||{}),ao=(n=>(n.Open="open",n.High="high",n.Low="low",n.Close="close",n))(ao||{}),lo=(t=>(t.Asc="asc",t.Desc="desc",t))(lo||{}),go=(t=>(t.Gainers="gainers",t.Losers="losers",t))(go||{}),co=(t=>(t.Asc="asc",t.Desc="desc",t))(co||{}),po=(e=>(e.Timestamp="timestamp",e))(po||{}),fo=(s=>(s.Recurring="recurring",s.Special="special",s.Supplemental="supplemental",s.Irregular="irregular",s.Unknown="unknown",s))(fo||{}),uo=(s=>(s.Recurring="recurring",s.Special="special",s.Supplemental="supplemental",s.Irregular="irregular",s.Unknown="unknown",s))(uo||{}),yo=(i=>(i.ForwardSplit="forward_split",i.ReverseSplit="reverse_split",i.StockDividend="stock_dividend",i))(yo||{}),bo=(i=>(i.ForwardSplit="forward_split",i.ReverseSplit="reverse_split",i.StockDividend="stock_dividend",i))(bo||{}),mo=(n=>(n.Stocks="stocks",n.Options="options",n.Crypto="crypto",n.Fx="fx",n))(mo||{}),ho=(i=>(i.Trade="trade",i.Bbo="bbo",i.Nbbo="nbbo",i))(ho||{}),Ro=(i=>(i.Cta="CTA",i.Utp="UTP",i.Opra="OPRA",i))(Ro||{}),xo=(t=>(t.Asc="asc",t.Desc="desc",t))(xo||{}),Ao=(o=>(o.AssetClass="asset_class",o.Id="id",o.Type="type",o.Name="name",o.DataTypes="data_types",o.Legacy="legacy",o))(Ao||{}),ko=(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))(ko||{}),_o=(n=>(n.Cd="CD",n.Sc="SC",n.Lt="LT",n.St="ST",n))(_o||{}),Go=(t=>(t.Asc="asc",t.Desc="desc",t))(Go||{}),Oo=(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))(Oo||{}),Co=(s=>(s.Stocks="stocks",s.Options="options",s.Crypto="crypto",s.Fx="fx",s.Futures="futures",s))(Co||{}),Vo=(t=>(t.Us="us",t.Global="global",t))(Vo||{}),So=(i=>(i.Annual="annual",i.Quarterly="quarterly",i.Ttm="ttm",i))(So||{}),wo=(t=>(t.Asc="asc",t.Desc="desc",t))(wo||{}),vo=(t=>(t.FilingDate="filing_date",t.PeriodOfReportDate="period_of_report_date",t))(vo||{}),Io=(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))(Io||{}),Lo=(t=>(t.Asc="asc",t.Desc="desc",t))(Lo||{}),To=(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))(To||{}),Do=(t=>(t.Asc="asc",t.Desc="desc",t))(Do||{}),Fo=(e=>(e.PublishedUtc="published_utc",e))(Fo||{}),Bo=(t=>(t.Call="call",t.Put="put",t))(Bo||{}),Uo=(t=>(t.Asc="asc",t.Desc="desc",t))(Uo||{}),zo=(n=>(n.Ticker="ticker",n.UnderlyingTicker="underlying_ticker",n.ExpirationDate="expiration_date",n.StrikePrice="strike_price",n))(zo||{}),Eo=(t=>(t.Asc="asc",t.Desc="desc",t))(Eo||{}),Qo=(t=>(t.ExecutionDate="execution_date",t.Ticker="ticker",t))(Qo||{}),Mo=(s=>(s.Stocks="stocks",s.Options="options",s.Crypto="crypto",s.Fx="fx",s.Indices="indices",s))(Mo||{}),Ho=(t=>(t.Us="us",t.Global="global",t))(Ho||{}),jo=(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))(jo||{}),Ko=(s=>(s.Stocks="stocks",s.Crypto="crypto",s.Fx="fx",s.Otc="otc",s.Indices="indices",s))(Ko||{}),No=(t=>(t.Asc="asc",t.Desc="desc",t))(No||{}),$o=(u=>(u.Ticker="ticker",u.Name="name",u.Market="market",u.Locale="locale",u.PrimaryExchange="primary_exchange",u.Type="type",u.CurrencySymbol="currency_symbol",u.CurrencyName="currency_name",u.BaseCurrencySymbol="base_currency_symbol",u.BaseCurrencyName="base_currency_name",u.Cik="cik",u.CompositeFigi="composite_figi",u.ShareClassFigi="share_class_figi",u.LastUpdatedUtc="last_updated_utc",u.DelistedUtc="delisted_utc",u))($o||{});var Vn=class{constructor(e={}){this.apiKey=e.apiKey,this.username=e.username,this.password=e.password,this.accessToken=e.accessToken,this.basePath=e.basePath,this.serverIndex=e.serverIndex,this.baseOptions={...e.baseOptions,headers:{...e.baseOptions?.headers}},this.formDataCtor=e.formDataCtor}isJsonMime(e){let t=new RegExp("^(application/json|[^;/ ]+/[^;/ ]+[+]json)[ ]*(;.*)?$","i");return e!==null&&(t.test(e)||e.toLowerCase()==="application/json-patch+json")}};import Yo from"websocket";var _e=(a,e)=>{if(!e)throw new Error("api key not provided.");let t=new Yo.w3cwebsocket(a);return t.onopen=()=>{t.send(JSON.stringify({action:"auth",params:e}))},t};var In=(a,e="wss://socket.massive.com")=>_e(`${e}/crypto`,a);var Ln=(a,e="wss://socket.massive.com")=>_e(`${e}/forex`,a);var Tn=(a,e="wss://socket.massive.com")=>_e(`${e}/indices`,a);var Dn=(a,e="wss://socket.massive.com")=>_e(`${e}/options`,a);var Fn=(a,e="wss://socket.massive.com")=>_e(`${e}/stocks`,a);var Bn=(a,e="wss://socket.massive.com",t)=>_e(`${e}/futures${t?`/${t}`:""}`,a);var Wo=(a,e,t)=>({crypto:()=>In(a,e),forex:()=>Ln(a,e),indices:()=>Tn(a,e),options:()=>Dn(a,e),stocks:()=>Fn(a,e),futures:()=>Bn(a,e,t)}),Un=Wo;import Xo from"axios";var Jo=(a,e,t)=>{let i=new Vn({apiKey:a}),n="https://api.massive.com",s=Xo.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 Cn(i,e||n,s)},Zo=(a,e,t,i)=>({rest:Jo(a,e,i),websockets:Un(a,t)}),Wr=Zo;export{Vn as Configuration,Cn as DefaultApi,di as DefaultApiAxiosParamCreator,cr as DefaultApiFactory,M as DefaultApiFp,Qn as FinancialsPeriodEnum,Mn as GetBenzingaV1AnalystInsights200ResponseStatusEnum,Hn as GetBenzingaV1AnalystInsights400ResponseStatusEnum,jn as GetBenzingaV1Analysts200ResponseStatusEnum,Kn as GetBenzingaV1BullsBearsSay200ResponseStatusEnum,Nn as GetBenzingaV1ConsensusRatings200ResponseStatusEnum,$n as GetBenzingaV1Earnings200ResponseStatusEnum,Yn as GetBenzingaV1Firms200ResponseStatusEnum,Wn as GetBenzingaV1Guidance200ResponseStatusEnum,Xn as GetBenzingaV1Ratings200ResponseStatusEnum,Jn as GetBenzingaV2News200ResponseStatusEnum,gi as GetCryptoAggregatesSortEnum,li as GetCryptoAggregatesTimespanEnum,fi as GetCryptoEMAOrderEnum,pi as GetCryptoEMASeriesTypeEnum,ci as GetCryptoEMATimespanEnum,bi as GetCryptoMACDOrderEnum,yi as GetCryptoMACDSeriesTypeEnum,ui as GetCryptoMACDTimespanEnum,Ri as GetCryptoRSIOrderEnum,hi as GetCryptoRSISeriesTypeEnum,mi as GetCryptoRSITimespanEnum,ki as GetCryptoSMAOrderEnum,Ai as GetCryptoSMASeriesTypeEnum,xi as GetCryptoSMATimespanEnum,_i as GetCryptoSnapshotDirectionDirectionEnum,Gi as GetCryptoTradesOrderEnum,Oi as GetCryptoTradesSortEnum,Zn as GetCryptoV1Exchanges200ResponseStatusEnum,Ci as GetCurrencyConversionPrecisionEnum,qn as GetEtfGlobalV1Analytics200ResponseStatusEnum,Pn as GetEtfGlobalV1Constituents200ResponseStatusEnum,et as GetEtfGlobalV1FundFlows200ResponseStatusEnum,nt as GetEtfGlobalV1Profiles200ResponseStatusEnum,tt as GetEtfGlobalV1Taxonomies200ResponseStatusEnum,it as GetFedV1Inflation200ResponseStatusEnum,st as GetFedV1InflationExpectations200ResponseStatusEnum,ot as GetFedV1LaborMarket200ResponseStatusEnum,rt as GetFedV1TreasuryYields200ResponseStatusEnum,Si as GetForexAggregatesSortEnum,Vi as GetForexAggregatesTimespanEnum,Ii as GetForexEMAOrderEnum,vi as GetForexEMASeriesTypeEnum,wi as GetForexEMATimespanEnum,Di as GetForexMACDOrderEnum,Ti as GetForexMACDSeriesTypeEnum,Li as GetForexMACDTimespanEnum,Fi as GetForexQuotesOrderEnum,Bi as GetForexQuotesSortEnum,Ei as GetForexRSIOrderEnum,zi as GetForexRSISeriesTypeEnum,Ui as GetForexRSITimespanEnum,Hi as GetForexSMAOrderEnum,Mi as GetForexSMASeriesTypeEnum,Qi as GetForexSMATimespanEnum,ji as GetForexSnapshotDirectionDirectionEnum,at as GetForexV1Exchanges200ResponseStatusEnum,Ki as GetFuturesAggregatesSortEnum,Ni as GetFuturesQuotesSortEnum,$i as GetFuturesTradesSortEnum,dt as GetFuturesVXContracts200ResponseStatusEnum,Wi as GetFuturesVXContractsTypeAnyOfEnum,Yi as GetFuturesVXContractsTypeEnum,lt as GetFuturesVXExchanges200ResponseStatusEnum,gt as GetFuturesVXMarketStatus200ResponseStatusEnum,ct as GetFuturesVXProducts200ResponseStatusEnum,es as GetFuturesVXProductsAssetClassAnyOfEnum,Pi as GetFuturesVXProductsAssetClassEnum,ts as GetFuturesVXProductsAssetSubClassAnyOfEnum,ns as GetFuturesVXProductsAssetSubClassEnum,Ji as GetFuturesVXProductsSectorAnyOfEnum,Xi as GetFuturesVXProductsSectorEnum,qi as GetFuturesVXProductsSubSectorAnyOfEnum,Zi as GetFuturesVXProductsSubSectorEnum,ss as GetFuturesVXProductsTypeAnyOfEnum,is as GetFuturesVXProductsTypeEnum,pt as GetFuturesVXSchedules200ResponseStatusEnum,ft as GetFuturesVXSnapshot200ResponseStatusEnum,rs as GetIndicesAggregatesSortEnum,os as GetIndicesAggregatesTimespanEnum,ls as GetIndicesEMAOrderEnum,ds as GetIndicesEMASeriesTypeEnum,as as GetIndicesEMATimespanEnum,ps as GetIndicesMACDOrderEnum,cs as GetIndicesMACDSeriesTypeEnum,gs as GetIndicesMACDTimespanEnum,ys as GetIndicesRSIOrderEnum,us as GetIndicesRSISeriesTypeEnum,fs as GetIndicesRSITimespanEnum,hs as GetIndicesSMAOrderEnum,ms as GetIndicesSMASeriesTypeEnum,bs as GetIndicesSMATimespanEnum,ut as GetIndicesSnapshot200ResponseResultsInnerTimeframeEnum,yt as GetIndicesSnapshot200ResponseResultsInnerTypeEnum,Rs as GetIndicesSnapshotOrderEnum,xs as GetIndicesSnapshotSortEnum,ks as GetOptionsAggregatesSortEnum,As as GetOptionsAggregatesTimespanEnum,bt as GetOptionsChain200ResponseResultsInnerDetailsContractTypeEnum,mt as GetOptionsChain200ResponseResultsInnerDetailsExerciseStyleEnum,ht as GetOptionsChain200ResponseResultsInnerLastQuoteTimeframeEnum,Rt as GetOptionsChain200ResponseResultsInnerLastTradeTimeframeEnum,_s as GetOptionsChainContractTypeEnum,Gs as GetOptionsChainOrderEnum,Os as GetOptionsChainSortEnum,Ss as GetOptionsEMAOrderEnum,Vs as GetOptionsEMASeriesTypeEnum,Cs as GetOptionsEMATimespanEnum,Is as GetOptionsMACDOrderEnum,vs as GetOptionsMACDSeriesTypeEnum,ws as GetOptionsMACDTimespanEnum,Ls as GetOptionsQuotesOrderEnum,Ts as GetOptionsQuotesSortEnum,Bs as GetOptionsRSIOrderEnum,Fs as GetOptionsRSISeriesTypeEnum,Ds as GetOptionsRSITimespanEnum,Es as GetOptionsSMAOrderEnum,zs as GetOptionsSMASeriesTypeEnum,Us as GetOptionsSMATimespanEnum,Qs as GetOptionsTradesOrderEnum,Ms as GetOptionsTradesSortEnum,xt as GetOptionsV1Exchanges200ResponseStatusEnum,kt as GetSnapshotSummary200ResponseResultsInnerOptionsContractTypeEnum,_t as GetSnapshotSummary200ResponseResultsInnerOptionsExerciseStyleEnum,At as GetSnapshotSummary200ResponseResultsInnerTypeEnum,Ct as GetSnapshots200ResponseResultsInnerDetailsContractTypeEnum,Vt as GetSnapshots200ResponseResultsInnerDetailsExerciseStyleEnum,St as GetSnapshots200ResponseResultsInnerLastQuoteTimeframeEnum,wt as GetSnapshots200ResponseResultsInnerLastTradeTimeframeEnum,Gt as GetSnapshots200ResponseResultsInnerTimeframeEnum,Ot as GetSnapshots200ResponseResultsInnerTypeEnum,vt as GetSnapshots200ResponseResultsInnerUnderlyingAssetTimeframeEnum,js as GetSnapshotsOrderEnum,Ks as GetSnapshotsSortEnum,Hs as GetSnapshotsTypeEnum,$s as GetStocksAggregatesSortEnum,Ns as GetStocksAggregatesTimespanEnum,Xs as GetStocksEMAOrderEnum,Ws as GetStocksEMASeriesTypeEnum,Ys as GetStocksEMATimespanEnum,It as GetStocksFilings10KVXSections200ResponseStatusEnum,Zs as GetStocksFilings10KVXSectionsSectionAnyOfEnum,Js as GetStocksFilings10KVXSectionsSectionEnum,Lt as GetStocksFilingsVXRiskFactors200ResponseStatusEnum,Tt as GetStocksFinancialsV1BalanceSheets200ResponseStatusEnum,Dt as GetStocksFinancialsV1CashFlowStatements200ResponseStatusEnum,Ft as GetStocksFinancialsV1IncomeStatements200ResponseStatusEnum,Bt as GetStocksFinancialsV1Ratios200ResponseStatusEnum,eo as GetStocksMACDOrderEnum,Ps as GetStocksMACDSeriesTypeEnum,qs as GetStocksMACDTimespanEnum,no as GetStocksQuotesOrderEnum,to as GetStocksQuotesSortEnum,oo as GetStocksRSIOrderEnum,so as GetStocksRSISeriesTypeEnum,io as GetStocksRSITimespanEnum,lo as GetStocksSMAOrderEnum,ao as GetStocksSMASeriesTypeEnum,ro as GetStocksSMATimespanEnum,go as GetStocksSnapshotDirectionDirectionEnum,Ut as GetStocksTaxonomiesVXRiskFactors200ResponseStatusEnum,co as GetStocksTradesOrderEnum,po as GetStocksTradesSortEnum,zt as GetStocksV1Dividends200ResponseStatusEnum,uo as GetStocksV1DividendsDistributionTypeAnyOfEnum,fo as GetStocksV1DividendsDistributionTypeEnum,Et as GetStocksV1Exchanges200ResponseStatusEnum,Qt as GetStocksV1ShortInterest200ResponseStatusEnum,Mt as GetStocksV1ShortVolume200ResponseStatusEnum,Ht as GetStocksV1Splits200ResponseStatusEnum,bo as GetStocksV1SplitsAdjustmentTypeAnyOfEnum,yo as GetStocksV1SplitsAdjustmentTypeEnum,jt as GetStocksVXFloat200ResponseStatusEnum,Kt as GetTicker200ResponseResultsLocaleEnum,Nt as GetTicker200ResponseResultsMarketEnum,$t as GetTmxV1CorporateEvents200ResponseStatusEnum,Yt as ListConditions200ResponseResultsInnerAssetClassEnum,Wt as ListConditions200ResponseResultsInnerDataTypesEnum,Xt as ListConditions200ResponseResultsInnerTypeEnum,mo as ListConditionsAssetClassEnum,ho as ListConditionsDataTypeEnum,xo as ListConditionsOrderEnum,Ro as ListConditionsSipEnum,Ao as ListConditionsSortEnum,Jt as ListDividends200ResponseResultsInnerDividendTypeEnum,_o as ListDividendsDividendTypeEnum,ko as ListDividendsFrequencyEnum,Go as ListDividendsOrderEnum,Oo as ListDividendsSortEnum,Zt as ListExchanges200ResponseResultsInnerAssetClassEnum,qt as ListExchanges200ResponseResultsInnerLocaleEnum,Pt as ListExchanges200ResponseResultsInnerTypeEnum,Co as ListExchangesAssetClassEnum,Vo as ListExchangesLocaleEnum,wo as ListFinancialsOrderEnum,vo as ListFinancialsSortEnum,So as ListFinancialsTimeframeEnum,ei as ListIPOs200ResponseResultsInnerIpoStatusEnum,Io as ListIPOsIpoStatusEnum,Lo as ListIPOsOrderEnum,To as ListIPOsSortEnum,ni as ListNews200ResponseResultsInnerInsightsInnerSentimentEnum,Do as ListNewsOrderEnum,Fo as ListNewsSortEnum,ti as ListOptionsContracts200ResponseResultsInnerExerciseStyleEnum,Bo as ListOptionsContractsContractTypeEnum,Uo as ListOptionsContractsOrderEnum,zo as ListOptionsContractsSortEnum,Eo as ListStockSplitsOrderEnum,Qo as ListStockSplitsSortEnum,ii as ListTickerTypes200ResponseResultsInnerAssetClassEnum,si as ListTickerTypes200ResponseResultsInnerLocaleEnum,Mo as ListTickerTypesAssetClassEnum,Ho as ListTickerTypesLocaleEnum,oi as ListTickers200ResponseResultsInnerLocaleEnum,ri as ListTickers200ResponseResultsInnerMarketEnum,Ko as ListTickersMarketEnum,No as ListTickersOrderEnum,$o as ListTickersSortEnum,jo as ListTickersTypeEnum,ai as MapKeyTypeEnum,Zo as MassiveClient,Wr as default,In as getCryptoWebsocket,Ln as getForexWebsocket,Bn as getFuturesWebsocket,Tn as getIndicesWebsocket,Dn as getOptionsWebsocket,Fn as getStocksWebsocket,Jo as restClient,Wo as websocketClient};
|