@orbis-systems/orbis-api-clients 0.8.1 → 0.8.2

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.
Files changed (37) hide show
  1. package/dist/aesmidas/index.d.ts +371 -345
  2. package/dist/aesmidas/index.d.ts.map +1 -1
  3. package/dist/aesmidas/index.esm.js +1 -1
  4. package/dist/aesmidas/index.esm.js.map +1 -1
  5. package/dist/aesmidas/index.js +1 -1
  6. package/dist/aesmidas/index.js.map +1 -1
  7. package/dist/bridgewise/index.d.ts +5255 -4169
  8. package/dist/bridgewise/index.d.ts.map +1 -1
  9. package/dist/bridgewise/index.esm.js +1 -1
  10. package/dist/bridgewise/index.esm.js.map +1 -1
  11. package/dist/bridgewise/index.js +1 -1
  12. package/dist/bridgewise/index.js.map +1 -1
  13. package/dist/insight/index.d.ts +244 -235
  14. package/dist/insight/index.d.ts.map +1 -1
  15. package/dist/insight/index.esm.js +1 -1
  16. package/dist/insight/index.esm.js.map +1 -1
  17. package/dist/insight/index.js +1 -1
  18. package/dist/insight/index.js.map +1 -1
  19. package/dist/middleware/index.d.ts +46 -46
  20. package/dist/middleware/index.d.ts.map +1 -1
  21. package/dist/middleware/index.esm.js +1 -1
  22. package/dist/middleware/index.esm.js.map +1 -1
  23. package/dist/middleware/index.js +1 -1
  24. package/dist/middleware/index.js.map +1 -1
  25. package/dist/orbis/index.d.ts +76 -76
  26. package/dist/orbis/index.d.ts.map +1 -1
  27. package/dist/orbis/index.esm.js +1 -1
  28. package/dist/orbis/index.esm.js.map +1 -1
  29. package/dist/orbis/index.js +1 -1
  30. package/dist/orbis/index.js.map +1 -1
  31. package/dist/uma/index.d.ts +243 -274
  32. package/dist/uma/index.d.ts.map +1 -1
  33. package/dist/uma/index.esm.js +1 -1
  34. package/dist/uma/index.esm.js.map +1 -1
  35. package/dist/uma/index.js +1 -1
  36. package/dist/uma/index.js.map +1 -1
  37. package/package.json +1 -1
@@ -1,2 +1,2 @@
1
- import e from"auto-bind";import{Mutex as t,E_CANCELED as s}from"async-mutex";import{consola as r}from"consola";import{isBefore as a,subMinutes as n}from"date-fns";import{jwtDecode as i}from"jwt-decode";import o,{isAxiosError as c}from"axios";import u from"axios-better-stacktrace";import{isNil as l,merge as p}from"lodash";function d(e,t,s,r){Object.defineProperty(e,t,{get:s,set:r,enumerable:!0,configurable:!0})}function m(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}d({},"BridgeWiseApi",()=>tX);class h{constructor(t){this.apiClient=t,e(this)}getApiClient(){return this.apiClient}}var g,_,y,T,C,f,$,E,S,b,v,G,B,q,V,k,x,P,A,w,F,R,j,D,W,I,M,L,Y,N,O,H,U,J,K,z,Q,Z,X,ee,et,es,er,ea,en,ei,eo=((g={}).Json="application/json",g.FormData="multipart/form-data",g.UrlEncoded="application/x-www-form-urlencoded",g.Text="text/plain",g);class ec{constructor(t){this.config=t,e(this),this.storage=t.storage??sessionStorage,this.axiosInstance=o.create({...t.axiosConfig,baseURL:t.baseUrl,headers:{"Content-Type":"application/json",...t.axiosConfig?.headers}}),u(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;l(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 r=p(e.secure??this.config.defaultSecure??!0?await this.prepareAuthRequestConfig():{},t?{headers:{"Content-Type":t}}:{},e);try{let{data:e,status:t,statusText:s}=await this.axiosInstance.request(r);return{success:!0,data:e,status:t,statusText:s}}catch(s){let t={success:!1,status:-1,statusText:String(s),error:s};if(c(s)&&(this.config.onAxiosError?.(s),t.data=s.response?.data,t.status=s.response?.status??t.status,t.statusText=s.response?.statusText??t.statusText),this.config.onError?.(s),!this.config.handleError&&!e.handleError)throw s;return t}}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 eu extends ec{constructor(e){super(e),this.config=e,this.lock=new t}getConfig(){return super.getConfig()}setRenewTokensCallback(e){this.renewTokensCallback=e}async prepareAuthRequestConfig(){if(this.config.axiosConfig?.withCredentials)return{};let{accessToken:e}=this.getAuthData()||{};if(!e)return r.warn("No access token found. Please set auth data after authorization."),{};if(!1!==this.config.autoRenewToken&&this.isTokenExpired(e))try{await this.lock.runExclusive(async()=>{this.config.debug&&r.debug("Access token expired. Renewing…"),e=(await this.renewTokens()).accessToken,this.lock.cancel()})}catch(t){if(t===s)e=this.getAuthData()?.accessToken;else throw t}return{headers:{Authorization:`${this.config.authSchema??"Bearer"} ${e}`}}}isTokenExpired(e){let t=i(e);return!t.exp||a(n(1e3*t.exp,1),Date.now())}async renewTokens(){let e=this.config.onRenewTokens??this.renewTokensCallback;if(!e)throw Error("No renew tokens callback provided");try{let t=await e();return this.setAuthData(t),t}catch(e){throw r.warn("Could not renew tokens",e),e}}}var el={},ep={};d(ep,"BridgeWiseAlertLanguagesEnum",()=>ed),d(ep,"BridgeWiseAssetTypeEnum",()=>em),d(ep,"BridgeWiseEventSentimentEnum",()=>eh),d(ep,"BridgeWiseEventTypeEnum",()=>eg),d(ep,"BridgeWiseBondsSectionTypeEnum",()=>e_),d(ep,"BridgeWiseLanguageEnum",()=>ey),d(ep,"BridgeWiseUniverseEnum",()=>eT),d(ep,"BridgeWiseStringBooleanEnum",()=>eC),d(ep,"BridgeWiseCompanyAlertSentiment",()=>ef),d(ep,"BridgeWiseCompanyAlertType",()=>e$),d(ep,"BridgeWiseCompaniesSortByEnum",()=>eE),d(ep,"BridgeWiseCompanyFilterType",()=>eS),d(ep,"BridgeWiseFundsSortByEnum",()=>eb),d(ep,"BridgeWiseImageExtensionEnum",()=>ev),d(ep,"BridgeWiseLogoSizeEnum",()=>eG),d(ep,"BridgeWiseLogoTypeEnum",()=>eB),d(ep,"BridgeWiseCompanyNewsSortingEnum",()=>eq),d(ep,"BridgeWiseESGSectionTypeEnum",()=>eV),d(ep,"BridgeWiseEarningsCallRecapEnum",()=>ek),d(ep,"BridgeWiseFundamentalParagraphSectionTypeEnum",()=>ex),d(ep,"BridgeWiseParagraphTextEnum",()=>eP),d(ep,"BridgeWiseScoringMethodEnum",()=>eA),d(ep,"BridgeWiseESGScoreGroup",()=>ew),d(ep,"BridgeWiseESGSectionTypeParamEnumV2",()=>eF),d(ep,"BridgeWiseFundamentalSectionTypeEnum",()=>eR),d(ep,"BridgeWisePeriodTypeEnum",()=>ej),d(ep,"BridgeWisePDFReportType",()=>eD),d(ep,"BridgeWiseAnalysisTypeEnum",()=>eW),d(ep,"BridgeWiseGlobalIndustryScoringEnum",()=>eI),d(ep,"BridgeWiseScoreMethodology",()=>eM),d(ep,"BridgeWiseTenantIdentifierStatusEnum",()=>eL),d(ep,"BridgeWiseThemeAssetClassEnum",()=>eY),d(ep,"BridgeWiseThemeGroupEnum",()=>eN),d(ep,"BridgeWiseThemeLanguageEnum",()=>eO),d(ep,"BridgeWiseThemePackageEnum",()=>eH),d(ep,"BridgeWiseThemeTypeEnum",()=>eU),d(ep,"BridgeWiseIdCheckConfigNameEnum",()=>eJ),d(ep,"BridgeWiseIdCheckConfigOperatorEnum",()=>eK),d(ep,"BridgeWiseMarketDataConfigNameEnum",()=>ez),d(ep,"BridgeWiseMarketDataConfigOperatorEnum",()=>eQ),d(ep,"BridgeWiseStockingFloatConfigOperatorEnum",()=>eZ),d(ep,"BridgeWiseGetBusinessDescriptionParamsDateFormatEnum",()=>eX),d(ep,"BridgeWiseGetFundamentalAnalysisParamsDateFormatEnum",()=>e0),d(ep,"BridgeWiseGetIndustryDescriptionParamsDateFormatEnum",()=>e1),d(ep,"BridgeWiseGetTechnicalAnalysisParamsDateFormatEnum",()=>e4);var ed=((_={}).ArSA="ar-SA",_.EnUS="en-US",_.EsES="es-ES",_.FrFR="fr-FR",_.HeIL="he-IL",_.JaJP="ja-JP",_.PtBR="pt-BR",_),em=((y={}).Cryptocurrency="cryptocurrency",y.Forex="forex",y.Commodity="commodity",y.Stock="stock",y.Etf="etf",y),eh=((T={}).Positive="positive",T.Negative="negative",T),eg=((C={}).PolicyThreshold="policy_threshold",C.InternalCoverage="internal_coverage",C.BwRecommendation="bw_recommendation",C),e_=((f={}).CompanyDescription="company_description",f.CreditQualityScoreSummary="credit_quality_score_summary",f.CreditOutlookAnalysis="credit_outlook_analysis",f.SizeAndMarketPosition="size_and_market_position",f.LeverageAndSolvency="leverage_and_solvency",f.Profitability="profitability",f.FinancialPolicy="financial_policy",f),ey=(($={}).ArSA="ar-SA",$.DeDE="de-DE",$.EnUS="en-US",$.EsES="es-ES",$.FrFR="fr-FR",$.HeIL="he-IL",$.NlNL="nl-NL",$.PtBR="pt-BR",$.TrTR="tr-TR",$.ZhCN="zh-CN",$.JaJP="ja-JP",$.KoKR="ko-KR",$.ThTH="th-TH",$.ZhHK="zh-HK",$),eT=((E={}).Industry="industry",E.Country="country",E),eC=((S={}).True="true",S.False="false",S),ef=((b={}).Positive="positive",b.Negative="negative",b),e$=((v={}).Fundamental="fundamental",v.Market="market",v),eE=((G={}).ValueAnalysisEsgScore="-analysis_esg_score",G.ValueAnalysisEsgScoreGroup="-analysis_esg_score_group",G.ValueAnalysisFundamentalScore="-analysis_fundamental_score",G.ValueAnalysisFundamentalScoreGroup="-analysis_fundamental_score_group",G.ValueAnalysisTechnicalScore="-analysis_technical_score",G.ValueAssetsTurnover="-assets_turnover",G.ValueAverageRevenuePerSubscriber="-average_revenue_per_subscriber",G.ValueBeta="-beta",G.ValueBeta1Year="-beta_1_year",G.ValueBeta1Y="-beta_1y",G.ValueConsensusAnalystCount="-consensus_analyst_count",G.ValueConsensusScoreGroup="-consensus_score_group",G.ValueCurrentPeRatio="-current_pe_ratio",G.ValueCurrentRatio="-current_ratio",G.ValueDividendYield="-dividend_yield",G.ValueDividendYieldPercentage="-dividend_yield_percentage",G.ValueEbitByInterestExpense="-ebit_by_interest_expense",G.ValueEbitdaMarginPercent="-ebitda_margin_percent",G.ValueEquityUnderManagementUsd="-equity_under_management_usd",G.ValueExpenseRatio="-expense_ratio",G.ValueFilingDate="-filing_date",G.ValueFillingDate="-filling_date",G.ValueFreeCashFlowPerShare="-free_cash_flow_per_share",G.ValueGicsSectorId="-gics_sector_id",G.ValueGrossProfitMarginPercent="-gross_profit_margin_percent",G.ValueImpliedMarketCap="-implied_market_cap",G.ValueLastCloseMarketCapUsd="-last_close_market_cap_usd",G.ValueLastClosePriceBookValue="-last_close_price_book_value",G.ValueLastCloseTevDividedByEbitda="-last_close_tev_divided_by_ebitda",G.ValueLongTermDebtByTotalCapital="-long_term_debt_by_total_capital",G.ValueNetDebtDividedByEbitda="-net_debt_divided_by_ebitda",G.ValueNetDebtToEquity="-net_debt_to_equity",G.ValueNetEpsBasic="-net_eps_basic",G.ValueNetEpsDiluted="-net_eps_diluted",G.ValueNetIncomeMarginPercent="-net_income_margin_percent",G.ValueNewsSentiment="-news_sentiment",G.ValueOperatingCashFlowByCurrentLiabilities="-operating_cash_flow_by_current_liabilities",G.ValuePayoutRatio="-payout_ratio",G.ValuePctOfEquityHoldings="-pct_of_equity_holdings",G.ValuePeRatio="-pe_ratio",G.ValuePeriodLastPriceDividedBookValue="-period_last_price_divided_book_value",G.ValuePriceCurrencyIso3="-price_currency_iso3",G.ValueQuickRatio="-quick_ratio",G.ValueReturn1D="-return_1D",G.ValueReturn1M="-return_1M",G.ValueReturn1Y="-return_1Y",G.ValueReturn2Y="-return_2Y",G.ValueReturn5D="-return_5D",G.ValueReturn5Y="-return_5Y",G.ValueReturn6M="-return_6M",G.ValueReturnYTD="-return_YTD",G.ValueReturnOnAssets="-return_on_assets",G.ValueReturnOnEquityPercent="-return_on_equity_percent",G.ValueReturnOnTotalCapital="-return_on_total_capital",G.ValueRevenuePerEmployeeInThousands="-revenue_per_employee_in_thousands",G.ValueSectionBalanceSheetScore="-section_balance_sheet_score",G.ValueSectionBalanceSheetScoreGroup="-section_balance_sheet_score_group",G.ValueSectionCashFlowScore="-section_cash_flow_score",G.ValueSectionCashFlowScoreGroup="-section_cash_flow_score_group",G.ValueSectionEnvironmentalScore="-section_environmental_score",G.ValueSectionEnvironmentalScoreGroup="-section_environmental_score_group",G.ValueSectionGovernanceScore="-section_governance_score",G.ValueSectionGovernanceScoreGroup="-section_governance_score_group",G.ValueSectionIncomeStatementScore="-section_income_statement_score",G.ValueSectionIncomeStatementScoreGroup="-section_income_statement_score_group",G.ValueSectionRiskFactorsGroup="-section_risk_factors_group",G.ValueSectionSocialScore="-section_social_score",G.ValueSectionSocialScoreGroup="-section_social_score_group",G.ValueSectorScore="-sector_score",G.ValueSectorScoreGroup="-sector_score_group",G.ValueSharpeRatio1Y="-sharpe_ratio_1y",G.ValueTargetPriceToLastClose="-target_price_to_last_close",G.ValueTotalDebtToCapitalPercent="-total_debt_to_capital_percent",G.ValueTotalDebtToEquity="-total_debt_to_equity",G.ValueTotalRevenues="-total_revenues",G.ValueTotalRevenuesOneYearGrowthPercentage="-total_revenues_one_year_growth_percentage",G.AnalysisEsgScore="analysis_esg_score",G.AnalysisEsgScoreGroup="analysis_esg_score_group",G.AnalysisFundamentalScore="analysis_fundamental_score",G.AnalysisFundamentalScoreGroup="analysis_fundamental_score_group",G.AnalysisTechnicalScore="analysis_technical_score",G.AssetsTurnover="assets_turnover",G.AverageRevenuePerSubscriber="average_revenue_per_subscriber",G.Beta="beta",G.Beta1Year="beta_1_year",G.Beta1Y="beta_1y",G.ConsensusAnalystCount="consensus_analyst_count",G.ConsensusScoreGroup="consensus_score_group",G.CurrentPeRatio="current_pe_ratio",G.CurrentRatio="current_ratio",G.DividendYield="dividend_yield",G.DividendYieldPercentage="dividend_yield_percentage",G.EbitByInterestExpense="ebit_by_interest_expense",G.EbitdaMarginPercent="ebitda_margin_percent",G.EquityUnderManagementUsd="equity_under_management_usd",G.ExpenseRatio="expense_ratio",G.FilingDate="filing_date",G.FillingDate="filling_date",G.FreeCashFlowPerShare="free_cash_flow_per_share",G.GicsSectorId="gics_sector_id",G.GrossProfitMarginPercent="gross_profit_margin_percent",G.ImpliedMarketCap="implied_market_cap",G.LastCloseMarketCapUsd="last_close_market_cap_usd",G.LastClosePriceBookValue="last_close_price_book_value",G.LastCloseTevDividedByEbitda="last_close_tev_divided_by_ebitda",G.LongTermDebtByTotalCapital="long_term_debt_by_total_capital",G.NetDebtDividedByEbitda="net_debt_divided_by_ebitda",G.NetDebtToEquity="net_debt_to_equity",G.NetEpsBasic="net_eps_basic",G.NetEpsDiluted="net_eps_diluted",G.NetIncomeMarginPercent="net_income_margin_percent",G.NewsSentiment="news_sentiment",G.OperatingCashFlowByCurrentLiabilities="operating_cash_flow_by_current_liabilities",G.PayoutRatio="payout_ratio",G.PctOfEquityHoldings="pct_of_equity_holdings",G.PeRatio="pe_ratio",G.PeriodLastPriceDividedBookValue="period_last_price_divided_book_value",G.PriceCurrencyIso3="price_currency_iso3",G.QuickRatio="quick_ratio",G.Return1D="return_1D",G.Return1M="return_1M",G.Return1Y="return_1Y",G.Return2Y="return_2Y",G.Return5D="return_5D",G.Return5Y="return_5Y",G.Return6M="return_6M",G.ReturnYTD="return_YTD",G.ReturnOnAssets="return_on_assets",G.ReturnOnEquityPercent="return_on_equity_percent",G.ReturnOnTotalCapital="return_on_total_capital",G.RevenuePerEmployeeInThousands="revenue_per_employee_in_thousands",G.SectionBalanceSheetScore="section_balance_sheet_score",G.SectionBalanceSheetScoreGroup="section_balance_sheet_score_group",G.SectionCashFlowScore="section_cash_flow_score",G.SectionCashFlowScoreGroup="section_cash_flow_score_group",G.SectionEnvironmentalScore="section_environmental_score",G.SectionEnvironmentalScoreGroup="section_environmental_score_group",G.SectionGovernanceScore="section_governance_score",G.SectionGovernanceScoreGroup="section_governance_score_group",G.SectionIncomeStatementScore="section_income_statement_score",G.SectionIncomeStatementScoreGroup="section_income_statement_score_group",G.SectionRiskFactorsGroup="section_risk_factors_group",G.SectionSocialScore="section_social_score",G.SectionSocialScoreGroup="section_social_score_group",G.SectorScore="sector_score",G.SectorScoreGroup="sector_score_group",G.SharpeRatio1Y="sharpe_ratio_1y",G.TargetPriceToLastClose="target_price_to_last_close",G.TotalDebtToCapitalPercent="total_debt_to_capital_percent",G.TotalDebtToEquity="total_debt_to_equity",G.TotalRevenues="total_revenues",G.TotalRevenuesOneYearGrowthPercentage="total_revenues_one_year_growth_percentage",G),eS=((B={}).Countries="countries",B.GicsIndustry="gics_industry",B.GicsSector="gics_sector",B.ThemeEmphasis="theme_emphasis",B.Regions="regions",B.GicsGroup="gics_group",B.GicsIndustryGroup="gics_industry_group",B.Currency="currency",B.Exchange="exchange",B.CsaIndustry="csa_industry",B.Benchmark="benchmark",B.Sponsor="sponsor",B.Sector="sector",B.ManagementStyle="management_style",B.Recommendation="recommendation",B.MarketCapEmphasis="market_cap_emphasis",B.Exposure="exposure",B.GeographyEmphasis="geography_emphasis",B.MarketBenchmark="market_benchmark",B.PrimaryBenchmark="primary_benchmark",B),eb=((q={}).ValueAlpha1Y="-alpha_1y",q.ValueAnalysisFundamentalScore="-analysis_fundamental_score",q.ValueAnalysisFundamentalScoreGroup="-analysis_fundamental_score_group",q.ValueAnnualReturn="-annual_return",q.ValueAumUsd="-aum_usd",q.ValueAvgTradingVolume3M="-avg_trading_volume_3m",q.ValueBeta1Y="-beta_1y",q.ValueCashFlowFactor="-cash_flow_factor",q.ValueCashFlowFactorGroup="-cash_flow_factor_group",q.ValueDividendYield="-dividend_yield",q.ValueDividendYieldPercentage="-dividend_yield_percentage",q.ValueEquityUnderManagementUsd="-equity_under_management_usd",q.ValueExpenseRatio="-expense_ratio",q.ValueFillingDate="-filling_date",q.ValueGrowthFactor="-growth_factor",q.ValueGrowthFactorGroup="-growth_factor_group",q.ValueLargestHolding="-largest_holding",q.ValueLastCloseMarketCapUsd="-last_close_market_cap_usd",q.ValueMarketBenchmarkId="-market_benchmark_id",q.ValueMaxConcentration="-max_concentration",q.ValueNumberOfHoldings="-number_of_holdings",q.ValuePctOfEquityHoldings="-pct_of_equity_holdings",q.ValuePriceCurrencyIso3="-price_currency_iso3",q.ValuePrimaryBenchmarkId="-primary_benchmark_id",q.ValueReturn1D="-return_1D",q.ValueReturn1M="-return_1M",q.ValueReturn1Y="-return_1Y",q.ValueReturn2Y="-return_2Y",q.ValueReturn5D="-return_5D",q.ValueReturn5Y="-return_5Y",q.ValueReturn6M="-return_6M",q.ValueReturnYTD="-return_YTD",q.ValueSectionHoldingsGroup="-section_holdings_group",q.ValueSectionMgmtMetricGroup="-section_mgmt_metric_group",q.ValueSectionPerformanceScore="-section_performance_score",q.ValueSectionPerformanceScoreGroup="-section_performance_score_group",q.ValueSectionPortfolioScore="-section_portfolio_score",q.ValueSectionPortfolioScoreGroup="-section_portfolio_score_group",q.ValueSectionRiskFactorsGroup="-section_risk_factors_group",q.ValueSectionRiskScore="-section_risk_score",q.ValueSectionRiskScoreGroup="-section_risk_score_group",q.ValueSectorScore="-sector_score",q.ValueSharpeRatio1Y="-sharpe_ratio_1y",q.ValueSponsorAumUsd="-sponsor_aum_usd",q.ValueTrackingError1Y="-tracking_error_1y",q.ValueTradingVolumeRatio="-trading_volume_ratio",q.ValueValueFactor="-value_factor",q.ValueValueFactorGroup="-value_factor_group",q.ValueVehicleType="-vehicle_type",q.Alpha1Y="alpha_1y",q.AnalysisFundamentalScore="analysis_fundamental_score",q.AnalysisFundamentalScoreGroup="analysis_fundamental_score_group",q.AnnualReturn="annual_return",q.AumUsd="aum_usd",q.AvgTradingVolume3M="avg_trading_volume_3m",q.Beta1Y="beta_1y",q.CashFlowFactor="cash_flow_factor",q.CashFlowFactorGroup="cash_flow_factor_group",q.DividendYield="dividend_yield",q.DividendYieldPercentage="dividend_yield_percentage",q.EquityUnderManagementUsd="equity_under_management_usd",q.ExpenseRatio="expense_ratio",q.FillingDate="filling_date",q.GrowthFactor="growth_factor",q.GrowthFactorGroup="growth_factor_group",q.LargestHolding="largest_holding",q.LastCloseMarketCapUsd="last_close_market_cap_usd",q.MarketBenchmarkId="market_benchmark_id",q.MaxConcentration="max_concentration",q.NumberOfHoldings="number_of_holdings",q.PctOfEquityHoldings="pct_of_equity_holdings",q.PriceCurrencyIso3="price_currency_iso3",q.PrimaryBenchmarkId="primary_benchmark_id",q.Return1D="return_1D",q.Return1M="return_1M",q.Return1Y="return_1Y",q.Return2Y="return_2Y",q.Return5D="return_5D",q.Return5Y="return_5Y",q.Return6M="return_6M",q.ReturnYTD="return_YTD",q.SectionHoldingsGroup="section_holdings_group",q.SectionMgmtMetricGroup="section_mgmt_metric_group",q.SectionPerformanceScore="section_performance_score",q.SectionPerformanceScoreGroup="section_performance_score_group",q.SectionPortfolioScore="section_portfolio_score",q.SectionPortfolioScoreGroup="section_portfolio_score_group",q.SectionRiskFactorsGroup="section_risk_factors_group",q.SectionRiskScore="section_risk_score",q.SectionRiskScoreGroup="section_risk_score_group",q.SectorScore="sector_score",q.SharpeRatio1Y="sharpe_ratio_1y",q.SponsorAumUsd="sponsor_aum_usd",q.TrackingError1Y="tracking_error_1y",q.TradingVolumeRatio="trading_volume_ratio",q.ValueFactor="value_factor",q.ValueFactorGroup="value_factor_group",q.VehicleType="vehicle_type",q),ev=((V={}).Png="png",V.Svg="svg",V.Jpg="jpg",V),eG=((k={}).Original="original",k.Square="square",k),eB=((x={}).Square="square",x.Horizontal="horizontal",x),eq=((P={}).PublicationDate="publication_date",P.RelevancyScore="relevancy_score",P.SocialShares="social_shares",P),eV=((A={}).Social="social",A.Environmental="environmental",A.Governance="governance",A.Summary="summary",A.Controversies="controversies",A.Transparency="transparency",A.Weaknesses="weaknesses",A),ek=((w={}).Highlights="highlights",w.Lowlights="lowlights",w),ex=((F={}).BalanceSheet="balance_sheet",F.IncomeStatement="income_statement",F.CashFlow="cash_flow",F.CompanyDescription="company_description",F.CompanyFundamentals="company_fundamentals",F.SummaryRecommendation="summary_recommendation",F),eP=((R={}).NewsSummary="news_summary",R.Description="description",R.Technical="technical",R),eA=((j={}).Global="global",j.Industry="industry",j.Country="country",j.Sector="sector",j.Specific="specific",j),ew=((D={})[D.Value5=5]="Value5",D[D.Value4=4]="Value4",D[D.Value3=3]="Value3",D[D.Value2=2]="Value2",D[D.Value1=1]="Value1",D),eF=((W={}).Environmental="environmental",W.Social="social",W.Governance="governance",W),eR=((I={}).BalanceSheet="balance_sheet",I.IncomeStatement="income_statement",I.CashFlow="cash_flow",I),ej=((M={}).Quarterly="quarterly",M.Annually="annually",M.Last12Month="last_12_month",M),eD=((L={}).Stock="stock",L.Fund="fund",L),eW=((Y={}).Fundamental="fundamental",Y.Esg="esg",Y.PriceTarget="price_target",Y.Technical="technical",Y),eI=((N={}).Global="global",N.Industry="industry",N),eM=((O={}).Global="global",O.Industry="industry",O.Country="country",O.Sector="sector",O.Specific="specific",O),eL=((H={}).Active="active",H.Blacklisted="blacklisted",H),eY=((U={}).Stocks="stocks",U.Funds="funds",U),eN=((J={})[J.Value1=1]="Value1",J[J.Value2=2]="Value2",J[J.Value3=3]="Value3",J),eO=((K={}).ArSA="ar-SA",K.DeDE="de-DE",K.EnUS="en-US",K.EsES="es-ES",K.FrFR="fr-FR",K.HeIL="he-IL",K.NlNL="nl-NL",K.PtBR="pt-BR",K.TrTR="tr-TR",K.ZhCN="zh-CN",K.JaJP="ja-JP",K.KoKR="ko-KR",K.ThTH="th-TH",K.ZhHK="zh-HK",K),eH=((z={}).Basic="basic",z.Advanced="advanced",z),eU=((Q={}).Geographic="geographic",Q.Strategy="strategy",Q.Technology="technology",Q.Income="income",Q.Index="index",Q.Sector="sector",Q.Esg="esg",Q.Factor="factor",Q.Thematic="thematic",Q.Risk="risk",Q),eJ=((Z={}).Index="index",Z.Exchange="exchange",Z.DomicileCountry="domicile_country",Z.ExchangeCountry="exchange_country",Z),eK=((X={}).Isin="isin",X.Notin="notin",X),ez=((ee={}).MarketCap="market_cap",ee.Volume="volume",ee),eQ=((et={}).Ge="ge",et.Le="le",et.Gt="gt",et.Lt="lt",et),eZ=((es={}).Ge="ge",es.Le="le",es.Gt="gt",es.Lt="lt",es),eX=((er={}).Iso="iso",er.Epoch="epoch",er),e0=((ea={}).Epoch="epoch",ea.Iso="iso",ea),e1=((en={}).Iso="iso",en.Epoch="epoch",en),e4=((ei={}).Iso="iso",ei.Epoch="epoch",ei),e5={};d(e5,"Alerts",()=>e7);class e7{constructor(t){this.apiClient=t,e(this)}getAlerts(e,t){return this.apiClient.request({...t,url:"/alerts",method:"GET",params:e,secure:!0,responseType:"json"})}getAlertReasons(e,t,s){return this.apiClient.request({...s,url:`/alerts/${e}/reasons`,method:"GET",params:t,secure:!0,responseType:"json"})}}var e9={};d(e9,"Bonds",()=>e8);class e8{constructor(t){this.apiClient=t,e(this)}getBondAnalysis(e,t,s){return this.apiClient.request({...s,url:`/bonds/${e}/analysis`,method:"GET",params:t,secure:!0,responseType:"json"})}getBondMarketData(e,t,s){return this.apiClient.request({...s,url:`/bonds/${e}/market`,method:"GET",params:t,secure:!0,responseType:"json"})}getBondMarketStatistics(e,t,s){return this.apiClient.request({...s,url:`/bonds/${e}/market-statistics`,method:"GET",params:t,secure:!0,responseType:"json"})}getBondParagraphs(e,t,s){return this.apiClient.request({...s,url:`/bonds/${e}/paragraphs`,method:"GET",params:t,secure:!0,responseType:"json"})}getBondSections(e,t,s){return this.apiClient.request({...s,url:`/bonds/${e}/sections`,method:"GET",params:t,secure:!0,responseType:"json"})}}var e2={};d(e2,"AlternativeAssets",()=>e6);class e6{constructor(t){this.apiClient=t,e(this)}getAlternative(e,t,s){return this.apiClient.request({...s,url:`/alternative-assets/${e}`,method:"GET",params:t,secure:!0,responseType:"json"})}getAlternativesMarketData(e,t,s){return this.apiClient.request({...s,url:`/alternative-assets/${e}/market`,method:"GET",params:t,secure:!0,responseType:"json"})}getAlternativesMarketStatistics(e,t,s){return this.apiClient.request({...s,url:`/alternative-assets/${e}/market-statistics`,method:"GET",params:t,secure:!0,responseType:"json"})}getAlternativeNews(e,t,s){return this.apiClient.request({...s,url:`/alternative-assets/${e}/news`,method:"GET",params:t,secure:!0,responseType:"json"})}getAverageAlternativeNewsSentiment(e,t,s){return this.apiClient.request({...s,url:`/alternative-assets/${e}/news-sentiment`,method:"GET",params:t,secure:!0,responseType:"json"})}getAlternativesParagraphs(e,t,s){return this.apiClient.request({...s,url:`/alternative-assets/${e}/paragraphs`,method:"GET",params:t,secure:!0,responseType:"json"})}getAltTechnicalAnalysis(e,t,s){return this.apiClient.request({...s,url:`/alternative-assets/${e}/technical-analysis`,method:"GET",params:t,secure:!0,responseType:"json"})}getAltTechnicalParameters(e,t,s){return this.apiClient.request({...s,url:`/alternative-assets/${e}/technical-parameters`,method:"GET",params:t,secure:!0,responseType:"json"})}}var e3={};d(e3,"CompanyMetadata",()=>te);class te{constructor(t){this.apiClient=t,e(this)}getCompanies(e,t){return this.apiClient.request({...t,url:"/companies",method:"GET",params:e,secure:!0,responseType:"json"})}getCompany(e,t,s){return this.apiClient.request({...s,url:`/companies/${e}`,method:"GET",params:t,secure:!0,responseType:"json"})}getIdentifierSearch(e,t){return this.apiClient.request({...t,url:"/identifier-search",method:"GET",params:e,secure:!0,responseType:"json"})}}var tt={};d(tt,"Logos",()=>ts);class ts{constructor(t){this.apiClient=t,e(this)}fetchLogos(e,t){return this.apiClient.request({...t,url:"/companies/logos",method:"GET",params:e,secure:!0,responseType:"json"})}fetchLogo(e,t){return this.apiClient.request({...t,url:`/companies/${e}/logos`,method:"GET",secure:!0,responseType:"json"})}}var tr={};d(tr,"Bwc",()=>ta);class ta{constructor(t){this.apiClient=t,e(this)}bulkdata(e,t){return this.apiClient.request({...t,url:`/bulkdata/${e}`,method:"GET",secure:!0,responseType:"json"})}investmentPolicy(e,t){return this.apiClient.request({...t,url:`/investment-policy/${e}`,method:"GET",secure:!0,responseType:"json"})}getAnalysis(e,t,s){return this.apiClient.request({...s,url:"/v2/analysis",method:"GET",params:e,secure:!0,headers:t,responseType:"json"})}getBusinessDescription(e,t,s){return this.apiClient.request({...s,url:"/v2/business-description",method:"GET",params:e,secure:!0,headers:t,responseType:"json"})}getFundamentalAnalysis(e,t,s){return this.apiClient.request({...s,url:"/v2/fundamental-analysis",method:"GET",params:e,secure:!0,headers:t,responseType:"json"})}getIndustryDescription(e,t,s){return this.apiClient.request({...s,url:"/v2/industry-description",method:"GET",params:e,secure:!0,headers:t,responseType:"json"})}getTechnicalAnalysis(e,t,s){return this.apiClient.request({...s,url:"/v2/technical-analysis",method:"GET",params:e,secure:!0,headers:t,responseType:"json"})}verifyCompanyExists(e,t){return this.apiClient.request({...t,url:"/v2/verify-company-exists",method:"GET",params:e,secure:!0,responseType:"json"})}}var tn={};d(tn,"Activities",()=>ti);class ti{constructor(t){this.apiClient=t,e(this)}getCompanyAlerts(e,t,s){return this.apiClient.request({...s,url:`/companies/${e}/alerts`,method:"GET",params:t,secure:!0,responseType:"json"})}getCompanyForecastsKeyDevelopment(e,t,s){return this.apiClient.request({...s,url:`/companies/${e}/key-developments`,method:"GET",params:t,secure:!0,responseType:"json"})}}var to={};d(to,"ConsensusAnalysts",()=>tc);class tc{constructor(t){this.apiClient=t,e(this)}getConsensusRatings(e,t,s){return this.apiClient.request({...s,url:`/companies/${e}/consensus-ratings`,method:"GET",params:t,secure:!0,responseType:"json"})}}var tu={};d(tu,"EarningCalls",()=>tl);class tl{constructor(t){this.apiClient=t,e(this)}getCompanyEarningsCalls(e,t,s){return this.apiClient.request({...s,url:`/companies/${e}/earnings-call`,method:"GET",params:t,secure:!0,responseType:"json"})}getEarningsCallsRecaps(e,t,s,r){return this.apiClient.request({...r,url:`/companies/${t}/earnings-call/${e}/recaps`,method:"GET",params:s,secure:!0,responseType:"json"})}}var tp={};d(tp,"EsgAnalysis",()=>td);class td{constructor(t){this.apiClient=t,e(this)}getCompanyEsgAnalysis(e,t,s){return this.apiClient.request({...s,url:`/companies/${e}/esg-analysis`,method:"GET",params:t,secure:!0,responseType:"json"})}getCompanyEsgParagraphs(e,t,s){return this.apiClient.request({...s,url:`/companies/${e}/esg-paragraphs`,method:"GET",params:t,secure:!0,responseType:"json"})}getCompanyEsgParameters(e,t,s){return this.apiClient.request({...s,url:`/companies/${e}/esg-parameters`,method:"GET",params:t,secure:!0,responseType:"json"})}getCompanyEsgSections(e,t,s){return this.apiClient.request({...s,url:`/companies/${e}/esg-sections`,method:"GET",params:t,secure:!0,responseType:"json"})}getCompanyForecastsMsa(e,t,s){return this.apiClient.request({...s,url:`/companies/${e}/sustainability-incidents`,method:"GET",params:t,secure:!0,responseType:"json"})}}var tm={};d(tm,"FundamentalAnalysis",()=>th);class th{constructor(t){this.apiClient=t,e(this)}getCompanyFundamentalAnalysis(e,t,s){return this.apiClient.request({...s,url:`/companies/${e}/fundamental-analysis`,method:"GET",params:t,secure:!0,responseType:"json"})}getCompanyFundamentalParagraphs(e,t,s){return this.apiClient.request({...s,url:`/companies/${e}/fundamental-paragraphs`,method:"GET",params:t,secure:!0,responseType:"json"})}getCompanyFundamentalParameters(e,t,s){return this.apiClient.request({...s,url:`/companies/${e}/fundamental-parameters`,method:"GET",params:t,secure:!0,responseType:"json"})}getCompanyFundamentalSections(e,t,s){return this.apiClient.request({...s,url:`/companies/${e}/fundamental-sections`,method:"GET",params:t,secure:!0,responseType:"json"})}getTargetPrice(e,t,s){return this.apiClient.request({...s,url:`/companies/${e}/target-price`,method:"GET",params:t,secure:!0,responseType:"json"})}getCompanyPriceTargetParagraphs(e,t,s){return this.apiClient.request({...s,url:`/companies/${e}/target-price-paragraphs`,method:"GET",params:t,secure:!0,responseType:"json"})}}var tg={};d(tg,"CompanyMarketData",()=>t_);class t_{constructor(t){this.apiClient=t,e(this)}getCompanyMarketData(e,t,s){return this.apiClient.request({...s,url:`/companies/${e}/market`,method:"GET",params:t,secure:!0,responseType:"json"})}getCompanyMarketStatistics(e,t,s){return this.apiClient.request({...s,url:`/companies/${e}/market-statistics`,method:"GET",params:t,secure:!0,responseType:"json"})}getTradingItems(e,t,s){return this.apiClient.request({...s,url:`/companies/${e}/trading-items`,method:"GET",params:t,secure:!0,responseType:"json"})}}var ty={};d(ty,"CompanyNews",()=>tT);class tT{constructor(t){this.apiClient=t,e(this)}getCompanyNews(e,t,s){return this.apiClient.request({...s,url:`/companies/${e}/news`,method:"GET",params:t,secure:!0,responseType:"json"})}getNewsParagraphForACompany(e,t,s){return this.apiClient.request({...s,url:`/companies/${e}/news-paragraph`,method:"GET",params:t,secure:!0,responseType:"json"})}getAverageCompanyNewsSentiment(e,t,s){return this.apiClient.request({...s,url:`/companies/${e}/news-sentiment`,method:"GET",params:t,secure:!0,responseType:"json"})}}var tC={};d(tC,"TechnicalAnalysis",()=>tf);class tf{constructor(t){this.apiClient=t,e(this)}getCompanyTechnicalAnalysis(e,t,s){return this.apiClient.request({...s,url:`/companies/${e}/technical-analysis`,method:"GET",params:t,secure:!0,responseType:"json"})}getCompanyTechnicalParagraphs(e,t,s){return this.apiClient.request({...s,url:`/companies/${e}/technical-paragraphs`,method:"GET",params:t,secure:!0,responseType:"json"})}getCompanyTechnicalParameters(e,t,s){return this.apiClient.request({...s,url:`/companies/${e}/technical-parameters`,method:"GET",params:t,secure:!0,responseType:"json"})}}var t$={};d(t$,"PdfReportGeneration",()=>tE);class tE{constructor(t){this.apiClient=t,e(this)}downloadPdfReport(e,t){return this.apiClient.request({...t,url:"/download-pdf-report",method:"GET",params:e,secure:!0,responseType:"json"})}sendPdfReportToMail(e,t){return this.apiClient.request({...t,url:"/send-pdf-report-to-mail",method:"GET",params:e,secure:!0,responseType:"json"})}}var tS={};d(tS,"Metadata",()=>tb);class tb{constructor(t){this.apiClient=t,e(this)}getCompanyFilters(e,t){return this.apiClient.request({...t,url:"/filters",method:"GET",params:e,secure:!0,responseType:"json"})}}var tv={};d(tv,"FundMetadata",()=>tG);class tG{constructor(t){this.apiClient=t,e(this)}getFunds(e,t){return this.apiClient.request({...t,url:"/funds",method:"GET",params:e,secure:!0,responseType:"json"})}getFund(e,t,s){return this.apiClient.request({...s,url:`/funds/${e}`,method:"GET",params:t,secure:!0,responseType:"json"})}}var tB={};d(tB,"FundAnalysis",()=>tq);class tq{constructor(t){this.apiClient=t,e(this)}getFundAnalysis(e,t,s){return this.apiClient.request({...s,url:`/funds/${e}/analysis`,method:"GET",params:t,secure:!0,responseType:"json"})}getFundsParagraphs(e,t,s){return this.apiClient.request({...s,url:`/funds/${e}/paragraphs`,method:"GET",params:t,secure:!0,responseType:"json"})}getFundParameters(e,t,s){return this.apiClient.request({...s,url:`/funds/${e}/parameters`,method:"GET",params:t,secure:!0,responseType:"json"})}getFundSections(e,t,s){return this.apiClient.request({...s,url:`/funds/${e}/sections`,method:"GET",params:t,secure:!0,responseType:"json"})}}var tV={};d(tV,"Segmentations",()=>tk);class tk{constructor(t){this.apiClient=t,e(this)}getSegmentParameters(e,t,s){return this.apiClient.request({...s,url:`/funds/${e}/segment-parameters`,method:"GET",params:t,secure:!0,responseType:"json"})}getSegment(e,t,s){return this.apiClient.request({...s,url:`/funds/${e}/segments`,method:"GET",params:t,secure:!0,responseType:"json"})}}var tx={};d(tx,"Health",()=>tP);class tP{constructor(t){this.apiClient=t,e(this)}health(e){return this.apiClient.request({...e,url:"/health",method:"GET",secure:!0,responseType:"json"})}}var tA={};d(tA,"Bridget",()=>tw);class tw{constructor(t){this.apiClient=t,e(this)}questionsCreate(e,t,s){return this.apiClient.request({...s,url:"/questions",method:"POST",data:e,secure:!0,headers:t,contentType:eo.Json,responseType:"json"})}tenantsQuestionsRetrieve(e,t,s){return this.apiClient.request({...s,url:`/tenants/${e}/questions`,method:"GET",params:t,secure:!0,responseType:"json"})}}var tF={};d(tF,"Companies",()=>tR);class tR{constructor(t){this.apiClient=t,e(this)}getCompanies(e,t){return this.apiClient.request({...t,url:"/scanner/v1/companies",method:"GET",params:e,secure:!0,responseType:"json"})}getCompanyByIdV1(e,t,s){return this.apiClient.request({...s,url:`/scanner/v1/companies/${e}`,method:"GET",params:t,secure:!0,responseType:"json"})}getFunds(e,t){return this.apiClient.request({...t,url:"/scanner/v1/funds",method:"GET",params:e,secure:!0,responseType:"json"})}getFundByIdV1(e,t,s){return this.apiClient.request({...s,url:`/scanner/v1/funds/${e}`,method:"GET",params:t,secure:!0,responseType:"json"})}getBonds(e,t){return this.apiClient.request({...t,url:"/scanner/v2/bonds",method:"GET",params:e,secure:!0,responseType:"json"})}getBondById(e,t,s){return this.apiClient.request({...s,url:`/scanner/v2/bonds/${e}`,method:"GET",params:t,secure:!0,responseType:"json"})}scanCompaniesV2(e,t){return this.apiClient.request({...t,url:"/scanner/v2/companies",method:"GET",params:e,secure:!0,responseType:"json"})}getCompanyById(e,t,s){return this.apiClient.request({...s,url:`/scanner/v2/companies/${e}`,method:"GET",params:t,secure:!0,responseType:"json"})}getFiltersList(e,t){return this.apiClient.request({...t,url:"/scanner/v2/filters",method:"GET",params:e,secure:!0,responseType:"json"})}scanFund(e,t){return this.apiClient.request({...t,url:"/scanner/v2/funds",method:"GET",params:e,secure:!0,responseType:"json"})}getFundById(e,t,s){return this.apiClient.request({...s,url:`/scanner/v2/funds/${e}`,method:"GET",params:t,secure:!0,responseType:"json"})}sanFunds(e){return this.apiClient.request({...e,url:"/scanner/v2/scan",method:"GET",secure:!0,responseType:"json"})}}var tj={};d(tj,"FundMarketData",()=>tD);class tD{constructor(t){this.apiClient=t,e(this)}getFundsMarketData(e,t,s){return this.apiClient.request({...s,url:`/funds/${e}/market`,method:"GET",params:t,secure:!0,responseType:"json"})}getFundsMarketStatistics(e,t,s){return this.apiClient.request({...s,url:`/funds/${e}/market-statistics`,method:"GET",params:t,secure:!0,responseType:"json"})}getFundTradingItems(e,t,s){return this.apiClient.request({...s,url:`/funds/${e}/trading-items`,method:"GET",params:t,secure:!0,responseType:"json"})}}var tW={};d(tW,"SectorAnalysis",()=>tI);class tI{constructor(t){this.apiClient=t,e(this)}getSectorAnalysis(e,t,s){return this.apiClient.request({...s,url:`/sectors/${e}/analysis`,method:"GET",params:t,secure:!0,responseType:"json"})}}var tM={};d(tM,"Tenants",()=>tL);class tL{constructor(t){this.apiClient=t,e(this)}fetchTenant(e,t){return this.apiClient.request({...t,url:`/tenants/${e}`,method:"GET",secure:!0,responseType:"json"})}getHistoricalPolicyChanges(e,t,s){return this.apiClient.request({...s,url:`/tenants/${e}/historical-policy-changes`,method:"GET",params:t,secure:!0,responseType:"json"})}createTenantInvestmentPoliciesConfig(e,t,s){return this.apiClient.request({...s,url:`/tenants/${e}/investment-policies-config`,method:"POST",data:t,secure:!0,contentType:eo.Json,responseType:"json"})}listTenantInvestmentPoliciesConfigs(e,t){return this.apiClient.request({...t,url:`/tenants/${e}/investment-policies-config`,method:"GET",secure:!0,responseType:"json"})}createTenantInvestmentPoliciesConfigBulk(e,t,s){return this.apiClient.request({...s,url:`/tenants/${e}/investment-policies-config/bulk`,method:"POST",data:t,secure:!0,contentType:eo.Json,responseType:"json"})}getTenantInvestmentPoliciesConfig(e,t,s){return this.apiClient.request({...s,url:`/tenants/${t}/investment-policies-config/${e}`,method:"GET",secure:!0,responseType:"json"})}patchTenantInvestmentPoliciesConfig(e,t,s,r){return this.apiClient.request({...r,url:`/tenants/${t}/investment-policies-config/${e}`,method:"PATCH",data:s,secure:!0,contentType:eo.Json,responseType:"json"})}deleteTenantInvestmentPoliciesConfig(e,t,s){return this.apiClient.request({...s,url:`/tenants/${t}/investment-policies-config/${e}`,method:"DELETE",secure:!0,responseType:"json"})}createCognitoClientApplication(e,t,s){return this.apiClient.request({...s,url:`/tenants/${e}/machine`,method:"POST",data:t,secure:!0,contentType:eo.Json,responseType:"json"})}getRecommendations(e,t,s){return this.apiClient.request({...s,url:`/tenants/${e}/recommendations`,method:"GET",params:t,secure:!0,responseType:"json"})}createTenantRecommendationsConfig(e,t,s){return this.apiClient.request({...s,url:`/tenants/${e}/recommendations-config`,method:"POST",data:t,secure:!0,contentType:eo.Json,responseType:"json"})}createTenantRecommendationsConfigBulk(e,t,s){return this.apiClient.request({...s,url:`/tenants/${e}/recommendations-config/bulk`,method:"POST",data:t,secure:!0,contentType:eo.Json,responseType:"json"})}getTenantRecommendationsConfig(e,t,s){return this.apiClient.request({...s,url:`/tenants/${e}/recommendations-config/${t}`,method:"GET",secure:!0,responseType:"json"})}patchTenantRecommendationsConfig(e,t,s,r){return this.apiClient.request({...r,url:`/tenants/${e}/recommendations-config/${t}`,method:"PATCH",data:s,secure:!0,contentType:eo.Json,responseType:"json"})}deleteTenantRecommendationsConfig(e,t,s){return this.apiClient.request({...s,url:`/tenants/${e}/recommendations-config/${t}`,method:"DELETE",secure:!0,responseType:"json"})}}var tY={};d(tY,"TenantIdentifiers",()=>tN);class tN{constructor(t){this.apiClient=t,e(this)}getTenantIdentifiers(e,t,s){return this.apiClient.request({...s,url:`/tenants/${e}/identifiers`,method:"GET",params:t,secure:!0,responseType:"json"})}createTenantIdentifier(e,t,s){return this.apiClient.request({...s,url:`/tenants/${e}/identifiers`,method:"POST",data:t,secure:!0,contentType:eo.Json,responseType:"json"})}updateTenantIdentifier(e,t,s,r){return this.apiClient.request({...r,url:`/tenants/${e}/identifiers/${t}`,method:"PATCH",data:s,secure:!0,contentType:eo.Json,responseType:"json"})}deleteTenantIdentifier(e,t,s){return this.apiClient.request({...s,url:`/tenants/${e}/identifiers/${t}`,method:"DELETE",secure:!0,responseType:"json"})}}var tO={};d(tO,"Themes",()=>tH);class tH{constructor(t){this.apiClient=t,e(this)}getThemes(e,t){return this.apiClient.request({...t,url:"/themes",method:"GET",params:e,secure:!0,responseType:"json"})}getTheme(e,t,s){return this.apiClient.request({...s,url:`/themes/${e}`,method:"GET",params:t,secure:!0,responseType:"json"})}getThemeFilters(e,t){return this.apiClient.request({...t,url:`/themes/${e}/filters`,method:"GET",secure:!0,responseType:"json"})}}var tU={};d(tU,"FundEsgAnalysis",()=>tJ);class tJ{constructor(t){this.apiClient=t,e(this)}getFundEsgAnalysis(e,t,s){return this.apiClient.request({...s,url:`/funds/${e}/esg-analysis`,method:"GET",params:t,secure:!0,responseType:"json"})}}var tK={};d(tK,"Users",()=>tz);class tz{constructor(t){this.apiClient=t,e(this)}authenticate(e,t){return this.apiClient.request({...t,url:"/users/authenticate",method:"POST",data:e,secure:!0,contentType:eo.Json,responseType:"json"})}fetchClientDetails(e,t){return this.apiClient.request({...t,url:"/users/machine",method:"GET",secure:!0,headers:e,responseType:"json"})}}var tQ={};d(tQ,"Holdings",()=>tZ);class tZ{constructor(t){this.apiClient=t,e(this)}getCompositions(e,t,s){return this.apiClient.request({...s,url:`/funds/${e}/compositions`,method:"GET",params:t,secure:!0,responseType:"json"})}getHoldingStatistics(e,t,s){return this.apiClient.request({...s,url:`/funds/${e}/holding-statistics`,method:"GET",params:t,secure:!0,responseType:"json"})}getHoldings(e,t,s){return this.apiClient.request({...s,url:`/funds/${e}/holdings`,method:"GET",params:t,secure:!0,responseType:"json"})}}m(el,ep),m(el,e5),m(el,e9),m(el,e2),m(el,e3),m(el,tt),m(el,tr),m(el,tn),m(el,to),m(el,tu),m(el,tp),m(el,tm),m(el,tg),m(el,ty),m(el,tC),m(el,t$),m(el,tS),m(el,tv),m(el,tB),m(el,tV),m(el,tx),m(el,tA),m(el,tF),m(el,tj),m(el,tW),m(el,tM),m(el,tY),m(el,tO),m(el,tU),m(el,tK),m(el,tQ);class tX extends h{constructor(e){super(new eu(e)),this.config=e,this.activities=new ti(this.apiClient),this.alerts=new e7(this.apiClient),this.alternativeAssets=new e6(this.apiClient),this.bonds=new e8(this.apiClient),this.bridget=new tw(this.apiClient),this.bwc=new ta(this.apiClient),this.companies=new tR(this.apiClient),this.companyMarketData=new t_(this.apiClient),this.companyMetadata=new te(this.apiClient),this.companyNews=new tT(this.apiClient),this.consensusAnalysts=new tc(this.apiClient),this.earningCalls=new tl(this.apiClient),this.esgAnalysis=new td(this.apiClient),this.fundamentalAnalysis=new th(this.apiClient),this.fundAnalysis=new tq(this.apiClient),this.fundEsgAnalysis=new tJ(this.apiClient),this.fundMarketData=new tD(this.apiClient),this.fundMetadata=new tG(this.apiClient),this.health=new tP(this.apiClient),this.holdings=new tZ(this.apiClient),this.logos=new ts(this.apiClient),this.metadata=new tb(this.apiClient),this.pdfReportGeneration=new tE(this.apiClient),this.sectorAnalysis=new tI(this.apiClient),this.segmentations=new tk(this.apiClient),this.technicalAnalysis=new tf(this.apiClient),this.tenantIdentifiers=new tN(this.apiClient),this.tenants=new tL(this.apiClient),this.themes=new tH(this.apiClient),this.users=new tz(this.apiClient)}}export{tX as BridgeWiseApi,ed as BridgeWiseAlertLanguagesEnum,em as BridgeWiseAssetTypeEnum,eh as BridgeWiseEventSentimentEnum,eg as BridgeWiseEventTypeEnum,e_ as BridgeWiseBondsSectionTypeEnum,ey as BridgeWiseLanguageEnum,eT as BridgeWiseUniverseEnum,eC as BridgeWiseStringBooleanEnum,ef as BridgeWiseCompanyAlertSentiment,e$ as BridgeWiseCompanyAlertType,eE as BridgeWiseCompaniesSortByEnum,eS as BridgeWiseCompanyFilterType,eb as BridgeWiseFundsSortByEnum,ev as BridgeWiseImageExtensionEnum,eG as BridgeWiseLogoSizeEnum,eB as BridgeWiseLogoTypeEnum,eq as BridgeWiseCompanyNewsSortingEnum,eV as BridgeWiseESGSectionTypeEnum,ek as BridgeWiseEarningsCallRecapEnum,ex as BridgeWiseFundamentalParagraphSectionTypeEnum,eP as BridgeWiseParagraphTextEnum,eA as BridgeWiseScoringMethodEnum,ew as BridgeWiseESGScoreGroup,eF as BridgeWiseESGSectionTypeParamEnumV2,eR as BridgeWiseFundamentalSectionTypeEnum,ej as BridgeWisePeriodTypeEnum,eD as BridgeWisePDFReportType,eW as BridgeWiseAnalysisTypeEnum,eI as BridgeWiseGlobalIndustryScoringEnum,eM as BridgeWiseScoreMethodology,eL as BridgeWiseTenantIdentifierStatusEnum,eY as BridgeWiseThemeAssetClassEnum,eN as BridgeWiseThemeGroupEnum,eO as BridgeWiseThemeLanguageEnum,eH as BridgeWiseThemePackageEnum,eU as BridgeWiseThemeTypeEnum,eJ as BridgeWiseIdCheckConfigNameEnum,eK as BridgeWiseIdCheckConfigOperatorEnum,ez as BridgeWiseMarketDataConfigNameEnum,eQ as BridgeWiseMarketDataConfigOperatorEnum,eZ as BridgeWiseStockingFloatConfigOperatorEnum,eX as BridgeWiseGetBusinessDescriptionParamsDateFormatEnum,e0 as BridgeWiseGetFundamentalAnalysisParamsDateFormatEnum,e1 as BridgeWiseGetIndustryDescriptionParamsDateFormatEnum,e4 as BridgeWiseGetTechnicalAnalysisParamsDateFormatEnum,e7 as Alerts,e8 as Bonds,e6 as AlternativeAssets,te as CompanyMetadata,ts as Logos,ta as Bwc,ti as Activities,tc as ConsensusAnalysts,tl as EarningCalls,td as EsgAnalysis,th as FundamentalAnalysis,t_ as CompanyMarketData,tT as CompanyNews,tf as TechnicalAnalysis,tE as PdfReportGeneration,tb as Metadata,tG as FundMetadata,tq as FundAnalysis,tk as Segmentations,tP as Health,tw as Bridget,tR as Companies,tD as FundMarketData,tI as SectorAnalysis,tL as Tenants,tN as TenantIdentifiers,tH as Themes,tJ as FundEsgAnalysis,tz as Users,tZ as Holdings};
1
+ import e from"auto-bind";import{Mutex as t,E_CANCELED as s}from"async-mutex";import{consola as r}from"consola";import{isBefore as a,subMinutes as n}from"date-fns";import{jwtDecode as i}from"jwt-decode";import o,{isAxiosError as c}from"axios";import u from"axios-better-stacktrace";import{isNil as l,merge as p}from"lodash";function d(e,t,s,r){Object.defineProperty(e,t,{get:s,set:r,enumerable:!0,configurable:!0})}function m(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}d({},"BridgeWiseApi",()=>t5);class h{constructor(t){this.apiClient=t,e(this)}getApiClient(){return this.apiClient}}var _,g,y,T,C,f,$,E,S,b,v,G,B,V,q,k,A,P,x,F,w,j,R,D,W,M,I,Y,L,N,O,H,U,J,z,K,Q,Z,X,ee,et,es,er,ea,en,ei,eo,ec,eu=((_={}).Json="application/json",_.FormData="multipart/form-data",_.UrlEncoded="application/x-www-form-urlencoded",_.Text="text/plain",_);class el{constructor(t){this.config=t,e(this),this.storage=t.storage??sessionStorage,this.axiosInstance=o.create({...t.axiosConfig,baseURL:t.baseUrl,headers:{"Content-Type":"application/json",...t.axiosConfig?.headers}}),u(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;l(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 r=p(e.secure??this.config.defaultSecure??!0?await this.prepareAuthRequestConfig():{},t?{headers:{"Content-Type":t}}:{},e);try{let{data:e,status:t,statusText:s}=await this.axiosInstance.request(r);return{success:!0,data:e,status:t,statusText:s}}catch(s){let t={success:!1,status:-1,statusText:String(s),error:s};if(c(s)&&(this.config.onAxiosError?.(s),t.data=s.response?.data,t.status=s.response?.status??t.status,t.statusText=s.response?.statusText??t.statusText),this.config.onError?.(s),!this.config.handleError&&!e.handleError)throw s;return t}}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 ep extends el{constructor(e){super(e),this.config=e,this.lock=new t}getConfig(){return super.getConfig()}setRenewTokensCallback(e){this.renewTokensCallback=e}async prepareAuthRequestConfig(){if(this.config.axiosConfig?.withCredentials)return{};let{accessToken:e}=this.getAuthData()||{};if(!e)return r.warn("No access token found. Please set auth data after authorization."),{};if(!1!==this.config.autoRenewToken&&this.isTokenExpired(e))try{await this.lock.runExclusive(async()=>{this.config.debug&&r.debug("Access token expired. Renewing…"),e=(await this.renewTokens()).accessToken,this.lock.cancel()})}catch(t){if(t===s)e=this.getAuthData()?.accessToken;else throw t}return{headers:{Authorization:`${this.config.authSchema??"Bearer"} ${e}`}}}isTokenExpired(e){let t=i(e);return!t.exp||a(n(1e3*t.exp,1),Date.now())}async renewTokens(){let e=this.config.onRenewTokens??this.renewTokensCallback;if(!e)throw Error("No renew tokens callback provided");try{let t=await e();return this.setAuthData(t),t}catch(e){throw r.warn("Could not renew tokens",e),e}}}var ed={},em={};d(em,"Alerts",()=>eh);class eh{constructor(t){this.apiClient=t,e(this)}getAlerts(e,t){return this.apiClient.request({...t,url:"/alerts",method:"GET",params:e,secure:!0,responseType:"json"})}getAlertReasons(e,t,s){return this.apiClient.request({...s,url:`/alerts/${e}/reasons`,method:"GET",params:t,secure:!0,responseType:"json"})}}var e_={};d(e_,"AlternativeAssets",()=>eg);class eg{constructor(t){this.apiClient=t,e(this)}getAlternative(e,t,s){return this.apiClient.request({...s,url:`/alternative-assets/${e}`,method:"GET",params:t,secure:!0,responseType:"json"})}getAlternativesMarketData(e,t,s){return this.apiClient.request({...s,url:`/alternative-assets/${e}/market`,method:"GET",params:t,secure:!0,responseType:"json"})}getAlternativesMarketStatistics(e,t,s){return this.apiClient.request({...s,url:`/alternative-assets/${e}/market-statistics`,method:"GET",params:t,secure:!0,responseType:"json"})}getAlternativeNews(e,t,s){return this.apiClient.request({...s,url:`/alternative-assets/${e}/news`,method:"GET",params:t,secure:!0,responseType:"json"})}getAverageAlternativeNewsSentiment(e,t,s){return this.apiClient.request({...s,url:`/alternative-assets/${e}/news-sentiment`,method:"GET",params:t,secure:!0,responseType:"json"})}getAlternativesParagraphs(e,t,s){return this.apiClient.request({...s,url:`/alternative-assets/${e}/paragraphs`,method:"GET",params:t,secure:!0,responseType:"json"})}getAltTechnicalAnalysis(e,t,s){return this.apiClient.request({...s,url:`/alternative-assets/${e}/technical-analysis`,method:"GET",params:t,secure:!0,responseType:"json"})}getAltTechnicalParameters(e,t,s){return this.apiClient.request({...s,url:`/alternative-assets/${e}/technical-parameters`,method:"GET",params:t,secure:!0,responseType:"json"})}}var ey={};d(ey,"Bonds",()=>eT);class eT{constructor(t){this.apiClient=t,e(this)}getBondAnalysis(e,t,s){return this.apiClient.request({...s,url:`/bonds/${e}/analysis`,method:"GET",params:t,secure:!0,responseType:"json"})}getBondMarketData(e,t,s){return this.apiClient.request({...s,url:`/bonds/${e}/market`,method:"GET",params:t,secure:!0,responseType:"json"})}getBondMarketStatistics(e,t,s){return this.apiClient.request({...s,url:`/bonds/${e}/market-statistics`,method:"GET",params:t,secure:!0,responseType:"json"})}getBondParagraphs(e,t,s){return this.apiClient.request({...s,url:`/bonds/${e}/paragraphs`,method:"GET",params:t,secure:!0,responseType:"json"})}getBondParameters(e,t,s){return this.apiClient.request({...s,url:`/bonds/${e}/parameters`,method:"GET",params:t,secure:!0,responseType:"json"})}getBondSections(e,t,s){return this.apiClient.request({...s,url:`/bonds/${e}/sections`,method:"GET",params:t,secure:!0,responseType:"json"})}}var eC={};d(eC,"BridgeWiseAlertLanguagesEnum",()=>ef),d(eC,"BridgeWiseAssetTypeEnum",()=>e$),d(eC,"BridgeWiseEventSentimentEnum",()=>eE),d(eC,"BridgeWiseEventTypeEnum",()=>eS),d(eC,"BridgeWiseBondsSectionTypeEnum",()=>eb),d(eC,"BridgeWiseLanguageEnum",()=>ev),d(eC,"BridgeWiseParametersSectionTypeEnum",()=>eG),d(eC,"BridgeWiseUniverseEnum",()=>eB),d(eC,"BridgeWiseStringBooleanEnum",()=>eV),d(eC,"BridgeWiseCompanyAlertSentiment",()=>eq),d(eC,"BridgeWiseCompanyAlertType",()=>ek),d(eC,"BridgeWiseCompaniesSortByEnum",()=>eA),d(eC,"BridgeWiseCompanyFilterType",()=>eP),d(eC,"BridgeWiseFundsSortByEnum",()=>ex),d(eC,"BridgeWiseImageExtensionEnum",()=>eF),d(eC,"BridgeWiseLogoSizeEnum",()=>ew),d(eC,"BridgeWiseLogoTypeEnum",()=>ej),d(eC,"BridgeWiseCompanyNewsSortingEnum",()=>eR),d(eC,"BridgeWiseESGSectionTypeEnum",()=>eD),d(eC,"BridgeWiseEarningsCallRecapEnum",()=>eW),d(eC,"BridgeWiseFundamentalParagraphSectionTypeEnum",()=>eM),d(eC,"BridgeWiseParagraphTextEnum",()=>eI),d(eC,"BridgeWiseScoringMethodEnum",()=>eY),d(eC,"BridgeWiseESGScoreGroup",()=>eL),d(eC,"BridgeWiseESGSectionTypeParamEnumV2",()=>eN),d(eC,"BridgeWiseFundamentalSectionTypeEnum",()=>eO),d(eC,"BridgeWisePeriodTypeEnum",()=>eH),d(eC,"BridgeWisePDFReportType",()=>eU),d(eC,"BridgeWiseBondsSortByEnum",()=>eJ),d(eC,"BridgeWiseAnalysisTypeEnum",()=>ez),d(eC,"BridgeWiseGlobalIndustryScoringEnum",()=>eK),d(eC,"BridgeWiseScoreMethodology",()=>eQ),d(eC,"BridgeWiseTenantIdentifierStatusEnum",()=>eZ),d(eC,"BridgeWiseThemeAssetClassEnum",()=>eX),d(eC,"BridgeWiseThemeGroupEnum",()=>e0),d(eC,"BridgeWiseThemeLanguageEnum",()=>e1),d(eC,"BridgeWiseThemePackageEnum",()=>e4),d(eC,"BridgeWiseThemeTypeEnum",()=>e5),d(eC,"BridgeWiseIdCheckConfigNameEnum",()=>e7),d(eC,"BridgeWiseIdCheckConfigOperatorEnum",()=>e9),d(eC,"BridgeWiseMarketDataConfigNameEnum",()=>e8),d(eC,"BridgeWiseMarketDataConfigOperatorEnum",()=>e2),d(eC,"BridgeWiseStockingFloatConfigOperatorEnum",()=>e6),d(eC,"BridgeWiseGetBusinessDescriptionParamsDateFormatEnum",()=>e3),d(eC,"BridgeWiseGetFundamentalAnalysisParamsDateFormatEnum",()=>te),d(eC,"BridgeWiseGetIndustryDescriptionParamsDateFormatEnum",()=>tt),d(eC,"BridgeWiseGetTechnicalAnalysisParamsDateFormatEnum",()=>ts);var ef=((g={}).ArSA="ar-SA",g.EnUS="en-US",g.EsES="es-ES",g.FrFR="fr-FR",g.HeIL="he-IL",g.JaJP="ja-JP",g.PtBR="pt-BR",g),e$=((y={}).Cryptocurrency="cryptocurrency",y.Forex="forex",y.Commodity="commodity",y.Stock="stock",y.Etf="etf",y),eE=((T={}).Positive="positive",T.Negative="negative",T),eS=((C={}).PolicyThreshold="policy_threshold",C.InternalCoverage="internal_coverage",C.BwRecommendation="bw_recommendation",C),eb=((f={}).CompanyDescription="company_description",f.CreditQualityScoreSummary="credit_quality_score_summary",f.CreditOutlookAnalysis="credit_outlook_analysis",f.SizeAndMarketPosition="size_and_market_position",f.LeverageAndSolvency="leverage_and_solvency",f.Profitability="profitability",f.FinancialPolicy="financial_policy",f.SummaryRecommendation="summary_recommendation",f),ev=(($={}).ArSA="ar-SA",$.DeDE="de-DE",$.EnUS="en-US",$.EsES="es-ES",$.FrFR="fr-FR",$.HeIL="he-IL",$.NlNL="nl-NL",$.PtBR="pt-BR",$.TrTR="tr-TR",$.ZhCN="zh-CN",$.JaJP="ja-JP",$.KoKR="ko-KR",$.ThTH="th-TH",$.ZhHK="zh-HK",$),eG=((E={}).SizeAndMarketPosition="size_and_market_position",E.LeverageAndSolvency="leverage_and_solvency",E.Profitability="profitability",E.FinancialPolicy="financial_policy",E),eB=((S={}).Industry="industry",S.Country="country",S),eV=((b={}).True="true",b.False="false",b),eq=((v={}).Positive="positive",v.Negative="negative",v),ek=((G={}).Fundamental="fundamental",G.Market="market",G),eA=((B={}).ValueAnalysisEsgScore="-analysis_esg_score",B.ValueAnalysisEsgScoreGroup="-analysis_esg_score_group",B.ValueAnalysisFundamentalScore="-analysis_fundamental_score",B.ValueAnalysisFundamentalScoreGroup="-analysis_fundamental_score_group",B.ValueAnalysisTechnicalScore="-analysis_technical_score",B.ValueAssetsTurnover="-assets_turnover",B.ValueAverageRevenuePerSubscriber="-average_revenue_per_subscriber",B.ValueBeta="-beta",B.ValueBeta1Year="-beta_1_year",B.ValueBeta1Y="-beta_1y",B.ValueConsensusAnalystCount="-consensus_analyst_count",B.ValueConsensusScoreGroup="-consensus_score_group",B.ValueCurrentPeRatio="-current_pe_ratio",B.ValueCurrentRatio="-current_ratio",B.ValueDividendYield="-dividend_yield",B.ValueDividendYieldPercentage="-dividend_yield_percentage",B.ValueEbitByInterestExpense="-ebit_by_interest_expense",B.ValueEbitdaMarginPercent="-ebitda_margin_percent",B.ValueEquityUnderManagementUsd="-equity_under_management_usd",B.ValueExpenseRatio="-expense_ratio",B.ValueFilingDate="-filing_date",B.ValueFillingDate="-filling_date",B.ValueFreeCashFlowPerShare="-free_cash_flow_per_share",B.ValueGicsSectorId="-gics_sector_id",B.ValueGrossProfitMarginPercent="-gross_profit_margin_percent",B.ValueImpliedMarketCap="-implied_market_cap",B.ValueLastCloseMarketCapUsd="-last_close_market_cap_usd",B.ValueLastClosePriceBookValue="-last_close_price_book_value",B.ValueLastCloseTevDividedByEbitda="-last_close_tev_divided_by_ebitda",B.ValueLongTermDebtByTotalCapital="-long_term_debt_by_total_capital",B.ValueNetDebtDividedByEbitda="-net_debt_divided_by_ebitda",B.ValueNetDebtToEquity="-net_debt_to_equity",B.ValueNetEpsBasic="-net_eps_basic",B.ValueNetEpsDiluted="-net_eps_diluted",B.ValueNetIncomeMarginPercent="-net_income_margin_percent",B.ValueNewsSentiment="-news_sentiment",B.ValueOperatingCashFlowByCurrentLiabilities="-operating_cash_flow_by_current_liabilities",B.ValuePayoutRatio="-payout_ratio",B.ValuePctOfEquityHoldings="-pct_of_equity_holdings",B.ValuePeRatio="-pe_ratio",B.ValuePeriodLastPriceDividedBookValue="-period_last_price_divided_book_value",B.ValuePriceCurrencyIso3="-price_currency_iso3",B.ValueQuickRatio="-quick_ratio",B.ValueReturn1D="-return_1D",B.ValueReturn1M="-return_1M",B.ValueReturn1Y="-return_1Y",B.ValueReturn2Y="-return_2Y",B.ValueReturn5D="-return_5D",B.ValueReturn5Y="-return_5Y",B.ValueReturn6M="-return_6M",B.ValueReturnYTD="-return_YTD",B.ValueReturnOnAssets="-return_on_assets",B.ValueReturnOnEquityPercent="-return_on_equity_percent",B.ValueReturnOnTotalCapital="-return_on_total_capital",B.ValueRevenuePerEmployeeInThousands="-revenue_per_employee_in_thousands",B.ValueSectionBalanceSheetScore="-section_balance_sheet_score",B.ValueSectionBalanceSheetScoreGroup="-section_balance_sheet_score_group",B.ValueSectionCashFlowScore="-section_cash_flow_score",B.ValueSectionCashFlowScoreGroup="-section_cash_flow_score_group",B.ValueSectionEnvironmentalScore="-section_environmental_score",B.ValueSectionEnvironmentalScoreGroup="-section_environmental_score_group",B.ValueSectionGovernanceScore="-section_governance_score",B.ValueSectionGovernanceScoreGroup="-section_governance_score_group",B.ValueSectionIncomeStatementScore="-section_income_statement_score",B.ValueSectionIncomeStatementScoreGroup="-section_income_statement_score_group",B.ValueSectionRiskFactorsGroup="-section_risk_factors_group",B.ValueSectionSocialScore="-section_social_score",B.ValueSectionSocialScoreGroup="-section_social_score_group",B.ValueSectorScore="-sector_score",B.ValueSectorScoreGroup="-sector_score_group",B.ValueSharpeRatio1Y="-sharpe_ratio_1y",B.ValueTargetPriceToLastClose="-target_price_to_last_close",B.ValueTotalDebtToCapitalPercent="-total_debt_to_capital_percent",B.ValueTotalDebtToEquity="-total_debt_to_equity",B.ValueTotalRevenues="-total_revenues",B.ValueTotalRevenuesOneYearGrowthPercentage="-total_revenues_one_year_growth_percentage",B.AnalysisEsgScore="analysis_esg_score",B.AnalysisEsgScoreGroup="analysis_esg_score_group",B.AnalysisFundamentalScore="analysis_fundamental_score",B.AnalysisFundamentalScoreGroup="analysis_fundamental_score_group",B.AnalysisTechnicalScore="analysis_technical_score",B.AssetsTurnover="assets_turnover",B.AverageRevenuePerSubscriber="average_revenue_per_subscriber",B.Beta="beta",B.Beta1Year="beta_1_year",B.Beta1Y="beta_1y",B.ConsensusAnalystCount="consensus_analyst_count",B.ConsensusScoreGroup="consensus_score_group",B.CurrentPeRatio="current_pe_ratio",B.CurrentRatio="current_ratio",B.DividendYield="dividend_yield",B.DividendYieldPercentage="dividend_yield_percentage",B.EbitByInterestExpense="ebit_by_interest_expense",B.EbitdaMarginPercent="ebitda_margin_percent",B.EquityUnderManagementUsd="equity_under_management_usd",B.ExpenseRatio="expense_ratio",B.FilingDate="filing_date",B.FillingDate="filling_date",B.FreeCashFlowPerShare="free_cash_flow_per_share",B.GicsSectorId="gics_sector_id",B.GrossProfitMarginPercent="gross_profit_margin_percent",B.ImpliedMarketCap="implied_market_cap",B.LastCloseMarketCapUsd="last_close_market_cap_usd",B.LastClosePriceBookValue="last_close_price_book_value",B.LastCloseTevDividedByEbitda="last_close_tev_divided_by_ebitda",B.LongTermDebtByTotalCapital="long_term_debt_by_total_capital",B.NetDebtDividedByEbitda="net_debt_divided_by_ebitda",B.NetDebtToEquity="net_debt_to_equity",B.NetEpsBasic="net_eps_basic",B.NetEpsDiluted="net_eps_diluted",B.NetIncomeMarginPercent="net_income_margin_percent",B.NewsSentiment="news_sentiment",B.OperatingCashFlowByCurrentLiabilities="operating_cash_flow_by_current_liabilities",B.PayoutRatio="payout_ratio",B.PctOfEquityHoldings="pct_of_equity_holdings",B.PeRatio="pe_ratio",B.PeriodLastPriceDividedBookValue="period_last_price_divided_book_value",B.PriceCurrencyIso3="price_currency_iso3",B.QuickRatio="quick_ratio",B.Return1D="return_1D",B.Return1M="return_1M",B.Return1Y="return_1Y",B.Return2Y="return_2Y",B.Return5D="return_5D",B.Return5Y="return_5Y",B.Return6M="return_6M",B.ReturnYTD="return_YTD",B.ReturnOnAssets="return_on_assets",B.ReturnOnEquityPercent="return_on_equity_percent",B.ReturnOnTotalCapital="return_on_total_capital",B.RevenuePerEmployeeInThousands="revenue_per_employee_in_thousands",B.SectionBalanceSheetScore="section_balance_sheet_score",B.SectionBalanceSheetScoreGroup="section_balance_sheet_score_group",B.SectionCashFlowScore="section_cash_flow_score",B.SectionCashFlowScoreGroup="section_cash_flow_score_group",B.SectionEnvironmentalScore="section_environmental_score",B.SectionEnvironmentalScoreGroup="section_environmental_score_group",B.SectionGovernanceScore="section_governance_score",B.SectionGovernanceScoreGroup="section_governance_score_group",B.SectionIncomeStatementScore="section_income_statement_score",B.SectionIncomeStatementScoreGroup="section_income_statement_score_group",B.SectionRiskFactorsGroup="section_risk_factors_group",B.SectionSocialScore="section_social_score",B.SectionSocialScoreGroup="section_social_score_group",B.SectorScore="sector_score",B.SectorScoreGroup="sector_score_group",B.SharpeRatio1Y="sharpe_ratio_1y",B.TargetPriceToLastClose="target_price_to_last_close",B.TotalDebtToCapitalPercent="total_debt_to_capital_percent",B.TotalDebtToEquity="total_debt_to_equity",B.TotalRevenues="total_revenues",B.TotalRevenuesOneYearGrowthPercentage="total_revenues_one_year_growth_percentage",B),eP=((V={}).Countries="countries",V.GicsIndustry="gics_industry",V.GicsSector="gics_sector",V.ThemeEmphasis="theme_emphasis",V.Regions="regions",V.GicsGroup="gics_group",V.GicsIndustryGroup="gics_industry_group",V.Currency="currency",V.Exchange="exchange",V.CsaIndustry="csa_industry",V.Benchmark="benchmark",V.Sponsor="sponsor",V.Sector="sector",V.ManagementStyle="management_style",V.Recommendation="recommendation",V.MarketCapEmphasis="market_cap_emphasis",V.Exposure="exposure",V.GeographyEmphasis="geography_emphasis",V.MarketBenchmark="market_benchmark",V.PrimaryBenchmark="primary_benchmark",V),ex=((q={}).ValueAlpha1Y="-alpha_1y",q.ValueAnalysisFundamentalScore="-analysis_fundamental_score",q.ValueAnalysisFundamentalScoreGroup="-analysis_fundamental_score_group",q.ValueAnnualReturn="-annual_return",q.ValueAumUsd="-aum_usd",q.ValueAvgTradingVolume3M="-avg_trading_volume_3m",q.ValueBeta1Y="-beta_1y",q.ValueCashFlowFactor="-cash_flow_factor",q.ValueCashFlowFactorGroup="-cash_flow_factor_group",q.ValueDividendYield="-dividend_yield",q.ValueDividendYieldPercentage="-dividend_yield_percentage",q.ValueEquityUnderManagementUsd="-equity_under_management_usd",q.ValueExpenseRatio="-expense_ratio",q.ValueFillingDate="-filling_date",q.ValueGrowthFactor="-growth_factor",q.ValueGrowthFactorGroup="-growth_factor_group",q.ValueLargestHolding="-largest_holding",q.ValueLastCloseMarketCapUsd="-last_close_market_cap_usd",q.ValueMarketBenchmarkId="-market_benchmark_id",q.ValueMaxConcentration="-max_concentration",q.ValueNumberOfHoldings="-number_of_holdings",q.ValuePctOfEquityHoldings="-pct_of_equity_holdings",q.ValuePriceCurrencyIso3="-price_currency_iso3",q.ValuePrimaryBenchmarkId="-primary_benchmark_id",q.ValueReturn1D="-return_1D",q.ValueReturn1M="-return_1M",q.ValueReturn1Y="-return_1Y",q.ValueReturn2Y="-return_2Y",q.ValueReturn5D="-return_5D",q.ValueReturn5Y="-return_5Y",q.ValueReturn6M="-return_6M",q.ValueReturnYTD="-return_YTD",q.ValueSectionHoldingsGroup="-section_holdings_group",q.ValueSectionMgmtMetricGroup="-section_mgmt_metric_group",q.ValueSectionPerformanceScore="-section_performance_score",q.ValueSectionPerformanceScoreGroup="-section_performance_score_group",q.ValueSectionPortfolioScore="-section_portfolio_score",q.ValueSectionPortfolioScoreGroup="-section_portfolio_score_group",q.ValueSectionRiskFactorsGroup="-section_risk_factors_group",q.ValueSectionRiskScore="-section_risk_score",q.ValueSectionRiskScoreGroup="-section_risk_score_group",q.ValueSectorScore="-sector_score",q.ValueSharpeRatio1Y="-sharpe_ratio_1y",q.ValueSponsorAumUsd="-sponsor_aum_usd",q.ValueTrackingError1Y="-tracking_error_1y",q.ValueTradingVolumeRatio="-trading_volume_ratio",q.ValueValueFactor="-value_factor",q.ValueValueFactorGroup="-value_factor_group",q.ValueVehicleType="-vehicle_type",q.Alpha1Y="alpha_1y",q.AnalysisFundamentalScore="analysis_fundamental_score",q.AnalysisFundamentalScoreGroup="analysis_fundamental_score_group",q.AnnualReturn="annual_return",q.AumUsd="aum_usd",q.AvgTradingVolume3M="avg_trading_volume_3m",q.Beta1Y="beta_1y",q.CashFlowFactor="cash_flow_factor",q.CashFlowFactorGroup="cash_flow_factor_group",q.DividendYield="dividend_yield",q.DividendYieldPercentage="dividend_yield_percentage",q.EquityUnderManagementUsd="equity_under_management_usd",q.ExpenseRatio="expense_ratio",q.FillingDate="filling_date",q.GrowthFactor="growth_factor",q.GrowthFactorGroup="growth_factor_group",q.LargestHolding="largest_holding",q.LastCloseMarketCapUsd="last_close_market_cap_usd",q.MarketBenchmarkId="market_benchmark_id",q.MaxConcentration="max_concentration",q.NumberOfHoldings="number_of_holdings",q.PctOfEquityHoldings="pct_of_equity_holdings",q.PriceCurrencyIso3="price_currency_iso3",q.PrimaryBenchmarkId="primary_benchmark_id",q.Return1D="return_1D",q.Return1M="return_1M",q.Return1Y="return_1Y",q.Return2Y="return_2Y",q.Return5D="return_5D",q.Return5Y="return_5Y",q.Return6M="return_6M",q.ReturnYTD="return_YTD",q.SectionHoldingsGroup="section_holdings_group",q.SectionMgmtMetricGroup="section_mgmt_metric_group",q.SectionPerformanceScore="section_performance_score",q.SectionPerformanceScoreGroup="section_performance_score_group",q.SectionPortfolioScore="section_portfolio_score",q.SectionPortfolioScoreGroup="section_portfolio_score_group",q.SectionRiskFactorsGroup="section_risk_factors_group",q.SectionRiskScore="section_risk_score",q.SectionRiskScoreGroup="section_risk_score_group",q.SectorScore="sector_score",q.SharpeRatio1Y="sharpe_ratio_1y",q.SponsorAumUsd="sponsor_aum_usd",q.TrackingError1Y="tracking_error_1y",q.TradingVolumeRatio="trading_volume_ratio",q.ValueFactor="value_factor",q.ValueFactorGroup="value_factor_group",q.VehicleType="vehicle_type",q),eF=((k={}).Png="png",k.Svg="svg",k.Jpg="jpg",k),ew=((A={}).Original="original",A.Square="square",A),ej=((P={}).Square="square",P.Horizontal="horizontal",P),eR=((x={}).PublicationDate="publication_date",x.RelevancyScore="relevancy_score",x.SocialShares="social_shares",x),eD=((F={}).Social="social",F.Environmental="environmental",F.Governance="governance",F.Summary="summary",F.Controversies="controversies",F.Transparency="transparency",F.Weaknesses="weaknesses",F),eW=((w={}).Highlights="highlights",w.Lowlights="lowlights",w),eM=((j={}).BalanceSheet="balance_sheet",j.IncomeStatement="income_statement",j.CashFlow="cash_flow",j.CompanyDescription="company_description",j.CompanyFundamentals="company_fundamentals",j.SummaryRecommendation="summary_recommendation",j),eI=((R={}).NewsSummary="news_summary",R.Description="description",R.Technical="technical",R),eY=((D={}).Global="global",D.Industry="industry",D.Country="country",D.Sector="sector",D.Specific="specific",D),eL=((W={})[W.Value5=5]="Value5",W[W.Value4=4]="Value4",W[W.Value3=3]="Value3",W[W.Value2=2]="Value2",W[W.Value1=1]="Value1",W),eN=((M={}).Environmental="environmental",M.Social="social",M.Governance="governance",M),eO=((I={}).BalanceSheet="balance_sheet",I.IncomeStatement="income_statement",I.CashFlow="cash_flow",I),eH=((Y={}).Quarterly="quarterly",Y.Annually="annually",Y.Last12Month="last_12_month",Y),eU=((L={}).Stock="stock",L.Fund="fund",L),eJ=((N={}).ValueAmountOutstanding="-amount_outstanding",N.ValueBondType="-bond_type",N.ValueCoupon="-coupon",N.ValueCouponFrequency="-coupon_frequency",N.ValueFinalCreditQualityScoreGroup="-final_credit_quality_score_group",N.ValueIssueDate="-issue_date",N.ValueMaturityDate="-maturity_date",N.ValueMidApplicableSpread="-mid_applicable_spread",N.ValueMidApplicableYield="-mid_applicable_yield",N.ValueMidMacaulayDuration="-mid_macaulay_duration",N.AmountOutstanding="amount_outstanding",N.BondType="bond_type",N.Coupon="coupon",N.CouponFrequency="coupon_frequency",N.FinalCreditQualityScoreGroup="final_credit_quality_score_group",N.IssueDate="issue_date",N.MaturityDate="maturity_date",N.MidApplicableSpread="mid_applicable_spread",N.MidApplicableYield="mid_applicable_yield",N.MidMacaulayDuration="mid_macaulay_duration",N),ez=((O={}).Fundamental="fundamental",O.Esg="esg",O.PriceTarget="price_target",O.Technical="technical",O),eK=((H={}).Global="global",H.Industry="industry",H),eQ=((U={}).Global="global",U.Industry="industry",U.Country="country",U.Sector="sector",U.Specific="specific",U),eZ=((J={}).Active="active",J.Blacklisted="blacklisted",J),eX=((z={}).Stocks="stocks",z.Funds="funds",z),e0=((K={})[K.Value1=1]="Value1",K[K.Value2=2]="Value2",K[K.Value3=3]="Value3",K),e1=((Q={}).ArSA="ar-SA",Q.DeDE="de-DE",Q.EnUS="en-US",Q.EsES="es-ES",Q.FrFR="fr-FR",Q.HeIL="he-IL",Q.NlNL="nl-NL",Q.PtBR="pt-BR",Q.TrTR="tr-TR",Q.ZhCN="zh-CN",Q.JaJP="ja-JP",Q.KoKR="ko-KR",Q.ThTH="th-TH",Q.ZhHK="zh-HK",Q),e4=((Z={}).Basic="basic",Z.Advanced="advanced",Z),e5=((X={}).Geographic="geographic",X.Strategy="strategy",X.Technology="technology",X.Income="income",X.Index="index",X.Sector="sector",X.Esg="esg",X.Factor="factor",X.Thematic="thematic",X.Risk="risk",X),e7=((ee={}).Index="index",ee.Exchange="exchange",ee.DomicileCountry="domicile_country",ee.ExchangeCountry="exchange_country",ee),e9=((et={}).Isin="isin",et.Notin="notin",et),e8=((es={}).MarketCap="market_cap",es.Volume="volume",es),e2=((er={}).Ge="ge",er.Le="le",er.Gt="gt",er.Lt="lt",er),e6=((ea={}).Ge="ge",ea.Le="le",ea.Gt="gt",ea.Lt="lt",ea),e3=((en={}).Iso="iso",en.Epoch="epoch",en),te=((ei={}).Epoch="epoch",ei.Iso="iso",ei),tt=((eo={}).Iso="iso",eo.Epoch="epoch",eo),ts=((ec={}).Iso="iso",ec.Epoch="epoch",ec),tr={};d(tr,"Bwc",()=>ta);class ta{constructor(t){this.apiClient=t,e(this)}bulkdata(e,t){return this.apiClient.request({...t,url:`/bulkdata/${e}`,method:"GET",secure:!0,responseType:"json"})}investmentPolicy(e,t){return this.apiClient.request({...t,url:`/investment-policy/${e}`,method:"GET",secure:!0,responseType:"json"})}getAnalysis(e,t,s){return this.apiClient.request({...s,url:"/v2/analysis",method:"GET",params:e,secure:!0,headers:t,responseType:"json"})}getBusinessDescription(e,t,s){return this.apiClient.request({...s,url:"/v2/business-description",method:"GET",params:e,secure:!0,headers:t,responseType:"json"})}getFundamentalAnalysis(e,t,s){return this.apiClient.request({...s,url:"/v2/fundamental-analysis",method:"GET",params:e,secure:!0,headers:t,responseType:"json"})}getIndustryDescription(e,t,s){return this.apiClient.request({...s,url:"/v2/industry-description",method:"GET",params:e,secure:!0,headers:t,responseType:"json"})}getTechnicalAnalysis(e,t,s){return this.apiClient.request({...s,url:"/v2/technical-analysis",method:"GET",params:e,secure:!0,headers:t,responseType:"json"})}verifyCompanyExists(e,t){return this.apiClient.request({...t,url:"/v2/verify-company-exists",method:"GET",params:e,secure:!0,responseType:"json"})}}var tn={};d(tn,"Logos",()=>ti);class ti{constructor(t){this.apiClient=t,e(this)}fetchLogos(e,t){return this.apiClient.request({...t,url:"/companies/logos",method:"GET",params:e,secure:!0,responseType:"json"})}fetchLogo(e,t){return this.apiClient.request({...t,url:`/companies/${e}/logos`,method:"GET",secure:!0,responseType:"json"})}}var to={};d(to,"CompanyMetadata",()=>tc);class tc{constructor(t){this.apiClient=t,e(this)}getCompanies(e,t){return this.apiClient.request({...t,url:"/companies",method:"GET",params:e,secure:!0,responseType:"json"})}getCompany(e,t,s){return this.apiClient.request({...s,url:`/companies/${e}`,method:"GET",params:t,secure:!0,responseType:"json"})}getIdentifierSearch(e,t){return this.apiClient.request({...t,url:"/identifier-search",method:"GET",params:e,secure:!0,responseType:"json"})}}var tu={};d(tu,"Activities",()=>tl);class tl{constructor(t){this.apiClient=t,e(this)}getCompanyAlerts(e,t,s){return this.apiClient.request({...s,url:`/companies/${e}/alerts`,method:"GET",params:t,secure:!0,responseType:"json"})}getCompanyForecastsKeyDevelopment(e,t,s){return this.apiClient.request({...s,url:`/companies/${e}/key-developments`,method:"GET",params:t,secure:!0,responseType:"json"})}}var tp={};d(tp,"ConsensusAnalysts",()=>td);class td{constructor(t){this.apiClient=t,e(this)}getConsensusRatings(e,t,s){return this.apiClient.request({...s,url:`/companies/${e}/consensus-ratings`,method:"GET",params:t,secure:!0,responseType:"json"})}}var tm={};d(tm,"EarningCalls",()=>th);class th{constructor(t){this.apiClient=t,e(this)}getCompanyEarningsCalls(e,t,s){return this.apiClient.request({...s,url:`/companies/${e}/earnings-call`,method:"GET",params:t,secure:!0,responseType:"json"})}getEarningsCallsRecaps(e,t,s,r){return this.apiClient.request({...r,url:`/companies/${t}/earnings-call/${e}/recaps`,method:"GET",params:s,secure:!0,responseType:"json"})}}var t_={};d(t_,"EsgAnalysis",()=>tg);class tg{constructor(t){this.apiClient=t,e(this)}getCompanyEsgAnalysis(e,t,s){return this.apiClient.request({...s,url:`/companies/${e}/esg-analysis`,method:"GET",params:t,secure:!0,responseType:"json"})}getCompanyEsgParagraphs(e,t,s){return this.apiClient.request({...s,url:`/companies/${e}/esg-paragraphs`,method:"GET",params:t,secure:!0,responseType:"json"})}getCompanyEsgParameters(e,t,s){return this.apiClient.request({...s,url:`/companies/${e}/esg-parameters`,method:"GET",params:t,secure:!0,responseType:"json"})}getCompanyEsgSections(e,t,s){return this.apiClient.request({...s,url:`/companies/${e}/esg-sections`,method:"GET",params:t,secure:!0,responseType:"json"})}getCompanyForecastsMsa(e,t,s){return this.apiClient.request({...s,url:`/companies/${e}/sustainability-incidents`,method:"GET",params:t,secure:!0,responseType:"json"})}}var ty={};d(ty,"FundamentalAnalysis",()=>tT);class tT{constructor(t){this.apiClient=t,e(this)}getCompanyFundamentalAnalysis(e,t,s){return this.apiClient.request({...s,url:`/companies/${e}/fundamental-analysis`,method:"GET",params:t,secure:!0,responseType:"json"})}getCompanyFundamentalParagraphs(e,t,s){return this.apiClient.request({...s,url:`/companies/${e}/fundamental-paragraphs`,method:"GET",params:t,secure:!0,responseType:"json"})}getCompanyFundamentalParameters(e,t,s){return this.apiClient.request({...s,url:`/companies/${e}/fundamental-parameters`,method:"GET",params:t,secure:!0,responseType:"json"})}getCompanyFundamentalSections(e,t,s){return this.apiClient.request({...s,url:`/companies/${e}/fundamental-sections`,method:"GET",params:t,secure:!0,responseType:"json"})}getTargetPrice(e,t,s){return this.apiClient.request({...s,url:`/companies/${e}/target-price`,method:"GET",params:t,secure:!0,responseType:"json"})}getCompanyPriceTargetParagraphs(e,t,s){return this.apiClient.request({...s,url:`/companies/${e}/target-price-paragraphs`,method:"GET",params:t,secure:!0,responseType:"json"})}}var tC={};d(tC,"CompanyMarketData",()=>tf);class tf{constructor(t){this.apiClient=t,e(this)}getCompanyMarketData(e,t,s){return this.apiClient.request({...s,url:`/companies/${e}/market`,method:"GET",params:t,secure:!0,responseType:"json"})}getCompanyMarketStatistics(e,t,s){return this.apiClient.request({...s,url:`/companies/${e}/market-statistics`,method:"GET",params:t,secure:!0,responseType:"json"})}getTradingItems(e,t,s){return this.apiClient.request({...s,url:`/companies/${e}/trading-items`,method:"GET",params:t,secure:!0,responseType:"json"})}}var t$={};d(t$,"CompanyNews",()=>tE);class tE{constructor(t){this.apiClient=t,e(this)}getCompanyNews(e,t,s){return this.apiClient.request({...s,url:`/companies/${e}/news`,method:"GET",params:t,secure:!0,responseType:"json"})}getNewsParagraphForACompany(e,t,s){return this.apiClient.request({...s,url:`/companies/${e}/news-paragraph`,method:"GET",params:t,secure:!0,responseType:"json"})}getAverageCompanyNewsSentiment(e,t,s){return this.apiClient.request({...s,url:`/companies/${e}/news-sentiment`,method:"GET",params:t,secure:!0,responseType:"json"})}}var tS={};d(tS,"TechnicalAnalysis",()=>tb);class tb{constructor(t){this.apiClient=t,e(this)}getCompanyTechnicalAnalysis(e,t,s){return this.apiClient.request({...s,url:`/companies/${e}/technical-analysis`,method:"GET",params:t,secure:!0,responseType:"json"})}getCompanyTechnicalParagraphs(e,t,s){return this.apiClient.request({...s,url:`/companies/${e}/technical-paragraphs`,method:"GET",params:t,secure:!0,responseType:"json"})}getCompanyTechnicalParameters(e,t,s){return this.apiClient.request({...s,url:`/companies/${e}/technical-parameters`,method:"GET",params:t,secure:!0,responseType:"json"})}}var tv={};d(tv,"PdfReportGeneration",()=>tG);class tG{constructor(t){this.apiClient=t,e(this)}downloadPdfReport(e,t){return this.apiClient.request({...t,url:"/download-pdf-report",method:"GET",params:e,secure:!0,responseType:"json"})}sendPdfReportToMail(e,t){return this.apiClient.request({...t,url:"/send-pdf-report-to-mail",method:"GET",params:e,secure:!0,responseType:"json"})}}var tB={};d(tB,"Metadata",()=>tV);class tV{constructor(t){this.apiClient=t,e(this)}getCompanyFilters(e,t){return this.apiClient.request({...t,url:"/filters",method:"GET",params:e,secure:!0,responseType:"json"})}}var tq={};d(tq,"FundMetadata",()=>tk);class tk{constructor(t){this.apiClient=t,e(this)}getFunds(e,t){return this.apiClient.request({...t,url:"/funds",method:"GET",params:e,secure:!0,responseType:"json"})}getFund(e,t,s){return this.apiClient.request({...s,url:`/funds/${e}`,method:"GET",params:t,secure:!0,responseType:"json"})}}var tA={};d(tA,"FundAnalysis",()=>tP);class tP{constructor(t){this.apiClient=t,e(this)}getFundAnalysis(e,t,s){return this.apiClient.request({...s,url:`/funds/${e}/analysis`,method:"GET",params:t,secure:!0,responseType:"json"})}getFundsParagraphs(e,t,s){return this.apiClient.request({...s,url:`/funds/${e}/paragraphs`,method:"GET",params:t,secure:!0,responseType:"json"})}getFundParameters(e,t,s){return this.apiClient.request({...s,url:`/funds/${e}/parameters`,method:"GET",params:t,secure:!0,responseType:"json"})}getFundSections(e,t,s){return this.apiClient.request({...s,url:`/funds/${e}/sections`,method:"GET",params:t,secure:!0,responseType:"json"})}}var tx={};d(tx,"Holdings",()=>tF);class tF{constructor(t){this.apiClient=t,e(this)}getCompositions(e,t,s){return this.apiClient.request({...s,url:`/funds/${e}/compositions`,method:"GET",params:t,secure:!0,responseType:"json"})}getHoldingStatistics(e,t,s){return this.apiClient.request({...s,url:`/funds/${e}/holding-statistics`,method:"GET",params:t,secure:!0,responseType:"json"})}getHoldings(e,t,s){return this.apiClient.request({...s,url:`/funds/${e}/holdings`,method:"GET",params:t,secure:!0,responseType:"json"})}}var tw={};d(tw,"FundEsgAnalysis",()=>tj);class tj{constructor(t){this.apiClient=t,e(this)}getFundEsgAnalysis(e,t,s){return this.apiClient.request({...s,url:`/funds/${e}/esg-analysis`,method:"GET",params:t,secure:!0,responseType:"json"})}}var tR={};d(tR,"FundMarketData",()=>tD);class tD{constructor(t){this.apiClient=t,e(this)}getFundsMarketData(e,t,s){return this.apiClient.request({...s,url:`/funds/${e}/market`,method:"GET",params:t,secure:!0,responseType:"json"})}getFundsMarketStatistics(e,t,s){return this.apiClient.request({...s,url:`/funds/${e}/market-statistics`,method:"GET",params:t,secure:!0,responseType:"json"})}getFundTradingItems(e,t,s){return this.apiClient.request({...s,url:`/funds/${e}/trading-items`,method:"GET",params:t,secure:!0,responseType:"json"})}}var tW={};d(tW,"Companies",()=>tM);class tM{constructor(t){this.apiClient=t,e(this)}getBondsV1(e,t){return this.apiClient.request({...t,url:"/scanner/v1/bonds",method:"GET",params:e,secure:!0,responseType:"json"})}getBondByIdV1(e,t,s){return this.apiClient.request({...s,url:`/scanner/v1/bonds/${e}`,method:"GET",params:t,secure:!0,responseType:"json"})}getCompanies(e,t){return this.apiClient.request({...t,url:"/scanner/v1/companies",method:"GET",params:e,secure:!0,responseType:"json"})}getCompanyByIdV1(e,t,s){return this.apiClient.request({...s,url:`/scanner/v1/companies/${e}`,method:"GET",params:t,secure:!0,responseType:"json"})}getFunds(e,t){return this.apiClient.request({...t,url:"/scanner/v1/funds",method:"GET",params:e,secure:!0,responseType:"json"})}getFundByIdV1(e,t,s){return this.apiClient.request({...s,url:`/scanner/v1/funds/${e}`,method:"GET",params:t,secure:!0,responseType:"json"})}getBondsV2(e,t){return this.apiClient.request({...t,url:"/scanner/v2/bonds",method:"GET",params:e,secure:!0,responseType:"json"})}getBondByIdV2(e,t,s){return this.apiClient.request({...s,url:`/scanner/v2/bonds/${e}`,method:"GET",params:t,secure:!0,responseType:"json"})}scanCompaniesV2(e,t){return this.apiClient.request({...t,url:"/scanner/v2/companies",method:"GET",params:e,secure:!0,responseType:"json"})}getCompanyById(e,t,s){return this.apiClient.request({...s,url:`/scanner/v2/companies/${e}`,method:"GET",params:t,secure:!0,responseType:"json"})}getFiltersList(e,t){return this.apiClient.request({...t,url:"/scanner/v2/filters",method:"GET",params:e,secure:!0,responseType:"json"})}scanFund(e,t){return this.apiClient.request({...t,url:"/scanner/v2/funds",method:"GET",params:e,secure:!0,responseType:"json"})}getFundById(e,t,s){return this.apiClient.request({...s,url:`/scanner/v2/funds/${e}`,method:"GET",params:t,secure:!0,responseType:"json"})}sanFunds(e){return this.apiClient.request({...e,url:"/scanner/v2/scan",method:"GET",secure:!0,responseType:"json"})}}var tI={};d(tI,"SectorAnalysis",()=>tY);class tY{constructor(t){this.apiClient=t,e(this)}getSectorAnalysis(e,t,s){return this.apiClient.request({...s,url:`/sectors/${e}/analysis`,method:"GET",params:t,secure:!0,responseType:"json"})}}var tL={};d(tL,"Tenants",()=>tN);class tN{constructor(t){this.apiClient=t,e(this)}fetchTenant(e,t){return this.apiClient.request({...t,url:`/tenants/${e}`,method:"GET",secure:!0,responseType:"json"})}getHistoricalPolicyChanges(e,t,s){return this.apiClient.request({...s,url:`/tenants/${e}/historical-policy-changes`,method:"GET",params:t,secure:!0,responseType:"json"})}createTenantInvestmentPoliciesConfig(e,t,s){return this.apiClient.request({...s,url:`/tenants/${e}/investment-policies-config`,method:"POST",data:t,secure:!0,contentType:eu.Json,responseType:"json"})}listTenantInvestmentPoliciesConfigs(e,t){return this.apiClient.request({...t,url:`/tenants/${e}/investment-policies-config`,method:"GET",secure:!0,responseType:"json"})}createTenantInvestmentPoliciesConfigBulk(e,t,s){return this.apiClient.request({...s,url:`/tenants/${e}/investment-policies-config/bulk`,method:"POST",data:t,secure:!0,contentType:eu.Json,responseType:"json"})}getTenantInvestmentPoliciesConfig(e,t,s){return this.apiClient.request({...s,url:`/tenants/${t}/investment-policies-config/${e}`,method:"GET",secure:!0,responseType:"json"})}patchTenantInvestmentPoliciesConfig(e,t,s,r){return this.apiClient.request({...r,url:`/tenants/${t}/investment-policies-config/${e}`,method:"PATCH",data:s,secure:!0,contentType:eu.Json,responseType:"json"})}deleteTenantInvestmentPoliciesConfig(e,t,s){return this.apiClient.request({...s,url:`/tenants/${t}/investment-policies-config/${e}`,method:"DELETE",secure:!0,responseType:"json"})}createCognitoClientApplication(e,t,s){return this.apiClient.request({...s,url:`/tenants/${e}/machine`,method:"POST",data:t,secure:!0,contentType:eu.Json,responseType:"json"})}getRecommendations(e,t,s){return this.apiClient.request({...s,url:`/tenants/${e}/recommendations`,method:"GET",params:t,secure:!0,responseType:"json"})}createTenantRecommendationsConfig(e,t,s){return this.apiClient.request({...s,url:`/tenants/${e}/recommendations-config`,method:"POST",data:t,secure:!0,contentType:eu.Json,responseType:"json"})}createTenantRecommendationsConfigBulk(e,t,s){return this.apiClient.request({...s,url:`/tenants/${e}/recommendations-config/bulk`,method:"POST",data:t,secure:!0,contentType:eu.Json,responseType:"json"})}getTenantRecommendationsConfig(e,t,s){return this.apiClient.request({...s,url:`/tenants/${e}/recommendations-config/${t}`,method:"GET",secure:!0,responseType:"json"})}patchTenantRecommendationsConfig(e,t,s,r){return this.apiClient.request({...r,url:`/tenants/${e}/recommendations-config/${t}`,method:"PATCH",data:s,secure:!0,contentType:eu.Json,responseType:"json"})}deleteTenantRecommendationsConfig(e,t,s){return this.apiClient.request({...s,url:`/tenants/${e}/recommendations-config/${t}`,method:"DELETE",secure:!0,responseType:"json"})}}var tO={};d(tO,"TenantIdentifiers",()=>tH);class tH{constructor(t){this.apiClient=t,e(this)}getTenantIdentifiers(e,t,s){return this.apiClient.request({...s,url:`/tenants/${e}/identifiers`,method:"GET",params:t,secure:!0,responseType:"json"})}createTenantIdentifier(e,t,s){return this.apiClient.request({...s,url:`/tenants/${e}/identifiers`,method:"POST",data:t,secure:!0,contentType:eu.Json,responseType:"json"})}updateTenantIdentifier(e,t,s,r){return this.apiClient.request({...r,url:`/tenants/${e}/identifiers/${t}`,method:"PATCH",data:s,secure:!0,contentType:eu.Json,responseType:"json"})}deleteTenantIdentifier(e,t,s){return this.apiClient.request({...s,url:`/tenants/${e}/identifiers/${t}`,method:"DELETE",secure:!0,responseType:"json"})}}var tU={};d(tU,"Themes",()=>tJ);class tJ{constructor(t){this.apiClient=t,e(this)}getThemes(e,t){return this.apiClient.request({...t,url:"/themes",method:"GET",params:e,secure:!0,responseType:"json"})}getTheme(e,t,s){return this.apiClient.request({...s,url:`/themes/${e}`,method:"GET",params:t,secure:!0,responseType:"json"})}getThemeFilters(e,t){return this.apiClient.request({...t,url:`/themes/${e}/filters`,method:"GET",secure:!0,responseType:"json"})}}var tz={};d(tz,"Users",()=>tK);class tK{constructor(t){this.apiClient=t,e(this)}authenticate(e,t){return this.apiClient.request({...t,url:"/users/authenticate",method:"POST",data:e,secure:!0,contentType:eu.Json,responseType:"json"})}fetchClientDetails(e,t){return this.apiClient.request({...t,url:"/users/machine",method:"GET",secure:!0,headers:e,responseType:"json"})}}var tQ={};d(tQ,"Bridget",()=>tZ);class tZ{constructor(t){this.apiClient=t,e(this)}questionsCreate(e,t,s){return this.apiClient.request({...s,url:"/questions",method:"POST",data:e,secure:!0,headers:t,contentType:eu.Json,responseType:"json"})}tenantsQuestionsRetrieve(e,t,s){return this.apiClient.request({...s,url:`/tenants/${e}/questions`,method:"GET",params:t,secure:!0,responseType:"json"})}}var tX={};d(tX,"Segmentations",()=>t0);class t0{constructor(t){this.apiClient=t,e(this)}getSegmentParameters(e,t,s){return this.apiClient.request({...s,url:`/funds/${e}/segment-parameters`,method:"GET",params:t,secure:!0,responseType:"json"})}getSegment(e,t,s){return this.apiClient.request({...s,url:`/funds/${e}/segments`,method:"GET",params:t,secure:!0,responseType:"json"})}}var t1={};d(t1,"Health",()=>t4);class t4{constructor(t){this.apiClient=t,e(this)}health(e){return this.apiClient.request({...e,url:"/health",method:"GET",secure:!0,responseType:"json"})}}m(ed,em),m(ed,e_),m(ed,ey),m(ed,eC),m(ed,tr),m(ed,tn),m(ed,to),m(ed,tu),m(ed,tp),m(ed,tm),m(ed,t_),m(ed,ty),m(ed,tC),m(ed,t$),m(ed,tS),m(ed,tv),m(ed,tB),m(ed,tq),m(ed,tA),m(ed,tx),m(ed,tw),m(ed,tR),m(ed,tW),m(ed,tI),m(ed,tL),m(ed,tO),m(ed,tU),m(ed,tz),m(ed,tQ),m(ed,tX),m(ed,t1);class t5 extends h{constructor(e){super(new ep(e)),this.config=e,this.activities=new tl(this.apiClient),this.alerts=new eh(this.apiClient),this.alternativeAssets=new eg(this.apiClient),this.bonds=new eT(this.apiClient),this.bridget=new tZ(this.apiClient),this.bwc=new ta(this.apiClient),this.companies=new tM(this.apiClient),this.companyMarketData=new tf(this.apiClient),this.companyMetadata=new tc(this.apiClient),this.companyNews=new tE(this.apiClient),this.consensusAnalysts=new td(this.apiClient),this.earningCalls=new th(this.apiClient),this.esgAnalysis=new tg(this.apiClient),this.fundamentalAnalysis=new tT(this.apiClient),this.fundAnalysis=new tP(this.apiClient),this.fundEsgAnalysis=new tj(this.apiClient),this.fundMarketData=new tD(this.apiClient),this.fundMetadata=new tk(this.apiClient),this.health=new t4(this.apiClient),this.holdings=new tF(this.apiClient),this.logos=new ti(this.apiClient),this.metadata=new tV(this.apiClient),this.pdfReportGeneration=new tG(this.apiClient),this.sectorAnalysis=new tY(this.apiClient),this.segmentations=new t0(this.apiClient),this.technicalAnalysis=new tb(this.apiClient),this.tenantIdentifiers=new tH(this.apiClient),this.tenants=new tN(this.apiClient),this.themes=new tJ(this.apiClient),this.users=new tK(this.apiClient)}}export{t5 as BridgeWiseApi,eh as Alerts,eg as AlternativeAssets,eT as Bonds,ef as BridgeWiseAlertLanguagesEnum,e$ as BridgeWiseAssetTypeEnum,eE as BridgeWiseEventSentimentEnum,eS as BridgeWiseEventTypeEnum,eb as BridgeWiseBondsSectionTypeEnum,ev as BridgeWiseLanguageEnum,eG as BridgeWiseParametersSectionTypeEnum,eB as BridgeWiseUniverseEnum,eV as BridgeWiseStringBooleanEnum,eq as BridgeWiseCompanyAlertSentiment,ek as BridgeWiseCompanyAlertType,eA as BridgeWiseCompaniesSortByEnum,eP as BridgeWiseCompanyFilterType,ex as BridgeWiseFundsSortByEnum,eF as BridgeWiseImageExtensionEnum,ew as BridgeWiseLogoSizeEnum,ej as BridgeWiseLogoTypeEnum,eR as BridgeWiseCompanyNewsSortingEnum,eD as BridgeWiseESGSectionTypeEnum,eW as BridgeWiseEarningsCallRecapEnum,eM as BridgeWiseFundamentalParagraphSectionTypeEnum,eI as BridgeWiseParagraphTextEnum,eY as BridgeWiseScoringMethodEnum,eL as BridgeWiseESGScoreGroup,eN as BridgeWiseESGSectionTypeParamEnumV2,eO as BridgeWiseFundamentalSectionTypeEnum,eH as BridgeWisePeriodTypeEnum,eU as BridgeWisePDFReportType,eJ as BridgeWiseBondsSortByEnum,ez as BridgeWiseAnalysisTypeEnum,eK as BridgeWiseGlobalIndustryScoringEnum,eQ as BridgeWiseScoreMethodology,eZ as BridgeWiseTenantIdentifierStatusEnum,eX as BridgeWiseThemeAssetClassEnum,e0 as BridgeWiseThemeGroupEnum,e1 as BridgeWiseThemeLanguageEnum,e4 as BridgeWiseThemePackageEnum,e5 as BridgeWiseThemeTypeEnum,e7 as BridgeWiseIdCheckConfigNameEnum,e9 as BridgeWiseIdCheckConfigOperatorEnum,e8 as BridgeWiseMarketDataConfigNameEnum,e2 as BridgeWiseMarketDataConfigOperatorEnum,e6 as BridgeWiseStockingFloatConfigOperatorEnum,e3 as BridgeWiseGetBusinessDescriptionParamsDateFormatEnum,te as BridgeWiseGetFundamentalAnalysisParamsDateFormatEnum,tt as BridgeWiseGetIndustryDescriptionParamsDateFormatEnum,ts as BridgeWiseGetTechnicalAnalysisParamsDateFormatEnum,ta as Bwc,ti as Logos,tc as CompanyMetadata,tl as Activities,td as ConsensusAnalysts,th as EarningCalls,tg as EsgAnalysis,tT as FundamentalAnalysis,tf as CompanyMarketData,tE as CompanyNews,tb as TechnicalAnalysis,tG as PdfReportGeneration,tV as Metadata,tk as FundMetadata,tP as FundAnalysis,tF as Holdings,tj as FundEsgAnalysis,tD as FundMarketData,tM as Companies,tY as SectorAnalysis,tN as Tenants,tH as TenantIdentifiers,tJ as Themes,tK as Users,tZ as Bridget,t0 as Segmentations,t4 as Health};
2
2
  //# sourceMappingURL=index.esm.js.map