@orbis-systems/orbis-api-clients 0.7.9 → 0.7.11

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 (43) hide show
  1. package/dist/aesmidas/index.d.ts +136 -127
  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 +473 -464
  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 +440 -355
  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 +34 -34
  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 +845 -845
  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 +379 -379
  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/dist/zerohash/index.d.ts +142 -142
  38. package/dist/zerohash/index.d.ts.map +1 -1
  39. package/dist/zerohash/index.esm.js +1 -1
  40. package/dist/zerohash/index.esm.js.map +1 -1
  41. package/dist/zerohash/index.js +1 -1
  42. package/dist/zerohash/index.js.map +1 -1
  43. package/package.json +1 -1
@@ -1,2 +1,2 @@
1
- var e,t,r,s,n,a,i,o,u,c,l,p,m,h,d,_,g,y,T,C,f,S,E,v,V,G,q,b,k,w,P,R,F,j,B,A,D,$,I,x,M,W,Y=require("auto-bind"),N=require("async-mutex"),L=require("consola"),O=require("date-fns"),H=require("jwt-decode"),J=require("axios"),U=require("axios-better-stacktrace"),K=require("lodash");function z(e,t){return Object.keys(t).forEach(function(r){"default"===r||"__esModule"===r||Object.prototype.hasOwnProperty.call(e,r)||Object.defineProperty(e,r,{enumerable:!0,get:function(){return t[r]}})}),e}function Q(e,t,r,s){Object.defineProperty(e,t,{get:r,set:s,enumerable:!0,configurable:!0})}function Z(e){return e&&e.__esModule?e.default:e}var X={};Q(X,"BridgeWiseApi",()=>tj);class ee{constructor(e){this.apiClient=e,Z(Y)(this)}getApiClient(){return this.apiClient}}var et=((e={}).Json="application/json",e.FormData="multipart/form-data",e.UrlEncoded="application/x-www-form-urlencoded",e.Text="text/plain",e);class er{constructor(e){this.config=e,Z(Y)(this),this.storage=e.storage??sessionStorage,this.axiosInstance=Z(J).create({...e.axiosConfig,baseURL:e.baseUrl,headers:{"Content-Type":"application/json",...e.axiosConfig?.headers}}),Z(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,r)=>{let s=e[r];for(let e of s instanceof Array?s:[s]){let s=e instanceof Blob||e instanceof File;t.append(r,s?e:this.stringifyFormItem(e))}return t},new FormData)}async request(e){let{contentType:t,data:r}=e;(0,K.isNil)(r)||("multipart/form-data"===t&&"object"==typeof r&&(e.data=this.createFormData(r)),"text/plain"===t&&"string"!=typeof r&&(e.data=JSON.stringify(r)));let s=(0,K.merge)(e.secure??this.config.defaultSecure??!0?await this.prepareAuthRequestConfig():{},t?{headers:{"Content-Type":t}}:{},e);try{let{data:e,status:t,statusText:r}=await this.axiosInstance.request(s);return{success:!0,data:e,status:t,statusText:r}}catch(r){let t={success:!1,status:-1,statusText:String(r),error:r};if((0,J.isAxiosError)(r)&&(this.config.onAxiosError?.(r),t.data=r.response?.data,t.status=r.response?.status??t.status,t.statusText=r.response?.statusText??t.statusText),this.config.onError?.(r),!this.config.handleError&&!e.handleError)throw r;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,r){return this.request({...r,method:"POST",url:e,data:t})}put(e,t,r){return this.request({...r,method:"PUT",url:e,data:t})}patch(e,t,r){return this.request({...r,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 es extends er{constructor(e){super(e),this.config=e,this.lock=new N.Mutex}getConfig(){return super.getConfig()}setRenewTokenCallback(e){this.renewTokenCallback=e}async prepareAuthRequestConfig(){if(this.config.axiosConfig?.withCredentials)return{};let{accessToken:e}=this.getAuthData()||{};if(!e)return(0,L.consola).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&&(0,L.consola).debug("Token expired. Renewing…"),e=(await this.renewToken()).accessToken,this.lock.cancel()})}catch(t){if(t===N.E_CANCELED)e=this.getAuthData()?.accessToken;else throw t}return{headers:{Authorization:`${this.config.authSchema??"Bearer"} ${e}`}}}isTokenExpired(e){let t=(0,H.jwtDecode)(e);return!t.exp||(0,O.isBefore)((0,O.subMinutes)(1e3*t.exp,1),Date.now())}async renewToken(){let e=this.config.onRenewToken??this.renewTokenCallback;if(!e)throw Error("No renew token callback provided");let t=await e();return this.setAuthData(t),t}}var en={},ea={};Q(ea,"BridgeWiseLanguageEnum",()=>ei),Q(ea,"BridgeWiseStringBooleanEnum",()=>eo),Q(ea,"BridgeWiseCompanyAlertSentiment",()=>eu),Q(ea,"BridgeWiseCompanyAlertType",()=>ec),Q(ea,"BridgeWiseForecastType",()=>el),Q(ea,"BridgeWiseCompaniesSortByEnum",()=>ep),Q(ea,"BridgeWiseCompanyFilterType",()=>em),Q(ea,"BridgeWiseCompositionTypeEnum",()=>eh),Q(ea,"BridgeWiseFundsSortByEnum",()=>ed),Q(ea,"BridgeWiseImageExtensionEnum",()=>e_),Q(ea,"BridgeWiseLogoSizeEnum",()=>eg),Q(ea,"BridgeWiseLogoTypeEnum",()=>ey),Q(ea,"BridgeWiseCompanyNewsSortingEnum",()=>eT),Q(ea,"BridgeWiseESGSectionTypeEnum",()=>eC),Q(ea,"BridgeWiseEarningsCallRecapEnum",()=>ef),Q(ea,"BridgeWiseFundamentalParagraphSectionTypeEnum",()=>eS),Q(ea,"BridgeWiseNewsSentimentEnum",()=>eE),Q(ea,"BridgeWiseScoringMethodEnum",()=>ev),Q(ea,"BridgeWiseESGScoreGroup",()=>eV),Q(ea,"BridgeWiseESGSectionTypeParamEnumV2",()=>eG),Q(ea,"BridgeWiseFundamentalSectionTypeEnum",()=>eq),Q(ea,"BridgeWiseFundsSegmentParameterEnum",()=>eb),Q(ea,"BridgeWisePeriodTypeEnum",()=>ek),Q(ea,"BridgeWiseAnalysisTypeEnum",()=>ew),Q(ea,"BridgeWiseGlobalIndustryScoringEnum",()=>eP),Q(ea,"BridgeWiseScoreMethodology",()=>eR),Q(ea,"BridgeWiseEventTypeEnum",()=>eF),Q(ea,"BridgeWiseTenantIdentifierStatusEnum",()=>ej),Q(ea,"BridgeWiseThemeGroupEnum",()=>eB),Q(ea,"BridgeWiseThemeLanguageEnum",()=>eA),Q(ea,"BridgeWiseThemePackageEnum",()=>eD),Q(ea,"BridgeWiseThemeTypeEnum",()=>e$),Q(ea,"BridgeWiseIdCheckConfigNameEnum",()=>eI),Q(ea,"BridgeWiseIdCheckConfigOperatorEnum",()=>ex),Q(ea,"BridgeWiseMarketDataConfigNameEnum",()=>eM),Q(ea,"BridgeWiseMarketDataConfigOperatorEnum",()=>eW),Q(ea,"BridgeWiseStockingFloatConfigOperatorEnum",()=>eY),Q(ea,"BridgeWiseGetBusinessDescriptionParamsDateFormatEnum",()=>eN),Q(ea,"BridgeWiseGetFundamentalAnalysisParamsDateFormatEnum",()=>eL),Q(ea,"BridgeWiseGetIndustryDescriptionParamsDateFormatEnum",()=>eO),Q(ea,"BridgeWiseGetTechnicalAnalysisParamsDateFormatEnum",()=>eH);var ei=((t={}).ArSA="ar-SA",t.DeDE="de-DE",t.EnUS="en-US",t.EsES="es-ES",t.FrFR="fr-FR",t.HeIL="he-IL",t.NlNL="nl-NL",t.PtBR="pt-BR",t.TrTR="tr-TR",t.ZhCN="zh-CN",t.JaJP="ja-JP",t.KoKR="ko-KR",t.ThTH="th-TH",t.ZhHK="zh-HK",t),eo=((r={}).True="true",r.False="false",r),eu=((s={}).Positive="positive",s.Negative="negative",s),ec=((n={}).Fundamental="fundamental",n.Market="market",n),el=((a={}).Esg="esg",a.KeyDevelopments="key_developments",a.News="news",a),ep=((i={}).ValueAnalysisEsgScore="-analysis_esg_score",i.ValueAnalysisEsgScoreGroup="-analysis_esg_score_group",i.ValueAnalysisFundamentalScore="-analysis_fundamental_score",i.ValueAnalysisFundamentalScoreGroup="-analysis_fundamental_score_group",i.ValueAssetTurnover="-asset_turnover",i.ValueAverageRevenuePerSubscriber="-average_revenue_per_subscriber",i.ValueBeta1Year="-beta_1_year",i.ValueBeta1Year1="-beta_1_year",i.ValueBeta1Y="-beta_1y",i.ValuePeRatio="-pe_ratio",i.ValueCurrentRatio="-current_ratio",i.ValueDividendYield="-dividend_yield",i.ValueDividendYieldPercentage="-dividend_yield_percentage",i.ValueEbitInterestExpense="-ebit_interest_expense",i.ValueEbitdaMarginPercentage="-ebitda_margin_percentage",i.ValueEquityUnderManagement="-equity_under_management",i.ValueExpenseRatio="-expense_ratio",i.ValueFilingDate="-filing_date",i.ValueFilingDate2="-filing_date",i.ValueFreeCashFlowShare="-free_cash_flow_share",i.ValueGicsSectorId="-gics_sector_id",i.ValueGrossProfitMarginPercentage="-gross_profit_margin_percentage",i.ValueImpliedMarketCap="-implied_market_cap",i.ValueLastCloseMarketCapUsd="-last_close_market_cap_usd",i.ValuePbRatio="-pb_ratio",i.ValueLastCloseTevEbitda="-last_close_tev_ebitda",i.ValueLongTermDebtTotalCapital="-long_term_debt_total_capital",i.ValueNetDebtToEbitda="-net_debt_to_ebitda",i.ValueTotalDebtEquity="-total_debt_equity",i.ValueNetEpsBasic="-net_eps_basic",i.ValueNetEpsDiluted="-net_eps_diluted",i.ValueNetIncomeMarginPercentage="-net_income_margin_percentage",i.ValueOperatingCashFlowToCurrentLiabilities="-operating_cash_flow_to_current_liabilities",i.ValuePayoutRatio="-payout_ratio",i.ValuePctOfEquityHoldings="-pct_of_equity_holdings",i.ValuePeRatio3="-pe_ratio",i.ValuePeriodLastPriceBookValue="-period_last_price_book_value",i.ValuePriceCurrencyIso3="-price_currency_iso3",i.ValueQuickRatio="-quick_ratio",i.ValueReturn1D="-return_1d",i.ValueReturn1M="-return_1m",i.ValueReturn1Y="-return_1y",i.ValueReturn2Y="-return_2y",i.ValueReturn5D="-return_5d",i.ValueReturn5Y="-return_5y",i.ValueReturn6M="-return_6m",i.ValueReturnYtd="-return_ytd",i.ValueReturnOnAssets="-return_on_assets",i.ValueReturnOnEquityPercentage="-return_on_equity_percentage",i.ValueReturnOnTotalCapital="-return_on_total_capital",i.ValueRevenuePerEmployeeInThousands="-revenue_per_employee_in_thousands",i.ValueSectionBalanceSheetScore="-section_balance_sheet_score",i.ValueSectionBalanceSheetScoreGroup="-section_balance_sheet_score_group",i.ValueSectionCashFlowScore="-section_cash_flow_score",i.ValueSectionCashFlowScoreGroup="-section_cash_flow_score_group",i.ValueSectionEnvironmentalScore="-section_environmental_score",i.ValueSectionEnvironmentalScoreGroup="-section_environmental_score_group",i.ValueSectionGovernanceScore="-section_governance_score",i.ValueSectionGovernanceScoreGroup="-section_governance_score_group",i.ValueSectionIncomeStatementScore="-section_income_statement_score",i.ValueSectionIncomeStatementScoreGroup="-section_income_statement_score_group",i.ValueSectionRiskFactorsGroup="-section_risk_factors_group",i.ValueSectionSocialScore="-section_social_score",i.ValueSectionSocialScoreGroup="-section_social_score_group",i.ValueSectorScore="-sector_score",i.ValueSectorScoreGroup="-sector_score_group",i.ValueSharpeRatio1Y="-sharpe_ratio_1y",i.ValueTotalDebtToCapitalPercentage="-total_debt_to_capital_percentage",i.ValueTotalDebtEquity4="-total_debt_equity",i.ValueTotalRevenues="-total_revenues",i.ValueTotalRevenues1YearGrowthPercentage="-total_revenues_1_year_growth_percentage",i.AnalysisEsgScore="analysis_esg_score",i.AnalysisEsgScoreGroup="analysis_esg_score_group",i.AnalysisFundamentalScore="analysis_fundamental_score",i.AnalysisFundamentalScoreGroup="analysis_fundamental_score_group",i.AssetTurnover="asset_turnover",i.AverageRevenuePerSubscriber="average_revenue_per_subscriber",i.Beta1Year="beta_1_year",i.Beta1Year5="beta_1_year",i.Beta1Y="beta_1y",i.PeRatio="pe_ratio",i.CurrentRatio="current_ratio",i.DividendYield="dividend_yield",i.DividendYieldPercentage="dividend_yield_percentage",i.EbitInterestExpense="ebit_interest_expense",i.EbitdaMarginPercentage="ebitda_margin_percentage",i.EquityUnderManagement="equity_under_management",i.ExpenseRatio="expense_ratio",i.FilingDate="filing_date",i.FilingDate6="filing_date",i.FreeCashFlowShare="free_cash_flow_share",i.GicsSectorId="gics_sector_id",i.GrossProfitMarginPercentage="gross_profit_margin_percentage",i.ImpliedMarketCap="implied_market_cap",i.LastCloseMarketCapUsd="last_close_market_cap_usd",i.PbRatio="pb_ratio",i.LastCloseTevEbitda="last_close_tev_ebitda",i.LongTermDebtTotalCapital="long_term_debt_total_capital",i.NetDebtToEbitda="net_debt_to_ebitda",i.TotalDebtEquity="total_debt_equity",i.NetEpsBasic="net_eps_basic",i.NetEpsDiluted="net_eps_diluted",i.NetIncomeMarginPercentage="net_income_margin_percentage",i.OperatingCashFlowToCurrentLiabilities="operating_cash_flow_to_current_liabilities",i.PayoutRatio="payout_ratio",i.PctOfEquityHoldings="pct_of_equity_holdings",i.PeRatio7="pe_ratio",i.PeriodLastPriceBookValue="period_last_price_book_value",i.PriceCurrencyIso3="price_currency_iso3",i.QuickRatio="quick_ratio",i.Return1D="return_1d",i.Return1M="return_1m",i.Return1Y="return_1y",i.Return2Y="return_2y",i.Return5D="return_5d",i.Return5Y="return_5y",i.Return6M="return_6m",i.ReturnYtd="return_ytd",i.ReturnOnAssets="return_on_assets",i.ReturnOnEquityPercentage="return_on_equity_percentage",i.ReturnOnTotalCapital="return_on_total_capital",i.RevenuePerEmployeeInThousands="revenue_per_employee_in_thousands",i.SectionBalanceSheetScore="section_balance_sheet_score",i.SectionBalanceSheetScoreGroup="section_balance_sheet_score_group",i.SectionCashFlowScore="section_cash_flow_score",i.SectionCashFlowScoreGroup="section_cash_flow_score_group",i.SectionEnvironmentalScore="section_environmental_score",i.SectionEnvironmentalScoreGroup="section_environmental_score_group",i.SectionGovernanceScore="section_governance_score",i.SectionGovernanceScoreGroup="section_governance_score_group",i.SectionIncomeStatementScore="section_income_statement_score",i.SectionIncomeStatementScoreGroup="section_income_statement_score_group",i.SectionRiskFactorsGroup="section_risk_factors_group",i.SectionSocialScore="section_social_score",i.SectionSocialScoreGroup="section_social_score_group",i.SectorScore="sector_score",i.SectorScoreGroup="sector_score_group",i.SharpeRatio1Y="sharpe_ratio_1y",i.TotalDebtToCapitalPercentage="total_debt_to_capital_percentage",i.TotalDebtEquity8="total_debt_equity",i.TotalRevenues="total_revenues",i.TotalRevenues1YearGrowthPercentage="total_revenues_1_year_growth_percentage",i),em=((o={}).Countries="countries",o.GicsIndustry="gics_industry",o.GicsSector="gics_sector",o.Regions="regions",o.GicsGroup="gics_group",o.Currency="currency",o.Exchange="exchange",o.CsaIndustry="csa_industry",o.Benchmark="benchmark",o.Sponsor="sponsor",o.Sector="sector",o.ManagementStyle="management_style",o.Recommendation="recommendation",o.MarketCapEmphasis="market_cap_emphasis",o.Exposure="exposure",o.GeographyEmphasis="geography_emphasis",o.MarketBenchmark="market_benchmark",o.PrimaryBenchmark="primary_benchmark",o),eh=((u={}).Stocks="stocks",u.Others="others",u),ed=((c={}).ValueAlpha1Y="-alpha_1y",c.ValueAnalysisFundamentalScore="-analysis_fundamental_score",c.ValueAnalysisFundamentalScoreGroup="-analysis_fundamental_score_group",c.ValueReturn52W="-return_52w",c.ValueAum="-aum",c.ValueAvgTradingVolume3M="-avg_trading_volume_3m",c.ValueBeta1Y="-beta_1y",c.ValueCashFlowFactor="-cash_flow_factor",c.ValueCashFlowFactorGroup="-cash_flow_factor_group",c.ValueDividendYield="-dividend_yield",c.ValueDividendYieldPercentage="-dividend_yield_percentage",c.ValueEquityUnderManagement="-equity_under_management",c.ValueExpenseRatio="-expense_ratio",c.ValueFilingDate="-filing_date",c.ValueGrowthFactor="-growth_factor",c.ValueGrowthFactorGroup="-growth_factor_group",c.ValueLargestHolding="-largest_holding",c.ValueLastCloseMarketCapUsd="-last_close_market_cap_usd",c.ValueMarketBenchmarkId="-market_benchmark_id",c.ValueConcentration="-concentration",c.ValuePctOfEquityHoldings="-pct_of_equity_holdings",c.ValuePriceCurrencyIso3="-price_currency_iso3",c.ValueBenchmarkId="-benchmark_id",c.ValueReturn1D="-return_1d",c.ValueReturn1M="-return_1m",c.ValueReturn1Y="-return_1y",c.ValueReturn2Y="-return_2y",c.ValueReturn5D="-return_5d",c.ValueReturn5Y="-return_5y",c.ValueReturn6M="-return_6m",c.ValueReturnYtd="-return_ytd",c.ValueSectionHoldingsGroup="-section_holdings_group",c.ValueSectionMgmtMetricGroup="-section_mgmt_metric_group",c.ValueSectionPerformanceScore="-section_performance_score",c.ValueSectionPerformanceScoreGroup="-section_performance_score_group",c.ValueSectionPortfolioScore="-section_portfolio_score",c.ValueSectionPortfolioScoreGroup="-section_portfolio_score_group",c.ValueSectionRiskFactorsGroup="-section_risk_factors_group",c.ValueSectionRiskScore="-section_risk_score",c.ValueSectionRiskScoreGroup="-section_risk_score_group",c.ValueSectorScore="-sector_score",c.ValueSharpeRatio1Y="-sharpe_ratio_1y",c.ValueSponsorAum="-sponsor_aum",c.ValueTrackingError1Y="-tracking_error_1y",c.ValueValueFactor="-value_factor",c.ValueValueFactorGroup="-value_factor_group",c.ValueNameVehicleType="-name_vehicle_type",c.Alpha1Y="alpha_1y",c.AnalysisFundamentalScore="analysis_fundamental_score",c.AnalysisFundamentalScoreGroup="analysis_fundamental_score_group",c.Return52W="return_52w",c.Aum="aum",c.AvgTradingVolume3M="avg_trading_volume_3m",c.Beta1Y="beta_1y",c.CashFlowFactor="cash_flow_factor",c.CashFlowFactorGroup="cash_flow_factor_group",c.DividendYield="dividend_yield",c.DividendYieldPercentage="dividend_yield_percentage",c.EquityUnderManagement="equity_under_management",c.ExpenseRatio="expense_ratio",c.FilingDate="filing_date",c.GrowthFactor="growth_factor",c.GrowthFactorGroup="growth_factor_group",c.LargestHolding="largest_holding",c.LastCloseMarketCapUsd="last_close_market_cap_usd",c.MarketBenchmarkId="market_benchmark_id",c.Concentration="concentration",c.PctOfEquityHoldings="pct_of_equity_holdings",c.PriceCurrencyIso3="price_currency_iso3",c.BenchmarkId="benchmark_id",c.Return1D="return_1d",c.Return1M="return_1m",c.Return1Y="return_1y",c.Return2Y="return_2y",c.Return5D="return_5d",c.Return5Y="return_5y",c.Return6M="return_6m",c.ReturnYtd="return_ytd",c.SectionHoldingsGroup="section_holdings_group",c.SectionMgmtMetricGroup="section_mgmt_metric_group",c.SectionPerformanceScore="section_performance_score",c.SectionPerformanceScoreGroup="section_performance_score_group",c.SectionPortfolioScore="section_portfolio_score",c.SectionPortfolioScoreGroup="section_portfolio_score_group",c.SectionRiskFactorsGroup="section_risk_factors_group",c.SectionRiskScore="section_risk_score",c.SectionRiskScoreGroup="section_risk_score_group",c.SectorScore="sector_score",c.SharpeRatio1Y="sharpe_ratio_1y",c.SponsorAum="sponsor_aum",c.TrackingError1Y="tracking_error_1y",c.ValueFactor="value_factor",c.ValueFactorGroup="value_factor_group",c.NameVehicleType="name_vehicle_type",c),e_=((l={}).Png="png",l.Svg="svg",l.Jpg="jpg",l),eg=((p={}).Original="original",p.Square="square",p),ey=((m={}).Square="square",m.Horizontal="horizontal",m),eT=((h={}).PublicationDate="publication_date",h.RelevancyScore="relevancy_score",h.SocialShares="social_shares",h),eC=((d={}).Social="social",d.Environmental="environmental",d.Governance="governance",d.Summary="summary",d.Controversies="controversies",d.Transparency="transparency",d.Weaknesses="weaknesses",d),ef=((_={}).Highlights="highlights",_.Lowlights="lowlights",_),eS=((g={}).BalanceSheet="balance_sheet",g.IncomeStatement="income_statement",g.CashFlow="cash_flow",g.CompanyDescription="company_description",g.CompanyFundamentals="company_fundamentals",g.SummaryRecommendation="summary_recommendation",g),eE=((y={}).VeryNegative="Very Negative",y.Negative="Negative",y.Neutral="Neutral",y.Positive="Positive",y.VeryPositive="Very Positive",y.Invalid="Invalid",y),ev=((T={}).Global="global",T.Industry="industry",T.Country="country",T.Sector="sector",T.Specific="specific",T),eV=((C={})[C.Value5=5]="Value5",C[C.Value4=4]="Value4",C[C.Value3=3]="Value3",C[C.Value2=2]="Value2",C[C.Value1=1]="Value1",C),eG=((f={}).Environmental="environmental",f.Social="social",f.Governance="governance",f),eq=((S={}).BalanceSheet="balance_sheet",S.IncomeStatement="income_statement",S.CashFlow="cash_flow",S),eb=((E={}).PeRatio="pe_ratio",E.PbRatio="pb_ratio",E.PsRatio="ps_ratio",E.NetDebtToEbitda="net_debt_to_ebitda",E.MarketCap="market_cap",E.Return1Y="return_1y",E.Roe="roe",E.RevenueGrowth="revenue_growth",E.SegmentStrength="segment_strength",E),ek=((v={}).Quarterly="quarterly",v.Annually="annually",v.Last12Month="last_12_month",v),ew=((V={}).Fundamental="fundamental",V.Esg="esg",V.PriceTarget="price_target",V.Technical="technical",V),eP=((G={}).Global="global",G.Industry="industry",G),eR=((q={}).Global="global",q.Industry="industry",q.Country="country",q.Sector="sector",q.Specific="specific",q),eF=((b={}).PolicyThreshold="policy_threshold",b.InternalCoverage="internal_coverage",b.BwRecommendation="bw_recommendation",b),ej=((k={}).Active="active",k.Blacklisted="blacklisted",k),eB=((w={})[w.Value1=1]="Value1",w[w.Value2=2]="Value2",w[w.Value3=3]="Value3",w),eA=((P={}).EnUS="en-US",P.HeIL="he-IL",P.PtBR="pt-BR",P.JaJP="ja-JP",P),eD=((R={}).Basic="basic",R.Advanced="advanced",R),e$=((F={}).Geographic="geographic",F.Strategy="strategy",F.Technology="technology",F.Income="income",F.Index="index",F.Sector="sector",F.Esg="esg",F.Factor="factor",F),eI=((j={}).Index="index",j.Exchange="exchange",j.DomicileCountry="domicile_country",j.ExchangeCountry="exchange_country",j),ex=((B={}).Isin="isin",B.Notin="notin",B),eM=((A={}).MarketCap="market_cap",A.Volume="volume",A),eW=((D={}).Ge="ge",D.Le="le",D.Gt="gt",D.Lt="lt",D),eY=(($={}).Ge="ge",$.Le="le",$.Gt="gt",$.Lt="lt",$),eN=((I={}).Iso="iso",I.Epoch="epoch",I),eL=((x={}).Epoch="epoch",x.Iso="iso",x),eO=((M={}).Iso="iso",M.Epoch="epoch",M),eH=((W={}).Iso="iso",W.Epoch="epoch",W),eJ={};Q(eJ,"Bridget",()=>eU);class eU{constructor(e){this.apiClient=e,Z(Y)(this)}questionCreate(e,t){return this.apiClient.request({...t,url:"/bridget/v2/external/question",method:"POST",data:e,secure:!0,contentType:et.Json,responseType:"json"})}tenantsExportRetrieve(e,t,r){return this.apiClient.request({...r,url:`/bridget/v2/external/tenants/${e}/export`,method:"GET",params:t,secure:!0,responseType:"json"})}}var eK={};Q(eK,"Bwc",()=>ez);class ez{constructor(e){this.apiClient=e,Z(Y)(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,r){return this.apiClient.request({...r,url:"/v2/analysis",method:"GET",params:e,secure:!0,headers:t,responseType:"json"})}getBusinessDescription(e,t,r){return this.apiClient.request({...r,url:"/v2/business-description",method:"GET",params:e,secure:!0,headers:t,responseType:"json"})}getFundamentalAnalysis(e,t,r){return this.apiClient.request({...r,url:"/v2/fundamental-analysis",method:"GET",params:e,secure:!0,headers:t,responseType:"json"})}getIndustryDescription(e,t,r){return this.apiClient.request({...r,url:"/v2/industry-description",method:"GET",params:e,secure:!0,headers:t,responseType:"json"})}getTechnicalAnalysis(e,t,r){return this.apiClient.request({...r,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 eQ={};Q(eQ,"Logos",()=>eZ);class eZ{constructor(e){this.apiClient=e,Z(Y)(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 eX={};Q(eX,"Activities",()=>e0);class e0{constructor(e){this.apiClient=e,Z(Y)(this)}getCompanyAlerts(e,t,r){return this.apiClient.request({...r,url:`/companies/${e}/alerts`,method:"GET",params:t,secure:!0,responseType:"json"})}getCompanyForecastsKeyDevelopment(e,t,r){return this.apiClient.request({...r,url:`/companies/${e}/key-developments`,method:"GET",params:t,secure:!0,responseType:"json"})}}var e1={};Q(e1,"CompanyMetadata",()=>e2);class e2{constructor(e){this.apiClient=e,Z(Y)(this)}getCompanies(e,t){return this.apiClient.request({...t,url:"/companies",method:"GET",params:e,secure:!0,responseType:"json"})}getCompany(e,t,r){return this.apiClient.request({...r,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 e5={};Q(e5,"EarningCalls",()=>e3);class e3{constructor(e){this.apiClient=e,Z(Y)(this)}getCompanyEarningsCalls(e,t,r){return this.apiClient.request({...r,url:`/companies/${e}/earnings-call`,method:"GET",params:t,secure:!0,responseType:"json"})}getEarningsCallsRecaps(e,t,r,s){return this.apiClient.request({...s,url:`/companies/${t}/earnings-call/${e}/recaps`,method:"GET",params:r,secure:!0,responseType:"json"})}}var e6={};Q(e6,"ConsensusAnalysts",()=>e4);class e4{constructor(e){this.apiClient=e,Z(Y)(this)}getConsensusRatings(e,t,r){return this.apiClient.request({...r,url:`/companies/${e}/consensus-ratings`,method:"GET",params:t,secure:!0,responseType:"json"})}}var e7={};Q(e7,"EsgAnalysis",()=>e8);class e8{constructor(e){this.apiClient=e,Z(Y)(this)}getCompanyEsgAnalysis(e,t,r){return this.apiClient.request({...r,url:`/companies/${e}/esg-analysis`,method:"GET",params:t,secure:!0,responseType:"json"})}getCompanyEsgParagraphs(e,t,r){return this.apiClient.request({...r,url:`/companies/${e}/esg-paragraphs`,method:"GET",params:t,secure:!0,responseType:"json"})}getCompanyEsgParameters(e,t,r){return this.apiClient.request({...r,url:`/companies/${e}/esg-parameters`,method:"GET",params:t,secure:!0,responseType:"json"})}getCompanyEsgSections(e,t,r){return this.apiClient.request({...r,url:`/companies/${e}/esg-sections`,method:"GET",params:t,secure:!0,responseType:"json"})}getCompanyForecastsMsa(e,t,r){return this.apiClient.request({...r,url:`/companies/${e}/sustainability-incidents`,method:"GET",params:t,secure:!0,responseType:"json"})}}var e9={};Q(e9,"Forecasts",()=>te);class te{constructor(e){this.apiClient=e,Z(Y)(this)}getCompanyForecasts(e,t,r){return this.apiClient.request({...r,url:`/companies/${e}/forecasts`,method:"GET",params:t,secure:!0,responseType:"json"})}}var tt={};Q(tt,"FundamentalAnalysis",()=>tr);class tr{constructor(e){this.apiClient=e,Z(Y)(this)}getCompanyFundamentalAnalysis(e,t,r){return this.apiClient.request({...r,url:`/companies/${e}/fundamental-analysis`,method:"GET",params:t,secure:!0,responseType:"json"})}getCompanyFundamentalParagraphs(e,t,r){return this.apiClient.request({...r,url:`/companies/${e}/fundamental-paragraphs`,method:"GET",params:t,secure:!0,responseType:"json"})}getCompanyFundamentalParameters(e,t,r){return this.apiClient.request({...r,url:`/companies/${e}/fundamental-parameters`,method:"GET",params:t,secure:!0,responseType:"json"})}getCompanyFundamentalSections(e,t,r){return this.apiClient.request({...r,url:`/companies/${e}/fundamental-sections`,method:"GET",params:t,secure:!0,responseType:"json"})}getTargetPrice(e,t,r){return this.apiClient.request({...r,url:`/companies/${e}/target-price`,method:"GET",params:t,secure:!0,responseType:"json"})}}var ts={};Q(ts,"CompanyMarketData",()=>tn);class tn{constructor(e){this.apiClient=e,Z(Y)(this)}getCompanyMarketData(e,t,r){return this.apiClient.request({...r,url:`/companies/${e}/market`,method:"GET",params:t,secure:!0,responseType:"json"})}getCompanyMarketStatistics(e,t,r){return this.apiClient.request({...r,url:`/companies/${e}/market-statistics`,method:"GET",params:t,secure:!0,responseType:"json"})}getTradingItems(e,t,r){return this.apiClient.request({...r,url:`/companies/${e}/trading-items`,method:"GET",params:t,secure:!0,responseType:"json"})}}var ta={};Q(ta,"CompanyNews",()=>ti);class ti{constructor(e){this.apiClient=e,Z(Y)(this)}getCompanyNews(e,t,r){return this.apiClient.request({...r,url:`/companies/${e}/news`,method:"GET",params:t,secure:!0,responseType:"json"})}getAverageCompanyNewsSentiment(e,t,r){return this.apiClient.request({...r,url:`/companies/${e}/news-sentiment`,method:"GET",params:t,secure:!0,responseType:"json"})}}var to={};Q(to,"TechnicalAnalysis",()=>tu);class tu{constructor(e){this.apiClient=e,Z(Y)(this)}getCompanyTechnicalAnalysis(e,t,r){return this.apiClient.request({...r,url:`/companies/${e}/technical-analysis`,method:"GET",params:t,secure:!0,responseType:"json"})}getCompanyTechnicalParagraphs(e,t,r){return this.apiClient.request({...r,url:`/companies/${e}/technical-paragraphs`,method:"GET",params:t,secure:!0,responseType:"json"})}getCompanyTechnicalParameters(e,t,r){return this.apiClient.request({...r,url:`/companies/${e}/technical-parameters`,method:"GET",params:t,secure:!0,responseType:"json"})}}var tc={};Q(tc,"Themes",()=>tl);class tl{constructor(e){this.apiClient=e,Z(Y)(this)}getCompanyThemes(e,t,r){return this.apiClient.request({...r,url:`/companies/${e}/themes`,method:"GET",params:t,secure:!0,responseType:"json"})}getThemes(e,t){return this.apiClient.request({...t,url:"/themes",method:"GET",params:e,secure:!0,responseType:"json"})}getTheme(e,t,r){return this.apiClient.request({...r,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 tp={};Q(tp,"Metadata",()=>tm);class tm{constructor(e){this.apiClient=e,Z(Y)(this)}getCompanyFilters(e,t){return this.apiClient.request({...t,url:"/filters",method:"GET",params:e,secure:!0,responseType:"json"})}}var th={};Q(th,"FundMetadata",()=>td);class td{constructor(e){this.apiClient=e,Z(Y)(this)}getFunds(e,t){return this.apiClient.request({...t,url:"/funds",method:"GET",params:e,secure:!0,responseType:"json"})}getFund(e,t,r){return this.apiClient.request({...r,url:`/funds/${e}`,method:"GET",params:t,secure:!0,responseType:"json"})}}var t_={};Q(t_,"FundAnalysis",()=>tg);class tg{constructor(e){this.apiClient=e,Z(Y)(this)}getFundAnalysis(e,t,r){return this.apiClient.request({...r,url:`/funds/${e}/analysis`,method:"GET",params:t,secure:!0,responseType:"json"})}getFundsParagraphs(e,t,r){return this.apiClient.request({...r,url:`/funds/${e}/paragraphs`,method:"GET",params:t,secure:!0,responseType:"json"})}getFundParameters(e,t,r){return this.apiClient.request({...r,url:`/funds/${e}/parameters`,method:"GET",params:t,secure:!0,responseType:"json"})}getFundSections(e,t,r){return this.apiClient.request({...r,url:`/funds/${e}/sections`,method:"GET",params:t,secure:!0,responseType:"json"})}}var ty={};Q(ty,"Holdings",()=>tT);class tT{constructor(e){this.apiClient=e,Z(Y)(this)}getCompositions(e,t,r){return this.apiClient.request({...r,url:`/funds/${e}/compositions`,method:"GET",params:t,secure:!0,responseType:"json"})}getHoldingStatistics(e,t,r){return this.apiClient.request({...r,url:`/funds/${e}/holding-statistics`,method:"GET",params:t,secure:!0,responseType:"json"})}getHoldings(e,t,r){return this.apiClient.request({...r,url:`/funds/${e}/holdings`,method:"GET",params:t,secure:!0,responseType:"json"})}}var tC={};Q(tC,"SectorAnalysis",()=>tf);class tf{constructor(e){this.apiClient=e,Z(Y)(this)}getSectorAnalysis(e,t,r){return this.apiClient.request({...r,url:`/sectors/${e}/analysis`,method:"GET",params:t,secure:!0,responseType:"json"})}}var tS={};Q(tS,"Tenants",()=>tE);class tE{constructor(e){this.apiClient=e,Z(Y)(this)}fetchTenant(e,t){return this.apiClient.request({...t,url:`/tenants/${e}`,method:"GET",secure:!0,responseType:"json"})}getHistoricalPolicyChanges(e,t,r){return this.apiClient.request({...r,url:`/tenants/${e}/historical-policy-changes`,method:"GET",params:t,secure:!0,responseType:"json"})}createTenantInvestmentPoliciesConfig(e,t,r){return this.apiClient.request({...r,url:`/tenants/${e}/investment-policies-config`,method:"POST",data:t,secure:!0,contentType:et.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,r){return this.apiClient.request({...r,url:`/tenants/${e}/investment-policies-config/bulk`,method:"POST",data:t,secure:!0,contentType:et.Json,responseType:"json"})}getTenantInvestmentPoliciesConfig(e,t,r){return this.apiClient.request({...r,url:`/tenants/${t}/investment-policies-config/${e}`,method:"GET",secure:!0,responseType:"json"})}patchTenantInvestmentPoliciesConfig(e,t,r,s){return this.apiClient.request({...s,url:`/tenants/${t}/investment-policies-config/${e}`,method:"PATCH",data:r,secure:!0,contentType:et.Json,responseType:"json"})}deleteTenantInvestmentPoliciesConfig(e,t,r){return this.apiClient.request({...r,url:`/tenants/${t}/investment-policies-config/${e}`,method:"DELETE",secure:!0,responseType:"json"})}createCognitoClientApplication(e,t,r){return this.apiClient.request({...r,url:`/tenants/${e}/machine`,method:"POST",data:t,secure:!0,contentType:et.Json,responseType:"json"})}getRecommendations(e,t,r){return this.apiClient.request({...r,url:`/tenants/${e}/recommendations`,method:"GET",params:t,secure:!0,responseType:"json"})}createTenantRecommendationsConfig(e,t,r){return this.apiClient.request({...r,url:`/tenants/${e}/recommendations-config`,method:"POST",data:t,secure:!0,contentType:et.Json,responseType:"json"})}createTenantRecommendationsConfigBulk(e,t,r){return this.apiClient.request({...r,url:`/tenants/${e}/recommendations-config/bulk`,method:"POST",data:t,secure:!0,contentType:et.Json,responseType:"json"})}getTenantRecommendationsConfig(e,t,r){return this.apiClient.request({...r,url:`/tenants/${e}/recommendations-config/${t}`,method:"GET",secure:!0,responseType:"json"})}patchTenantRecommendationsConfig(e,t,r,s){return this.apiClient.request({...s,url:`/tenants/${e}/recommendations-config/${t}`,method:"PATCH",data:r,secure:!0,contentType:et.Json,responseType:"json"})}deleteTenantRecommendationsConfig(e,t,r){return this.apiClient.request({...r,url:`/tenants/${e}/recommendations-config/${t}`,method:"DELETE",secure:!0,responseType:"json"})}}var tv={};Q(tv,"FundMarketData",()=>tV);class tV{constructor(e){this.apiClient=e,Z(Y)(this)}getFundsMarketData(e,t,r){return this.apiClient.request({...r,url:`/funds/${e}/market`,method:"GET",params:t,secure:!0,responseType:"json"})}getFundsMarketStatistics(e,t,r){return this.apiClient.request({...r,url:`/funds/${e}/market-statistics`,method:"GET",params:t,secure:!0,responseType:"json"})}getFundTradingItems(e,t,r){return this.apiClient.request({...r,url:`/funds/${e}/trading-items`,method:"GET",params:t,secure:!0,responseType:"json"})}}var tG={};Q(tG,"TenantIdentifiers",()=>tq);class tq{constructor(e){this.apiClient=e,Z(Y)(this)}getTenantIdentifiers(e,t,r){return this.apiClient.request({...r,url:`/tenants/${e}/identifiers`,method:"GET",params:t,secure:!0,responseType:"json"})}createTenantIdentifier(e,t,r){return this.apiClient.request({...r,url:`/tenants/${e}/identifiers`,method:"POST",data:t,secure:!0,contentType:et.Json,responseType:"json"})}updateTenantIdentifier(e,t,r,s){return this.apiClient.request({...s,url:`/tenants/${e}/identifiers/${t}`,method:"PATCH",data:r,secure:!0,contentType:et.Json,responseType:"json"})}deleteTenantIdentifier(e,t,r){return this.apiClient.request({...r,url:`/tenants/${e}/identifiers/${t}`,method:"DELETE",secure:!0,responseType:"json"})}}var tb={};Q(tb,"Users",()=>tk);class tk{constructor(e){this.apiClient=e,Z(Y)(this)}authenticate(e,t){return this.apiClient.request({...t,url:"/users/authenticate",method:"POST",data:e,secure:!0,contentType:et.Json,responseType:"json"})}fetchClientDetails(e,t){return this.apiClient.request({...t,url:"/users/machine",method:"GET",secure:!0,headers:e,responseType:"json"})}}var tw={};Q(tw,"FundEsgAnalysis",()=>tP);class tP{constructor(e){this.apiClient=e,Z(Y)(this)}getFundEsgAnalysis(e,t,r){return this.apiClient.request({...r,url:`/funds/${e}/esg-analysis`,method:"GET",params:t,secure:!0,responseType:"json"})}}var tR={};Q(tR,"Segmentations",()=>tF);class tF{constructor(e){this.apiClient=e,Z(Y)(this)}getSegmentParameters(e,t,r){return this.apiClient.request({...r,url:`/funds/${e}/segment-parameters`,method:"GET",params:t,secure:!0,responseType:"json"})}getSegment(e,t,r){return this.apiClient.request({...r,url:`/funds/${e}/segments`,method:"GET",params:t,secure:!0,responseType:"json"})}}z(en,ea),z(en,eJ),z(en,eK),z(en,eQ),z(en,eX),z(en,e1),z(en,e5),z(en,e6),z(en,e7),z(en,e9),z(en,tt),z(en,ts),z(en,ta),z(en,to),z(en,tc),z(en,tp),z(en,th),z(en,t_),z(en,ty),z(en,tC),z(en,tS),z(en,tv),z(en,tG),z(en,tb),z(en,tw),z(en,tR);class tj extends ee{constructor(e){super(new es(e)),this.config=e,this.activities=new e0(this.apiClient),this.bridget=new eU(this.apiClient),this.bwc=new ez(this.apiClient),this.companyMarketData=new tn(this.apiClient),this.companyMetadata=new e2(this.apiClient),this.companyNews=new ti(this.apiClient),this.consensusAnalysts=new e4(this.apiClient),this.earningCalls=new e3(this.apiClient),this.esgAnalysis=new e8(this.apiClient),this.forecasts=new te(this.apiClient),this.fundamentalAnalysis=new tr(this.apiClient),this.fundAnalysis=new tg(this.apiClient),this.fundEsgAnalysis=new tP(this.apiClient),this.fundMarketData=new tV(this.apiClient),this.fundMetadata=new td(this.apiClient),this.holdings=new tT(this.apiClient),this.logos=new eZ(this.apiClient),this.metadata=new tm(this.apiClient),this.sectorAnalysis=new tf(this.apiClient),this.segmentations=new tF(this.apiClient),this.technicalAnalysis=new tu(this.apiClient),this.tenantIdentifiers=new tq(this.apiClient),this.tenants=new tE(this.apiClient),this.themes=new tl(this.apiClient),this.users=new tk(this.apiClient)}}z(module.exports,X),z(module.exports,en);
1
+ var e,t,s,r,n,a,i,o,u,c,l,p,m,d,h,_,g,y,T,C,f,S,E,v,V,G,q,b,k,P,w,R,D,F,B,j,A,$,I,M,x,Y,W=require("auto-bind"),N=require("async-mutex"),L=require("consola"),O=require("date-fns"),H=require("jwt-decode"),U=require("axios"),J=require("axios-better-stacktrace"),K=require("lodash");function z(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}function Q(e,t,s,r){Object.defineProperty(e,t,{get:s,set:r,enumerable:!0,configurable:!0})}function Z(e){return e&&e.__esModule?e.default:e}var X={};Q(X,"BridgeWiseApi",()=>tF);class ee{constructor(e){this.apiClient=e,Z(W)(this)}getApiClient(){return this.apiClient}}var et=((e={}).Json="application/json",e.FormData="multipart/form-data",e.UrlEncoded="application/x-www-form-urlencoded",e.Text="text/plain",e);class es{constructor(e){this.config=e,Z(W)(this),this.storage=e.storage??sessionStorage,this.axiosInstance=Z(U).create({...e.axiosConfig,baseURL:e.baseUrl,headers:{"Content-Type":"application/json",...e.axiosConfig?.headers}}),Z(J)(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;(0,K.isNil)(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=(0,K.merge)(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((0,U.isAxiosError)(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 er extends es{constructor(e){super(e),this.config=e,this.lock=new N.Mutex}getConfig(){return super.getConfig()}setRenewTokenCallback(e){this.renewTokenCallback=e}async prepareAuthRequestConfig(){if(this.config.axiosConfig?.withCredentials)return{};let{accessToken:e}=this.getAuthData()||{};if(!e)return(0,L.consola).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&&(0,L.consola).debug("Token expired. Renewing…"),e=(await this.renewToken()).accessToken,this.lock.cancel()})}catch(t){if(t===N.E_CANCELED)e=this.getAuthData()?.accessToken;else throw t}return{headers:{Authorization:`${this.config.authSchema??"Bearer"} ${e}`}}}isTokenExpired(e){let t=(0,H.jwtDecode)(e);return!t.exp||(0,O.isBefore)((0,O.subMinutes)(1e3*t.exp,1),Date.now())}async renewToken(){let e=this.config.onRenewToken??this.renewTokenCallback;if(!e)throw Error("No renew token callback provided");let t=await e();return this.setAuthData(t),t}}var en={},ea={};Q(ea,"Bwc",()=>ei);class ei{constructor(e){this.apiClient=e,Z(W)(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 eo={};Q(eo,"BridgeWiseLanguageEnum",()=>eu),Q(eo,"BridgeWiseStringBooleanEnum",()=>ec),Q(eo,"BridgeWiseCompanyAlertSentiment",()=>el),Q(eo,"BridgeWiseCompanyAlertType",()=>ep),Q(eo,"BridgeWiseForecastType",()=>em),Q(eo,"BridgeWiseCompaniesSortByEnum",()=>ed),Q(eo,"BridgeWiseCompanyFilterType",()=>eh),Q(eo,"BridgeWiseCompositionTypeEnum",()=>e_),Q(eo,"BridgeWiseFundsSortByEnum",()=>eg),Q(eo,"BridgeWiseImageExtensionEnum",()=>ey),Q(eo,"BridgeWiseLogoSizeEnum",()=>eT),Q(eo,"BridgeWiseLogoTypeEnum",()=>eC),Q(eo,"BridgeWiseCompanyNewsSortingEnum",()=>ef),Q(eo,"BridgeWiseESGSectionTypeEnum",()=>eS),Q(eo,"BridgeWiseEarningsCallRecapEnum",()=>eE),Q(eo,"BridgeWiseFundamentalParagraphSectionTypeEnum",()=>ev),Q(eo,"BridgeWiseNewsSentimentEnum",()=>eV),Q(eo,"BridgeWiseScoringMethodEnum",()=>eG),Q(eo,"BridgeWiseESGScoreGroup",()=>eq),Q(eo,"BridgeWiseESGSectionTypeParamEnumV2",()=>eb),Q(eo,"BridgeWiseFundamentalSectionTypeEnum",()=>ek),Q(eo,"BridgeWiseFundsSegmentParameterEnum",()=>eP),Q(eo,"BridgeWisePeriodTypeEnum",()=>ew),Q(eo,"BridgeWiseAnalysisTypeEnum",()=>eR),Q(eo,"BridgeWiseGlobalIndustryScoringEnum",()=>eD),Q(eo,"BridgeWiseScoreMethodology",()=>eF),Q(eo,"BridgeWiseEventTypeEnum",()=>eB),Q(eo,"BridgeWiseTenantIdentifierStatusEnum",()=>ej),Q(eo,"BridgeWiseThemeGroupEnum",()=>eA),Q(eo,"BridgeWiseThemeLanguageEnum",()=>e$),Q(eo,"BridgeWiseThemePackageEnum",()=>eI),Q(eo,"BridgeWiseThemeTypeEnum",()=>eM),Q(eo,"BridgeWiseIdCheckConfigNameEnum",()=>ex),Q(eo,"BridgeWiseIdCheckConfigOperatorEnum",()=>eY),Q(eo,"BridgeWiseMarketDataConfigNameEnum",()=>eW),Q(eo,"BridgeWiseMarketDataConfigOperatorEnum",()=>eN),Q(eo,"BridgeWiseStockingFloatConfigOperatorEnum",()=>eL),Q(eo,"BridgeWiseGetBusinessDescriptionParamsDateFormatEnum",()=>eO),Q(eo,"BridgeWiseGetFundamentalAnalysisParamsDateFormatEnum",()=>eH),Q(eo,"BridgeWiseGetIndustryDescriptionParamsDateFormatEnum",()=>eU),Q(eo,"BridgeWiseGetTechnicalAnalysisParamsDateFormatEnum",()=>eJ);var eu=((t={}).ArSA="ar-SA",t.DeDE="de-DE",t.EnUS="en-US",t.EsES="es-ES",t.FrFR="fr-FR",t.HeIL="he-IL",t.NlNL="nl-NL",t.PtBR="pt-BR",t.TrTR="tr-TR",t.ZhCN="zh-CN",t.JaJP="ja-JP",t.KoKR="ko-KR",t.ThTH="th-TH",t.ZhHK="zh-HK",t),ec=((s={}).True="true",s.False="false",s),el=((r={}).Positive="positive",r.Negative="negative",r),ep=((n={}).Fundamental="fundamental",n.Market="market",n),em=((a={}).Esg="esg",a.KeyDevelopments="key_developments",a.News="news",a),ed=((i={}).ValueAnalysisEsgScore="-analysis_esg_score",i.ValueAnalysisEsgScoreGroup="-analysis_esg_score_group",i.ValueAnalysisFundamentalScore="-analysis_fundamental_score",i.ValueAnalysisFundamentalScoreGroup="-analysis_fundamental_score_group",i.ValueAssetsTurnover="-assets_turnover",i.ValueAverageRevenuePerSubscriber="-average_revenue_per_subscriber",i.ValueBeta="-beta",i.ValueBeta1Year="-beta_1_year",i.ValueBeta1Y="-beta_1y",i.ValueCurrentPeRatio="-current_pe_ratio",i.ValueCurrentRatio="-current_ratio",i.ValueDividendYield="-dividend_yield",i.ValueDividendYieldPercentage="-dividend_yield_percentage",i.ValueEbitByInterestExpense="-ebit_by_interest_expense",i.ValueEbitdaMarginPercent="-ebitda_margin_percent",i.ValueEquityUnderManagementUsd="-equity_under_management_usd",i.ValueExpenseRatio="-expense_ratio",i.ValueFilingDate="-filing_date",i.ValueFillingDate="-filling_date",i.ValueFreeCashFlowPerShare="-free_cash_flow_per_share",i.ValueGicsSectorId="-gics_sector_id",i.ValueGrossProfitMarginPercent="-gross_profit_margin_percent",i.ValueImpliedMarketCap="-implied_market_cap",i.ValueLastCloseMarketCapUsd="-last_close_market_cap_usd",i.ValueLastClosePriceBookValue="-last_close_price_book_value",i.ValueLastCloseTevDividedByEbitda="-last_close_tev_divided_by_ebitda",i.ValueLongTermDebtByTotalCapital="-long_term_debt_by_total_capital",i.ValueNetDebtDividedByEbitda="-net_debt_divided_by_ebitda",i.ValueNetDebtToEquity="-net_debt_to_equity",i.ValueNetEpsBasic="-net_eps_basic",i.ValueNetEpsDiluted="-net_eps_diluted",i.ValueNetIncomeMarginPercent="-net_income_margin_percent",i.ValueOperatingCashFlowByCurrentLiabilities="-operating_cash_flow_by_current_liabilities",i.ValuePayoutRatio="-payout_ratio",i.ValuePctOfEquityHoldings="-pct_of_equity_holdings",i.ValuePeRatio="-pe_ratio",i.ValuePeriodLastPriceDividedBookValue="-period_last_price_divided_book_value",i.ValuePriceCurrencyIso3="-price_currency_iso3",i.ValueQuickRatio="-quick_ratio",i.ValueReturn1D="-return_1D",i.ValueReturn1M="-return_1M",i.ValueReturn1Y="-return_1Y",i.ValueReturn2Y="-return_2Y",i.ValueReturn5D="-return_5D",i.ValueReturn5Y="-return_5Y",i.ValueReturn6M="-return_6M",i.ValueReturnYTD="-return_YTD",i.ValueReturnOnAssets="-return_on_assets",i.ValueReturnOnEquityPercent="-return_on_equity_percent",i.ValueReturnOnTotalCapital="-return_on_total_capital",i.ValueRevenuePerEmployeeInThousands="-revenue_per_employee_in_thousands",i.ValueSectionBalanceSheetScore="-section_balance_sheet_score",i.ValueSectionBalanceSheetScoreGroup="-section_balance_sheet_score_group",i.ValueSectionCashFlowScore="-section_cash_flow_score",i.ValueSectionCashFlowScoreGroup="-section_cash_flow_score_group",i.ValueSectionEnvironmentalScore="-section_environmental_score",i.ValueSectionEnvironmentalScoreGroup="-section_environmental_score_group",i.ValueSectionGovernanceScore="-section_governance_score",i.ValueSectionGovernanceScoreGroup="-section_governance_score_group",i.ValueSectionIncomeStatementScore="-section_income_statement_score",i.ValueSectionIncomeStatementScoreGroup="-section_income_statement_score_group",i.ValueSectionRiskFactorsGroup="-section_risk_factors_group",i.ValueSectionSocialScore="-section_social_score",i.ValueSectionSocialScoreGroup="-section_social_score_group",i.ValueSectorScore="-sector_score",i.ValueSectorScoreGroup="-sector_score_group",i.ValueSharpeRatio1Y="-sharpe_ratio_1y",i.ValueTotalDebtToCapitalPercent="-total_debt_to_capital_percent",i.ValueTotalDebtToEquity="-total_debt_to_equity",i.ValueTotalRevenues="-total_revenues",i.ValueTotalRevenuesOneYearGrowthPercentage="-total_revenues_one_year_growth_percentage",i.AnalysisEsgScore="analysis_esg_score",i.AnalysisEsgScoreGroup="analysis_esg_score_group",i.AnalysisFundamentalScore="analysis_fundamental_score",i.AnalysisFundamentalScoreGroup="analysis_fundamental_score_group",i.AssetsTurnover="assets_turnover",i.AverageRevenuePerSubscriber="average_revenue_per_subscriber",i.Beta="beta",i.Beta1Year="beta_1_year",i.Beta1Y="beta_1y",i.CurrentPeRatio="current_pe_ratio",i.CurrentRatio="current_ratio",i.DividendYield="dividend_yield",i.DividendYieldPercentage="dividend_yield_percentage",i.EbitByInterestExpense="ebit_by_interest_expense",i.EbitdaMarginPercent="ebitda_margin_percent",i.EquityUnderManagementUsd="equity_under_management_usd",i.ExpenseRatio="expense_ratio",i.FilingDate="filing_date",i.FillingDate="filling_date",i.FreeCashFlowPerShare="free_cash_flow_per_share",i.GicsSectorId="gics_sector_id",i.GrossProfitMarginPercent="gross_profit_margin_percent",i.ImpliedMarketCap="implied_market_cap",i.LastCloseMarketCapUsd="last_close_market_cap_usd",i.LastClosePriceBookValue="last_close_price_book_value",i.LastCloseTevDividedByEbitda="last_close_tev_divided_by_ebitda",i.LongTermDebtByTotalCapital="long_term_debt_by_total_capital",i.NetDebtDividedByEbitda="net_debt_divided_by_ebitda",i.NetDebtToEquity="net_debt_to_equity",i.NetEpsBasic="net_eps_basic",i.NetEpsDiluted="net_eps_diluted",i.NetIncomeMarginPercent="net_income_margin_percent",i.OperatingCashFlowByCurrentLiabilities="operating_cash_flow_by_current_liabilities",i.PayoutRatio="payout_ratio",i.PctOfEquityHoldings="pct_of_equity_holdings",i.PeRatio="pe_ratio",i.PeriodLastPriceDividedBookValue="period_last_price_divided_book_value",i.PriceCurrencyIso3="price_currency_iso3",i.QuickRatio="quick_ratio",i.Return1D="return_1D",i.Return1M="return_1M",i.Return1Y="return_1Y",i.Return2Y="return_2Y",i.Return5D="return_5D",i.Return5Y="return_5Y",i.Return6M="return_6M",i.ReturnYTD="return_YTD",i.ReturnOnAssets="return_on_assets",i.ReturnOnEquityPercent="return_on_equity_percent",i.ReturnOnTotalCapital="return_on_total_capital",i.RevenuePerEmployeeInThousands="revenue_per_employee_in_thousands",i.SectionBalanceSheetScore="section_balance_sheet_score",i.SectionBalanceSheetScoreGroup="section_balance_sheet_score_group",i.SectionCashFlowScore="section_cash_flow_score",i.SectionCashFlowScoreGroup="section_cash_flow_score_group",i.SectionEnvironmentalScore="section_environmental_score",i.SectionEnvironmentalScoreGroup="section_environmental_score_group",i.SectionGovernanceScore="section_governance_score",i.SectionGovernanceScoreGroup="section_governance_score_group",i.SectionIncomeStatementScore="section_income_statement_score",i.SectionIncomeStatementScoreGroup="section_income_statement_score_group",i.SectionRiskFactorsGroup="section_risk_factors_group",i.SectionSocialScore="section_social_score",i.SectionSocialScoreGroup="section_social_score_group",i.SectorScore="sector_score",i.SectorScoreGroup="sector_score_group",i.SharpeRatio1Y="sharpe_ratio_1y",i.TotalDebtToCapitalPercent="total_debt_to_capital_percent",i.TotalDebtToEquity="total_debt_to_equity",i.TotalRevenues="total_revenues",i.TotalRevenuesOneYearGrowthPercentage="total_revenues_one_year_growth_percentage",i),eh=((o={}).Countries="countries",o.GicsIndustry="gics_industry",o.GicsSector="gics_sector",o.Regions="regions",o.GicsGroup="gics_group",o.Currency="currency",o.Exchange="exchange",o.CsaIndustry="csa_industry",o.Benchmark="benchmark",o.Sponsor="sponsor",o.Sector="sector",o.ManagementStyle="management_style",o.Recommendation="recommendation",o.MarketCapEmphasis="market_cap_emphasis",o.Exposure="exposure",o.GeographyEmphasis="geography_emphasis",o.MarketBenchmark="market_benchmark",o.PrimaryBenchmark="primary_benchmark",o),e_=((u={}).Stocks="stocks",u.Others="others",u),eg=((c={}).ValueAlpha1Y="-alpha_1y",c.ValueAnalysisFundamentalScore="-analysis_fundamental_score",c.ValueAnalysisFundamentalScoreGroup="-analysis_fundamental_score_group",c.ValueAnnualReturn="-annual_return",c.ValueAumUsd="-aum_usd",c.ValueAvgTradingVolume3M="-avg_trading_volume_3m",c.ValueBeta1Y="-beta_1y",c.ValueCashFlowFactor="-cash_flow_factor",c.ValueCashFlowFactorGroup="-cash_flow_factor_group",c.ValueDividendYield="-dividend_yield",c.ValueDividendYieldPercentage="-dividend_yield_percentage",c.ValueEquityUnderManagementUsd="-equity_under_management_usd",c.ValueExpenseRatio="-expense_ratio",c.ValueFillingDate="-filling_date",c.ValueGrowthFactor="-growth_factor",c.ValueGrowthFactorGroup="-growth_factor_group",c.ValueLargestHolding="-largest_holding",c.ValueLastCloseMarketCapUsd="-last_close_market_cap_usd",c.ValueMarketBenchmarkId="-market_benchmark_id",c.ValueMaxConcentration="-max_concentration",c.ValuePctOfEquityHoldings="-pct_of_equity_holdings",c.ValuePriceCurrencyIso3="-price_currency_iso3",c.ValuePrimaryBenchmarkId="-primary_benchmark_id",c.ValueReturn1D="-return_1D",c.ValueReturn1M="-return_1M",c.ValueReturn1Y="-return_1Y",c.ValueReturn2Y="-return_2Y",c.ValueReturn5D="-return_5D",c.ValueReturn5Y="-return_5Y",c.ValueReturn6M="-return_6M",c.ValueReturnYTD="-return_YTD",c.ValueSectionHoldingsGroup="-section_holdings_group",c.ValueSectionMgmtMetricGroup="-section_mgmt_metric_group",c.ValueSectionPerformanceScore="-section_performance_score",c.ValueSectionPerformanceScoreGroup="-section_performance_score_group",c.ValueSectionPortfolioScore="-section_portfolio_score",c.ValueSectionPortfolioScoreGroup="-section_portfolio_score_group",c.ValueSectionRiskFactorsGroup="-section_risk_factors_group",c.ValueSectionRiskScore="-section_risk_score",c.ValueSectionRiskScoreGroup="-section_risk_score_group",c.ValueSectorScore="-sector_score",c.ValueSharpeRatio1Y="-sharpe_ratio_1y",c.ValueSponsorAumUsd="-sponsor_aum_usd",c.ValueTrackingError1Y="-tracking_error_1y",c.ValueValueFactor="-value_factor",c.ValueValueFactorGroup="-value_factor_group",c.ValueVehicleType="-vehicle_type",c.Alpha1Y="alpha_1y",c.AnalysisFundamentalScore="analysis_fundamental_score",c.AnalysisFundamentalScoreGroup="analysis_fundamental_score_group",c.AnnualReturn="annual_return",c.AumUsd="aum_usd",c.AvgTradingVolume3M="avg_trading_volume_3m",c.Beta1Y="beta_1y",c.CashFlowFactor="cash_flow_factor",c.CashFlowFactorGroup="cash_flow_factor_group",c.DividendYield="dividend_yield",c.DividendYieldPercentage="dividend_yield_percentage",c.EquityUnderManagementUsd="equity_under_management_usd",c.ExpenseRatio="expense_ratio",c.FillingDate="filling_date",c.GrowthFactor="growth_factor",c.GrowthFactorGroup="growth_factor_group",c.LargestHolding="largest_holding",c.LastCloseMarketCapUsd="last_close_market_cap_usd",c.MarketBenchmarkId="market_benchmark_id",c.MaxConcentration="max_concentration",c.PctOfEquityHoldings="pct_of_equity_holdings",c.PriceCurrencyIso3="price_currency_iso3",c.PrimaryBenchmarkId="primary_benchmark_id",c.Return1D="return_1D",c.Return1M="return_1M",c.Return1Y="return_1Y",c.Return2Y="return_2Y",c.Return5D="return_5D",c.Return5Y="return_5Y",c.Return6M="return_6M",c.ReturnYTD="return_YTD",c.SectionHoldingsGroup="section_holdings_group",c.SectionMgmtMetricGroup="section_mgmt_metric_group",c.SectionPerformanceScore="section_performance_score",c.SectionPerformanceScoreGroup="section_performance_score_group",c.SectionPortfolioScore="section_portfolio_score",c.SectionPortfolioScoreGroup="section_portfolio_score_group",c.SectionRiskFactorsGroup="section_risk_factors_group",c.SectionRiskScore="section_risk_score",c.SectionRiskScoreGroup="section_risk_score_group",c.SectorScore="sector_score",c.SharpeRatio1Y="sharpe_ratio_1y",c.SponsorAumUsd="sponsor_aum_usd",c.TrackingError1Y="tracking_error_1y",c.ValueFactor="value_factor",c.ValueFactorGroup="value_factor_group",c.VehicleType="vehicle_type",c),ey=((l={}).Png="png",l.Svg="svg",l.Jpg="jpg",l),eT=((p={}).Original="original",p.Square="square",p),eC=((m={}).Square="square",m.Horizontal="horizontal",m),ef=((d={}).PublicationDate="publication_date",d.RelevancyScore="relevancy_score",d.SocialShares="social_shares",d),eS=((h={}).Social="social",h.Environmental="environmental",h.Governance="governance",h.Summary="summary",h.Controversies="controversies",h.Transparency="transparency",h.Weaknesses="weaknesses",h),eE=((_={}).Highlights="highlights",_.Lowlights="lowlights",_),ev=((g={}).BalanceSheet="balance_sheet",g.IncomeStatement="income_statement",g.CashFlow="cash_flow",g.CompanyDescription="company_description",g.CompanyFundamentals="company_fundamentals",g.SummaryRecommendation="summary_recommendation",g),eV=((y={}).VeryNegative="Very Negative",y.Negative="Negative",y.Neutral="Neutral",y.Positive="Positive",y.VeryPositive="Very Positive",y.Invalid="Invalid",y),eG=((T={}).Global="global",T.Industry="industry",T.Country="country",T.Sector="sector",T.Specific="specific",T),eq=((C={})[C.Value5=5]="Value5",C[C.Value4=4]="Value4",C[C.Value3=3]="Value3",C[C.Value2=2]="Value2",C[C.Value1=1]="Value1",C),eb=((f={}).Environmental="environmental",f.Social="social",f.Governance="governance",f),ek=((S={}).BalanceSheet="balance_sheet",S.IncomeStatement="income_statement",S.CashFlow="cash_flow",S),eP=((E={}).PeRatio="pe_ratio",E.PbRatio="pb_ratio",E.PsRatio="ps_ratio",E.NetDebtToEbitda="net_debt_to_ebitda",E.MarketCap="market_cap",E.Return1Y="return_1y",E.Roe="roe",E.RevenueGrowth="revenue_growth",E.SegmentStrength="segment_strength",E),ew=((v={}).Quarterly="quarterly",v.Annually="annually",v.Last12Month="last_12_month",v),eR=((V={}).Fundamental="fundamental",V.Esg="esg",V.PriceTarget="price_target",V.Technical="technical",V),eD=((G={}).Global="global",G.Industry="industry",G),eF=((q={}).Global="global",q.Industry="industry",q.Country="country",q.Sector="sector",q.Specific="specific",q),eB=((b={}).PolicyThreshold="policy_threshold",b.InternalCoverage="internal_coverage",b.BwRecommendation="bw_recommendation",b),ej=((k={}).Active="active",k.Blacklisted="blacklisted",k),eA=((P={})[P.Value1=1]="Value1",P[P.Value2=2]="Value2",P[P.Value3=3]="Value3",P),e$=((w={}).EnUS="en-US",w.HeIL="he-IL",w.PtBR="pt-BR",w.JaJP="ja-JP",w),eI=((R={}).Basic="basic",R.Advanced="advanced",R),eM=((D={}).Geographic="geographic",D.Strategy="strategy",D.Technology="technology",D.Income="income",D.Index="index",D.Sector="sector",D.Esg="esg",D.Factor="factor",D),ex=((F={}).Index="index",F.Exchange="exchange",F.DomicileCountry="domicile_country",F.ExchangeCountry="exchange_country",F),eY=((B={}).Isin="isin",B.Notin="notin",B),eW=((j={}).MarketCap="market_cap",j.Volume="volume",j),eN=((A={}).Ge="ge",A.Le="le",A.Gt="gt",A.Lt="lt",A),eL=(($={}).Ge="ge",$.Le="le",$.Gt="gt",$.Lt="lt",$),eO=((I={}).Iso="iso",I.Epoch="epoch",I),eH=((M={}).Epoch="epoch",M.Iso="iso",M),eU=((x={}).Iso="iso",x.Epoch="epoch",x),eJ=((Y={}).Iso="iso",Y.Epoch="epoch",Y),eK={};Q(eK,"Bridget",()=>ez);class ez{constructor(e){this.apiClient=e,Z(W)(this)}questionCreate(e,t){return this.apiClient.request({...t,url:"/bridget/question",method:"POST",data:e,secure:!0,contentType:et.Json,responseType:"json"})}tenantsExportRetrieve(e,t,s){return this.apiClient.request({...s,url:`/bridget/tenants/${e}/export`,method:"GET",params:t,secure:!0,responseType:"json"})}}var eQ={};Q(eQ,"CompanyMetadata",()=>eZ);class eZ{constructor(e){this.apiClient=e,Z(W)(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 eX={};Q(eX,"Activities",()=>e0);class e0{constructor(e){this.apiClient=e,Z(W)(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 e1={};Q(e1,"ConsensusAnalysts",()=>e2);class e2{constructor(e){this.apiClient=e,Z(W)(this)}getConsensusRatings(e,t,s){return this.apiClient.request({...s,url:`/companies/${e}/consensus-ratings`,method:"GET",params:t,secure:!0,responseType:"json"})}}var e3={};Q(e3,"EarningCalls",()=>e5);class e5{constructor(e){this.apiClient=e,Z(W)(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 e6={};Q(e6,"Logos",()=>e4);class e4{constructor(e){this.apiClient=e,Z(W)(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 e7={};Q(e7,"EsgAnalysis",()=>e8);class e8{constructor(e){this.apiClient=e,Z(W)(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 e9={};Q(e9,"Forecasts",()=>te);class te{constructor(e){this.apiClient=e,Z(W)(this)}getCompanyForecasts(e,t,s){return this.apiClient.request({...s,url:`/companies/${e}/forecasts`,method:"GET",params:t,secure:!0,responseType:"json"})}}var tt={};Q(tt,"FundamentalAnalysis",()=>ts);class ts{constructor(e){this.apiClient=e,Z(W)(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"})}}var tr={};Q(tr,"CompanyMarketData",()=>tn);class tn{constructor(e){this.apiClient=e,Z(W)(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 ta={};Q(ta,"CompanyNews",()=>ti);class ti{constructor(e){this.apiClient=e,Z(W)(this)}getCompanyNews(e,t,s){return this.apiClient.request({...s,url:`/companies/${e}/news`,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 to={};Q(to,"TechnicalAnalysis",()=>tu);class tu{constructor(e){this.apiClient=e,Z(W)(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 tc={};Q(tc,"Themes",()=>tl);class tl{constructor(e){this.apiClient=e,Z(W)(this)}getCompanyThemes(e,t,s){return this.apiClient.request({...s,url:`/companies/${e}/themes`,method:"GET",params:t,secure:!0,responseType:"json"})}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 tp={};Q(tp,"Metadata",()=>tm);class tm{constructor(e){this.apiClient=e,Z(W)(this)}getCompanyFilters(e,t){return this.apiClient.request({...t,url:"/filters",method:"GET",params:e,secure:!0,responseType:"json"})}}var td={};Q(td,"FundMetadata",()=>th);class th{constructor(e){this.apiClient=e,Z(W)(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 t_={};Q(t_,"FundAnalysis",()=>tg);class tg{constructor(e){this.apiClient=e,Z(W)(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 ty={};Q(ty,"Holdings",()=>tT);class tT{constructor(e){this.apiClient=e,Z(W)(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 tC={};Q(tC,"SectorAnalysis",()=>tf);class tf{constructor(e){this.apiClient=e,Z(W)(this)}getSectorAnalysis(e,t,s){return this.apiClient.request({...s,url:`/sectors/${e}/analysis`,method:"GET",params:t,secure:!0,responseType:"json"})}}var tS={};Q(tS,"Segmentations",()=>tE);class tE{constructor(e){this.apiClient=e,Z(W)(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 tv={};Q(tv,"FundMarketData",()=>tV);class tV{constructor(e){this.apiClient=e,Z(W)(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 tG={};Q(tG,"TenantIdentifiers",()=>tq);class tq{constructor(e){this.apiClient=e,Z(W)(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:et.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:et.Json,responseType:"json"})}deleteTenantIdentifier(e,t,s){return this.apiClient.request({...s,url:`/tenants/${e}/identifiers/${t}`,method:"DELETE",secure:!0,responseType:"json"})}}var tb={};Q(tb,"Users",()=>tk);class tk{constructor(e){this.apiClient=e,Z(W)(this)}authenticate(e,t){return this.apiClient.request({...t,url:"/users/authenticate",method:"POST",data:e,secure:!0,contentType:et.Json,responseType:"json"})}fetchClientDetails(e,t){return this.apiClient.request({...t,url:"/users/machine",method:"GET",secure:!0,headers:e,responseType:"json"})}}var tP={};Q(tP,"FundEsgAnalysis",()=>tw);class tw{constructor(e){this.apiClient=e,Z(W)(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={};Q(tR,"Tenants",()=>tD);class tD{constructor(e){this.apiClient=e,Z(W)(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:et.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:et.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:et.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:et.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:et.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:et.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:et.Json,responseType:"json"})}deleteTenantRecommendationsConfig(e,t,s){return this.apiClient.request({...s,url:`/tenants/${e}/recommendations-config/${t}`,method:"DELETE",secure:!0,responseType:"json"})}}z(en,ea),z(en,eo),z(en,eK),z(en,eQ),z(en,eX),z(en,e1),z(en,e3),z(en,e6),z(en,e7),z(en,e9),z(en,tt),z(en,tr),z(en,ta),z(en,to),z(en,tc),z(en,tp),z(en,td),z(en,t_),z(en,ty),z(en,tC),z(en,tS),z(en,tv),z(en,tG),z(en,tb),z(en,tP),z(en,tR);class tF extends ee{constructor(e){super(new er(e)),this.config=e,this.activities=new e0(this.apiClient),this.bridget=new ez(this.apiClient),this.bwc=new ei(this.apiClient),this.companyMarketData=new tn(this.apiClient),this.companyMetadata=new eZ(this.apiClient),this.companyNews=new ti(this.apiClient),this.consensusAnalysts=new e2(this.apiClient),this.earningCalls=new e5(this.apiClient),this.esgAnalysis=new e8(this.apiClient),this.forecasts=new te(this.apiClient),this.fundamentalAnalysis=new ts(this.apiClient),this.fundAnalysis=new tg(this.apiClient),this.fundEsgAnalysis=new tw(this.apiClient),this.fundMarketData=new tV(this.apiClient),this.fundMetadata=new th(this.apiClient),this.holdings=new tT(this.apiClient),this.logos=new e4(this.apiClient),this.metadata=new tm(this.apiClient),this.sectorAnalysis=new tf(this.apiClient),this.segmentations=new tE(this.apiClient),this.technicalAnalysis=new tu(this.apiClient),this.tenantIdentifiers=new tq(this.apiClient),this.tenants=new tD(this.apiClient),this.themes=new tl(this.apiClient),this.users=new tk(this.apiClient)}}z(module.exports,X),z(module.exports,en);
2
2
  //# sourceMappingURL=index.js.map