@orbis-systems/orbis-api-clients 1.3.0 → 1.3.1

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.
@@ -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";import{camelCase as d,snakeCase as m}from"change-case/keys";function h(e,t,s,r){Object.defineProperty(e,t,{get:s,set:r,enumerable:!0,configurable:!0})}function g(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}h({},"BridgeWiseApi",()=>sL);class _{constructor(t){this.apiClient=t,e(this)}getApiClient(){return this.apiClient}}var y,T,C,$,f,E,S,b,v,G,B,A,V,q,k,x,P,w,R,j,D,F,W,M,I,Y,L,N,O,H,J,U,z,K,Q,Z,X,ee,et,es,er,ea,en,ei,eo,ec,eu,el,ep,ed,em,eh,eg,e_,ey,eT,eC,e$,ef,eE,eS,eb,ev,eG=((y={}).Camel="camel",y.Snake="snake",y.Original="original",y),eB=((T={}).Json="application/json",T.FormData="multipart/form-data",T.UrlEncoded="application/x-www-form-urlencoded",T.Text="text/plain",T);class eA{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},transformResponse:[...Array.isArray(o.defaults.transformResponse)?o.defaults.transformResponse:o.defaults.transformResponse?[o.defaults.transformResponse]:[]]}),u(this.axiosInstance)}transformData(e){return this.config.caseFormat===eG.Camel?d(e,1/0):this.config.caseFormat===eG.Snake?m(e,1/0):e}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:this.transformData(e),rawData: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.rawData=s.response?.data,t.data=this.transformData(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 eV extends eA{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 eq={},ek={};h(ek,"Activities",()=>ex);class ex{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 eP={};h(eP,"AlternativeAssets",()=>ew);class ew{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"})}getAltTechnicalSections(e,t,s){return this.apiClient.request({...s,url:`/alternative-assets/${e}/technical-sections`,method:"GET",params:t,secure:!0,responseType:"json"})}getAlternativeAsset(e,t,s){return this.apiClient.request({...s,url:`/instruments/alternative-assets/${e}`,method:"GET",params:t,secure:!0,responseType:"json"})}}var eR={};h(eR,"Bonds",()=>ej);class ej{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"})}getBondInvestmentScore(e,t,s){return this.apiClient.request({...s,url:`/bonds/${e}/investment-score`,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"})}getBondRedemptionSchedule(e,t){return this.apiClient.request({...t,url:`/bonds/${e}/redemption-schedule`,method:"GET",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"})}getBond(e,t,s){return this.apiClient.request({...s,url:`/instruments/bonds/${e}`,method:"GET",params:t,secure:!0,responseType:"json"})}}var eD={};h(eD,"Bridget",()=>eF);class eF{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:eB.Json,responseType:"json"})}tenantsQuestionsRetrieve(e,t,s){return this.apiClient.request({...s,url:`/tenants/${e}/questions`,method:"GET",params:t,secure:!0,responseType:"json"})}tenantsQuestionsBulkList(e,t,s){return this.apiClient.request({...s,url:`/tenants/${e}/questions/bulk`,method:"GET",params:t,secure:!0,responseType:"json"})}}var eW={};h(eW,"Bwc",()=>eM);class eM{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 eI={};h(eI,"Companies",()=>eY);class eY{constructor(t){this.apiClient=t,e(this)}searchCompaniesV1(e,t){return this.apiClient.request({...t,url:"/companies",method:"GET",params:e,secure:!0,responseType:"json"})}getIdentifierSearch(e,t){return this.apiClient.request({...t,url:"/identifier-search",method:"GET",params:e,secure:!0,responseType:"json"})}getFundsHoldingCompanies(e,t){return this.apiClient.request({...t,url:"/instruments/stocks/funds-holdings",method:"GET",params:e,secure:!0,responseType:"json"})}getStock(e,t,s){return this.apiClient.request({...s,url:`/instruments/stocks/${e}`,method:"GET",params:t,secure:!0,responseType:"json"})}}var eL={};h(eL,"CompanyAnalysis",()=>eN);class eN{constructor(t){this.apiClient=t,e(this)}getSocialSentiments(e,t){return this.apiClient.request({...t,url:"/social-sentiment",method:"GET",params:e,secure:!0,responseType:"json"})}}var eO={};h(eO,"CompanyMarketData",()=>eH);class eH{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 eJ={};h(eJ,"CompanyMetadata",()=>eU);class eU{constructor(t){this.apiClient=t,e(this)}getCompany(e,t,s){return this.apiClient.request({...s,url:`/companies/${e}`,method:"GET",params:t,secure:!0,responseType:"json"})}}var ez={};h(ez,"CompanyNews",()=>eK);class eK{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 eQ={};h(eQ,"ConsensusAnalysts",()=>eZ);class eZ{constructor(t){this.apiClient=t,e(this)}getConsensusComparisons(e,t,s){return this.apiClient.request({...s,url:`/companies/${e}/consensus-analysts-comparisons`,method:"GET",params:t,secure:!0,responseType:"json"})}getConsensusRatings(e,t,s){return this.apiClient.request({...s,url:`/companies/${e}/consensus-ratings`,method:"GET",params:t,secure:!0,responseType:"json"})}}var eX={};h(eX,"EarningCalls",()=>e0);class e0{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 e5={};h(e5,"EsgAnalysis",()=>e1);class e1{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 e4={};h(e4,"FundamentalAnalysis",()=>e7);class e7{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 e9={};h(e9,"FundAnalysis",()=>e8);class e8{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"})}getFundTechnicalAnalysis(e,t,s){return this.apiClient.request({...s,url:`/funds/${e}/technical-analysis`,method:"GET",params:t,secure:!0,responseType:"json"})}getFundTechnicalParagraphs(e,t,s){return this.apiClient.request({...s,url:`/funds/${e}/technical-paragraphs`,method:"GET",params:t,secure:!0,responseType:"json"})}getFundTechnicalParameters(e,t,s){return this.apiClient.request({...s,url:`/funds/${e}/technical-parameters`,method:"GET",params:t,secure:!0,responseType:"json"})}getFundTechnicalSections(e,t,s){return this.apiClient.request({...s,url:`/funds/${e}/technical-sections`,method:"GET",params:t,secure:!0,responseType:"json"})}}var e2={};h(e2,"FundEsgAnalysis",()=>e6);class e6{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 e3={};h(e3,"FundMarketData",()=>te);class te{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 tt={};h(tt,"FundMetadata",()=>ts);class ts{constructor(t){this.apiClient=t,e(this)}getFund(e,t,s){return this.apiClient.request({...s,url:`/funds/${e}`,method:"GET",params:t,secure:!0,responseType:"json"})}}var tr={};h(tr,"Funds",()=>ta);class ta{constructor(t){this.apiClient=t,e(this)}searchFundsV1(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:`/instruments/funds/${e}`,method:"GET",params:t,secure:!0,responseType:"json"})}}var tn={};h(tn,"Health",()=>ti);class ti{constructor(t){this.apiClient=t,e(this)}health(e){return this.apiClient.request({...e,url:"/health",method:"GET",secure:!0,responseType:"json"})}}var to={};h(to,"Holdings",()=>tc);class tc{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 tu={};h(tu,"IndexMarketData",()=>tl);class tl{constructor(t){this.apiClient=t,e(this)}getIndexMarketData(e,t,s){return this.apiClient.request({...s,url:`/indices/${e}/market`,method:"GET",params:t,secure:!0,responseType:"json"})}getIndexMarketStatistics(e,t){return this.apiClient.request({...t,url:`/indices/${e}/market-statistics`,method:"GET",secure:!0,responseType:"json"})}}var tp={};h(tp,"IndexTechnicalAnalysis",()=>td);class td{constructor(t){this.apiClient=t,e(this)}getIndexTechnicalAnalysis(e,t,s){return this.apiClient.request({...s,url:`/indices/${e}/technical-analysis`,method:"GET",params:t,secure:!0,responseType:"json"})}}var tm={};h(tm,"Indices",()=>th);class th{constructor(t){this.apiClient=t,e(this)}getIndex(e,t,s){return this.apiClient.request({...s,url:`/instruments/indices/${e}`,method:"GET",params:t,secure:!0,responseType:"json"})}}var tg={};h(tg,"Insights",()=>t_);class t_{constructor(t){this.apiClient=t,e(this)}getPortfolioInsights(e,t,s){return this.apiClient.request({...s,url:`/portfolio-management/portfolios/${e}/insights`,method:"GET",params:t,secure:!0,responseType:"json"})}markInsightRead(e,t,s,r,a){return this.apiClient.request({...a,url:`/portfolio-management/portfolios/${e}/insights/${t}_${s}/read`,method:"POST",params:r,secure:!0,responseType:"json"})}}var ty={};h(ty,"Logos",()=>tT);class tT{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 tC={};h(tC,"Metadata",()=>t$);class t${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 tf={};h(tf,"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={};h(tS,"PnLHistory",()=>tb);class tb{constructor(t){this.apiClient=t,e(this)}getPnlHistory(e,t){return this.apiClient.request({...t,url:"/portfolio-management/pnl-history",method:"GET",params:e,secure:!0,responseType:"json"})}}var tv={};h(tv,"Portfolios",()=>tG);class tG{constructor(t){this.apiClient=t,e(this)}getPortfolios(e,t){return this.apiClient.request({...t,url:"/portfolio-management/portfolios",method:"GET",params:e,secure:!0,responseType:"json"})}getPortfolio(e,t,s){return this.apiClient.request({...s,url:`/portfolio-management/portfolios/${e}`,method:"GET",params:t,secure:!0,responseType:"json"})}getUserPortfolioScore(e,t,s){return this.apiClient.request({...s,url:`/portfolio-management/portfolios/${e}/score`,method:"GET",params:t,secure:!0,responseType:"json"})}}var tB={};h(tB,"Screener",()=>tA);class tA{constructor(t){this.apiClient=t,e(this)}searchAlternativeAssets(e,t){return this.apiClient.request({...t,url:"/instruments/alternative-assets",method:"GET",params:e,secure:!0,responseType:"json"})}searchBonds(e,t){return this.apiClient.request({...t,url:"/instruments/bonds",method:"GET",params:e,secure:!0,responseType:"json"})}getFilters(e,t){return this.apiClient.request({...t,url:"/instruments/filters",method:"GET",params:e,secure:!0,responseType:"json"})}searchFunds(e,t){return this.apiClient.request({...t,url:"/instruments/funds",method:"GET",params:e,secure:!0,responseType:"json"})}searchIndices(e,t){return this.apiClient.request({...t,url:"/instruments/indices",method:"GET",params:e,secure:!0,responseType:"json"})}searchStocks(e,t){return this.apiClient.request({...t,url:"/instruments/stocks",method:"GET",params:e,secure:!0,responseType:"json"})}}var tV={};h(tV,"SectorAnalysis",()=>tq);class tq{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 tk={};h(tk,"Segmentations",()=>tx);class tx{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 tP={};h(tP,"SignalWise",()=>tw);class tw{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"})}getSocialAlerts(e,t){return this.apiClient.request({...t,url:"/alerts/social",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 tR={};h(tR,"TechnicalAnalysis",()=>tj);class tj{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"})}getCompanyTechnicalSections(e,t,s){return this.apiClient.request({...s,url:`/companies/${e}/technical-sections`,method:"GET",params:t,secure:!0,responseType:"json"})}getIndexTechnicalParagraphs(e,t,s){return this.apiClient.request({...s,url:`/indices/${e}/technical-paragraphs`,method:"GET",params:t,secure:!0,responseType:"json"})}getIndexTechnicalParameters(e,t,s){return this.apiClient.request({...s,url:`/indices/${e}/technical-parameters`,method:"GET",params:t,secure:!0,responseType:"json"})}}var tD={};h(tD,"TenantIdentifiers",()=>tF);class tF{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:eB.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:eB.Json,responseType:"json"})}deleteTenantIdentifier(e,t,s){return this.apiClient.request({...s,url:`/tenants/${e}/identifiers/${t}`,method:"DELETE",secure:!0,responseType:"json"})}}var tW={};h(tW,"Tenants",()=>tM);class tM{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:eB.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:eB.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:eB.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:eB.Json,responseType:"json"})}getTenantAppClients(e,t){return this.apiClient.request({...t,url:`/tenants/${e}/machine`,method:"GET",secure:!0,responseType:"json"})}getTenantAppClient(e,t,s){return this.apiClient.request({...s,url:`/tenants/${e}/machine/${t}`,method:"GET",secure:!0,responseType:"json"})}deleteTenantAppClient(e,t,s){return this.apiClient.request({...s,url:`/tenants/${e}/machine/${t}`,method:"DELETE",secure:!0,responseType:"json"})}editTenantAppClient(e,t,s,r){return this.apiClient.request({...r,url:`/tenants/${e}/machine/${t}`,method:"PATCH",data:s,secure:!0,contentType:eB.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:eB.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:eB.Json,responseType:"json"})}getTenantRecommendationsConfig(e,t,s,r){return this.apiClient.request({...r,url:`/tenants/${e}/recommendations-config/${t}`,method:"GET",params:s,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:eB.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 tI={};h(tI,"Themes",()=>tY);class tY{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 tL={};h(tL,"BridgeWiseThemeTypeEnum",()=>tN),h(tL,"BridgeWiseThemePackageEnum",()=>tO),h(tL,"BridgeWiseThemeLanguageEnum",()=>tH),h(tL,"BridgeWiseThemeGroupEnum",()=>tJ),h(tL,"BridgeWiseThemeAssetClassEnum",()=>tU),h(tL,"BridgeWiseTenantIdentifierStatusEnum",()=>tz),h(tL,"BridgeWiseEventTypeEnum",()=>tK),h(tL,"BridgeWiseScoreMethodology",()=>tQ),h(tL,"BridgeWiseGlobalIndustryScoringEnum",()=>tZ),h(tL,"BridgeWiseAnalysisTypeEnum",()=>tX),h(tL,"BridgeWiseIndicesSortByEnum",()=>t0),h(tL,"BridgeWiseFundsSortByEnum",()=>t5),h(tL,"BridgeWiseFilterType",()=>t1),h(tL,"BridgeWiseCompaniesSortByEnum",()=>t4),h(tL,"BridgeWiseBondsSortByEnum",()=>t7),h(tL,"BridgeWiseAlternativesSortByEnum",()=>t9),h(tL,"BridgeWiseTimeframe",()=>t8),h(tL,"BridgeWiseDailyPnlFlag",()=>t2),h(tL,"BridgeWiseAssetType",()=>t6),h(tL,"BridgeWisePDFReportType",()=>t3),h(tL,"BridgeWisePeriodTypeEnum",()=>se),h(tL,"BridgeWiseFundamentalSectionTypeEnum",()=>st),h(tL,"BridgeWiseESGSectionTypeParamEnumV2",()=>ss),h(tL,"BridgeWiseESGScoreGroup",()=>sr),h(tL,"BridgeWiseTechnicalAnalysisTypeEnum",()=>sa),h(tL,"BridgeWiseScoringMethodEnum",()=>sn),h(tL,"BridgeWiseParagraphTextEnum",()=>si),h(tL,"BridgeWiseFundamentalParagraphSectionTypeEnum",()=>so),h(tL,"BridgeWiseEarningsCallRecapEnum",()=>sc),h(tL,"BridgeWiseESGSectionTypeEnum",()=>su),h(tL,"BridgeWiseCompanyNewsSortingEnum",()=>sl),h(tL,"BridgeWiseLogoTypeEnum",()=>sp),h(tL,"BridgeWiseLogoSizeEnum",()=>sd),h(tL,"BridgeWiseImageExtensionEnum",()=>sm),h(tL,"BridgeWiseCompanyFilterType",()=>sh),h(tL,"BridgeWiseCompanyAlertType",()=>sg),h(tL,"BridgeWiseCompanyAlertSentiment",()=>s_),h(tL,"BridgeWiseStringBooleanEnum",()=>sy),h(tL,"BridgeWiseTypeEnum",()=>sT),h(tL,"BridgeWiseInstrumentTypeEnum",()=>sC),h(tL,"BridgeWiseInstrumentIdentifierTypeEnum",()=>s$),h(tL,"BridgeWiseFormatEnum",()=>sf),h(tL,"BridgeWiseUniverseEnum",()=>sE),h(tL,"BridgeWiseParametersSectionTypeEnum",()=>sS),h(tL,"BridgeWiseBondsSectionTypeEnum",()=>sb),h(tL,"BridgeWiseLanguageEnum",()=>sv),h(tL,"BridgeWiseEventSentimentEnum",()=>sG),h(tL,"BridgeWiseAssetTypeEnum",()=>sB),h(tL,"BridgeWiseAlertTypeEnum",()=>sA),h(tL,"BridgeWiseIdCheckConfigNameEnum",()=>sV),h(tL,"BridgeWiseIdCheckConfigOperatorEnum",()=>sq),h(tL,"BridgeWiseMarketDataConfigNameEnum",()=>sk),h(tL,"BridgeWiseMarketDataConfigOperatorEnum",()=>sx),h(tL,"BridgeWiseStockingFloatConfigOperatorEnum",()=>sP),h(tL,"BridgeWiseGetFundsHoldingCompaniesParamsSortByEnum",()=>sw),h(tL,"BridgeWiseGetFundsHoldingCompaniesParamsSortOrderEnum",()=>sR),h(tL,"BridgeWiseTenantsQuestionsBulkListParamsFormatEnum",()=>sj),h(tL,"BridgeWiseGetBusinessDescriptionParamsDateFormatEnum",()=>sD),h(tL,"BridgeWiseGetFundamentalAnalysisParamsDateFormatEnum",()=>sF),h(tL,"BridgeWiseGetIndustryDescriptionParamsDateFormatEnum",()=>sW),h(tL,"BridgeWiseGetTechnicalAnalysisParamsDateFormatEnum",()=>sM);var tN=((C={}).Geographic="geographic",C.Strategy="strategy",C.Technology="technology",C.Income="income",C.Index="index",C.Sector="sector",C.Esg="esg",C.Factor="factor",C.Thematic="thematic",C.Risk="risk",C),tO=(($={}).Basic="basic",$.Advanced="advanced",$),tH=((f={}).ArSA="ar-SA",f.DeDE="de-DE",f.EnUS="en-US",f.EsES="es-ES",f.FrFR="fr-FR",f.HeIL="he-IL",f.NlNL="nl-NL",f.PtBR="pt-BR",f.TrTR="tr-TR",f.ZhCN="zh-CN",f.JaJP="ja-JP",f.KoKR="ko-KR",f.ThTH="th-TH",f.ZhHK="zh-HK",f),tJ=((E={})[E.Value1=1]="Value1",E[E.Value2=2]="Value2",E[E.Value3=3]="Value3",E),tU=((S={}).Stocks="stocks",S.Funds="funds",S),tz=((b={}).Active="active",b.Blacklisted="blacklisted",b),tK=((v={}).PolicyThreshold="policy_threshold",v.InternalCoverage="internal_coverage",v.BwRecommendation="bw_recommendation",v),tQ=((G={}).Global="global",G.Industry="industry",G.Country="country",G.Sector="sector",G.Specific="specific",G),tZ=((B={}).Global="global",B.Industry="industry",B),tX=((A={}).Fundamental="fundamental",A.Esg="esg",A.PriceTarget="price_target",A.Technical="technical",A),t0=((V={}).PercentTo52WHigh="percent_to_52w_high",V.ValuePercentTo52WHigh="-percent_to_52w_high",V.Return1D="return_1d",V.ValueReturn1D="-return_1d",V.Return5D="return_5d",V.ValueReturn5D="-return_5d",V.Return1M="return_1m",V.ValueReturn1M="-return_1m",V.Return6M="return_6m",V.ValueReturn6M="-return_6m",V.Return1Y="return_1y",V.ValueReturn1Y="-return_1y",V.Return2Y="return_2y",V.ValueReturn2Y="-return_2y",V.Return5Y="return_5y",V.ValueReturn5Y="-return_5y",V.ReturnYtd="return_ytd",V.ValueReturnYtd="-return_ytd",V.ClosePrice="close_price",V.ValueClosePrice="-close_price",V.DailyReturn="daily_return",V.ValueDailyReturn="-daily_return",V.AnalysisTechnicalScore="analysis_technical_score",V.ValueAnalysisTechnicalScore="-analysis_technical_score",V.AnalysisTechnicalShortScore="analysis_technical_short_score",V.ValueAnalysisTechnicalShortScore="-analysis_technical_short_score",V.AnalysisTechnicalLongScore="analysis_technical_long_score",V.ValueAnalysisTechnicalLongScore="-analysis_technical_long_score",V.AvgTradingVolume3M="avg_trading_volume_3m",V.ValueAvgTradingVolume3M="-avg_trading_volume_3m",V),t5=((q={}).PctOfEquityHoldings="pct_of_equity_holdings",q.ValuePctOfEquityHoldings="-pct_of_equity_holdings",q.Alpha1Y="alpha_1y",q.ValueAlpha1Y="-alpha_1y",q.SharpeRatio1Y="sharpe_ratio_1y",q.ValueSharpeRatio1Y="-sharpe_ratio_1y",q.Beta1Y="beta_1y",q.ValueBeta1Y="-beta_1y",q.TrackingError1Y="tracking_error_1y",q.ValueTrackingError1Y="-tracking_error_1y",q.AumUsd="aum_usd",q.ValueAumUsd="-aum_usd",q.SponsorAumUsd="sponsor_aum_usd",q.ValueSponsorAumUsd="-sponsor_aum_usd",q.AnnualReturn="annual_return",q.ValueAnnualReturn="-annual_return",q.MaxConcentration="max_concentration",q.ValueMaxConcentration="-max_concentration",q.ExpenseRatio="expense_ratio",q.ValueExpenseRatio="-expense_ratio",q.AvgTradingVolume3M="avg_trading_volume_3m",q.ValueAvgTradingVolume3M="-avg_trading_volume_3m",q.AnalysisFundamentalScore="analysis_fundamental_score",q.ValueAnalysisFundamentalScore="-analysis_fundamental_score",q.GrowthFactorGroup="growth_factor_group",q.ValueGrowthFactorGroup="-growth_factor_group",q.ValueFactorGroup="value_factor_group",q.ValueValueFactorGroup="-value_factor_group",q.SectorScore="sector_score",q.ValueSectorScore="-sector_score",q.EquityUnderManagementUsd="equity_under_management_usd",q.ValueEquityUnderManagementUsd="-equity_under_management_usd",q.CashFlowFactorGroup="cash_flow_factor_group",q.ValueCashFlowFactorGroup="-cash_flow_factor_group",q.FillingDate="filling_date",q.ValueFillingDate="-filling_date",q.SectionPerformanceScore="section_performance_score",q.ValueSectionPerformanceScore="-section_performance_score",q.SectionRiskScore="section_risk_score",q.ValueSectionRiskScore="-section_risk_score",q.SectionPortfolioScore="section_portfolio_score",q.ValueSectionPortfolioScore="-section_portfolio_score",q.Return1D="return_1D",q.ValueReturn1D="-return_1D",q.Return5D="return_5D",q.ValueReturn5D="-return_5D",q.Return1M="return_1M",q.ValueReturn1M="-return_1M",q.Return6M="return_6M",q.ValueReturn6M="-return_6M",q.Return1Y="return_1Y",q.ValueReturn1Y="-return_1Y",q.Return2Y="return_2Y",q.ValueReturn2Y="-return_2Y",q.Return5Y="return_5Y",q.ValueReturn5Y="-return_5Y",q.ReturnYTD="return_YTD",q.ValueReturnYTD="-return_YTD",q.TradingVolumeRatio="trading_volume_ratio",q.ValueTradingVolumeRatio="-trading_volume_ratio",q.NumberOfHoldings="number_of_holdings",q.ValueNumberOfHoldings="-number_of_holdings",q.AnalysisTechnicalShortScore="analysis_technical_short_score",q.ValueAnalysisTechnicalShortScore="-analysis_technical_short_score",q.AnalysisTechnicalLongScore="analysis_technical_long_score",q.ValueAnalysisTechnicalLongScore="-analysis_technical_long_score",q.AnalysisTechnicalScore="analysis_technical_score",q.ValueAnalysisTechnicalScore="-analysis_technical_score",q.AnalysisTechnicalScoreGroup="analysis_technical_score_group",q.ValueAnalysisTechnicalScoreGroup="-analysis_technical_score_group",q.NewsSentimentScore="news_sentiment_score",q.ValueNewsSentimentScore="-news_sentiment_score",q.NewsSentiment="news_sentiment",q.ValueNewsSentiment="-news_sentiment",q),t1=((k={}).Countries="countries",k.GicsIndustry="gics_industry",k.GicsSector="gics_sector",k.ThemeEmphasis="theme_emphasis",k.Regions="regions",k.GicsGroup="gics_group",k.GicsIndustryGroup="gics_industry_group",k.Currency="currency",k.Exchange="exchange",k.CsaIndustry="csa_industry",k.Benchmark="benchmark",k.Sponsor="sponsor",k.Sector="sector",k.ManagementStyle="management_style",k.Recommendation="recommendation",k.MarketCapEmphasis="market_cap_emphasis",k.Exposure="exposure",k.GeographyEmphasis="geography_emphasis",k.MarketBenchmark="market_benchmark",k.PrimaryBenchmark="primary_benchmark",k.Source="source",k.Classification="classification",k.BondType="bond_type",k.BondSubType="bond_sub_type",k.Tier="tier",k.All="all",k),t4=((x={}).LastCloseMarketCapUsd="last_close_market_cap_usd",x.ValueLastCloseMarketCapUsd="-last_close_market_cap_usd",x.ImpliedMarketCap="implied_market_cap",x.ValueImpliedMarketCap="-implied_market_cap",x.PriceCurrencyIso3="price_currency_iso3",x.ValuePriceCurrencyIso3="-price_currency_iso3",x.AssetsTurnover="assets_turnover",x.ValueAssetsTurnover="-assets_turnover",x.AverageRevenuePerSubscriber="average_revenue_per_subscriber",x.ValueAverageRevenuePerSubscriber="-average_revenue_per_subscriber",x.CurrentPeRatio="current_pe_ratio",x.ValueCurrentPeRatio="-current_pe_ratio",x.CurrentRatio="current_ratio",x.ValueCurrentRatio="-current_ratio",x.DividendYieldPercentage="dividend_yield_percentage",x.ValueDividendYieldPercentage="-dividend_yield_percentage",x.EbitdaMarginPercent="ebitda_margin_percent",x.ValueEbitdaMarginPercent="-ebitda_margin_percent",x.EbitByInterestExpense="ebit_by_interest_expense",x.ValueEbitByInterestExpense="-ebit_by_interest_expense",x.FreeCashFlowPerShare="free_cash_flow_per_share",x.ValueFreeCashFlowPerShare="-free_cash_flow_per_share",x.GrossProfitMarginPercent="gross_profit_margin_percent",x.ValueGrossProfitMarginPercent="-gross_profit_margin_percent",x.LastCloseTevDividedByEbitda="last_close_tev_divided_by_ebitda",x.ValueLastCloseTevDividedByEbitda="-last_close_tev_divided_by_ebitda",x.LongTermDebtByTotalCapital="long_term_debt_by_total_capital",x.ValueLongTermDebtByTotalCapital="-long_term_debt_by_total_capital",x.NetEpsBasic="net_eps_basic",x.ValueNetEpsBasic="-net_eps_basic",x.NetEpsDiluted="net_eps_diluted",x.ValueNetEpsDiluted="-net_eps_diluted",x.NetDebtDividedByEbitda="net_debt_divided_by_ebitda",x.ValueNetDebtDividedByEbitda="-net_debt_divided_by_ebitda",x.NetIncomeMarginPercent="net_income_margin_percent",x.ValueNetIncomeMarginPercent="-net_income_margin_percent",x.OperatingCashFlowByCurrentLiabilities="operating_cash_flow_by_current_liabilities",x.ValueOperatingCashFlowByCurrentLiabilities="-operating_cash_flow_by_current_liabilities",x.TotalRevenuesOneYearGrowthPercentage="total_revenues_one_year_growth_percentage",x.ValueTotalRevenuesOneYearGrowthPercentage="-total_revenues_one_year_growth_percentage",x.TotalDebtToCapitalPercent="total_debt_to_capital_percent",x.ValueTotalDebtToCapitalPercent="-total_debt_to_capital_percent",x.PayoutRatio="payout_ratio",x.ValuePayoutRatio="-payout_ratio",x.QuickRatio="quick_ratio",x.ValueQuickRatio="-quick_ratio",x.ReturnOnEquityPercent="return_on_equity_percent",x.ValueReturnOnEquityPercent="-return_on_equity_percent",x.ReturnOnAssets="return_on_assets",x.ValueReturnOnAssets="-return_on_assets",x.ReturnOnTotalCapital="return_on_total_capital",x.ValueReturnOnTotalCapital="-return_on_total_capital",x.RevenuePerEmployeeInThousands="revenue_per_employee_in_thousands",x.ValueRevenuePerEmployeeInThousands="-revenue_per_employee_in_thousands",x.TotalDebtToEquity="total_debt_to_equity",x.ValueTotalDebtToEquity="-total_debt_to_equity",x.TotalRevenues="total_revenues",x.ValueTotalRevenues="-total_revenues",x.AnalysisFundamentalScoreGroup="analysis_fundamental_score_group",x.ValueAnalysisFundamentalScoreGroup="-analysis_fundamental_score_group",x.SectionBalanceSheetScoreGroup="section_balance_sheet_score_group",x.ValueSectionBalanceSheetScoreGroup="-section_balance_sheet_score_group",x.SectionEnvironmentalScoreGroup="section_environmental_score_group",x.ValueSectionEnvironmentalScoreGroup="-section_environmental_score_group",x.SectionSocialScoreGroup="section_social_score_group",x.ValueSectionSocialScoreGroup="-section_social_score_group",x.SectionGovernanceScoreGroup="section_governance_score_group",x.ValueSectionGovernanceScoreGroup="-section_governance_score_group",x.SectorScore="sector_score",x.ValueSectorScore="-sector_score",x.AnalysisFundamentalScore="analysis_fundamental_score",x.ValueAnalysisFundamentalScore="-analysis_fundamental_score",x.SectionIncomeStatementScore="section_income_statement_score",x.ValueSectionIncomeStatementScore="-section_income_statement_score",x.SectionBalanceSheetScore="section_balance_sheet_score",x.ValueSectionBalanceSheetScore="-section_balance_sheet_score",x.SectionCashFlowScore="section_cash_flow_score",x.ValueSectionCashFlowScore="-section_cash_flow_score",x.AnalysisEsgScore="analysis_esg_score",x.ValueAnalysisEsgScore="-analysis_esg_score",x.SectionEnvironmentalScore="section_environmental_score",x.ValueSectionEnvironmentalScore="-section_environmental_score",x.SectionSocialScore="section_social_score",x.ValueSectionSocialScore="-section_social_score",x.SectionGovernanceScore="section_governance_score",x.ValueSectionGovernanceScore="-section_governance_score",x.FilingDate="filing_date",x.ValueFilingDate="-filing_date",x.SectionRiskFactorsGroup="section_risk_factors_group",x.ValueSectionRiskFactorsGroup="-section_risk_factors_group",x.Beta1Year="beta_1_year",x.ValueBeta1Year="-beta_1_year",x.PeRatio="pe_ratio",x.ValuePeRatio="-pe_ratio",x.PeriodLastPriceDividedBookValue="period_last_price_divided_book_value",x.ValuePeriodLastPriceDividedBookValue="-period_last_price_divided_book_value",x.AnalysisEsgScoreGroup="analysis_esg_score_group",x.ValueAnalysisEsgScoreGroup="-analysis_esg_score_group",x.SectionIncomeStatementScoreGroup="section_income_statement_score_group",x.ValueSectionIncomeStatementScoreGroup="-section_income_statement_score_group",x.SectionCashFlowScoreGroup="section_cash_flow_score_group",x.ValueSectionCashFlowScoreGroup="-section_cash_flow_score_group",x.GicsSectorId="gics_sector_id",x.ValueGicsSectorId="-gics_sector_id",x.FillingDate="filling_date",x.ValueFillingDate="-filling_date",x.SectorScoreGroup="sector_score_group",x.ValueSectorScoreGroup="-sector_score_group",x.Return1D="return_1D",x.ValueReturn1D="-return_1D",x.Return5D="return_5D",x.ValueReturn5D="-return_5D",x.Return1M="return_1M",x.ValueReturn1M="-return_1M",x.Return6M="return_6M",x.ValueReturn6M="-return_6M",x.Return1Y="return_1Y",x.ValueReturn1Y="-return_1Y",x.Return2Y="return_2Y",x.ValueReturn2Y="-return_2Y",x.Return5Y="return_5Y",x.ValueReturn5Y="-return_5Y",x.ReturnYTD="return_YTD",x.ValueReturnYTD="-return_YTD",x.AnalysisTechnicalScore="analysis_technical_score",x.ValueAnalysisTechnicalScore="-analysis_technical_score",x.AnalysisTechnicalScoreGroup="analysis_technical_score_group",x.ValueAnalysisTechnicalScoreGroup="-analysis_technical_score_group",x.AnalysisTechnicalShortScore="analysis_technical_short_score",x.ValueAnalysisTechnicalShortScore="-analysis_technical_short_score",x.AnalysisTechnicalLongScore="analysis_technical_long_score",x.ValueAnalysisTechnicalLongScore="-analysis_technical_long_score",x.ConsensusScoreGroup="consensus_score_group",x.ValueConsensusScoreGroup="-consensus_score_group",x.ConsensusAnalystCount="consensus_analyst_count",x.ValueConsensusAnalystCount="-consensus_analyst_count",x.NewsSentimentScore="news_sentiment_score",x.ValueNewsSentimentScore="-news_sentiment_score",x.NewsSentiment="news_sentiment",x.ValueNewsSentiment="-news_sentiment",x.TargetPriceToLastClose="target_price_to_last_close",x.ValueTargetPriceToLastClose="-target_price_to_last_close",x),t7=((P={}).AmountOutstanding="amount_outstanding",P.ValueAmountOutstanding="-amount_outstanding",P.Coupon="coupon",P.ValueCoupon="-coupon",P.IssueDate="issue_date",P.ValueIssueDate="-issue_date",P.MaturityDate="maturity_date",P.ValueMaturityDate="-maturity_date",P.CouponFrequency="coupon_frequency",P.ValueCouponFrequency="-coupon_frequency",P.MidApplicableYield="mid_applicable_yield",P.ValueMidApplicableYield="-mid_applicable_yield",P.FinalCreditQualityScoreGroup="final_credit_quality_score_group",P.ValueFinalCreditQualityScoreGroup="-final_credit_quality_score_group",P.MidMacaulayDuration="mid_macaulay_duration",P.ValueMidMacaulayDuration="-mid_macaulay_duration",P.MidApplicableSpread="mid_applicable_spread",P.ValueMidApplicableSpread="-mid_applicable_spread",P.BondType="bond_type",P.ValueBondType="-bond_type",P.FinalCreditQualityScore="final_credit_quality_score",P.ValueFinalCreditQualityScore="-final_credit_quality_score",P.InvestmentScore="investment_score",P.ValueInvestmentScore="-investment_score",P),t9=((w={}).PercentTo52WHigh="percent_to_52w_high",w.ValuePercentTo52WHigh="-percent_to_52w_high",w.Return1D="return_1d",w.ValueReturn1D="-return_1d",w.Return5D="return_5d",w.ValueReturn5D="-return_5d",w.Return1M="return_1m",w.ValueReturn1M="-return_1m",w.Return6M="return_6m",w.ValueReturn6M="-return_6m",w.Return1Y="return_1y",w.ValueReturn1Y="-return_1y",w.Return2Y="return_2y",w.ValueReturn2Y="-return_2y",w.Return5Y="return_5y",w.ValueReturn5Y="-return_5y",w.ReturnYtd="return_ytd",w.ValueReturnYtd="-return_ytd",w.ClosePrice="close_price",w.ValueClosePrice="-close_price",w.DailyReturn="daily_return",w.ValueDailyReturn="-daily_return",w.AnalysisTechnicalScore="analysis_technical_score",w.ValueAnalysisTechnicalScore="-analysis_technical_score",w.AnalysisTechnicalShortScore="analysis_technical_short_score",w.ValueAnalysisTechnicalShortScore="-analysis_technical_short_score",w.AnalysisTechnicalLongScore="analysis_technical_long_score",w.ValueAnalysisTechnicalLongScore="-analysis_technical_long_score",w.NewsSentimentScore="news_sentiment_score",w.ValueNewsSentimentScore="-news_sentiment_score",w.AvgTradingVolume3M="avg_trading_volume_3m",w.ValueAvgTradingVolume3M="-avg_trading_volume_3m",w),t8=((R={}).Value1D="1D",R.Value1W="1W",R.Value1M="1M",R.Value3M="3M",R.Value6M="6M",R.YTD="YTD",R.Value1Y="1Y",R),t2=((j={}).NoPrevData="no_prev_data",j.NewPosition="new_position",j.MissingBaseCcy="missing_base_ccy",j.PartialPrevData="partial_prev_data",j.MissingInstrumentPnl="missing_instrument_pnl",j.Stale="stale",j.ClosedInRange="closed_in_range",j.PartialHolding="partial_holding",j),t6=((D={}).Stock="stock",D.Fund="fund",D.Bond="bond",D),t3=((F={}).Stock="stock",F.Fund="fund",F),se=((W={}).Quarterly="quarterly",W.Annually="annually",W.Last12Month="last_12_month",W),st=((M={}).BalanceSheet="balance_sheet",M.IncomeStatement="income_statement",M.CashFlow="cash_flow",M),ss=((I={}).Environmental="environmental",I.Social="social",I.Governance="governance",I),sr=((Y={})[Y.Value5=5]="Value5",Y[Y.Value4=4]="Value4",Y[Y.Value3=3]="Value3",Y[Y.Value2=2]="Value2",Y[Y.Value1=1]="Value1",Y),sa=((L={}).Technical="technical",L.TechnicalShortTerm="technical_short_term",L.TechnicalLongTerm="technical_long_term",L),sn=((N={}).Global="global",N.Industry="industry",N.Country="country",N.Sector="sector",N.Specific="specific",N),si=((O={}).NewsSummary="news_summary",O.Description="description",O.Technical="technical",O),so=((H={}).BalanceSheet="balance_sheet",H.IncomeStatement="income_statement",H.CashFlow="cash_flow",H.CompanyDescription="company_description",H.CompanyFundamentals="company_fundamentals",H.SummaryRecommendation="summary_recommendation",H),sc=((J={}).Highlights="highlights",J.Lowlights="lowlights",J),su=((U={}).Social="social",U.Environmental="environmental",U.Governance="governance",U.Summary="summary",U.Controversies="controversies",U.Transparency="transparency",U.Weaknesses="weaknesses",U),sl=((z={}).PublicationDate="publication_date",z.RelevancyScore="relevancy_score",z.SocialShares="social_shares",z),sp=((K={}).Square="square",K.Horizontal="horizontal",K),sd=((Q={}).Original="original",Q.Square="square",Q),sm=((Z={}).Png="png",Z.Svg="svg",Z.Jpg="jpg",Z),sh=((X={}).Countries="countries",X.GicsIndustry="gics_industry",X.GicsSector="gics_sector",X.ThemeEmphasis="theme_emphasis",X.Regions="regions",X.GicsGroup="gics_group",X.GicsIndustryGroup="gics_industry_group",X.Currency="currency",X.Exchange="exchange",X.CsaIndustry="csa_industry",X.Benchmark="benchmark",X.Sponsor="sponsor",X.Sector="sector",X.ManagementStyle="management_style",X.Recommendation="recommendation",X.MarketCapEmphasis="market_cap_emphasis",X.Exposure="exposure",X.GeographyEmphasis="geography_emphasis",X.MarketBenchmark="market_benchmark",X.PrimaryBenchmark="primary_benchmark",X.Source="source",X),sg=((ee={}).Fundamental="fundamental",ee.Market="market",ee),s_=((et={}).Positive="positive",et.Negative="negative",et),sy=((es={}).True="true",es.False="false",es),sT=((er={}).Ticker="ticker",er.Company="company",er.Sectors="sectors",er.Industries="industries",er.Locations="locations",er),sC=((ea={}).Fund="fund",ea.Company="company",ea.Alt="alt",ea),s$=((en={}).Fund="fund",en.Tickerfund="tickerfund",en.Ticker="ticker",en.Company="company",en.Sectors="sectors",en.Industries="industries",en.Locations="locations",en),sf=((ei={}).Csv="csv",ei.Json="json",ei),sE=((eo={}).Industry="industry",eo.Country="country",eo),sS=((ec={}).SizeAndMarketPosition="size_and_market_position",ec.LeverageAndSolvency="leverage_and_solvency",ec.Profitability="profitability",ec.FinancialPolicy="financial_policy",ec),sb=((eu={}).CompanyDescription="company_description",eu.CreditQualityScoreSummary="credit_quality_score_summary",eu.CreditOutlookAnalysis="credit_outlook_analysis",eu.SizeAndMarketPosition="size_and_market_position",eu.LeverageAndSolvency="leverage_and_solvency",eu.Profitability="profitability",eu.FinancialPolicy="financial_policy",eu.SummaryRecommendation="summary_recommendation",eu),sv=((el={}).ArSA="ar-SA",el.CaES="ca-ES",el.DeDE="de-DE",el.EnUS="en-US",el.EsES="es-ES",el.FrFR="fr-FR",el.HeIL="he-IL",el.NlNL="nl-NL",el.PtBR="pt-BR",el.TrTR="tr-TR",el.ZhCN="zh-CN",el.JaJP="ja-JP",el.KoKR="ko-KR",el.ThTH="th-TH",el.ZhHK="zh-HK",el),sG=((ep={}).Positive="positive",ep.Negative="negative",ep),sB=((ed={}).Cryptocurrency="cryptocurrency",ed.Forex="forex",ed.Commodity="commodity",ed.Stock="stock",ed.Etf="etf",ed),sA=((em={}).AggressiveMoveHigh="aggressive_move_high",em.AggressiveMoveLow="aggressive_move_low",em.PriceBreaks52WeekHigh="price_breaks_52_week_high",em.PriceBreaks52WeekLow="price_breaks_52_week_low",em.PriceBreaks50DaysHigh="price_breaks_50_days_high",em.PriceBreaks50DaysLow="price_breaks_50_days_low",em.GapUp="gap_up",em.GapDown="gap_down",em.HighRangeBreak="high_range_break",em.LowRangeBreak="low_range_break",em.MacdBullishCrossoverAlert="macd_bullish_crossover_alert",em.MovingAverageDeathCrossAlert="moving_average_death_cross_alert",em.RsiOverboughtAlert="rsi_overbought_alert",em),sV=((eh={}).Index="index",eh.Exchange="exchange",eh.DomicileCountry="domicile_country",eh.ExchangeCountry="exchange_country",eh),sq=((eg={}).Isin="isin",eg.Notin="notin",eg),sk=((e_={}).MarketCap="market_cap",e_.Volume="volume",e_),sx=((ey={}).Ge="ge",ey.Le="le",ey.Gt="gt",ey.Lt="lt",ey),sP=((eT={}).Ge="ge",eT.Le="le",eT.Gt="gt",eT.Lt="lt",eT),sw=((eC={}).HoldingWeight="holding_weight",eC.AumUsd="aum_usd",eC.AnalysisFundamentalScore="analysis_fundamental_score",eC.ExpenseRatio="expense_ratio",eC.Return1Y="return_1y",eC),sR=((e$={}).Asc="asc",e$.Desc="desc",e$),sj=((ef={}).Csv="csv",ef.Json="json",ef),sD=((eE={}).Iso="iso",eE.Epoch="epoch",eE),sF=((eS={}).Epoch="epoch",eS.Iso="iso",eS),sW=((eb={}).Iso="iso",eb.Epoch="epoch",eb),sM=((ev={}).Iso="iso",ev.Epoch="epoch",ev),sI={};h(sI,"Users",()=>sY);class sY{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:eB.Json,responseType:"json"})}fetchClientDetails(e,t){return this.apiClient.request({...t,url:"/users/machine",method:"GET",secure:!0,headers:e,responseType:"json"})}}g(eq,ek),g(eq,eP),g(eq,eR),g(eq,eD),g(eq,eW),g(eq,eI),g(eq,eL),g(eq,eO),g(eq,eJ),g(eq,ez),g(eq,eQ),g(eq,eX),g(eq,e5),g(eq,e4),g(eq,e9),g(eq,e2),g(eq,e3),g(eq,tt),g(eq,tr),g(eq,tn),g(eq,to),g(eq,tu),g(eq,tp),g(eq,tm),g(eq,tg),g(eq,ty),g(eq,tC),g(eq,tf),g(eq,tS),g(eq,tv),g(eq,tB),g(eq,tV),g(eq,tk),g(eq,tP),g(eq,tR),g(eq,tD),g(eq,tW),g(eq,tI),g(eq,tL),g(eq,sI);class sL extends _{constructor(e){super(new eV(e)),this.config=e,this.activities=new ex(this.apiClient),this.alternativeAssets=new ew(this.apiClient),this.bonds=new ej(this.apiClient),this.bridget=new eF(this.apiClient),this.bwc=new eM(this.apiClient),this.companies=new eY(this.apiClient),this.companyAnalysis=new eN(this.apiClient),this.companyMarketData=new eH(this.apiClient),this.companyMetadata=new eU(this.apiClient),this.companyNews=new eK(this.apiClient),this.consensusAnalysts=new eZ(this.apiClient),this.earningCalls=new e0(this.apiClient),this.esgAnalysis=new e1(this.apiClient),this.fundAnalysis=new e8(this.apiClient),this.fundEsgAnalysis=new e6(this.apiClient),this.fundMarketData=new te(this.apiClient),this.fundMetadata=new ts(this.apiClient),this.fundamentalAnalysis=new e7(this.apiClient),this.funds=new ta(this.apiClient),this.health=new ti(this.apiClient),this.holdings=new tc(this.apiClient),this.indexMarketData=new tl(this.apiClient),this.indexTechnicalAnalysis=new td(this.apiClient),this.indices=new th(this.apiClient),this.insights=new t_(this.apiClient),this.logos=new tT(this.apiClient),this.metadata=new t$(this.apiClient),this.pdfReportGeneration=new tE(this.apiClient),this.pnLHistory=new tb(this.apiClient),this.portfolios=new tG(this.apiClient),this.screener=new tA(this.apiClient),this.sectorAnalysis=new tq(this.apiClient),this.segmentations=new tx(this.apiClient),this.signalWise=new tw(this.apiClient),this.technicalAnalysis=new tj(this.apiClient),this.tenantIdentifiers=new tF(this.apiClient),this.tenants=new tM(this.apiClient),this.themes=new tY(this.apiClient),this.users=new sY(this.apiClient)}}export{sL as BridgeWiseApi,ex as Activities,ew as AlternativeAssets,ej as Bonds,eF as Bridget,eM as Bwc,eY as Companies,eN as CompanyAnalysis,eH as CompanyMarketData,eU as CompanyMetadata,eK as CompanyNews,eZ as ConsensusAnalysts,e0 as EarningCalls,e1 as EsgAnalysis,e7 as FundamentalAnalysis,e8 as FundAnalysis,e6 as FundEsgAnalysis,te as FundMarketData,ts as FundMetadata,ta as Funds,ti as Health,tc as Holdings,tl as IndexMarketData,td as IndexTechnicalAnalysis,th as Indices,t_ as Insights,tT as Logos,t$ as Metadata,tE as PdfReportGeneration,tb as PnLHistory,tG as Portfolios,tA as Screener,tq as SectorAnalysis,tx as Segmentations,tw as SignalWise,tj as TechnicalAnalysis,tF as TenantIdentifiers,tM as Tenants,tY as Themes,tN as BridgeWiseThemeTypeEnum,tO as BridgeWiseThemePackageEnum,tH as BridgeWiseThemeLanguageEnum,tJ as BridgeWiseThemeGroupEnum,tU as BridgeWiseThemeAssetClassEnum,tz as BridgeWiseTenantIdentifierStatusEnum,tK as BridgeWiseEventTypeEnum,tQ as BridgeWiseScoreMethodology,tZ as BridgeWiseGlobalIndustryScoringEnum,tX as BridgeWiseAnalysisTypeEnum,t0 as BridgeWiseIndicesSortByEnum,t5 as BridgeWiseFundsSortByEnum,t1 as BridgeWiseFilterType,t4 as BridgeWiseCompaniesSortByEnum,t7 as BridgeWiseBondsSortByEnum,t9 as BridgeWiseAlternativesSortByEnum,t8 as BridgeWiseTimeframe,t2 as BridgeWiseDailyPnlFlag,t6 as BridgeWiseAssetType,t3 as BridgeWisePDFReportType,se as BridgeWisePeriodTypeEnum,st as BridgeWiseFundamentalSectionTypeEnum,ss as BridgeWiseESGSectionTypeParamEnumV2,sr as BridgeWiseESGScoreGroup,sa as BridgeWiseTechnicalAnalysisTypeEnum,sn as BridgeWiseScoringMethodEnum,si as BridgeWiseParagraphTextEnum,so as BridgeWiseFundamentalParagraphSectionTypeEnum,sc as BridgeWiseEarningsCallRecapEnum,su as BridgeWiseESGSectionTypeEnum,sl as BridgeWiseCompanyNewsSortingEnum,sp as BridgeWiseLogoTypeEnum,sd as BridgeWiseLogoSizeEnum,sm as BridgeWiseImageExtensionEnum,sh as BridgeWiseCompanyFilterType,sg as BridgeWiseCompanyAlertType,s_ as BridgeWiseCompanyAlertSentiment,sy as BridgeWiseStringBooleanEnum,sT as BridgeWiseTypeEnum,sC as BridgeWiseInstrumentTypeEnum,s$ as BridgeWiseInstrumentIdentifierTypeEnum,sf as BridgeWiseFormatEnum,sE as BridgeWiseUniverseEnum,sS as BridgeWiseParametersSectionTypeEnum,sb as BridgeWiseBondsSectionTypeEnum,sv as BridgeWiseLanguageEnum,sG as BridgeWiseEventSentimentEnum,sB as BridgeWiseAssetTypeEnum,sA as BridgeWiseAlertTypeEnum,sV as BridgeWiseIdCheckConfigNameEnum,sq as BridgeWiseIdCheckConfigOperatorEnum,sk as BridgeWiseMarketDataConfigNameEnum,sx as BridgeWiseMarketDataConfigOperatorEnum,sP as BridgeWiseStockingFloatConfigOperatorEnum,sw as BridgeWiseGetFundsHoldingCompaniesParamsSortByEnum,sR as BridgeWiseGetFundsHoldingCompaniesParamsSortOrderEnum,sj as BridgeWiseTenantsQuestionsBulkListParamsFormatEnum,sD as BridgeWiseGetBusinessDescriptionParamsDateFormatEnum,sF as BridgeWiseGetFundamentalAnalysisParamsDateFormatEnum,sW as BridgeWiseGetIndustryDescriptionParamsDateFormatEnum,sM as BridgeWiseGetTechnicalAnalysisParamsDateFormatEnum,sY as Users};
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";import{camelCase as d,snakeCase as m}from"change-case/keys";function h(e,t,s,r){Object.defineProperty(e,t,{get:s,set:r,enumerable:!0,configurable:!0})}function g(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}h({},"BridgeWiseApi",()=>sO);class _{constructor(t){this.apiClient=t,e(this)}getApiClient(){return this.apiClient}}var y,T,C,$,f,E,S,b,v,G,B,A,V,k,q,x,P,w,R,j,D,F,W,M,I,Y,L,N,O,H,J,U,z,K,Q,Z,X,ee,et,es,er,ea,en,ei,eo,ec,eu,el,ep,ed,em,eh,eg,e_,ey,eT,eC,e$,ef,eE,eS,eb,ev,eG=((y={}).Camel="camel",y.Snake="snake",y.Original="original",y),eB=((T={}).Json="application/json",T.FormData="multipart/form-data",T.UrlEncoded="application/x-www-form-urlencoded",T.Text="text/plain",T);class eA{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},transformResponse:[...Array.isArray(o.defaults.transformResponse)?o.defaults.transformResponse:o.defaults.transformResponse?[o.defaults.transformResponse]:[]]}),u(this.axiosInstance)}transformData(e){return this.config.caseFormat===eG.Camel?d(e,1/0):this.config.caseFormat===eG.Snake?m(e,1/0):e}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:this.transformData(e),rawData: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.rawData=s.response?.data,t.data=this.transformData(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 eV extends eA{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 ek={},eq={};h(eq,"Activities",()=>ex);class ex{constructor(t){this.apiClient=t,e(this)}getCompanyAlerts(e,t,s){return this.apiClient.request({secure:!0,responseType:"json",...s,url:`/companies/${e}/alerts`,method:"GET",params:t})}getCompanyForecastsKeyDevelopment(e,t,s){return this.apiClient.request({secure:!0,responseType:"json",...s,url:`/companies/${e}/key-developments`,method:"GET",params:t})}}var eP={};h(eP,"AlternativeAssets",()=>ew);class ew{constructor(t){this.apiClient=t,e(this)}getAlternative(e,t,s){return this.apiClient.request({secure:!0,responseType:"json",...s,url:`/alternative-assets/${e}`,method:"GET",params:t})}getAlternativesMarketData(e,t,s){return this.apiClient.request({secure:!0,responseType:"json",...s,url:`/alternative-assets/${e}/market`,method:"GET",params:t})}getAlternativesMarketStatistics(e,t,s){return this.apiClient.request({secure:!0,responseType:"json",...s,url:`/alternative-assets/${e}/market-statistics`,method:"GET",params:t})}getAlternativeNews(e,t,s){return this.apiClient.request({secure:!0,responseType:"json",...s,url:`/alternative-assets/${e}/news`,method:"GET",params:t})}getAverageAlternativeNewsSentiment(e,t,s){return this.apiClient.request({secure:!0,responseType:"json",...s,url:`/alternative-assets/${e}/news-sentiment`,method:"GET",params:t})}getAlternativesParagraphs(e,t,s){return this.apiClient.request({secure:!0,responseType:"json",...s,url:`/alternative-assets/${e}/paragraphs`,method:"GET",params:t})}getAltTechnicalAnalysis(e,t,s){return this.apiClient.request({secure:!0,responseType:"json",...s,url:`/alternative-assets/${e}/technical-analysis`,method:"GET",params:t})}getAltTechnicalParameters(e,t,s){return this.apiClient.request({secure:!0,responseType:"json",...s,url:`/alternative-assets/${e}/technical-parameters`,method:"GET",params:t})}getAltTechnicalSections(e,t,s){return this.apiClient.request({secure:!0,responseType:"json",...s,url:`/alternative-assets/${e}/technical-sections`,method:"GET",params:t})}getAlternativeAsset(e,t,s){return this.apiClient.request({secure:!0,responseType:"json",...s,url:`/instruments/alternative-assets/${e}`,method:"GET",params:t})}}var eR={};h(eR,"Bonds",()=>ej);class ej{constructor(t){this.apiClient=t,e(this)}getBondAnalysis(e,t,s){return this.apiClient.request({secure:!0,responseType:"json",...s,url:`/bonds/${e}/analysis`,method:"GET",params:t})}getBondInvestmentScore(e,t,s){return this.apiClient.request({secure:!0,responseType:"json",...s,url:`/bonds/${e}/investment-score`,method:"GET",params:t})}getBondMarketData(e,t,s){return this.apiClient.request({secure:!0,responseType:"json",...s,url:`/bonds/${e}/market`,method:"GET",params:t})}getBondMarketStatistics(e,t,s){return this.apiClient.request({secure:!0,responseType:"json",...s,url:`/bonds/${e}/market-statistics`,method:"GET",params:t})}getBondParagraphs(e,t,s){return this.apiClient.request({secure:!0,responseType:"json",...s,url:`/bonds/${e}/paragraphs`,method:"GET",params:t})}getBondParameters(e,t,s){return this.apiClient.request({secure:!0,responseType:"json",...s,url:`/bonds/${e}/parameters`,method:"GET",params:t})}getBondRedemptionSchedule(e,t){return this.apiClient.request({secure:!0,responseType:"json",...t,url:`/bonds/${e}/redemption-schedule`,method:"GET"})}getBondSections(e,t,s){return this.apiClient.request({secure:!0,responseType:"json",...s,url:`/bonds/${e}/sections`,method:"GET",params:t})}getBond(e,t,s){return this.apiClient.request({secure:!0,responseType:"json",...s,url:`/instruments/bonds/${e}`,method:"GET",params:t})}}var eD={};h(eD,"Bridget",()=>eF);class eF{constructor(t){this.apiClient=t,e(this)}questionsCreate(e,t,s){return this.apiClient.request({secure:!0,headers:t,contentType:eB.Json,responseType:"json",...s,url:"/questions",method:"POST",data:e})}tenantsQuestionsRetrieve(e,t,s){return this.apiClient.request({secure:!0,responseType:"json",...s,url:`/tenants/${e}/questions`,method:"GET",params:t})}tenantsQuestionsBulkList(e,t,s){return this.apiClient.request({secure:!0,responseType:"json",...s,url:`/tenants/${e}/questions/bulk`,method:"GET",params:t})}}var eW={};h(eW,"Bwc",()=>eM);class eM{constructor(t){this.apiClient=t,e(this)}bulkdata(e,t){return this.apiClient.request({secure:!0,responseType:"json",...t,url:`/bulkdata/${e}`,method:"GET"})}investmentPolicy(e,t){return this.apiClient.request({secure:!0,responseType:"json",...t,url:`/investment-policy/${e}`,method:"GET"})}getAnalysis(e,t,s){return this.apiClient.request({secure:!0,headers:t,responseType:"json",...s,url:"/v2/analysis",method:"GET",params:e})}getBusinessDescription(e,t,s){return this.apiClient.request({secure:!0,headers:t,responseType:"json",...s,url:"/v2/business-description",method:"GET",params:e})}getFundamentalAnalysis(e,t,s){return this.apiClient.request({secure:!0,headers:t,responseType:"json",...s,url:"/v2/fundamental-analysis",method:"GET",params:e})}getIndustryDescription(e,t,s){return this.apiClient.request({secure:!0,headers:t,responseType:"json",...s,url:"/v2/industry-description",method:"GET",params:e})}getTechnicalAnalysis(e,t,s){return this.apiClient.request({secure:!0,headers:t,responseType:"json",...s,url:"/v2/technical-analysis",method:"GET",params:e})}verifyCompanyExists(e,t){return this.apiClient.request({secure:!0,responseType:"json",...t,url:"/v2/verify-company-exists",method:"GET",params:e})}}var eI={};h(eI,"Companies",()=>eY);class eY{constructor(t){this.apiClient=t,e(this)}searchCompaniesV1(e,t){return this.apiClient.request({secure:!0,responseType:"json",...t,url:"/companies",method:"GET",params:e})}getIdentifierSearch(e,t){return this.apiClient.request({secure:!0,responseType:"json",...t,url:"/identifier-search",method:"GET",params:e})}getFundsHoldingCompanies(e,t){return this.apiClient.request({secure:!0,responseType:"json",...t,url:"/instruments/stocks/funds-holdings",method:"GET",params:e})}getStock(e,t,s){return this.apiClient.request({secure:!0,responseType:"json",...s,url:`/instruments/stocks/${e}`,method:"GET",params:t})}}var eL={};h(eL,"CompanyAnalysis",()=>eN);class eN{constructor(t){this.apiClient=t,e(this)}getSocialSentiments(e,t){return this.apiClient.request({secure:!0,responseType:"json",...t,url:"/social-sentiment",method:"GET",params:e})}}var eO={};h(eO,"CompanyMarketData",()=>eH);class eH{constructor(t){this.apiClient=t,e(this)}getCompanyMarketData(e,t,s){return this.apiClient.request({secure:!0,responseType:"json",...s,url:`/companies/${e}/market`,method:"GET",params:t})}getCompanyMarketStatistics(e,t,s){return this.apiClient.request({secure:!0,responseType:"json",...s,url:`/companies/${e}/market-statistics`,method:"GET",params:t})}getTradingItems(e,t,s){return this.apiClient.request({secure:!0,responseType:"json",...s,url:`/companies/${e}/trading-items`,method:"GET",params:t})}}var eJ={};h(eJ,"CompanyMetadata",()=>eU);class eU{constructor(t){this.apiClient=t,e(this)}getCompany(e,t,s){return this.apiClient.request({secure:!0,responseType:"json",...s,url:`/companies/${e}`,method:"GET",params:t})}}var ez={};h(ez,"CompanyNews",()=>eK);class eK{constructor(t){this.apiClient=t,e(this)}getCompanyNews(e,t,s){return this.apiClient.request({secure:!0,responseType:"json",...s,url:`/companies/${e}/news`,method:"GET",params:t})}getNewsParagraphForACompany(e,t,s){return this.apiClient.request({secure:!0,responseType:"json",...s,url:`/companies/${e}/news-paragraph`,method:"GET",params:t})}getAverageCompanyNewsSentiment(e,t,s){return this.apiClient.request({secure:!0,responseType:"json",...s,url:`/companies/${e}/news-sentiment`,method:"GET",params:t})}}var eQ={};h(eQ,"ConsensusAnalysts",()=>eZ);class eZ{constructor(t){this.apiClient=t,e(this)}getConsensusComparisons(e,t,s){return this.apiClient.request({secure:!0,responseType:"json",...s,url:`/companies/${e}/consensus-analysts-comparisons`,method:"GET",params:t})}getConsensusRatings(e,t,s){return this.apiClient.request({secure:!0,responseType:"json",...s,url:`/companies/${e}/consensus-ratings`,method:"GET",params:t})}}var eX={};h(eX,"EarningCalls",()=>e0);class e0{constructor(t){this.apiClient=t,e(this)}getCompanyEarningsCalls(e,t,s){return this.apiClient.request({secure:!0,responseType:"json",...s,url:`/companies/${e}/earnings-call`,method:"GET",params:t})}getEarningsCallsRecaps(e,t,s,r){return this.apiClient.request({secure:!0,responseType:"json",...r,url:`/companies/${t}/earnings-call/${e}/recaps`,method:"GET",params:s})}}var e5={};h(e5,"EsgAnalysis",()=>e1);class e1{constructor(t){this.apiClient=t,e(this)}getCompanyEsgAnalysis(e,t,s){return this.apiClient.request({secure:!0,responseType:"json",...s,url:`/companies/${e}/esg-analysis`,method:"GET",params:t})}getCompanyEsgParagraphs(e,t,s){return this.apiClient.request({secure:!0,responseType:"json",...s,url:`/companies/${e}/esg-paragraphs`,method:"GET",params:t})}getCompanyEsgParameters(e,t,s){return this.apiClient.request({secure:!0,responseType:"json",...s,url:`/companies/${e}/esg-parameters`,method:"GET",params:t})}getCompanyEsgSections(e,t,s){return this.apiClient.request({secure:!0,responseType:"json",...s,url:`/companies/${e}/esg-sections`,method:"GET",params:t})}getCompanyForecastsMsa(e,t,s){return this.apiClient.request({secure:!0,responseType:"json",...s,url:`/companies/${e}/sustainability-incidents`,method:"GET",params:t})}}var e4={};h(e4,"FundamentalAnalysis",()=>e7);class e7{constructor(t){this.apiClient=t,e(this)}getCompanyFundamentalAnalysis(e,t,s){return this.apiClient.request({secure:!0,responseType:"json",...s,url:`/companies/${e}/fundamental-analysis`,method:"GET",params:t})}getCompanyFundamentalParagraphs(e,t,s){return this.apiClient.request({secure:!0,responseType:"json",...s,url:`/companies/${e}/fundamental-paragraphs`,method:"GET",params:t})}getCompanyFundamentalParameters(e,t,s){return this.apiClient.request({secure:!0,responseType:"json",...s,url:`/companies/${e}/fundamental-parameters`,method:"GET",params:t})}getCompanyFundamentalSections(e,t,s){return this.apiClient.request({secure:!0,responseType:"json",...s,url:`/companies/${e}/fundamental-sections`,method:"GET",params:t})}getTargetPrice(e,t,s){return this.apiClient.request({secure:!0,responseType:"json",...s,url:`/companies/${e}/target-price`,method:"GET",params:t})}getCompanyPriceTargetParagraphs(e,t,s){return this.apiClient.request({secure:!0,responseType:"json",...s,url:`/companies/${e}/target-price-paragraphs`,method:"GET",params:t})}}var e9={};h(e9,"FundAnalysis",()=>e8);class e8{constructor(t){this.apiClient=t,e(this)}getFundAnalysis(e,t,s){return this.apiClient.request({secure:!0,responseType:"json",...s,url:`/funds/${e}/analysis`,method:"GET",params:t})}getFundsParagraphs(e,t,s){return this.apiClient.request({secure:!0,responseType:"json",...s,url:`/funds/${e}/paragraphs`,method:"GET",params:t})}getFundParameters(e,t,s){return this.apiClient.request({secure:!0,responseType:"json",...s,url:`/funds/${e}/parameters`,method:"GET",params:t})}getFundSections(e,t,s){return this.apiClient.request({secure:!0,responseType:"json",...s,url:`/funds/${e}/sections`,method:"GET",params:t})}getFundTechnicalAnalysis(e,t,s){return this.apiClient.request({secure:!0,responseType:"json",...s,url:`/funds/${e}/technical-analysis`,method:"GET",params:t})}getFundTechnicalParagraphs(e,t,s){return this.apiClient.request({secure:!0,responseType:"json",...s,url:`/funds/${e}/technical-paragraphs`,method:"GET",params:t})}getFundTechnicalParameters(e,t,s){return this.apiClient.request({secure:!0,responseType:"json",...s,url:`/funds/${e}/technical-parameters`,method:"GET",params:t})}getFundTechnicalSections(e,t,s){return this.apiClient.request({secure:!0,responseType:"json",...s,url:`/funds/${e}/technical-sections`,method:"GET",params:t})}}var e2={};h(e2,"FundEsgAnalysis",()=>e6);class e6{constructor(t){this.apiClient=t,e(this)}getFundEsgAnalysis(e,t,s){return this.apiClient.request({secure:!0,responseType:"json",...s,url:`/funds/${e}/esg-analysis`,method:"GET",params:t})}}var e3={};h(e3,"FundMarketData",()=>te);class te{constructor(t){this.apiClient=t,e(this)}getFundsMarketData(e,t,s){return this.apiClient.request({secure:!0,responseType:"json",...s,url:`/funds/${e}/market`,method:"GET",params:t})}getFundsMarketStatistics(e,t,s){return this.apiClient.request({secure:!0,responseType:"json",...s,url:`/funds/${e}/market-statistics`,method:"GET",params:t})}getFundTradingItems(e,t,s){return this.apiClient.request({secure:!0,responseType:"json",...s,url:`/funds/${e}/trading-items`,method:"GET",params:t})}}var tt={};h(tt,"FundMetadata",()=>ts);class ts{constructor(t){this.apiClient=t,e(this)}getFund(e,t,s){return this.apiClient.request({secure:!0,responseType:"json",...s,url:`/funds/${e}`,method:"GET",params:t})}}var tr={};h(tr,"Funds",()=>ta);class ta{constructor(t){this.apiClient=t,e(this)}searchFundsV1(e,t){return this.apiClient.request({secure:!0,responseType:"json",...t,url:"/funds",method:"GET",params:e})}getFund(e,t,s){return this.apiClient.request({secure:!0,responseType:"json",...s,url:`/instruments/funds/${e}`,method:"GET",params:t})}}var tn={};h(tn,"Health",()=>ti);class ti{constructor(t){this.apiClient=t,e(this)}health(e){return this.apiClient.request({secure:!0,responseType:"json",...e,url:"/health",method:"GET"})}}var to={};h(to,"Holdings",()=>tc);class tc{constructor(t){this.apiClient=t,e(this)}getCompositions(e,t,s){return this.apiClient.request({secure:!0,responseType:"json",...s,url:`/funds/${e}/compositions`,method:"GET",params:t})}getHoldingStatistics(e,t,s){return this.apiClient.request({secure:!0,responseType:"json",...s,url:`/funds/${e}/holding-statistics`,method:"GET",params:t})}getHoldings(e,t,s){return this.apiClient.request({secure:!0,responseType:"json",...s,url:`/funds/${e}/holdings`,method:"GET",params:t})}}var tu={};h(tu,"IndexMarketData",()=>tl);class tl{constructor(t){this.apiClient=t,e(this)}getIndexMarketData(e,t,s){return this.apiClient.request({secure:!0,responseType:"json",...s,url:`/indices/${e}/market`,method:"GET",params:t})}getIndexMarketStatistics(e,t){return this.apiClient.request({secure:!0,responseType:"json",...t,url:`/indices/${e}/market-statistics`,method:"GET"})}}var tp={};h(tp,"IndexTechnicalAnalysis",()=>td);class td{constructor(t){this.apiClient=t,e(this)}getIndexTechnicalAnalysis(e,t,s){return this.apiClient.request({secure:!0,responseType:"json",...s,url:`/indices/${e}/technical-analysis`,method:"GET",params:t})}}var tm={};h(tm,"Indices",()=>th);class th{constructor(t){this.apiClient=t,e(this)}getIndex(e,t,s){return this.apiClient.request({secure:!0,responseType:"json",...s,url:`/instruments/indices/${e}`,method:"GET",params:t})}}var tg={};h(tg,"Insights",()=>t_);class t_{constructor(t){this.apiClient=t,e(this)}getPortfolioInsights(e,t,s){return this.apiClient.request({secure:!0,responseType:"json",...s,url:`/portfolio-management/portfolios/${e}/insights`,method:"GET",params:t})}markInsightRead(e,t,s,r,a){return this.apiClient.request({secure:!0,responseType:"json",...a,url:`/portfolio-management/portfolios/${e}/insights/${t}_${s}/read`,method:"POST",params:r})}}var ty={};h(ty,"Logos",()=>tT);class tT{constructor(t){this.apiClient=t,e(this)}fetchLogos(e,t){return this.apiClient.request({secure:!0,responseType:"json",...t,url:"/companies/logos",method:"GET",params:e})}fetchLogo(e,t){return this.apiClient.request({secure:!0,responseType:"json",...t,url:`/companies/${e}/logos`,method:"GET"})}}var tC={};h(tC,"Metadata",()=>t$);class t${constructor(t){this.apiClient=t,e(this)}getCompanyFilters(e,t){return this.apiClient.request({secure:!0,responseType:"json",...t,url:"/filters",method:"GET",params:e})}}var tf={};h(tf,"PdfReportGeneration",()=>tE);class tE{constructor(t){this.apiClient=t,e(this)}downloadPdfReport(e,t){return this.apiClient.request({secure:!0,responseType:"json",...t,url:"/download-pdf-report",method:"GET",params:e})}sendPdfReportToMail(e,t){return this.apiClient.request({secure:!0,responseType:"json",...t,url:"/send-pdf-report-to-mail",method:"GET",params:e})}}var tS={};h(tS,"PnLHistory",()=>tb);class tb{constructor(t){this.apiClient=t,e(this)}getPnlHistory(e,t){return this.apiClient.request({secure:!0,responseType:"json",...t,url:"/portfolio-management/pnl-history",method:"GET",params:e})}}var tv={};h(tv,"Portfolios",()=>tG);class tG{constructor(t){this.apiClient=t,e(this)}getPortfolios(e,t){return this.apiClient.request({secure:!0,responseType:"json",...t,url:"/portfolio-management/portfolios",method:"GET",params:e})}getPortfolio(e,t,s){return this.apiClient.request({secure:!0,responseType:"json",...s,url:`/portfolio-management/portfolios/${e}`,method:"GET",params:t})}getUserPortfolioScore(e,t,s){return this.apiClient.request({secure:!0,responseType:"json",...s,url:`/portfolio-management/portfolios/${e}/score`,method:"GET",params:t})}}var tB={};h(tB,"Screener",()=>tA);class tA{constructor(t){this.apiClient=t,e(this)}searchAlternativeAssets(e,t){return this.apiClient.request({secure:!0,responseType:"json",...t,url:"/instruments/alternative-assets",method:"GET",params:e})}searchBonds(e,t){return this.apiClient.request({secure:!0,responseType:"json",...t,url:"/instruments/bonds",method:"GET",params:e})}getFilters(e,t){return this.apiClient.request({secure:!0,responseType:"json",...t,url:"/instruments/filters",method:"GET",params:e})}searchFunds(e,t){return this.apiClient.request({secure:!0,responseType:"json",...t,url:"/instruments/funds",method:"GET",params:e})}searchIndices(e,t){return this.apiClient.request({secure:!0,responseType:"json",...t,url:"/instruments/indices",method:"GET",params:e})}searchStocks(e,t){return this.apiClient.request({secure:!0,responseType:"json",...t,url:"/instruments/stocks",method:"GET",params:e})}}var tV={};h(tV,"SectorAnalysis",()=>tk);class tk{constructor(t){this.apiClient=t,e(this)}getSectorAnalysis(e,t,s){return this.apiClient.request({secure:!0,responseType:"json",...s,url:`/sectors/${e}/analysis`,method:"GET",params:t})}}var tq={};h(tq,"Segmentations",()=>tx);class tx{constructor(t){this.apiClient=t,e(this)}getSegmentParameters(e,t,s){return this.apiClient.request({secure:!0,responseType:"json",...s,url:`/funds/${e}/segment-parameters`,method:"GET",params:t})}getSegment(e,t,s){return this.apiClient.request({secure:!0,responseType:"json",...s,url:`/funds/${e}/segments`,method:"GET",params:t})}}var tP={};h(tP,"SignalWise",()=>tw);class tw{constructor(t){this.apiClient=t,e(this)}getAlerts(e,t){return this.apiClient.request({secure:!0,responseType:"json",...t,url:"/alerts",method:"GET",params:e})}getSocialAlerts(e,t){return this.apiClient.request({secure:!0,responseType:"json",...t,url:"/alerts/social",method:"GET",params:e})}getAlertReasons(e,t,s){return this.apiClient.request({secure:!0,responseType:"json",...s,url:`/alerts/${e}/reasons`,method:"GET",params:t})}}var tR={};h(tR,"TechnicalAnalysis",()=>tj);class tj{constructor(t){this.apiClient=t,e(this)}getCompanyTechnicalAnalysis(e,t,s){return this.apiClient.request({secure:!0,responseType:"json",...s,url:`/companies/${e}/technical-analysis`,method:"GET",params:t})}getCompanyTechnicalParagraphs(e,t,s){return this.apiClient.request({secure:!0,responseType:"json",...s,url:`/companies/${e}/technical-paragraphs`,method:"GET",params:t})}getCompanyTechnicalParameters(e,t,s){return this.apiClient.request({secure:!0,responseType:"json",...s,url:`/companies/${e}/technical-parameters`,method:"GET",params:t})}getCompanyTechnicalSections(e,t,s){return this.apiClient.request({secure:!0,responseType:"json",...s,url:`/companies/${e}/technical-sections`,method:"GET",params:t})}getIndexTechnicalParagraphs(e,t,s){return this.apiClient.request({secure:!0,responseType:"json",...s,url:`/indices/${e}/technical-paragraphs`,method:"GET",params:t})}getIndexTechnicalParameters(e,t,s){return this.apiClient.request({secure:!0,responseType:"json",...s,url:`/indices/${e}/technical-parameters`,method:"GET",params:t})}}var tD={};h(tD,"TenantIdentifiers",()=>tF);class tF{constructor(t){this.apiClient=t,e(this)}getTenantIdentifiers(e,t,s){return this.apiClient.request({secure:!0,responseType:"json",...s,url:`/tenants/${e}/identifiers`,method:"GET",params:t})}createTenantIdentifier(e,t,s){return this.apiClient.request({secure:!0,contentType:eB.Json,responseType:"json",...s,url:`/tenants/${e}/identifiers`,method:"POST",data:t})}updateTenantIdentifier(e,t,s,r){return this.apiClient.request({secure:!0,contentType:eB.Json,responseType:"json",...r,url:`/tenants/${e}/identifiers/${t}`,method:"PATCH",data:s})}deleteTenantIdentifier(e,t,s){return this.apiClient.request({secure:!0,responseType:"json",...s,url:`/tenants/${e}/identifiers/${t}`,method:"DELETE"})}}var tW={};h(tW,"Tenants",()=>tM);class tM{constructor(t){this.apiClient=t,e(this)}fetchTenant(e,t){return this.apiClient.request({secure:!0,responseType:"json",...t,url:`/tenants/${e}`,method:"GET"})}getHistoricalPolicyChanges(e,t,s){return this.apiClient.request({secure:!0,responseType:"json",...s,url:`/tenants/${e}/historical-policy-changes`,method:"GET",params:t})}createTenantInvestmentPoliciesConfig(e,t,s){return this.apiClient.request({secure:!0,contentType:eB.Json,responseType:"json",...s,url:`/tenants/${e}/investment-policies-config`,method:"POST",data:t})}listTenantInvestmentPoliciesConfigs(e,t){return this.apiClient.request({secure:!0,responseType:"json",...t,url:`/tenants/${e}/investment-policies-config`,method:"GET"})}createTenantInvestmentPoliciesConfigBulk(e,t,s){return this.apiClient.request({secure:!0,contentType:eB.Json,responseType:"json",...s,url:`/tenants/${e}/investment-policies-config/bulk`,method:"POST",data:t})}getTenantInvestmentPoliciesConfig(e,t,s){return this.apiClient.request({secure:!0,responseType:"json",...s,url:`/tenants/${t}/investment-policies-config/${e}`,method:"GET"})}patchTenantInvestmentPoliciesConfig(e,t,s,r){return this.apiClient.request({secure:!0,contentType:eB.Json,responseType:"json",...r,url:`/tenants/${t}/investment-policies-config/${e}`,method:"PATCH",data:s})}deleteTenantInvestmentPoliciesConfig(e,t,s){return this.apiClient.request({secure:!0,responseType:"json",...s,url:`/tenants/${t}/investment-policies-config/${e}`,method:"DELETE"})}createCognitoClientApplication(e,t,s){return this.apiClient.request({secure:!0,contentType:eB.Json,responseType:"json",...s,url:`/tenants/${e}/machine`,method:"POST",data:t})}getTenantAppClients(e,t){return this.apiClient.request({secure:!0,responseType:"json",...t,url:`/tenants/${e}/machine`,method:"GET"})}getTenantAppClient(e,t,s){return this.apiClient.request({secure:!0,responseType:"json",...s,url:`/tenants/${e}/machine/${t}`,method:"GET"})}deleteTenantAppClient(e,t,s){return this.apiClient.request({secure:!0,responseType:"json",...s,url:`/tenants/${e}/machine/${t}`,method:"DELETE"})}editTenantAppClient(e,t,s,r){return this.apiClient.request({secure:!0,contentType:eB.Json,responseType:"json",...r,url:`/tenants/${e}/machine/${t}`,method:"PATCH",data:s})}getRecommendations(e,t,s){return this.apiClient.request({secure:!0,responseType:"json",...s,url:`/tenants/${e}/recommendations`,method:"GET",params:t})}createTenantRecommendationsConfig(e,t,s){return this.apiClient.request({secure:!0,contentType:eB.Json,responseType:"json",...s,url:`/tenants/${e}/recommendations-config`,method:"POST",data:t})}createTenantRecommendationsConfigBulk(e,t,s){return this.apiClient.request({secure:!0,contentType:eB.Json,responseType:"json",...s,url:`/tenants/${e}/recommendations-config/bulk`,method:"POST",data:t})}getTenantRecommendationsConfig(e,t,s,r){return this.apiClient.request({secure:!0,responseType:"json",...r,url:`/tenants/${e}/recommendations-config/${t}`,method:"GET",params:s})}patchTenantRecommendationsConfig(e,t,s,r){return this.apiClient.request({secure:!0,contentType:eB.Json,responseType:"json",...r,url:`/tenants/${e}/recommendations-config/${t}`,method:"PATCH",data:s})}deleteTenantRecommendationsConfig(e,t,s){return this.apiClient.request({secure:!0,responseType:"json",...s,url:`/tenants/${e}/recommendations-config/${t}`,method:"DELETE"})}}var tI={};h(tI,"Themes",()=>tY);class tY{constructor(t){this.apiClient=t,e(this)}getThemes(e,t){return this.apiClient.request({secure:!0,responseType:"json",...t,url:"/themes",method:"GET",params:e})}getTheme(e,t,s){return this.apiClient.request({secure:!0,responseType:"json",...s,url:`/themes/${e}`,method:"GET",params:t})}getThemeFilters(e,t){return this.apiClient.request({secure:!0,responseType:"json",...t,url:`/themes/${e}/filters`,method:"GET"})}}var tL={};h(tL,"BridgeWiseThemeTypeEnum",()=>tN),h(tL,"BridgeWiseThemePackageEnum",()=>tO),h(tL,"BridgeWiseThemeLanguageEnum",()=>tH),h(tL,"BridgeWiseThemeGroupEnum",()=>tJ),h(tL,"BridgeWiseThemeAssetClassEnum",()=>tU),h(tL,"BridgeWiseTenantIdentifierStatusEnum",()=>tz),h(tL,"BridgeWiseEventTypeEnum",()=>tK),h(tL,"BridgeWiseScoreMethodology",()=>tQ),h(tL,"BridgeWiseGlobalIndustryScoringEnum",()=>tZ),h(tL,"BridgeWiseAnalysisTypeEnum",()=>tX),h(tL,"BridgeWiseIndicesSortByEnum",()=>t0),h(tL,"BridgeWiseFundsSortByEnum",()=>t5),h(tL,"BridgeWiseFilterType",()=>t1),h(tL,"BridgeWiseCompaniesSortByEnum",()=>t4),h(tL,"BridgeWiseBondsSortByEnum",()=>t7),h(tL,"BridgeWiseAlternativesSortByEnum",()=>t9),h(tL,"BridgeWiseTimeframe",()=>t8),h(tL,"BridgeWiseDailyPnlFlag",()=>t2),h(tL,"BridgeWiseAssetType",()=>t6),h(tL,"BridgeWisePDFReportType",()=>t3),h(tL,"BridgeWisePeriodTypeEnum",()=>se),h(tL,"BridgeWiseFundamentalSectionTypeEnum",()=>st),h(tL,"BridgeWiseESGSectionTypeParamEnumV2",()=>ss),h(tL,"BridgeWiseESGScoreGroup",()=>sr),h(tL,"BridgeWiseTechnicalAnalysisTypeEnum",()=>sa),h(tL,"BridgeWiseScoringMethodEnum",()=>sn),h(tL,"BridgeWiseParagraphTextEnum",()=>si),h(tL,"BridgeWiseFundamentalParagraphSectionTypeEnum",()=>so),h(tL,"BridgeWiseEarningsCallRecapEnum",()=>sc),h(tL,"BridgeWiseESGSectionTypeEnum",()=>su),h(tL,"BridgeWiseCompanyNewsSortingEnum",()=>sl),h(tL,"BridgeWiseLogoTypeEnum",()=>sp),h(tL,"BridgeWiseLogoSizeEnum",()=>sd),h(tL,"BridgeWiseImageExtensionEnum",()=>sm),h(tL,"BridgeWiseCompanyFilterType",()=>sh),h(tL,"BridgeWiseCompanyAlertType",()=>sg),h(tL,"BridgeWiseCompanyAlertSentiment",()=>s_),h(tL,"BridgeWiseStringBooleanEnum",()=>sy),h(tL,"BridgeWiseTypeEnum",()=>sT),h(tL,"BridgeWiseInstrumentTypeEnum",()=>sC),h(tL,"BridgeWiseInstrumentIdentifierTypeEnum",()=>s$),h(tL,"BridgeWiseFormatEnum",()=>sf),h(tL,"BridgeWiseUniverseEnum",()=>sE),h(tL,"BridgeWiseParametersSectionTypeEnum",()=>sS),h(tL,"BridgeWiseBondsSectionTypeEnum",()=>sb),h(tL,"BridgeWiseLanguageEnum",()=>sv),h(tL,"BridgeWiseEventSentimentEnum",()=>sG),h(tL,"BridgeWiseAssetTypeEnum",()=>sB),h(tL,"BridgeWiseAlertTypeEnum",()=>sA),h(tL,"BridgeWiseIdCheckConfigNameEnum",()=>sV),h(tL,"BridgeWiseIdCheckConfigOperatorEnum",()=>sk),h(tL,"BridgeWiseMarketDataConfigNameEnum",()=>sq),h(tL,"BridgeWiseMarketDataConfigOperatorEnum",()=>sx),h(tL,"BridgeWiseStockingFloatConfigOperatorEnum",()=>sP),h(tL,"BridgeWiseGetFundsHoldingCompaniesParamsSortByEnum",()=>sw),h(tL,"BridgeWiseGetFundsHoldingCompaniesParamsSortOrderEnum",()=>sR),h(tL,"BridgeWiseTenantsQuestionsBulkListParamsFormatEnum",()=>sj),h(tL,"BridgeWiseGetBusinessDescriptionParamsDateFormatEnum",()=>sD),h(tL,"BridgeWiseGetFundamentalAnalysisParamsDateFormatEnum",()=>sF),h(tL,"BridgeWiseGetIndustryDescriptionParamsDateFormatEnum",()=>sW),h(tL,"BridgeWiseGetTechnicalAnalysisParamsDateFormatEnum",()=>sM);var tN=((C={}).Geographic="geographic",C.Strategy="strategy",C.Technology="technology",C.Income="income",C.Index="index",C.Sector="sector",C.Esg="esg",C.Factor="factor",C.Thematic="thematic",C.Risk="risk",C),tO=(($={}).Basic="basic",$.Advanced="advanced",$),tH=((f={}).ArSA="ar-SA",f.DeDE="de-DE",f.EnUS="en-US",f.EsES="es-ES",f.FrFR="fr-FR",f.HeIL="he-IL",f.NlNL="nl-NL",f.PtBR="pt-BR",f.TrTR="tr-TR",f.ZhCN="zh-CN",f.JaJP="ja-JP",f.KoKR="ko-KR",f.ThTH="th-TH",f.ZhHK="zh-HK",f),tJ=((E={})[E.Value1=1]="Value1",E[E.Value2=2]="Value2",E[E.Value3=3]="Value3",E),tU=((S={}).Stocks="stocks",S.Funds="funds",S),tz=((b={}).Active="active",b.Blacklisted="blacklisted",b),tK=((v={}).PolicyThreshold="policy_threshold",v.InternalCoverage="internal_coverage",v.BwRecommendation="bw_recommendation",v),tQ=((G={}).Global="global",G.Industry="industry",G.Country="country",G.Sector="sector",G.Specific="specific",G),tZ=((B={}).Global="global",B.Industry="industry",B),tX=((A={}).Fundamental="fundamental",A.Esg="esg",A.PriceTarget="price_target",A.Technical="technical",A),t0=((V={}).PercentTo52WHigh="percent_to_52w_high",V.ValuePercentTo52WHigh="-percent_to_52w_high",V.Return1D="return_1d",V.ValueReturn1D="-return_1d",V.Return5D="return_5d",V.ValueReturn5D="-return_5d",V.Return1M="return_1m",V.ValueReturn1M="-return_1m",V.Return6M="return_6m",V.ValueReturn6M="-return_6m",V.Return1Y="return_1y",V.ValueReturn1Y="-return_1y",V.Return2Y="return_2y",V.ValueReturn2Y="-return_2y",V.Return5Y="return_5y",V.ValueReturn5Y="-return_5y",V.ReturnYtd="return_ytd",V.ValueReturnYtd="-return_ytd",V.ClosePrice="close_price",V.ValueClosePrice="-close_price",V.DailyReturn="daily_return",V.ValueDailyReturn="-daily_return",V.AnalysisTechnicalScore="analysis_technical_score",V.ValueAnalysisTechnicalScore="-analysis_technical_score",V.AnalysisTechnicalShortScore="analysis_technical_short_score",V.ValueAnalysisTechnicalShortScore="-analysis_technical_short_score",V.AnalysisTechnicalLongScore="analysis_technical_long_score",V.ValueAnalysisTechnicalLongScore="-analysis_technical_long_score",V.AvgTradingVolume3M="avg_trading_volume_3m",V.ValueAvgTradingVolume3M="-avg_trading_volume_3m",V),t5=((k={}).PctOfEquityHoldings="pct_of_equity_holdings",k.ValuePctOfEquityHoldings="-pct_of_equity_holdings",k.Alpha1Y="alpha_1y",k.ValueAlpha1Y="-alpha_1y",k.SharpeRatio1Y="sharpe_ratio_1y",k.ValueSharpeRatio1Y="-sharpe_ratio_1y",k.Beta1Y="beta_1y",k.ValueBeta1Y="-beta_1y",k.TrackingError1Y="tracking_error_1y",k.ValueTrackingError1Y="-tracking_error_1y",k.AumUsd="aum_usd",k.ValueAumUsd="-aum_usd",k.SponsorAumUsd="sponsor_aum_usd",k.ValueSponsorAumUsd="-sponsor_aum_usd",k.AnnualReturn="annual_return",k.ValueAnnualReturn="-annual_return",k.MaxConcentration="max_concentration",k.ValueMaxConcentration="-max_concentration",k.ExpenseRatio="expense_ratio",k.ValueExpenseRatio="-expense_ratio",k.AvgTradingVolume3M="avg_trading_volume_3m",k.ValueAvgTradingVolume3M="-avg_trading_volume_3m",k.AnalysisFundamentalScore="analysis_fundamental_score",k.ValueAnalysisFundamentalScore="-analysis_fundamental_score",k.GrowthFactorGroup="growth_factor_group",k.ValueGrowthFactorGroup="-growth_factor_group",k.ValueFactorGroup="value_factor_group",k.ValueValueFactorGroup="-value_factor_group",k.SectorScore="sector_score",k.ValueSectorScore="-sector_score",k.EquityUnderManagementUsd="equity_under_management_usd",k.ValueEquityUnderManagementUsd="-equity_under_management_usd",k.CashFlowFactorGroup="cash_flow_factor_group",k.ValueCashFlowFactorGroup="-cash_flow_factor_group",k.FillingDate="filling_date",k.ValueFillingDate="-filling_date",k.SectionPerformanceScore="section_performance_score",k.ValueSectionPerformanceScore="-section_performance_score",k.SectionRiskScore="section_risk_score",k.ValueSectionRiskScore="-section_risk_score",k.SectionPortfolioScore="section_portfolio_score",k.ValueSectionPortfolioScore="-section_portfolio_score",k.Return1D="return_1D",k.ValueReturn1D="-return_1D",k.Return5D="return_5D",k.ValueReturn5D="-return_5D",k.Return1M="return_1M",k.ValueReturn1M="-return_1M",k.Return6M="return_6M",k.ValueReturn6M="-return_6M",k.Return1Y="return_1Y",k.ValueReturn1Y="-return_1Y",k.Return2Y="return_2Y",k.ValueReturn2Y="-return_2Y",k.Return5Y="return_5Y",k.ValueReturn5Y="-return_5Y",k.ReturnYTD="return_YTD",k.ValueReturnYTD="-return_YTD",k.TradingVolumeRatio="trading_volume_ratio",k.ValueTradingVolumeRatio="-trading_volume_ratio",k.NumberOfHoldings="number_of_holdings",k.ValueNumberOfHoldings="-number_of_holdings",k.AnalysisTechnicalShortScore="analysis_technical_short_score",k.ValueAnalysisTechnicalShortScore="-analysis_technical_short_score",k.AnalysisTechnicalLongScore="analysis_technical_long_score",k.ValueAnalysisTechnicalLongScore="-analysis_technical_long_score",k.AnalysisTechnicalScore="analysis_technical_score",k.ValueAnalysisTechnicalScore="-analysis_technical_score",k.AnalysisTechnicalScoreGroup="analysis_technical_score_group",k.ValueAnalysisTechnicalScoreGroup="-analysis_technical_score_group",k.NewsSentimentScore="news_sentiment_score",k.ValueNewsSentimentScore="-news_sentiment_score",k.NewsSentiment="news_sentiment",k.ValueNewsSentiment="-news_sentiment",k),t1=((q={}).Countries="countries",q.GicsIndustry="gics_industry",q.GicsSector="gics_sector",q.ThemeEmphasis="theme_emphasis",q.Regions="regions",q.GicsGroup="gics_group",q.GicsIndustryGroup="gics_industry_group",q.Currency="currency",q.Exchange="exchange",q.CsaIndustry="csa_industry",q.Benchmark="benchmark",q.Sponsor="sponsor",q.Sector="sector",q.ManagementStyle="management_style",q.Recommendation="recommendation",q.MarketCapEmphasis="market_cap_emphasis",q.Exposure="exposure",q.GeographyEmphasis="geography_emphasis",q.MarketBenchmark="market_benchmark",q.PrimaryBenchmark="primary_benchmark",q.Source="source",q.Classification="classification",q.BondType="bond_type",q.BondSubType="bond_sub_type",q.Tier="tier",q.All="all",q),t4=((x={}).LastCloseMarketCapUsd="last_close_market_cap_usd",x.ValueLastCloseMarketCapUsd="-last_close_market_cap_usd",x.ImpliedMarketCap="implied_market_cap",x.ValueImpliedMarketCap="-implied_market_cap",x.PriceCurrencyIso3="price_currency_iso3",x.ValuePriceCurrencyIso3="-price_currency_iso3",x.AssetsTurnover="assets_turnover",x.ValueAssetsTurnover="-assets_turnover",x.AverageRevenuePerSubscriber="average_revenue_per_subscriber",x.ValueAverageRevenuePerSubscriber="-average_revenue_per_subscriber",x.CurrentPeRatio="current_pe_ratio",x.ValueCurrentPeRatio="-current_pe_ratio",x.CurrentRatio="current_ratio",x.ValueCurrentRatio="-current_ratio",x.DividendYieldPercentage="dividend_yield_percentage",x.ValueDividendYieldPercentage="-dividend_yield_percentage",x.EbitdaMarginPercent="ebitda_margin_percent",x.ValueEbitdaMarginPercent="-ebitda_margin_percent",x.EbitByInterestExpense="ebit_by_interest_expense",x.ValueEbitByInterestExpense="-ebit_by_interest_expense",x.FreeCashFlowPerShare="free_cash_flow_per_share",x.ValueFreeCashFlowPerShare="-free_cash_flow_per_share",x.GrossProfitMarginPercent="gross_profit_margin_percent",x.ValueGrossProfitMarginPercent="-gross_profit_margin_percent",x.LastCloseTevDividedByEbitda="last_close_tev_divided_by_ebitda",x.ValueLastCloseTevDividedByEbitda="-last_close_tev_divided_by_ebitda",x.LongTermDebtByTotalCapital="long_term_debt_by_total_capital",x.ValueLongTermDebtByTotalCapital="-long_term_debt_by_total_capital",x.NetEpsBasic="net_eps_basic",x.ValueNetEpsBasic="-net_eps_basic",x.NetEpsDiluted="net_eps_diluted",x.ValueNetEpsDiluted="-net_eps_diluted",x.NetDebtDividedByEbitda="net_debt_divided_by_ebitda",x.ValueNetDebtDividedByEbitda="-net_debt_divided_by_ebitda",x.NetIncomeMarginPercent="net_income_margin_percent",x.ValueNetIncomeMarginPercent="-net_income_margin_percent",x.OperatingCashFlowByCurrentLiabilities="operating_cash_flow_by_current_liabilities",x.ValueOperatingCashFlowByCurrentLiabilities="-operating_cash_flow_by_current_liabilities",x.TotalRevenuesOneYearGrowthPercentage="total_revenues_one_year_growth_percentage",x.ValueTotalRevenuesOneYearGrowthPercentage="-total_revenues_one_year_growth_percentage",x.TotalDebtToCapitalPercent="total_debt_to_capital_percent",x.ValueTotalDebtToCapitalPercent="-total_debt_to_capital_percent",x.PayoutRatio="payout_ratio",x.ValuePayoutRatio="-payout_ratio",x.QuickRatio="quick_ratio",x.ValueQuickRatio="-quick_ratio",x.ReturnOnEquityPercent="return_on_equity_percent",x.ValueReturnOnEquityPercent="-return_on_equity_percent",x.ReturnOnAssets="return_on_assets",x.ValueReturnOnAssets="-return_on_assets",x.ReturnOnTotalCapital="return_on_total_capital",x.ValueReturnOnTotalCapital="-return_on_total_capital",x.RevenuePerEmployeeInThousands="revenue_per_employee_in_thousands",x.ValueRevenuePerEmployeeInThousands="-revenue_per_employee_in_thousands",x.TotalDebtToEquity="total_debt_to_equity",x.ValueTotalDebtToEquity="-total_debt_to_equity",x.TotalRevenues="total_revenues",x.ValueTotalRevenues="-total_revenues",x.AnalysisFundamentalScoreGroup="analysis_fundamental_score_group",x.ValueAnalysisFundamentalScoreGroup="-analysis_fundamental_score_group",x.SectionBalanceSheetScoreGroup="section_balance_sheet_score_group",x.ValueSectionBalanceSheetScoreGroup="-section_balance_sheet_score_group",x.SectionEnvironmentalScoreGroup="section_environmental_score_group",x.ValueSectionEnvironmentalScoreGroup="-section_environmental_score_group",x.SectionSocialScoreGroup="section_social_score_group",x.ValueSectionSocialScoreGroup="-section_social_score_group",x.SectionGovernanceScoreGroup="section_governance_score_group",x.ValueSectionGovernanceScoreGroup="-section_governance_score_group",x.SectorScore="sector_score",x.ValueSectorScore="-sector_score",x.AnalysisFundamentalScore="analysis_fundamental_score",x.ValueAnalysisFundamentalScore="-analysis_fundamental_score",x.SectionIncomeStatementScore="section_income_statement_score",x.ValueSectionIncomeStatementScore="-section_income_statement_score",x.SectionBalanceSheetScore="section_balance_sheet_score",x.ValueSectionBalanceSheetScore="-section_balance_sheet_score",x.SectionCashFlowScore="section_cash_flow_score",x.ValueSectionCashFlowScore="-section_cash_flow_score",x.AnalysisEsgScore="analysis_esg_score",x.ValueAnalysisEsgScore="-analysis_esg_score",x.SectionEnvironmentalScore="section_environmental_score",x.ValueSectionEnvironmentalScore="-section_environmental_score",x.SectionSocialScore="section_social_score",x.ValueSectionSocialScore="-section_social_score",x.SectionGovernanceScore="section_governance_score",x.ValueSectionGovernanceScore="-section_governance_score",x.FilingDate="filing_date",x.ValueFilingDate="-filing_date",x.SectionRiskFactorsGroup="section_risk_factors_group",x.ValueSectionRiskFactorsGroup="-section_risk_factors_group",x.Beta1Year="beta_1_year",x.ValueBeta1Year="-beta_1_year",x.PeRatio="pe_ratio",x.ValuePeRatio="-pe_ratio",x.PeriodLastPriceDividedBookValue="period_last_price_divided_book_value",x.ValuePeriodLastPriceDividedBookValue="-period_last_price_divided_book_value",x.AnalysisEsgScoreGroup="analysis_esg_score_group",x.ValueAnalysisEsgScoreGroup="-analysis_esg_score_group",x.SectionIncomeStatementScoreGroup="section_income_statement_score_group",x.ValueSectionIncomeStatementScoreGroup="-section_income_statement_score_group",x.SectionCashFlowScoreGroup="section_cash_flow_score_group",x.ValueSectionCashFlowScoreGroup="-section_cash_flow_score_group",x.GicsSectorId="gics_sector_id",x.ValueGicsSectorId="-gics_sector_id",x.FillingDate="filling_date",x.ValueFillingDate="-filling_date",x.SectorScoreGroup="sector_score_group",x.ValueSectorScoreGroup="-sector_score_group",x.Return1D="return_1D",x.ValueReturn1D="-return_1D",x.Return5D="return_5D",x.ValueReturn5D="-return_5D",x.Return1M="return_1M",x.ValueReturn1M="-return_1M",x.Return6M="return_6M",x.ValueReturn6M="-return_6M",x.Return1Y="return_1Y",x.ValueReturn1Y="-return_1Y",x.Return2Y="return_2Y",x.ValueReturn2Y="-return_2Y",x.Return5Y="return_5Y",x.ValueReturn5Y="-return_5Y",x.ReturnYTD="return_YTD",x.ValueReturnYTD="-return_YTD",x.AnalysisTechnicalScore="analysis_technical_score",x.ValueAnalysisTechnicalScore="-analysis_technical_score",x.AnalysisTechnicalScoreGroup="analysis_technical_score_group",x.ValueAnalysisTechnicalScoreGroup="-analysis_technical_score_group",x.AnalysisTechnicalShortScore="analysis_technical_short_score",x.ValueAnalysisTechnicalShortScore="-analysis_technical_short_score",x.AnalysisTechnicalLongScore="analysis_technical_long_score",x.ValueAnalysisTechnicalLongScore="-analysis_technical_long_score",x.ConsensusScoreGroup="consensus_score_group",x.ValueConsensusScoreGroup="-consensus_score_group",x.ConsensusAnalystCount="consensus_analyst_count",x.ValueConsensusAnalystCount="-consensus_analyst_count",x.NewsSentimentScore="news_sentiment_score",x.ValueNewsSentimentScore="-news_sentiment_score",x.NewsSentiment="news_sentiment",x.ValueNewsSentiment="-news_sentiment",x.TargetPriceToLastClose="target_price_to_last_close",x.ValueTargetPriceToLastClose="-target_price_to_last_close",x),t7=((P={}).AmountOutstanding="amount_outstanding",P.ValueAmountOutstanding="-amount_outstanding",P.Coupon="coupon",P.ValueCoupon="-coupon",P.IssueDate="issue_date",P.ValueIssueDate="-issue_date",P.MaturityDate="maturity_date",P.ValueMaturityDate="-maturity_date",P.CouponFrequency="coupon_frequency",P.ValueCouponFrequency="-coupon_frequency",P.MidApplicableYield="mid_applicable_yield",P.ValueMidApplicableYield="-mid_applicable_yield",P.FinalCreditQualityScoreGroup="final_credit_quality_score_group",P.ValueFinalCreditQualityScoreGroup="-final_credit_quality_score_group",P.MidMacaulayDuration="mid_macaulay_duration",P.ValueMidMacaulayDuration="-mid_macaulay_duration",P.MidApplicableSpread="mid_applicable_spread",P.ValueMidApplicableSpread="-mid_applicable_spread",P.BondType="bond_type",P.ValueBondType="-bond_type",P.FinalCreditQualityScore="final_credit_quality_score",P.ValueFinalCreditQualityScore="-final_credit_quality_score",P.InvestmentScore="investment_score",P.ValueInvestmentScore="-investment_score",P),t9=((w={}).PercentTo52WHigh="percent_to_52w_high",w.ValuePercentTo52WHigh="-percent_to_52w_high",w.Return1D="return_1d",w.ValueReturn1D="-return_1d",w.Return5D="return_5d",w.ValueReturn5D="-return_5d",w.Return1M="return_1m",w.ValueReturn1M="-return_1m",w.Return6M="return_6m",w.ValueReturn6M="-return_6m",w.Return1Y="return_1y",w.ValueReturn1Y="-return_1y",w.Return2Y="return_2y",w.ValueReturn2Y="-return_2y",w.Return5Y="return_5y",w.ValueReturn5Y="-return_5y",w.ReturnYtd="return_ytd",w.ValueReturnYtd="-return_ytd",w.ClosePrice="close_price",w.ValueClosePrice="-close_price",w.DailyReturn="daily_return",w.ValueDailyReturn="-daily_return",w.AnalysisTechnicalScore="analysis_technical_score",w.ValueAnalysisTechnicalScore="-analysis_technical_score",w.AnalysisTechnicalShortScore="analysis_technical_short_score",w.ValueAnalysisTechnicalShortScore="-analysis_technical_short_score",w.AnalysisTechnicalLongScore="analysis_technical_long_score",w.ValueAnalysisTechnicalLongScore="-analysis_technical_long_score",w.NewsSentimentScore="news_sentiment_score",w.ValueNewsSentimentScore="-news_sentiment_score",w.AvgTradingVolume3M="avg_trading_volume_3m",w.ValueAvgTradingVolume3M="-avg_trading_volume_3m",w),t8=((R={}).Value1D="1D",R.Value1W="1W",R.Value1M="1M",R.Value3M="3M",R.Value6M="6M",R.YTD="YTD",R.Value1Y="1Y",R),t2=((j={}).NoPrevData="no_prev_data",j.NewPosition="new_position",j.MissingBaseCcy="missing_base_ccy",j.PartialPrevData="partial_prev_data",j.MissingInstrumentPnl="missing_instrument_pnl",j.Stale="stale",j.ClosedInRange="closed_in_range",j.PartialHolding="partial_holding",j),t6=((D={}).Stock="stock",D.Fund="fund",D.Bond="bond",D),t3=((F={}).Stock="stock",F.Fund="fund",F),se=((W={}).Quarterly="quarterly",W.Annually="annually",W.Last12Month="last_12_month",W),st=((M={}).BalanceSheet="balance_sheet",M.IncomeStatement="income_statement",M.CashFlow="cash_flow",M),ss=((I={}).Environmental="environmental",I.Social="social",I.Governance="governance",I),sr=((Y={})[Y.Value5=5]="Value5",Y[Y.Value4=4]="Value4",Y[Y.Value3=3]="Value3",Y[Y.Value2=2]="Value2",Y[Y.Value1=1]="Value1",Y),sa=((L={}).Technical="technical",L.TechnicalShortTerm="technical_short_term",L.TechnicalLongTerm="technical_long_term",L),sn=((N={}).Global="global",N.Industry="industry",N.Country="country",N.Sector="sector",N.Specific="specific",N),si=((O={}).NewsSummary="news_summary",O.Description="description",O.Technical="technical",O),so=((H={}).BalanceSheet="balance_sheet",H.IncomeStatement="income_statement",H.CashFlow="cash_flow",H.CompanyDescription="company_description",H.CompanyFundamentals="company_fundamentals",H.SummaryRecommendation="summary_recommendation",H),sc=((J={}).Highlights="highlights",J.Lowlights="lowlights",J),su=((U={}).Social="social",U.Environmental="environmental",U.Governance="governance",U.Summary="summary",U.Controversies="controversies",U.Transparency="transparency",U.Weaknesses="weaknesses",U),sl=((z={}).PublicationDate="publication_date",z.RelevancyScore="relevancy_score",z.SocialShares="social_shares",z),sp=((K={}).Square="square",K.Horizontal="horizontal",K),sd=((Q={}).Original="original",Q.Square="square",Q),sm=((Z={}).Png="png",Z.Svg="svg",Z.Jpg="jpg",Z),sh=((X={}).Countries="countries",X.GicsIndustry="gics_industry",X.GicsSector="gics_sector",X.ThemeEmphasis="theme_emphasis",X.Regions="regions",X.GicsGroup="gics_group",X.GicsIndustryGroup="gics_industry_group",X.Currency="currency",X.Exchange="exchange",X.CsaIndustry="csa_industry",X.Benchmark="benchmark",X.Sponsor="sponsor",X.Sector="sector",X.ManagementStyle="management_style",X.Recommendation="recommendation",X.MarketCapEmphasis="market_cap_emphasis",X.Exposure="exposure",X.GeographyEmphasis="geography_emphasis",X.MarketBenchmark="market_benchmark",X.PrimaryBenchmark="primary_benchmark",X.Source="source",X),sg=((ee={}).Fundamental="fundamental",ee.Market="market",ee),s_=((et={}).Positive="positive",et.Negative="negative",et),sy=((es={}).True="true",es.False="false",es),sT=((er={}).Ticker="ticker",er.Company="company",er.Sectors="sectors",er.Industries="industries",er.Locations="locations",er),sC=((ea={}).Fund="fund",ea.Company="company",ea.Alt="alt",ea),s$=((en={}).Fund="fund",en.Tickerfund="tickerfund",en.Ticker="ticker",en.Company="company",en.Sectors="sectors",en.Industries="industries",en.Locations="locations",en),sf=((ei={}).Csv="csv",ei.Json="json",ei),sE=((eo={}).Industry="industry",eo.Country="country",eo),sS=((ec={}).SizeAndMarketPosition="size_and_market_position",ec.LeverageAndSolvency="leverage_and_solvency",ec.Profitability="profitability",ec.FinancialPolicy="financial_policy",ec),sb=((eu={}).CompanyDescription="company_description",eu.CreditQualityScoreSummary="credit_quality_score_summary",eu.CreditOutlookAnalysis="credit_outlook_analysis",eu.SizeAndMarketPosition="size_and_market_position",eu.LeverageAndSolvency="leverage_and_solvency",eu.Profitability="profitability",eu.FinancialPolicy="financial_policy",eu.SummaryRecommendation="summary_recommendation",eu),sv=((el={}).ArSA="ar-SA",el.CaES="ca-ES",el.DeDE="de-DE",el.EnUS="en-US",el.EsES="es-ES",el.FrFR="fr-FR",el.HeIL="he-IL",el.NlNL="nl-NL",el.PtBR="pt-BR",el.TrTR="tr-TR",el.ZhCN="zh-CN",el.JaJP="ja-JP",el.KoKR="ko-KR",el.ThTH="th-TH",el.ZhHK="zh-HK",el),sG=((ep={}).Positive="positive",ep.Negative="negative",ep),sB=((ed={}).Cryptocurrency="cryptocurrency",ed.Forex="forex",ed.Commodity="commodity",ed.Stock="stock",ed.Etf="etf",ed),sA=((em={}).AggressiveMoveHigh="aggressive_move_high",em.AggressiveMoveLow="aggressive_move_low",em.PriceBreaks52WeekHigh="price_breaks_52_week_high",em.PriceBreaks52WeekLow="price_breaks_52_week_low",em.PriceBreaks50DaysHigh="price_breaks_50_days_high",em.PriceBreaks50DaysLow="price_breaks_50_days_low",em.GapUp="gap_up",em.GapDown="gap_down",em.HighRangeBreak="high_range_break",em.LowRangeBreak="low_range_break",em.MacdBullishCrossoverAlert="macd_bullish_crossover_alert",em.MovingAverageDeathCrossAlert="moving_average_death_cross_alert",em.RsiOverboughtAlert="rsi_overbought_alert",em),sV=((eh={}).Index="index",eh.Exchange="exchange",eh.DomicileCountry="domicile_country",eh.ExchangeCountry="exchange_country",eh),sk=((eg={}).Isin="isin",eg.Notin="notin",eg),sq=((e_={}).MarketCap="market_cap",e_.Volume="volume",e_),sx=((ey={}).Ge="ge",ey.Le="le",ey.Gt="gt",ey.Lt="lt",ey),sP=((eT={}).Ge="ge",eT.Le="le",eT.Gt="gt",eT.Lt="lt",eT),sw=((eC={}).HoldingWeight="holding_weight",eC.AumUsd="aum_usd",eC.AnalysisFundamentalScore="analysis_fundamental_score",eC.ExpenseRatio="expense_ratio",eC.Return1Y="return_1y",eC),sR=((e$={}).Asc="asc",e$.Desc="desc",e$),sj=((ef={}).Csv="csv",ef.Json="json",ef),sD=((eE={}).Iso="iso",eE.Epoch="epoch",eE),sF=((eS={}).Epoch="epoch",eS.Iso="iso",eS),sW=((eb={}).Iso="iso",eb.Epoch="epoch",eb),sM=((ev={}).Iso="iso",ev.Epoch="epoch",ev),sI={};h(sI,"Users",()=>sY);class sY{constructor(t){this.apiClient=t,e(this)}authenticate(e,t){return this.apiClient.request({secure:!0,contentType:eB.Json,responseType:"json",...t,url:"/users/authenticate",method:"POST",data:e})}fetchClientDetails(e,t){return this.apiClient.request({secure:!0,headers:e,responseType:"json",...t,url:"/users/machine",method:"GET"})}}var sL={};h(sL,"VtMarkets",()=>sN);class sN{constructor(t){this.apiClient=t,e(this)}receiveAlerts(e,t){return this.apiClient.request({secure:!0,contentType:eB.Json,responseType:"json",...t,url:"/vt-markets/alerts",method:"POST",data:e})}}g(ek,eq),g(ek,eP),g(ek,eR),g(ek,eD),g(ek,eW),g(ek,eI),g(ek,eL),g(ek,eO),g(ek,eJ),g(ek,ez),g(ek,eQ),g(ek,eX),g(ek,e5),g(ek,e4),g(ek,e9),g(ek,e2),g(ek,e3),g(ek,tt),g(ek,tr),g(ek,tn),g(ek,to),g(ek,tu),g(ek,tp),g(ek,tm),g(ek,tg),g(ek,ty),g(ek,tC),g(ek,tf),g(ek,tS),g(ek,tv),g(ek,tB),g(ek,tV),g(ek,tq),g(ek,tP),g(ek,tR),g(ek,tD),g(ek,tW),g(ek,tI),g(ek,tL),g(ek,sI),g(ek,sL);class sO extends _{constructor(e){super(new eV(e)),this.config=e,this.activities=new ex(this.apiClient),this.alternativeAssets=new ew(this.apiClient),this.bonds=new ej(this.apiClient),this.bridget=new eF(this.apiClient),this.bwc=new eM(this.apiClient),this.companies=new eY(this.apiClient),this.companyAnalysis=new eN(this.apiClient),this.companyMarketData=new eH(this.apiClient),this.companyMetadata=new eU(this.apiClient),this.companyNews=new eK(this.apiClient),this.consensusAnalysts=new eZ(this.apiClient),this.earningCalls=new e0(this.apiClient),this.esgAnalysis=new e1(this.apiClient),this.fundAnalysis=new e8(this.apiClient),this.fundEsgAnalysis=new e6(this.apiClient),this.fundMarketData=new te(this.apiClient),this.fundMetadata=new ts(this.apiClient),this.fundamentalAnalysis=new e7(this.apiClient),this.funds=new ta(this.apiClient),this.health=new ti(this.apiClient),this.holdings=new tc(this.apiClient),this.indexMarketData=new tl(this.apiClient),this.indexTechnicalAnalysis=new td(this.apiClient),this.indices=new th(this.apiClient),this.insights=new t_(this.apiClient),this.logos=new tT(this.apiClient),this.metadata=new t$(this.apiClient),this.pdfReportGeneration=new tE(this.apiClient),this.pnLHistory=new tb(this.apiClient),this.portfolios=new tG(this.apiClient),this.screener=new tA(this.apiClient),this.sectorAnalysis=new tk(this.apiClient),this.segmentations=new tx(this.apiClient),this.signalWise=new tw(this.apiClient),this.technicalAnalysis=new tj(this.apiClient),this.tenantIdentifiers=new tF(this.apiClient),this.tenants=new tM(this.apiClient),this.themes=new tY(this.apiClient),this.users=new sY(this.apiClient),this.vtMarkets=new sN(this.apiClient)}}export{sO as BridgeWiseApi,ex as Activities,ew as AlternativeAssets,ej as Bonds,eF as Bridget,eM as Bwc,eY as Companies,eN as CompanyAnalysis,eH as CompanyMarketData,eU as CompanyMetadata,eK as CompanyNews,eZ as ConsensusAnalysts,e0 as EarningCalls,e1 as EsgAnalysis,e7 as FundamentalAnalysis,e8 as FundAnalysis,e6 as FundEsgAnalysis,te as FundMarketData,ts as FundMetadata,ta as Funds,ti as Health,tc as Holdings,tl as IndexMarketData,td as IndexTechnicalAnalysis,th as Indices,t_ as Insights,tT as Logos,t$ as Metadata,tE as PdfReportGeneration,tb as PnLHistory,tG as Portfolios,tA as Screener,tk as SectorAnalysis,tx as Segmentations,tw as SignalWise,tj as TechnicalAnalysis,tF as TenantIdentifiers,tM as Tenants,tY as Themes,tN as BridgeWiseThemeTypeEnum,tO as BridgeWiseThemePackageEnum,tH as BridgeWiseThemeLanguageEnum,tJ as BridgeWiseThemeGroupEnum,tU as BridgeWiseThemeAssetClassEnum,tz as BridgeWiseTenantIdentifierStatusEnum,tK as BridgeWiseEventTypeEnum,tQ as BridgeWiseScoreMethodology,tZ as BridgeWiseGlobalIndustryScoringEnum,tX as BridgeWiseAnalysisTypeEnum,t0 as BridgeWiseIndicesSortByEnum,t5 as BridgeWiseFundsSortByEnum,t1 as BridgeWiseFilterType,t4 as BridgeWiseCompaniesSortByEnum,t7 as BridgeWiseBondsSortByEnum,t9 as BridgeWiseAlternativesSortByEnum,t8 as BridgeWiseTimeframe,t2 as BridgeWiseDailyPnlFlag,t6 as BridgeWiseAssetType,t3 as BridgeWisePDFReportType,se as BridgeWisePeriodTypeEnum,st as BridgeWiseFundamentalSectionTypeEnum,ss as BridgeWiseESGSectionTypeParamEnumV2,sr as BridgeWiseESGScoreGroup,sa as BridgeWiseTechnicalAnalysisTypeEnum,sn as BridgeWiseScoringMethodEnum,si as BridgeWiseParagraphTextEnum,so as BridgeWiseFundamentalParagraphSectionTypeEnum,sc as BridgeWiseEarningsCallRecapEnum,su as BridgeWiseESGSectionTypeEnum,sl as BridgeWiseCompanyNewsSortingEnum,sp as BridgeWiseLogoTypeEnum,sd as BridgeWiseLogoSizeEnum,sm as BridgeWiseImageExtensionEnum,sh as BridgeWiseCompanyFilterType,sg as BridgeWiseCompanyAlertType,s_ as BridgeWiseCompanyAlertSentiment,sy as BridgeWiseStringBooleanEnum,sT as BridgeWiseTypeEnum,sC as BridgeWiseInstrumentTypeEnum,s$ as BridgeWiseInstrumentIdentifierTypeEnum,sf as BridgeWiseFormatEnum,sE as BridgeWiseUniverseEnum,sS as BridgeWiseParametersSectionTypeEnum,sb as BridgeWiseBondsSectionTypeEnum,sv as BridgeWiseLanguageEnum,sG as BridgeWiseEventSentimentEnum,sB as BridgeWiseAssetTypeEnum,sA as BridgeWiseAlertTypeEnum,sV as BridgeWiseIdCheckConfigNameEnum,sk as BridgeWiseIdCheckConfigOperatorEnum,sq as BridgeWiseMarketDataConfigNameEnum,sx as BridgeWiseMarketDataConfigOperatorEnum,sP as BridgeWiseStockingFloatConfigOperatorEnum,sw as BridgeWiseGetFundsHoldingCompaniesParamsSortByEnum,sR as BridgeWiseGetFundsHoldingCompaniesParamsSortOrderEnum,sj as BridgeWiseTenantsQuestionsBulkListParamsFormatEnum,sD as BridgeWiseGetBusinessDescriptionParamsDateFormatEnum,sF as BridgeWiseGetFundamentalAnalysisParamsDateFormatEnum,sW as BridgeWiseGetIndustryDescriptionParamsDateFormatEnum,sM as BridgeWiseGetTechnicalAnalysisParamsDateFormatEnum,sY as Users,sN as VtMarkets};
2
2
  //# sourceMappingURL=index.esm.js.map