@orbis-systems/orbis-api-clients 0.8.7 → 0.8.8

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