@orbis-systems/orbis-api-clients 0.6.8 → 0.6.9

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 (39) hide show
  1. package/dist/aesmidas/index.d.ts +9 -0
  2. package/dist/aesmidas/index.d.ts.map +1 -1
  3. package/dist/aesmidas/index.esm.js +1 -2806
  4. package/dist/aesmidas/index.esm.js.map +1 -1
  5. package/dist/aesmidas/index.js +1 -2811
  6. package/dist/aesmidas/index.js.map +1 -1
  7. package/dist/bridgewise/index.d.ts +176 -175
  8. package/dist/bridgewise/index.d.ts.map +1 -1
  9. package/dist/bridgewise/index.esm.js +1 -1888
  10. package/dist/bridgewise/index.esm.js.map +1 -1
  11. package/dist/bridgewise/index.js +1 -1893
  12. package/dist/bridgewise/index.js.map +1 -1
  13. package/dist/index.esm.js +1 -257
  14. package/dist/index.esm.js.map +1 -1
  15. package/dist/index.js +1 -280
  16. package/dist/index.js.map +1 -1
  17. package/dist/insight/index.d.ts +322 -322
  18. package/dist/insight/index.d.ts.map +1 -1
  19. package/dist/insight/index.esm.js +1 -3754
  20. package/dist/insight/index.esm.js.map +1 -1
  21. package/dist/insight/index.js +1 -3759
  22. package/dist/insight/index.js.map +1 -1
  23. package/dist/middleware/index.esm.js +1 -1066
  24. package/dist/middleware/index.esm.js.map +1 -1
  25. package/dist/middleware/index.js +1 -1071
  26. package/dist/middleware/index.js.map +1 -1
  27. package/dist/orbis/index.d.ts +2191 -2191
  28. package/dist/orbis/index.d.ts.map +1 -1
  29. package/dist/orbis/index.esm.js +1 -7009
  30. package/dist/orbis/index.esm.js.map +1 -1
  31. package/dist/orbis/index.js +1 -7014
  32. package/dist/orbis/index.js.map +1 -1
  33. package/dist/uma/index.d.ts +194 -194
  34. package/dist/uma/index.d.ts.map +1 -1
  35. package/dist/uma/index.esm.js +1 -3993
  36. package/dist/uma/index.esm.js.map +1 -1
  37. package/dist/uma/index.js +1 -3998
  38. package/dist/uma/index.js.map +1 -1
  39. package/package.json +9 -1
@@ -1,1894 +1,2 @@
1
- var $8CIhi$autobind = require("auto-bind");
2
- var $8CIhi$asyncmutex = require("async-mutex");
3
- var $8CIhi$consola = require("consola");
4
- var $8CIhi$datefns = require("date-fns");
5
- var $8CIhi$jwtdecode = require("jwt-decode");
6
- var $8CIhi$axios = require("axios");
7
- var $8CIhi$axiosbetterstacktrace = require("axios-better-stacktrace");
8
- var $8CIhi$lodash = require("lodash");
9
-
10
-
11
- function $parcel$exportWildcard(dest, source) {
12
- Object.keys(source).forEach(function(key) {
13
- if (key === 'default' || key === '__esModule' || Object.prototype.hasOwnProperty.call(dest, key)) {
14
- return;
15
- }
16
-
17
- Object.defineProperty(dest, key, {
18
- enumerable: true,
19
- get: function get() {
20
- return source[key];
21
- }
22
- });
23
- });
24
-
25
- return dest;
26
- }
27
-
28
- function $parcel$export(e, n, v, s) {
29
- Object.defineProperty(e, n, {get: v, set: s, enumerable: true, configurable: true});
30
- }
31
-
32
- function $parcel$interopDefault(a) {
33
- return a && a.__esModule ? a.default : a;
34
- }
35
- var $41b7934f61e6d523$exports = {};
36
-
37
- $parcel$export($41b7934f61e6d523$exports, "BridgeWiseApi", () => $41b7934f61e6d523$export$481db5165d0b1e16);
38
-
39
- class $780091c10287ceed$export$3ad201792064a82b {
40
- // request: ApiClient['request'];
41
- // get: ApiClient['get'];
42
- // delete: ApiClient['delete'];
43
- // head: ApiClient['head'];
44
- // options: ApiClient['options'];
45
- // post: ApiClient['post'];
46
- // put: ApiClient['put'];
47
- // patch: ApiClient['patch'];
48
- constructor(apiClient){
49
- this.apiClient = apiClient;
50
- (0, ($parcel$interopDefault($8CIhi$autobind)))(this);
51
- // this.request = this.client.request;
52
- // this.get = this.client.get;
53
- // this.delete = this.client.delete;
54
- // this.head = this.client.head;
55
- // this.options = this.client.options;
56
- // this.post = this.client.post;
57
- // this.put = this.client.put;
58
- // this.patch = this.client.patch;
59
- // this.get = this.client.get;
60
- }
61
- getApiClient() {
62
- return this.apiClient;
63
- }
64
- }
65
-
66
-
67
-
68
-
69
-
70
-
71
-
72
-
73
-
74
-
75
- var $3621850f1f570615$export$e2e108cbe2e4f865 = /*#__PURE__*/ function(ContentType) {
76
- ContentType["Json"] = "application/json";
77
- ContentType["FormData"] = "multipart/form-data";
78
- ContentType["UrlEncoded"] = "application/x-www-form-urlencoded";
79
- ContentType["Text"] = "text/plain";
80
- return ContentType;
81
- }({});
82
- class $3621850f1f570615$export$4f22f74eddb7716a {
83
- constructor(config){
84
- this.config = config;
85
- (0, ($parcel$interopDefault($8CIhi$autobind)))(this);
86
- this.storage = config.storage ?? sessionStorage;
87
- this.axiosInstance = (0, ($parcel$interopDefault($8CIhi$axios))).create({
88
- baseURL: config.baseUrl,
89
- withCredentials: config.withCredentials,
90
- headers: {
91
- 'Content-Type': 'application/json',
92
- ...config.defaultHeaders
93
- }
94
- });
95
- (0, ($parcel$interopDefault($8CIhi$axiosbetterstacktrace)))(this.axiosInstance);
96
- }
97
- stringifyFormItem(formItem) {
98
- if (typeof formItem === 'object' && formItem !== null) return JSON.stringify(formItem);
99
- else return `${formItem}`;
100
- }
101
- createFormData(input) {
102
- if (input instanceof FormData) return input;
103
- return Object.keys(input).reduce((formData, key)=>{
104
- const property = input[key];
105
- const propertyContent = property instanceof Array ? property : [
106
- property
107
- ];
108
- for (const formItem of propertyContent){
109
- const isFileType = formItem instanceof Blob || formItem instanceof File;
110
- formData.append(key, isFileType ? formItem : this.stringifyFormItem(formItem));
111
- }
112
- return formData;
113
- }, new FormData());
114
- }
115
- async request(requestConfig) {
116
- const { contentType: contentType, data: data } = requestConfig;
117
- if (!(0, $8CIhi$lodash.isNil)(data)) {
118
- if (contentType === "multipart/form-data" && typeof data === 'object') requestConfig.data = this.createFormData(data);
119
- if (contentType === "text/plain" && typeof data !== 'string') requestConfig.data = JSON.stringify(data);
120
- }
121
- const mergedConfig = (0, $8CIhi$lodash.merge)(requestConfig.secure ?? this.config.defaultSecure ?? true ? await this.prepareAuthRequestConfig() : {}, contentType ? {
122
- headers: {
123
- 'Content-Type': contentType
124
- }
125
- } : {}, requestConfig);
126
- try {
127
- const { data: data, status: status, statusText: statusText } = await this.axiosInstance.request(mergedConfig);
128
- return {
129
- success: true,
130
- data: data,
131
- status: status,
132
- statusText: statusText
133
- };
134
- } catch (error) {
135
- if (!this.config.handleError && !requestConfig.handleError) throw error;
136
- const result = {
137
- success: false,
138
- status: -1,
139
- statusText: String(error),
140
- error: error
141
- };
142
- if ((0, $8CIhi$axios.isAxiosError)(error)) {
143
- this.config.onAxiosError?.(error);
144
- result.data = error.response?.data;
145
- result.status = error.response?.status ?? result.status;
146
- result.statusText = error.response?.statusText ?? result.statusText;
147
- }
148
- this.config.onError?.(error);
149
- return result;
150
- }
151
- }
152
- get(url, config) {
153
- return this.request({
154
- ...config,
155
- method: 'GET',
156
- url: url
157
- });
158
- }
159
- delete(url, config) {
160
- return this.request({
161
- ...config,
162
- method: 'DELETE',
163
- url: url
164
- });
165
- }
166
- head(url, config) {
167
- return this.request({
168
- ...config,
169
- method: 'HEAD',
170
- url: url
171
- });
172
- }
173
- options(url, config) {
174
- return this.request({
175
- ...config,
176
- method: 'OPTIONS',
177
- url: url
178
- });
179
- }
180
- post(url, data, config) {
181
- return this.request({
182
- ...config,
183
- method: 'POST',
184
- url: url,
185
- data: data
186
- });
187
- }
188
- put(url, data, config) {
189
- return this.request({
190
- ...config,
191
- method: 'PUT',
192
- url: url,
193
- data: data
194
- });
195
- }
196
- patch(url, data, config) {
197
- return this.request({
198
- ...config,
199
- method: 'PATCH',
200
- url: url,
201
- data: data
202
- });
203
- }
204
- getAxios() {
205
- return this.axiosInstance;
206
- }
207
- setAuthData(data) {
208
- this.storage.setItem(this.config.authDataStorageKey || 'auth', JSON.stringify(data));
209
- }
210
- getAuthData() {
211
- const data = this.storage.getItem(this.config.authDataStorageKey || 'auth');
212
- return data ? JSON.parse(data) : null;
213
- }
214
- getConfig() {
215
- return this.config;
216
- }
217
- }
218
-
219
-
220
- class $538ed1203bac2e79$export$f280b732bbc5934b extends (0, $3621850f1f570615$export$4f22f74eddb7716a) {
221
- constructor(config){
222
- super(config), this.config = config, this.lock = new (0, $8CIhi$asyncmutex.Mutex)();
223
- }
224
- getConfig() {
225
- return super.getConfig();
226
- }
227
- setRenewTokenCallback(renewTokenCallback) {
228
- this.renewTokenCallback = renewTokenCallback;
229
- }
230
- async prepareAuthRequestConfig() {
231
- if (this.config.withCredentials) return {};
232
- let { accessToken: accessToken } = this.getAuthData() || {};
233
- if (!accessToken) {
234
- (0, $8CIhi$consola.consola).warn('No access token found. Please set auth data after authorization.');
235
- return {};
236
- }
237
- if (this.config.autoRenewToken !== false && this.isTokenExpired(accessToken)) try {
238
- await this.lock.runExclusive(async ()=>{
239
- if (this.config.debug) (0, $8CIhi$consola.consola).debug("Token expired. Renewing\u2026");
240
- accessToken = (await this.renewToken()).accessToken;
241
- this.lock.cancel();
242
- });
243
- } catch (error) {
244
- if (error === (0, $8CIhi$asyncmutex.E_CANCELED)) accessToken = this.getAuthData()?.accessToken;
245
- else throw error;
246
- }
247
- return {
248
- headers: {
249
- Authorization: `${this.config.authSchema ?? 'Bearer'} ${accessToken}`
250
- }
251
- };
252
- }
253
- isTokenExpired(token) {
254
- const payload = (0, $8CIhi$jwtdecode.jwtDecode)(token);
255
- if (!payload.exp) return true;
256
- return (0, $8CIhi$datefns.isBefore)((0, $8CIhi$datefns.subMinutes)(payload.exp * 1000, 1), Date.now());
257
- }
258
- async renewToken() {
259
- const callback = this.config.onRenewToken ?? this.renewTokenCallback;
260
- if (!callback) throw new Error('No renew token callback provided');
261
- const authData = await callback();
262
- this.setAuthData(authData);
263
- return authData;
264
- }
265
- }
266
-
267
-
268
- var $b67788b0fbf54d75$exports = {};
269
- var $813bc1b8103bd5b7$exports = {};
270
-
271
- $parcel$export($813bc1b8103bd5b7$exports, "BridgeWiseCompanyAlertSentiment", () => $813bc1b8103bd5b7$export$22b6b240b04439e0);
272
- $parcel$export($813bc1b8103bd5b7$exports, "BridgeWiseCompanyAlertType", () => $813bc1b8103bd5b7$export$c612fe5421ccfe03);
273
- $parcel$export($813bc1b8103bd5b7$exports, "BridgeWiseForecastType", () => $813bc1b8103bd5b7$export$4834334913be8914);
274
- $parcel$export($813bc1b8103bd5b7$exports, "BridgeWiseLanguageEnum", () => $813bc1b8103bd5b7$export$5617fa30156f1a6e);
275
- $parcel$export($813bc1b8103bd5b7$exports, "BridgeWiseCompanyFilterType", () => $813bc1b8103bd5b7$export$c385344a7d23343b);
276
- $parcel$export($813bc1b8103bd5b7$exports, "BridgeWiseCompositionTypeEnum", () => $813bc1b8103bd5b7$export$e65fc06dc5bb6898);
277
- $parcel$export($813bc1b8103bd5b7$exports, "BridgeWiseIdentifierTypeEnum", () => $813bc1b8103bd5b7$export$72e255e688a1fec5);
278
- $parcel$export($813bc1b8103bd5b7$exports, "BridgeWiseImageExtensionEnum", () => $813bc1b8103bd5b7$export$be5b43c4d942b124);
279
- $parcel$export($813bc1b8103bd5b7$exports, "BridgeWiseLogoSizeEnum", () => $813bc1b8103bd5b7$export$d92a54bad69fbe2c);
280
- $parcel$export($813bc1b8103bd5b7$exports, "BridgeWiseLogoTypeEnum", () => $813bc1b8103bd5b7$export$344928575061a716);
281
- $parcel$export($813bc1b8103bd5b7$exports, "BridgeWiseStringBooleanEnum", () => $813bc1b8103bd5b7$export$5a96543e0f8659b4);
282
- $parcel$export($813bc1b8103bd5b7$exports, "BridgeWiseCompanyNewsSortingEnum", () => $813bc1b8103bd5b7$export$9f3370e4e35b7f68);
283
- $parcel$export($813bc1b8103bd5b7$exports, "BridgeWiseESGSectionTypeEnum", () => $813bc1b8103bd5b7$export$32117334619b7ffd);
284
- $parcel$export($813bc1b8103bd5b7$exports, "BridgeWiseEarningsCallRecapEnum", () => $813bc1b8103bd5b7$export$5cc1bd4e8529a6f4);
285
- $parcel$export($813bc1b8103bd5b7$exports, "BridgeWiseFundamentalParagraphSectionTypeEnum", () => $813bc1b8103bd5b7$export$9e68635517b67c3d);
286
- $parcel$export($813bc1b8103bd5b7$exports, "BridgeWiseNewsSentimentEnum", () => $813bc1b8103bd5b7$export$8854de10e6c0b3fb);
287
- $parcel$export($813bc1b8103bd5b7$exports, "BridgeWiseScoringMethodEnum", () => $813bc1b8103bd5b7$export$ceb8afb8129e6365);
288
- $parcel$export($813bc1b8103bd5b7$exports, "BridgeWiseESGScoreGroup", () => $813bc1b8103bd5b7$export$6b51090cd2821b58);
289
- $parcel$export($813bc1b8103bd5b7$exports, "BridgeWiseFundsSegmentParameterEnum", () => $813bc1b8103bd5b7$export$1344c1e5dd7f8065);
290
- $parcel$export($813bc1b8103bd5b7$exports, "BridgeWisePeriodTypeEnum", () => $813bc1b8103bd5b7$export$f0f71258f085ddac);
291
- $parcel$export($813bc1b8103bd5b7$exports, "BridgeWiseSectionTypeEnum", () => $813bc1b8103bd5b7$export$4853ec72839176c4);
292
- $parcel$export($813bc1b8103bd5b7$exports, "BridgeWiseAnalysisTypeEnum", () => $813bc1b8103bd5b7$export$ba7d554defb51874);
293
- $parcel$export($813bc1b8103bd5b7$exports, "BridgeWiseFundamentalSectionTypeEnum", () => $813bc1b8103bd5b7$export$24d6864990f5f7aa);
294
- $parcel$export($813bc1b8103bd5b7$exports, "BridgeWiseGlobalIndustryScoringEnum", () => $813bc1b8103bd5b7$export$4747fbb1cdeb7178);
295
- $parcel$export($813bc1b8103bd5b7$exports, "BridgeWiseScoreMethodology", () => $813bc1b8103bd5b7$export$24b1914c12c213f);
296
- $parcel$export($813bc1b8103bd5b7$exports, "BridgeWiseEventTypeEnum", () => $813bc1b8103bd5b7$export$f0b75f45f69a4540);
297
- $parcel$export($813bc1b8103bd5b7$exports, "BridgeWiseIdCheckConfigNameEnum", () => $813bc1b8103bd5b7$export$588b06f7e46916df);
298
- $parcel$export($813bc1b8103bd5b7$exports, "BridgeWiseIdCheckConfigOperatorEnum", () => $813bc1b8103bd5b7$export$cb17def74c46ff53);
299
- $parcel$export($813bc1b8103bd5b7$exports, "BridgeWiseMarketDataConfigNameEnum", () => $813bc1b8103bd5b7$export$a5bc1fcf395e4a94);
300
- $parcel$export($813bc1b8103bd5b7$exports, "BridgeWiseMarketDataConfigOperatorEnum", () => $813bc1b8103bd5b7$export$47bc006367dcd28b);
301
- $parcel$export($813bc1b8103bd5b7$exports, "BridgeWiseStockingFloatConfigOperatorEnum", () => $813bc1b8103bd5b7$export$e7a3c06fb78ff8ae);
302
- /* eslint-disable */ /* tslint:disable */ /*
303
- * ---------------------------------------------------------------
304
- * ## THIS FILE WAS GENERATED VIA SWAGGER-TYPESCRIPT-API ##
305
- * ## ##
306
- * ## AUTHOR: acacode ##
307
- * ## SOURCE: https://github.com/acacode/swagger-typescript-api ##
308
- * ---------------------------------------------------------------
309
- */ /** BadRequest */ var $813bc1b8103bd5b7$export$22b6b240b04439e0 = /*#__PURE__*/ function(BridgeWiseCompanyAlertSentiment) {
310
- BridgeWiseCompanyAlertSentiment["Positive"] = "positive";
311
- BridgeWiseCompanyAlertSentiment["Negative"] = "negative";
312
- return BridgeWiseCompanyAlertSentiment;
313
- }({});
314
- var $813bc1b8103bd5b7$export$c612fe5421ccfe03 = /*#__PURE__*/ function(BridgeWiseCompanyAlertType) {
315
- BridgeWiseCompanyAlertType["Fundamental"] = "fundamental";
316
- BridgeWiseCompanyAlertType["Market"] = "market";
317
- return BridgeWiseCompanyAlertType;
318
- }({});
319
- var $813bc1b8103bd5b7$export$4834334913be8914 = /*#__PURE__*/ function(BridgeWiseForecastType) {
320
- BridgeWiseForecastType["Esg"] = "esg";
321
- BridgeWiseForecastType["KeyDevelopments"] = "key_developments";
322
- BridgeWiseForecastType["News"] = "news";
323
- return BridgeWiseForecastType;
324
- }({});
325
- var $813bc1b8103bd5b7$export$5617fa30156f1a6e = /*#__PURE__*/ function(BridgeWiseLanguageEnum) {
326
- BridgeWiseLanguageEnum["ArSA"] = "ar-SA";
327
- BridgeWiseLanguageEnum["DeDE"] = "de-DE";
328
- BridgeWiseLanguageEnum["EnUS"] = "en-US";
329
- BridgeWiseLanguageEnum["EsES"] = "es-ES";
330
- BridgeWiseLanguageEnum["FrFR"] = "fr-FR";
331
- BridgeWiseLanguageEnum["HeIL"] = "he-IL";
332
- BridgeWiseLanguageEnum["NlNL"] = "nl-NL";
333
- BridgeWiseLanguageEnum["PtBR"] = "pt-BR";
334
- BridgeWiseLanguageEnum["TrTR"] = "tr-TR";
335
- BridgeWiseLanguageEnum["ZhCN"] = "zh-CN";
336
- BridgeWiseLanguageEnum["JaJP"] = "ja-JP";
337
- BridgeWiseLanguageEnum["KoKR"] = "ko-KR";
338
- BridgeWiseLanguageEnum["ThTH"] = "th-TH";
339
- BridgeWiseLanguageEnum["ZhHK"] = "zh-HK";
340
- return BridgeWiseLanguageEnum;
341
- }({});
342
- var $813bc1b8103bd5b7$export$c385344a7d23343b = /*#__PURE__*/ function(BridgeWiseCompanyFilterType) {
343
- BridgeWiseCompanyFilterType["Countries"] = "countries";
344
- BridgeWiseCompanyFilterType["GicsIndustry"] = "gics_industry";
345
- BridgeWiseCompanyFilterType["GicsSector"] = "gics_sector";
346
- BridgeWiseCompanyFilterType["Regions"] = "regions";
347
- BridgeWiseCompanyFilterType["GicsGroup"] = "gics_group";
348
- BridgeWiseCompanyFilterType["Currency"] = "currency";
349
- BridgeWiseCompanyFilterType["Exchange"] = "exchange";
350
- BridgeWiseCompanyFilterType["CsaIndustry"] = "csa_industry";
351
- BridgeWiseCompanyFilterType["Benchmark"] = "benchmark";
352
- BridgeWiseCompanyFilterType["Sponsor"] = "sponsor";
353
- BridgeWiseCompanyFilterType["Sector"] = "sector";
354
- BridgeWiseCompanyFilterType["ManagementStyle"] = "management_style";
355
- BridgeWiseCompanyFilterType["Recommendation"] = "recommendation";
356
- BridgeWiseCompanyFilterType["MarketCapEmphasis"] = "market_cap_emphasis";
357
- BridgeWiseCompanyFilterType["Exposure"] = "exposure";
358
- BridgeWiseCompanyFilterType["GeographyEmphasis"] = "geography_emphasis";
359
- BridgeWiseCompanyFilterType["MarketBenchmark"] = "market_benchmark";
360
- BridgeWiseCompanyFilterType["PrimaryBenchmark"] = "primary_benchmark";
361
- return BridgeWiseCompanyFilterType;
362
- }({});
363
- var $813bc1b8103bd5b7$export$e65fc06dc5bb6898 = /*#__PURE__*/ function(BridgeWiseCompositionTypeEnum) {
364
- BridgeWiseCompositionTypeEnum["Stocks"] = "stocks";
365
- BridgeWiseCompositionTypeEnum["Others"] = "others";
366
- return BridgeWiseCompositionTypeEnum;
367
- }({});
368
- var $813bc1b8103bd5b7$export$72e255e688a1fec5 = /*#__PURE__*/ function(BridgeWiseIdentifierTypeEnum) {
369
- BridgeWiseIdentifierTypeEnum["TickerExchange"] = "ticker_exchange";
370
- BridgeWiseIdentifierTypeEnum["Isin"] = "isin";
371
- return BridgeWiseIdentifierTypeEnum;
372
- }({});
373
- var $813bc1b8103bd5b7$export$be5b43c4d942b124 = /*#__PURE__*/ function(BridgeWiseImageExtensionEnum) {
374
- BridgeWiseImageExtensionEnum["Png"] = "png";
375
- BridgeWiseImageExtensionEnum["Svg"] = "svg";
376
- BridgeWiseImageExtensionEnum["Jpg"] = "jpg";
377
- return BridgeWiseImageExtensionEnum;
378
- }({});
379
- var $813bc1b8103bd5b7$export$d92a54bad69fbe2c = /*#__PURE__*/ function(BridgeWiseLogoSizeEnum) {
380
- BridgeWiseLogoSizeEnum["Original"] = "original";
381
- BridgeWiseLogoSizeEnum["Square"] = "square";
382
- return BridgeWiseLogoSizeEnum;
383
- }({});
384
- var $813bc1b8103bd5b7$export$344928575061a716 = /*#__PURE__*/ function(BridgeWiseLogoTypeEnum) {
385
- BridgeWiseLogoTypeEnum["Square"] = "square";
386
- BridgeWiseLogoTypeEnum["Horizontal"] = "horizontal";
387
- return BridgeWiseLogoTypeEnum;
388
- }({});
389
- var $813bc1b8103bd5b7$export$5a96543e0f8659b4 = /*#__PURE__*/ function(BridgeWiseStringBooleanEnum) {
390
- BridgeWiseStringBooleanEnum["True"] = "true";
391
- BridgeWiseStringBooleanEnum["False"] = "false";
392
- return BridgeWiseStringBooleanEnum;
393
- }({});
394
- var $813bc1b8103bd5b7$export$9f3370e4e35b7f68 = /*#__PURE__*/ function(BridgeWiseCompanyNewsSortingEnum) {
395
- BridgeWiseCompanyNewsSortingEnum["PublicationDate"] = "publication_date";
396
- BridgeWiseCompanyNewsSortingEnum["RelevancyScore"] = "relevancy_score";
397
- BridgeWiseCompanyNewsSortingEnum["SocialShares"] = "social_shares";
398
- return BridgeWiseCompanyNewsSortingEnum;
399
- }({});
400
- var $813bc1b8103bd5b7$export$32117334619b7ffd = /*#__PURE__*/ function(BridgeWiseESGSectionTypeEnum) {
401
- BridgeWiseESGSectionTypeEnum["Social"] = "social";
402
- BridgeWiseESGSectionTypeEnum["Environmental"] = "environmental";
403
- BridgeWiseESGSectionTypeEnum["Governance"] = "governance";
404
- BridgeWiseESGSectionTypeEnum["Summary"] = "summary";
405
- BridgeWiseESGSectionTypeEnum["Controversies"] = "controversies";
406
- BridgeWiseESGSectionTypeEnum["Transparency"] = "transparency";
407
- BridgeWiseESGSectionTypeEnum["Weaknesses"] = "weaknesses";
408
- return BridgeWiseESGSectionTypeEnum;
409
- }({});
410
- var $813bc1b8103bd5b7$export$5cc1bd4e8529a6f4 = /*#__PURE__*/ function(BridgeWiseEarningsCallRecapEnum) {
411
- BridgeWiseEarningsCallRecapEnum["Highlights"] = "highlights";
412
- BridgeWiseEarningsCallRecapEnum["Lowlights"] = "lowlights";
413
- return BridgeWiseEarningsCallRecapEnum;
414
- }({});
415
- var $813bc1b8103bd5b7$export$9e68635517b67c3d = /*#__PURE__*/ function(BridgeWiseFundamentalParagraphSectionTypeEnum) {
416
- BridgeWiseFundamentalParagraphSectionTypeEnum["BalanceSheet"] = "balance_sheet";
417
- BridgeWiseFundamentalParagraphSectionTypeEnum["IncomeStatement"] = "income_statement";
418
- BridgeWiseFundamentalParagraphSectionTypeEnum["CashFlow"] = "cash_flow";
419
- BridgeWiseFundamentalParagraphSectionTypeEnum["CompanyDescription"] = "company_description";
420
- BridgeWiseFundamentalParagraphSectionTypeEnum["CompanyFundamentals"] = "company_fundamentals";
421
- BridgeWiseFundamentalParagraphSectionTypeEnum["SummaryRecommendation"] = "summary_recommendation";
422
- return BridgeWiseFundamentalParagraphSectionTypeEnum;
423
- }({});
424
- var $813bc1b8103bd5b7$export$8854de10e6c0b3fb = /*#__PURE__*/ function(BridgeWiseNewsSentimentEnum) {
425
- BridgeWiseNewsSentimentEnum["VeryNegative"] = "Very Negative";
426
- BridgeWiseNewsSentimentEnum["Negative"] = "Negative";
427
- BridgeWiseNewsSentimentEnum["Neutral"] = "Neutral";
428
- BridgeWiseNewsSentimentEnum["Positive"] = "Positive";
429
- BridgeWiseNewsSentimentEnum["VeryPositive"] = "Very Positive";
430
- BridgeWiseNewsSentimentEnum["Invalid"] = "Invalid";
431
- return BridgeWiseNewsSentimentEnum;
432
- }({});
433
- var $813bc1b8103bd5b7$export$ceb8afb8129e6365 = /*#__PURE__*/ function(BridgeWiseScoringMethodEnum) {
434
- BridgeWiseScoringMethodEnum["Global"] = "global";
435
- BridgeWiseScoringMethodEnum["Industry"] = "industry";
436
- BridgeWiseScoringMethodEnum["Country"] = "country";
437
- BridgeWiseScoringMethodEnum["Sector"] = "sector";
438
- return BridgeWiseScoringMethodEnum;
439
- }({});
440
- var $813bc1b8103bd5b7$export$6b51090cd2821b58 = /*#__PURE__*/ function(BridgeWiseESGScoreGroup) {
441
- BridgeWiseESGScoreGroup[BridgeWiseESGScoreGroup["Value5"] = 5] = "Value5";
442
- BridgeWiseESGScoreGroup[BridgeWiseESGScoreGroup["Value4"] = 4] = "Value4";
443
- BridgeWiseESGScoreGroup[BridgeWiseESGScoreGroup["Value3"] = 3] = "Value3";
444
- BridgeWiseESGScoreGroup[BridgeWiseESGScoreGroup["Value2"] = 2] = "Value2";
445
- BridgeWiseESGScoreGroup[BridgeWiseESGScoreGroup["Value1"] = 1] = "Value1";
446
- return BridgeWiseESGScoreGroup;
447
- }({});
448
- var $813bc1b8103bd5b7$export$1344c1e5dd7f8065 = /*#__PURE__*/ function(BridgeWiseFundsSegmentParameterEnum) {
449
- BridgeWiseFundsSegmentParameterEnum["PeRatio"] = "pe_ratio";
450
- BridgeWiseFundsSegmentParameterEnum["PbRatio"] = "pb_ratio";
451
- BridgeWiseFundsSegmentParameterEnum["PsRatio"] = "ps_ratio";
452
- BridgeWiseFundsSegmentParameterEnum["NetDebtToEbitda"] = "net_debt_to_ebitda";
453
- BridgeWiseFundsSegmentParameterEnum["MarketCap"] = "market_cap";
454
- BridgeWiseFundsSegmentParameterEnum["Return1Y"] = "return_1y";
455
- BridgeWiseFundsSegmentParameterEnum["Roe"] = "roe";
456
- BridgeWiseFundsSegmentParameterEnum["RevenueGrowth"] = "revenue_growth";
457
- BridgeWiseFundsSegmentParameterEnum["SegmentStrength"] = "segment_strength";
458
- return BridgeWiseFundsSegmentParameterEnum;
459
- }({});
460
- var $813bc1b8103bd5b7$export$f0f71258f085ddac = /*#__PURE__*/ function(BridgeWisePeriodTypeEnum) {
461
- BridgeWisePeriodTypeEnum["Quarterly"] = "quarterly";
462
- BridgeWisePeriodTypeEnum["Annually"] = "annually";
463
- BridgeWisePeriodTypeEnum["Last12Month"] = "last_12_month";
464
- return BridgeWisePeriodTypeEnum;
465
- }({});
466
- var $813bc1b8103bd5b7$export$4853ec72839176c4 = /*#__PURE__*/ function(BridgeWiseSectionTypeEnum) {
467
- BridgeWiseSectionTypeEnum["BalanceSheet"] = "balance_sheet";
468
- BridgeWiseSectionTypeEnum["IncomeStatement"] = "income_statement";
469
- BridgeWiseSectionTypeEnum["CashFlow"] = "cash_flow";
470
- BridgeWiseSectionTypeEnum["Social"] = "social";
471
- BridgeWiseSectionTypeEnum["Environmental"] = "environmental";
472
- BridgeWiseSectionTypeEnum["Governance"] = "governance";
473
- BridgeWiseSectionTypeEnum["Summary"] = "summary";
474
- BridgeWiseSectionTypeEnum["Probability"] = "probability";
475
- return BridgeWiseSectionTypeEnum;
476
- }({});
477
- var $813bc1b8103bd5b7$export$ba7d554defb51874 = /*#__PURE__*/ function(BridgeWiseAnalysisTypeEnum) {
478
- BridgeWiseAnalysisTypeEnum["Fundamental"] = "fundamental";
479
- BridgeWiseAnalysisTypeEnum["Esg"] = "esg";
480
- BridgeWiseAnalysisTypeEnum["PriceTarget"] = "price_target";
481
- BridgeWiseAnalysisTypeEnum["Technical"] = "technical";
482
- return BridgeWiseAnalysisTypeEnum;
483
- }({});
484
- var $813bc1b8103bd5b7$export$24d6864990f5f7aa = /*#__PURE__*/ function(BridgeWiseFundamentalSectionTypeEnum) {
485
- BridgeWiseFundamentalSectionTypeEnum["BalanceSheet"] = "balance_sheet";
486
- BridgeWiseFundamentalSectionTypeEnum["IncomeStatement"] = "income_statement";
487
- BridgeWiseFundamentalSectionTypeEnum["CashFlow"] = "cash_flow";
488
- return BridgeWiseFundamentalSectionTypeEnum;
489
- }({});
490
- var $813bc1b8103bd5b7$export$4747fbb1cdeb7178 = /*#__PURE__*/ function(BridgeWiseGlobalIndustryScoringEnum) {
491
- BridgeWiseGlobalIndustryScoringEnum["Global"] = "global";
492
- BridgeWiseGlobalIndustryScoringEnum["Industry"] = "industry";
493
- return BridgeWiseGlobalIndustryScoringEnum;
494
- }({});
495
- var $813bc1b8103bd5b7$export$24b1914c12c213f = /*#__PURE__*/ function(BridgeWiseScoreMethodology) {
496
- BridgeWiseScoreMethodology["Global"] = "global";
497
- BridgeWiseScoreMethodology["Industry"] = "industry";
498
- BridgeWiseScoreMethodology["Country"] = "country";
499
- BridgeWiseScoreMethodology["Sector"] = "sector";
500
- return BridgeWiseScoreMethodology;
501
- }({});
502
- var $813bc1b8103bd5b7$export$f0b75f45f69a4540 = /*#__PURE__*/ function(BridgeWiseEventTypeEnum) {
503
- BridgeWiseEventTypeEnum["PolicyThreshold"] = "policy_threshold";
504
- BridgeWiseEventTypeEnum["InternalCoverage"] = "internal_coverage";
505
- BridgeWiseEventTypeEnum["BwRecommendation"] = "bw_recommendation";
506
- return BridgeWiseEventTypeEnum;
507
- }({});
508
- var $813bc1b8103bd5b7$export$588b06f7e46916df = /*#__PURE__*/ function(BridgeWiseIdCheckConfigNameEnum) {
509
- BridgeWiseIdCheckConfigNameEnum["Index"] = "index";
510
- BridgeWiseIdCheckConfigNameEnum["Exchange"] = "exchange";
511
- BridgeWiseIdCheckConfigNameEnum["DomicileCountry"] = "domicile_country";
512
- BridgeWiseIdCheckConfigNameEnum["ExchangeCountry"] = "exchange_country";
513
- return BridgeWiseIdCheckConfigNameEnum;
514
- }({});
515
- var $813bc1b8103bd5b7$export$cb17def74c46ff53 = /*#__PURE__*/ function(BridgeWiseIdCheckConfigOperatorEnum) {
516
- BridgeWiseIdCheckConfigOperatorEnum["Isin"] = "isin";
517
- BridgeWiseIdCheckConfigOperatorEnum["Notin"] = "notin";
518
- return BridgeWiseIdCheckConfigOperatorEnum;
519
- }({});
520
- var $813bc1b8103bd5b7$export$a5bc1fcf395e4a94 = /*#__PURE__*/ function(BridgeWiseMarketDataConfigNameEnum) {
521
- BridgeWiseMarketDataConfigNameEnum["MarketCap"] = "market_cap";
522
- BridgeWiseMarketDataConfigNameEnum["Volume"] = "volume";
523
- return BridgeWiseMarketDataConfigNameEnum;
524
- }({});
525
- var $813bc1b8103bd5b7$export$47bc006367dcd28b = /*#__PURE__*/ function(BridgeWiseMarketDataConfigOperatorEnum) {
526
- BridgeWiseMarketDataConfigOperatorEnum["Ge"] = "ge";
527
- BridgeWiseMarketDataConfigOperatorEnum["Le"] = "le";
528
- BridgeWiseMarketDataConfigOperatorEnum["Gt"] = "gt";
529
- BridgeWiseMarketDataConfigOperatorEnum["Lt"] = "lt";
530
- return BridgeWiseMarketDataConfigOperatorEnum;
531
- }({});
532
- var $813bc1b8103bd5b7$export$e7a3c06fb78ff8ae = /*#__PURE__*/ function(BridgeWiseStockingFloatConfigOperatorEnum) {
533
- BridgeWiseStockingFloatConfigOperatorEnum["Ge"] = "ge";
534
- BridgeWiseStockingFloatConfigOperatorEnum["Le"] = "le";
535
- BridgeWiseStockingFloatConfigOperatorEnum["Gt"] = "gt";
536
- BridgeWiseStockingFloatConfigOperatorEnum["Lt"] = "lt";
537
- return BridgeWiseStockingFloatConfigOperatorEnum;
538
- }({});
539
-
540
-
541
- var $1b04ff39df286219$exports = {};
542
-
543
- $parcel$export($1b04ff39df286219$exports, "Logos", () => $1b04ff39df286219$export$c847549a613b9060);
544
- /* eslint-disable */ /* tslint:disable */ /*
545
- * ---------------------------------------------------------------
546
- * ## THIS FILE WAS GENERATED VIA SWAGGER-TYPESCRIPT-API ##
547
- * ## ##
548
- * ## AUTHOR: acacode ##
549
- * ## SOURCE: https://github.com/acacode/swagger-typescript-api ##
550
- * ---------------------------------------------------------------
551
- */
552
- class $1b04ff39df286219$export$c847549a613b9060 {
553
- constructor(apiClient){
554
- this.apiClient = apiClient;
555
- (0, ($parcel$interopDefault($8CIhi$autobind)))(this);
556
- }
557
- /**
558
- * @description Supports bulk operations by allowing users to retrieve logos for multiple specified companies using a list of company identifiers.
559
- * @tags Logos
560
- * @name FetchLogos
561
- * @summary Fetch Logos
562
- * @request GET:/companies/logos
563
- * @secure
564
- */ fetchLogos(query, config) {
565
- return this.apiClient.request({
566
- ...config,
567
- url: `/companies/logos`,
568
- method: 'GET',
569
- params: query,
570
- secure: true,
571
- responseType: 'json'
572
- });
573
- }
574
- /**
575
- * @description Retrieves the logo for a specified company using the provided company_id.
576
- * @tags Logos
577
- * @name FetchLogo
578
- * @summary Fetch Logo
579
- * @request GET:/companies/{company_id}/logos
580
- * @secure
581
- */ fetchLogo(companyId, config) {
582
- return this.apiClient.request({
583
- ...config,
584
- url: `/companies/${companyId}/logos`,
585
- method: 'GET',
586
- secure: true,
587
- responseType: 'json'
588
- });
589
- }
590
- }
591
-
592
-
593
- var $4faa577c150abcf9$exports = {};
594
-
595
- $parcel$export($4faa577c150abcf9$exports, "CompanyMetadata", () => $4faa577c150abcf9$export$a3569d47d58b6220);
596
- /* eslint-disable */ /* tslint:disable */ /*
597
- * ---------------------------------------------------------------
598
- * ## THIS FILE WAS GENERATED VIA SWAGGER-TYPESCRIPT-API ##
599
- * ## ##
600
- * ## AUTHOR: acacode ##
601
- * ## SOURCE: https://github.com/acacode/swagger-typescript-api ##
602
- * ---------------------------------------------------------------
603
- */
604
- class $4faa577c150abcf9$export$a3569d47d58b6220 {
605
- constructor(apiClient){
606
- this.apiClient = apiClient;
607
- (0, ($parcel$interopDefault($8CIhi$autobind)))(this);
608
- }
609
- /**
610
- * @description Enables users to search and filter companies based on a range of financial and non-financial criteria, returning a detailed list of companies that match the specified parameters.
611
- * @tags Company Metadata
612
- * @name GetCompanies
613
- * @summary Get Companies
614
- * @request GET:/companies
615
- * @secure
616
- */ getCompanies(query, config) {
617
- return this.apiClient.request({
618
- ...config,
619
- url: `/companies`,
620
- method: 'GET',
621
- params: query,
622
- secure: true,
623
- responseType: 'json'
624
- });
625
- }
626
- /**
627
- * @description Retrieves the metadata object of a specific company identified by the company_id. It provides detailed information about the company's characteristics.
628
- * @tags Company Metadata
629
- * @name GetCompany
630
- * @summary Get Company
631
- * @request GET:/companies/{company_id}
632
- * @secure
633
- */ getCompany(companyId, query, config) {
634
- return this.apiClient.request({
635
- ...config,
636
- url: `/companies/${companyId}`,
637
- method: 'GET',
638
- params: query,
639
- secure: true,
640
- responseType: 'json'
641
- });
642
- }
643
- /**
644
- * @description Converts external identifiers (e.g., ISIN, ticker-exchange) into Bridgewise internal identifiers. This endpoint facilitates the mapping between external and internal identifiers for seamless integration within the Bridgewise ecosystem.
645
- * @tags Company Metadata, Fund Metadata
646
- * @name GetIdentifierSearch
647
- * @summary Get Identifier Search
648
- * @request GET:/identifier-search
649
- * @secure
650
- */ getIdentifierSearch(query, config) {
651
- return this.apiClient.request({
652
- ...config,
653
- url: `/identifier-search`,
654
- method: 'GET',
655
- params: query,
656
- secure: true,
657
- responseType: 'json'
658
- });
659
- }
660
- }
661
-
662
-
663
- var $d8af43400d6c4a70$exports = {};
664
-
665
- $parcel$export($d8af43400d6c4a70$exports, "Activities", () => $d8af43400d6c4a70$export$9f452a83448c0998);
666
- /* eslint-disable */ /* tslint:disable */ /*
667
- * ---------------------------------------------------------------
668
- * ## THIS FILE WAS GENERATED VIA SWAGGER-TYPESCRIPT-API ##
669
- * ## ##
670
- * ## AUTHOR: acacode ##
671
- * ## SOURCE: https://github.com/acacode/swagger-typescript-api ##
672
- * ---------------------------------------------------------------
673
- */
674
- class $d8af43400d6c4a70$export$9f452a83448c0998 {
675
- constructor(apiClient){
676
- this.apiClient = apiClient;
677
- (0, ($parcel$interopDefault($8CIhi$autobind)))(this);
678
- }
679
- /**
680
- * @description Provides for a specific company access to a comprehensive set of key alerts highlighting significant Fundamental and Market data points and ratios that may influence a company's stock performance. Bridgewise enhances this information by categorizing each alert, offering a concise explanation of its significance, and providing sentiment analysis to indicate the likely positive or negative impact on the stock.
681
- * @tags Activities
682
- * @name GetCompanyAlerts
683
- * @summary Get Company Alerts
684
- * @request GET:/companies/{company_id}/alerts
685
- * @secure
686
- */ getCompanyAlerts(companyId, query, config) {
687
- return this.apiClient.request({
688
- ...config,
689
- url: `/companies/${companyId}/alerts`,
690
- method: 'GET',
691
- params: query,
692
- secure: true,
693
- responseType: 'json'
694
- });
695
- }
696
- /**
697
- * @description Provides for a specifc company access to a collection of external events, including news articles, corporate announcements, and other relevant occurrences, that may impact a company's stock performance. Bridgewise enhances this information by categorizing each event, providing a concise explanation, and offering sentiment analysis to indicate its likely positive or negative impact on the stock.
698
- * @tags Activities
699
- * @name GetCompanyForecastsKeyDevelopment
700
- * @summary Get Company Forecasts Key Development
701
- * @request GET:/companies/{company_id}/key-developments
702
- * @secure
703
- */ getCompanyForecastsKeyDevelopment(companyId, query, config) {
704
- return this.apiClient.request({
705
- ...config,
706
- url: `/companies/${companyId}/key-developments`,
707
- method: 'GET',
708
- params: query,
709
- secure: true,
710
- responseType: 'json'
711
- });
712
- }
713
- }
714
-
715
-
716
- var $47cf99c57fc883e4$exports = {};
717
-
718
- $parcel$export($47cf99c57fc883e4$exports, "EarningCalls", () => $47cf99c57fc883e4$export$ffcaf5c2bf6a769b);
719
- /* eslint-disable */ /* tslint:disable */ /*
720
- * ---------------------------------------------------------------
721
- * ## THIS FILE WAS GENERATED VIA SWAGGER-TYPESCRIPT-API ##
722
- * ## ##
723
- * ## AUTHOR: acacode ##
724
- * ## SOURCE: https://github.com/acacode/swagger-typescript-api ##
725
- * ---------------------------------------------------------------
726
- */
727
- class $47cf99c57fc883e4$export$ffcaf5c2bf6a769b {
728
- constructor(apiClient){
729
- this.apiClient = apiClient;
730
- (0, ($parcel$interopDefault($8CIhi$autobind)))(this);
731
- }
732
- /**
733
- * @description Provides the Guidance text of the company for the next quarter as described and summarized from the date specified earnings call. In addition, it provides a summary to allow earnings call data integration with the Bridget product.
734
- * @tags Earning Calls
735
- * @name GetCompanyEarningsCalls
736
- * @summary Get Company Earnings Calls
737
- * @request GET:/companies/{company_id}/earnings-call
738
- * @secure
739
- */ getCompanyEarningsCalls(companyId, query, config) {
740
- return this.apiClient.request({
741
- ...config,
742
- url: `/companies/${companyId}/earnings-call`,
743
- method: 'GET',
744
- params: query,
745
- secure: true,
746
- responseType: 'json'
747
- });
748
- }
749
- /**
750
- * @description Provides the highlights and lowlights of the company summarized from the earning call date specified.
751
- * @tags Earning Calls
752
- * @name GetEarningsCallsRecaps
753
- * @summary Get Earnings Calls Recaps
754
- * @request GET:/companies/{company_id}/earnings-call/{year_quarter}/recaps
755
- * @secure
756
- */ getEarningsCallsRecaps(yearQuarter, companyId, query, config) {
757
- return this.apiClient.request({
758
- ...config,
759
- url: `/companies/${companyId}/earnings-call/${yearQuarter}/recaps`,
760
- method: 'GET',
761
- params: query,
762
- secure: true,
763
- responseType: 'json'
764
- });
765
- }
766
- }
767
-
768
-
769
- var $5e18f9f89a60b3f1$exports = {};
770
-
771
- $parcel$export($5e18f9f89a60b3f1$exports, "EsgAnalysis", () => $5e18f9f89a60b3f1$export$e6857acf1fd40fad);
772
- /* eslint-disable */ /* tslint:disable */ /*
773
- * ---------------------------------------------------------------
774
- * ## THIS FILE WAS GENERATED VIA SWAGGER-TYPESCRIPT-API ##
775
- * ## ##
776
- * ## AUTHOR: acacode ##
777
- * ## SOURCE: https://github.com/acacode/swagger-typescript-api ##
778
- * ---------------------------------------------------------------
779
- */
780
- class $5e18f9f89a60b3f1$export$e6857acf1fd40fad {
781
- constructor(apiClient){
782
- this.apiClient = apiClient;
783
- (0, ($parcel$interopDefault($8CIhi$autobind)))(this);
784
- }
785
- /**
786
- * @description Returns Bridgewise's comprehensive ESG (Environmental, Social, and Governance) analysis for a specified company, evaluating its sustainability practices and impact.
787
- * @tags ESG Analysis
788
- * @name GetCompanyEsgAnalysis
789
- * @summary Get Company Esg Analysis
790
- * @request GET:/companies/{company_id}/esg-analysis
791
- * @secure
792
- */ getCompanyEsgAnalysis(companyId, query, config) {
793
- return this.apiClient.request({
794
- ...config,
795
- url: `/companies/${companyId}/esg-analysis`,
796
- method: 'GET',
797
- params: query,
798
- secure: true,
799
- responseType: 'json'
800
- });
801
- }
802
- /**
803
- * @description This endpoint delivers in-depth textual evaluations of a company's environmental, social, and governance (ESG) practices.
804
- * @tags ESG Analysis
805
- * @name GetCompanyEsgParagraphs
806
- * @summary Get Company Esg Paragraphs
807
- * @request GET:/companies/{company_id}/esg-paragraphs
808
- * @secure
809
- */ getCompanyEsgParagraphs(companyId, query, config) {
810
- return this.apiClient.request({
811
- ...config,
812
- url: `/companies/${companyId}/esg-paragraphs`,
813
- method: 'GET',
814
- params: query,
815
- secure: true,
816
- responseType: 'json'
817
- });
818
- }
819
- /**
820
- * @description Breaks down the specific parameters used in the ESG analysis, including environmental metrics, social factors, and corporate governance indicators.
821
- * @tags ESG Analysis
822
- * @name GetCompanyEsgParameters
823
- * @summary Get Company Esg Parameters
824
- * @request GET:/companies/{company_id}/esg-parameters
825
- * @secure
826
- */ getCompanyEsgParameters(companyId, query, config) {
827
- return this.apiClient.request({
828
- ...config,
829
- url: `/companies/${companyId}/esg-parameters`,
830
- method: 'GET',
831
- params: query,
832
- secure: true,
833
- responseType: 'json'
834
- });
835
- }
836
- /**
837
- * @description Provides scores for the different sections of the ESG analysis, such as environmental impact, social responsibility, and governance practices.
838
- * @tags ESG Analysis
839
- * @name GetCompanyEsgSections
840
- * @summary Get Company Esg Sections
841
- * @request GET:/companies/{company_id}/esg-sections
842
- * @secure
843
- */ getCompanyEsgSections(companyId, query, config) {
844
- return this.apiClient.request({
845
- ...config,
846
- url: `/companies/${companyId}/esg-sections`,
847
- method: 'GET',
848
- params: query,
849
- secure: true,
850
- responseType: 'json'
851
- });
852
- }
853
- /**
854
- * @description This endpoint provides access to a collection of external events, such as news articles, corporate announcements, and other relevant occurrences, that have the potential to impact a company's stock performance. Bridgewise enhances the utility of this information by including a sentiment analysis for each listed event, determining its likely positive or negative impact on the stock.
855
- * @tags ESG Analysis
856
- * @name GetCompanyForecastsMsa
857
- * @summary Get Company Forecasts Msa
858
- * @request GET:/companies/{company_id}/sustainability-incidents
859
- * @secure
860
- */ getCompanyForecastsMsa(companyId, query, config) {
861
- return this.apiClient.request({
862
- ...config,
863
- url: `/companies/${companyId}/sustainability-incidents`,
864
- method: 'GET',
865
- params: query,
866
- secure: true,
867
- responseType: 'json'
868
- });
869
- }
870
- }
871
-
872
-
873
- var $bf7a9b42aa9e34a4$exports = {};
874
-
875
- $parcel$export($bf7a9b42aa9e34a4$exports, "FundamentalAnalysis", () => $bf7a9b42aa9e34a4$export$5035e5ace0b74818);
876
- /* eslint-disable */ /* tslint:disable */ /*
877
- * ---------------------------------------------------------------
878
- * ## THIS FILE WAS GENERATED VIA SWAGGER-TYPESCRIPT-API ##
879
- * ## ##
880
- * ## AUTHOR: acacode ##
881
- * ## SOURCE: https://github.com/acacode/swagger-typescript-api ##
882
- * ---------------------------------------------------------------
883
- */
884
- class $bf7a9b42aa9e34a4$export$5035e5ace0b74818 {
885
- constructor(apiClient){
886
- this.apiClient = apiClient;
887
- (0, ($parcel$interopDefault($8CIhi$autobind)))(this);
888
- }
889
- /**
890
- * @description Returns Bridgewise's final fundamental analysis for a specified company, evaluating its fundamental strength.
891
- * @tags Fundamental Analysis
892
- * @name GetCompanyFundamentalAnalysis
893
- * @summary Get Company Fundamental Analysis
894
- * @request GET:/companies/{company_id}/fundamental-analysis
895
- * @secure
896
- */ getCompanyFundamentalAnalysis(companyId, query, config) {
897
- return this.apiClient.request({
898
- ...config,
899
- url: `/companies/${companyId}/fundamental-analysis`,
900
- method: 'GET',
901
- params: query,
902
- secure: true,
903
- responseType: 'json'
904
- });
905
- }
906
- /**
907
- * @description This endpoint provides detailed textual analyses focused on a company's financial health, including its profitability, balance sheet, cash flow and income statement.
908
- * @tags Fundamental Analysis
909
- * @name GetCompanyFundamentalParagraphs
910
- * @summary Get Company Fundamental Paragraphs
911
- * @request GET:/companies/{company_id}/fundamental-paragraphs
912
- * @secure
913
- */ getCompanyFundamentalParagraphs(companyId, query, config) {
914
- return this.apiClient.request({
915
- ...config,
916
- url: `/companies/${companyId}/fundamental-paragraphs`,
917
- method: 'GET',
918
- params: query,
919
- secure: true,
920
- responseType: 'json'
921
- });
922
- }
923
- /**
924
- * @description Offers an in-depth breakdown of the parameters used in the fundamental analysis, detailing more than 100 key metrics within the income statement, balance sheet and cash flow financial statements.
925
- * @tags Fundamental Analysis
926
- * @name GetCompanyFundamentalParameters
927
- * @summary Get Company Fundamental Parameters
928
- * @request GET:/companies/{company_id}/fundamental-parameters
929
- * @secure
930
- */ getCompanyFundamentalParameters(companyId, query, config) {
931
- return this.apiClient.request({
932
- ...config,
933
- url: `/companies/${companyId}/fundamental-parameters`,
934
- method: 'GET',
935
- params: query,
936
- secure: true,
937
- responseType: 'json'
938
- });
939
- }
940
- /**
941
- * @description Provides scores for individual sections of the company's fundamental analysis, including the balance sheet, income statement, and cash flow performance.
942
- * @tags Fundamental Analysis
943
- * @name GetCompanyFundamentalSections
944
- * @summary Get Company Fundamental Sections
945
- * @request GET:/companies/{company_id}/fundamental-sections
946
- * @secure
947
- */ getCompanyFundamentalSections(companyId, query, config) {
948
- return this.apiClient.request({
949
- ...config,
950
- url: `/companies/${companyId}/fundamental-sections`,
951
- method: 'GET',
952
- params: query,
953
- secure: true,
954
- responseType: 'json'
955
- });
956
- }
957
- /**
958
- * @description Provides Bridgewise's proprietary price target estimation for a specific company, including its percentage difference from the current stock price and the calculated probability of reaching this target.
959
- * @tags Fundamental Analysis
960
- * @name GetTargetPrice
961
- * @summary Get Target Price
962
- * @request GET:/companies/{company_id}/target-price
963
- * @secure
964
- */ getTargetPrice(companyId, query, config) {
965
- return this.apiClient.request({
966
- ...config,
967
- url: `/companies/${companyId}/target-price`,
968
- method: 'GET',
969
- params: query,
970
- secure: true,
971
- responseType: 'json'
972
- });
973
- }
974
- }
975
-
976
-
977
- var $88844d4dd11bdea9$exports = {};
978
-
979
- $parcel$export($88844d4dd11bdea9$exports, "CompanyMarketData", () => $88844d4dd11bdea9$export$bd5b3784846d9656);
980
- /* eslint-disable */ /* tslint:disable */ /*
981
- * ---------------------------------------------------------------
982
- * ## THIS FILE WAS GENERATED VIA SWAGGER-TYPESCRIPT-API ##
983
- * ## ##
984
- * ## AUTHOR: acacode ##
985
- * ## SOURCE: https://github.com/acacode/swagger-typescript-api ##
986
- * ---------------------------------------------------------------
987
- */
988
- class $88844d4dd11bdea9$export$bd5b3784846d9656 {
989
- constructor(apiClient){
990
- this.apiClient = apiClient;
991
- (0, ($parcel$interopDefault($8CIhi$autobind)))(this);
992
- }
993
- /**
994
- * @description Offers key market data for the specified company, including daily high, open, low, close prices, and market capitalization.
995
- * @tags Company Market Data
996
- * @name GetCompanyMarketData
997
- * @summary Get Company Market Data
998
- * @request GET:/companies/{company_id}/market
999
- * @secure
1000
- */ getCompanyMarketData(companyId, query, config) {
1001
- return this.apiClient.request({
1002
- ...config,
1003
- url: `/companies/${companyId}/market`,
1004
- method: 'GET',
1005
- params: query,
1006
- secure: true,
1007
- responseType: 'json'
1008
- });
1009
- }
1010
- /**
1011
- * @description Provides detailed market statistics for the specified company, including returns over various periods: 1 week, 1 month, 6 months, 1 year, YTD, and 5 years.
1012
- * @tags Company Market Data
1013
- * @name GetCompanyMarketStatistics
1014
- * @summary Get Company Market Statistics
1015
- * @request GET:/companies/{company_id}/market-statistics
1016
- * @secure
1017
- */ getCompanyMarketStatistics(companyId, query, config) {
1018
- return this.apiClient.request({
1019
- ...config,
1020
- url: `/companies/${companyId}/market-statistics`,
1021
- method: 'GET',
1022
- params: query,
1023
- secure: true,
1024
- responseType: 'json'
1025
- });
1026
- }
1027
- /**
1028
- * @description Returns detailed information on trading items related to the specified company, focusing exclusively on stocks.
1029
- * @tags Company Market Data
1030
- * @name GetTradingItems
1031
- * @summary Get Trading Items
1032
- * @request GET:/companies/{company_id}/trading-items
1033
- * @secure
1034
- */ getTradingItems(companyId, query, config) {
1035
- return this.apiClient.request({
1036
- ...config,
1037
- url: `/companies/${companyId}/trading-items`,
1038
- method: 'GET',
1039
- params: query,
1040
- secure: true,
1041
- responseType: 'json'
1042
- });
1043
- }
1044
- }
1045
-
1046
-
1047
- var $d3a6b4b06f33e9d0$exports = {};
1048
-
1049
- $parcel$export($d3a6b4b06f33e9d0$exports, "Forecasts", () => $d3a6b4b06f33e9d0$export$7902975ecbf00a23);
1050
- /* eslint-disable */ /* tslint:disable */ /*
1051
- * ---------------------------------------------------------------
1052
- * ## THIS FILE WAS GENERATED VIA SWAGGER-TYPESCRIPT-API ##
1053
- * ## ##
1054
- * ## AUTHOR: acacode ##
1055
- * ## SOURCE: https://github.com/acacode/swagger-typescript-api ##
1056
- * ---------------------------------------------------------------
1057
- */
1058
- class $d3a6b4b06f33e9d0$export$7902975ecbf00a23 {
1059
- constructor(apiClient){
1060
- this.apiClient = apiClient;
1061
- (0, ($parcel$interopDefault($8CIhi$autobind)))(this);
1062
- }
1063
- /**
1064
- * @description <b>!!!WILL BE DEPRECATED!!!</b>
1065
- * @tags Forecasts
1066
- * @name GetCompanyForecasts
1067
- * @summary Get Company Forecasts
1068
- * @request GET:/companies/{company_id}/forecasts
1069
- * @secure
1070
- */ getCompanyForecasts(companyId, query, config) {
1071
- return this.apiClient.request({
1072
- ...config,
1073
- url: `/companies/${companyId}/forecasts`,
1074
- method: 'GET',
1075
- params: query,
1076
- secure: true,
1077
- responseType: 'json'
1078
- });
1079
- }
1080
- }
1081
-
1082
-
1083
- var $2ea25101bf5360b0$exports = {};
1084
-
1085
- $parcel$export($2ea25101bf5360b0$exports, "CompanyNews", () => $2ea25101bf5360b0$export$e3180e47c6194796);
1086
- /* eslint-disable */ /* tslint:disable */ /*
1087
- * ---------------------------------------------------------------
1088
- * ## THIS FILE WAS GENERATED VIA SWAGGER-TYPESCRIPT-API ##
1089
- * ## ##
1090
- * ## AUTHOR: acacode ##
1091
- * ## SOURCE: https://github.com/acacode/swagger-typescript-api ##
1092
- * ---------------------------------------------------------------
1093
- */
1094
- class $2ea25101bf5360b0$export$e3180e47c6194796 {
1095
- constructor(apiClient){
1096
- this.apiClient = apiClient;
1097
- (0, ($parcel$interopDefault($8CIhi$autobind)))(this);
1098
- }
1099
- /**
1100
- * @description This endpoint provides news articles related to the specified company.
1101
- * @tags Company News
1102
- * @name GetCompanyNews
1103
- * @summary Get Company News
1104
- * @request GET:/companies/{company_id}/news
1105
- * @secure
1106
- */ getCompanyNews(companyId, query, config) {
1107
- return this.apiClient.request({
1108
- ...config,
1109
- url: `/companies/${companyId}/news`,
1110
- method: 'GET',
1111
- params: query,
1112
- secure: true,
1113
- responseType: 'json'
1114
- });
1115
- }
1116
- /**
1117
- * @description This endpoint provides the average sentiment score of the news articles related to the specified company for the specified date range. Average sentiment scores are calculated based on the sentiment analysis of the news articles in english.
1118
- * @tags Company News
1119
- * @name GetAverageCompanyNewsSentiment
1120
- * @summary Get Average Company News Sentiment
1121
- * @request GET:/companies/{company_id}/news-sentiment
1122
- * @secure
1123
- */ getAverageCompanyNewsSentiment(companyId, query, config) {
1124
- return this.apiClient.request({
1125
- ...config,
1126
- url: `/companies/${companyId}/news-sentiment`,
1127
- method: 'GET',
1128
- params: query,
1129
- secure: true,
1130
- responseType: 'json'
1131
- });
1132
- }
1133
- }
1134
-
1135
-
1136
- var $a6230f7e71bfdca0$exports = {};
1137
-
1138
- $parcel$export($a6230f7e71bfdca0$exports, "TechnicalAnalysis", () => $a6230f7e71bfdca0$export$6e7b9d784240ad1a);
1139
- /* eslint-disable */ /* tslint:disable */ /*
1140
- * ---------------------------------------------------------------
1141
- * ## THIS FILE WAS GENERATED VIA SWAGGER-TYPESCRIPT-API ##
1142
- * ## ##
1143
- * ## AUTHOR: acacode ##
1144
- * ## SOURCE: https://github.com/acacode/swagger-typescript-api ##
1145
- * ---------------------------------------------------------------
1146
- */
1147
- class $a6230f7e71bfdca0$export$6e7b9d784240ad1a {
1148
- constructor(apiClient){
1149
- this.apiClient = apiClient;
1150
- (0, ($parcel$interopDefault($8CIhi$autobind)))(this);
1151
- }
1152
- /**
1153
- * @description This endpoint offers technical analysis of a company's stock price movements and trends.
1154
- * @tags Technical Analysis
1155
- * @name GetCompanyTechnicalParagraphs
1156
- * @summary Get Company Technical Paragraphs
1157
- * @request GET:/companies/{company_id}/technical-paragraphs
1158
- * @secure
1159
- */ getCompanyTechnicalParagraphs(companyId, query, config) {
1160
- return this.apiClient.request({
1161
- ...config,
1162
- url: `/companies/${companyId}/technical-paragraphs`,
1163
- method: 'GET',
1164
- params: query,
1165
- secure: true,
1166
- responseType: 'json'
1167
- });
1168
- }
1169
- }
1170
-
1171
-
1172
- var $adba8cd876023d78$exports = {};
1173
-
1174
- $parcel$export($adba8cd876023d78$exports, "Metadata", () => $adba8cd876023d78$export$e7adebdc1ebd2fed);
1175
- /* eslint-disable */ /* tslint:disable */ /*
1176
- * ---------------------------------------------------------------
1177
- * ## THIS FILE WAS GENERATED VIA SWAGGER-TYPESCRIPT-API ##
1178
- * ## ##
1179
- * ## AUTHOR: acacode ##
1180
- * ## SOURCE: https://github.com/acacode/swagger-typescript-api ##
1181
- * ---------------------------------------------------------------
1182
- */
1183
- class $adba8cd876023d78$export$e7adebdc1ebd2fed {
1184
- constructor(apiClient){
1185
- this.apiClient = apiClient;
1186
- (0, ($parcel$interopDefault($8CIhi$autobind)))(this);
1187
- }
1188
- /**
1189
- * @description This endpoint provides filters
1190
- * @tags Metadata
1191
- * @name GetCompanyFilters
1192
- * @summary Get Company Filters
1193
- * @request GET:/filters
1194
- * @secure
1195
- */ getCompanyFilters(query, config) {
1196
- return this.apiClient.request({
1197
- ...config,
1198
- url: `/filters`,
1199
- method: 'GET',
1200
- params: query,
1201
- secure: true,
1202
- responseType: 'json'
1203
- });
1204
- }
1205
- }
1206
-
1207
-
1208
- var $738f0c77d2ef1401$exports = {};
1209
-
1210
- $parcel$export($738f0c77d2ef1401$exports, "FundMetadata", () => $738f0c77d2ef1401$export$87687695e89b7ac0);
1211
- /* eslint-disable */ /* tslint:disable */ /*
1212
- * ---------------------------------------------------------------
1213
- * ## THIS FILE WAS GENERATED VIA SWAGGER-TYPESCRIPT-API ##
1214
- * ## ##
1215
- * ## AUTHOR: acacode ##
1216
- * ## SOURCE: https://github.com/acacode/swagger-typescript-api ##
1217
- * ---------------------------------------------------------------
1218
- */
1219
- class $738f0c77d2ef1401$export$87687695e89b7ac0 {
1220
- constructor(apiClient){
1221
- this.apiClient = apiClient;
1222
- (0, ($parcel$interopDefault($8CIhi$autobind)))(this);
1223
- }
1224
- /**
1225
- * @description Allows users to search and filter investment funds based on various financial and non-financial criteria. Returns a comprehensive list of funds that meet the specified filters, providing detailed information on each fund's characteristics.
1226
- * @tags Fund Metadata
1227
- * @name GetFunds
1228
- * @summary Get Funds
1229
- * @request GET:/funds
1230
- * @secure
1231
- */ getFunds(query, config) {
1232
- return this.apiClient.request({
1233
- ...config,
1234
- url: `/funds`,
1235
- method: 'GET',
1236
- params: query,
1237
- secure: true,
1238
- responseType: 'json'
1239
- });
1240
- }
1241
- /**
1242
- * @description Retrieves the metadata object of a specific fund identified by the fund_id. It provides detailed information about the fund's characteristics.
1243
- * @tags Fund Metadata
1244
- * @name GetFund
1245
- * @summary Get Fund
1246
- * @request GET:/funds/{fund_id}
1247
- * @secure
1248
- */ getFund(fundId, query, config) {
1249
- return this.apiClient.request({
1250
- ...config,
1251
- url: `/funds/${fundId}`,
1252
- method: 'GET',
1253
- params: query,
1254
- secure: true,
1255
- responseType: 'json'
1256
- });
1257
- }
1258
- }
1259
-
1260
-
1261
- var $d77de45c62e6f840$exports = {};
1262
-
1263
- $parcel$export($d77de45c62e6f840$exports, "FundAnalysis", () => $d77de45c62e6f840$export$231117303c7ad41a);
1264
- /* eslint-disable */ /* tslint:disable */ /*
1265
- * ---------------------------------------------------------------
1266
- * ## THIS FILE WAS GENERATED VIA SWAGGER-TYPESCRIPT-API ##
1267
- * ## ##
1268
- * ## AUTHOR: acacode ##
1269
- * ## SOURCE: https://github.com/acacode/swagger-typescript-api ##
1270
- * ---------------------------------------------------------------
1271
- */
1272
- class $d77de45c62e6f840$export$231117303c7ad41a {
1273
- constructor(apiClient){
1274
- this.apiClient = apiClient;
1275
- (0, ($parcel$interopDefault($8CIhi$autobind)))(this);
1276
- }
1277
- /**
1278
- * @description Returns Bridgewise final analysis for a specified fund.
1279
- * @tags Fund Analysis
1280
- * @name GetFundAnalysis
1281
- * @summary Get Fund Analysis
1282
- * @request GET:/funds/{fund_id}/analysis
1283
- * @secure
1284
- */ getFundAnalysis(fundId, query, config) {
1285
- return this.apiClient.request({
1286
- ...config,
1287
- url: `/funds/${fundId}/analysis`,
1288
- method: 'GET',
1289
- params: query,
1290
- secure: true,
1291
- responseType: 'json'
1292
- });
1293
- }
1294
- /**
1295
- * @description Returns a series of textual paragraphs related to the specified fund. Each paragraph provides detailed insights into different aspects of the fund's strategy, holdings, performance, and risk management.
1296
- * @tags Fund Analysis
1297
- * @name GetFundsParagraphs
1298
- * @summary Get Funds Paragraphs
1299
- * @request GET:/funds/{fund_id}/paragraphs
1300
- * @secure
1301
- */ getFundsParagraphs(fundId, query, config) {
1302
- return this.apiClient.request({
1303
- ...config,
1304
- url: `/funds/${fundId}/paragraphs`,
1305
- method: 'GET',
1306
- params: query,
1307
- secure: true,
1308
- responseType: 'json'
1309
- });
1310
- }
1311
- /**
1312
- * @description Returns a categorized list of parameter objects for a specified fund, organized into the following topics: holdings analysis, risk factors, and management metrics. These parameters offer detailed insights into various aspects of the fund's performance.
1313
- * @tags Fund Analysis
1314
- * @name GetFundParameters
1315
- * @summary Get Fund Parameters
1316
- * @request GET:/funds/{fund_id}/parameters
1317
- * @secure
1318
- */ getFundParameters(fundId, query, config) {
1319
- return this.apiClient.request({
1320
- ...config,
1321
- url: `/funds/${fundId}/parameters`,
1322
- method: 'GET',
1323
- params: query,
1324
- secure: true,
1325
- responseType: 'json'
1326
- });
1327
- }
1328
- /**
1329
- * @description Returns Bridgewise scores for each section of the analysis for a specified fund. This includes scores for multiple sections such as holdings analysis, risk factors, and management metrics.
1330
- * @tags Fund Analysis
1331
- * @name GetFundSections
1332
- * @summary Get Fund Sections
1333
- * @request GET:/funds/{fund_id}/sections
1334
- * @secure
1335
- */ getFundSections(fundId, query, config) {
1336
- return this.apiClient.request({
1337
- ...config,
1338
- url: `/funds/${fundId}/sections`,
1339
- method: 'GET',
1340
- params: query,
1341
- secure: true,
1342
- responseType: 'json'
1343
- });
1344
- }
1345
- }
1346
-
1347
-
1348
- var $c00a00c8cf9e3825$exports = {};
1349
-
1350
- $parcel$export($c00a00c8cf9e3825$exports, "Holdings", () => $c00a00c8cf9e3825$export$2aa97da599eea609);
1351
- /* eslint-disable */ /* tslint:disable */ /*
1352
- * ---------------------------------------------------------------
1353
- * ## THIS FILE WAS GENERATED VIA SWAGGER-TYPESCRIPT-API ##
1354
- * ## ##
1355
- * ## AUTHOR: acacode ##
1356
- * ## SOURCE: https://github.com/acacode/swagger-typescript-api ##
1357
- * ---------------------------------------------------------------
1358
- */
1359
- class $c00a00c8cf9e3825$export$2aa97da599eea609 {
1360
- constructor(apiClient){
1361
- this.apiClient = apiClient;
1362
- (0, ($parcel$interopDefault($8CIhi$autobind)))(this);
1363
- }
1364
- /**
1365
- * @description Details the asset allocation within the specified fund, including the distribution between stocks and other asset types, offering insights into the fund's investment strategy.
1366
- * @tags Holdings
1367
- * @name GetCompositions
1368
- * @summary Get Compositions
1369
- * @request GET:/funds/{fund_id}/compositions
1370
- * @secure
1371
- */ getCompositions(fundId, query, config) {
1372
- return this.apiClient.request({
1373
- ...config,
1374
- url: `/funds/${fundId}/compositions`,
1375
- method: 'GET',
1376
- params: query,
1377
- secure: true,
1378
- responseType: 'json'
1379
- });
1380
- }
1381
- /**
1382
- * @description Offers a distribution overview of Bridgewise recommendations for the holdings within the specified fund.
1383
- * @tags Holdings
1384
- * @name GetHoldingStatistics
1385
- * @summary Get Holding Statistics
1386
- * @request GET:/funds/{fund_id}/holding-statistics
1387
- * @secure
1388
- */ getHoldingStatistics(fundId, query, config) {
1389
- return this.apiClient.request({
1390
- ...config,
1391
- url: `/funds/${fundId}/holding-statistics`,
1392
- method: 'GET',
1393
- params: query,
1394
- secure: true,
1395
- responseType: 'json'
1396
- });
1397
- }
1398
- /**
1399
- * @description Provides a detailed list of holdings within the specified fund. Each object in the list includes pertinent information such as holding name, ticker, allocation percentage, and key financial metrics.
1400
- * @tags Holdings
1401
- * @name GetHoldings
1402
- * @summary Get Holdings
1403
- * @request GET:/funds/{fund_id}/holdings
1404
- * @secure
1405
- */ getHoldings(fundId, query, config) {
1406
- return this.apiClient.request({
1407
- ...config,
1408
- url: `/funds/${fundId}/holdings`,
1409
- method: 'GET',
1410
- params: query,
1411
- secure: true,
1412
- responseType: 'json'
1413
- });
1414
- }
1415
- }
1416
-
1417
-
1418
- var $2e040a0ef76dca30$exports = {};
1419
-
1420
- $parcel$export($2e040a0ef76dca30$exports, "FundMarketData", () => $2e040a0ef76dca30$export$4d611da6bcd2860e);
1421
- /* eslint-disable */ /* tslint:disable */ /*
1422
- * ---------------------------------------------------------------
1423
- * ## THIS FILE WAS GENERATED VIA SWAGGER-TYPESCRIPT-API ##
1424
- * ## ##
1425
- * ## AUTHOR: acacode ##
1426
- * ## SOURCE: https://github.com/acacode/swagger-typescript-api ##
1427
- * ---------------------------------------------------------------
1428
- */
1429
- class $2e040a0ef76dca30$export$4d611da6bcd2860e {
1430
- constructor(apiClient){
1431
- this.apiClient = apiClient;
1432
- (0, ($parcel$interopDefault($8CIhi$autobind)))(this);
1433
- }
1434
- /**
1435
- * @description Offers key market data for the specified fund, including daily high, open, low, close values, and market capitalization.
1436
- * @tags Fund Market Data
1437
- * @name GetFundsMarketData
1438
- * @summary Get Funds Market Data
1439
- * @request GET:/funds/{fund_id}/market
1440
- * @secure
1441
- */ getFundsMarketData(fundId, query, config) {
1442
- return this.apiClient.request({
1443
- ...config,
1444
- url: `/funds/${fundId}/market`,
1445
- method: 'GET',
1446
- params: query,
1447
- secure: true,
1448
- responseType: 'json'
1449
- });
1450
- }
1451
- /**
1452
- * @description Provides detailed market statistics for the specified fund, including returns over various periods: 1 week, 1 month, 6 months, 1 year, YTD, and 5 years.
1453
- * @tags Fund Market Data
1454
- * @name GetFundsMarketStatistics
1455
- * @summary Get Funds Market Statistics
1456
- * @request GET:/funds/{fund_id}/market-statistics
1457
- * @secure
1458
- */ getFundsMarketStatistics(fundId, query, config) {
1459
- return this.apiClient.request({
1460
- ...config,
1461
- url: `/funds/${fundId}/market-statistics`,
1462
- method: 'GET',
1463
- params: query,
1464
- secure: true,
1465
- responseType: 'json'
1466
- });
1467
- }
1468
- }
1469
-
1470
-
1471
- var $409eca60b7835831$exports = {};
1472
-
1473
- $parcel$export($409eca60b7835831$exports, "Segmentations", () => $409eca60b7835831$export$af46651530662d1d);
1474
- /* eslint-disable */ /* tslint:disable */ /*
1475
- * ---------------------------------------------------------------
1476
- * ## THIS FILE WAS GENERATED VIA SWAGGER-TYPESCRIPT-API ##
1477
- * ## ##
1478
- * ## AUTHOR: acacode ##
1479
- * ## SOURCE: https://github.com/acacode/swagger-typescript-api ##
1480
- * ---------------------------------------------------------------
1481
- */
1482
- class $409eca60b7835831$export$af46651530662d1d {
1483
- constructor(apiClient){
1484
- this.apiClient = apiClient;
1485
- (0, ($parcel$interopDefault($8CIhi$autobind)))(this);
1486
- }
1487
- /**
1488
- * @description Provides key financial metrics for each segment within the specified fund, such as weighted averages of P/E ratio, P/B ratio, P/S ratio, Net Debt to EBITDA, Revenue Growth Rate, and Relative Market Value. It also includes the Weighted Average Segment Strength based on Bridgewise scores.
1489
- * @tags Segmentations
1490
- * @name GetSegmentParameters
1491
- * @summary Get Segment Parameters
1492
- * @request GET:/funds/{fund_id}/segment-parameters
1493
- * @secure
1494
- */ getSegmentParameters(fundId, query, config) {
1495
- return this.apiClient.request({
1496
- ...config,
1497
- url: `/funds/${fundId}/segment-parameters`,
1498
- method: 'GET',
1499
- params: query,
1500
- secure: true,
1501
- responseType: 'json'
1502
- });
1503
- }
1504
- /**
1505
- * @description Returns detailed weightings for different segments within the specified fund, including allocation percentages across various asset classes such as sectors, industries, regions and countries.
1506
- * @tags Segmentations
1507
- * @name GetSegment
1508
- * @summary Get Segment
1509
- * @request GET:/funds/{fund_id}/segments
1510
- * @secure
1511
- */ getSegment(fundId, query, config) {
1512
- return this.apiClient.request({
1513
- ...config,
1514
- url: `/funds/${fundId}/segments`,
1515
- method: 'GET',
1516
- params: query,
1517
- secure: true,
1518
- responseType: 'json'
1519
- });
1520
- }
1521
- }
1522
-
1523
-
1524
- var $cd9db38794a0daa5$exports = {};
1525
-
1526
- $parcel$export($cd9db38794a0daa5$exports, "Tenants", () => $cd9db38794a0daa5$export$3f4dd2b277bee89f);
1527
- /* eslint-disable */ /* tslint:disable */ /*
1528
- * ---------------------------------------------------------------
1529
- * ## THIS FILE WAS GENERATED VIA SWAGGER-TYPESCRIPT-API ##
1530
- * ## ##
1531
- * ## AUTHOR: acacode ##
1532
- * ## SOURCE: https://github.com/acacode/swagger-typescript-api ##
1533
- * ---------------------------------------------------------------
1534
- */
1535
- /* eslint-disable */ /* tslint:disable */ /*
1536
- * ---------------------------------------------------------------
1537
- * ## THIS FILE WAS GENERATED VIA SWAGGER-TYPESCRIPT-API ##
1538
- * ## ##
1539
- * ## AUTHOR: acacode ##
1540
- * ## SOURCE: https://github.com/acacode/swagger-typescript-api ##
1541
- * ---------------------------------------------------------------
1542
- */
1543
-
1544
-
1545
- class $cd9db38794a0daa5$export$3f4dd2b277bee89f {
1546
- constructor(apiClient){
1547
- this.apiClient = apiClient;
1548
- (0, ($parcel$interopDefault($8CIhi$autobind)))(this);
1549
- }
1550
- /**
1551
- * @tags Tenants
1552
- * @name FetchTenant
1553
- * @summary Fetch Tenant
1554
- * @request GET:/tenants/{tenant_id}
1555
- * @secure
1556
- */ fetchTenant(tenantId, config) {
1557
- return this.apiClient.request({
1558
- ...config,
1559
- url: `/tenants/${tenantId}`,
1560
- method: 'GET',
1561
- secure: true,
1562
- responseType: 'json'
1563
- });
1564
- }
1565
- /**
1566
- * @tags Tenants
1567
- * @name GetHistoricalPolicyChanges
1568
- * @summary Get Historical Policy Changes
1569
- * @request GET:/tenants/{tenant_id}/historical-policy-changes
1570
- * @secure
1571
- */ getHistoricalPolicyChanges(tenantId, query, config) {
1572
- return this.apiClient.request({
1573
- ...config,
1574
- url: `/tenants/${tenantId}/historical-policy-changes`,
1575
- method: 'GET',
1576
- params: query,
1577
- secure: true,
1578
- responseType: 'json'
1579
- });
1580
- }
1581
- /**
1582
- * @tags Tenants
1583
- * @name CreateTenantInvestmentPoliciesConfig
1584
- * @summary Create Tenant Investment Policies Config
1585
- * @request POST:/tenants/{tenant_id}/investment-policies-config
1586
- * @secure
1587
- */ createTenantInvestmentPoliciesConfig(tenantId, data, config) {
1588
- return this.apiClient.request({
1589
- ...config,
1590
- url: `/tenants/${tenantId}/investment-policies-config`,
1591
- method: 'POST',
1592
- data: data,
1593
- secure: true,
1594
- contentType: (0, $3621850f1f570615$export$e2e108cbe2e4f865).Json,
1595
- responseType: 'json'
1596
- });
1597
- }
1598
- /**
1599
- * @tags Tenants
1600
- * @name ListTenantInvestmentPoliciesConfigs
1601
- * @summary List Tenant Investment Policies Configs
1602
- * @request GET:/tenants/{tenant_id}/investment-policies-config
1603
- * @secure
1604
- */ listTenantInvestmentPoliciesConfigs(tenantId, config) {
1605
- return this.apiClient.request({
1606
- ...config,
1607
- url: `/tenants/${tenantId}/investment-policies-config`,
1608
- method: 'GET',
1609
- secure: true,
1610
- responseType: 'json'
1611
- });
1612
- }
1613
- /**
1614
- * @tags Tenants
1615
- * @name CreateTenantInvestmentPoliciesConfigBulk
1616
- * @summary Create Tenant Investment Policies Config Bulk
1617
- * @request POST:/tenants/{tenant_id}/investment-policies-config/bulk
1618
- * @secure
1619
- */ createTenantInvestmentPoliciesConfigBulk(tenantId, data, config) {
1620
- return this.apiClient.request({
1621
- ...config,
1622
- url: `/tenants/${tenantId}/investment-policies-config/bulk`,
1623
- method: 'POST',
1624
- data: data,
1625
- secure: true,
1626
- contentType: (0, $3621850f1f570615$export$e2e108cbe2e4f865).Json,
1627
- responseType: 'json'
1628
- });
1629
- }
1630
- /**
1631
- * @tags Tenants
1632
- * @name GetTenantInvestmentPoliciesConfig
1633
- * @summary Get Tenant Investment Policies Config
1634
- * @request GET:/tenants/{tenant_id}/investment-policies-config/{config_id}
1635
- * @secure
1636
- */ getTenantInvestmentPoliciesConfig(configId, tenantId, config) {
1637
- return this.apiClient.request({
1638
- ...config,
1639
- url: `/tenants/${tenantId}/investment-policies-config/${configId}`,
1640
- method: 'GET',
1641
- secure: true,
1642
- responseType: 'json'
1643
- });
1644
- }
1645
- /**
1646
- * @tags Tenants
1647
- * @name PatchTenantInvestmentPoliciesConfig
1648
- * @summary Patch Tenant Investment Policies Config
1649
- * @request PATCH:/tenants/{tenant_id}/investment-policies-config/{config_id}
1650
- * @secure
1651
- */ patchTenantInvestmentPoliciesConfig(configId, tenantId, data, config) {
1652
- return this.apiClient.request({
1653
- ...config,
1654
- url: `/tenants/${tenantId}/investment-policies-config/${configId}`,
1655
- method: 'PATCH',
1656
- data: data,
1657
- secure: true,
1658
- contentType: (0, $3621850f1f570615$export$e2e108cbe2e4f865).Json,
1659
- responseType: 'json'
1660
- });
1661
- }
1662
- /**
1663
- * @tags Tenants
1664
- * @name DeleteTenantInvestmentPoliciesConfig
1665
- * @summary Delete Tenant Investment Policies Config
1666
- * @request DELETE:/tenants/{tenant_id}/investment-policies-config/{config_id}
1667
- * @secure
1668
- */ deleteTenantInvestmentPoliciesConfig(configId, tenantId, config) {
1669
- return this.apiClient.request({
1670
- ...config,
1671
- url: `/tenants/${tenantId}/investment-policies-config/${configId}`,
1672
- method: 'DELETE',
1673
- secure: true,
1674
- responseType: 'json'
1675
- });
1676
- }
1677
- /**
1678
- * @tags Tenants
1679
- * @name CreateCognitoClientApplication
1680
- * @summary Create Cognito Client Application
1681
- * @request POST:/tenants/{tenant_id}/machine
1682
- * @secure
1683
- */ createCognitoClientApplication(tenantId, data, config) {
1684
- return this.apiClient.request({
1685
- ...config,
1686
- url: `/tenants/${tenantId}/machine`,
1687
- method: 'POST',
1688
- data: data,
1689
- secure: true,
1690
- contentType: (0, $3621850f1f570615$export$e2e108cbe2e4f865).Json,
1691
- responseType: 'json'
1692
- });
1693
- }
1694
- /**
1695
- * @tags Tenants
1696
- * @name GetRecommendations
1697
- * @summary Get Recommendations
1698
- * @request GET:/tenants/{tenant_id}/recommendations
1699
- * @secure
1700
- */ getRecommendations(tenantId, query, config) {
1701
- return this.apiClient.request({
1702
- ...config,
1703
- url: `/tenants/${tenantId}/recommendations`,
1704
- method: 'GET',
1705
- params: query,
1706
- secure: true,
1707
- responseType: 'json'
1708
- });
1709
- }
1710
- /**
1711
- * @tags Tenants
1712
- * @name CreateTenantRecommendationsConfig
1713
- * @summary Create Tenant Recommendations Config
1714
- * @request POST:/tenants/{tenant_id}/recommendations-config
1715
- * @secure
1716
- */ createTenantRecommendationsConfig(tenantId, data, config) {
1717
- return this.apiClient.request({
1718
- ...config,
1719
- url: `/tenants/${tenantId}/recommendations-config`,
1720
- method: 'POST',
1721
- data: data,
1722
- secure: true,
1723
- contentType: (0, $3621850f1f570615$export$e2e108cbe2e4f865).Json,
1724
- responseType: 'json'
1725
- });
1726
- }
1727
- /**
1728
- * @tags Tenants
1729
- * @name CreateTenantRecommendationsConfigBulk
1730
- * @summary Create Tenant Recommendations Config Bulk
1731
- * @request POST:/tenants/{tenant_id}/recommendations-config/bulk
1732
- * @secure
1733
- */ createTenantRecommendationsConfigBulk(tenantId, data, config) {
1734
- return this.apiClient.request({
1735
- ...config,
1736
- url: `/tenants/${tenantId}/recommendations-config/bulk`,
1737
- method: 'POST',
1738
- data: data,
1739
- secure: true,
1740
- contentType: (0, $3621850f1f570615$export$e2e108cbe2e4f865).Json,
1741
- responseType: 'json'
1742
- });
1743
- }
1744
- /**
1745
- * @tags Tenants
1746
- * @name GetTenantRecommendationsConfig
1747
- * @summary Get Tenant Recommendations Config
1748
- * @request GET:/tenants/{tenant_id}/recommendations-config/{company_id}
1749
- * @secure
1750
- */ getTenantRecommendationsConfig(tenantId, companyId, config) {
1751
- return this.apiClient.request({
1752
- ...config,
1753
- url: `/tenants/${tenantId}/recommendations-config/${companyId}`,
1754
- method: 'GET',
1755
- secure: true,
1756
- responseType: 'json'
1757
- });
1758
- }
1759
- /**
1760
- * @tags Tenants
1761
- * @name PatchTenantRecommendationsConfig
1762
- * @summary Patch Tenant Recommendations Config
1763
- * @request PATCH:/tenants/{tenant_id}/recommendations-config/{company_id}
1764
- * @secure
1765
- */ patchTenantRecommendationsConfig(tenantId, companyId, data, config) {
1766
- return this.apiClient.request({
1767
- ...config,
1768
- url: `/tenants/${tenantId}/recommendations-config/${companyId}`,
1769
- method: 'PATCH',
1770
- data: data,
1771
- secure: true,
1772
- contentType: (0, $3621850f1f570615$export$e2e108cbe2e4f865).Json,
1773
- responseType: 'json'
1774
- });
1775
- }
1776
- /**
1777
- * @tags Tenants
1778
- * @name DeleteTenantRecommendationsConfig
1779
- * @summary Delete Tenant Recommendations Config
1780
- * @request DELETE:/tenants/{tenant_id}/recommendations-config/{company_id}
1781
- * @secure
1782
- */ deleteTenantRecommendationsConfig(tenantId, companyId, config) {
1783
- return this.apiClient.request({
1784
- ...config,
1785
- url: `/tenants/${tenantId}/recommendations-config/${companyId}`,
1786
- method: 'DELETE',
1787
- secure: true,
1788
- responseType: 'json'
1789
- });
1790
- }
1791
- }
1792
-
1793
-
1794
- var $1a28437092f1265a$exports = {};
1795
-
1796
- $parcel$export($1a28437092f1265a$exports, "Users", () => $1a28437092f1265a$export$a69f017b19597ff5);
1797
- /* eslint-disable */ /* tslint:disable */ /*
1798
- * ---------------------------------------------------------------
1799
- * ## THIS FILE WAS GENERATED VIA SWAGGER-TYPESCRIPT-API ##
1800
- * ## ##
1801
- * ## AUTHOR: acacode ##
1802
- * ## SOURCE: https://github.com/acacode/swagger-typescript-api ##
1803
- * ---------------------------------------------------------------
1804
- */
1805
-
1806
- class $1a28437092f1265a$export$a69f017b19597ff5 {
1807
- constructor(apiClient){
1808
- this.apiClient = apiClient;
1809
- (0, ($parcel$interopDefault($8CIhi$autobind)))(this);
1810
- }
1811
- /**
1812
- * @tags Users
1813
- * @name Authenticate
1814
- * @summary Authenticate
1815
- * @request POST:/users/authenticate
1816
- * @secure
1817
- */ authenticate(data, config) {
1818
- return this.apiClient.request({
1819
- ...config,
1820
- url: `/users/authenticate`,
1821
- method: 'POST',
1822
- data: data,
1823
- secure: true,
1824
- contentType: (0, $3621850f1f570615$export$e2e108cbe2e4f865).Json,
1825
- responseType: 'json'
1826
- });
1827
- }
1828
- /**
1829
- * @tags Users
1830
- * @name FetchClientDetails
1831
- * @summary Fetch Client Details
1832
- * @request GET:/users/machine
1833
- * @secure
1834
- */ fetchClientDetails(headers, config) {
1835
- return this.apiClient.request({
1836
- ...config,
1837
- url: `/users/machine`,
1838
- method: 'GET',
1839
- secure: true,
1840
- headers: headers,
1841
- responseType: 'json'
1842
- });
1843
- }
1844
- }
1845
-
1846
-
1847
- $parcel$exportWildcard($b67788b0fbf54d75$exports, $813bc1b8103bd5b7$exports);
1848
- $parcel$exportWildcard($b67788b0fbf54d75$exports, $1b04ff39df286219$exports);
1849
- $parcel$exportWildcard($b67788b0fbf54d75$exports, $4faa577c150abcf9$exports);
1850
- $parcel$exportWildcard($b67788b0fbf54d75$exports, $d8af43400d6c4a70$exports);
1851
- $parcel$exportWildcard($b67788b0fbf54d75$exports, $47cf99c57fc883e4$exports);
1852
- $parcel$exportWildcard($b67788b0fbf54d75$exports, $5e18f9f89a60b3f1$exports);
1853
- $parcel$exportWildcard($b67788b0fbf54d75$exports, $bf7a9b42aa9e34a4$exports);
1854
- $parcel$exportWildcard($b67788b0fbf54d75$exports, $88844d4dd11bdea9$exports);
1855
- $parcel$exportWildcard($b67788b0fbf54d75$exports, $d3a6b4b06f33e9d0$exports);
1856
- $parcel$exportWildcard($b67788b0fbf54d75$exports, $2ea25101bf5360b0$exports);
1857
- $parcel$exportWildcard($b67788b0fbf54d75$exports, $a6230f7e71bfdca0$exports);
1858
- $parcel$exportWildcard($b67788b0fbf54d75$exports, $adba8cd876023d78$exports);
1859
- $parcel$exportWildcard($b67788b0fbf54d75$exports, $738f0c77d2ef1401$exports);
1860
- $parcel$exportWildcard($b67788b0fbf54d75$exports, $d77de45c62e6f840$exports);
1861
- $parcel$exportWildcard($b67788b0fbf54d75$exports, $c00a00c8cf9e3825$exports);
1862
- $parcel$exportWildcard($b67788b0fbf54d75$exports, $2e040a0ef76dca30$exports);
1863
- $parcel$exportWildcard($b67788b0fbf54d75$exports, $409eca60b7835831$exports);
1864
- $parcel$exportWildcard($b67788b0fbf54d75$exports, $cd9db38794a0daa5$exports);
1865
- $parcel$exportWildcard($b67788b0fbf54d75$exports, $1a28437092f1265a$exports);
1866
-
1867
-
1868
- class $41b7934f61e6d523$export$481db5165d0b1e16 extends (0, $780091c10287ceed$export$3ad201792064a82b) {
1869
- constructor(config){
1870
- super(new (0, $538ed1203bac2e79$export$f280b732bbc5934b)(config)), this.config = config;
1871
- this.activities = new (0, $d8af43400d6c4a70$export$9f452a83448c0998)(this.apiClient);
1872
- this.companyMarketData = new (0, $88844d4dd11bdea9$export$bd5b3784846d9656)(this.apiClient);
1873
- this.companyMetadata = new (0, $4faa577c150abcf9$export$a3569d47d58b6220)(this.apiClient);
1874
- this.companyNews = new (0, $2ea25101bf5360b0$export$e3180e47c6194796)(this.apiClient);
1875
- this.earningCalls = new (0, $47cf99c57fc883e4$export$ffcaf5c2bf6a769b)(this.apiClient);
1876
- this.esgAnalysis = new (0, $5e18f9f89a60b3f1$export$e6857acf1fd40fad)(this.apiClient);
1877
- this.fundamentalAnalysis = new (0, $bf7a9b42aa9e34a4$export$5035e5ace0b74818)(this.apiClient);
1878
- this.fundAnalysis = new (0, $d77de45c62e6f840$export$231117303c7ad41a)(this.apiClient);
1879
- this.fundMarketData = new (0, $2e040a0ef76dca30$export$4d611da6bcd2860e)(this.apiClient);
1880
- this.holdings = new (0, $c00a00c8cf9e3825$export$2aa97da599eea609)(this.apiClient);
1881
- this.logos = new (0, $1b04ff39df286219$export$c847549a613b9060)(this.apiClient);
1882
- this.metadata = new (0, $adba8cd876023d78$export$e7adebdc1ebd2fed)(this.apiClient);
1883
- this.segmentations = new (0, $409eca60b7835831$export$af46651530662d1d)(this.apiClient);
1884
- this.technicalAnalysis = new (0, $a6230f7e71bfdca0$export$6e7b9d784240ad1a)(this.apiClient);
1885
- }
1886
- }
1887
-
1888
-
1889
-
1890
- $parcel$exportWildcard(module.exports, $41b7934f61e6d523$exports);
1891
- $parcel$exportWildcard(module.exports, $b67788b0fbf54d75$exports);
1892
-
1893
-
1
+ var e,t,s,n,r,a,i,o,u,c,p,l,m,h,g,d,y,T,C,E,f,q,S,v,k,j,w,G,$,P,b,_,B=require("auto-bind"),F=require("async-mutex"),x=require("consola"),A=require("date-fns"),I=require("jwt-decode"),D=require("axios"),R=require("axios-better-stacktrace"),W=require("lodash");function N(e,t){return Object.keys(t).forEach(function(s){"default"===s||"__esModule"===s||Object.prototype.hasOwnProperty.call(e,s)||Object.defineProperty(e,s,{enumerable:!0,get:function(){return t[s]}})}),e}function M(e,t,s,n){Object.defineProperty(e,t,{get:s,set:n,enumerable:!0,configurable:!0})}function O(e){return e&&e.__esModule?e.default:e}var L={};M(L,"BridgeWiseApi",()=>e9);class J{constructor(e){this.apiClient=e,O(B)(this)}getApiClient(){return this.apiClient}}var H=((e={}).Json="application/json",e.FormData="multipart/form-data",e.UrlEncoded="application/x-www-form-urlencoded",e.Text="text/plain",e);class V{constructor(e){this.config=e,O(B)(this),this.storage=e.storage??sessionStorage,this.axiosInstance=O(D).create({baseURL:e.baseUrl,withCredentials:e.withCredentials,headers:{"Content-Type":"application/json",...e.defaultHeaders}}),O(R)(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 n=e[s];for(let e of n instanceof Array?n:[n]){let n=e instanceof Blob||e instanceof File;t.append(s,n?e:this.stringifyFormItem(e))}return t},new FormData)}async request(e){let{contentType:t,data:s}=e;(0,W.isNil)(s)||("multipart/form-data"===t&&"object"==typeof s&&(e.data=this.createFormData(s)),"text/plain"===t&&"string"!=typeof s&&(e.data=JSON.stringify(s)));let n=(0,W.merge)(e.secure??this.config.defaultSecure??!0?await this.prepareAuthRequestConfig():{},t?{headers:{"Content-Type":t}}:{},e);try{let{data:e,status:t,statusText:s}=await this.axiosInstance.request(n);return{success:!0,data:e,status:t,statusText:s}}catch(s){if(!this.config.handleError&&!e.handleError)throw s;let t={success:!1,status:-1,statusText:String(s),error:s};return(0,D.isAxiosError)(s)&&(this.config.onAxiosError?.(s),t.data=s.response?.data,t.status=s.response?.status??t.status,t.statusText=s.response?.statusText??t.statusText),this.config.onError?.(s),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 K extends V{constructor(e){super(e),this.config=e,this.lock=new F.Mutex}getConfig(){return super.getConfig()}setRenewTokenCallback(e){this.renewTokenCallback=e}async prepareAuthRequestConfig(){if(this.config.withCredentials)return{};let{accessToken:e}=this.getAuthData()||{};if(!e)return(0,x.consola).warn("No access token found. Please set auth data after authorization."),{};if(!1!==this.config.autoRenewToken&&this.isTokenExpired(e))try{await this.lock.runExclusive(async()=>{this.config.debug&&(0,x.consola).debug("Token expired. Renewing…"),e=(await this.renewToken()).accessToken,this.lock.cancel()})}catch(t){if(t===F.E_CANCELED)e=this.getAuthData()?.accessToken;else throw t}return{headers:{Authorization:`${this.config.authSchema??"Bearer"} ${e}`}}}isTokenExpired(e){let t=(0,I.jwtDecode)(e);return!t.exp||(0,A.isBefore)((0,A.subMinutes)(1e3*t.exp,1),Date.now())}async renewToken(){let e=this.config.onRenewToken??this.renewTokenCallback;if(!e)throw Error("No renew token callback provided");let t=await e();return this.setAuthData(t),t}}var z={},U={};M(U,"BridgeWiseCompanyAlertSentiment",()=>Z),M(U,"BridgeWiseCompanyAlertType",()=>Q),M(U,"BridgeWiseForecastType",()=>Y),M(U,"BridgeWiseLanguageEnum",()=>X),M(U,"BridgeWiseCompanyFilterType",()=>ee),M(U,"BridgeWiseCompositionTypeEnum",()=>et),M(U,"BridgeWiseIdentifierTypeEnum",()=>es),M(U,"BridgeWiseImageExtensionEnum",()=>en),M(U,"BridgeWiseLogoSizeEnum",()=>er),M(U,"BridgeWiseLogoTypeEnum",()=>ea),M(U,"BridgeWiseStringBooleanEnum",()=>ei),M(U,"BridgeWiseCompanyNewsSortingEnum",()=>eo),M(U,"BridgeWiseESGSectionTypeEnum",()=>eu),M(U,"BridgeWiseEarningsCallRecapEnum",()=>ec),M(U,"BridgeWiseFundamentalParagraphSectionTypeEnum",()=>ep),M(U,"BridgeWiseNewsSentimentEnum",()=>el),M(U,"BridgeWiseScoringMethodEnum",()=>em),M(U,"BridgeWiseESGScoreGroup",()=>eh),M(U,"BridgeWiseFundsSegmentParameterEnum",()=>eg),M(U,"BridgeWisePeriodTypeEnum",()=>ed),M(U,"BridgeWiseSectionTypeEnum",()=>ey),M(U,"BridgeWiseAnalysisTypeEnum",()=>eT),M(U,"BridgeWiseFundamentalSectionTypeEnum",()=>eC),M(U,"BridgeWiseGlobalIndustryScoringEnum",()=>eE),M(U,"BridgeWiseScoreMethodology",()=>ef),M(U,"BridgeWiseEventTypeEnum",()=>eq),M(U,"BridgeWiseIdCheckConfigNameEnum",()=>eS),M(U,"BridgeWiseIdCheckConfigOperatorEnum",()=>ev),M(U,"BridgeWiseMarketDataConfigNameEnum",()=>ek),M(U,"BridgeWiseMarketDataConfigOperatorEnum",()=>ej),M(U,"BridgeWiseStockingFloatConfigOperatorEnum",()=>ew);var Z=((t={}).Positive="positive",t.Negative="negative",t),Q=((s={}).Fundamental="fundamental",s.Market="market",s),Y=((n={}).Esg="esg",n.KeyDevelopments="key_developments",n.News="news",n),X=((r={}).ArSA="ar-SA",r.DeDE="de-DE",r.EnUS="en-US",r.EsES="es-ES",r.FrFR="fr-FR",r.HeIL="he-IL",r.NlNL="nl-NL",r.PtBR="pt-BR",r.TrTR="tr-TR",r.ZhCN="zh-CN",r.JaJP="ja-JP",r.KoKR="ko-KR",r.ThTH="th-TH",r.ZhHK="zh-HK",r),ee=((a={}).Countries="countries",a.GicsIndustry="gics_industry",a.GicsSector="gics_sector",a.Regions="regions",a.GicsGroup="gics_group",a.Currency="currency",a.Exchange="exchange",a.CsaIndustry="csa_industry",a.Benchmark="benchmark",a.Sponsor="sponsor",a.Sector="sector",a.ManagementStyle="management_style",a.Recommendation="recommendation",a.MarketCapEmphasis="market_cap_emphasis",a.Exposure="exposure",a.GeographyEmphasis="geography_emphasis",a.MarketBenchmark="market_benchmark",a.PrimaryBenchmark="primary_benchmark",a),et=((i={}).Stocks="stocks",i.Others="others",i),es=((o={}).TickerExchange="ticker_exchange",o.Isin="isin",o),en=((u={}).Png="png",u.Svg="svg",u.Jpg="jpg",u),er=((c={}).Original="original",c.Square="square",c),ea=((p={}).Square="square",p.Horizontal="horizontal",p),ei=((l={}).True="true",l.False="false",l),eo=((m={}).PublicationDate="publication_date",m.RelevancyScore="relevancy_score",m.SocialShares="social_shares",m),eu=((h={}).Social="social",h.Environmental="environmental",h.Governance="governance",h.Summary="summary",h.Controversies="controversies",h.Transparency="transparency",h.Weaknesses="weaknesses",h),ec=((g={}).Highlights="highlights",g.Lowlights="lowlights",g),ep=((d={}).BalanceSheet="balance_sheet",d.IncomeStatement="income_statement",d.CashFlow="cash_flow",d.CompanyDescription="company_description",d.CompanyFundamentals="company_fundamentals",d.SummaryRecommendation="summary_recommendation",d),el=((y={}).VeryNegative="Very Negative",y.Negative="Negative",y.Neutral="Neutral",y.Positive="Positive",y.VeryPositive="Very Positive",y.Invalid="Invalid",y),em=((T={}).Global="global",T.Industry="industry",T.Country="country",T.Sector="sector",T),eh=((C={})[C.Value5=5]="Value5",C[C.Value4=4]="Value4",C[C.Value3=3]="Value3",C[C.Value2=2]="Value2",C[C.Value1=1]="Value1",C),eg=((E={}).PeRatio="pe_ratio",E.PbRatio="pb_ratio",E.PsRatio="ps_ratio",E.NetDebtToEbitda="net_debt_to_ebitda",E.MarketCap="market_cap",E.Return1Y="return_1y",E.Roe="roe",E.RevenueGrowth="revenue_growth",E.SegmentStrength="segment_strength",E),ed=((f={}).Quarterly="quarterly",f.Annually="annually",f.Last12Month="last_12_month",f),ey=((q={}).BalanceSheet="balance_sheet",q.IncomeStatement="income_statement",q.CashFlow="cash_flow",q.Social="social",q.Environmental="environmental",q.Governance="governance",q.Summary="summary",q.Probability="probability",q),eT=((S={}).Fundamental="fundamental",S.Esg="esg",S.PriceTarget="price_target",S.Technical="technical",S),eC=((v={}).BalanceSheet="balance_sheet",v.IncomeStatement="income_statement",v.CashFlow="cash_flow",v),eE=((k={}).Global="global",k.Industry="industry",k),ef=((j={}).Global="global",j.Industry="industry",j.Country="country",j.Sector="sector",j),eq=((w={}).PolicyThreshold="policy_threshold",w.InternalCoverage="internal_coverage",w.BwRecommendation="bw_recommendation",w),eS=((G={}).Index="index",G.Exchange="exchange",G.DomicileCountry="domicile_country",G.ExchangeCountry="exchange_country",G),ev=(($={}).Isin="isin",$.Notin="notin",$),ek=((P={}).MarketCap="market_cap",P.Volume="volume",P),ej=((b={}).Ge="ge",b.Le="le",b.Gt="gt",b.Lt="lt",b),ew=((_={}).Ge="ge",_.Le="le",_.Gt="gt",_.Lt="lt",_),eG={};M(eG,"CompanyMetadata",()=>e$);class e${constructor(e){this.apiClient=e,O(B)(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={};M(eP,"Logos",()=>eb);class eb{constructor(e){this.apiClient=e,O(B)(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 e_={};M(e_,"Activities",()=>eB);class eB{constructor(e){this.apiClient=e,O(B)(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 eF={};M(eF,"EarningCalls",()=>ex);class ex{constructor(e){this.apiClient=e,O(B)(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,n){return this.apiClient.request({...n,url:`/companies/${t}/earnings-call/${e}/recaps`,method:"GET",params:s,secure:!0,responseType:"json"})}}var eA={};M(eA,"EsgAnalysis",()=>eI);class eI{constructor(e){this.apiClient=e,O(B)(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 eD={};M(eD,"Forecasts",()=>eR);class eR{constructor(e){this.apiClient=e,O(B)(this)}getCompanyForecasts(e,t,s){return this.apiClient.request({...s,url:`/companies/${e}/forecasts`,method:"GET",params:t,secure:!0,responseType:"json"})}}var eW={};M(eW,"FundamentalAnalysis",()=>eN);class eN{constructor(e){this.apiClient=e,O(B)(this)}getCompanyFundamentalAnalysis(e,t,s){return this.apiClient.request({...s,url:`/companies/${e}/fundamental-analysis`,method:"GET",params:t,secure:!0,responseType:"json"})}getCompanyFundamentalParagraphs(e,t,s){return this.apiClient.request({...s,url:`/companies/${e}/fundamental-paragraphs`,method:"GET",params:t,secure:!0,responseType:"json"})}getCompanyFundamentalParameters(e,t,s){return this.apiClient.request({...s,url:`/companies/${e}/fundamental-parameters`,method:"GET",params:t,secure:!0,responseType:"json"})}getCompanyFundamentalSections(e,t,s){return this.apiClient.request({...s,url:`/companies/${e}/fundamental-sections`,method:"GET",params:t,secure:!0,responseType:"json"})}getTargetPrice(e,t,s){return this.apiClient.request({...s,url:`/companies/${e}/target-price`,method:"GET",params:t,secure:!0,responseType:"json"})}}var eM={};M(eM,"CompanyMarketData",()=>eO);class eO{constructor(e){this.apiClient=e,O(B)(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 eL={};M(eL,"CompanyNews",()=>eJ);class eJ{constructor(e){this.apiClient=e,O(B)(this)}getCompanyNews(e,t,s){return this.apiClient.request({...s,url:`/companies/${e}/news`,method:"GET",params:t,secure:!0,responseType:"json"})}getAverageCompanyNewsSentiment(e,t,s){return this.apiClient.request({...s,url:`/companies/${e}/news-sentiment`,method:"GET",params:t,secure:!0,responseType:"json"})}}var eH={};M(eH,"TechnicalAnalysis",()=>eV);class eV{constructor(e){this.apiClient=e,O(B)(this)}getCompanyTechnicalParagraphs(e,t,s){return this.apiClient.request({...s,url:`/companies/${e}/technical-paragraphs`,method:"GET",params:t,secure:!0,responseType:"json"})}}var eK={};M(eK,"Metadata",()=>ez);class ez{constructor(e){this.apiClient=e,O(B)(this)}getCompanyFilters(e,t){return this.apiClient.request({...t,url:"/filters",method:"GET",params:e,secure:!0,responseType:"json"})}}var eU={};M(eU,"FundMetadata",()=>eZ);class eZ{constructor(e){this.apiClient=e,O(B)(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 eQ={};M(eQ,"Holdings",()=>eY);class eY{constructor(e){this.apiClient=e,O(B)(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 eX={};M(eX,"FundAnalysis",()=>e0);class e0{constructor(e){this.apiClient=e,O(B)(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 e1={};M(e1,"FundMarketData",()=>e2);class e2{constructor(e){this.apiClient=e,O(B)(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"})}}var e3={};M(e3,"Segmentations",()=>e4);class e4{constructor(e){this.apiClient=e,O(B)(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 e5={};M(e5,"Tenants",()=>e6);class e6{constructor(e){this.apiClient=e,O(B)(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:H.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:H.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,n){return this.apiClient.request({...n,url:`/tenants/${t}/investment-policies-config/${e}`,method:"PATCH",data:s,secure:!0,contentType:H.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:H.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:H.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:H.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,n){return this.apiClient.request({...n,url:`/tenants/${e}/recommendations-config/${t}`,method:"PATCH",data:s,secure:!0,contentType:H.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 e7={};M(e7,"Users",()=>e8);class e8{constructor(e){this.apiClient=e,O(B)(this)}authenticate(e,t){return this.apiClient.request({...t,url:"/users/authenticate",method:"POST",data:e,secure:!0,contentType:H.Json,responseType:"json"})}fetchClientDetails(e,t){return this.apiClient.request({...t,url:"/users/machine",method:"GET",secure:!0,headers:e,responseType:"json"})}}N(z,U),N(z,eG),N(z,eP),N(z,e_),N(z,eF),N(z,eA),N(z,eD),N(z,eW),N(z,eM),N(z,eL),N(z,eH),N(z,eK),N(z,eU),N(z,eQ),N(z,eX),N(z,e1),N(z,e3),N(z,e5),N(z,e7);class e9 extends J{constructor(e){super(new K(e)),this.config=e,this.activities=new eB(this.apiClient),this.companyMarketData=new eO(this.apiClient),this.companyMetadata=new e$(this.apiClient),this.companyNews=new eJ(this.apiClient),this.earningCalls=new ex(this.apiClient),this.esgAnalysis=new eI(this.apiClient),this.fundamentalAnalysis=new eN(this.apiClient),this.fundAnalysis=new e0(this.apiClient),this.fundMarketData=new e2(this.apiClient),this.fundMetadata=new eZ(this.apiClient),this.holdings=new eY(this.apiClient),this.logos=new eb(this.apiClient),this.metadata=new ez(this.apiClient),this.segmentations=new e4(this.apiClient),this.technicalAnalysis=new eV(this.apiClient)}}N(module.exports,L),N(module.exports,z);
1894
2
  //# sourceMappingURL=index.js.map