@orbis-systems/orbis-api-clients 0.4.3 → 0.4.5
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/aesmidas/index.d.ts +68 -89
- package/dist/aesmidas/index.d.ts.map +1 -1
- package/dist/aesmidas/index.esm.js +2726 -1
- package/dist/aesmidas/index.esm.js.map +1 -1
- package/dist/aesmidas/index.js +2731 -1
- package/dist/aesmidas/index.js.map +1 -1
- package/dist/index.d.ts +9 -7
- package/dist/index.d.ts.map +1 -1
- package/dist/index.esm.js +253 -1
- package/dist/index.esm.js.map +1 -1
- package/dist/index.js +276 -1
- package/dist/index.js.map +1 -1
- package/dist/insight/index.d.ts +9 -7
- package/dist/insight/index.d.ts.map +1 -1
- package/dist/insight/index.esm.js +3388 -1
- package/dist/insight/index.esm.js.map +1 -1
- package/dist/insight/index.js +3393 -1
- package/dist/insight/index.js.map +1 -1
- package/dist/middleware/index.d.ts +9 -7
- package/dist/middleware/index.d.ts.map +1 -1
- package/dist/middleware/index.esm.js +1062 -1
- package/dist/middleware/index.esm.js.map +1 -1
- package/dist/middleware/index.js +1067 -1
- package/dist/middleware/index.js.map +1 -1
- package/dist/orbis/index.d.ts +77 -58
- package/dist/orbis/index.d.ts.map +1 -1
- package/dist/orbis/index.esm.js +6862 -1
- package/dist/orbis/index.esm.js.map +1 -1
- package/dist/orbis/index.js +6866 -1
- package/dist/orbis/index.js.map +1 -1
- package/dist/uma/index.d.ts +31 -14
- package/dist/uma/index.d.ts.map +1 -1
- package/dist/uma/index.esm.js +3706 -1
- package/dist/uma/index.esm.js.map +1 -1
- package/dist/uma/index.js +3711 -1
- package/dist/uma/index.js.map +1 -1
- package/package.json +137 -141
|
@@ -1,2 +1,3389 @@
|
|
|
1
|
-
import e from"auto-bind";import{jwtDecode as t}from"jwt-decode";import s,{isAxiosError as r}from"axios";import n from"axios-better-stacktrace";import{isNil as o,merge as a}from"lodash";function i(e,t,s,r){Object.defineProperty(e,t,{get:s,set:r,enumerable:!0,configurable:!0})}function p(e,t){return Object.keys(t).forEach(function(s){"default"===s||"__esModule"===s||Object.prototype.hasOwnProperty.call(e,s)||Object.defineProperty(e,s,{enumerable:!0,get:function(){return t[s]}})}),e}i({},"InsightApi",()=>eR);class u{constructor(t){this.apiClient=t,e(this)}getApiClient(){return this.apiClient}}var c,l,h,d,T,m,y,C,g,v,f,q,S,b,k=((c={}).Json="application/json",c.FormData="multipart/form-data",c.UrlEncoded="application/x-www-form-urlencoded",c.Text="text/plain",c);class E{constructor(t){this.config=t,e(this),this.storage=t.storage??sessionStorage,this.axiosInstance=s.create({baseURL:t.baseUrl,headers:{"Content-Type":"application/json",...t.defaultHeaders}}),n(this.axiosInstance)}stringifyFormItem(e){return"object"==typeof e&&null!==e?JSON.stringify(e):`${e}`}createFormData(e){return e instanceof FormData?e:Object.keys(e).reduce((t,s)=>{let r=e[s];for(let e of r instanceof Array?r:[r]){let r=e instanceof Blob||e instanceof File;t.append(s,r?e:this.stringifyFormItem(e))}return t},new FormData)}async request(e){let{contentType:t,data:s}=e;o(s)||("multipart/form-data"===t&&"object"==typeof s&&(e.data=this.createFormData(s)),"text/plain"===t&&"string"!=typeof s&&(e.data=JSON.stringify(s)));let n=a(e.secure??this.config.defaultSecure?this.prepareAuthRequestConfig():{},t?{headers:{"Content-Type":t}}:{},e);try{let{data:e,status:t,statusText:s}=await this.axiosInstance.request(n);return{success:!0,data:e,status:t,statusText:s}}catch(t){if(!this.config.errorHandling)throw t;let e={success:!1,status:-1,statusText:String(t),error:t};return r(t)&&(this.config.onAxiosError?.(t),e.data=t.response?.data,e.status=t.response?.status??e.status,e.statusText=t.response?.statusText??e.statusText),this.config.onError?.(t),e}}get(e,t){return this.request({...t,method:"GET",url:e})}delete(e,t){return this.request({...t,method:"DELETE",url:e})}head(e,t){return this.request({...t,method:"HEAD",url:e})}options(e,t){return this.request({...t,method:"OPTIONS",url:e})}post(e,t,s){return this.request({...s,method:"POST",url:e,data:t})}put(e,t,s){return this.request({...s,method:"PUT",url:e,data:t})}patch(e,t,s){return this.request({...s,method:"PATCH",url:e,data:t})}getAxios(){return this.axiosInstance}setAuthData(e){this.storage.setItem(this.config.authDataStorageKey||"auth",JSON.stringify(e))}getAuthData(){let e=this.storage.getItem(this.config.authDataStorageKey||"auth");return e?JSON.parse(e):null}getConfig(){return this.config}}class j extends E{constructor(e){super(e),this.config=e}getConfig(){return super.getConfig()}prepareAuthRequestConfig(){let{accessToken:e}=this.getAuthData()||{};return e?{headers:{Authorization:`${this.config.authSchema??"Bearer"} ${e}`}}:(console.warn("No access token found. Please set auth data after authorization."),{})}scheduleTokenRenewal(e){let s;this.cancelTokenRenewal();let r=this.getAuthData();try{s=t(r?.accessToken||"")}catch(e){console.error(e)}if(!s||!s.exp){console.warn("Could not schedule token renewal: invalid expiration time.");return}let n=1e3*s.exp-Date.now();this.tokenRenewalTimeout=setTimeout(async()=>{let t=await e();this.setAuthData(t),this.scheduleTokenRenewal(e)},n-6e4)}cancelTokenRenewal(){clearTimeout(this.tokenRenewalTimeout)}}var J={},P={};i(P,"AlphaTools",()=>$);class ${constructor(t){this.apiClient=t,e(this)}getMomentumRatioGraph(e,t){return this.apiClient.request({...t,url:"v1/rst",method:"POST",data:e,secure:!0,contentType:k.Json,responseType:"json"})}getSeasonality(e,t){return this.apiClient.request({...t,url:"v1/seasonality",method:"POST",data:e,secure:!0,contentType:k.Json,responseType:"json"})}}var x={};i(x,"CompanyProfile",()=>O);class O{constructor(t){this.apiClient=t,e(this)}getCompanyProfile(e,t){return this.apiClient.request({...t,url:"v1/company-profile",method:"GET",params:e,secure:!0,contentType:k.Json,responseType:"json"})}getCombinedProfile(e,t){return this.apiClient.request({...t,url:"v1/quote-profile",method:"GET",params:e,secure:!0,contentType:k.Json,responseType:"json"})}getSymbolsPerSymbolType(e,t){return this.apiClient.request({...t,url:"v1/symbols-per-type",method:"POST",data:e,secure:!0,contentType:k.Json,responseType:"json"})}}var w={};i(w,"CustomLists",()=>G);class G{constructor(t){this.apiClient=t,e(this)}getCustomLists(e,t){return this.apiClient.request({...t,url:"v1/custom-lists",method:"GET",params:e,secure:!0,contentType:k.Json,responseType:"json"})}updateCustomList(e,t){return this.apiClient.request({...t,url:"v1/custom-lists",method:"PUT",data:e,secure:!0,contentType:k.Json,responseType:"json"})}createCustomList(e,t){return this.apiClient.request({...t,url:"v1/custom-lists",method:"POST",data:e,secure:!0,contentType:k.Json,responseType:"json"})}removeCustomList(e,t){return this.apiClient.request({...t,url:"v1/custom-lists",method:"DELETE",data:e,secure:!0,contentType:k.Json})}getCustomList(e,t,s){return this.apiClient.request({...s,url:`v1/custom-lists/${e}`,method:"GET",params:t,secure:!0,contentType:k.Json,responseType:"json"})}}var I={};i(I,"Dashboard",()=>D);class D{constructor(t){this.apiClient=t,e(this)}dashboardGetOwnershipsBySymbol(e,t){return this.apiClient.request({...t,url:"v1/dashboard/ownerships",method:"POST",data:e,secure:!0,contentType:k.Json,responseType:"json"})}rewriteFieldValue(e,t){return this.apiClient.request({...t,url:"v1/rewrite-field",method:"POST",data:e,secure:!0,contentType:k.Json})}createRewriteField(e,t){return this.apiClient.request({...t,url:"v1/rewrite-field",method:"DELETE",data:e,secure:!0,contentType:k.Json})}getRewrittenFieldActionLog(e,t){return this.apiClient.request({...t,url:"v1/rewritten-field-action-log",method:"GET",params:e,secure:!0,contentType:k.Json})}getRewrittenValues(e,t){return this.apiClient.request({...t,url:"v1/rewritten-fields",method:"GET",params:e,secure:!0,contentType:k.Json})}getSymbolRelatedFields(e,t){return this.apiClient.request({...t,url:"v1/symbol-related-fields",method:"GET",params:e,secure:!0,contentType:k.Json,responseType:"json"})}}var F={};i(F,"Earnings",()=>A);class A{constructor(t){this.apiClient=t,e(this)}getEarningsCalendar(e,t){return this.apiClient.request({...t,url:"v1/earnings-calendar",method:"POST",data:e,secure:!0,contentType:k.Json,responseType:"json"})}}var L={};i(L,"FixedIncome",()=>R);class R{constructor(t){this.apiClient=t,e(this)}getFixedIncomeEntries(e,t){return this.apiClient.request({...t,url:"v1/fixed-income",method:"POST",data:e,secure:!0,contentType:k.Json,responseType:"json"})}fixedIncomeHistorical(e,t){return this.apiClient.request({...t,url:"v1/fixed-income/historical",method:"POST",data:e,secure:!0,contentType:k.Json,responseType:"json"})}getFixedIncomePresets(e,t){return this.apiClient.request({...t,url:"v1/fixed-income/presets",method:"GET",params:e,secure:!0,contentType:k.Json,responseType:"json"})}updateFixedIncomePreset(e,t){return this.apiClient.request({...t,url:"v1/fixed-income/presets",method:"PUT",data:e,secure:!0,contentType:k.Json,responseType:"json"})}createOrFixedIncomePreset(e,t){return this.apiClient.request({...t,url:"v1/fixed-income/presets",method:"POST",data:e,secure:!0,contentType:k.Json,responseType:"json"})}removeFixedIncomePreset(e,t){return this.apiClient.request({...t,url:"v1/fixed-income/presets",method:"DELETE",data:e,secure:!0,contentType:k.Json})}getSingleFixedIncomeEntry(e,t){return this.apiClient.request({...t,url:`v1/fixed-income/${e}`,method:"GET",secure:!0,contentType:k.Json,responseType:"json"})}}var M={};i(M,"FixedIncomeV2",()=>N);class N{constructor(t){this.apiClient=t,e(this)}getFixedIncomeEntries(e,t){return this.apiClient.request({...t,url:"v2/fixed-income",method:"POST",data:e,secure:!0,contentType:k.Json,responseType:"json"})}}var H={};i(H,"Fundamentals",()=>U);class U{constructor(t){this.apiClient=t,e(this)}getFundamentalsBySymbolData(e,t){return this.apiClient.request({...t,url:"v1/fundamentals",method:"POST",data:e,secure:!0,contentType:k.Json,responseType:"json"})}}var B={};i(B,"Funds",()=>_);class _{constructor(t){this.apiClient=t,e(this)}getFundDetails(e,t){return this.apiClient.request({...t,url:"v1/funds/details",method:"GET",params:e,secure:!0,contentType:k.Json,responseType:"json"})}getFundsForHolding(e,t,s){return this.apiClient.request({...s,url:"v1/funds/funds-for-holding",method:"POST",data:e,secure:!0,headers:t,contentType:k.Json,responseType:"json"})}fundScreener(e,t,s){return this.apiClient.request({...s,url:"v1/funds/screener",method:"POST",data:e,secure:!0,headers:t,contentType:k.Json,responseType:"json"})}getScreenerFilters(e){return this.apiClient.request({...e,url:"v1/funds/screener/filters",method:"GET",secure:!0,contentType:k.Json,responseType:"json"})}fundSectorScreener(e,t,s){return this.apiClient.request({...s,url:"v1/funds/sector-screener",method:"POST",data:e,secure:!0,headers:t,contentType:k.Json,responseType:"json"})}getTopFunds(e,t,s){return this.apiClient.request({...s,url:"v1/funds/top",method:"POST",data:e,secure:!0,headers:t,contentType:k.Json,responseType:"json"})}}var V={};i(V,"Intraday",()=>Q);class Q{constructor(t){this.apiClient=t,e(this)}intradayQuotes(e,t){return this.apiClient.request({...t,url:"v1/intraday/quotes",method:"POST",data:e,secure:!0,contentType:k.Json,responseType:"json"})}}var W={};i(W,"Ipos",()=>z);class z{constructor(t){this.apiClient=t,e(this)}postRecent(e,t){return this.apiClient.request({...t,url:"v1/ipos/recent",method:"POST",data:e,secure:!0,contentType:k.Json,responseType:"json"})}getUpcoming(e,t){return this.apiClient.request({...t,url:"v1/ipos/upcoming",method:"GET",params:e,secure:!0,responseType:"json"})}}var K={};i(K,"Lists",()=>Y);class Y{constructor(t){this.apiClient=t,e(this)}filterCustomLists(e,t){return this.apiClient.request({...t,url:"v1/custom-lists/filter",method:"POST",data:e,secure:!0,contentType:k.Json,responseType:"json"})}}var X={};i(X,"Logos",()=>Z);class Z{constructor(t){this.apiClient=t,e(this)}logosConvertedCryptoSymbolLogo(e,t){return this.apiClient.request({...t,url:"v1/logos/converted-crypto-symbol-logo",method:"POST",data:e,secure:!0,contentType:k.Json,responseType:"json"})}logosConvertedSymbolLogo(e,t){return this.apiClient.request({...t,url:"v1/logos/converted-symbol-logo",method:"POST",data:e,secure:!0,contentType:k.Json,responseType:"json"})}logosCryptoSymbolLogo(e,t){return this.apiClient.request({...t,url:"v1/logos/crypto-symbol-logo",method:"GET",params:e,secure:!0,contentType:k.Json,responseType:"json"})}logosDirectCryptoSymbolLogo(e,t){return this.apiClient.request({...t,url:"v1/logos/direct-crypto-symbol-logo",method:"GET",params:e,secure:!0,contentType:k.Json,responseType:"json"})}logosDirectSymbolLogo(e,t){return this.apiClient.request({...t,url:"v1/logos/direct-symbol-logo",method:"GET",params:e,secure:!0,contentType:k.Json,responseType:"json"})}logosMultipleCryptoSymbolLogo(e,t){return this.apiClient.request({...t,url:"v1/logos/multiple-crypto-symbol-logo",method:"POST",data:e,secure:!0,contentType:k.Json,responseType:"json"})}logosMultipleSymbolLogos(e,t){return this.apiClient.request({...t,url:"v1/logos/multiple-symbol-logos",method:"POST",data:e,secure:!0,contentType:k.Json,responseType:"json"})}logosSocialSymbolLogos(e,t){return this.apiClient.request({...t,url:"v1/logos/social-symbol-logos",method:"GET",params:e,secure:!0,contentType:k.Json,responseType:"json"})}logosSymbolLogos(e,t){return this.apiClient.request({...t,url:"v1/logos/symbol-logos",method:"GET",params:e,secure:!0,contentType:k.Json,responseType:"json"})}}var ee={};i(ee,"MarketDates",()=>et);class et{constructor(t){this.apiClient=t,e(this)}getMarketDatesHistory(e,t){return this.apiClient.request({...t,url:"v1/market-dates/history",method:"POST",data:e,secure:!0,contentType:k.Json,responseType:"json"})}getTodaysMarketHours(e,t){return this.apiClient.request({...t,url:"v1/market-dates/today",method:"GET",params:e,secure:!0,contentType:k.Json,responseType:"json"})}}var es={};i(es,"News",()=>er);class er{constructor(t){this.apiClient=t,e(this)}newsAvailableAuthors(e,t){return this.apiClient.request({...t,url:"v1/news/authors",method:"POST",data:e,secure:!0,contentType:k.Json,responseType:"json"})}newsAvailableChannels(e,t){return this.apiClient.request({...t,url:"v1/news/channels",method:"POST",data:e,secure:!0,contentType:k.Json,responseType:"json"})}newsFiltered(e,t){return this.apiClient.request({...t,url:"v1/news/filter",method:"POST",data:e,secure:!0,contentType:k.Json,responseType:"json"})}newsById(e,t){return this.apiClient.request({...t,url:"v1/news/id",method:"POST",data:e,secure:!0,contentType:k.Json,responseType:"json"})}newsPreviewsFiltered(e,t){return this.apiClient.request({...t,url:"v1/news/previews",method:"GET",params:e,secure:!0,contentType:k.Json,responseType:"json"})}newsAvailableStocks(e){return this.apiClient.request({...e,url:"v1/news/symbols",method:"GET",secure:!0,contentType:k.Json,responseType:"json"})}newsAvailableTags(e,t){return this.apiClient.request({...t,url:"v1/news/tags",method:"POST",data:e,secure:!0,contentType:k.Json,responseType:"json"})}}var en={};i(en,"OptionGreeks",()=>eo);class eo{constructor(t){this.apiClient=t,e(this)}ogCalculateMatrix(e,t){return this.apiClient.request({...t,url:"v1/og/calculate-matrix",method:"POST",data:e,secure:!0,contentType:k.Json,responseType:"json"})}ogCalculateParams(e,t){return this.apiClient.request({...t,url:"v1/og/calculate-params",method:"POST",data:e,secure:!0,contentType:k.Json,responseType:"json"})}}var ea={};i(ea,"Ownerships",()=>ei);class ei{constructor(t){this.apiClient=t,e(this)}getOwnershipsByIdData(e,t){return this.apiClient.request({...t,url:"v1/ownerships",method:"POST",data:e,secure:!0,contentType:k.Json,responseType:"json"})}getOwnershipsBySymbolData(e,t){return this.apiClient.request({...t,url:"v1/symbol-ownerships",method:"POST",data:e,secure:!0,contentType:k.Json,responseType:"json"})}}var ep={};i(ep,"Passport",()=>eu);class eu{constructor(t){this.apiClient=t,e(this)}passportArticleById(e,t){return this.apiClient.request({...t,url:"v1/passport/article-by-id",method:"POST",data:e,secure:!0,contentType:k.Json,responseType:"json"})}passportArticles(e,t){return this.apiClient.request({...t,url:"v1/passport/articles",method:"POST",data:e,secure:!0,contentType:k.Json,responseType:"json"})}passportAuthorProfile(e,t){return this.apiClient.request({...t,url:"v1/passport/author-profile",method:"POST",data:e,secure:!0,contentType:k.Json,responseType:"json"})}passportMostPopularTags(e,t){return this.apiClient.request({...t,url:"v1/passport/most-popular-tags",method:"POST",data:e,secure:!0,contentType:k.Json,responseType:"json"})}passportNewsFeed(e,t){return this.apiClient.request({...t,url:"v1/passport/newsfeed",method:"POST",data:e,secure:!0,contentType:k.Json,responseType:"json"})}passportSearchArticle(e,t){return this.apiClient.request({...t,url:"v1/passport/search-article",method:"POST",data:e,secure:!0,contentType:k.Json,responseType:"json"})}}var ec={};i(ec,"Public",()=>el);class el{constructor(t){this.apiClient=t,e(this)}calculateEstimatedReturns(e,t){return this.apiClient.request({...t,url:"v1/public/estimated-returns",method:"GET",params:e,secure:!0,responseType:"json"})}expertForecast(e,t){return this.apiClient.request({...t,url:"v1/public/expert-forecast",method:"GET",params:e,secure:!0,responseType:"json"})}getPublicFundamentalsBySymbolData(e,t,s){return this.apiClient.request({...s,url:`v1/public/fundamentals/${e}`,method:"GET",params:t,secure:!0,responseType:"json"})}dailyPriceHistory(e,t){return this.apiClient.request({...t,url:"v1/public/price-history/daily",method:"GET",params:e,secure:!0,responseType:"json"})}publicQuoteProfile(e,t){return this.apiClient.request({...t,url:`v1/public/quote-profile/${e}`,method:"GET",secure:!0,responseType:"json"})}getPublicRatiosBySymbolData(e,t){return this.apiClient.request({...t,url:`v1/public/ratios/${e}`,method:"GET",secure:!0,responseType:"json"})}quoteFundamentalsSearch(e,t){return this.apiClient.request({...t,url:"v1/public/symbol-search",method:"GET",params:e,secure:!0,responseType:"json"})}topGainers(e,t){return this.apiClient.request({...t,url:"v1/public/top-gainers",method:"GET",params:e,secure:!0,responseType:"json"})}topStocks(e,t){return this.apiClient.request({...t,url:"v1/public/top-stocks",method:"GET",params:e,secure:!0,responseType:"json"})}}var eh={};i(eh,"Quotes",()=>ed);class ed{constructor(t){this.apiClient=t,e(this)}gitHistoricalQuote(e,t){return this.apiClient.request({...t,url:"v1/historical/quote",method:"GET",params:e,secure:!0,contentType:k.Json,responseType:"json"})}gitQuoteHistory(e,t){return this.apiClient.request({...t,url:"v1/quote-history",method:"POST",data:e,secure:!0,contentType:k.Json,responseType:"json"})}getQuotesEquityData(e,t){return this.apiClient.request({...t,url:"v1/quotes/equity",method:"GET",params:e,secure:!0,responseType:"json"})}}var eT={};i(eT,"StockScreener",()=>em);class em{constructor(t){this.apiClient=t,e(this)}stockMarketHeatmap(e,t,s){return this.apiClient.request({...s,url:"v1/heatmaps",method:"GET",params:e,secure:!0,headers:t,responseType:"json"})}createStockMarketHeatmapPreset(e,t){return this.apiClient.request({...t,url:"v1/heatmaps",method:"POST",data:e,secure:!0,contentType:k.Json})}industriesPerformance(e,t){return this.apiClient.request({...t,url:"v1/industries-performance",method:"POST",data:e,secure:!0,contentType:k.Json,responseType:"json"})}stockScreener(e,t,s){return this.apiClient.request({...s,url:"v1/stock-screener",method:"POST",data:e,secure:!0,headers:t,contentType:k.Json,responseType:"json"})}getScreenerPresets(e,t){return this.apiClient.request({...t,url:"v1/stock-screener/presets",method:"GET",params:e,secure:!0,contentType:k.Json,responseType:"json"})}updateScreenerPreset(e,t){return this.apiClient.request({...t,url:"v1/stock-screener/presets",method:"PUT",data:e,secure:!0,contentType:k.Json,responseType:"json"})}createOrScreenerPreset(e,t){return this.apiClient.request({...t,url:"v1/stock-screener/presets",method:"POST",data:e,secure:!0,contentType:k.Json,responseType:"json"})}removeScreenerPreset(e,t){return this.apiClient.request({...t,url:"v1/stock-screener/presets",method:"DELETE",data:e,secure:!0,contentType:k.Json})}getTopSymbols(e,t){return this.apiClient.request({...t,url:"v1/stock-screener/top",method:"POST",data:e,secure:!0,contentType:k.Json,responseType:"json"})}}var ey={};i(ey,"StockScreenerV2",()=>eC);class eC{constructor(t){this.apiClient=t,e(this)}stockScreener(e,t){return this.apiClient.request({...t,url:"v2/stock-screener",method:"POST",data:e,secure:!0,contentType:k.Json,responseType:"json"})}getTopSymbols(e,t){return this.apiClient.request({...t,url:"v2/stock-screener/top",method:"POST",data:e,secure:!0,contentType:k.Json,responseType:"json"})}}var eg={};i(eg,"TipRank",()=>ev);class ev{constructor(t){this.apiClient=t,e(this)}tiprankAnalystConsensus(e,t){return this.apiClient.request({...t,url:"v1/tipranks/analyst-consensus",method:"POST",data:e,secure:!0,contentType:k.Json,responseType:"json"})}tiprankLatestAnalystRatingsOnStock(e,t){return this.apiClient.request({...t,url:"v1/tipranks/analyst-multi",method:"POST",data:e,secure:!0,contentType:k.Json,responseType:"json"})}tiprankPortfolios(e,t,s){return this.apiClient.request({...s,url:"v1/tipranks/analyst-portfolio",method:"POST",data:e,secure:!0,headers:t,contentType:k.Json,responseType:"json"})}tiprankAnalystProfile(e,t){return this.apiClient.request({...t,url:"v1/tipranks/analyst-profile",method:"GET",params:e,secure:!0,contentType:k.Json,responseType:"json"})}tiprankAnalystsExpertPictureStore(e){return this.apiClient.request({...e,url:"v1/tipranks/analysts-expert-picture-store",method:"GET",secure:!0,contentType:k.Json,responseType:"json"})}tiprankBestPerformingExperts(e,t){return this.apiClient.request({...t,url:"v1/tipranks/best-performing-experts",method:"GET",params:e,secure:!0,contentType:k.Json,responseType:"json"})}tiprankBloggerConsensusOnStock(e,t){return this.apiClient.request({...t,url:"v1/tipranks/blogger-consensus-on-stock",method:"GET",params:e,secure:!0,contentType:k.Json,responseType:"json"})}tiprankCalendarsIpos(e){return this.apiClient.request({...e,url:"v1/tipranks/calendars-ipos",method:"GET",secure:!0,contentType:k.Json,responseType:"json"})}tiprankGeneralStockUpdates(e,t){return this.apiClient.request({...t,url:"v1/tipranks/general-stock-updates",method:"GET",params:e,secure:!0,contentType:k.Json,responseType:"json"})}tiprankHedgefunds(e,t){return this.apiClient.request({...t,url:"v1/tipranks/hedgefunds",method:"GET",params:e,secure:!0,contentType:k.Json,responseType:"json"})}tiprankHedgefundsBestPerformingExperts(e,t){return this.apiClient.request({...t,url:"v1/tipranks/hedgefunds-best-performing-experts",method:"GET",params:e,secure:!0,contentType:k.Json,responseType:"json"})}tiprankHedgefundsRecentTransactions(e,t){return this.apiClient.request({...t,url:"v1/tipranks/hedgefunds-recent-transactions",method:"GET",params:e,secure:!0,contentType:k.Json,responseType:"json"})}tiprankInsiders(e,t){return this.apiClient.request({...t,url:"v1/tipranks/insiders",method:"GET",params:e,secure:!0,contentType:k.Json,responseType:"json"})}tiprankInsidersBestPerformingExperts(e,t){return this.apiClient.request({...t,url:"v1/tipranks/insiders-best-performing-experts",method:"GET",params:e,secure:!0,contentType:k.Json,responseType:"json"})}tiprankInsidersHotstocks(e){return this.apiClient.request({...e,url:"v1/tipranks/insiders-hotstocks",method:"GET",secure:!0,contentType:k.Json,responseType:"json"})}tiprankInsidersLiveFeed(e,t){return this.apiClient.request({...t,url:"v1/tipranks/insiders-live-feed",method:"GET",params:e,secure:!0,contentType:k.Json,responseType:"json"})}tiprankInsidersOverview(e,t){return this.apiClient.request({...t,url:"v1/tipranks/insiders-overview",method:"GET",params:e,secure:!0,contentType:k.Json,responseType:"json"})}tiprankInvestorSentiment(e,t){return this.apiClient.request({...t,url:"v1/tipranks/investor-sentiment",method:"GET",params:e,secure:!0,contentType:k.Json,responseType:"json"})}tiprankLiveFeed(e,t,s){return this.apiClient.request({...s,url:"v1/tipranks/live-feed",method:"POST",data:e,secure:!0,headers:t,contentType:k.Json,responseType:"json"})}tiprankNewsArticles(e,t){return this.apiClient.request({...t,url:"v1/tipranks/news-articles",method:"GET",params:e,secure:!0,contentType:k.Json,responseType:"json"})}tiprankNewsSentiment(e,t){return this.apiClient.request({...t,url:"v1/tipranks/news-sentiment",method:"GET",params:e,secure:!0,contentType:k.Json,responseType:"json"})}tiprankSectorConsensus(e){return this.apiClient.request({...e,url:"v1/tipranks/sector-consensus",method:"GET",secure:!0,contentType:k.Json,responseType:"json"})}tiprankSmartScore(e,t){return this.apiClient.request({...t,url:"v1/tipranks/smart-score",method:"POST",data:e,secure:!0,contentType:k.Json,responseType:"json"})}tiprankSmartScorePerformance(e){return this.apiClient.request({...e,url:"v1/tipranks/smart-score-performance",method:"GET",secure:!0,contentType:k.Json,responseType:"json"})}tiprankSmartScoreTopStocks(e,t){return this.apiClient.request({...t,url:"v1/tipranks/smart-score-top-stocks",method:"POST",data:e,secure:!0,contentType:k.Json,responseType:"json"})}tiprankStocksConsensusOverTime(e,t){return this.apiClient.request({...t,url:"v1/tipranks/stocks-consensus-over-time",method:"POST",data:e,secure:!0,contentType:k.Json,responseType:"json"})}tiprankStocksEvents(e,t){return this.apiClient.request({...t,url:"v1/tipranks/stocks-events",method:"POST",data:e,secure:!0,contentType:k.Json,responseType:"json"})}tiprankStocksSimilarStocks(e,t){return this.apiClient.request({...t,url:"v1/tipranks/stocks-similar-stocks",method:"GET",params:e,secure:!0,contentType:k.Json,responseType:"json"})}tiprankStocksTopMovers(e){return this.apiClient.request({...e,url:"v1/tipranks/stocks-top-movers",method:"GET",secure:!0,contentType:k.Json,responseType:"json"})}tiprankSupportedTickers(e){return this.apiClient.request({...e,url:"v1/tipranks/supported-tickers",method:"GET",secure:!0,contentType:k.Json,responseType:"json"})}tiprankTopRateStocks(e,t){return this.apiClient.request({...t,url:"v1/tipranks/top-rate-stocks",method:"GET",params:e,secure:!0,contentType:k.Json,responseType:"json"})}tiprankTopStocksBySectors(e,t){return this.apiClient.request({...t,url:"v1/tipranks/top-stocks-by-sectors",method:"POST",data:e,secure:!0,contentType:k.Json,responseType:"json"})}tiprankTrendingStocks(e,t,s){return this.apiClient.request({...s,url:"v1/tipranks/trending-stocks",method:"POST",data:e,secure:!0,headers:t,contentType:k.Json,responseType:"json"})}}var ef={};i(ef,"InsightArticlesRequestTypeEnum",()=>eq),i(ef,"InsightCryptoLogoConvertedRequestConversionEnum",()=>eS),i(ef,"InsightMostPopularTagsRequestTimeEnum",()=>eb),i(ef,"InsightMostPopularTagsRequestTypeEnum",()=>ek),i(ef,"InsightNewsfeedRequestTypeEnum",()=>eE),i(ef,"InsightOrderingDirectionEnum",()=>ej),i(ef,"InsightPeriodFilterTypeEnum",()=>eJ),i(ef,"InsightSearchArticleRequestTypeEnum",()=>eP),i(ef,"InsightSymbolLogoConvertedRequestConversionEnum",()=>e$),i(ef,"InsightTiprankGeneralStockUpdatesParamsDetailsEnum",()=>ex),i(ef,"InsightTiprankHedgefundsRecentTransactionsParamsSortEnum",()=>eO),i(ef,"InsightTiprankInsidersLiveFeedParamsSortEnum",()=>ew);var eq=((l={}).Education="education",l.NonEducation="non-education",l),eS=((h={}).Original="original",h.Default="default",h.Normal="normal",h.Thumbnail="thumbnail",h.Square="square",h.SquareStrict="square_strict",h.SquareStrictOrNormal="square_strict_or_normal",h.BestMatch="best_match",h),eb=((d={}).Week="week",d.Month="month",d.Year="year",d),ek=((T={}).Symbol="symbol",T.Primary="primary",T.Tags="tags",T),eE=((m={}).Education="education",m.NonEducation="non-education",m),ej=((y={}).Asc="asc",y.Desc="desc",y),eJ=((C={}).Day="day",C.Week="week",C.Month="month",C.Year="year",C),eP=((g={}).All="all",g.Tag="tag",g.Primary="primary",g.Symbol="symbol",g),e$=((v={}).Original="original",v.Default="default",v.Normal="normal",v.Thumbnail="thumbnail",v.Square="square",v.SquareStrict="square_strict",v.SquareStrictOrNormal="square_strict_or_normal",v.BestMatch="best_match",v),ex=((f={}).None="none",f.Full="full",f),eO=((q={}).Value="value",q.Rank="rank",q),ew=((S={}).Date="date",S.Rank="rank",S),eG={};i(eG,"InsightOrderingDirectionEnumV2",()=>eI);var eI=((b={}).Asc="asc",b.Desc="desc",b),eD={};i(eD,"UsageTracking",()=>eF);class eF{constructor(t){this.apiClient=t,e(this)}getUsageData(e,t){return this.apiClient.request({...t,url:"v1/tracking/usage",method:"POST",data:e,secure:!0,contentType:k.Json,responseType:"json"})}}var eA={};i(eA,"WorldMarkets",()=>eL);class eL{constructor(t){this.apiClient=t,e(this)}continentGet(e,t){return this.apiClient.request({...t,url:"v1/continents",method:"GET",params:e,secure:!0,contentType:k.Json,responseType:"json"})}continentEdit(e,t){return this.apiClient.request({...t,url:"v1/continents",method:"PUT",data:e,secure:!0,contentType:k.Json})}continentCreate(e,t){return this.apiClient.request({...t,url:"v1/continents",method:"POST",data:e,secure:!0,contentType:k.Json,responseType:"json"})}continentDelete(e,t){return this.apiClient.request({...t,url:"v1/continents",method:"DELETE",params:e,secure:!0,contentType:k.Json})}countryCodeGet(e,t){return this.apiClient.request({...t,url:"v1/country-codes",method:"GET",params:e,secure:!0,contentType:k.Json,responseType:"json"})}countryCodeEdit(e,t){return this.apiClient.request({...t,url:"v1/country-codes",method:"PUT",data:e,secure:!0,contentType:k.Json})}countryCodeAdd(e,t){return this.apiClient.request({...t,url:"v1/country-codes",method:"POST",data:e,secure:!0,contentType:k.Json,responseType:"json"})}countryCodeDelete(e,t){return this.apiClient.request({...t,url:"v1/country-codes",method:"DELETE",params:e,secure:!0,contentType:k.Json})}globalIndexGet(e,t){return this.apiClient.request({...t,url:"v1/global-indexes",method:"GET",params:e,secure:!0,contentType:k.Json,responseType:"json"})}globalIndexEdit(e,t){return this.apiClient.request({...t,url:"v1/global-indexes",method:"PUT",data:e,secure:!0,contentType:k.Json})}globalIndexAdd(e,t){return this.apiClient.request({...t,url:"v1/global-indexes",method:"POST",data:e,secure:!0,contentType:k.Json,responseType:"json"})}globalIndexDelete(e,t){return this.apiClient.request({...t,url:"v1/global-indexes",method:"DELETE",params:e,secure:!0,contentType:k.Json})}regionGet(e,t){return this.apiClient.request({...t,url:"v1/regions",method:"GET",params:e,secure:!0,contentType:k.Json,responseType:"json"})}regionEdit(e,t){return this.apiClient.request({...t,url:"v1/regions",method:"PUT",data:e,secure:!0,contentType:k.Json})}regionCreate(e,t){return this.apiClient.request({...t,url:"v1/regions",method:"POST",data:e,secure:!0,contentType:k.Json,responseType:"json"})}regionDelete(e,t){return this.apiClient.request({...t,url:"v1/regions",method:"DELETE",params:e,secure:!0,contentType:k.Json})}}p(J,P),p(J,x),p(J,w),p(J,I),p(J,F),p(J,L),p(J,M),p(J,H),p(J,B),p(J,V),p(J,W),p(J,K),p(J,X),p(J,ee),p(J,es),p(J,en),p(J,ea),p(J,ep),p(J,ec),p(J,eh),p(J,eT),p(J,ey),p(J,eg),p(J,ef),p(J,eG),p(J,eD),p(J,eA);class eR extends u{constructor(e){super(new j(e)),this.config=e,this.alphaTools=new $(this.apiClient),this.companyProfile=new O(this.apiClient),this.customList=new G(this.apiClient),this.dashboard=new D(this.apiClient),this.earning=new A(this.apiClient),this.fixedIncome=new R(this.apiClient),this.fundamentals=new U(this.apiClient),this.fund=new _(this.apiClient),this.intraday=new Q(this.apiClient),this.ipos=new z(this.apiClient),this.lists=new Y(this.apiClient),this.logos=new Z(this.apiClient),this.marketDates=new et(this.apiClient),this.news=new er(this.apiClient),this.optionGreeks=new eo(this.apiClient),this.ownerships=new ei(this.apiClient),this.passport=new eu(this.apiClient),this.public=new el(this.apiClient),this.quotes=new ed(this.apiClient),this.stockScreener=new em(this.apiClient),this.tiprank=new ev(this.apiClient),this.usageTracking=new eF(this.apiClient),this.worldMarkets=new eL(this.apiClient),this.v2={fixedIncome:new N(this.apiClient),stockScreener:new eC(this.apiClient)}}}export{eR as InsightApi,$ as AlphaTools,O as CompanyProfile,G as CustomLists,D as Dashboard,A as Earnings,R as FixedIncome,N as FixedIncomeV2,U as Fundamentals,_ as Funds,Q as Intraday,z as Ipos,Y as Lists,Z as Logos,et as MarketDates,er as News,eo as OptionGreeks,ei as Ownerships,eu as Passport,el as Public,ed as Quotes,em as StockScreener,eC as StockScreenerV2,ev as TipRank,eq as InsightArticlesRequestTypeEnum,eS as InsightCryptoLogoConvertedRequestConversionEnum,eb as InsightMostPopularTagsRequestTimeEnum,ek as InsightMostPopularTagsRequestTypeEnum,eE as InsightNewsfeedRequestTypeEnum,ej as InsightOrderingDirectionEnum,eJ as InsightPeriodFilterTypeEnum,eP as InsightSearchArticleRequestTypeEnum,e$ as InsightSymbolLogoConvertedRequestConversionEnum,ex as InsightTiprankGeneralStockUpdatesParamsDetailsEnum,eO as InsightTiprankHedgefundsRecentTransactionsParamsSortEnum,ew as InsightTiprankInsidersLiveFeedParamsSortEnum,eI as InsightOrderingDirectionEnumV2,eF as UsageTracking,eL as WorldMarkets};
|
|
1
|
+
import $lBhIu$autobind from "auto-bind";
|
|
2
|
+
import {Mutex as $lBhIu$Mutex, E_CANCELED as $lBhIu$E_CANCELED} from "async-mutex";
|
|
3
|
+
import {consola as $lBhIu$consola} from "consola";
|
|
4
|
+
import {isBefore as $lBhIu$isBefore, subMinutes as $lBhIu$subMinutes} from "date-fns";
|
|
5
|
+
import {jwtDecode as $lBhIu$jwtDecode} from "jwt-decode";
|
|
6
|
+
import $lBhIu$axios, {isAxiosError as $lBhIu$isAxiosError} from "axios";
|
|
7
|
+
import $lBhIu$axiosbetterstacktrace from "axios-better-stacktrace";
|
|
8
|
+
import {isNil as $lBhIu$isNil, merge as $lBhIu$merge} from "lodash";
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
function $parcel$export(e, n, v, s) {
|
|
12
|
+
Object.defineProperty(e, n, {get: v, set: s, enumerable: true, configurable: true});
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
function $parcel$exportWildcard(dest, source) {
|
|
16
|
+
Object.keys(source).forEach(function(key) {
|
|
17
|
+
if (key === 'default' || key === '__esModule' || Object.prototype.hasOwnProperty.call(dest, key)) {
|
|
18
|
+
return;
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
Object.defineProperty(dest, key, {
|
|
22
|
+
enumerable: true,
|
|
23
|
+
get: function get() {
|
|
24
|
+
return source[key];
|
|
25
|
+
}
|
|
26
|
+
});
|
|
27
|
+
});
|
|
28
|
+
|
|
29
|
+
return dest;
|
|
30
|
+
}
|
|
31
|
+
var $4b3cd0f4fec0f698$exports = {};
|
|
32
|
+
|
|
33
|
+
$parcel$export($4b3cd0f4fec0f698$exports, "InsightApi", () => $4b3cd0f4fec0f698$export$b03bdbac175050c6);
|
|
34
|
+
|
|
35
|
+
class $001a7a5b1ca54b2d$export$3ad201792064a82b {
|
|
36
|
+
// request: ApiClient['request'];
|
|
37
|
+
// get: ApiClient['get'];
|
|
38
|
+
// delete: ApiClient['delete'];
|
|
39
|
+
// head: ApiClient['head'];
|
|
40
|
+
// options: ApiClient['options'];
|
|
41
|
+
// post: ApiClient['post'];
|
|
42
|
+
// put: ApiClient['put'];
|
|
43
|
+
// patch: ApiClient['patch'];
|
|
44
|
+
constructor(apiClient){
|
|
45
|
+
this.apiClient = apiClient;
|
|
46
|
+
(0, $lBhIu$autobind)(this);
|
|
47
|
+
// this.request = this.client.request;
|
|
48
|
+
// this.get = this.client.get;
|
|
49
|
+
// this.delete = this.client.delete;
|
|
50
|
+
// this.head = this.client.head;
|
|
51
|
+
// this.options = this.client.options;
|
|
52
|
+
// this.post = this.client.post;
|
|
53
|
+
// this.put = this.client.put;
|
|
54
|
+
// this.patch = this.client.patch;
|
|
55
|
+
// this.get = this.client.get;
|
|
56
|
+
}
|
|
57
|
+
getApiClient() {
|
|
58
|
+
return this.apiClient;
|
|
59
|
+
}
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
|
|
63
|
+
|
|
64
|
+
|
|
65
|
+
|
|
66
|
+
|
|
67
|
+
|
|
68
|
+
|
|
69
|
+
|
|
70
|
+
|
|
71
|
+
var $e176194f300187e4$export$e2e108cbe2e4f865 = /*#__PURE__*/ function(ContentType) {
|
|
72
|
+
ContentType["Json"] = "application/json";
|
|
73
|
+
ContentType["FormData"] = "multipart/form-data";
|
|
74
|
+
ContentType["UrlEncoded"] = "application/x-www-form-urlencoded";
|
|
75
|
+
ContentType["Text"] = "text/plain";
|
|
76
|
+
return ContentType;
|
|
77
|
+
}({});
|
|
78
|
+
class $e176194f300187e4$export$4f22f74eddb7716a {
|
|
79
|
+
constructor(config){
|
|
80
|
+
this.config = config;
|
|
81
|
+
(0, $lBhIu$autobind)(this);
|
|
82
|
+
this.storage = config.storage ?? sessionStorage;
|
|
83
|
+
this.axiosInstance = (0, $lBhIu$axios).create({
|
|
84
|
+
baseURL: config.baseUrl,
|
|
85
|
+
headers: {
|
|
86
|
+
'Content-Type': 'application/json',
|
|
87
|
+
...config.defaultHeaders
|
|
88
|
+
}
|
|
89
|
+
});
|
|
90
|
+
(0, $lBhIu$axiosbetterstacktrace)(this.axiosInstance);
|
|
91
|
+
}
|
|
92
|
+
stringifyFormItem(formItem) {
|
|
93
|
+
if (typeof formItem === 'object' && formItem !== null) return JSON.stringify(formItem);
|
|
94
|
+
else return `${formItem}`;
|
|
95
|
+
}
|
|
96
|
+
createFormData(input) {
|
|
97
|
+
if (input instanceof FormData) return input;
|
|
98
|
+
return Object.keys(input).reduce((formData, key)=>{
|
|
99
|
+
const property = input[key];
|
|
100
|
+
const propertyContent = property instanceof Array ? property : [
|
|
101
|
+
property
|
|
102
|
+
];
|
|
103
|
+
for (const formItem of propertyContent){
|
|
104
|
+
const isFileType = formItem instanceof Blob || formItem instanceof File;
|
|
105
|
+
formData.append(key, isFileType ? formItem : this.stringifyFormItem(formItem));
|
|
106
|
+
}
|
|
107
|
+
return formData;
|
|
108
|
+
}, new FormData());
|
|
109
|
+
}
|
|
110
|
+
async request(requestConfig) {
|
|
111
|
+
const { contentType: contentType, data: data } = requestConfig;
|
|
112
|
+
if (!(0, $lBhIu$isNil)(data)) {
|
|
113
|
+
if (contentType === "multipart/form-data" && typeof data === 'object') requestConfig.data = this.createFormData(data);
|
|
114
|
+
if (contentType === "text/plain" && typeof data !== 'string') requestConfig.data = JSON.stringify(data);
|
|
115
|
+
}
|
|
116
|
+
const mergedConfig = (0, $lBhIu$merge)(requestConfig.secure ?? this.config.defaultSecure ? await this.prepareAuthRequestConfig() : {}, contentType ? {
|
|
117
|
+
headers: {
|
|
118
|
+
'Content-Type': contentType
|
|
119
|
+
}
|
|
120
|
+
} : {}, requestConfig);
|
|
121
|
+
try {
|
|
122
|
+
const { data: data, status: status, statusText: statusText } = await this.axiosInstance.request(mergedConfig);
|
|
123
|
+
return {
|
|
124
|
+
success: true,
|
|
125
|
+
data: data,
|
|
126
|
+
status: status,
|
|
127
|
+
statusText: statusText
|
|
128
|
+
};
|
|
129
|
+
} catch (error) {
|
|
130
|
+
if (!this.config.handleError && !requestConfig.handleError) throw error;
|
|
131
|
+
const result = {
|
|
132
|
+
success: false,
|
|
133
|
+
status: -1,
|
|
134
|
+
statusText: String(error),
|
|
135
|
+
error: error
|
|
136
|
+
};
|
|
137
|
+
if ((0, $lBhIu$isAxiosError)(error)) {
|
|
138
|
+
this.config.onAxiosError?.(error);
|
|
139
|
+
result.data = error.response?.data;
|
|
140
|
+
result.status = error.response?.status ?? result.status;
|
|
141
|
+
result.statusText = error.response?.statusText ?? result.statusText;
|
|
142
|
+
}
|
|
143
|
+
this.config.onError?.(error);
|
|
144
|
+
return result;
|
|
145
|
+
}
|
|
146
|
+
}
|
|
147
|
+
get(url, config) {
|
|
148
|
+
return this.request({
|
|
149
|
+
...config,
|
|
150
|
+
method: 'GET',
|
|
151
|
+
url: url
|
|
152
|
+
});
|
|
153
|
+
}
|
|
154
|
+
delete(url, config) {
|
|
155
|
+
return this.request({
|
|
156
|
+
...config,
|
|
157
|
+
method: 'DELETE',
|
|
158
|
+
url: url
|
|
159
|
+
});
|
|
160
|
+
}
|
|
161
|
+
head(url, config) {
|
|
162
|
+
return this.request({
|
|
163
|
+
...config,
|
|
164
|
+
method: 'HEAD',
|
|
165
|
+
url: url
|
|
166
|
+
});
|
|
167
|
+
}
|
|
168
|
+
options(url, config) {
|
|
169
|
+
return this.request({
|
|
170
|
+
...config,
|
|
171
|
+
method: 'OPTIONS',
|
|
172
|
+
url: url
|
|
173
|
+
});
|
|
174
|
+
}
|
|
175
|
+
post(url, data, config) {
|
|
176
|
+
return this.request({
|
|
177
|
+
...config,
|
|
178
|
+
method: 'POST',
|
|
179
|
+
url: url,
|
|
180
|
+
data: data
|
|
181
|
+
});
|
|
182
|
+
}
|
|
183
|
+
put(url, data, config) {
|
|
184
|
+
return this.request({
|
|
185
|
+
...config,
|
|
186
|
+
method: 'PUT',
|
|
187
|
+
url: url,
|
|
188
|
+
data: data
|
|
189
|
+
});
|
|
190
|
+
}
|
|
191
|
+
patch(url, data, config) {
|
|
192
|
+
return this.request({
|
|
193
|
+
...config,
|
|
194
|
+
method: 'PATCH',
|
|
195
|
+
url: url,
|
|
196
|
+
data: data
|
|
197
|
+
});
|
|
198
|
+
}
|
|
199
|
+
getAxios() {
|
|
200
|
+
return this.axiosInstance;
|
|
201
|
+
}
|
|
202
|
+
setAuthData(data) {
|
|
203
|
+
this.storage.setItem(this.config.authDataStorageKey || 'auth', JSON.stringify(data));
|
|
204
|
+
}
|
|
205
|
+
getAuthData() {
|
|
206
|
+
const data = this.storage.getItem(this.config.authDataStorageKey || 'auth');
|
|
207
|
+
return data ? JSON.parse(data) : null;
|
|
208
|
+
}
|
|
209
|
+
getConfig() {
|
|
210
|
+
return this.config;
|
|
211
|
+
}
|
|
212
|
+
}
|
|
213
|
+
|
|
214
|
+
|
|
215
|
+
class $584c124673bb843e$export$f280b732bbc5934b extends (0, $e176194f300187e4$export$4f22f74eddb7716a) {
|
|
216
|
+
constructor(config){
|
|
217
|
+
super(config), this.config = config, this.lock = new (0, $lBhIu$Mutex)();
|
|
218
|
+
}
|
|
219
|
+
getConfig() {
|
|
220
|
+
return super.getConfig();
|
|
221
|
+
}
|
|
222
|
+
setRenewTokenCallback(renewTokenCallback) {
|
|
223
|
+
this.renewTokenCallback = renewTokenCallback;
|
|
224
|
+
}
|
|
225
|
+
async prepareAuthRequestConfig() {
|
|
226
|
+
let { accessToken: accessToken } = this.getAuthData() || {};
|
|
227
|
+
if (!accessToken) {
|
|
228
|
+
(0, $lBhIu$consola).warn('No access token found. Please set auth data after authorization.');
|
|
229
|
+
return {};
|
|
230
|
+
}
|
|
231
|
+
if (this.config.autoRenewToken !== false && this.isTokenExpired(accessToken)) try {
|
|
232
|
+
await this.lock.runExclusive(async ()=>{
|
|
233
|
+
(0, $lBhIu$consola).info("Token expired. Renewing\u2026");
|
|
234
|
+
await this.renewToken();
|
|
235
|
+
this.lock.cancel();
|
|
236
|
+
});
|
|
237
|
+
} catch (error) {
|
|
238
|
+
if (error === (0, $lBhIu$E_CANCELED)) accessToken = this.getAuthData()?.accessToken;
|
|
239
|
+
else throw error;
|
|
240
|
+
}
|
|
241
|
+
return {
|
|
242
|
+
headers: {
|
|
243
|
+
Authorization: `${this.config.authSchema ?? 'Bearer'} ${accessToken}`
|
|
244
|
+
}
|
|
245
|
+
};
|
|
246
|
+
}
|
|
247
|
+
isTokenExpired(token) {
|
|
248
|
+
const payload = (0, $lBhIu$jwtDecode)(token);
|
|
249
|
+
if (!payload.exp) return true;
|
|
250
|
+
return (0, $lBhIu$isBefore)((0, $lBhIu$subMinutes)(payload.exp * 1000, 5), Date.now());
|
|
251
|
+
}
|
|
252
|
+
async renewToken() {
|
|
253
|
+
if (!this.renewTokenCallback) throw new Error('No renew token callback provided');
|
|
254
|
+
const authData = await this.renewTokenCallback();
|
|
255
|
+
this.setAuthData(authData);
|
|
256
|
+
}
|
|
257
|
+
}
|
|
258
|
+
|
|
259
|
+
|
|
260
|
+
var $c61269341cdda547$exports = {};
|
|
261
|
+
var $49be2d6ca49895b2$exports = {};
|
|
262
|
+
|
|
263
|
+
$parcel$export($49be2d6ca49895b2$exports, "AlphaTools", () => $49be2d6ca49895b2$export$ed85ff281af62cde);
|
|
264
|
+
/* eslint-disable */ /* tslint:disable */ /*
|
|
265
|
+
* ---------------------------------------------------------------
|
|
266
|
+
* ## THIS FILE WAS GENERATED VIA SWAGGER-TYPESCRIPT-API ##
|
|
267
|
+
* ## ##
|
|
268
|
+
* ## AUTHOR: acacode ##
|
|
269
|
+
* ## SOURCE: https://github.com/acacode/swagger-typescript-api ##
|
|
270
|
+
* ---------------------------------------------------------------
|
|
271
|
+
*/
|
|
272
|
+
/* eslint-disable */ /* tslint:disable */ /*
|
|
273
|
+
* ---------------------------------------------------------------
|
|
274
|
+
* ## THIS FILE WAS GENERATED VIA SWAGGER-TYPESCRIPT-API ##
|
|
275
|
+
* ## ##
|
|
276
|
+
* ## AUTHOR: acacode ##
|
|
277
|
+
* ## SOURCE: https://github.com/acacode/swagger-typescript-api ##
|
|
278
|
+
* ---------------------------------------------------------------
|
|
279
|
+
*/
|
|
280
|
+
|
|
281
|
+
|
|
282
|
+
class $49be2d6ca49895b2$export$ed85ff281af62cde {
|
|
283
|
+
constructor(apiClient){
|
|
284
|
+
this.apiClient = apiClient;
|
|
285
|
+
(0, $lBhIu$autobind)(this);
|
|
286
|
+
}
|
|
287
|
+
/**
|
|
288
|
+
* @description get seasonlity data with comparison to benchmark
|
|
289
|
+
* @tags AlphaTools
|
|
290
|
+
* @name GetMomentumRatioGraph
|
|
291
|
+
* @summary get seasonlity data
|
|
292
|
+
* @request POST:/rst
|
|
293
|
+
* @secure
|
|
294
|
+
*/ getMomentumRatioGraph(filter, config) {
|
|
295
|
+
return this.apiClient.request({
|
|
296
|
+
...config,
|
|
297
|
+
url: `v1/rst`,
|
|
298
|
+
method: 'POST',
|
|
299
|
+
data: filter,
|
|
300
|
+
secure: true,
|
|
301
|
+
contentType: (0, $e176194f300187e4$export$e2e108cbe2e4f865).Json,
|
|
302
|
+
responseType: 'json'
|
|
303
|
+
});
|
|
304
|
+
}
|
|
305
|
+
/**
|
|
306
|
+
* @description get seasonlity data with comparison to benchmark
|
|
307
|
+
* @tags AlphaTools
|
|
308
|
+
* @name GetSeasonality
|
|
309
|
+
* @summary get seasonlity data
|
|
310
|
+
* @request POST:/seasonality
|
|
311
|
+
* @secure
|
|
312
|
+
*/ getSeasonality(filter, config) {
|
|
313
|
+
return this.apiClient.request({
|
|
314
|
+
...config,
|
|
315
|
+
url: `v1/seasonality`,
|
|
316
|
+
method: 'POST',
|
|
317
|
+
data: filter,
|
|
318
|
+
secure: true,
|
|
319
|
+
contentType: (0, $e176194f300187e4$export$e2e108cbe2e4f865).Json,
|
|
320
|
+
responseType: 'json'
|
|
321
|
+
});
|
|
322
|
+
}
|
|
323
|
+
}
|
|
324
|
+
|
|
325
|
+
|
|
326
|
+
var $602ca224f9f0d551$exports = {};
|
|
327
|
+
|
|
328
|
+
$parcel$export($602ca224f9f0d551$exports, "CompanyProfile", () => $602ca224f9f0d551$export$870daabe3177f90);
|
|
329
|
+
/* eslint-disable */ /* tslint:disable */ /*
|
|
330
|
+
* ---------------------------------------------------------------
|
|
331
|
+
* ## THIS FILE WAS GENERATED VIA SWAGGER-TYPESCRIPT-API ##
|
|
332
|
+
* ## ##
|
|
333
|
+
* ## AUTHOR: acacode ##
|
|
334
|
+
* ## SOURCE: https://github.com/acacode/swagger-typescript-api ##
|
|
335
|
+
* ---------------------------------------------------------------
|
|
336
|
+
*/
|
|
337
|
+
|
|
338
|
+
class $602ca224f9f0d551$export$870daabe3177f90 {
|
|
339
|
+
constructor(apiClient){
|
|
340
|
+
this.apiClient = apiClient;
|
|
341
|
+
(0, $lBhIu$autobind)(this);
|
|
342
|
+
}
|
|
343
|
+
/**
|
|
344
|
+
* @description get company profile, industries classification and closest earning release
|
|
345
|
+
* @tags CompanyProfile
|
|
346
|
+
* @name GetCompanyProfile
|
|
347
|
+
* @summary get company profile
|
|
348
|
+
* @request GET:/company-profile
|
|
349
|
+
* @secure
|
|
350
|
+
*/ getCompanyProfile(query, config) {
|
|
351
|
+
return this.apiClient.request({
|
|
352
|
+
...config,
|
|
353
|
+
url: `v1/company-profile`,
|
|
354
|
+
method: 'GET',
|
|
355
|
+
params: query,
|
|
356
|
+
secure: true,
|
|
357
|
+
contentType: (0, $e176194f300187e4$export$e2e108cbe2e4f865).Json,
|
|
358
|
+
responseType: 'json'
|
|
359
|
+
});
|
|
360
|
+
}
|
|
361
|
+
/**
|
|
362
|
+
* @description get combined profile, equities and funds
|
|
363
|
+
* @tags CompanyProfile
|
|
364
|
+
* @name GetCombinedProfile
|
|
365
|
+
* @summary get company profile
|
|
366
|
+
* @request GET:/quote-profile
|
|
367
|
+
* @secure
|
|
368
|
+
*/ getCombinedProfile(query, config) {
|
|
369
|
+
return this.apiClient.request({
|
|
370
|
+
...config,
|
|
371
|
+
url: `v1/quote-profile`,
|
|
372
|
+
method: 'GET',
|
|
373
|
+
params: query,
|
|
374
|
+
secure: true,
|
|
375
|
+
contentType: (0, $e176194f300187e4$export$e2e108cbe2e4f865).Json,
|
|
376
|
+
responseType: 'json'
|
|
377
|
+
});
|
|
378
|
+
}
|
|
379
|
+
/**
|
|
380
|
+
* @description sort input array of symbols by type
|
|
381
|
+
* @tags CompanyProfile
|
|
382
|
+
* @name GetSymbolsPerSymbolType
|
|
383
|
+
* @summary sort input array of symbols by type
|
|
384
|
+
* @request POST:/symbols-per-type
|
|
385
|
+
* @secure
|
|
386
|
+
*/ getSymbolsPerSymbolType(input, config) {
|
|
387
|
+
return this.apiClient.request({
|
|
388
|
+
...config,
|
|
389
|
+
url: `v1/symbols-per-type`,
|
|
390
|
+
method: 'POST',
|
|
391
|
+
data: input,
|
|
392
|
+
secure: true,
|
|
393
|
+
contentType: (0, $e176194f300187e4$export$e2e108cbe2e4f865).Json,
|
|
394
|
+
responseType: 'json'
|
|
395
|
+
});
|
|
396
|
+
}
|
|
397
|
+
}
|
|
398
|
+
|
|
399
|
+
|
|
400
|
+
var $7ebb2682d8f0e3a6$exports = {};
|
|
401
|
+
|
|
402
|
+
$parcel$export($7ebb2682d8f0e3a6$exports, "CustomLists", () => $7ebb2682d8f0e3a6$export$4711ab95d8152721);
|
|
403
|
+
/* eslint-disable */ /* tslint:disable */ /*
|
|
404
|
+
* ---------------------------------------------------------------
|
|
405
|
+
* ## THIS FILE WAS GENERATED VIA SWAGGER-TYPESCRIPT-API ##
|
|
406
|
+
* ## ##
|
|
407
|
+
* ## AUTHOR: acacode ##
|
|
408
|
+
* ## SOURCE: https://github.com/acacode/swagger-typescript-api ##
|
|
409
|
+
* ---------------------------------------------------------------
|
|
410
|
+
*/
|
|
411
|
+
|
|
412
|
+
class $7ebb2682d8f0e3a6$export$4711ab95d8152721 {
|
|
413
|
+
constructor(apiClient){
|
|
414
|
+
this.apiClient = apiClient;
|
|
415
|
+
(0, $lBhIu$autobind)(this);
|
|
416
|
+
}
|
|
417
|
+
/**
|
|
418
|
+
* @description get custom lists
|
|
419
|
+
* @tags Custom Lists
|
|
420
|
+
* @name GetCustomLists
|
|
421
|
+
* @summary get custom lists
|
|
422
|
+
* @request GET:/custom-lists
|
|
423
|
+
* @secure
|
|
424
|
+
*/ getCustomLists(query, config) {
|
|
425
|
+
return this.apiClient.request({
|
|
426
|
+
...config,
|
|
427
|
+
url: `v1/custom-lists`,
|
|
428
|
+
method: 'GET',
|
|
429
|
+
params: query,
|
|
430
|
+
secure: true,
|
|
431
|
+
contentType: (0, $e176194f300187e4$export$e2e108cbe2e4f865).Json,
|
|
432
|
+
responseType: 'json'
|
|
433
|
+
});
|
|
434
|
+
}
|
|
435
|
+
/**
|
|
436
|
+
* @description update custom list
|
|
437
|
+
* @tags Custom Lists
|
|
438
|
+
* @name UpdateCustomList
|
|
439
|
+
* @summary update custom list
|
|
440
|
+
* @request PUT:/custom-lists
|
|
441
|
+
* @secure
|
|
442
|
+
*/ updateCustomList(filter, config) {
|
|
443
|
+
return this.apiClient.request({
|
|
444
|
+
...config,
|
|
445
|
+
url: `v1/custom-lists`,
|
|
446
|
+
method: 'PUT',
|
|
447
|
+
data: filter,
|
|
448
|
+
secure: true,
|
|
449
|
+
contentType: (0, $e176194f300187e4$export$e2e108cbe2e4f865).Json,
|
|
450
|
+
responseType: 'json'
|
|
451
|
+
});
|
|
452
|
+
}
|
|
453
|
+
/**
|
|
454
|
+
* @description create custom list
|
|
455
|
+
* @tags Custom Lists
|
|
456
|
+
* @name CreateCustomList
|
|
457
|
+
* @summary create custom list
|
|
458
|
+
* @request POST:/custom-lists
|
|
459
|
+
* @secure
|
|
460
|
+
*/ createCustomList(filter, config) {
|
|
461
|
+
return this.apiClient.request({
|
|
462
|
+
...config,
|
|
463
|
+
url: `v1/custom-lists`,
|
|
464
|
+
method: 'POST',
|
|
465
|
+
data: filter,
|
|
466
|
+
secure: true,
|
|
467
|
+
contentType: (0, $e176194f300187e4$export$e2e108cbe2e4f865).Json,
|
|
468
|
+
responseType: 'json'
|
|
469
|
+
});
|
|
470
|
+
}
|
|
471
|
+
/**
|
|
472
|
+
* @description remove custom list
|
|
473
|
+
* @tags Custom Lists
|
|
474
|
+
* @name RemoveCustomList
|
|
475
|
+
* @summary remove custom list
|
|
476
|
+
* @request DELETE:/custom-lists
|
|
477
|
+
* @secure
|
|
478
|
+
*/ removeCustomList(filter, config) {
|
|
479
|
+
return this.apiClient.request({
|
|
480
|
+
...config,
|
|
481
|
+
url: `v1/custom-lists`,
|
|
482
|
+
method: 'DELETE',
|
|
483
|
+
data: filter,
|
|
484
|
+
secure: true,
|
|
485
|
+
contentType: (0, $e176194f300187e4$export$e2e108cbe2e4f865).Json
|
|
486
|
+
});
|
|
487
|
+
}
|
|
488
|
+
/**
|
|
489
|
+
* @description get custom list
|
|
490
|
+
* @tags Custom Lists
|
|
491
|
+
* @name GetCustomList
|
|
492
|
+
* @summary get custom list
|
|
493
|
+
* @request GET:/custom-lists/:id
|
|
494
|
+
* @secure
|
|
495
|
+
*/ getCustomList(id, query, config) {
|
|
496
|
+
return this.apiClient.request({
|
|
497
|
+
...config,
|
|
498
|
+
url: `v1/custom-lists/${id}`,
|
|
499
|
+
method: 'GET',
|
|
500
|
+
params: query,
|
|
501
|
+
secure: true,
|
|
502
|
+
contentType: (0, $e176194f300187e4$export$e2e108cbe2e4f865).Json,
|
|
503
|
+
responseType: 'json'
|
|
504
|
+
});
|
|
505
|
+
}
|
|
506
|
+
}
|
|
507
|
+
|
|
508
|
+
|
|
509
|
+
var $6f6df5eb0e6fe916$exports = {};
|
|
510
|
+
|
|
511
|
+
$parcel$export($6f6df5eb0e6fe916$exports, "Dashboard", () => $6f6df5eb0e6fe916$export$fe82a520fc33e5f4);
|
|
512
|
+
/* eslint-disable */ /* tslint:disable */ /*
|
|
513
|
+
* ---------------------------------------------------------------
|
|
514
|
+
* ## THIS FILE WAS GENERATED VIA SWAGGER-TYPESCRIPT-API ##
|
|
515
|
+
* ## ##
|
|
516
|
+
* ## AUTHOR: acacode ##
|
|
517
|
+
* ## SOURCE: https://github.com/acacode/swagger-typescript-api ##
|
|
518
|
+
* ---------------------------------------------------------------
|
|
519
|
+
*/
|
|
520
|
+
|
|
521
|
+
class $6f6df5eb0e6fe916$export$fe82a520fc33e5f4 {
|
|
522
|
+
constructor(apiClient){
|
|
523
|
+
this.apiClient = apiClient;
|
|
524
|
+
(0, $lBhIu$autobind)(this);
|
|
525
|
+
}
|
|
526
|
+
/**
|
|
527
|
+
* @description get ownerships by symbol
|
|
528
|
+
* @tags Dashboard
|
|
529
|
+
* @name DashboardGetOwnershipsBySymbol
|
|
530
|
+
* @summary get ownerships by symbol
|
|
531
|
+
* @request POST:/dashboard/ownerships
|
|
532
|
+
* @secure
|
|
533
|
+
*/ dashboardGetOwnershipsBySymbol(filter, config) {
|
|
534
|
+
return this.apiClient.request({
|
|
535
|
+
...config,
|
|
536
|
+
url: `v1/dashboard/ownerships`,
|
|
537
|
+
method: 'POST',
|
|
538
|
+
data: filter,
|
|
539
|
+
secure: true,
|
|
540
|
+
contentType: (0, $e176194f300187e4$export$e2e108cbe2e4f865).Json,
|
|
541
|
+
responseType: 'json'
|
|
542
|
+
});
|
|
543
|
+
}
|
|
544
|
+
/**
|
|
545
|
+
* @description rewrite field value
|
|
546
|
+
* @tags Dashboard
|
|
547
|
+
* @name RewriteFieldValue
|
|
548
|
+
* @summary rewrite field value
|
|
549
|
+
* @request POST:/rewrite-field
|
|
550
|
+
* @secure
|
|
551
|
+
*/ rewriteFieldValue(input, config) {
|
|
552
|
+
return this.apiClient.request({
|
|
553
|
+
...config,
|
|
554
|
+
url: `v1/rewrite-field`,
|
|
555
|
+
method: 'POST',
|
|
556
|
+
data: input,
|
|
557
|
+
secure: true,
|
|
558
|
+
contentType: (0, $e176194f300187e4$export$e2e108cbe2e4f865).Json
|
|
559
|
+
});
|
|
560
|
+
}
|
|
561
|
+
/**
|
|
562
|
+
* @description remove rewritten value
|
|
563
|
+
* @tags Dashboard
|
|
564
|
+
* @name CreateRewriteField
|
|
565
|
+
* @summary remove rewritten value
|
|
566
|
+
* @request DELETE:/rewrite-field
|
|
567
|
+
* @secure
|
|
568
|
+
*/ createRewriteField(input, config) {
|
|
569
|
+
return this.apiClient.request({
|
|
570
|
+
...config,
|
|
571
|
+
url: `v1/rewrite-field`,
|
|
572
|
+
method: 'DELETE',
|
|
573
|
+
data: input,
|
|
574
|
+
secure: true,
|
|
575
|
+
contentType: (0, $e176194f300187e4$export$e2e108cbe2e4f865).Json
|
|
576
|
+
});
|
|
577
|
+
}
|
|
578
|
+
/**
|
|
579
|
+
* @description Get rewritten field action log
|
|
580
|
+
* @tags Dashboard
|
|
581
|
+
* @name GetRewrittenFieldActionLog
|
|
582
|
+
* @summary get rewritten field action log
|
|
583
|
+
* @request GET:/rewritten-field-action-log
|
|
584
|
+
* @secure
|
|
585
|
+
*/ getRewrittenFieldActionLog(query, config) {
|
|
586
|
+
return this.apiClient.request({
|
|
587
|
+
...config,
|
|
588
|
+
url: `v1/rewritten-field-action-log`,
|
|
589
|
+
method: 'GET',
|
|
590
|
+
params: query,
|
|
591
|
+
secure: true,
|
|
592
|
+
contentType: (0, $e176194f300187e4$export$e2e108cbe2e4f865).Json
|
|
593
|
+
});
|
|
594
|
+
}
|
|
595
|
+
/**
|
|
596
|
+
* @description Get rewritten values
|
|
597
|
+
* @tags Dashboard
|
|
598
|
+
* @name GetRewrittenValues
|
|
599
|
+
* @summary get rewritten values
|
|
600
|
+
* @request GET:/rewritten-fields
|
|
601
|
+
* @secure
|
|
602
|
+
*/ getRewrittenValues(query, config) {
|
|
603
|
+
return this.apiClient.request({
|
|
604
|
+
...config,
|
|
605
|
+
url: `v1/rewritten-fields`,
|
|
606
|
+
method: 'GET',
|
|
607
|
+
params: query,
|
|
608
|
+
secure: true,
|
|
609
|
+
contentType: (0, $e176194f300187e4$export$e2e108cbe2e4f865).Json
|
|
610
|
+
});
|
|
611
|
+
}
|
|
612
|
+
/**
|
|
613
|
+
* @description get symbol-related fields
|
|
614
|
+
* @tags Dashboard
|
|
615
|
+
* @name GetSymbolRelatedFields
|
|
616
|
+
* @summary get symbol-related fields
|
|
617
|
+
* @request GET:/symbol-related-fields
|
|
618
|
+
* @secure
|
|
619
|
+
*/ getSymbolRelatedFields(query, config) {
|
|
620
|
+
return this.apiClient.request({
|
|
621
|
+
...config,
|
|
622
|
+
url: `v1/symbol-related-fields`,
|
|
623
|
+
method: 'GET',
|
|
624
|
+
params: query,
|
|
625
|
+
secure: true,
|
|
626
|
+
contentType: (0, $e176194f300187e4$export$e2e108cbe2e4f865).Json,
|
|
627
|
+
responseType: 'json'
|
|
628
|
+
});
|
|
629
|
+
}
|
|
630
|
+
}
|
|
631
|
+
|
|
632
|
+
|
|
633
|
+
var $a5b0067a0b76bfa5$exports = {};
|
|
634
|
+
|
|
635
|
+
$parcel$export($a5b0067a0b76bfa5$exports, "Earnings", () => $a5b0067a0b76bfa5$export$372bd802248574f6);
|
|
636
|
+
/* eslint-disable */ /* tslint:disable */ /*
|
|
637
|
+
* ---------------------------------------------------------------
|
|
638
|
+
* ## THIS FILE WAS GENERATED VIA SWAGGER-TYPESCRIPT-API ##
|
|
639
|
+
* ## ##
|
|
640
|
+
* ## AUTHOR: acacode ##
|
|
641
|
+
* ## SOURCE: https://github.com/acacode/swagger-typescript-api ##
|
|
642
|
+
* ---------------------------------------------------------------
|
|
643
|
+
*/
|
|
644
|
+
|
|
645
|
+
class $a5b0067a0b76bfa5$export$372bd802248574f6 {
|
|
646
|
+
constructor(apiClient){
|
|
647
|
+
this.apiClient = apiClient;
|
|
648
|
+
(0, $lBhIu$autobind)(this);
|
|
649
|
+
}
|
|
650
|
+
/**
|
|
651
|
+
* @description get earnings release dates for symbols
|
|
652
|
+
* @tags Earnings
|
|
653
|
+
* @name GetEarningsCalendar
|
|
654
|
+
* @summary get earnings calendar data
|
|
655
|
+
* @request POST:/earnings-calendar
|
|
656
|
+
* @secure
|
|
657
|
+
*/ getEarningsCalendar(filter, config) {
|
|
658
|
+
return this.apiClient.request({
|
|
659
|
+
...config,
|
|
660
|
+
url: `v1/earnings-calendar`,
|
|
661
|
+
method: 'POST',
|
|
662
|
+
data: filter,
|
|
663
|
+
secure: true,
|
|
664
|
+
contentType: (0, $e176194f300187e4$export$e2e108cbe2e4f865).Json,
|
|
665
|
+
responseType: 'json'
|
|
666
|
+
});
|
|
667
|
+
}
|
|
668
|
+
}
|
|
669
|
+
|
|
670
|
+
|
|
671
|
+
var $54d55bd90e96814a$exports = {};
|
|
672
|
+
|
|
673
|
+
$parcel$export($54d55bd90e96814a$exports, "FixedIncome", () => $54d55bd90e96814a$export$f5b6431bc66f10e7);
|
|
674
|
+
/* eslint-disable */ /* tslint:disable */ /*
|
|
675
|
+
* ---------------------------------------------------------------
|
|
676
|
+
* ## THIS FILE WAS GENERATED VIA SWAGGER-TYPESCRIPT-API ##
|
|
677
|
+
* ## ##
|
|
678
|
+
* ## AUTHOR: acacode ##
|
|
679
|
+
* ## SOURCE: https://github.com/acacode/swagger-typescript-api ##
|
|
680
|
+
* ---------------------------------------------------------------
|
|
681
|
+
*/
|
|
682
|
+
|
|
683
|
+
class $54d55bd90e96814a$export$f5b6431bc66f10e7 {
|
|
684
|
+
constructor(apiClient){
|
|
685
|
+
this.apiClient = apiClient;
|
|
686
|
+
(0, $lBhIu$autobind)(this);
|
|
687
|
+
}
|
|
688
|
+
/**
|
|
689
|
+
* @description get fixed income entries
|
|
690
|
+
* @tags FixedIncome
|
|
691
|
+
* @name GetFixedIncomeEntries
|
|
692
|
+
* @summary get fixed income entries
|
|
693
|
+
* @request POST:/fixed-income
|
|
694
|
+
* @secure
|
|
695
|
+
*/ getFixedIncomeEntries(filter, config) {
|
|
696
|
+
return this.apiClient.request({
|
|
697
|
+
...config,
|
|
698
|
+
url: `v1/fixed-income`,
|
|
699
|
+
method: 'POST',
|
|
700
|
+
data: filter,
|
|
701
|
+
secure: true,
|
|
702
|
+
contentType: (0, $e176194f300187e4$export$e2e108cbe2e4f865).Json,
|
|
703
|
+
responseType: 'json'
|
|
704
|
+
});
|
|
705
|
+
}
|
|
706
|
+
/**
|
|
707
|
+
* @description Returns historical fixed income
|
|
708
|
+
* @tags FixedIncome
|
|
709
|
+
* @name FixedIncomeHistorical
|
|
710
|
+
* @summary Get historical fixed income
|
|
711
|
+
* @request POST:/fixed-income/historical
|
|
712
|
+
* @secure
|
|
713
|
+
*/ fixedIncomeHistorical(filter, config) {
|
|
714
|
+
return this.apiClient.request({
|
|
715
|
+
...config,
|
|
716
|
+
url: `v1/fixed-income/historical`,
|
|
717
|
+
method: 'POST',
|
|
718
|
+
data: filter,
|
|
719
|
+
secure: true,
|
|
720
|
+
contentType: (0, $e176194f300187e4$export$e2e108cbe2e4f865).Json,
|
|
721
|
+
responseType: 'json'
|
|
722
|
+
});
|
|
723
|
+
}
|
|
724
|
+
/**
|
|
725
|
+
* @description get fixed-income presets
|
|
726
|
+
* @tags FixedIncome
|
|
727
|
+
* @name GetFixedIncomePresets
|
|
728
|
+
* @summary get fixed-income presets
|
|
729
|
+
* @request GET:/fixed-income/presets
|
|
730
|
+
* @secure
|
|
731
|
+
*/ getFixedIncomePresets(query, config) {
|
|
732
|
+
return this.apiClient.request({
|
|
733
|
+
...config,
|
|
734
|
+
url: `v1/fixed-income/presets`,
|
|
735
|
+
method: 'GET',
|
|
736
|
+
params: query,
|
|
737
|
+
secure: true,
|
|
738
|
+
contentType: (0, $e176194f300187e4$export$e2e108cbe2e4f865).Json,
|
|
739
|
+
responseType: 'json'
|
|
740
|
+
});
|
|
741
|
+
}
|
|
742
|
+
/**
|
|
743
|
+
* @description update fixed-income preset
|
|
744
|
+
* @tags FixedIncome
|
|
745
|
+
* @name UpdateFixedIncomePreset
|
|
746
|
+
* @summary update fixed-income preset
|
|
747
|
+
* @request PUT:/fixed-income/presets
|
|
748
|
+
* @secure
|
|
749
|
+
*/ updateFixedIncomePreset(input, config) {
|
|
750
|
+
return this.apiClient.request({
|
|
751
|
+
...config,
|
|
752
|
+
url: `v1/fixed-income/presets`,
|
|
753
|
+
method: 'PUT',
|
|
754
|
+
data: input,
|
|
755
|
+
secure: true,
|
|
756
|
+
contentType: (0, $e176194f300187e4$export$e2e108cbe2e4f865).Json,
|
|
757
|
+
responseType: 'json'
|
|
758
|
+
});
|
|
759
|
+
}
|
|
760
|
+
/**
|
|
761
|
+
* @description create fixed-income preset
|
|
762
|
+
* @tags FixedIncome
|
|
763
|
+
* @name CreateOrFixedIncomePreset
|
|
764
|
+
* @summary create fixed-income preset
|
|
765
|
+
* @request POST:/fixed-income/presets
|
|
766
|
+
* @secure
|
|
767
|
+
*/ createOrFixedIncomePreset(input, config) {
|
|
768
|
+
return this.apiClient.request({
|
|
769
|
+
...config,
|
|
770
|
+
url: `v1/fixed-income/presets`,
|
|
771
|
+
method: 'POST',
|
|
772
|
+
data: input,
|
|
773
|
+
secure: true,
|
|
774
|
+
contentType: (0, $e176194f300187e4$export$e2e108cbe2e4f865).Json,
|
|
775
|
+
responseType: 'json'
|
|
776
|
+
});
|
|
777
|
+
}
|
|
778
|
+
/**
|
|
779
|
+
* @description remove fixed-income preset
|
|
780
|
+
* @tags FixedIncome
|
|
781
|
+
* @name RemoveFixedIncomePreset
|
|
782
|
+
* @summary remove fixed-income preset
|
|
783
|
+
* @request DELETE:/fixed-income/presets
|
|
784
|
+
* @secure
|
|
785
|
+
*/ removeFixedIncomePreset(input, config) {
|
|
786
|
+
return this.apiClient.request({
|
|
787
|
+
...config,
|
|
788
|
+
url: `v1/fixed-income/presets`,
|
|
789
|
+
method: 'DELETE',
|
|
790
|
+
data: input,
|
|
791
|
+
secure: true,
|
|
792
|
+
contentType: (0, $e176194f300187e4$export$e2e108cbe2e4f865).Json
|
|
793
|
+
});
|
|
794
|
+
}
|
|
795
|
+
/**
|
|
796
|
+
* @description get single fixed income entry
|
|
797
|
+
* @tags FixedIncome
|
|
798
|
+
* @name GetSingleFixedIncomeEntry
|
|
799
|
+
* @summary get single fixed income entry
|
|
800
|
+
* @request GET:/fixed-income/{id}
|
|
801
|
+
* @secure
|
|
802
|
+
*/ getSingleFixedIncomeEntry(id, config) {
|
|
803
|
+
return this.apiClient.request({
|
|
804
|
+
...config,
|
|
805
|
+
url: `v1/fixed-income/${id}`,
|
|
806
|
+
method: 'GET',
|
|
807
|
+
secure: true,
|
|
808
|
+
contentType: (0, $e176194f300187e4$export$e2e108cbe2e4f865).Json,
|
|
809
|
+
responseType: 'json'
|
|
810
|
+
});
|
|
811
|
+
}
|
|
812
|
+
}
|
|
813
|
+
|
|
814
|
+
|
|
815
|
+
var $91357b0ded5a4b7d$exports = {};
|
|
816
|
+
|
|
817
|
+
$parcel$export($91357b0ded5a4b7d$exports, "FixedIncomeV2", () => $91357b0ded5a4b7d$export$26ad2b03ad4e4241);
|
|
818
|
+
/* eslint-disable */ /* tslint:disable */ /*
|
|
819
|
+
* ---------------------------------------------------------------
|
|
820
|
+
* ## THIS FILE WAS GENERATED VIA SWAGGER-TYPESCRIPT-API ##
|
|
821
|
+
* ## ##
|
|
822
|
+
* ## AUTHOR: acacode ##
|
|
823
|
+
* ## SOURCE: https://github.com/acacode/swagger-typescript-api ##
|
|
824
|
+
* ---------------------------------------------------------------
|
|
825
|
+
*/
|
|
826
|
+
|
|
827
|
+
class $91357b0ded5a4b7d$export$26ad2b03ad4e4241 {
|
|
828
|
+
constructor(apiClient){
|
|
829
|
+
this.apiClient = apiClient;
|
|
830
|
+
(0, $lBhIu$autobind)(this);
|
|
831
|
+
}
|
|
832
|
+
/**
|
|
833
|
+
* @description get fixed income entries
|
|
834
|
+
* @tags FixedIncome
|
|
835
|
+
* @name GetFixedIncomeEntries
|
|
836
|
+
* @summary get fixed income entries
|
|
837
|
+
* @request POST:/fixed-income
|
|
838
|
+
* @secure
|
|
839
|
+
*/ getFixedIncomeEntries(filter, config) {
|
|
840
|
+
return this.apiClient.request({
|
|
841
|
+
...config,
|
|
842
|
+
url: `v2/fixed-income`,
|
|
843
|
+
method: 'POST',
|
|
844
|
+
data: filter,
|
|
845
|
+
secure: true,
|
|
846
|
+
contentType: (0, $e176194f300187e4$export$e2e108cbe2e4f865).Json,
|
|
847
|
+
responseType: 'json'
|
|
848
|
+
});
|
|
849
|
+
}
|
|
850
|
+
}
|
|
851
|
+
|
|
852
|
+
|
|
853
|
+
var $02349c0bb21bcc16$exports = {};
|
|
854
|
+
|
|
855
|
+
$parcel$export($02349c0bb21bcc16$exports, "Fundamentals", () => $02349c0bb21bcc16$export$e19ec630f53d792c);
|
|
856
|
+
/* eslint-disable */ /* tslint:disable */ /*
|
|
857
|
+
* ---------------------------------------------------------------
|
|
858
|
+
* ## THIS FILE WAS GENERATED VIA SWAGGER-TYPESCRIPT-API ##
|
|
859
|
+
* ## ##
|
|
860
|
+
* ## AUTHOR: acacode ##
|
|
861
|
+
* ## SOURCE: https://github.com/acacode/swagger-typescript-api ##
|
|
862
|
+
* ---------------------------------------------------------------
|
|
863
|
+
*/
|
|
864
|
+
|
|
865
|
+
class $02349c0bb21bcc16$export$e19ec630f53d792c {
|
|
866
|
+
constructor(apiClient){
|
|
867
|
+
this.apiClient = apiClient;
|
|
868
|
+
(0, $lBhIu$autobind)(this);
|
|
869
|
+
}
|
|
870
|
+
/**
|
|
871
|
+
* @description get fundamentals by symbol data
|
|
872
|
+
* @tags Fundamentals
|
|
873
|
+
* @name GetFundamentalsBySymbolData
|
|
874
|
+
* @summary get fundamentals by symbol data
|
|
875
|
+
* @request POST:/fundamentals
|
|
876
|
+
* @secure
|
|
877
|
+
*/ getFundamentalsBySymbolData(filter, config) {
|
|
878
|
+
return this.apiClient.request({
|
|
879
|
+
...config,
|
|
880
|
+
url: `v1/fundamentals`,
|
|
881
|
+
method: 'POST',
|
|
882
|
+
data: filter,
|
|
883
|
+
secure: true,
|
|
884
|
+
contentType: (0, $e176194f300187e4$export$e2e108cbe2e4f865).Json,
|
|
885
|
+
responseType: 'json'
|
|
886
|
+
});
|
|
887
|
+
}
|
|
888
|
+
}
|
|
889
|
+
|
|
890
|
+
|
|
891
|
+
var $a22581188a2a4d95$exports = {};
|
|
892
|
+
|
|
893
|
+
$parcel$export($a22581188a2a4d95$exports, "Funds", () => $a22581188a2a4d95$export$716c3a3abe6bd3e5);
|
|
894
|
+
/* eslint-disable */ /* tslint:disable */ /*
|
|
895
|
+
* ---------------------------------------------------------------
|
|
896
|
+
* ## THIS FILE WAS GENERATED VIA SWAGGER-TYPESCRIPT-API ##
|
|
897
|
+
* ## ##
|
|
898
|
+
* ## AUTHOR: acacode ##
|
|
899
|
+
* ## SOURCE: https://github.com/acacode/swagger-typescript-api ##
|
|
900
|
+
* ---------------------------------------------------------------
|
|
901
|
+
*/
|
|
902
|
+
|
|
903
|
+
class $a22581188a2a4d95$export$716c3a3abe6bd3e5 {
|
|
904
|
+
constructor(apiClient){
|
|
905
|
+
this.apiClient = apiClient;
|
|
906
|
+
(0, $lBhIu$autobind)(this);
|
|
907
|
+
}
|
|
908
|
+
/**
|
|
909
|
+
* @description get fund details
|
|
910
|
+
* @tags Funds
|
|
911
|
+
* @name GetFundDetails
|
|
912
|
+
* @summary get fund details
|
|
913
|
+
* @request GET:/funds/details
|
|
914
|
+
* @secure
|
|
915
|
+
*/ getFundDetails(query, config) {
|
|
916
|
+
return this.apiClient.request({
|
|
917
|
+
...config,
|
|
918
|
+
url: `v1/funds/details`,
|
|
919
|
+
method: 'GET',
|
|
920
|
+
params: query,
|
|
921
|
+
secure: true,
|
|
922
|
+
contentType: (0, $e176194f300187e4$export$e2e108cbe2e4f865).Json,
|
|
923
|
+
responseType: 'json'
|
|
924
|
+
});
|
|
925
|
+
}
|
|
926
|
+
/**
|
|
927
|
+
* @description get funds for holding
|
|
928
|
+
* @tags Funds
|
|
929
|
+
* @name GetFundsForHolding
|
|
930
|
+
* @summary get funds for holding
|
|
931
|
+
* @request POST:/funds/funds-for-holding
|
|
932
|
+
* @secure
|
|
933
|
+
*/ getFundsForHolding(filter, headers, config) {
|
|
934
|
+
return this.apiClient.request({
|
|
935
|
+
...config,
|
|
936
|
+
url: `v1/funds/funds-for-holding`,
|
|
937
|
+
method: 'POST',
|
|
938
|
+
data: filter,
|
|
939
|
+
secure: true,
|
|
940
|
+
headers: headers,
|
|
941
|
+
contentType: (0, $e176194f300187e4$export$e2e108cbe2e4f865).Json,
|
|
942
|
+
responseType: 'json'
|
|
943
|
+
});
|
|
944
|
+
}
|
|
945
|
+
/**
|
|
946
|
+
* @description filter funds by params
|
|
947
|
+
* @tags Funds
|
|
948
|
+
* @name FundScreener
|
|
949
|
+
* @summary filter funds by params
|
|
950
|
+
* @request POST:/funds/screener
|
|
951
|
+
* @secure
|
|
952
|
+
*/ fundScreener(filter, headers, config) {
|
|
953
|
+
return this.apiClient.request({
|
|
954
|
+
...config,
|
|
955
|
+
url: `v1/funds/screener`,
|
|
956
|
+
method: 'POST',
|
|
957
|
+
data: filter,
|
|
958
|
+
secure: true,
|
|
959
|
+
headers: headers,
|
|
960
|
+
contentType: (0, $e176194f300187e4$export$e2e108cbe2e4f865).Json,
|
|
961
|
+
responseType: 'json'
|
|
962
|
+
});
|
|
963
|
+
}
|
|
964
|
+
/**
|
|
965
|
+
* @description get fund screener filters
|
|
966
|
+
* @tags Funds
|
|
967
|
+
* @name GetScreenerFilters
|
|
968
|
+
* @summary get fund screener filters
|
|
969
|
+
* @request GET:/funds/screener/filters
|
|
970
|
+
* @secure
|
|
971
|
+
*/ getScreenerFilters(config) {
|
|
972
|
+
return this.apiClient.request({
|
|
973
|
+
...config,
|
|
974
|
+
url: `v1/funds/screener/filters`,
|
|
975
|
+
method: 'GET',
|
|
976
|
+
secure: true,
|
|
977
|
+
contentType: (0, $e176194f300187e4$export$e2e108cbe2e4f865).Json,
|
|
978
|
+
responseType: 'json'
|
|
979
|
+
});
|
|
980
|
+
}
|
|
981
|
+
/**
|
|
982
|
+
* @description filter funds by params
|
|
983
|
+
* @tags Funds
|
|
984
|
+
* @name FundSectorScreener
|
|
985
|
+
* @summary filter funds by params
|
|
986
|
+
* @request POST:/funds/sector-screener
|
|
987
|
+
* @secure
|
|
988
|
+
*/ fundSectorScreener(filter, headers, config) {
|
|
989
|
+
return this.apiClient.request({
|
|
990
|
+
...config,
|
|
991
|
+
url: `v1/funds/sector-screener`,
|
|
992
|
+
method: 'POST',
|
|
993
|
+
data: filter,
|
|
994
|
+
secure: true,
|
|
995
|
+
headers: headers,
|
|
996
|
+
contentType: (0, $e176194f300187e4$export$e2e108cbe2e4f865).Json,
|
|
997
|
+
responseType: 'json'
|
|
998
|
+
});
|
|
999
|
+
}
|
|
1000
|
+
/**
|
|
1001
|
+
* @description get top funds
|
|
1002
|
+
* @tags Funds
|
|
1003
|
+
* @name GetTopFunds
|
|
1004
|
+
* @summary get top funds
|
|
1005
|
+
* @request POST:/funds/top
|
|
1006
|
+
* @secure
|
|
1007
|
+
*/ getTopFunds(filter, headers, config) {
|
|
1008
|
+
return this.apiClient.request({
|
|
1009
|
+
...config,
|
|
1010
|
+
url: `v1/funds/top`,
|
|
1011
|
+
method: 'POST',
|
|
1012
|
+
data: filter,
|
|
1013
|
+
secure: true,
|
|
1014
|
+
headers: headers,
|
|
1015
|
+
contentType: (0, $e176194f300187e4$export$e2e108cbe2e4f865).Json,
|
|
1016
|
+
responseType: 'json'
|
|
1017
|
+
});
|
|
1018
|
+
}
|
|
1019
|
+
}
|
|
1020
|
+
|
|
1021
|
+
|
|
1022
|
+
var $726b9c3f9fc37844$exports = {};
|
|
1023
|
+
|
|
1024
|
+
$parcel$export($726b9c3f9fc37844$exports, "Intraday", () => $726b9c3f9fc37844$export$86595f7720464bda);
|
|
1025
|
+
/* eslint-disable */ /* tslint:disable */ /*
|
|
1026
|
+
* ---------------------------------------------------------------
|
|
1027
|
+
* ## THIS FILE WAS GENERATED VIA SWAGGER-TYPESCRIPT-API ##
|
|
1028
|
+
* ## ##
|
|
1029
|
+
* ## AUTHOR: acacode ##
|
|
1030
|
+
* ## SOURCE: https://github.com/acacode/swagger-typescript-api ##
|
|
1031
|
+
* ---------------------------------------------------------------
|
|
1032
|
+
*/
|
|
1033
|
+
|
|
1034
|
+
class $726b9c3f9fc37844$export$86595f7720464bda {
|
|
1035
|
+
constructor(apiClient){
|
|
1036
|
+
this.apiClient = apiClient;
|
|
1037
|
+
(0, $lBhIu$autobind)(this);
|
|
1038
|
+
}
|
|
1039
|
+
/**
|
|
1040
|
+
* @description Returns an array of intraday chart data values for the given ticker.
|
|
1041
|
+
* @tags Intraday
|
|
1042
|
+
* @name IntradayQuotes
|
|
1043
|
+
* @summary Get an array of intraday chart data values for the given ticker
|
|
1044
|
+
* @request POST:/intraday/quotes
|
|
1045
|
+
* @secure
|
|
1046
|
+
*/ intradayQuotes(filter, config) {
|
|
1047
|
+
return this.apiClient.request({
|
|
1048
|
+
...config,
|
|
1049
|
+
url: `v1/intraday/quotes`,
|
|
1050
|
+
method: 'POST',
|
|
1051
|
+
data: filter,
|
|
1052
|
+
secure: true,
|
|
1053
|
+
contentType: (0, $e176194f300187e4$export$e2e108cbe2e4f865).Json,
|
|
1054
|
+
responseType: 'json'
|
|
1055
|
+
});
|
|
1056
|
+
}
|
|
1057
|
+
}
|
|
1058
|
+
|
|
1059
|
+
|
|
1060
|
+
var $47a8098f07a15542$exports = {};
|
|
1061
|
+
|
|
1062
|
+
$parcel$export($47a8098f07a15542$exports, "Ipos", () => $47a8098f07a15542$export$2348bbd1c1985d71);
|
|
1063
|
+
/* eslint-disable */ /* tslint:disable */ /*
|
|
1064
|
+
* ---------------------------------------------------------------
|
|
1065
|
+
* ## THIS FILE WAS GENERATED VIA SWAGGER-TYPESCRIPT-API ##
|
|
1066
|
+
* ## ##
|
|
1067
|
+
* ## AUTHOR: acacode ##
|
|
1068
|
+
* ## SOURCE: https://github.com/acacode/swagger-typescript-api ##
|
|
1069
|
+
* ---------------------------------------------------------------
|
|
1070
|
+
*/
|
|
1071
|
+
|
|
1072
|
+
class $47a8098f07a15542$export$2348bbd1c1985d71 {
|
|
1073
|
+
constructor(apiClient){
|
|
1074
|
+
this.apiClient = apiClient;
|
|
1075
|
+
(0, $lBhIu$autobind)(this);
|
|
1076
|
+
}
|
|
1077
|
+
/**
|
|
1078
|
+
* @description get recent ipos info
|
|
1079
|
+
* @tags Ipos
|
|
1080
|
+
* @name PostRecent
|
|
1081
|
+
* @summary get recent ipos info
|
|
1082
|
+
* @request POST:/ipos/recent
|
|
1083
|
+
* @secure
|
|
1084
|
+
*/ postRecent(recentIPODto, config) {
|
|
1085
|
+
return this.apiClient.request({
|
|
1086
|
+
...config,
|
|
1087
|
+
url: `v1/ipos/recent`,
|
|
1088
|
+
method: 'POST',
|
|
1089
|
+
data: recentIPODto,
|
|
1090
|
+
secure: true,
|
|
1091
|
+
contentType: (0, $e176194f300187e4$export$e2e108cbe2e4f865).Json,
|
|
1092
|
+
responseType: 'json'
|
|
1093
|
+
});
|
|
1094
|
+
}
|
|
1095
|
+
/**
|
|
1096
|
+
* @description get upcoming ipos info
|
|
1097
|
+
* @tags Ipos
|
|
1098
|
+
* @name GetUpcoming
|
|
1099
|
+
* @summary get upcoming ipos info
|
|
1100
|
+
* @request GET:/ipos/upcoming
|
|
1101
|
+
* @secure
|
|
1102
|
+
*/ getUpcoming(query, config) {
|
|
1103
|
+
return this.apiClient.request({
|
|
1104
|
+
...config,
|
|
1105
|
+
url: `v1/ipos/upcoming`,
|
|
1106
|
+
method: 'GET',
|
|
1107
|
+
params: query,
|
|
1108
|
+
secure: true,
|
|
1109
|
+
responseType: 'json'
|
|
1110
|
+
});
|
|
1111
|
+
}
|
|
1112
|
+
}
|
|
1113
|
+
|
|
1114
|
+
|
|
1115
|
+
var $5ada14269dcdf959$exports = {};
|
|
1116
|
+
|
|
1117
|
+
$parcel$export($5ada14269dcdf959$exports, "Lists", () => $5ada14269dcdf959$export$e1553435d4022be);
|
|
1118
|
+
/* eslint-disable */ /* tslint:disable */ /*
|
|
1119
|
+
* ---------------------------------------------------------------
|
|
1120
|
+
* ## THIS FILE WAS GENERATED VIA SWAGGER-TYPESCRIPT-API ##
|
|
1121
|
+
* ## ##
|
|
1122
|
+
* ## AUTHOR: acacode ##
|
|
1123
|
+
* ## SOURCE: https://github.com/acacode/swagger-typescript-api ##
|
|
1124
|
+
* ---------------------------------------------------------------
|
|
1125
|
+
*/
|
|
1126
|
+
|
|
1127
|
+
class $5ada14269dcdf959$export$e1553435d4022be {
|
|
1128
|
+
constructor(apiClient){
|
|
1129
|
+
this.apiClient = apiClient;
|
|
1130
|
+
(0, $lBhIu$autobind)(this);
|
|
1131
|
+
}
|
|
1132
|
+
/**
|
|
1133
|
+
* @description filter custom lists
|
|
1134
|
+
* @tags lists
|
|
1135
|
+
* @name FilterCustomLists
|
|
1136
|
+
* @summary filter custom lists
|
|
1137
|
+
* @request POST:/custom-lists/filter
|
|
1138
|
+
* @secure
|
|
1139
|
+
*/ filterCustomLists(filter, config) {
|
|
1140
|
+
return this.apiClient.request({
|
|
1141
|
+
...config,
|
|
1142
|
+
url: `v1/custom-lists/filter`,
|
|
1143
|
+
method: 'POST',
|
|
1144
|
+
data: filter,
|
|
1145
|
+
secure: true,
|
|
1146
|
+
contentType: (0, $e176194f300187e4$export$e2e108cbe2e4f865).Json,
|
|
1147
|
+
responseType: 'json'
|
|
1148
|
+
});
|
|
1149
|
+
}
|
|
1150
|
+
}
|
|
1151
|
+
|
|
1152
|
+
|
|
1153
|
+
var $586e46f6fa35f6d7$exports = {};
|
|
1154
|
+
|
|
1155
|
+
$parcel$export($586e46f6fa35f6d7$exports, "Logos", () => $586e46f6fa35f6d7$export$c847549a613b9060);
|
|
1156
|
+
/* eslint-disable */ /* tslint:disable */ /*
|
|
1157
|
+
* ---------------------------------------------------------------
|
|
1158
|
+
* ## THIS FILE WAS GENERATED VIA SWAGGER-TYPESCRIPT-API ##
|
|
1159
|
+
* ## ##
|
|
1160
|
+
* ## AUTHOR: acacode ##
|
|
1161
|
+
* ## SOURCE: https://github.com/acacode/swagger-typescript-api ##
|
|
1162
|
+
* ---------------------------------------------------------------
|
|
1163
|
+
*/
|
|
1164
|
+
|
|
1165
|
+
class $586e46f6fa35f6d7$export$c847549a613b9060 {
|
|
1166
|
+
constructor(apiClient){
|
|
1167
|
+
this.apiClient = apiClient;
|
|
1168
|
+
(0, $lBhIu$autobind)(this);
|
|
1169
|
+
}
|
|
1170
|
+
/**
|
|
1171
|
+
* @description Returns converted logo for crypto symbol
|
|
1172
|
+
* @tags Logos
|
|
1173
|
+
* @name LogosConvertedCryptoSymbolLogo
|
|
1174
|
+
* @summary Get converted logo for crypto symbol
|
|
1175
|
+
* @request POST:/logos/converted-crypto-symbol-logo
|
|
1176
|
+
* @secure
|
|
1177
|
+
*/ logosConvertedCryptoSymbolLogo(filter, config) {
|
|
1178
|
+
return this.apiClient.request({
|
|
1179
|
+
...config,
|
|
1180
|
+
url: `v1/logos/converted-crypto-symbol-logo`,
|
|
1181
|
+
method: 'POST',
|
|
1182
|
+
data: filter,
|
|
1183
|
+
secure: true,
|
|
1184
|
+
contentType: (0, $e176194f300187e4$export$e2e108cbe2e4f865).Json,
|
|
1185
|
+
responseType: 'json'
|
|
1186
|
+
});
|
|
1187
|
+
}
|
|
1188
|
+
/**
|
|
1189
|
+
* @description Returns converted logo for symbol
|
|
1190
|
+
* @tags Logos
|
|
1191
|
+
* @name LogosConvertedSymbolLogo
|
|
1192
|
+
* @summary Get converted logo for symbol
|
|
1193
|
+
* @request POST:/logos/converted-symbol-logo
|
|
1194
|
+
* @secure
|
|
1195
|
+
*/ logosConvertedSymbolLogo(filter, config) {
|
|
1196
|
+
return this.apiClient.request({
|
|
1197
|
+
...config,
|
|
1198
|
+
url: `v1/logos/converted-symbol-logo`,
|
|
1199
|
+
method: 'POST',
|
|
1200
|
+
data: filter,
|
|
1201
|
+
secure: true,
|
|
1202
|
+
contentType: (0, $e176194f300187e4$export$e2e108cbe2e4f865).Json,
|
|
1203
|
+
responseType: 'json'
|
|
1204
|
+
});
|
|
1205
|
+
}
|
|
1206
|
+
/**
|
|
1207
|
+
* @description Returns logo for crypto symbol
|
|
1208
|
+
* @tags Logos
|
|
1209
|
+
* @name LogosCryptoSymbolLogo
|
|
1210
|
+
* @summary Get logo for crypto symbol
|
|
1211
|
+
* @request GET:/logos/crypto-symbol-logo
|
|
1212
|
+
* @secure
|
|
1213
|
+
*/ logosCryptoSymbolLogo(query, config) {
|
|
1214
|
+
return this.apiClient.request({
|
|
1215
|
+
...config,
|
|
1216
|
+
url: `v1/logos/crypto-symbol-logo`,
|
|
1217
|
+
method: 'GET',
|
|
1218
|
+
params: query,
|
|
1219
|
+
secure: true,
|
|
1220
|
+
contentType: (0, $e176194f300187e4$export$e2e108cbe2e4f865).Json,
|
|
1221
|
+
responseType: 'json'
|
|
1222
|
+
});
|
|
1223
|
+
}
|
|
1224
|
+
/**
|
|
1225
|
+
* @description Returns direct logo for crypto symbol
|
|
1226
|
+
* @tags Logos
|
|
1227
|
+
* @name LogosDirectCryptoSymbolLogo
|
|
1228
|
+
* @summary Get direct logo for crypto symbol
|
|
1229
|
+
* @request GET:/logos/direct-crypto-symbol-logo
|
|
1230
|
+
* @secure
|
|
1231
|
+
*/ logosDirectCryptoSymbolLogo(query, config) {
|
|
1232
|
+
return this.apiClient.request({
|
|
1233
|
+
...config,
|
|
1234
|
+
url: `v1/logos/direct-crypto-symbol-logo`,
|
|
1235
|
+
method: 'GET',
|
|
1236
|
+
params: query,
|
|
1237
|
+
secure: true,
|
|
1238
|
+
contentType: (0, $e176194f300187e4$export$e2e108cbe2e4f865).Json,
|
|
1239
|
+
responseType: 'json'
|
|
1240
|
+
});
|
|
1241
|
+
}
|
|
1242
|
+
/**
|
|
1243
|
+
* @description Returns direct logo for symbol
|
|
1244
|
+
* @tags Logos
|
|
1245
|
+
* @name LogosDirectSymbolLogo
|
|
1246
|
+
* @summary Get direct logo for symbol
|
|
1247
|
+
* @request GET:/logos/direct-symbol-logo
|
|
1248
|
+
* @secure
|
|
1249
|
+
*/ logosDirectSymbolLogo(query, config) {
|
|
1250
|
+
return this.apiClient.request({
|
|
1251
|
+
...config,
|
|
1252
|
+
url: `v1/logos/direct-symbol-logo`,
|
|
1253
|
+
method: 'GET',
|
|
1254
|
+
params: query,
|
|
1255
|
+
secure: true,
|
|
1256
|
+
contentType: (0, $e176194f300187e4$export$e2e108cbe2e4f865).Json,
|
|
1257
|
+
responseType: 'json'
|
|
1258
|
+
});
|
|
1259
|
+
}
|
|
1260
|
+
/**
|
|
1261
|
+
* @description Returns logos for multiple symbols
|
|
1262
|
+
* @tags Logos
|
|
1263
|
+
* @name LogosMultipleCryptoSymbolLogo
|
|
1264
|
+
* @summary Get logos for multiple symbols
|
|
1265
|
+
* @request POST:/logos/multiple-crypto-symbol-logo
|
|
1266
|
+
* @secure
|
|
1267
|
+
*/ logosMultipleCryptoSymbolLogo(filter, config) {
|
|
1268
|
+
return this.apiClient.request({
|
|
1269
|
+
...config,
|
|
1270
|
+
url: `v1/logos/multiple-crypto-symbol-logo`,
|
|
1271
|
+
method: 'POST',
|
|
1272
|
+
data: filter,
|
|
1273
|
+
secure: true,
|
|
1274
|
+
contentType: (0, $e176194f300187e4$export$e2e108cbe2e4f865).Json,
|
|
1275
|
+
responseType: 'json'
|
|
1276
|
+
});
|
|
1277
|
+
}
|
|
1278
|
+
/**
|
|
1279
|
+
* @description Returns logos for multiple symbol
|
|
1280
|
+
* @tags Logos
|
|
1281
|
+
* @name LogosMultipleSymbolLogos
|
|
1282
|
+
* @summary Get logos for multiple symbols
|
|
1283
|
+
* @request POST:/logos/multiple-symbol-logos
|
|
1284
|
+
* @secure
|
|
1285
|
+
*/ logosMultipleSymbolLogos(filter, config) {
|
|
1286
|
+
return this.apiClient.request({
|
|
1287
|
+
...config,
|
|
1288
|
+
url: `v1/logos/multiple-symbol-logos`,
|
|
1289
|
+
method: 'POST',
|
|
1290
|
+
data: filter,
|
|
1291
|
+
secure: true,
|
|
1292
|
+
contentType: (0, $e176194f300187e4$export$e2e108cbe2e4f865).Json,
|
|
1293
|
+
responseType: 'json'
|
|
1294
|
+
});
|
|
1295
|
+
}
|
|
1296
|
+
/**
|
|
1297
|
+
* @description Returns links of socials logos for symbol
|
|
1298
|
+
* @tags Logos
|
|
1299
|
+
* @name LogosSocialSymbolLogos
|
|
1300
|
+
* @summary Get social logos for symbol
|
|
1301
|
+
* @request GET:/logos/social-symbol-logos
|
|
1302
|
+
* @secure
|
|
1303
|
+
*/ logosSocialSymbolLogos(query, config) {
|
|
1304
|
+
return this.apiClient.request({
|
|
1305
|
+
...config,
|
|
1306
|
+
url: `v1/logos/social-symbol-logos`,
|
|
1307
|
+
method: 'GET',
|
|
1308
|
+
params: query,
|
|
1309
|
+
secure: true,
|
|
1310
|
+
contentType: (0, $e176194f300187e4$export$e2e108cbe2e4f865).Json,
|
|
1311
|
+
responseType: 'json'
|
|
1312
|
+
});
|
|
1313
|
+
}
|
|
1314
|
+
/**
|
|
1315
|
+
* @description Returns logos for company symbol
|
|
1316
|
+
* @tags Logos
|
|
1317
|
+
* @name LogosSymbolLogos
|
|
1318
|
+
* @summary Get symbol logos
|
|
1319
|
+
* @request GET:/logos/symbol-logos
|
|
1320
|
+
* @secure
|
|
1321
|
+
*/ logosSymbolLogos(query, config) {
|
|
1322
|
+
return this.apiClient.request({
|
|
1323
|
+
...config,
|
|
1324
|
+
url: `v1/logos/symbol-logos`,
|
|
1325
|
+
method: 'GET',
|
|
1326
|
+
params: query,
|
|
1327
|
+
secure: true,
|
|
1328
|
+
contentType: (0, $e176194f300187e4$export$e2e108cbe2e4f865).Json,
|
|
1329
|
+
responseType: 'json'
|
|
1330
|
+
});
|
|
1331
|
+
}
|
|
1332
|
+
}
|
|
1333
|
+
|
|
1334
|
+
|
|
1335
|
+
var $f55bc79bad2e33fa$exports = {};
|
|
1336
|
+
|
|
1337
|
+
$parcel$export($f55bc79bad2e33fa$exports, "MarketDates", () => $f55bc79bad2e33fa$export$a602973ad79103a9);
|
|
1338
|
+
/* eslint-disable */ /* tslint:disable */ /*
|
|
1339
|
+
* ---------------------------------------------------------------
|
|
1340
|
+
* ## THIS FILE WAS GENERATED VIA SWAGGER-TYPESCRIPT-API ##
|
|
1341
|
+
* ## ##
|
|
1342
|
+
* ## AUTHOR: acacode ##
|
|
1343
|
+
* ## SOURCE: https://github.com/acacode/swagger-typescript-api ##
|
|
1344
|
+
* ---------------------------------------------------------------
|
|
1345
|
+
*/
|
|
1346
|
+
|
|
1347
|
+
class $f55bc79bad2e33fa$export$a602973ad79103a9 {
|
|
1348
|
+
constructor(apiClient){
|
|
1349
|
+
this.apiClient = apiClient;
|
|
1350
|
+
(0, $lBhIu$autobind)(this);
|
|
1351
|
+
}
|
|
1352
|
+
/**
|
|
1353
|
+
* @description get market dates history
|
|
1354
|
+
* @tags MarketDates
|
|
1355
|
+
* @name GetMarketDatesHistory
|
|
1356
|
+
* @summary get market dates history
|
|
1357
|
+
* @request POST:/market-dates/history
|
|
1358
|
+
* @secure
|
|
1359
|
+
*/ getMarketDatesHistory(filter, config) {
|
|
1360
|
+
return this.apiClient.request({
|
|
1361
|
+
...config,
|
|
1362
|
+
url: `v1/market-dates/history`,
|
|
1363
|
+
method: 'POST',
|
|
1364
|
+
data: filter,
|
|
1365
|
+
secure: true,
|
|
1366
|
+
contentType: (0, $e176194f300187e4$export$e2e108cbe2e4f865).Json,
|
|
1367
|
+
responseType: 'json'
|
|
1368
|
+
});
|
|
1369
|
+
}
|
|
1370
|
+
/**
|
|
1371
|
+
* @description get todays market hours
|
|
1372
|
+
* @tags MarketDates
|
|
1373
|
+
* @name GetTodaysMarketHours
|
|
1374
|
+
* @summary get todays market hours
|
|
1375
|
+
* @request GET:/market-dates/today
|
|
1376
|
+
* @secure
|
|
1377
|
+
*/ getTodaysMarketHours(query, config) {
|
|
1378
|
+
return this.apiClient.request({
|
|
1379
|
+
...config,
|
|
1380
|
+
url: `v1/market-dates/today`,
|
|
1381
|
+
method: 'GET',
|
|
1382
|
+
params: query,
|
|
1383
|
+
secure: true,
|
|
1384
|
+
contentType: (0, $e176194f300187e4$export$e2e108cbe2e4f865).Json,
|
|
1385
|
+
responseType: 'json'
|
|
1386
|
+
});
|
|
1387
|
+
}
|
|
1388
|
+
}
|
|
1389
|
+
|
|
1390
|
+
|
|
1391
|
+
var $c2fb54d9032f92eb$exports = {};
|
|
1392
|
+
|
|
1393
|
+
$parcel$export($c2fb54d9032f92eb$exports, "News", () => $c2fb54d9032f92eb$export$aec6fe3795564851);
|
|
1394
|
+
/* eslint-disable */ /* tslint:disable */ /*
|
|
1395
|
+
* ---------------------------------------------------------------
|
|
1396
|
+
* ## THIS FILE WAS GENERATED VIA SWAGGER-TYPESCRIPT-API ##
|
|
1397
|
+
* ## ##
|
|
1398
|
+
* ## AUTHOR: acacode ##
|
|
1399
|
+
* ## SOURCE: https://github.com/acacode/swagger-typescript-api ##
|
|
1400
|
+
* ---------------------------------------------------------------
|
|
1401
|
+
*/
|
|
1402
|
+
|
|
1403
|
+
class $c2fb54d9032f92eb$export$aec6fe3795564851 {
|
|
1404
|
+
constructor(apiClient){
|
|
1405
|
+
this.apiClient = apiClient;
|
|
1406
|
+
(0, $lBhIu$autobind)(this);
|
|
1407
|
+
}
|
|
1408
|
+
/**
|
|
1409
|
+
* @description Returns available authors in DB
|
|
1410
|
+
* @tags News
|
|
1411
|
+
* @name NewsAvailableAuthors
|
|
1412
|
+
* @summary Get available authors in DB (for filters)
|
|
1413
|
+
* @request POST:/news/authors
|
|
1414
|
+
* @secure
|
|
1415
|
+
*/ newsAvailableAuthors(filter, config) {
|
|
1416
|
+
return this.apiClient.request({
|
|
1417
|
+
...config,
|
|
1418
|
+
url: `v1/news/authors`,
|
|
1419
|
+
method: 'POST',
|
|
1420
|
+
data: filter,
|
|
1421
|
+
secure: true,
|
|
1422
|
+
contentType: (0, $e176194f300187e4$export$e2e108cbe2e4f865).Json,
|
|
1423
|
+
responseType: 'json'
|
|
1424
|
+
});
|
|
1425
|
+
}
|
|
1426
|
+
/**
|
|
1427
|
+
* @description Returns available channels in DB
|
|
1428
|
+
* @tags News
|
|
1429
|
+
* @name NewsAvailableChannels
|
|
1430
|
+
* @summary Get available channels in DB (for filters)
|
|
1431
|
+
* @request POST:/news/channels
|
|
1432
|
+
* @secure
|
|
1433
|
+
*/ newsAvailableChannels(filter, config) {
|
|
1434
|
+
return this.apiClient.request({
|
|
1435
|
+
...config,
|
|
1436
|
+
url: `v1/news/channels`,
|
|
1437
|
+
method: 'POST',
|
|
1438
|
+
data: filter,
|
|
1439
|
+
secure: true,
|
|
1440
|
+
contentType: (0, $e176194f300187e4$export$e2e108cbe2e4f865).Json,
|
|
1441
|
+
responseType: 'json'
|
|
1442
|
+
});
|
|
1443
|
+
}
|
|
1444
|
+
/**
|
|
1445
|
+
* @description Returns news by filters
|
|
1446
|
+
* @tags News
|
|
1447
|
+
* @name NewsFiltered
|
|
1448
|
+
* @summary Get filtered news
|
|
1449
|
+
* @request POST:/news/filter
|
|
1450
|
+
* @secure
|
|
1451
|
+
*/ newsFiltered(filter, config) {
|
|
1452
|
+
return this.apiClient.request({
|
|
1453
|
+
...config,
|
|
1454
|
+
url: `v1/news/filter`,
|
|
1455
|
+
method: 'POST',
|
|
1456
|
+
data: filter,
|
|
1457
|
+
secure: true,
|
|
1458
|
+
contentType: (0, $e176194f300187e4$export$e2e108cbe2e4f865).Json,
|
|
1459
|
+
responseType: 'json'
|
|
1460
|
+
});
|
|
1461
|
+
}
|
|
1462
|
+
/**
|
|
1463
|
+
* @description Returns news by id
|
|
1464
|
+
* @tags News
|
|
1465
|
+
* @name NewsById
|
|
1466
|
+
* @summary Get news by id
|
|
1467
|
+
* @request POST:/news/id
|
|
1468
|
+
* @secure
|
|
1469
|
+
*/ newsById(filter, config) {
|
|
1470
|
+
return this.apiClient.request({
|
|
1471
|
+
...config,
|
|
1472
|
+
url: `v1/news/id`,
|
|
1473
|
+
method: 'POST',
|
|
1474
|
+
data: filter,
|
|
1475
|
+
secure: true,
|
|
1476
|
+
contentType: (0, $e176194f300187e4$export$e2e108cbe2e4f865).Json,
|
|
1477
|
+
responseType: 'json'
|
|
1478
|
+
});
|
|
1479
|
+
}
|
|
1480
|
+
/**
|
|
1481
|
+
* @description Returns news previews
|
|
1482
|
+
* @tags News
|
|
1483
|
+
* @name NewsPreviewsFiltered
|
|
1484
|
+
* @summary Get news previews
|
|
1485
|
+
* @request GET:/news/previews
|
|
1486
|
+
* @secure
|
|
1487
|
+
*/ newsPreviewsFiltered(query, config) {
|
|
1488
|
+
return this.apiClient.request({
|
|
1489
|
+
...config,
|
|
1490
|
+
url: `v1/news/previews`,
|
|
1491
|
+
method: 'GET',
|
|
1492
|
+
params: query,
|
|
1493
|
+
secure: true,
|
|
1494
|
+
contentType: (0, $e176194f300187e4$export$e2e108cbe2e4f865).Json,
|
|
1495
|
+
responseType: 'json'
|
|
1496
|
+
});
|
|
1497
|
+
}
|
|
1498
|
+
/**
|
|
1499
|
+
* @description Returns available stocks in DB
|
|
1500
|
+
* @tags News
|
|
1501
|
+
* @name NewsAvailableStocks
|
|
1502
|
+
* @summary Get available stocks in DB (for filters)
|
|
1503
|
+
* @request GET:/news/symbols
|
|
1504
|
+
* @secure
|
|
1505
|
+
*/ newsAvailableStocks(config) {
|
|
1506
|
+
return this.apiClient.request({
|
|
1507
|
+
...config,
|
|
1508
|
+
url: `v1/news/symbols`,
|
|
1509
|
+
method: 'GET',
|
|
1510
|
+
secure: true,
|
|
1511
|
+
contentType: (0, $e176194f300187e4$export$e2e108cbe2e4f865).Json,
|
|
1512
|
+
responseType: 'json'
|
|
1513
|
+
});
|
|
1514
|
+
}
|
|
1515
|
+
/**
|
|
1516
|
+
* @description Returns available tags in DB
|
|
1517
|
+
* @tags News
|
|
1518
|
+
* @name NewsAvailableTags
|
|
1519
|
+
* @summary Get available tags in DB (for filters)
|
|
1520
|
+
* @request POST:/news/tags
|
|
1521
|
+
* @secure
|
|
1522
|
+
*/ newsAvailableTags(filter, config) {
|
|
1523
|
+
return this.apiClient.request({
|
|
1524
|
+
...config,
|
|
1525
|
+
url: `v1/news/tags`,
|
|
1526
|
+
method: 'POST',
|
|
1527
|
+
data: filter,
|
|
1528
|
+
secure: true,
|
|
1529
|
+
contentType: (0, $e176194f300187e4$export$e2e108cbe2e4f865).Json,
|
|
1530
|
+
responseType: 'json'
|
|
1531
|
+
});
|
|
1532
|
+
}
|
|
1533
|
+
}
|
|
1534
|
+
|
|
1535
|
+
|
|
1536
|
+
var $9bfeba9fc4fbd748$exports = {};
|
|
1537
|
+
|
|
1538
|
+
$parcel$export($9bfeba9fc4fbd748$exports, "OptionGreeks", () => $9bfeba9fc4fbd748$export$a6ca9702e3f0466c);
|
|
1539
|
+
/* eslint-disable */ /* tslint:disable */ /*
|
|
1540
|
+
* ---------------------------------------------------------------
|
|
1541
|
+
* ## THIS FILE WAS GENERATED VIA SWAGGER-TYPESCRIPT-API ##
|
|
1542
|
+
* ## ##
|
|
1543
|
+
* ## AUTHOR: acacode ##
|
|
1544
|
+
* ## SOURCE: https://github.com/acacode/swagger-typescript-api ##
|
|
1545
|
+
* ---------------------------------------------------------------
|
|
1546
|
+
*/
|
|
1547
|
+
|
|
1548
|
+
class $9bfeba9fc4fbd748$export$a6ca9702e3f0466c {
|
|
1549
|
+
constructor(apiClient){
|
|
1550
|
+
this.apiClient = apiClient;
|
|
1551
|
+
(0, $lBhIu$autobind)(this);
|
|
1552
|
+
}
|
|
1553
|
+
/**
|
|
1554
|
+
* @description Returns calculated matrix
|
|
1555
|
+
* @tags OptionGreeks
|
|
1556
|
+
* @name OgCalculateMatrix
|
|
1557
|
+
* @summary Calculate matrix
|
|
1558
|
+
* @request POST:/og/calculate-matrix
|
|
1559
|
+
* @secure
|
|
1560
|
+
*/ ogCalculateMatrix(filter, config) {
|
|
1561
|
+
return this.apiClient.request({
|
|
1562
|
+
...config,
|
|
1563
|
+
url: `v1/og/calculate-matrix`,
|
|
1564
|
+
method: 'POST',
|
|
1565
|
+
data: filter,
|
|
1566
|
+
secure: true,
|
|
1567
|
+
contentType: (0, $e176194f300187e4$export$e2e108cbe2e4f865).Json,
|
|
1568
|
+
responseType: 'json'
|
|
1569
|
+
});
|
|
1570
|
+
}
|
|
1571
|
+
/**
|
|
1572
|
+
* @description Returns calculated params
|
|
1573
|
+
* @tags OptionGreeks
|
|
1574
|
+
* @name OgCalculateParams
|
|
1575
|
+
* @summary Calculate params
|
|
1576
|
+
* @request POST:/og/calculate-params
|
|
1577
|
+
* @secure
|
|
1578
|
+
*/ ogCalculateParams(filter, config) {
|
|
1579
|
+
return this.apiClient.request({
|
|
1580
|
+
...config,
|
|
1581
|
+
url: `v1/og/calculate-params`,
|
|
1582
|
+
method: 'POST',
|
|
1583
|
+
data: filter,
|
|
1584
|
+
secure: true,
|
|
1585
|
+
contentType: (0, $e176194f300187e4$export$e2e108cbe2e4f865).Json,
|
|
1586
|
+
responseType: 'json'
|
|
1587
|
+
});
|
|
1588
|
+
}
|
|
1589
|
+
}
|
|
1590
|
+
|
|
1591
|
+
|
|
1592
|
+
var $338f1cb542475a61$exports = {};
|
|
1593
|
+
|
|
1594
|
+
$parcel$export($338f1cb542475a61$exports, "Ownerships", () => $338f1cb542475a61$export$4b35c77764e423be);
|
|
1595
|
+
/* eslint-disable */ /* tslint:disable */ /*
|
|
1596
|
+
* ---------------------------------------------------------------
|
|
1597
|
+
* ## THIS FILE WAS GENERATED VIA SWAGGER-TYPESCRIPT-API ##
|
|
1598
|
+
* ## ##
|
|
1599
|
+
* ## AUTHOR: acacode ##
|
|
1600
|
+
* ## SOURCE: https://github.com/acacode/swagger-typescript-api ##
|
|
1601
|
+
* ---------------------------------------------------------------
|
|
1602
|
+
*/
|
|
1603
|
+
|
|
1604
|
+
class $338f1cb542475a61$export$4b35c77764e423be {
|
|
1605
|
+
constructor(apiClient){
|
|
1606
|
+
this.apiClient = apiClient;
|
|
1607
|
+
(0, $lBhIu$autobind)(this);
|
|
1608
|
+
}
|
|
1609
|
+
/**
|
|
1610
|
+
* @description get ownerships by id datadata
|
|
1611
|
+
* @tags Ownerships
|
|
1612
|
+
* @name GetOwnershipsByIdData
|
|
1613
|
+
* @summary get ownerships by id data
|
|
1614
|
+
* @request POST:/ownerships
|
|
1615
|
+
* @secure
|
|
1616
|
+
*/ getOwnershipsByIdData(filter, config) {
|
|
1617
|
+
return this.apiClient.request({
|
|
1618
|
+
...config,
|
|
1619
|
+
url: `v1/ownerships`,
|
|
1620
|
+
method: 'POST',
|
|
1621
|
+
data: filter,
|
|
1622
|
+
secure: true,
|
|
1623
|
+
contentType: (0, $e176194f300187e4$export$e2e108cbe2e4f865).Json,
|
|
1624
|
+
responseType: 'json'
|
|
1625
|
+
});
|
|
1626
|
+
}
|
|
1627
|
+
/**
|
|
1628
|
+
* @description get ownerships by symbol data
|
|
1629
|
+
* @tags Ownerships
|
|
1630
|
+
* @name GetOwnershipsBySymbolData
|
|
1631
|
+
* @summary get ownerships by symbol data
|
|
1632
|
+
* @request POST:/symbol-ownerships
|
|
1633
|
+
* @secure
|
|
1634
|
+
*/ getOwnershipsBySymbolData(filter, config) {
|
|
1635
|
+
return this.apiClient.request({
|
|
1636
|
+
...config,
|
|
1637
|
+
url: `v1/symbol-ownerships`,
|
|
1638
|
+
method: 'POST',
|
|
1639
|
+
data: filter,
|
|
1640
|
+
secure: true,
|
|
1641
|
+
contentType: (0, $e176194f300187e4$export$e2e108cbe2e4f865).Json,
|
|
1642
|
+
responseType: 'json'
|
|
1643
|
+
});
|
|
1644
|
+
}
|
|
1645
|
+
}
|
|
1646
|
+
|
|
1647
|
+
|
|
1648
|
+
var $94b9e0124da020e0$exports = {};
|
|
1649
|
+
|
|
1650
|
+
$parcel$export($94b9e0124da020e0$exports, "Passport", () => $94b9e0124da020e0$export$55bc3cd7df55e5aa);
|
|
1651
|
+
/* eslint-disable */ /* tslint:disable */ /*
|
|
1652
|
+
* ---------------------------------------------------------------
|
|
1653
|
+
* ## THIS FILE WAS GENERATED VIA SWAGGER-TYPESCRIPT-API ##
|
|
1654
|
+
* ## ##
|
|
1655
|
+
* ## AUTHOR: acacode ##
|
|
1656
|
+
* ## SOURCE: https://github.com/acacode/swagger-typescript-api ##
|
|
1657
|
+
* ---------------------------------------------------------------
|
|
1658
|
+
*/
|
|
1659
|
+
|
|
1660
|
+
class $94b9e0124da020e0$export$55bc3cd7df55e5aa {
|
|
1661
|
+
constructor(apiClient){
|
|
1662
|
+
this.apiClient = apiClient;
|
|
1663
|
+
(0, $lBhIu$autobind)(this);
|
|
1664
|
+
}
|
|
1665
|
+
/**
|
|
1666
|
+
* @description Returns article by id
|
|
1667
|
+
* @tags Passport
|
|
1668
|
+
* @name PassportArticleById
|
|
1669
|
+
* @summary Get article by id
|
|
1670
|
+
* @request POST:/passport/article-by-id
|
|
1671
|
+
* @secure
|
|
1672
|
+
*/ passportArticleById(filter, config) {
|
|
1673
|
+
return this.apiClient.request({
|
|
1674
|
+
...config,
|
|
1675
|
+
url: `v1/passport/article-by-id`,
|
|
1676
|
+
method: 'POST',
|
|
1677
|
+
data: filter,
|
|
1678
|
+
secure: true,
|
|
1679
|
+
contentType: (0, $e176194f300187e4$export$e2e108cbe2e4f865).Json,
|
|
1680
|
+
responseType: 'json'
|
|
1681
|
+
});
|
|
1682
|
+
}
|
|
1683
|
+
/**
|
|
1684
|
+
* @description Returns articles
|
|
1685
|
+
* @tags Passport
|
|
1686
|
+
* @name PassportArticles
|
|
1687
|
+
* @summary Get articles
|
|
1688
|
+
* @request POST:/passport/articles
|
|
1689
|
+
* @secure
|
|
1690
|
+
*/ passportArticles(filter, config) {
|
|
1691
|
+
return this.apiClient.request({
|
|
1692
|
+
...config,
|
|
1693
|
+
url: `v1/passport/articles`,
|
|
1694
|
+
method: 'POST',
|
|
1695
|
+
data: filter,
|
|
1696
|
+
secure: true,
|
|
1697
|
+
contentType: (0, $e176194f300187e4$export$e2e108cbe2e4f865).Json,
|
|
1698
|
+
responseType: 'json'
|
|
1699
|
+
});
|
|
1700
|
+
}
|
|
1701
|
+
/**
|
|
1702
|
+
* @description Returns author profile
|
|
1703
|
+
* @tags Passport
|
|
1704
|
+
* @name PassportAuthorProfile
|
|
1705
|
+
* @summary Get author profile
|
|
1706
|
+
* @request POST:/passport/author-profile
|
|
1707
|
+
* @secure
|
|
1708
|
+
*/ passportAuthorProfile(filter, config) {
|
|
1709
|
+
return this.apiClient.request({
|
|
1710
|
+
...config,
|
|
1711
|
+
url: `v1/passport/author-profile`,
|
|
1712
|
+
method: 'POST',
|
|
1713
|
+
data: filter,
|
|
1714
|
+
secure: true,
|
|
1715
|
+
contentType: (0, $e176194f300187e4$export$e2e108cbe2e4f865).Json,
|
|
1716
|
+
responseType: 'json'
|
|
1717
|
+
});
|
|
1718
|
+
}
|
|
1719
|
+
/**
|
|
1720
|
+
* @description Returns most popular tags
|
|
1721
|
+
* @tags Passport
|
|
1722
|
+
* @name PassportMostPopularTags
|
|
1723
|
+
* @summary Get most popular tags
|
|
1724
|
+
* @request POST:/passport/most-popular-tags
|
|
1725
|
+
* @secure
|
|
1726
|
+
*/ passportMostPopularTags(filter, config) {
|
|
1727
|
+
return this.apiClient.request({
|
|
1728
|
+
...config,
|
|
1729
|
+
url: `v1/passport/most-popular-tags`,
|
|
1730
|
+
method: 'POST',
|
|
1731
|
+
data: filter,
|
|
1732
|
+
secure: true,
|
|
1733
|
+
contentType: (0, $e176194f300187e4$export$e2e108cbe2e4f865).Json,
|
|
1734
|
+
responseType: 'json'
|
|
1735
|
+
});
|
|
1736
|
+
}
|
|
1737
|
+
/**
|
|
1738
|
+
* @description Returns news feed
|
|
1739
|
+
* @tags Passport
|
|
1740
|
+
* @name PassportNewsFeed
|
|
1741
|
+
* @summary Get news feed
|
|
1742
|
+
* @request POST:/passport/newsfeed
|
|
1743
|
+
* @secure
|
|
1744
|
+
*/ passportNewsFeed(filter, config) {
|
|
1745
|
+
return this.apiClient.request({
|
|
1746
|
+
...config,
|
|
1747
|
+
url: `v1/passport/newsfeed`,
|
|
1748
|
+
method: 'POST',
|
|
1749
|
+
data: filter,
|
|
1750
|
+
secure: true,
|
|
1751
|
+
contentType: (0, $e176194f300187e4$export$e2e108cbe2e4f865).Json,
|
|
1752
|
+
responseType: 'json'
|
|
1753
|
+
});
|
|
1754
|
+
}
|
|
1755
|
+
/**
|
|
1756
|
+
* @description Returns article by parameters
|
|
1757
|
+
* @tags Passport
|
|
1758
|
+
* @name PassportSearchArticle
|
|
1759
|
+
* @summary Search article by parameters
|
|
1760
|
+
* @request POST:/passport/search-article
|
|
1761
|
+
* @secure
|
|
1762
|
+
*/ passportSearchArticle(filter, config) {
|
|
1763
|
+
return this.apiClient.request({
|
|
1764
|
+
...config,
|
|
1765
|
+
url: `v1/passport/search-article`,
|
|
1766
|
+
method: 'POST',
|
|
1767
|
+
data: filter,
|
|
1768
|
+
secure: true,
|
|
1769
|
+
contentType: (0, $e176194f300187e4$export$e2e108cbe2e4f865).Json,
|
|
1770
|
+
responseType: 'json'
|
|
1771
|
+
});
|
|
1772
|
+
}
|
|
1773
|
+
}
|
|
1774
|
+
|
|
1775
|
+
|
|
1776
|
+
var $e024c6aeed05eb97$exports = {};
|
|
1777
|
+
|
|
1778
|
+
$parcel$export($e024c6aeed05eb97$exports, "Public", () => $e024c6aeed05eb97$export$68b4491d6924a6d1);
|
|
1779
|
+
/* eslint-disable */ /* tslint:disable */ /*
|
|
1780
|
+
* ---------------------------------------------------------------
|
|
1781
|
+
* ## THIS FILE WAS GENERATED VIA SWAGGER-TYPESCRIPT-API ##
|
|
1782
|
+
* ## ##
|
|
1783
|
+
* ## AUTHOR: acacode ##
|
|
1784
|
+
* ## SOURCE: https://github.com/acacode/swagger-typescript-api ##
|
|
1785
|
+
* ---------------------------------------------------------------
|
|
1786
|
+
*/
|
|
1787
|
+
class $e024c6aeed05eb97$export$68b4491d6924a6d1 {
|
|
1788
|
+
constructor(apiClient){
|
|
1789
|
+
this.apiClient = apiClient;
|
|
1790
|
+
(0, $lBhIu$autobind)(this);
|
|
1791
|
+
}
|
|
1792
|
+
/**
|
|
1793
|
+
* @description Calculate estimated returns for selected symbols. Uses split adjusted prices
|
|
1794
|
+
* @tags Public
|
|
1795
|
+
* @name CalculateEstimatedReturns
|
|
1796
|
+
* @summary Calculate Estimated Returns
|
|
1797
|
+
* @request GET:/public/estimated-returns
|
|
1798
|
+
* @secure
|
|
1799
|
+
*/ calculateEstimatedReturns(query, config) {
|
|
1800
|
+
return this.apiClient.request({
|
|
1801
|
+
...config,
|
|
1802
|
+
url: `v1/public/estimated-returns`,
|
|
1803
|
+
method: 'GET',
|
|
1804
|
+
params: query,
|
|
1805
|
+
secure: true,
|
|
1806
|
+
responseType: 'json'
|
|
1807
|
+
});
|
|
1808
|
+
}
|
|
1809
|
+
/**
|
|
1810
|
+
* @description Returns an expert forecast
|
|
1811
|
+
* @tags Public
|
|
1812
|
+
* @name ExpertForecast
|
|
1813
|
+
* @summary Expert forecast
|
|
1814
|
+
* @request GET:/public/expert-forecast
|
|
1815
|
+
* @secure
|
|
1816
|
+
*/ expertForecast(query, config) {
|
|
1817
|
+
return this.apiClient.request({
|
|
1818
|
+
...config,
|
|
1819
|
+
url: `v1/public/expert-forecast`,
|
|
1820
|
+
method: 'GET',
|
|
1821
|
+
params: query,
|
|
1822
|
+
secure: true,
|
|
1823
|
+
responseType: 'json'
|
|
1824
|
+
});
|
|
1825
|
+
}
|
|
1826
|
+
/**
|
|
1827
|
+
* @description get fundamentals by symbol data
|
|
1828
|
+
* @tags Public
|
|
1829
|
+
* @name GetPublicFundamentalsBySymbolData
|
|
1830
|
+
* @summary get fundamentals by symbol data
|
|
1831
|
+
* @request GET:/public/fundamentals/:symbol
|
|
1832
|
+
* @secure
|
|
1833
|
+
*/ getPublicFundamentalsBySymbolData(symbol, query, config) {
|
|
1834
|
+
return this.apiClient.request({
|
|
1835
|
+
...config,
|
|
1836
|
+
url: `v1/public/fundamentals/${symbol}`,
|
|
1837
|
+
method: 'GET',
|
|
1838
|
+
params: query,
|
|
1839
|
+
secure: true,
|
|
1840
|
+
responseType: 'json'
|
|
1841
|
+
});
|
|
1842
|
+
}
|
|
1843
|
+
/**
|
|
1844
|
+
* @description Daily price history
|
|
1845
|
+
* @tags Public
|
|
1846
|
+
* @name DailyPriceHistory
|
|
1847
|
+
* @summary Daily price history
|
|
1848
|
+
* @request GET:/public/price-history/daily
|
|
1849
|
+
* @secure
|
|
1850
|
+
*/ dailyPriceHistory(query, config) {
|
|
1851
|
+
return this.apiClient.request({
|
|
1852
|
+
...config,
|
|
1853
|
+
url: `v1/public/price-history/daily`,
|
|
1854
|
+
method: 'GET',
|
|
1855
|
+
params: query,
|
|
1856
|
+
secure: true,
|
|
1857
|
+
responseType: 'json'
|
|
1858
|
+
});
|
|
1859
|
+
}
|
|
1860
|
+
/**
|
|
1861
|
+
* @description Public quote profile
|
|
1862
|
+
* @tags Public
|
|
1863
|
+
* @name PublicQuoteProfile
|
|
1864
|
+
* @summary Public quote profile
|
|
1865
|
+
* @request GET:/public/quote-profile/:symbol
|
|
1866
|
+
* @secure
|
|
1867
|
+
*/ publicQuoteProfile(symbol, config) {
|
|
1868
|
+
return this.apiClient.request({
|
|
1869
|
+
...config,
|
|
1870
|
+
url: `v1/public/quote-profile/${symbol}`,
|
|
1871
|
+
method: 'GET',
|
|
1872
|
+
secure: true,
|
|
1873
|
+
responseType: 'json'
|
|
1874
|
+
});
|
|
1875
|
+
}
|
|
1876
|
+
/**
|
|
1877
|
+
* @description get ratios by symbol data
|
|
1878
|
+
* @tags Public
|
|
1879
|
+
* @name GetPublicRatiosBySymbolData
|
|
1880
|
+
* @summary get ratios by symbol data
|
|
1881
|
+
* @request GET:/public/ratios/:symbol
|
|
1882
|
+
* @secure
|
|
1883
|
+
*/ getPublicRatiosBySymbolData(symbol, config) {
|
|
1884
|
+
return this.apiClient.request({
|
|
1885
|
+
...config,
|
|
1886
|
+
url: `v1/public/ratios/${symbol}`,
|
|
1887
|
+
method: 'GET',
|
|
1888
|
+
secure: true,
|
|
1889
|
+
responseType: 'json'
|
|
1890
|
+
});
|
|
1891
|
+
}
|
|
1892
|
+
/**
|
|
1893
|
+
* @description find a symbol by name or description
|
|
1894
|
+
* @tags Public
|
|
1895
|
+
* @name QuoteFundamentalsSearch
|
|
1896
|
+
* @summary find a symbol by name or description
|
|
1897
|
+
* @request GET:/public/symbol-search
|
|
1898
|
+
* @secure
|
|
1899
|
+
*/ quoteFundamentalsSearch(query, config) {
|
|
1900
|
+
return this.apiClient.request({
|
|
1901
|
+
...config,
|
|
1902
|
+
url: `v1/public/symbol-search`,
|
|
1903
|
+
method: 'GET',
|
|
1904
|
+
params: query,
|
|
1905
|
+
secure: true,
|
|
1906
|
+
responseType: 'json'
|
|
1907
|
+
});
|
|
1908
|
+
}
|
|
1909
|
+
/**
|
|
1910
|
+
* @description Get top gainers
|
|
1911
|
+
* @tags Public
|
|
1912
|
+
* @name TopGainers
|
|
1913
|
+
* @summary Top Gainers
|
|
1914
|
+
* @request GET:/public/top-gainers
|
|
1915
|
+
* @secure
|
|
1916
|
+
*/ topGainers(query, config) {
|
|
1917
|
+
return this.apiClient.request({
|
|
1918
|
+
...config,
|
|
1919
|
+
url: `v1/public/top-gainers`,
|
|
1920
|
+
method: 'GET',
|
|
1921
|
+
params: query,
|
|
1922
|
+
secure: true,
|
|
1923
|
+
responseType: 'json'
|
|
1924
|
+
});
|
|
1925
|
+
}
|
|
1926
|
+
/**
|
|
1927
|
+
* @description Get top stocks
|
|
1928
|
+
* @tags Public
|
|
1929
|
+
* @name TopStocks
|
|
1930
|
+
* @summary Top Stocks
|
|
1931
|
+
* @request GET:/public/top-stocks
|
|
1932
|
+
* @secure
|
|
1933
|
+
*/ topStocks(query, config) {
|
|
1934
|
+
return this.apiClient.request({
|
|
1935
|
+
...config,
|
|
1936
|
+
url: `v1/public/top-stocks`,
|
|
1937
|
+
method: 'GET',
|
|
1938
|
+
params: query,
|
|
1939
|
+
secure: true,
|
|
1940
|
+
responseType: 'json'
|
|
1941
|
+
});
|
|
1942
|
+
}
|
|
1943
|
+
}
|
|
1944
|
+
|
|
1945
|
+
|
|
1946
|
+
var $bb275ecb58495ca6$exports = {};
|
|
1947
|
+
|
|
1948
|
+
$parcel$export($bb275ecb58495ca6$exports, "Quotes", () => $bb275ecb58495ca6$export$d459179d2c3ffa58);
|
|
1949
|
+
/* eslint-disable */ /* tslint:disable */ /*
|
|
1950
|
+
* ---------------------------------------------------------------
|
|
1951
|
+
* ## THIS FILE WAS GENERATED VIA SWAGGER-TYPESCRIPT-API ##
|
|
1952
|
+
* ## ##
|
|
1953
|
+
* ## AUTHOR: acacode ##
|
|
1954
|
+
* ## SOURCE: https://github.com/acacode/swagger-typescript-api ##
|
|
1955
|
+
* ---------------------------------------------------------------
|
|
1956
|
+
*/
|
|
1957
|
+
|
|
1958
|
+
class $bb275ecb58495ca6$export$d459179d2c3ffa58 {
|
|
1959
|
+
constructor(apiClient){
|
|
1960
|
+
this.apiClient = apiClient;
|
|
1961
|
+
(0, $lBhIu$autobind)(this);
|
|
1962
|
+
}
|
|
1963
|
+
/**
|
|
1964
|
+
* @description Get single historical quote
|
|
1965
|
+
* @tags Quotes
|
|
1966
|
+
* @name GitHistoricalQuote
|
|
1967
|
+
* @summary Get single historical quote
|
|
1968
|
+
* @request GET:/historical/quote
|
|
1969
|
+
* @secure
|
|
1970
|
+
*/ gitHistoricalQuote(query, config) {
|
|
1971
|
+
return this.apiClient.request({
|
|
1972
|
+
...config,
|
|
1973
|
+
url: `v1/historical/quote`,
|
|
1974
|
+
method: 'GET',
|
|
1975
|
+
params: query,
|
|
1976
|
+
secure: true,
|
|
1977
|
+
contentType: (0, $e176194f300187e4$export$e2e108cbe2e4f865).Json,
|
|
1978
|
+
responseType: 'json'
|
|
1979
|
+
});
|
|
1980
|
+
}
|
|
1981
|
+
/**
|
|
1982
|
+
* @description get quote history by symbol
|
|
1983
|
+
* @tags Quotes
|
|
1984
|
+
* @name GitQuoteHistory
|
|
1985
|
+
* @summary Get quote history
|
|
1986
|
+
* @request POST:/quote-history
|
|
1987
|
+
* @secure
|
|
1988
|
+
*/ gitQuoteHistory(filter, config) {
|
|
1989
|
+
return this.apiClient.request({
|
|
1990
|
+
...config,
|
|
1991
|
+
url: `v1/quote-history`,
|
|
1992
|
+
method: 'POST',
|
|
1993
|
+
data: filter,
|
|
1994
|
+
secure: true,
|
|
1995
|
+
contentType: (0, $e176194f300187e4$export$e2e108cbe2e4f865).Json,
|
|
1996
|
+
responseType: 'json'
|
|
1997
|
+
});
|
|
1998
|
+
}
|
|
1999
|
+
/**
|
|
2000
|
+
* @description Returns a list of quotes equity info for specified symbols.
|
|
2001
|
+
* @tags Quotes
|
|
2002
|
+
* @name GetQuotesEquityData
|
|
2003
|
+
* @summary Get Quotes Equity data
|
|
2004
|
+
* @request GET:/quotes/equity
|
|
2005
|
+
* @secure
|
|
2006
|
+
*/ getQuotesEquityData(query, config) {
|
|
2007
|
+
return this.apiClient.request({
|
|
2008
|
+
...config,
|
|
2009
|
+
url: `v1/quotes/equity`,
|
|
2010
|
+
method: 'GET',
|
|
2011
|
+
params: query,
|
|
2012
|
+
secure: true,
|
|
2013
|
+
responseType: 'json'
|
|
2014
|
+
});
|
|
2015
|
+
}
|
|
2016
|
+
}
|
|
2017
|
+
|
|
2018
|
+
|
|
2019
|
+
var $5e60571b00eb4814$exports = {};
|
|
2020
|
+
|
|
2021
|
+
$parcel$export($5e60571b00eb4814$exports, "StockScreener", () => $5e60571b00eb4814$export$2d277a5c1cfe2fdd);
|
|
2022
|
+
/* eslint-disable */ /* tslint:disable */ /*
|
|
2023
|
+
* ---------------------------------------------------------------
|
|
2024
|
+
* ## THIS FILE WAS GENERATED VIA SWAGGER-TYPESCRIPT-API ##
|
|
2025
|
+
* ## ##
|
|
2026
|
+
* ## AUTHOR: acacode ##
|
|
2027
|
+
* ## SOURCE: https://github.com/acacode/swagger-typescript-api ##
|
|
2028
|
+
* ---------------------------------------------------------------
|
|
2029
|
+
*/
|
|
2030
|
+
|
|
2031
|
+
class $5e60571b00eb4814$export$2d277a5c1cfe2fdd {
|
|
2032
|
+
constructor(apiClient){
|
|
2033
|
+
this.apiClient = apiClient;
|
|
2034
|
+
(0, $lBhIu$autobind)(this);
|
|
2035
|
+
}
|
|
2036
|
+
/**
|
|
2037
|
+
* @description data for visual heat map
|
|
2038
|
+
* @tags StockScreener
|
|
2039
|
+
* @name StockMarketHeatmap
|
|
2040
|
+
* @summary data for visual heat map
|
|
2041
|
+
* @request GET:/heatmaps
|
|
2042
|
+
* @secure
|
|
2043
|
+
*/ stockMarketHeatmap(query, headers, config) {
|
|
2044
|
+
return this.apiClient.request({
|
|
2045
|
+
...config,
|
|
2046
|
+
url: `v1/heatmaps`,
|
|
2047
|
+
method: 'GET',
|
|
2048
|
+
params: query,
|
|
2049
|
+
secure: true,
|
|
2050
|
+
headers: headers,
|
|
2051
|
+
responseType: 'json'
|
|
2052
|
+
});
|
|
2053
|
+
}
|
|
2054
|
+
/**
|
|
2055
|
+
* @description create or update heat map preset
|
|
2056
|
+
* @tags StockScreener
|
|
2057
|
+
* @name CreateStockMarketHeatmapPreset
|
|
2058
|
+
* @summary create or update heat map preset
|
|
2059
|
+
* @request POST:/heatmaps
|
|
2060
|
+
* @secure
|
|
2061
|
+
*/ createStockMarketHeatmapPreset(filter, config) {
|
|
2062
|
+
return this.apiClient.request({
|
|
2063
|
+
...config,
|
|
2064
|
+
url: `v1/heatmaps`,
|
|
2065
|
+
method: 'POST',
|
|
2066
|
+
data: filter,
|
|
2067
|
+
secure: true,
|
|
2068
|
+
contentType: (0, $e176194f300187e4$export$e2e108cbe2e4f865).Json
|
|
2069
|
+
});
|
|
2070
|
+
}
|
|
2071
|
+
/**
|
|
2072
|
+
* @description Sector and Industry Group performance
|
|
2073
|
+
* @tags StockScreener
|
|
2074
|
+
* @name IndustriesPerformance
|
|
2075
|
+
* @summary get industries performance
|
|
2076
|
+
* @request POST:/industries-performance
|
|
2077
|
+
* @secure
|
|
2078
|
+
*/ industriesPerformance(filter, config) {
|
|
2079
|
+
return this.apiClient.request({
|
|
2080
|
+
...config,
|
|
2081
|
+
url: `v1/industries-performance`,
|
|
2082
|
+
method: 'POST',
|
|
2083
|
+
data: filter,
|
|
2084
|
+
secure: true,
|
|
2085
|
+
contentType: (0, $e176194f300187e4$export$e2e108cbe2e4f865).Json,
|
|
2086
|
+
responseType: 'json'
|
|
2087
|
+
});
|
|
2088
|
+
}
|
|
2089
|
+
/**
|
|
2090
|
+
* @description filter stocks by params
|
|
2091
|
+
* @tags StockScreener
|
|
2092
|
+
* @name StockScreener
|
|
2093
|
+
* @summary filter stocks by params
|
|
2094
|
+
* @request POST:/stock-screener
|
|
2095
|
+
* @secure
|
|
2096
|
+
*/ stockScreener(filter, headers, config) {
|
|
2097
|
+
return this.apiClient.request({
|
|
2098
|
+
...config,
|
|
2099
|
+
url: `v1/stock-screener`,
|
|
2100
|
+
method: 'POST',
|
|
2101
|
+
data: filter,
|
|
2102
|
+
secure: true,
|
|
2103
|
+
headers: headers,
|
|
2104
|
+
contentType: (0, $e176194f300187e4$export$e2e108cbe2e4f865).Json,
|
|
2105
|
+
responseType: 'json'
|
|
2106
|
+
});
|
|
2107
|
+
}
|
|
2108
|
+
/**
|
|
2109
|
+
* @description get screener presets
|
|
2110
|
+
* @tags StockScreener
|
|
2111
|
+
* @name GetScreenerPresets
|
|
2112
|
+
* @summary get screener presets
|
|
2113
|
+
* @request GET:/stock-screener/presets
|
|
2114
|
+
* @secure
|
|
2115
|
+
*/ getScreenerPresets(query, config) {
|
|
2116
|
+
return this.apiClient.request({
|
|
2117
|
+
...config,
|
|
2118
|
+
url: `v1/stock-screener/presets`,
|
|
2119
|
+
method: 'GET',
|
|
2120
|
+
params: query,
|
|
2121
|
+
secure: true,
|
|
2122
|
+
contentType: (0, $e176194f300187e4$export$e2e108cbe2e4f865).Json,
|
|
2123
|
+
responseType: 'json'
|
|
2124
|
+
});
|
|
2125
|
+
}
|
|
2126
|
+
/**
|
|
2127
|
+
* @description update screener preset
|
|
2128
|
+
* @tags StockScreener
|
|
2129
|
+
* @name UpdateScreenerPreset
|
|
2130
|
+
* @summary update screener preset
|
|
2131
|
+
* @request PUT:/stock-screener/presets
|
|
2132
|
+
* @secure
|
|
2133
|
+
*/ updateScreenerPreset(input, config) {
|
|
2134
|
+
return this.apiClient.request({
|
|
2135
|
+
...config,
|
|
2136
|
+
url: `v1/stock-screener/presets`,
|
|
2137
|
+
method: 'PUT',
|
|
2138
|
+
data: input,
|
|
2139
|
+
secure: true,
|
|
2140
|
+
contentType: (0, $e176194f300187e4$export$e2e108cbe2e4f865).Json,
|
|
2141
|
+
responseType: 'json'
|
|
2142
|
+
});
|
|
2143
|
+
}
|
|
2144
|
+
/**
|
|
2145
|
+
* @description create screener preset
|
|
2146
|
+
* @tags StockScreener
|
|
2147
|
+
* @name CreateOrScreenerPreset
|
|
2148
|
+
* @summary create screener preset
|
|
2149
|
+
* @request POST:/stock-screener/presets
|
|
2150
|
+
* @secure
|
|
2151
|
+
*/ createOrScreenerPreset(input, config) {
|
|
2152
|
+
return this.apiClient.request({
|
|
2153
|
+
...config,
|
|
2154
|
+
url: `v1/stock-screener/presets`,
|
|
2155
|
+
method: 'POST',
|
|
2156
|
+
data: input,
|
|
2157
|
+
secure: true,
|
|
2158
|
+
contentType: (0, $e176194f300187e4$export$e2e108cbe2e4f865).Json,
|
|
2159
|
+
responseType: 'json'
|
|
2160
|
+
});
|
|
2161
|
+
}
|
|
2162
|
+
/**
|
|
2163
|
+
* @description remove screener preset
|
|
2164
|
+
* @tags StockScreener
|
|
2165
|
+
* @name RemoveScreenerPreset
|
|
2166
|
+
* @summary remove screener preset
|
|
2167
|
+
* @request DELETE:/stock-screener/presets
|
|
2168
|
+
* @secure
|
|
2169
|
+
*/ removeScreenerPreset(input, config) {
|
|
2170
|
+
return this.apiClient.request({
|
|
2171
|
+
...config,
|
|
2172
|
+
url: `v1/stock-screener/presets`,
|
|
2173
|
+
method: 'DELETE',
|
|
2174
|
+
data: input,
|
|
2175
|
+
secure: true,
|
|
2176
|
+
contentType: (0, $e176194f300187e4$export$e2e108cbe2e4f865).Json
|
|
2177
|
+
});
|
|
2178
|
+
}
|
|
2179
|
+
/**
|
|
2180
|
+
* @description get top symbols
|
|
2181
|
+
* @tags StockScreener
|
|
2182
|
+
* @name GetTopSymbols
|
|
2183
|
+
* @summary get top symbols
|
|
2184
|
+
* @request POST:/stock-screener/top
|
|
2185
|
+
* @secure
|
|
2186
|
+
*/ getTopSymbols(input, config) {
|
|
2187
|
+
return this.apiClient.request({
|
|
2188
|
+
...config,
|
|
2189
|
+
url: `v1/stock-screener/top`,
|
|
2190
|
+
method: 'POST',
|
|
2191
|
+
data: input,
|
|
2192
|
+
secure: true,
|
|
2193
|
+
contentType: (0, $e176194f300187e4$export$e2e108cbe2e4f865).Json,
|
|
2194
|
+
responseType: 'json'
|
|
2195
|
+
});
|
|
2196
|
+
}
|
|
2197
|
+
}
|
|
2198
|
+
|
|
2199
|
+
|
|
2200
|
+
var $b5c8c2ccd7f24b2e$exports = {};
|
|
2201
|
+
|
|
2202
|
+
$parcel$export($b5c8c2ccd7f24b2e$exports, "StockScreenerV2", () => $b5c8c2ccd7f24b2e$export$35f6579f0249953e);
|
|
2203
|
+
/* eslint-disable */ /* tslint:disable */ /*
|
|
2204
|
+
* ---------------------------------------------------------------
|
|
2205
|
+
* ## THIS FILE WAS GENERATED VIA SWAGGER-TYPESCRIPT-API ##
|
|
2206
|
+
* ## ##
|
|
2207
|
+
* ## AUTHOR: acacode ##
|
|
2208
|
+
* ## SOURCE: https://github.com/acacode/swagger-typescript-api ##
|
|
2209
|
+
* ---------------------------------------------------------------
|
|
2210
|
+
*/
|
|
2211
|
+
|
|
2212
|
+
class $b5c8c2ccd7f24b2e$export$35f6579f0249953e {
|
|
2213
|
+
constructor(apiClient){
|
|
2214
|
+
this.apiClient = apiClient;
|
|
2215
|
+
(0, $lBhIu$autobind)(this);
|
|
2216
|
+
}
|
|
2217
|
+
/**
|
|
2218
|
+
* @description filter stocks by params
|
|
2219
|
+
* @tags StockScreener
|
|
2220
|
+
* @name StockScreener
|
|
2221
|
+
* @summary filter stocks by params
|
|
2222
|
+
* @request POST:/stock-screener
|
|
2223
|
+
* @secure
|
|
2224
|
+
*/ stockScreener(filter, config) {
|
|
2225
|
+
return this.apiClient.request({
|
|
2226
|
+
...config,
|
|
2227
|
+
url: `v2/stock-screener`,
|
|
2228
|
+
method: 'POST',
|
|
2229
|
+
data: filter,
|
|
2230
|
+
secure: true,
|
|
2231
|
+
contentType: (0, $e176194f300187e4$export$e2e108cbe2e4f865).Json,
|
|
2232
|
+
responseType: 'json'
|
|
2233
|
+
});
|
|
2234
|
+
}
|
|
2235
|
+
/**
|
|
2236
|
+
* @description get top symbols
|
|
2237
|
+
* @tags StockScreener
|
|
2238
|
+
* @name GetTopSymbols
|
|
2239
|
+
* @summary get top symbols
|
|
2240
|
+
* @request POST:/stock-screener/top
|
|
2241
|
+
* @secure
|
|
2242
|
+
*/ getTopSymbols(input, config) {
|
|
2243
|
+
return this.apiClient.request({
|
|
2244
|
+
...config,
|
|
2245
|
+
url: `v2/stock-screener/top`,
|
|
2246
|
+
method: 'POST',
|
|
2247
|
+
data: input,
|
|
2248
|
+
secure: true,
|
|
2249
|
+
contentType: (0, $e176194f300187e4$export$e2e108cbe2e4f865).Json,
|
|
2250
|
+
responseType: 'json'
|
|
2251
|
+
});
|
|
2252
|
+
}
|
|
2253
|
+
}
|
|
2254
|
+
|
|
2255
|
+
|
|
2256
|
+
var $f37d06db45153ca6$exports = {};
|
|
2257
|
+
|
|
2258
|
+
$parcel$export($f37d06db45153ca6$exports, "TipRank", () => $f37d06db45153ca6$export$67a46d882b442dd1);
|
|
2259
|
+
/* eslint-disable */ /* tslint:disable */ /*
|
|
2260
|
+
* ---------------------------------------------------------------
|
|
2261
|
+
* ## THIS FILE WAS GENERATED VIA SWAGGER-TYPESCRIPT-API ##
|
|
2262
|
+
* ## ##
|
|
2263
|
+
* ## AUTHOR: acacode ##
|
|
2264
|
+
* ## SOURCE: https://github.com/acacode/swagger-typescript-api ##
|
|
2265
|
+
* ---------------------------------------------------------------
|
|
2266
|
+
*/
|
|
2267
|
+
|
|
2268
|
+
class $f37d06db45153ca6$export$67a46d882b442dd1 {
|
|
2269
|
+
constructor(apiClient){
|
|
2270
|
+
this.apiClient = apiClient;
|
|
2271
|
+
(0, $lBhIu$autobind)(this);
|
|
2272
|
+
}
|
|
2273
|
+
/**
|
|
2274
|
+
* @description Returns an overview of analyst ratings for a given ticker or ticker list, based on analyst ratings from the last 3 months.
|
|
2275
|
+
* @tags TipRank
|
|
2276
|
+
* @name TiprankAnalystConsensus
|
|
2277
|
+
* @summary Get tiprank AnalystConsensus
|
|
2278
|
+
* @request POST:/tipranks/analyst-consensus
|
|
2279
|
+
* @secure
|
|
2280
|
+
*/ tiprankAnalystConsensus(filter, config) {
|
|
2281
|
+
return this.apiClient.request({
|
|
2282
|
+
...config,
|
|
2283
|
+
url: `v1/tipranks/analyst-consensus`,
|
|
2284
|
+
method: 'POST',
|
|
2285
|
+
data: filter,
|
|
2286
|
+
secure: true,
|
|
2287
|
+
contentType: (0, $e176194f300187e4$export$e2e108cbe2e4f865).Json,
|
|
2288
|
+
responseType: 'json'
|
|
2289
|
+
});
|
|
2290
|
+
}
|
|
2291
|
+
/**
|
|
2292
|
+
* @description Returns the latest analyst ratings on a given stock or multiple stocks.
|
|
2293
|
+
* @tags TipRank
|
|
2294
|
+
* @name TiprankLatestAnalystRatingsOnStock
|
|
2295
|
+
* @summary Get tiprank LatestAnalystRatingsOnStock
|
|
2296
|
+
* @request POST:/tipranks/analyst-multi
|
|
2297
|
+
* @secure
|
|
2298
|
+
*/ tiprankLatestAnalystRatingsOnStock(filter, config) {
|
|
2299
|
+
return this.apiClient.request({
|
|
2300
|
+
...config,
|
|
2301
|
+
url: `v1/tipranks/analyst-multi`,
|
|
2302
|
+
method: 'POST',
|
|
2303
|
+
data: filter,
|
|
2304
|
+
secure: true,
|
|
2305
|
+
contentType: (0, $e176194f300187e4$export$e2e108cbe2e4f865).Json,
|
|
2306
|
+
responseType: 'json'
|
|
2307
|
+
});
|
|
2308
|
+
}
|
|
2309
|
+
/**
|
|
2310
|
+
* @description Returns the latest analyst portfolio items.
|
|
2311
|
+
* @tags TipRank
|
|
2312
|
+
* @name TiprankPortfolios
|
|
2313
|
+
* @summary Get the latest analyst portfolio items
|
|
2314
|
+
* @request POST:/tipranks/analyst-portfolio
|
|
2315
|
+
* @secure
|
|
2316
|
+
*/ tiprankPortfolios(filter, headers, config) {
|
|
2317
|
+
return this.apiClient.request({
|
|
2318
|
+
...config,
|
|
2319
|
+
url: `v1/tipranks/analyst-portfolio`,
|
|
2320
|
+
method: 'POST',
|
|
2321
|
+
data: filter,
|
|
2322
|
+
secure: true,
|
|
2323
|
+
headers: headers,
|
|
2324
|
+
contentType: (0, $e176194f300187e4$export$e2e108cbe2e4f865).Json,
|
|
2325
|
+
responseType: 'json'
|
|
2326
|
+
});
|
|
2327
|
+
}
|
|
2328
|
+
/**
|
|
2329
|
+
* @description Returns the analyst profile information
|
|
2330
|
+
* @tags TipRank
|
|
2331
|
+
* @name TiprankAnalystProfile
|
|
2332
|
+
* @summary Get tiprank AnalystProfile
|
|
2333
|
+
* @request GET:/tipranks/analyst-profile
|
|
2334
|
+
* @secure
|
|
2335
|
+
*/ tiprankAnalystProfile(query, config) {
|
|
2336
|
+
return this.apiClient.request({
|
|
2337
|
+
...config,
|
|
2338
|
+
url: `v1/tipranks/analyst-profile`,
|
|
2339
|
+
method: 'GET',
|
|
2340
|
+
params: query,
|
|
2341
|
+
secure: true,
|
|
2342
|
+
contentType: (0, $e176194f300187e4$export$e2e108cbe2e4f865).Json,
|
|
2343
|
+
responseType: 'json'
|
|
2344
|
+
});
|
|
2345
|
+
}
|
|
2346
|
+
/**
|
|
2347
|
+
* @description Returns the URL prefix to the expertPictureUrl field.
|
|
2348
|
+
* @tags TipRank
|
|
2349
|
+
* @name TiprankAnalystsExpertPictureStore
|
|
2350
|
+
* @summary Get tiprank AnalystsExpertPictureStore
|
|
2351
|
+
* @request GET:/tipranks/analysts-expert-picture-store
|
|
2352
|
+
* @secure
|
|
2353
|
+
*/ tiprankAnalystsExpertPictureStore(config) {
|
|
2354
|
+
return this.apiClient.request({
|
|
2355
|
+
...config,
|
|
2356
|
+
url: `v1/tipranks/analysts-expert-picture-store`,
|
|
2357
|
+
method: 'GET',
|
|
2358
|
+
secure: true,
|
|
2359
|
+
contentType: (0, $e176194f300187e4$export$e2e108cbe2e4f865).Json,
|
|
2360
|
+
responseType: 'json'
|
|
2361
|
+
});
|
|
2362
|
+
}
|
|
2363
|
+
/**
|
|
2364
|
+
* @description Returns a list of top-ranked analysts.
|
|
2365
|
+
* @tags TipRank
|
|
2366
|
+
* @name TiprankBestPerformingExperts
|
|
2367
|
+
* @summary Get tiprank BestPerformingExperts
|
|
2368
|
+
* @request GET:/tipranks/best-performing-experts
|
|
2369
|
+
* @secure
|
|
2370
|
+
*/ tiprankBestPerformingExperts(query, config) {
|
|
2371
|
+
return this.apiClient.request({
|
|
2372
|
+
...config,
|
|
2373
|
+
url: `v1/tipranks/best-performing-experts`,
|
|
2374
|
+
method: 'GET',
|
|
2375
|
+
params: query,
|
|
2376
|
+
secure: true,
|
|
2377
|
+
contentType: (0, $e176194f300187e4$export$e2e108cbe2e4f865).Json,
|
|
2378
|
+
responseType: 'json'
|
|
2379
|
+
});
|
|
2380
|
+
}
|
|
2381
|
+
/**
|
|
2382
|
+
* @description Returns the blogger consensus on the stock along with the blogger opinion distribution by site.
|
|
2383
|
+
* @tags TipRank
|
|
2384
|
+
* @name TiprankBloggerConsensusOnStock
|
|
2385
|
+
* @summary Get tiprank BloggerConsensusOnStock
|
|
2386
|
+
* @request GET:/tipranks/blogger-consensus-on-stock
|
|
2387
|
+
* @secure
|
|
2388
|
+
*/ tiprankBloggerConsensusOnStock(query, config) {
|
|
2389
|
+
return this.apiClient.request({
|
|
2390
|
+
...config,
|
|
2391
|
+
url: `v1/tipranks/blogger-consensus-on-stock`,
|
|
2392
|
+
method: 'GET',
|
|
2393
|
+
params: query,
|
|
2394
|
+
secure: true,
|
|
2395
|
+
contentType: (0, $e176194f300187e4$export$e2e108cbe2e4f865).Json,
|
|
2396
|
+
responseType: 'json'
|
|
2397
|
+
});
|
|
2398
|
+
}
|
|
2399
|
+
/**
|
|
2400
|
+
* @description Returns a list of the upcoming IPOs and recent IPOs that have already been priced
|
|
2401
|
+
* @tags TipRank
|
|
2402
|
+
* @name TiprankCalendarsIpos
|
|
2403
|
+
* @summary Get tiprank CalendarsIPOS
|
|
2404
|
+
* @request GET:/tipranks/calendars-ipos
|
|
2405
|
+
* @secure
|
|
2406
|
+
*/ tiprankCalendarsIpos(config) {
|
|
2407
|
+
return this.apiClient.request({
|
|
2408
|
+
...config,
|
|
2409
|
+
url: `v1/tipranks/calendars-ipos`,
|
|
2410
|
+
method: 'GET',
|
|
2411
|
+
secure: true,
|
|
2412
|
+
contentType: (0, $e176194f300187e4$export$e2e108cbe2e4f865).Json,
|
|
2413
|
+
responseType: 'json'
|
|
2414
|
+
});
|
|
2415
|
+
}
|
|
2416
|
+
/**
|
|
2417
|
+
* @description Returns all stocks that have been updated since a specified UTC time.
|
|
2418
|
+
* @tags TipRank
|
|
2419
|
+
* @name TiprankGeneralStockUpdates
|
|
2420
|
+
* @summary Get tiprank GeneralStockUpdates
|
|
2421
|
+
* @request GET:/tipranks/general-stock-updates
|
|
2422
|
+
* @secure
|
|
2423
|
+
*/ tiprankGeneralStockUpdates(query, config) {
|
|
2424
|
+
return this.apiClient.request({
|
|
2425
|
+
...config,
|
|
2426
|
+
url: `v1/tipranks/general-stock-updates`,
|
|
2427
|
+
method: 'GET',
|
|
2428
|
+
params: query,
|
|
2429
|
+
secure: true,
|
|
2430
|
+
contentType: (0, $e176194f300187e4$export$e2e108cbe2e4f865).Json,
|
|
2431
|
+
responseType: 'json'
|
|
2432
|
+
});
|
|
2433
|
+
}
|
|
2434
|
+
/**
|
|
2435
|
+
* @description Returns all hedge funds that have a position on a given stock along with the hedge fund activity trends and consensus.
|
|
2436
|
+
* @tags TipRank
|
|
2437
|
+
* @name TiprankHedgefunds
|
|
2438
|
+
* @summary Get tiprank HedgeFunds
|
|
2439
|
+
* @request GET:/tipranks/hedgefunds
|
|
2440
|
+
* @secure
|
|
2441
|
+
*/ tiprankHedgefunds(query, config) {
|
|
2442
|
+
return this.apiClient.request({
|
|
2443
|
+
...config,
|
|
2444
|
+
url: `v1/tipranks/hedgefunds`,
|
|
2445
|
+
method: 'GET',
|
|
2446
|
+
params: query,
|
|
2447
|
+
secure: true,
|
|
2448
|
+
contentType: (0, $e176194f300187e4$export$e2e108cbe2e4f865).Json,
|
|
2449
|
+
responseType: 'json'
|
|
2450
|
+
});
|
|
2451
|
+
}
|
|
2452
|
+
/**
|
|
2453
|
+
* @description Returns a list of top-ranked hedge fund managers.
|
|
2454
|
+
* @tags TipRank
|
|
2455
|
+
* @name TiprankHedgefundsBestPerformingExperts
|
|
2456
|
+
* @summary Get tiprank HedgeFundsBestPerformingExperts
|
|
2457
|
+
* @request GET:/tipranks/hedgefunds-best-performing-experts
|
|
2458
|
+
* @secure
|
|
2459
|
+
*/ tiprankHedgefundsBestPerformingExperts(query, config) {
|
|
2460
|
+
return this.apiClient.request({
|
|
2461
|
+
...config,
|
|
2462
|
+
url: `v1/tipranks/hedgefunds-best-performing-experts`,
|
|
2463
|
+
method: 'GET',
|
|
2464
|
+
params: query,
|
|
2465
|
+
secure: true,
|
|
2466
|
+
contentType: (0, $e176194f300187e4$export$e2e108cbe2e4f865).Json,
|
|
2467
|
+
responseType: 'json'
|
|
2468
|
+
});
|
|
2469
|
+
}
|
|
2470
|
+
/**
|
|
2471
|
+
* @description Returns the biggest 200 hedge fund transactions from the last quarter filtered based on minStars. Returns at most 50 transactions, sorted by size (biggest on top).
|
|
2472
|
+
* @tags TipRank
|
|
2473
|
+
* @name TiprankHedgefundsRecentTransactions
|
|
2474
|
+
* @summary Get tiprank HedgefundsRecentTransactions
|
|
2475
|
+
* @request GET:/tipranks/hedgefunds-recent-transactions
|
|
2476
|
+
* @secure
|
|
2477
|
+
*/ tiprankHedgefundsRecentTransactions(query, config) {
|
|
2478
|
+
return this.apiClient.request({
|
|
2479
|
+
...config,
|
|
2480
|
+
url: `v1/tipranks/hedgefunds-recent-transactions`,
|
|
2481
|
+
method: 'GET',
|
|
2482
|
+
params: query,
|
|
2483
|
+
secure: true,
|
|
2484
|
+
contentType: (0, $e176194f300187e4$export$e2e108cbe2e4f865).Json,
|
|
2485
|
+
responseType: 'json'
|
|
2486
|
+
});
|
|
2487
|
+
}
|
|
2488
|
+
/**
|
|
2489
|
+
* @description Returns the latest insider transactions and an overall sentiment on a given stock.
|
|
2490
|
+
* @tags TipRank
|
|
2491
|
+
* @name TiprankInsiders
|
|
2492
|
+
* @summary Get tiprank Insiders
|
|
2493
|
+
* @request GET:/tipranks/insiders
|
|
2494
|
+
* @secure
|
|
2495
|
+
*/ tiprankInsiders(query, config) {
|
|
2496
|
+
return this.apiClient.request({
|
|
2497
|
+
...config,
|
|
2498
|
+
url: `v1/tipranks/insiders`,
|
|
2499
|
+
method: 'GET',
|
|
2500
|
+
params: query,
|
|
2501
|
+
secure: true,
|
|
2502
|
+
contentType: (0, $e176194f300187e4$export$e2e108cbe2e4f865).Json,
|
|
2503
|
+
responseType: 'json'
|
|
2504
|
+
});
|
|
2505
|
+
}
|
|
2506
|
+
/**
|
|
2507
|
+
* @description Returns a list of top ranked insiders.
|
|
2508
|
+
* @tags TipRank
|
|
2509
|
+
* @name TiprankInsidersBestPerformingExperts
|
|
2510
|
+
* @summary Get tiprank InsidersBestPerformingExperts
|
|
2511
|
+
* @request GET:/tipranks/insiders-best-performing-experts
|
|
2512
|
+
* @secure
|
|
2513
|
+
*/ tiprankInsidersBestPerformingExperts(query, config) {
|
|
2514
|
+
return this.apiClient.request({
|
|
2515
|
+
...config,
|
|
2516
|
+
url: `v1/tipranks/insiders-best-performing-experts`,
|
|
2517
|
+
method: 'GET',
|
|
2518
|
+
params: query,
|
|
2519
|
+
secure: true,
|
|
2520
|
+
contentType: (0, $e176194f300187e4$export$e2e108cbe2e4f865).Json,
|
|
2521
|
+
responseType: 'json'
|
|
2522
|
+
});
|
|
2523
|
+
}
|
|
2524
|
+
/**
|
|
2525
|
+
* @description Returns all the information required to build TipRanks Insider Hot Stocks.
|
|
2526
|
+
* @tags TipRank
|
|
2527
|
+
* @name TiprankInsidersHotstocks
|
|
2528
|
+
* @summary Get tiprank InsidersHotstocks
|
|
2529
|
+
* @request GET:/tipranks/insiders-hotstocks
|
|
2530
|
+
* @secure
|
|
2531
|
+
*/ tiprankInsidersHotstocks(config) {
|
|
2532
|
+
return this.apiClient.request({
|
|
2533
|
+
...config,
|
|
2534
|
+
url: `v1/tipranks/insiders-hotstocks`,
|
|
2535
|
+
method: 'GET',
|
|
2536
|
+
secure: true,
|
|
2537
|
+
contentType: (0, $e176194f300187e4$export$e2e108cbe2e4f865).Json,
|
|
2538
|
+
responseType: 'json'
|
|
2539
|
+
});
|
|
2540
|
+
}
|
|
2541
|
+
/**
|
|
2542
|
+
* @description Returns a feed of the latest insider transactions reported to the SEC.
|
|
2543
|
+
* @tags TipRank
|
|
2544
|
+
* @name TiprankInsidersLiveFeed
|
|
2545
|
+
* @summary Get tiprank InsidersLiveFeed
|
|
2546
|
+
* @request GET:/tipranks/insiders-live-feed
|
|
2547
|
+
* @secure
|
|
2548
|
+
*/ tiprankInsidersLiveFeed(query, config) {
|
|
2549
|
+
return this.apiClient.request({
|
|
2550
|
+
...config,
|
|
2551
|
+
url: `v1/tipranks/insiders-live-feed`,
|
|
2552
|
+
method: 'GET',
|
|
2553
|
+
params: query,
|
|
2554
|
+
secure: true,
|
|
2555
|
+
contentType: (0, $e176194f300187e4$export$e2e108cbe2e4f865).Json,
|
|
2556
|
+
responseType: 'json'
|
|
2557
|
+
});
|
|
2558
|
+
}
|
|
2559
|
+
/**
|
|
2560
|
+
* @description Returns the insider profile information.
|
|
2561
|
+
* @tags TipRank
|
|
2562
|
+
* @name TiprankInsidersOverview
|
|
2563
|
+
* @summary Get tiprank InsidersOverview
|
|
2564
|
+
* @request GET:/tipranks/insiders-overview
|
|
2565
|
+
* @secure
|
|
2566
|
+
*/ tiprankInsidersOverview(query, config) {
|
|
2567
|
+
return this.apiClient.request({
|
|
2568
|
+
...config,
|
|
2569
|
+
url: `v1/tipranks/insiders-overview`,
|
|
2570
|
+
method: 'GET',
|
|
2571
|
+
params: query,
|
|
2572
|
+
secure: true,
|
|
2573
|
+
contentType: (0, $e176194f300187e4$export$e2e108cbe2e4f865).Json,
|
|
2574
|
+
responseType: 'json'
|
|
2575
|
+
});
|
|
2576
|
+
}
|
|
2577
|
+
/**
|
|
2578
|
+
* @description Returns the sentiment of TipRanks users on the stock.
|
|
2579
|
+
* @tags TipRank
|
|
2580
|
+
* @name TiprankInvestorSentiment
|
|
2581
|
+
* @summary Get tiprank InvestorSentiment
|
|
2582
|
+
* @request GET:/tipranks/investor-sentiment
|
|
2583
|
+
* @secure
|
|
2584
|
+
*/ tiprankInvestorSentiment(query, config) {
|
|
2585
|
+
return this.apiClient.request({
|
|
2586
|
+
...config,
|
|
2587
|
+
url: `v1/tipranks/investor-sentiment`,
|
|
2588
|
+
method: 'GET',
|
|
2589
|
+
params: query,
|
|
2590
|
+
secure: true,
|
|
2591
|
+
contentType: (0, $e176194f300187e4$export$e2e108cbe2e4f865).Json,
|
|
2592
|
+
responseType: 'json'
|
|
2593
|
+
});
|
|
2594
|
+
}
|
|
2595
|
+
/**
|
|
2596
|
+
* @description Returns the latest analyst ratings.
|
|
2597
|
+
* @tags TipRank
|
|
2598
|
+
* @name TiprankLiveFeed
|
|
2599
|
+
* @summary Get tiprank LiveFeed
|
|
2600
|
+
* @request POST:/tipranks/live-feed
|
|
2601
|
+
* @secure
|
|
2602
|
+
*/ tiprankLiveFeed(filter, headers, config) {
|
|
2603
|
+
return this.apiClient.request({
|
|
2604
|
+
...config,
|
|
2605
|
+
url: `v1/tipranks/live-feed`,
|
|
2606
|
+
method: 'POST',
|
|
2607
|
+
data: filter,
|
|
2608
|
+
secure: true,
|
|
2609
|
+
headers: headers,
|
|
2610
|
+
contentType: (0, $e176194f300187e4$export$e2e108cbe2e4f865).Json,
|
|
2611
|
+
responseType: 'json'
|
|
2612
|
+
});
|
|
2613
|
+
}
|
|
2614
|
+
/**
|
|
2615
|
+
* @description Returns the latest news articles on the stock and their sentiment (bullish / neutral or bearish).
|
|
2616
|
+
* @tags TipRank
|
|
2617
|
+
* @name TiprankNewsArticles
|
|
2618
|
+
* @summary Get tiprank NewsArticles
|
|
2619
|
+
* @request GET:/tipranks/news-articles
|
|
2620
|
+
* @secure
|
|
2621
|
+
*/ tiprankNewsArticles(query, config) {
|
|
2622
|
+
return this.apiClient.request({
|
|
2623
|
+
...config,
|
|
2624
|
+
url: `v1/tipranks/news-articles`,
|
|
2625
|
+
method: 'GET',
|
|
2626
|
+
params: query,
|
|
2627
|
+
secure: true,
|
|
2628
|
+
contentType: (0, $e176194f300187e4$export$e2e108cbe2e4f865).Json,
|
|
2629
|
+
responseType: 'json'
|
|
2630
|
+
});
|
|
2631
|
+
}
|
|
2632
|
+
/**
|
|
2633
|
+
* @description Returns the overall sentiment, buzz score and word cloud for the stock.
|
|
2634
|
+
* @tags TipRank
|
|
2635
|
+
* @name TiprankNewsSentiment
|
|
2636
|
+
* @summary Get tiprank NewsSentiment
|
|
2637
|
+
* @request GET:/tipranks/news-sentiment
|
|
2638
|
+
* @secure
|
|
2639
|
+
*/ tiprankNewsSentiment(query, config) {
|
|
2640
|
+
return this.apiClient.request({
|
|
2641
|
+
...config,
|
|
2642
|
+
url: `v1/tipranks/news-sentiment`,
|
|
2643
|
+
method: 'GET',
|
|
2644
|
+
params: query,
|
|
2645
|
+
secure: true,
|
|
2646
|
+
contentType: (0, $e176194f300187e4$export$e2e108cbe2e4f865).Json,
|
|
2647
|
+
responseType: 'json'
|
|
2648
|
+
});
|
|
2649
|
+
}
|
|
2650
|
+
/**
|
|
2651
|
+
* @description Returns the list of sectors and for each sector the distribution of stocks by analyst consensus (Strong Buy / Moderate Buy / Neutral / Moderate Sell / Strong Sell).
|
|
2652
|
+
* @tags TipRank
|
|
2653
|
+
* @name TiprankSectorConsensus
|
|
2654
|
+
* @summary Get tiprank SectorConsensus
|
|
2655
|
+
* @request GET:/tipranks/sector-consensus
|
|
2656
|
+
* @secure
|
|
2657
|
+
*/ tiprankSectorConsensus(config) {
|
|
2658
|
+
return this.apiClient.request({
|
|
2659
|
+
...config,
|
|
2660
|
+
url: `v1/tipranks/sector-consensus`,
|
|
2661
|
+
method: 'GET',
|
|
2662
|
+
secure: true,
|
|
2663
|
+
contentType: (0, $e176194f300187e4$export$e2e108cbe2e4f865).Json,
|
|
2664
|
+
responseType: 'json'
|
|
2665
|
+
});
|
|
2666
|
+
}
|
|
2667
|
+
/**
|
|
2668
|
+
* @description Returns the stock analysis overview: which is derived from 8 unique data sets including Analyst recommendations, Crowd Wisdom, Hedge Fund Activity, Media Sentiment, Blogger Opinions, Insider Transactions, Technical and Fundamental stock factors.
|
|
2669
|
+
* @tags TipRank
|
|
2670
|
+
* @name TiprankSmartScore
|
|
2671
|
+
* @summary Get tiprank SmartScore
|
|
2672
|
+
* @request POST:/tipranks/smart-score
|
|
2673
|
+
* @secure
|
|
2674
|
+
*/ tiprankSmartScore(filter, config) {
|
|
2675
|
+
return this.apiClient.request({
|
|
2676
|
+
...config,
|
|
2677
|
+
url: `v1/tipranks/smart-score`,
|
|
2678
|
+
method: 'POST',
|
|
2679
|
+
data: filter,
|
|
2680
|
+
secure: true,
|
|
2681
|
+
contentType: (0, $e176194f300187e4$export$e2e108cbe2e4f865).Json,
|
|
2682
|
+
responseType: 'json'
|
|
2683
|
+
});
|
|
2684
|
+
}
|
|
2685
|
+
/**
|
|
2686
|
+
* @description Returns the historical daily and yearly performance of a portfolio that contains all the top smart score stocks (rebalanced daily) and the historical performance of S&P-500 (SPY) for benchmarking purposes.
|
|
2687
|
+
* @tags TipRank
|
|
2688
|
+
* @name TiprankSmartScorePerformance
|
|
2689
|
+
* @summary Get tiprank SmartScorePerformance
|
|
2690
|
+
* @request GET:/tipranks/smart-score-performance
|
|
2691
|
+
* @secure
|
|
2692
|
+
*/ tiprankSmartScorePerformance(config) {
|
|
2693
|
+
return this.apiClient.request({
|
|
2694
|
+
...config,
|
|
2695
|
+
url: `v1/tipranks/smart-score-performance`,
|
|
2696
|
+
method: 'GET',
|
|
2697
|
+
secure: true,
|
|
2698
|
+
contentType: (0, $e176194f300187e4$export$e2e108cbe2e4f865).Json,
|
|
2699
|
+
responseType: 'json'
|
|
2700
|
+
});
|
|
2701
|
+
}
|
|
2702
|
+
/**
|
|
2703
|
+
* @description Returns a list of stocks with the top Smart Score of 10.
|
|
2704
|
+
* @tags TipRank
|
|
2705
|
+
* @name TiprankSmartScoreTopStocks
|
|
2706
|
+
* @summary Get tiprank SmartScoreTopStocks
|
|
2707
|
+
* @request POST:/tipranks/smart-score-top-stocks
|
|
2708
|
+
* @secure
|
|
2709
|
+
*/ tiprankSmartScoreTopStocks(filter, config) {
|
|
2710
|
+
return this.apiClient.request({
|
|
2711
|
+
...config,
|
|
2712
|
+
url: `v1/tipranks/smart-score-top-stocks`,
|
|
2713
|
+
method: 'POST',
|
|
2714
|
+
data: filter,
|
|
2715
|
+
secure: true,
|
|
2716
|
+
contentType: (0, $e176194f300187e4$export$e2e108cbe2e4f865).Json,
|
|
2717
|
+
responseType: 'json'
|
|
2718
|
+
});
|
|
2719
|
+
}
|
|
2720
|
+
/**
|
|
2721
|
+
* @description Returns a list of top-ranked analysts.
|
|
2722
|
+
* @tags TipRank
|
|
2723
|
+
* @name TiprankStocksConsensusOverTime
|
|
2724
|
+
* @summary Get tiprank StocksConsensusOverTime
|
|
2725
|
+
* @request POST:/tipranks/stocks-consensus-over-time
|
|
2726
|
+
* @secure
|
|
2727
|
+
*/ tiprankStocksConsensusOverTime(filter, config) {
|
|
2728
|
+
return this.apiClient.request({
|
|
2729
|
+
...config,
|
|
2730
|
+
url: `v1/tipranks/stocks-consensus-over-time`,
|
|
2731
|
+
method: 'POST',
|
|
2732
|
+
data: filter,
|
|
2733
|
+
secure: true,
|
|
2734
|
+
contentType: (0, $e176194f300187e4$export$e2e108cbe2e4f865).Json,
|
|
2735
|
+
responseType: 'json'
|
|
2736
|
+
});
|
|
2737
|
+
}
|
|
2738
|
+
/**
|
|
2739
|
+
* @description Returns the latest events per a specific stock, these include sell side analyst ratings, blogger opinions and corporate insider transactions
|
|
2740
|
+
* @tags TipRank
|
|
2741
|
+
* @name TiprankStocksEvents
|
|
2742
|
+
* @summary Get tiprank StocksEvents
|
|
2743
|
+
* @request POST:/tipranks/stocks-events
|
|
2744
|
+
* @secure
|
|
2745
|
+
*/ tiprankStocksEvents(filter, config) {
|
|
2746
|
+
return this.apiClient.request({
|
|
2747
|
+
...config,
|
|
2748
|
+
url: `v1/tipranks/stocks-events`,
|
|
2749
|
+
method: 'POST',
|
|
2750
|
+
data: filter,
|
|
2751
|
+
secure: true,
|
|
2752
|
+
contentType: (0, $e176194f300187e4$export$e2e108cbe2e4f865).Json,
|
|
2753
|
+
responseType: 'json'
|
|
2754
|
+
});
|
|
2755
|
+
}
|
|
2756
|
+
/**
|
|
2757
|
+
* @description Returns a list of stocks similar to the given ticker.
|
|
2758
|
+
* @tags TipRank
|
|
2759
|
+
* @name TiprankStocksSimilarStocks
|
|
2760
|
+
* @summary Get tiprank StocksSimilarStocks
|
|
2761
|
+
* @request GET:/tipranks/stocks-similar-stocks
|
|
2762
|
+
* @secure
|
|
2763
|
+
*/ tiprankStocksSimilarStocks(query, config) {
|
|
2764
|
+
return this.apiClient.request({
|
|
2765
|
+
...config,
|
|
2766
|
+
url: `v1/tipranks/stocks-similar-stocks`,
|
|
2767
|
+
method: 'GET',
|
|
2768
|
+
params: query,
|
|
2769
|
+
secure: true,
|
|
2770
|
+
contentType: (0, $e176194f300187e4$export$e2e108cbe2e4f865).Json,
|
|
2771
|
+
responseType: 'json'
|
|
2772
|
+
});
|
|
2773
|
+
}
|
|
2774
|
+
/**
|
|
2775
|
+
* @description Returns the stocks with the highest share price increase / decrease and volume. Note that the API call only returns the list of stocks that make it to the top movers list, the real time price action for these stocks should be pulled by the web page to provide the most up to date values.
|
|
2776
|
+
* @tags TipRank
|
|
2777
|
+
* @name TiprankStocksTopMovers
|
|
2778
|
+
* @summary Get tiprank StocksTopMovers
|
|
2779
|
+
* @request GET:/tipranks/stocks-top-movers
|
|
2780
|
+
* @secure
|
|
2781
|
+
*/ tiprankStocksTopMovers(config) {
|
|
2782
|
+
return this.apiClient.request({
|
|
2783
|
+
...config,
|
|
2784
|
+
url: `v1/tipranks/stocks-top-movers`,
|
|
2785
|
+
method: 'GET',
|
|
2786
|
+
secure: true,
|
|
2787
|
+
contentType: (0, $e176194f300187e4$export$e2e108cbe2e4f865).Json,
|
|
2788
|
+
responseType: 'json'
|
|
2789
|
+
});
|
|
2790
|
+
}
|
|
2791
|
+
/**
|
|
2792
|
+
* @description Returns the stock symbols covered by TipRanks.
|
|
2793
|
+
* @tags TipRank
|
|
2794
|
+
* @name TiprankSupportedTickers
|
|
2795
|
+
* @summary Get tiprank SupportedTickers
|
|
2796
|
+
* @request GET:/tipranks/supported-tickers
|
|
2797
|
+
* @secure
|
|
2798
|
+
*/ tiprankSupportedTickers(config) {
|
|
2799
|
+
return this.apiClient.request({
|
|
2800
|
+
...config,
|
|
2801
|
+
url: `v1/tipranks/supported-tickers`,
|
|
2802
|
+
method: 'GET',
|
|
2803
|
+
secure: true,
|
|
2804
|
+
contentType: (0, $e176194f300187e4$export$e2e108cbe2e4f865).Json,
|
|
2805
|
+
responseType: 'json'
|
|
2806
|
+
});
|
|
2807
|
+
}
|
|
2808
|
+
/**
|
|
2809
|
+
* @description Returns a list of stocks that have the strongest consensus ratings (Strong Buy or Strong Sell) amongst top-ranked analysts (ranked 3.5 stars or higher).
|
|
2810
|
+
* @tags TipRank
|
|
2811
|
+
* @name TiprankTopRateStocks
|
|
2812
|
+
* @summary Get tiprank TopRateStocks
|
|
2813
|
+
* @request GET:/tipranks/top-rate-stocks
|
|
2814
|
+
* @secure
|
|
2815
|
+
*/ tiprankTopRateStocks(query, config) {
|
|
2816
|
+
return this.apiClient.request({
|
|
2817
|
+
...config,
|
|
2818
|
+
url: `v1/tipranks/top-rate-stocks`,
|
|
2819
|
+
method: 'GET',
|
|
2820
|
+
params: query,
|
|
2821
|
+
secure: true,
|
|
2822
|
+
contentType: (0, $e176194f300187e4$export$e2e108cbe2e4f865).Json,
|
|
2823
|
+
responseType: 'json'
|
|
2824
|
+
});
|
|
2825
|
+
}
|
|
2826
|
+
/**
|
|
2827
|
+
* @description Returns the top-rated stocks by the sector of the given ticker. The API call returns top stocks by analysts, bloggers, insiders, hedge funds, news sentiment and individual investor sentiment.
|
|
2828
|
+
* @tags TipRank
|
|
2829
|
+
* @name TiprankTopStocksBySectors
|
|
2830
|
+
* @summary Get tiprank TopStocksBySectors
|
|
2831
|
+
* @request POST:/tipranks/top-stocks-by-sectors
|
|
2832
|
+
* @secure
|
|
2833
|
+
*/ tiprankTopStocksBySectors(filter, config) {
|
|
2834
|
+
return this.apiClient.request({
|
|
2835
|
+
...config,
|
|
2836
|
+
url: `v1/tipranks/top-stocks-by-sectors`,
|
|
2837
|
+
method: 'POST',
|
|
2838
|
+
data: filter,
|
|
2839
|
+
secure: true,
|
|
2840
|
+
contentType: (0, $e176194f300187e4$export$e2e108cbe2e4f865).Json,
|
|
2841
|
+
responseType: 'json'
|
|
2842
|
+
});
|
|
2843
|
+
}
|
|
2844
|
+
/**
|
|
2845
|
+
* @description Returns a list of stocks with the highest number of analyst ratings in the last 7 days.
|
|
2846
|
+
* @tags TipRank
|
|
2847
|
+
* @name TiprankTrendingStocks
|
|
2848
|
+
* @summary Get tiprank TrendingStocks
|
|
2849
|
+
* @request POST:/tipranks/trending-stocks
|
|
2850
|
+
* @secure
|
|
2851
|
+
*/ tiprankTrendingStocks(filter, headers, config) {
|
|
2852
|
+
return this.apiClient.request({
|
|
2853
|
+
...config,
|
|
2854
|
+
url: `v1/tipranks/trending-stocks`,
|
|
2855
|
+
method: 'POST',
|
|
2856
|
+
data: filter,
|
|
2857
|
+
secure: true,
|
|
2858
|
+
headers: headers,
|
|
2859
|
+
contentType: (0, $e176194f300187e4$export$e2e108cbe2e4f865).Json,
|
|
2860
|
+
responseType: 'json'
|
|
2861
|
+
});
|
|
2862
|
+
}
|
|
2863
|
+
}
|
|
2864
|
+
|
|
2865
|
+
|
|
2866
|
+
var $6529124b88cec1e2$exports = {};
|
|
2867
|
+
|
|
2868
|
+
$parcel$export($6529124b88cec1e2$exports, "InsightArticlesRequestTypeEnum", () => $6529124b88cec1e2$export$5678c8e5f4692c2);
|
|
2869
|
+
$parcel$export($6529124b88cec1e2$exports, "InsightCryptoLogoConvertedRequestConversionEnum", () => $6529124b88cec1e2$export$1e6523505b4b803);
|
|
2870
|
+
$parcel$export($6529124b88cec1e2$exports, "InsightMostPopularTagsRequestTimeEnum", () => $6529124b88cec1e2$export$e7e51d63b99df081);
|
|
2871
|
+
$parcel$export($6529124b88cec1e2$exports, "InsightMostPopularTagsRequestTypeEnum", () => $6529124b88cec1e2$export$5e181811cbeb5d91);
|
|
2872
|
+
$parcel$export($6529124b88cec1e2$exports, "InsightNewsfeedRequestTypeEnum", () => $6529124b88cec1e2$export$5c7c9bbf34e061b5);
|
|
2873
|
+
$parcel$export($6529124b88cec1e2$exports, "InsightOrderingDirectionEnum", () => $6529124b88cec1e2$export$661ece08d2d05b86);
|
|
2874
|
+
$parcel$export($6529124b88cec1e2$exports, "InsightPeriodFilterTypeEnum", () => $6529124b88cec1e2$export$46f16dc6fa42a20);
|
|
2875
|
+
$parcel$export($6529124b88cec1e2$exports, "InsightSearchArticleRequestTypeEnum", () => $6529124b88cec1e2$export$632d3a15458ae2c6);
|
|
2876
|
+
$parcel$export($6529124b88cec1e2$exports, "InsightSymbolLogoConvertedRequestConversionEnum", () => $6529124b88cec1e2$export$6bfb5caa0f359a84);
|
|
2877
|
+
$parcel$export($6529124b88cec1e2$exports, "InsightTiprankGeneralStockUpdatesParamsDetailsEnum", () => $6529124b88cec1e2$export$97b6df1e56fda1a1);
|
|
2878
|
+
$parcel$export($6529124b88cec1e2$exports, "InsightTiprankHedgefundsRecentTransactionsParamsSortEnum", () => $6529124b88cec1e2$export$d5834eb352efda2c);
|
|
2879
|
+
$parcel$export($6529124b88cec1e2$exports, "InsightTiprankInsidersLiveFeedParamsSortEnum", () => $6529124b88cec1e2$export$ffac0f87e6359797);
|
|
2880
|
+
/* eslint-disable */ /* tslint:disable */ /*
|
|
2881
|
+
* ---------------------------------------------------------------
|
|
2882
|
+
* ## THIS FILE WAS GENERATED VIA SWAGGER-TYPESCRIPT-API ##
|
|
2883
|
+
* ## ##
|
|
2884
|
+
* ## AUTHOR: acacode ##
|
|
2885
|
+
* ## SOURCE: https://github.com/acacode/swagger-typescript-api ##
|
|
2886
|
+
* ---------------------------------------------------------------
|
|
2887
|
+
*/ var $6529124b88cec1e2$export$5678c8e5f4692c2 = /*#__PURE__*/ function(InsightArticlesRequestTypeEnum) {
|
|
2888
|
+
InsightArticlesRequestTypeEnum["Education"] = "education";
|
|
2889
|
+
InsightArticlesRequestTypeEnum["NonEducation"] = "non-education";
|
|
2890
|
+
return InsightArticlesRequestTypeEnum;
|
|
2891
|
+
}({});
|
|
2892
|
+
var $6529124b88cec1e2$export$1e6523505b4b803 = /*#__PURE__*/ function(InsightCryptoLogoConvertedRequestConversionEnum) {
|
|
2893
|
+
InsightCryptoLogoConvertedRequestConversionEnum["Original"] = "original";
|
|
2894
|
+
InsightCryptoLogoConvertedRequestConversionEnum["Default"] = "default";
|
|
2895
|
+
InsightCryptoLogoConvertedRequestConversionEnum["Normal"] = "normal";
|
|
2896
|
+
InsightCryptoLogoConvertedRequestConversionEnum["Thumbnail"] = "thumbnail";
|
|
2897
|
+
InsightCryptoLogoConvertedRequestConversionEnum["Square"] = "square";
|
|
2898
|
+
InsightCryptoLogoConvertedRequestConversionEnum["SquareStrict"] = "square_strict";
|
|
2899
|
+
InsightCryptoLogoConvertedRequestConversionEnum["SquareStrictOrNormal"] = "square_strict_or_normal";
|
|
2900
|
+
InsightCryptoLogoConvertedRequestConversionEnum["BestMatch"] = "best_match";
|
|
2901
|
+
return InsightCryptoLogoConvertedRequestConversionEnum;
|
|
2902
|
+
}({});
|
|
2903
|
+
var $6529124b88cec1e2$export$e7e51d63b99df081 = /*#__PURE__*/ function(InsightMostPopularTagsRequestTimeEnum) {
|
|
2904
|
+
InsightMostPopularTagsRequestTimeEnum["Week"] = "week";
|
|
2905
|
+
InsightMostPopularTagsRequestTimeEnum["Month"] = "month";
|
|
2906
|
+
InsightMostPopularTagsRequestTimeEnum["Year"] = "year";
|
|
2907
|
+
return InsightMostPopularTagsRequestTimeEnum;
|
|
2908
|
+
}({});
|
|
2909
|
+
var $6529124b88cec1e2$export$5e181811cbeb5d91 = /*#__PURE__*/ function(InsightMostPopularTagsRequestTypeEnum) {
|
|
2910
|
+
InsightMostPopularTagsRequestTypeEnum["Symbol"] = "symbol";
|
|
2911
|
+
InsightMostPopularTagsRequestTypeEnum["Primary"] = "primary";
|
|
2912
|
+
InsightMostPopularTagsRequestTypeEnum["Tags"] = "tags";
|
|
2913
|
+
return InsightMostPopularTagsRequestTypeEnum;
|
|
2914
|
+
}({});
|
|
2915
|
+
var $6529124b88cec1e2$export$5c7c9bbf34e061b5 = /*#__PURE__*/ function(InsightNewsfeedRequestTypeEnum) {
|
|
2916
|
+
InsightNewsfeedRequestTypeEnum["Education"] = "education";
|
|
2917
|
+
InsightNewsfeedRequestTypeEnum["NonEducation"] = "non-education";
|
|
2918
|
+
return InsightNewsfeedRequestTypeEnum;
|
|
2919
|
+
}({});
|
|
2920
|
+
var $6529124b88cec1e2$export$661ece08d2d05b86 = /*#__PURE__*/ function(InsightOrderingDirectionEnum) {
|
|
2921
|
+
InsightOrderingDirectionEnum["Asc"] = "asc";
|
|
2922
|
+
InsightOrderingDirectionEnum["Desc"] = "desc";
|
|
2923
|
+
return InsightOrderingDirectionEnum;
|
|
2924
|
+
}({});
|
|
2925
|
+
var $6529124b88cec1e2$export$46f16dc6fa42a20 = /*#__PURE__*/ function(InsightPeriodFilterTypeEnum) {
|
|
2926
|
+
InsightPeriodFilterTypeEnum["Day"] = "day";
|
|
2927
|
+
InsightPeriodFilterTypeEnum["Week"] = "week";
|
|
2928
|
+
InsightPeriodFilterTypeEnum["Month"] = "month";
|
|
2929
|
+
InsightPeriodFilterTypeEnum["Year"] = "year";
|
|
2930
|
+
return InsightPeriodFilterTypeEnum;
|
|
2931
|
+
}({});
|
|
2932
|
+
var $6529124b88cec1e2$export$632d3a15458ae2c6 = /*#__PURE__*/ function(InsightSearchArticleRequestTypeEnum) {
|
|
2933
|
+
InsightSearchArticleRequestTypeEnum["All"] = "all";
|
|
2934
|
+
InsightSearchArticleRequestTypeEnum["Tag"] = "tag";
|
|
2935
|
+
InsightSearchArticleRequestTypeEnum["Primary"] = "primary";
|
|
2936
|
+
InsightSearchArticleRequestTypeEnum["Symbol"] = "symbol";
|
|
2937
|
+
return InsightSearchArticleRequestTypeEnum;
|
|
2938
|
+
}({});
|
|
2939
|
+
var $6529124b88cec1e2$export$6bfb5caa0f359a84 = /*#__PURE__*/ function(InsightSymbolLogoConvertedRequestConversionEnum) {
|
|
2940
|
+
InsightSymbolLogoConvertedRequestConversionEnum["Original"] = "original";
|
|
2941
|
+
InsightSymbolLogoConvertedRequestConversionEnum["Default"] = "default";
|
|
2942
|
+
InsightSymbolLogoConvertedRequestConversionEnum["Normal"] = "normal";
|
|
2943
|
+
InsightSymbolLogoConvertedRequestConversionEnum["Thumbnail"] = "thumbnail";
|
|
2944
|
+
InsightSymbolLogoConvertedRequestConversionEnum["Square"] = "square";
|
|
2945
|
+
InsightSymbolLogoConvertedRequestConversionEnum["SquareStrict"] = "square_strict";
|
|
2946
|
+
InsightSymbolLogoConvertedRequestConversionEnum["SquareStrictOrNormal"] = "square_strict_or_normal";
|
|
2947
|
+
InsightSymbolLogoConvertedRequestConversionEnum["BestMatch"] = "best_match";
|
|
2948
|
+
return InsightSymbolLogoConvertedRequestConversionEnum;
|
|
2949
|
+
}({});
|
|
2950
|
+
var $6529124b88cec1e2$export$97b6df1e56fda1a1 = /*#__PURE__*/ function(InsightTiprankGeneralStockUpdatesParamsDetailsEnum) {
|
|
2951
|
+
InsightTiprankGeneralStockUpdatesParamsDetailsEnum["None"] = "none";
|
|
2952
|
+
InsightTiprankGeneralStockUpdatesParamsDetailsEnum["Full"] = "full";
|
|
2953
|
+
return InsightTiprankGeneralStockUpdatesParamsDetailsEnum;
|
|
2954
|
+
}({});
|
|
2955
|
+
var $6529124b88cec1e2$export$d5834eb352efda2c = /*#__PURE__*/ function(InsightTiprankHedgefundsRecentTransactionsParamsSortEnum) {
|
|
2956
|
+
InsightTiprankHedgefundsRecentTransactionsParamsSortEnum["Value"] = "value";
|
|
2957
|
+
InsightTiprankHedgefundsRecentTransactionsParamsSortEnum["Rank"] = "rank";
|
|
2958
|
+
return InsightTiprankHedgefundsRecentTransactionsParamsSortEnum;
|
|
2959
|
+
}({});
|
|
2960
|
+
var $6529124b88cec1e2$export$ffac0f87e6359797 = /*#__PURE__*/ function(InsightTiprankInsidersLiveFeedParamsSortEnum) {
|
|
2961
|
+
InsightTiprankInsidersLiveFeedParamsSortEnum["Date"] = "date";
|
|
2962
|
+
InsightTiprankInsidersLiveFeedParamsSortEnum["Rank"] = "rank";
|
|
2963
|
+
return InsightTiprankInsidersLiveFeedParamsSortEnum;
|
|
2964
|
+
}({});
|
|
2965
|
+
|
|
2966
|
+
|
|
2967
|
+
var $5a5b6c28824ea2ac$exports = {};
|
|
2968
|
+
|
|
2969
|
+
$parcel$export($5a5b6c28824ea2ac$exports, "InsightOrderingDirectionEnumV2", () => $5a5b6c28824ea2ac$export$b439e700e69ad48f);
|
|
2970
|
+
/* eslint-disable */ /* tslint:disable */ /*
|
|
2971
|
+
* ---------------------------------------------------------------
|
|
2972
|
+
* ## THIS FILE WAS GENERATED VIA SWAGGER-TYPESCRIPT-API ##
|
|
2973
|
+
* ## ##
|
|
2974
|
+
* ## AUTHOR: acacode ##
|
|
2975
|
+
* ## SOURCE: https://github.com/acacode/swagger-typescript-api ##
|
|
2976
|
+
* ---------------------------------------------------------------
|
|
2977
|
+
*/ var $5a5b6c28824ea2ac$export$b439e700e69ad48f = /*#__PURE__*/ function(InsightOrderingDirectionEnumV2) {
|
|
2978
|
+
InsightOrderingDirectionEnumV2["Asc"] = "asc";
|
|
2979
|
+
InsightOrderingDirectionEnumV2["Desc"] = "desc";
|
|
2980
|
+
return InsightOrderingDirectionEnumV2;
|
|
2981
|
+
}({});
|
|
2982
|
+
|
|
2983
|
+
|
|
2984
|
+
var $02bb9e2291587914$exports = {};
|
|
2985
|
+
|
|
2986
|
+
$parcel$export($02bb9e2291587914$exports, "UsageTracking", () => $02bb9e2291587914$export$b459b536470ba7b4);
|
|
2987
|
+
/* eslint-disable */ /* tslint:disable */ /*
|
|
2988
|
+
* ---------------------------------------------------------------
|
|
2989
|
+
* ## THIS FILE WAS GENERATED VIA SWAGGER-TYPESCRIPT-API ##
|
|
2990
|
+
* ## ##
|
|
2991
|
+
* ## AUTHOR: acacode ##
|
|
2992
|
+
* ## SOURCE: https://github.com/acacode/swagger-typescript-api ##
|
|
2993
|
+
* ---------------------------------------------------------------
|
|
2994
|
+
*/
|
|
2995
|
+
|
|
2996
|
+
class $02bb9e2291587914$export$b459b536470ba7b4 {
|
|
2997
|
+
constructor(apiClient){
|
|
2998
|
+
this.apiClient = apiClient;
|
|
2999
|
+
(0, $lBhIu$autobind)(this);
|
|
3000
|
+
}
|
|
3001
|
+
/**
|
|
3002
|
+
* @description get usage date per branch for a period
|
|
3003
|
+
* @tags UsageTracking
|
|
3004
|
+
* @name GetUsageData
|
|
3005
|
+
* @summary get insight usage data
|
|
3006
|
+
* @request POST:/tracking/usage
|
|
3007
|
+
* @secure
|
|
3008
|
+
*/ getUsageData(filter, config) {
|
|
3009
|
+
return this.apiClient.request({
|
|
3010
|
+
...config,
|
|
3011
|
+
url: `v1/tracking/usage`,
|
|
3012
|
+
method: 'POST',
|
|
3013
|
+
data: filter,
|
|
3014
|
+
secure: true,
|
|
3015
|
+
contentType: (0, $e176194f300187e4$export$e2e108cbe2e4f865).Json,
|
|
3016
|
+
responseType: 'json'
|
|
3017
|
+
});
|
|
3018
|
+
}
|
|
3019
|
+
}
|
|
3020
|
+
|
|
3021
|
+
|
|
3022
|
+
var $e4fd4d299395345c$exports = {};
|
|
3023
|
+
|
|
3024
|
+
$parcel$export($e4fd4d299395345c$exports, "WorldMarkets", () => $e4fd4d299395345c$export$4daef4f2194760f0);
|
|
3025
|
+
/* eslint-disable */ /* tslint:disable */ /*
|
|
3026
|
+
* ---------------------------------------------------------------
|
|
3027
|
+
* ## THIS FILE WAS GENERATED VIA SWAGGER-TYPESCRIPT-API ##
|
|
3028
|
+
* ## ##
|
|
3029
|
+
* ## AUTHOR: acacode ##
|
|
3030
|
+
* ## SOURCE: https://github.com/acacode/swagger-typescript-api ##
|
|
3031
|
+
* ---------------------------------------------------------------
|
|
3032
|
+
*/
|
|
3033
|
+
|
|
3034
|
+
class $e4fd4d299395345c$export$4daef4f2194760f0 {
|
|
3035
|
+
constructor(apiClient){
|
|
3036
|
+
this.apiClient = apiClient;
|
|
3037
|
+
(0, $lBhIu$autobind)(this);
|
|
3038
|
+
}
|
|
3039
|
+
/**
|
|
3040
|
+
* @description Get continents
|
|
3041
|
+
* @tags World Markets
|
|
3042
|
+
* @name ContinentGet
|
|
3043
|
+
* @summary Get continents
|
|
3044
|
+
* @request GET:/continents
|
|
3045
|
+
* @secure
|
|
3046
|
+
*/ continentGet(query, config) {
|
|
3047
|
+
return this.apiClient.request({
|
|
3048
|
+
...config,
|
|
3049
|
+
url: `v1/continents`,
|
|
3050
|
+
method: 'GET',
|
|
3051
|
+
params: query,
|
|
3052
|
+
secure: true,
|
|
3053
|
+
contentType: (0, $e176194f300187e4$export$e2e108cbe2e4f865).Json,
|
|
3054
|
+
responseType: 'json'
|
|
3055
|
+
});
|
|
3056
|
+
}
|
|
3057
|
+
/**
|
|
3058
|
+
* @description Edit continent
|
|
3059
|
+
* @tags World Markets
|
|
3060
|
+
* @name ContinentEdit
|
|
3061
|
+
* @summary Edit continent
|
|
3062
|
+
* @request PUT:/continents
|
|
3063
|
+
* @secure
|
|
3064
|
+
*/ continentEdit(filter, config) {
|
|
3065
|
+
return this.apiClient.request({
|
|
3066
|
+
...config,
|
|
3067
|
+
url: `v1/continents`,
|
|
3068
|
+
method: 'PUT',
|
|
3069
|
+
data: filter,
|
|
3070
|
+
secure: true,
|
|
3071
|
+
contentType: (0, $e176194f300187e4$export$e2e108cbe2e4f865).Json
|
|
3072
|
+
});
|
|
3073
|
+
}
|
|
3074
|
+
/**
|
|
3075
|
+
* @description Create continents
|
|
3076
|
+
* @tags World Markets
|
|
3077
|
+
* @name ContinentCreate
|
|
3078
|
+
* @summary Create continents
|
|
3079
|
+
* @request POST:/continents
|
|
3080
|
+
* @secure
|
|
3081
|
+
*/ continentCreate(filter, config) {
|
|
3082
|
+
return this.apiClient.request({
|
|
3083
|
+
...config,
|
|
3084
|
+
url: `v1/continents`,
|
|
3085
|
+
method: 'POST',
|
|
3086
|
+
data: filter,
|
|
3087
|
+
secure: true,
|
|
3088
|
+
contentType: (0, $e176194f300187e4$export$e2e108cbe2e4f865).Json,
|
|
3089
|
+
responseType: 'json'
|
|
3090
|
+
});
|
|
3091
|
+
}
|
|
3092
|
+
/**
|
|
3093
|
+
* @description Delete continent
|
|
3094
|
+
* @tags World Markets
|
|
3095
|
+
* @name ContinentDelete
|
|
3096
|
+
* @summary Delete continent
|
|
3097
|
+
* @request DELETE:/continents
|
|
3098
|
+
* @secure
|
|
3099
|
+
*/ continentDelete(query, config) {
|
|
3100
|
+
return this.apiClient.request({
|
|
3101
|
+
...config,
|
|
3102
|
+
url: `v1/continents`,
|
|
3103
|
+
method: 'DELETE',
|
|
3104
|
+
params: query,
|
|
3105
|
+
secure: true,
|
|
3106
|
+
contentType: (0, $e176194f300187e4$export$e2e108cbe2e4f865).Json
|
|
3107
|
+
});
|
|
3108
|
+
}
|
|
3109
|
+
/**
|
|
3110
|
+
* @description Get country codes
|
|
3111
|
+
* @tags World Markets
|
|
3112
|
+
* @name CountryCodeGet
|
|
3113
|
+
* @summary Get country codes
|
|
3114
|
+
* @request GET:/country-codes
|
|
3115
|
+
* @secure
|
|
3116
|
+
*/ countryCodeGet(query, config) {
|
|
3117
|
+
return this.apiClient.request({
|
|
3118
|
+
...config,
|
|
3119
|
+
url: `v1/country-codes`,
|
|
3120
|
+
method: 'GET',
|
|
3121
|
+
params: query,
|
|
3122
|
+
secure: true,
|
|
3123
|
+
contentType: (0, $e176194f300187e4$export$e2e108cbe2e4f865).Json,
|
|
3124
|
+
responseType: 'json'
|
|
3125
|
+
});
|
|
3126
|
+
}
|
|
3127
|
+
/**
|
|
3128
|
+
* @description Edit country code
|
|
3129
|
+
* @tags World Markets
|
|
3130
|
+
* @name CountryCodeEdit
|
|
3131
|
+
* @summary Edit country code
|
|
3132
|
+
* @request PUT:/country-codes
|
|
3133
|
+
* @secure
|
|
3134
|
+
*/ countryCodeEdit(filter, config) {
|
|
3135
|
+
return this.apiClient.request({
|
|
3136
|
+
...config,
|
|
3137
|
+
url: `v1/country-codes`,
|
|
3138
|
+
method: 'PUT',
|
|
3139
|
+
data: filter,
|
|
3140
|
+
secure: true,
|
|
3141
|
+
contentType: (0, $e176194f300187e4$export$e2e108cbe2e4f865).Json
|
|
3142
|
+
});
|
|
3143
|
+
}
|
|
3144
|
+
/**
|
|
3145
|
+
* @description Add country codes
|
|
3146
|
+
* @tags World Markets
|
|
3147
|
+
* @name CountryCodeAdd
|
|
3148
|
+
* @summary Add country codes
|
|
3149
|
+
* @request POST:/country-codes
|
|
3150
|
+
* @secure
|
|
3151
|
+
*/ countryCodeAdd(filter, config) {
|
|
3152
|
+
return this.apiClient.request({
|
|
3153
|
+
...config,
|
|
3154
|
+
url: `v1/country-codes`,
|
|
3155
|
+
method: 'POST',
|
|
3156
|
+
data: filter,
|
|
3157
|
+
secure: true,
|
|
3158
|
+
contentType: (0, $e176194f300187e4$export$e2e108cbe2e4f865).Json,
|
|
3159
|
+
responseType: 'json'
|
|
3160
|
+
});
|
|
3161
|
+
}
|
|
3162
|
+
/**
|
|
3163
|
+
* @description Delete country code
|
|
3164
|
+
* @tags World Markets
|
|
3165
|
+
* @name CountryCodeDelete
|
|
3166
|
+
* @summary Delete country code
|
|
3167
|
+
* @request DELETE:/country-codes
|
|
3168
|
+
* @secure
|
|
3169
|
+
*/ countryCodeDelete(query, config) {
|
|
3170
|
+
return this.apiClient.request({
|
|
3171
|
+
...config,
|
|
3172
|
+
url: `v1/country-codes`,
|
|
3173
|
+
method: 'DELETE',
|
|
3174
|
+
params: query,
|
|
3175
|
+
secure: true,
|
|
3176
|
+
contentType: (0, $e176194f300187e4$export$e2e108cbe2e4f865).Json
|
|
3177
|
+
});
|
|
3178
|
+
}
|
|
3179
|
+
/**
|
|
3180
|
+
* @description Get global indexes
|
|
3181
|
+
* @tags World Markets
|
|
3182
|
+
* @name GlobalIndexGet
|
|
3183
|
+
* @summary Get global indexes
|
|
3184
|
+
* @request GET:/global-indexes
|
|
3185
|
+
* @secure
|
|
3186
|
+
*/ globalIndexGet(query, config) {
|
|
3187
|
+
return this.apiClient.request({
|
|
3188
|
+
...config,
|
|
3189
|
+
url: `v1/global-indexes`,
|
|
3190
|
+
method: 'GET',
|
|
3191
|
+
params: query,
|
|
3192
|
+
secure: true,
|
|
3193
|
+
contentType: (0, $e176194f300187e4$export$e2e108cbe2e4f865).Json,
|
|
3194
|
+
responseType: 'json'
|
|
3195
|
+
});
|
|
3196
|
+
}
|
|
3197
|
+
/**
|
|
3198
|
+
* @description Edit global index
|
|
3199
|
+
* @tags World Markets
|
|
3200
|
+
* @name GlobalIndexEdit
|
|
3201
|
+
* @summary Edit global index
|
|
3202
|
+
* @request PUT:/global-indexes
|
|
3203
|
+
* @secure
|
|
3204
|
+
*/ globalIndexEdit(filter, config) {
|
|
3205
|
+
return this.apiClient.request({
|
|
3206
|
+
...config,
|
|
3207
|
+
url: `v1/global-indexes`,
|
|
3208
|
+
method: 'PUT',
|
|
3209
|
+
data: filter,
|
|
3210
|
+
secure: true,
|
|
3211
|
+
contentType: (0, $e176194f300187e4$export$e2e108cbe2e4f865).Json
|
|
3212
|
+
});
|
|
3213
|
+
}
|
|
3214
|
+
/**
|
|
3215
|
+
* @description Add global indexes
|
|
3216
|
+
* @tags World Markets
|
|
3217
|
+
* @name GlobalIndexAdd
|
|
3218
|
+
* @summary Add global indexes
|
|
3219
|
+
* @request POST:/global-indexes
|
|
3220
|
+
* @secure
|
|
3221
|
+
*/ globalIndexAdd(filter, config) {
|
|
3222
|
+
return this.apiClient.request({
|
|
3223
|
+
...config,
|
|
3224
|
+
url: `v1/global-indexes`,
|
|
3225
|
+
method: 'POST',
|
|
3226
|
+
data: filter,
|
|
3227
|
+
secure: true,
|
|
3228
|
+
contentType: (0, $e176194f300187e4$export$e2e108cbe2e4f865).Json,
|
|
3229
|
+
responseType: 'json'
|
|
3230
|
+
});
|
|
3231
|
+
}
|
|
3232
|
+
/**
|
|
3233
|
+
* @description Edit global index
|
|
3234
|
+
* @tags World Markets
|
|
3235
|
+
* @name GlobalIndexDelete
|
|
3236
|
+
* @summary Delete global index
|
|
3237
|
+
* @request DELETE:/global-indexes
|
|
3238
|
+
* @secure
|
|
3239
|
+
*/ globalIndexDelete(query, config) {
|
|
3240
|
+
return this.apiClient.request({
|
|
3241
|
+
...config,
|
|
3242
|
+
url: `v1/global-indexes`,
|
|
3243
|
+
method: 'DELETE',
|
|
3244
|
+
params: query,
|
|
3245
|
+
secure: true,
|
|
3246
|
+
contentType: (0, $e176194f300187e4$export$e2e108cbe2e4f865).Json
|
|
3247
|
+
});
|
|
3248
|
+
}
|
|
3249
|
+
/**
|
|
3250
|
+
* @description Get regions
|
|
3251
|
+
* @tags World Markets
|
|
3252
|
+
* @name RegionGet
|
|
3253
|
+
* @summary Get regions
|
|
3254
|
+
* @request GET:/regions
|
|
3255
|
+
* @secure
|
|
3256
|
+
*/ regionGet(query, config) {
|
|
3257
|
+
return this.apiClient.request({
|
|
3258
|
+
...config,
|
|
3259
|
+
url: `v1/regions`,
|
|
3260
|
+
method: 'GET',
|
|
3261
|
+
params: query,
|
|
3262
|
+
secure: true,
|
|
3263
|
+
contentType: (0, $e176194f300187e4$export$e2e108cbe2e4f865).Json,
|
|
3264
|
+
responseType: 'json'
|
|
3265
|
+
});
|
|
3266
|
+
}
|
|
3267
|
+
/**
|
|
3268
|
+
* @description Edit region
|
|
3269
|
+
* @tags World Markets
|
|
3270
|
+
* @name RegionEdit
|
|
3271
|
+
* @summary Edit region
|
|
3272
|
+
* @request PUT:/regions
|
|
3273
|
+
* @secure
|
|
3274
|
+
*/ regionEdit(filter, config) {
|
|
3275
|
+
return this.apiClient.request({
|
|
3276
|
+
...config,
|
|
3277
|
+
url: `v1/regions`,
|
|
3278
|
+
method: 'PUT',
|
|
3279
|
+
data: filter,
|
|
3280
|
+
secure: true,
|
|
3281
|
+
contentType: (0, $e176194f300187e4$export$e2e108cbe2e4f865).Json
|
|
3282
|
+
});
|
|
3283
|
+
}
|
|
3284
|
+
/**
|
|
3285
|
+
* @description Create regions
|
|
3286
|
+
* @tags World Markets
|
|
3287
|
+
* @name RegionCreate
|
|
3288
|
+
* @summary Create regions
|
|
3289
|
+
* @request POST:/regions
|
|
3290
|
+
* @secure
|
|
3291
|
+
*/ regionCreate(filter, config) {
|
|
3292
|
+
return this.apiClient.request({
|
|
3293
|
+
...config,
|
|
3294
|
+
url: `v1/regions`,
|
|
3295
|
+
method: 'POST',
|
|
3296
|
+
data: filter,
|
|
3297
|
+
secure: true,
|
|
3298
|
+
contentType: (0, $e176194f300187e4$export$e2e108cbe2e4f865).Json,
|
|
3299
|
+
responseType: 'json'
|
|
3300
|
+
});
|
|
3301
|
+
}
|
|
3302
|
+
/**
|
|
3303
|
+
* @description Delete region
|
|
3304
|
+
* @tags World Markets
|
|
3305
|
+
* @name RegionDelete
|
|
3306
|
+
* @summary Delete region
|
|
3307
|
+
* @request DELETE:/regions
|
|
3308
|
+
* @secure
|
|
3309
|
+
*/ regionDelete(query, config) {
|
|
3310
|
+
return this.apiClient.request({
|
|
3311
|
+
...config,
|
|
3312
|
+
url: `v1/regions`,
|
|
3313
|
+
method: 'DELETE',
|
|
3314
|
+
params: query,
|
|
3315
|
+
secure: true,
|
|
3316
|
+
contentType: (0, $e176194f300187e4$export$e2e108cbe2e4f865).Json
|
|
3317
|
+
});
|
|
3318
|
+
}
|
|
3319
|
+
}
|
|
3320
|
+
|
|
3321
|
+
|
|
3322
|
+
$parcel$exportWildcard($c61269341cdda547$exports, $49be2d6ca49895b2$exports);
|
|
3323
|
+
$parcel$exportWildcard($c61269341cdda547$exports, $602ca224f9f0d551$exports);
|
|
3324
|
+
$parcel$exportWildcard($c61269341cdda547$exports, $7ebb2682d8f0e3a6$exports);
|
|
3325
|
+
$parcel$exportWildcard($c61269341cdda547$exports, $6f6df5eb0e6fe916$exports);
|
|
3326
|
+
$parcel$exportWildcard($c61269341cdda547$exports, $a5b0067a0b76bfa5$exports);
|
|
3327
|
+
$parcel$exportWildcard($c61269341cdda547$exports, $54d55bd90e96814a$exports);
|
|
3328
|
+
$parcel$exportWildcard($c61269341cdda547$exports, $91357b0ded5a4b7d$exports);
|
|
3329
|
+
$parcel$exportWildcard($c61269341cdda547$exports, $02349c0bb21bcc16$exports);
|
|
3330
|
+
$parcel$exportWildcard($c61269341cdda547$exports, $a22581188a2a4d95$exports);
|
|
3331
|
+
$parcel$exportWildcard($c61269341cdda547$exports, $726b9c3f9fc37844$exports);
|
|
3332
|
+
$parcel$exportWildcard($c61269341cdda547$exports, $47a8098f07a15542$exports);
|
|
3333
|
+
$parcel$exportWildcard($c61269341cdda547$exports, $5ada14269dcdf959$exports);
|
|
3334
|
+
$parcel$exportWildcard($c61269341cdda547$exports, $586e46f6fa35f6d7$exports);
|
|
3335
|
+
$parcel$exportWildcard($c61269341cdda547$exports, $f55bc79bad2e33fa$exports);
|
|
3336
|
+
$parcel$exportWildcard($c61269341cdda547$exports, $c2fb54d9032f92eb$exports);
|
|
3337
|
+
$parcel$exportWildcard($c61269341cdda547$exports, $9bfeba9fc4fbd748$exports);
|
|
3338
|
+
$parcel$exportWildcard($c61269341cdda547$exports, $338f1cb542475a61$exports);
|
|
3339
|
+
$parcel$exportWildcard($c61269341cdda547$exports, $94b9e0124da020e0$exports);
|
|
3340
|
+
$parcel$exportWildcard($c61269341cdda547$exports, $e024c6aeed05eb97$exports);
|
|
3341
|
+
$parcel$exportWildcard($c61269341cdda547$exports, $bb275ecb58495ca6$exports);
|
|
3342
|
+
$parcel$exportWildcard($c61269341cdda547$exports, $5e60571b00eb4814$exports);
|
|
3343
|
+
$parcel$exportWildcard($c61269341cdda547$exports, $b5c8c2ccd7f24b2e$exports);
|
|
3344
|
+
$parcel$exportWildcard($c61269341cdda547$exports, $f37d06db45153ca6$exports);
|
|
3345
|
+
$parcel$exportWildcard($c61269341cdda547$exports, $6529124b88cec1e2$exports);
|
|
3346
|
+
$parcel$exportWildcard($c61269341cdda547$exports, $5a5b6c28824ea2ac$exports);
|
|
3347
|
+
$parcel$exportWildcard($c61269341cdda547$exports, $02bb9e2291587914$exports);
|
|
3348
|
+
$parcel$exportWildcard($c61269341cdda547$exports, $e4fd4d299395345c$exports);
|
|
3349
|
+
|
|
3350
|
+
|
|
3351
|
+
class $4b3cd0f4fec0f698$export$b03bdbac175050c6 extends (0, $001a7a5b1ca54b2d$export$3ad201792064a82b) {
|
|
3352
|
+
constructor(config){
|
|
3353
|
+
super(new (0, $584c124673bb843e$export$f280b732bbc5934b)(config)), this.config = config;
|
|
3354
|
+
this.alphaTools = new (0, $49be2d6ca49895b2$export$ed85ff281af62cde)(this.apiClient);
|
|
3355
|
+
this.companyProfile = new (0, $602ca224f9f0d551$export$870daabe3177f90)(this.apiClient);
|
|
3356
|
+
this.customList = new (0, $7ebb2682d8f0e3a6$export$4711ab95d8152721)(this.apiClient);
|
|
3357
|
+
this.dashboard = new (0, $6f6df5eb0e6fe916$export$fe82a520fc33e5f4)(this.apiClient);
|
|
3358
|
+
this.earning = new (0, $a5b0067a0b76bfa5$export$372bd802248574f6)(this.apiClient);
|
|
3359
|
+
this.fixedIncome = new (0, $54d55bd90e96814a$export$f5b6431bc66f10e7)(this.apiClient);
|
|
3360
|
+
this.fundamentals = new (0, $02349c0bb21bcc16$export$e19ec630f53d792c)(this.apiClient);
|
|
3361
|
+
this.fund = new (0, $a22581188a2a4d95$export$716c3a3abe6bd3e5)(this.apiClient);
|
|
3362
|
+
this.intraday = new (0, $726b9c3f9fc37844$export$86595f7720464bda)(this.apiClient);
|
|
3363
|
+
this.ipos = new (0, $47a8098f07a15542$export$2348bbd1c1985d71)(this.apiClient);
|
|
3364
|
+
this.lists = new (0, $5ada14269dcdf959$export$e1553435d4022be)(this.apiClient);
|
|
3365
|
+
this.logos = new (0, $586e46f6fa35f6d7$export$c847549a613b9060)(this.apiClient);
|
|
3366
|
+
this.marketDates = new (0, $f55bc79bad2e33fa$export$a602973ad79103a9)(this.apiClient);
|
|
3367
|
+
this.news = new (0, $c2fb54d9032f92eb$export$aec6fe3795564851)(this.apiClient);
|
|
3368
|
+
this.optionGreeks = new (0, $9bfeba9fc4fbd748$export$a6ca9702e3f0466c)(this.apiClient);
|
|
3369
|
+
this.ownerships = new (0, $338f1cb542475a61$export$4b35c77764e423be)(this.apiClient);
|
|
3370
|
+
this.passport = new (0, $94b9e0124da020e0$export$55bc3cd7df55e5aa)(this.apiClient);
|
|
3371
|
+
this.public = new (0, $e024c6aeed05eb97$export$68b4491d6924a6d1)(this.apiClient);
|
|
3372
|
+
this.quotes = new (0, $bb275ecb58495ca6$export$d459179d2c3ffa58)(this.apiClient);
|
|
3373
|
+
this.stockScreener = new (0, $5e60571b00eb4814$export$2d277a5c1cfe2fdd)(this.apiClient);
|
|
3374
|
+
this.tiprank = new (0, $f37d06db45153ca6$export$67a46d882b442dd1)(this.apiClient);
|
|
3375
|
+
this.usageTracking = new (0, $02bb9e2291587914$export$b459b536470ba7b4)(this.apiClient);
|
|
3376
|
+
this.worldMarkets = new (0, $e4fd4d299395345c$export$4daef4f2194760f0)(this.apiClient);
|
|
3377
|
+
this.v2 = {
|
|
3378
|
+
fixedIncome: new (0, $91357b0ded5a4b7d$export$26ad2b03ad4e4241)(this.apiClient),
|
|
3379
|
+
stockScreener: new (0, $b5c8c2ccd7f24b2e$export$35f6579f0249953e)(this.apiClient)
|
|
3380
|
+
};
|
|
3381
|
+
}
|
|
3382
|
+
}
|
|
3383
|
+
|
|
3384
|
+
|
|
3385
|
+
|
|
3386
|
+
|
|
3387
|
+
|
|
3388
|
+
export {$4b3cd0f4fec0f698$export$b03bdbac175050c6 as InsightApi, $49be2d6ca49895b2$export$ed85ff281af62cde as AlphaTools, $602ca224f9f0d551$export$870daabe3177f90 as CompanyProfile, $7ebb2682d8f0e3a6$export$4711ab95d8152721 as CustomLists, $6f6df5eb0e6fe916$export$fe82a520fc33e5f4 as Dashboard, $a5b0067a0b76bfa5$export$372bd802248574f6 as Earnings, $54d55bd90e96814a$export$f5b6431bc66f10e7 as FixedIncome, $91357b0ded5a4b7d$export$26ad2b03ad4e4241 as FixedIncomeV2, $02349c0bb21bcc16$export$e19ec630f53d792c as Fundamentals, $a22581188a2a4d95$export$716c3a3abe6bd3e5 as Funds, $726b9c3f9fc37844$export$86595f7720464bda as Intraday, $47a8098f07a15542$export$2348bbd1c1985d71 as Ipos, $5ada14269dcdf959$export$e1553435d4022be as Lists, $586e46f6fa35f6d7$export$c847549a613b9060 as Logos, $f55bc79bad2e33fa$export$a602973ad79103a9 as MarketDates, $c2fb54d9032f92eb$export$aec6fe3795564851 as News, $9bfeba9fc4fbd748$export$a6ca9702e3f0466c as OptionGreeks, $338f1cb542475a61$export$4b35c77764e423be as Ownerships, $94b9e0124da020e0$export$55bc3cd7df55e5aa as Passport, $e024c6aeed05eb97$export$68b4491d6924a6d1 as Public, $bb275ecb58495ca6$export$d459179d2c3ffa58 as Quotes, $5e60571b00eb4814$export$2d277a5c1cfe2fdd as StockScreener, $b5c8c2ccd7f24b2e$export$35f6579f0249953e as StockScreenerV2, $f37d06db45153ca6$export$67a46d882b442dd1 as TipRank, $6529124b88cec1e2$export$5678c8e5f4692c2 as InsightArticlesRequestTypeEnum, $6529124b88cec1e2$export$1e6523505b4b803 as InsightCryptoLogoConvertedRequestConversionEnum, $6529124b88cec1e2$export$e7e51d63b99df081 as InsightMostPopularTagsRequestTimeEnum, $6529124b88cec1e2$export$5e181811cbeb5d91 as InsightMostPopularTagsRequestTypeEnum, $6529124b88cec1e2$export$5c7c9bbf34e061b5 as InsightNewsfeedRequestTypeEnum, $6529124b88cec1e2$export$661ece08d2d05b86 as InsightOrderingDirectionEnum, $6529124b88cec1e2$export$46f16dc6fa42a20 as InsightPeriodFilterTypeEnum, $6529124b88cec1e2$export$632d3a15458ae2c6 as InsightSearchArticleRequestTypeEnum, $6529124b88cec1e2$export$6bfb5caa0f359a84 as InsightSymbolLogoConvertedRequestConversionEnum, $6529124b88cec1e2$export$97b6df1e56fda1a1 as InsightTiprankGeneralStockUpdatesParamsDetailsEnum, $6529124b88cec1e2$export$d5834eb352efda2c as InsightTiprankHedgefundsRecentTransactionsParamsSortEnum, $6529124b88cec1e2$export$ffac0f87e6359797 as InsightTiprankInsidersLiveFeedParamsSortEnum, $5a5b6c28824ea2ac$export$b439e700e69ad48f as InsightOrderingDirectionEnumV2, $02bb9e2291587914$export$b459b536470ba7b4 as UsageTracking, $e4fd4d299395345c$export$4daef4f2194760f0 as WorldMarkets};
|
|
2
3389
|
//# sourceMappingURL=index.esm.js.map
|