@databolsa/sdk 1.0.3 → 1.0.5

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.
package/dist/schema.d.ts CHANGED
@@ -74,6 +74,26 @@ export interface paths {
74
74
  patch?: never;
75
75
  trace?: never;
76
76
  };
77
+ "/v1/quotes/live": {
78
+ parameters: {
79
+ query?: never;
80
+ header?: never;
81
+ path?: never;
82
+ cookie?: never;
83
+ };
84
+ /**
85
+ * Cotações ao vivo (delay de 15 min) em lote
86
+ * @description Último preço de vários papéis de uma vez, com delay de 15 min durante o pregão. Informe `tickers` (CSV, máx 200) OU `index` (código, resolve os constituintes). Durante o pregão o preço vem do intradiário (`source=intraday`); fora dele, do fechamento oficial (`source=eod`). Tickers desconhecidos são omitidos.
87
+ */
88
+ get: operations["getLiveQuotes"];
89
+ put?: never;
90
+ post?: never;
91
+ delete?: never;
92
+ options?: never;
93
+ head?: never;
94
+ patch?: never;
95
+ trace?: never;
96
+ };
77
97
  "/v1/stocks/{ticker}": {
78
98
  parameters: {
79
99
  query?: never;
@@ -111,6 +131,26 @@ export interface paths {
111
131
  patch?: never;
112
132
  trace?: never;
113
133
  };
134
+ "/v1/stocks/{ticker}/intraday": {
135
+ parameters: {
136
+ query?: never;
137
+ header?: never;
138
+ path?: never;
139
+ cookie?: never;
140
+ };
141
+ /**
142
+ * Série intradiária da sessão (delay de 15 min)
143
+ * @description Barras de minuto do pregão; `session` filtra o pregão (default = mais recente).
144
+ */
145
+ get: operations["getStockIntraday"];
146
+ put?: never;
147
+ post?: never;
148
+ delete?: never;
149
+ options?: never;
150
+ head?: never;
151
+ patch?: never;
152
+ trace?: never;
153
+ };
114
154
  "/v1/stocks/{ticker}/indicators": {
115
155
  parameters: {
116
156
  query?: never;
@@ -196,6 +236,46 @@ export interface paths {
196
236
  patch?: never;
197
237
  trace?: never;
198
238
  };
239
+ "/v1/stocks/{ticker}/fund-holders": {
240
+ parameters: {
241
+ query?: never;
242
+ header?: never;
243
+ path?: never;
244
+ cookie?: never;
245
+ };
246
+ /**
247
+ * Fundos de investimento que detêm o ativo (visão reversa do CDA)
248
+ * @description Quais fundos têm o ativo em carteira e quanto (R$), da competência mais recente do CDA (CVM). Ordenado por posição a mercado. Use `date` p/ outra competência.
249
+ */
250
+ get: operations["listFundHolders"];
251
+ put?: never;
252
+ post?: never;
253
+ delete?: never;
254
+ options?: never;
255
+ head?: never;
256
+ patch?: never;
257
+ trace?: never;
258
+ };
259
+ "/v1/stocks/{ticker}/trade-stats": {
260
+ parameters: {
261
+ query?: never;
262
+ header?: never;
263
+ path?: never;
264
+ cookie?: never;
265
+ };
266
+ /**
267
+ * VWAP oficial e nº de negócios por pregão (B3 consolidado)
268
+ * @description Série diária de VWAP oficial (TradAvrgPric), nº de negócios e volume financeiro do instrumento, do arquivo consolidado da B3. Complementa o OHLC ajustado de /quotes.
269
+ */
270
+ get: operations["listTradeStats"];
271
+ put?: never;
272
+ post?: never;
273
+ delete?: never;
274
+ options?: never;
275
+ head?: never;
276
+ patch?: never;
277
+ trace?: never;
278
+ };
199
279
  "/v1/screener/stocks": {
200
280
  parameters: {
201
281
  query?: never;
@@ -236,6 +316,26 @@ export interface paths {
236
316
  patch?: never;
237
317
  trace?: never;
238
318
  };
319
+ "/v1/screener/funds": {
320
+ parameters: {
321
+ query?: never;
322
+ header?: never;
323
+ path?: never;
324
+ cookie?: never;
325
+ };
326
+ /**
327
+ * Screener de fundos de investimento (CVM 175)
328
+ * @description Ranqueia o universo de fundos (mart_funds__screener) por patrimônio, retorno (1m/12m/YTD) ou nº de cotistas; filtra por classificação CVM e PL mínimo. `return_12m` fica null enquanto não houver 12m de histórico ingerido.
329
+ */
330
+ get: operations["screenFunds"];
331
+ put?: never;
332
+ post?: never;
333
+ delete?: never;
334
+ options?: never;
335
+ head?: never;
336
+ patch?: never;
337
+ trace?: never;
338
+ };
239
339
  "/v1/macro/gears": {
240
340
  parameters: {
241
341
  query?: never;
@@ -361,6 +461,26 @@ export interface paths {
361
461
  patch?: never;
362
462
  trace?: never;
363
463
  };
464
+ "/v1/indices/{code}/intraday": {
465
+ parameters: {
466
+ query?: never;
467
+ header?: never;
468
+ path?: never;
469
+ cookie?: never;
470
+ };
471
+ /**
472
+ * Série intradiária do índice (delay de 15 min)
473
+ * @description Níveis intradiários do pregão; `session` filtra o pregão (default = mais recente).
474
+ */
475
+ get: operations["getIndexIntraday"];
476
+ put?: never;
477
+ post?: never;
478
+ delete?: never;
479
+ options?: never;
480
+ head?: never;
481
+ patch?: never;
482
+ trace?: never;
483
+ };
364
484
  "/v1/indices/{code}/composition": {
365
485
  parameters: {
366
486
  query?: never;
@@ -557,6 +677,171 @@ export interface paths {
557
677
  patch?: never;
558
678
  trace?: never;
559
679
  };
680
+ "/v1/etfs": {
681
+ parameters: {
682
+ query?: never;
683
+ header?: never;
684
+ path?: never;
685
+ cookie?: never;
686
+ };
687
+ /** Catálogo de ETFs listados na B3 */
688
+ get: operations["listEtfs"];
689
+ put?: never;
690
+ post?: never;
691
+ delete?: never;
692
+ options?: never;
693
+ head?: never;
694
+ patch?: never;
695
+ trace?: never;
696
+ };
697
+ "/v1/etfs/{ticker}": {
698
+ parameters: {
699
+ query?: never;
700
+ header?: never;
701
+ path?: never;
702
+ cookie?: never;
703
+ };
704
+ /** Perfil de um ETF */
705
+ get: operations["getEtf"];
706
+ put?: never;
707
+ post?: never;
708
+ delete?: never;
709
+ options?: never;
710
+ head?: never;
711
+ patch?: never;
712
+ trace?: never;
713
+ };
714
+ "/v1/funds": {
715
+ parameters: {
716
+ query?: never;
717
+ header?: never;
718
+ path?: never;
719
+ cookie?: never;
720
+ };
721
+ /** Catálogo de fundos de investimento (CVM 175) */
722
+ get: operations["listFunds"];
723
+ put?: never;
724
+ post?: never;
725
+ delete?: never;
726
+ options?: never;
727
+ head?: never;
728
+ patch?: never;
729
+ trace?: never;
730
+ };
731
+ "/v1/funds/{cnpj}": {
732
+ parameters: {
733
+ query?: never;
734
+ header?: never;
735
+ path?: never;
736
+ cookie?: never;
737
+ };
738
+ /** Perfil de um fundo pelo CNPJ da classe */
739
+ get: operations["getFund"];
740
+ put?: never;
741
+ post?: never;
742
+ delete?: never;
743
+ options?: never;
744
+ head?: never;
745
+ patch?: never;
746
+ trace?: never;
747
+ };
748
+ "/v1/funds/{cnpj}/quotes": {
749
+ parameters: {
750
+ query?: never;
751
+ header?: never;
752
+ path?: never;
753
+ cookie?: never;
754
+ };
755
+ /** Série diária de cota/PL/fluxo de um fundo */
756
+ get: operations["listFundQuotes"];
757
+ put?: never;
758
+ post?: never;
759
+ delete?: never;
760
+ options?: never;
761
+ head?: never;
762
+ patch?: never;
763
+ trace?: never;
764
+ };
765
+ "/v1/funds/{cnpj}/holdings": {
766
+ parameters: {
767
+ query?: never;
768
+ header?: never;
769
+ path?: never;
770
+ cookie?: never;
771
+ };
772
+ /**
773
+ * Carteira (holdings) de um fundo
774
+ * @description Posições do fundo (BLC_4 do CDA): ações, BDR, opções e debêntures com valor a mercado. Competência mais recente por default; use `date` (AAAA-MM-DD) p/ outra.
775
+ */
776
+ get: operations["listFundHoldings"];
777
+ put?: never;
778
+ post?: never;
779
+ delete?: never;
780
+ options?: never;
781
+ head?: never;
782
+ patch?: never;
783
+ trace?: never;
784
+ };
785
+ "/v1/market/investor-flow": {
786
+ parameters: {
787
+ query?: never;
788
+ header?: never;
789
+ path?: never;
790
+ cookie?: never;
791
+ };
792
+ /**
793
+ * Fluxo diário por perfil de investidor (participação na B3)
794
+ * @description Participação MTD (mês a mês) de cada perfil — Estrangeiro, Institucionais, PF, Instituições Financeiras, Outros — em compras/vendas (R$ mil e %), com fluxo líquido diário derivado. Fonte: Boletim Diário do Mercado (BDM/BDI) da B3.
795
+ */
796
+ get: operations["listInvestorFlow"];
797
+ put?: never;
798
+ post?: never;
799
+ delete?: never;
800
+ options?: never;
801
+ head?: never;
802
+ patch?: never;
803
+ trace?: never;
804
+ };
805
+ "/v1/market/investor-flow/monthly": {
806
+ parameters: {
807
+ query?: never;
808
+ header?: never;
809
+ path?: never;
810
+ cookie?: never;
811
+ };
812
+ /**
813
+ * Participação mensal por perfil × segmento de mercado
814
+ * @description Fechamento mensal por perfil de investidor e segmento (à vista, termo, opções, exercício, blocos, total geral), em R$ e %.
815
+ */
816
+ get: operations["listInvestorFlowMonthly"];
817
+ put?: never;
818
+ post?: never;
819
+ delete?: never;
820
+ options?: never;
821
+ head?: never;
822
+ patch?: never;
823
+ trace?: never;
824
+ };
825
+ "/v1/offerings": {
826
+ parameters: {
827
+ query?: never;
828
+ header?: never;
829
+ path?: never;
830
+ cookie?: never;
831
+ };
832
+ /**
833
+ * Ofertas públicas de distribuição (mercado primário)
834
+ * @description Registro de ofertas públicas (IPO/follow-on de ações, debêntures, cotas de fundos), unificando o histórico ICVM 400/476 e o rito automático RCVM 160. Filtrável por emissor, regime, tipo de ativo e período de registro. Fonte: CVM.
835
+ */
836
+ get: operations["listOfferings"];
837
+ put?: never;
838
+ post?: never;
839
+ delete?: never;
840
+ options?: never;
841
+ head?: never;
842
+ patch?: never;
843
+ trace?: never;
844
+ };
560
845
  "/v1/options/{ticker}/chain": {
561
846
  parameters: {
562
847
  query?: never;
@@ -711,7 +996,21 @@ export interface components {
711
996
  filed_at: string | null;
712
997
  protocol: string | null;
713
998
  download_url: string | null;
714
- has_text: boolean;
999
+ };
1000
+ LiveQuotesResponse: {
1001
+ data: components["schemas"]["LiveQuote"][];
1002
+ /** @description Instante da resposta (ISO 8601). */
1003
+ as_of: string;
1004
+ };
1005
+ LiveQuote: {
1006
+ ticker: string;
1007
+ price: number | null;
1008
+ change_pct: number | null;
1009
+ ts: string;
1010
+ session_date: string;
1011
+ prev_close: number | null;
1012
+ /** @enum {string} */
1013
+ source: "intraday" | "eod";
715
1014
  };
716
1015
  Stock: {
717
1016
  ticker: string;
@@ -755,6 +1054,17 @@ export interface components {
755
1054
  adjust_type: string | null;
756
1055
  adjust_quality: string | null;
757
1056
  };
1057
+ IntradaySeries: {
1058
+ ticker: string;
1059
+ session_date: string;
1060
+ prev_close: number | null;
1061
+ points: components["schemas"]["IntradayPoint"][];
1062
+ };
1063
+ IntradayPoint: {
1064
+ ts: string;
1065
+ price: number | null;
1066
+ change_pct: number | null;
1067
+ };
758
1068
  IndicatorValue: {
759
1069
  name: string;
760
1070
  label: string;
@@ -800,6 +1110,46 @@ export interface components {
800
1110
  sell_value_brl: number | null;
801
1111
  lineage: components["schemas"]["Lineage"];
802
1112
  };
1113
+ FundHolding: {
1114
+ cnpj: string;
1115
+ comptc_date: string;
1116
+ cd_ativo: string | null;
1117
+ /** @description cd_ativo resolvido ao nosso universo (ação/BDR); null caso contrário */
1118
+ ticker: string | null;
1119
+ tp_aplic: string | null;
1120
+ ds_ativo: string | null;
1121
+ cd_isin: string | null;
1122
+ qty: number | null;
1123
+ /** @description posição a mercado (R$) */
1124
+ market_value: number | null;
1125
+ fund_name: string | null;
1126
+ fund_manager: string | null;
1127
+ fund_classificacao: string | null;
1128
+ };
1129
+ FundOwnershipSummary: {
1130
+ /** @description competência do CDA (AAAA-MM-DD) */
1131
+ comptc_date: string;
1132
+ n_funds: number | null;
1133
+ /** @description posição a mercado somada (R$) */
1134
+ total_value_brl: number | null;
1135
+ total_shares: number | null;
1136
+ };
1137
+ TradeStat: {
1138
+ ticker: string;
1139
+ trade_date: string;
1140
+ segment: string | null;
1141
+ /** @description preço médio de negociação (VWAP oficial B3) */
1142
+ vwap: number | null;
1143
+ min_price: number | null;
1144
+ max_price: number | null;
1145
+ last_price: number | null;
1146
+ /** @description nº de negócios no pregão */
1147
+ n_trades: number | null;
1148
+ quantity: number | null;
1149
+ /** @description volume financeiro (R$) */
1150
+ financial_volume: number | null;
1151
+ lineage: string | null;
1152
+ };
803
1153
  ScreenerRow: {
804
1154
  ticker: string;
805
1155
  name: string | null;
@@ -828,6 +1178,25 @@ export interface components {
828
1178
  vacancia_fisica: number | null;
829
1179
  patrimonio_liquido: number | null;
830
1180
  };
1181
+ FundScreenerItem: {
1182
+ cnpj: string;
1183
+ name: string | null;
1184
+ tipo_classe: string | null;
1185
+ classificacao: string | null;
1186
+ classificacao_anbima: string | null;
1187
+ manager: string | null;
1188
+ admin_fee_pct: number | null;
1189
+ situacao: string | null;
1190
+ last_date: string | null;
1191
+ last_quota: number | null;
1192
+ net_worth: number | null;
1193
+ shareholders: number | null;
1194
+ return_1m: number | null;
1195
+ /** @description null enquanto não houver 12m de histórico ingerido */
1196
+ return_12m: number | null;
1197
+ return_ytd: number | null;
1198
+ net_flow_accumulated: number | null;
1199
+ };
831
1200
  RegimeSignal: {
832
1201
  name: string;
833
1202
  value: number | null;
@@ -876,6 +1245,15 @@ export interface components {
876
1245
  sell_rate: number | null;
877
1246
  buy_price: number | null;
878
1247
  sell_price: number | null;
1248
+ is_negotiable: boolean | null;
1249
+ /** @enum {string|null} */
1250
+ coupon: "unique" | "semiannual" | "monthly" | null;
1251
+ min_investment: number | null;
1252
+ live_buy_rate: number | null;
1253
+ live_sell_rate: number | null;
1254
+ live_buy_price: number | null;
1255
+ live_sell_price: number | null;
1256
+ priced_at: string | null;
879
1257
  };
880
1258
  IndexMeta: {
881
1259
  code: string;
@@ -945,15 +1323,102 @@ export interface components {
945
1323
  volume: number | null;
946
1324
  adjust_quality: string | null;
947
1325
  };
948
- OptionsChain: {
949
- underlying_ticker: string;
950
- date: string | null;
951
- count: number;
952
- options: components["schemas"]["OptionContract"][];
953
- };
954
- OptionContract: {
955
- option_ticker: string;
956
- underlying_ticker: string | null;
1326
+ EtfProfile: {
1327
+ ticker: string;
1328
+ name: string | null;
1329
+ cnpj: string | null;
1330
+ /** @description gestor (positionManager) */
1331
+ manager: string | null;
1332
+ administrator: string | null;
1333
+ segment: string | null;
1334
+ classification: string | null;
1335
+ /** @description lote fracionário / código alternativo */
1336
+ trading_code_others: string | null;
1337
+ /** @description teto autorizado de cotas (cadastro B3) */
1338
+ quota_count_authorized: number | null;
1339
+ first_traded: string | null;
1340
+ last_traded: string | null;
1341
+ sessions: number | null;
1342
+ };
1343
+ FundProfile: {
1344
+ cnpj: string;
1345
+ codigo_cvm: number | null;
1346
+ name: string | null;
1347
+ tipo_classe: string | null;
1348
+ situacao: string | null;
1349
+ classificacao: string | null;
1350
+ classificacao_anbima: string | null;
1351
+ entidade_investimento: string | null;
1352
+ /** @description patrimônio líquido (R$) */
1353
+ net_worth: number | null;
1354
+ cnpj_fundo: string | null;
1355
+ tipo_fundo: string | null;
1356
+ administrator: string | null;
1357
+ /** @description gestor */
1358
+ manager: string | null;
1359
+ /** @description taxa de administração (herdada do cadastro legado) */
1360
+ admin_fee_pct: number | null;
1361
+ performance_fee_pct: number | null;
1362
+ data_registro: string | null;
1363
+ };
1364
+ FundQuote: {
1365
+ comptc_date: string;
1366
+ quota_value: number | null;
1367
+ net_worth: number | null;
1368
+ total_value: number | null;
1369
+ inflow: number | null;
1370
+ outflow: number | null;
1371
+ net_flow: number | null;
1372
+ shareholders: number | null;
1373
+ };
1374
+ InvestorFlow: {
1375
+ as_of_date: string;
1376
+ /** @description Estrangeiro | Institucionais | ... */
1377
+ investor_type: string;
1378
+ buy_brl_thousand: number | null;
1379
+ sell_brl_thousand: number | null;
1380
+ buy_share_pct: number | null;
1381
+ sell_share_pct: number | null;
1382
+ net_mtd_brl_thousand: number | null;
1383
+ net_daily_brl_thousand: number | null;
1384
+ lineage: string | null;
1385
+ };
1386
+ InvestorFlowMonthly: {
1387
+ month_ref: string;
1388
+ investor_type: string;
1389
+ segment: string;
1390
+ brl_reais: number | null;
1391
+ share_pct: number | null;
1392
+ lineage: string | null;
1393
+ };
1394
+ PublicOffering: {
1395
+ offering_id: string;
1396
+ /** @description ICVM_400_476 | RCVM_160 */
1397
+ regime: string | null;
1398
+ numero_processo: string | null;
1399
+ numero_requerimento: string | null;
1400
+ cnpj_emissor: string | null;
1401
+ nome_emissor: string | null;
1402
+ nome_lider: string | null;
1403
+ tipo_ativo: string | null;
1404
+ tipo_oferta: string | null;
1405
+ rito: string | null;
1406
+ status: string | null;
1407
+ data_processo: string | null;
1408
+ data_registro: string | null;
1409
+ data_encerramento: string | null;
1410
+ valor_total: number | null;
1411
+ incentivo_fiscal: boolean | null;
1412
+ };
1413
+ OptionsChain: {
1414
+ underlying_ticker: string;
1415
+ date: string | null;
1416
+ count: number;
1417
+ options: components["schemas"]["OptionContract"][];
1418
+ };
1419
+ OptionContract: {
1420
+ option_ticker: string;
1421
+ underlying_ticker: string | null;
957
1422
  underlying_root: string | null;
958
1423
  /** @description call | put */
959
1424
  option_type: string | null;
@@ -1220,6 +1685,38 @@ export interface operations {
1220
1685
  };
1221
1686
  };
1222
1687
  };
1688
+ getLiveQuotes: {
1689
+ parameters: {
1690
+ query?: {
1691
+ tickers?: string;
1692
+ index?: string;
1693
+ };
1694
+ header?: never;
1695
+ path?: never;
1696
+ cookie?: never;
1697
+ };
1698
+ requestBody?: never;
1699
+ responses: {
1700
+ /** @description Lote de cotações ao vivo */
1701
+ 200: {
1702
+ headers: {
1703
+ [name: string]: unknown;
1704
+ };
1705
+ content: {
1706
+ "application/json": components["schemas"]["LiveQuotesResponse"];
1707
+ };
1708
+ };
1709
+ /** @description Erro (RFC 9457 application/problem+json) */
1710
+ default: {
1711
+ headers: {
1712
+ [name: string]: unknown;
1713
+ };
1714
+ content: {
1715
+ "application/problem+json": components["schemas"]["Problem"];
1716
+ };
1717
+ };
1718
+ };
1719
+ };
1223
1720
  getStock: {
1224
1721
  parameters: {
1225
1722
  query?: never;
@@ -1295,6 +1792,39 @@ export interface operations {
1295
1792
  };
1296
1793
  };
1297
1794
  };
1795
+ getStockIntraday: {
1796
+ parameters: {
1797
+ query?: {
1798
+ session?: string;
1799
+ };
1800
+ header?: never;
1801
+ path: {
1802
+ ticker: string;
1803
+ };
1804
+ cookie?: never;
1805
+ };
1806
+ requestBody?: never;
1807
+ responses: {
1808
+ /** @description Série intradiária */
1809
+ 200: {
1810
+ headers: {
1811
+ [name: string]: unknown;
1812
+ };
1813
+ content: {
1814
+ "application/json": components["schemas"]["IntradaySeries"];
1815
+ };
1816
+ };
1817
+ /** @description Erro (RFC 9457 application/problem+json) */
1818
+ default: {
1819
+ headers: {
1820
+ [name: string]: unknown;
1821
+ };
1822
+ content: {
1823
+ "application/problem+json": components["schemas"]["Problem"];
1824
+ };
1825
+ };
1826
+ };
1827
+ };
1298
1828
  getStockIndicators: {
1299
1829
  parameters: {
1300
1830
  query?: {
@@ -1490,6 +2020,92 @@ export interface operations {
1490
2020
  };
1491
2021
  };
1492
2022
  };
2023
+ listFundHolders: {
2024
+ parameters: {
2025
+ query?: {
2026
+ cursor?: string;
2027
+ limit?: number;
2028
+ date?: string;
2029
+ };
2030
+ header?: never;
2031
+ path: {
2032
+ ticker: string;
2033
+ };
2034
+ cookie?: never;
2035
+ };
2036
+ requestBody?: never;
2037
+ responses: {
2038
+ /** @description Página de fundos detentores */
2039
+ 200: {
2040
+ headers: {
2041
+ [name: string]: unknown;
2042
+ };
2043
+ content: {
2044
+ "application/json": {
2045
+ data: components["schemas"]["FundHolding"][];
2046
+ meta: {
2047
+ next_cursor: string | null;
2048
+ /** @description Itens nesta página */
2049
+ count: number;
2050
+ };
2051
+ summary: components["schemas"]["FundOwnershipSummary"] | null;
2052
+ };
2053
+ };
2054
+ };
2055
+ /** @description Erro (RFC 9457 application/problem+json) */
2056
+ default: {
2057
+ headers: {
2058
+ [name: string]: unknown;
2059
+ };
2060
+ content: {
2061
+ "application/problem+json": components["schemas"]["Problem"];
2062
+ };
2063
+ };
2064
+ };
2065
+ };
2066
+ listTradeStats: {
2067
+ parameters: {
2068
+ query?: {
2069
+ cursor?: string;
2070
+ limit?: number;
2071
+ from?: string;
2072
+ to?: string;
2073
+ };
2074
+ header?: never;
2075
+ path: {
2076
+ ticker: string;
2077
+ };
2078
+ cookie?: never;
2079
+ };
2080
+ requestBody?: never;
2081
+ responses: {
2082
+ /** @description Página de estatísticas de negociação */
2083
+ 200: {
2084
+ headers: {
2085
+ [name: string]: unknown;
2086
+ };
2087
+ content: {
2088
+ "application/json": {
2089
+ data: components["schemas"]["TradeStat"][];
2090
+ meta: {
2091
+ next_cursor: string | null;
2092
+ /** @description Itens nesta página */
2093
+ count: number;
2094
+ };
2095
+ };
2096
+ };
2097
+ };
2098
+ /** @description Erro (RFC 9457 application/problem+json) */
2099
+ default: {
2100
+ headers: {
2101
+ [name: string]: unknown;
2102
+ };
2103
+ content: {
2104
+ "application/problem+json": components["schemas"]["Problem"];
2105
+ };
2106
+ };
2107
+ };
2108
+ };
1493
2109
  screenStocks: {
1494
2110
  parameters: {
1495
2111
  query?: {
@@ -1582,6 +2198,49 @@ export interface operations {
1582
2198
  };
1583
2199
  };
1584
2200
  };
2201
+ screenFunds: {
2202
+ parameters: {
2203
+ query?: {
2204
+ cursor?: string;
2205
+ limit?: number;
2206
+ classificacao?: string;
2207
+ min_net_worth?: number;
2208
+ sort?: "net_worth" | "return_1m" | "return_12m" | "return_ytd" | "shareholders";
2209
+ order?: "asc" | "desc";
2210
+ };
2211
+ header?: never;
2212
+ path?: never;
2213
+ cookie?: never;
2214
+ };
2215
+ requestBody?: never;
2216
+ responses: {
2217
+ /** @description Página de fundos */
2218
+ 200: {
2219
+ headers: {
2220
+ [name: string]: unknown;
2221
+ };
2222
+ content: {
2223
+ "application/json": {
2224
+ data: components["schemas"]["FundScreenerItem"][];
2225
+ meta: {
2226
+ next_cursor: string | null;
2227
+ /** @description Itens nesta página */
2228
+ count: number;
2229
+ };
2230
+ };
2231
+ };
2232
+ };
2233
+ /** @description Erro (RFC 9457 application/problem+json) */
2234
+ default: {
2235
+ headers: {
2236
+ [name: string]: unknown;
2237
+ };
2238
+ content: {
2239
+ "application/problem+json": components["schemas"]["Problem"];
2240
+ };
2241
+ };
2242
+ };
2243
+ };
1585
2244
  getMacroGears: {
1586
2245
  parameters: {
1587
2246
  query?: {
@@ -1845,6 +2504,39 @@ export interface operations {
1845
2504
  };
1846
2505
  };
1847
2506
  };
2507
+ getIndexIntraday: {
2508
+ parameters: {
2509
+ query?: {
2510
+ session?: string;
2511
+ };
2512
+ header?: never;
2513
+ path: {
2514
+ code: string;
2515
+ };
2516
+ cookie?: never;
2517
+ };
2518
+ requestBody?: never;
2519
+ responses: {
2520
+ /** @description Série intradiária */
2521
+ 200: {
2522
+ headers: {
2523
+ [name: string]: unknown;
2524
+ };
2525
+ content: {
2526
+ "application/json": components["schemas"]["IntradaySeries"];
2527
+ };
2528
+ };
2529
+ /** @description Erro (RFC 9457 application/problem+json) */
2530
+ default: {
2531
+ headers: {
2532
+ [name: string]: unknown;
2533
+ };
2534
+ content: {
2535
+ "application/problem+json": components["schemas"]["Problem"];
2536
+ };
2537
+ };
2538
+ };
2539
+ };
1848
2540
  getIndexComposition: {
1849
2541
  parameters: {
1850
2542
  query?: never;
@@ -2264,6 +2956,363 @@ export interface operations {
2264
2956
  };
2265
2957
  };
2266
2958
  };
2959
+ listEtfs: {
2960
+ parameters: {
2961
+ query?: {
2962
+ cursor?: string;
2963
+ limit?: number;
2964
+ search?: string;
2965
+ segment?: string;
2966
+ };
2967
+ header?: never;
2968
+ path?: never;
2969
+ cookie?: never;
2970
+ };
2971
+ requestBody?: never;
2972
+ responses: {
2973
+ /** @description Página de ETFs */
2974
+ 200: {
2975
+ headers: {
2976
+ [name: string]: unknown;
2977
+ };
2978
+ content: {
2979
+ "application/json": {
2980
+ data: components["schemas"]["EtfProfile"][];
2981
+ meta: {
2982
+ next_cursor: string | null;
2983
+ /** @description Itens nesta página */
2984
+ count: number;
2985
+ };
2986
+ };
2987
+ };
2988
+ };
2989
+ /** @description Erro (RFC 9457 application/problem+json) */
2990
+ default: {
2991
+ headers: {
2992
+ [name: string]: unknown;
2993
+ };
2994
+ content: {
2995
+ "application/problem+json": components["schemas"]["Problem"];
2996
+ };
2997
+ };
2998
+ };
2999
+ };
3000
+ getEtf: {
3001
+ parameters: {
3002
+ query?: never;
3003
+ header?: never;
3004
+ path: {
3005
+ ticker: string;
3006
+ };
3007
+ cookie?: never;
3008
+ };
3009
+ requestBody?: never;
3010
+ responses: {
3011
+ /** @description ETF */
3012
+ 200: {
3013
+ headers: {
3014
+ [name: string]: unknown;
3015
+ };
3016
+ content: {
3017
+ "application/json": components["schemas"]["EtfProfile"];
3018
+ };
3019
+ };
3020
+ /** @description Erro (RFC 9457 application/problem+json) */
3021
+ default: {
3022
+ headers: {
3023
+ [name: string]: unknown;
3024
+ };
3025
+ content: {
3026
+ "application/problem+json": components["schemas"]["Problem"];
3027
+ };
3028
+ };
3029
+ };
3030
+ };
3031
+ listFunds: {
3032
+ parameters: {
3033
+ query?: {
3034
+ cursor?: string;
3035
+ limit?: number;
3036
+ search?: string;
3037
+ classificacao?: string;
3038
+ };
3039
+ header?: never;
3040
+ path?: never;
3041
+ cookie?: never;
3042
+ };
3043
+ requestBody?: never;
3044
+ responses: {
3045
+ /** @description Página de fundos */
3046
+ 200: {
3047
+ headers: {
3048
+ [name: string]: unknown;
3049
+ };
3050
+ content: {
3051
+ "application/json": {
3052
+ data: components["schemas"]["FundProfile"][];
3053
+ meta: {
3054
+ next_cursor: string | null;
3055
+ /** @description Itens nesta página */
3056
+ count: number;
3057
+ };
3058
+ };
3059
+ };
3060
+ };
3061
+ /** @description Erro (RFC 9457 application/problem+json) */
3062
+ default: {
3063
+ headers: {
3064
+ [name: string]: unknown;
3065
+ };
3066
+ content: {
3067
+ "application/problem+json": components["schemas"]["Problem"];
3068
+ };
3069
+ };
3070
+ };
3071
+ };
3072
+ getFund: {
3073
+ parameters: {
3074
+ query?: never;
3075
+ header?: never;
3076
+ path: {
3077
+ cnpj: string;
3078
+ };
3079
+ cookie?: never;
3080
+ };
3081
+ requestBody?: never;
3082
+ responses: {
3083
+ /** @description Fundo */
3084
+ 200: {
3085
+ headers: {
3086
+ [name: string]: unknown;
3087
+ };
3088
+ content: {
3089
+ "application/json": components["schemas"]["FundProfile"];
3090
+ };
3091
+ };
3092
+ /** @description Erro (RFC 9457 application/problem+json) */
3093
+ default: {
3094
+ headers: {
3095
+ [name: string]: unknown;
3096
+ };
3097
+ content: {
3098
+ "application/problem+json": components["schemas"]["Problem"];
3099
+ };
3100
+ };
3101
+ };
3102
+ };
3103
+ listFundQuotes: {
3104
+ parameters: {
3105
+ query?: {
3106
+ cursor?: string;
3107
+ limit?: number;
3108
+ from?: string;
3109
+ to?: string;
3110
+ };
3111
+ header?: never;
3112
+ path: {
3113
+ cnpj: string;
3114
+ };
3115
+ cookie?: never;
3116
+ };
3117
+ requestBody?: never;
3118
+ responses: {
3119
+ /** @description Página de cotas */
3120
+ 200: {
3121
+ headers: {
3122
+ [name: string]: unknown;
3123
+ };
3124
+ content: {
3125
+ "application/json": {
3126
+ data: components["schemas"]["FundQuote"][];
3127
+ meta: {
3128
+ next_cursor: string | null;
3129
+ /** @description Itens nesta página */
3130
+ count: number;
3131
+ };
3132
+ };
3133
+ };
3134
+ };
3135
+ /** @description Erro (RFC 9457 application/problem+json) */
3136
+ default: {
3137
+ headers: {
3138
+ [name: string]: unknown;
3139
+ };
3140
+ content: {
3141
+ "application/problem+json": components["schemas"]["Problem"];
3142
+ };
3143
+ };
3144
+ };
3145
+ };
3146
+ listFundHoldings: {
3147
+ parameters: {
3148
+ query?: {
3149
+ cursor?: string;
3150
+ limit?: number;
3151
+ date?: string;
3152
+ };
3153
+ header?: never;
3154
+ path: {
3155
+ cnpj: string;
3156
+ };
3157
+ cookie?: never;
3158
+ };
3159
+ requestBody?: never;
3160
+ responses: {
3161
+ /** @description Página de posições */
3162
+ 200: {
3163
+ headers: {
3164
+ [name: string]: unknown;
3165
+ };
3166
+ content: {
3167
+ "application/json": {
3168
+ data: components["schemas"]["FundHolding"][];
3169
+ meta: {
3170
+ next_cursor: string | null;
3171
+ /** @description Itens nesta página */
3172
+ count: number;
3173
+ };
3174
+ };
3175
+ };
3176
+ };
3177
+ /** @description Erro (RFC 9457 application/problem+json) */
3178
+ default: {
3179
+ headers: {
3180
+ [name: string]: unknown;
3181
+ };
3182
+ content: {
3183
+ "application/problem+json": components["schemas"]["Problem"];
3184
+ };
3185
+ };
3186
+ };
3187
+ };
3188
+ listInvestorFlow: {
3189
+ parameters: {
3190
+ query?: {
3191
+ cursor?: string;
3192
+ limit?: number;
3193
+ from?: string;
3194
+ to?: string;
3195
+ investor_type?: string;
3196
+ };
3197
+ header?: never;
3198
+ path?: never;
3199
+ cookie?: never;
3200
+ };
3201
+ requestBody?: never;
3202
+ responses: {
3203
+ /** @description Página de fluxo diário */
3204
+ 200: {
3205
+ headers: {
3206
+ [name: string]: unknown;
3207
+ };
3208
+ content: {
3209
+ "application/json": {
3210
+ data: components["schemas"]["InvestorFlow"][];
3211
+ meta: {
3212
+ next_cursor: string | null;
3213
+ /** @description Itens nesta página */
3214
+ count: number;
3215
+ };
3216
+ };
3217
+ };
3218
+ };
3219
+ /** @description Erro (RFC 9457 application/problem+json) */
3220
+ default: {
3221
+ headers: {
3222
+ [name: string]: unknown;
3223
+ };
3224
+ content: {
3225
+ "application/problem+json": components["schemas"]["Problem"];
3226
+ };
3227
+ };
3228
+ };
3229
+ };
3230
+ listInvestorFlowMonthly: {
3231
+ parameters: {
3232
+ query?: {
3233
+ cursor?: string;
3234
+ limit?: number;
3235
+ month?: string;
3236
+ investor_type?: string;
3237
+ segment?: string;
3238
+ };
3239
+ header?: never;
3240
+ path?: never;
3241
+ cookie?: never;
3242
+ };
3243
+ requestBody?: never;
3244
+ responses: {
3245
+ /** @description Página de fluxo mensal */
3246
+ 200: {
3247
+ headers: {
3248
+ [name: string]: unknown;
3249
+ };
3250
+ content: {
3251
+ "application/json": {
3252
+ data: components["schemas"]["InvestorFlowMonthly"][];
3253
+ meta: {
3254
+ next_cursor: string | null;
3255
+ /** @description Itens nesta página */
3256
+ count: number;
3257
+ };
3258
+ };
3259
+ };
3260
+ };
3261
+ /** @description Erro (RFC 9457 application/problem+json) */
3262
+ default: {
3263
+ headers: {
3264
+ [name: string]: unknown;
3265
+ };
3266
+ content: {
3267
+ "application/problem+json": components["schemas"]["Problem"];
3268
+ };
3269
+ };
3270
+ };
3271
+ };
3272
+ listOfferings: {
3273
+ parameters: {
3274
+ query?: {
3275
+ cursor?: string;
3276
+ limit?: number;
3277
+ search?: string;
3278
+ regime?: "ICVM_400_476" | "RCVM_160";
3279
+ tipo_ativo?: string;
3280
+ from?: string;
3281
+ to?: string;
3282
+ };
3283
+ header?: never;
3284
+ path?: never;
3285
+ cookie?: never;
3286
+ };
3287
+ requestBody?: never;
3288
+ responses: {
3289
+ /** @description Página de ofertas */
3290
+ 200: {
3291
+ headers: {
3292
+ [name: string]: unknown;
3293
+ };
3294
+ content: {
3295
+ "application/json": {
3296
+ data: components["schemas"]["PublicOffering"][];
3297
+ meta: {
3298
+ next_cursor: string | null;
3299
+ /** @description Itens nesta página */
3300
+ count: number;
3301
+ };
3302
+ };
3303
+ };
3304
+ };
3305
+ /** @description Erro (RFC 9457 application/problem+json) */
3306
+ default: {
3307
+ headers: {
3308
+ [name: string]: unknown;
3309
+ };
3310
+ content: {
3311
+ "application/problem+json": components["schemas"]["Problem"];
3312
+ };
3313
+ };
3314
+ };
3315
+ };
2267
3316
  getOptionsChain: {
2268
3317
  parameters: {
2269
3318
  query?: {