@databolsa/sdk 1.0.2 → 1.0.4

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
@@ -61,7 +61,10 @@ export interface paths {
61
61
  path?: never;
62
62
  cookie?: never;
63
63
  };
64
- /** Documentos e comunicados (IPE/CVM) */
64
+ /**
65
+ * Documentos e comunicados (IPE/CVM)
66
+ * @description Fatos relevantes, comunicados e documentos protocolados na CVM (IPE) da companhia (por código CVM). Filtre por `category` e por período (`from`/`to`); paginação por cursor.
67
+ */
65
68
  get: operations["listCompanyDocuments"];
66
69
  put?: never;
67
70
  post?: never;
@@ -71,6 +74,26 @@ export interface paths {
71
74
  patch?: never;
72
75
  trace?: never;
73
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
+ };
74
97
  "/v1/stocks/{ticker}": {
75
98
  parameters: {
76
99
  query?: never;
@@ -108,6 +131,26 @@ export interface paths {
108
131
  patch?: never;
109
132
  trace?: never;
110
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
+ };
111
154
  "/v1/stocks/{ticker}/indicators": {
112
155
  parameters: {
113
156
  query?: never;
@@ -193,6 +236,46 @@ export interface paths {
193
236
  patch?: never;
194
237
  trace?: never;
195
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
+ };
196
279
  "/v1/screener/stocks": {
197
280
  parameters: {
198
281
  query?: never;
@@ -200,7 +283,10 @@ export interface paths {
200
283
  path?: never;
201
284
  cookie?: never;
202
285
  };
203
- /** Filtra ações por múltiplos critérios fundamentalistas */
286
+ /**
287
+ * Filtra ações por múltiplos critérios fundamentalistas
288
+ * @description Filtra o universo de ações por faixas de indicadores (pl_min/pl_max, pvp_min/pvp_max, dy_min, roe_min, ev_ebitda_max, div_liq_ebitda_max), setor e segmento; ordena por `sort`. Paginação por cursor (use meta.next_cursor). Retorna ticker, nome, setor e os indicadores principais por papel.
289
+ */
204
290
  get: operations["screenStocks"];
205
291
  put?: never;
206
292
  post?: never;
@@ -217,7 +303,10 @@ export interface paths {
217
303
  path?: never;
218
304
  cookie?: never;
219
305
  };
220
- /** Universo de FIIs filtrável por segmento e tijolo/papel */
306
+ /**
307
+ * Universo de FIIs filtrável por segmento e tijolo/papel
308
+ * @description Lista o universo real de FIIs (mart_fii__profile), filtrável por segmento e por tijolo/papel; ordena por `sort`. Paginação por cursor (meta.next_cursor). Retorna ticker, nome, segmento e indicadores (dy, pvp, vacância…).
309
+ */
221
310
  get: operations["screenFiis"];
222
311
  put?: never;
223
312
  post?: never;
@@ -227,6 +316,26 @@ export interface paths {
227
316
  patch?: never;
228
317
  trace?: never;
229
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
+ };
230
339
  "/v1/macro/gears": {
231
340
  parameters: {
232
341
  query?: never;
@@ -268,7 +377,10 @@ export interface paths {
268
377
  path?: never;
269
378
  cookie?: never;
270
379
  };
271
- /** Expectativas Focus (consenso por indicador) */
380
+ /**
381
+ * Expectativas Focus (consenso por indicador)
382
+ * @description Consenso do Boletim Focus (BCB) para ipca, selic, pib ou cambio. Informe `reference` (ano) para uma série limpa; sem ele, mistura todos os anos de referência.
383
+ */
272
384
  get: operations["getMarketExpectations"];
273
385
  put?: never;
274
386
  post?: never;
@@ -319,7 +431,10 @@ export interface paths {
319
431
  path?: never;
320
432
  cookie?: never;
321
433
  };
322
- /** Índices disponíveis (IBOV, IFIX, ...) */
434
+ /**
435
+ * Índices disponíveis (IBOV, IFIX, ...)
436
+ * @description Catálogo dos índices da B3 cobertos (IBOV, IFIX, IBXX/IBrX-100, SMLL, IDIV, ICON…) com código e nome.
437
+ */
323
438
  get: operations["listIndices"];
324
439
  put?: never;
325
440
  post?: never;
@@ -346,6 +461,26 @@ export interface paths {
346
461
  patch?: never;
347
462
  trace?: never;
348
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
+ };
349
484
  "/v1/indices/{code}/composition": {
350
485
  parameters: {
351
486
  query?: never;
@@ -353,7 +488,7 @@ export interface paths {
353
488
  path?: never;
354
489
  cookie?: never;
355
490
  };
356
- /** Composição teórica do índice (carteira) dados ao vivo pendentes */
491
+ /** Composição teórica do índice (carteira teórica vigente) */
357
492
  get: operations["getIndexComposition"];
358
493
  put?: never;
359
494
  post?: never;
@@ -387,7 +522,10 @@ export interface paths {
387
522
  path?: never;
388
523
  cookie?: never;
389
524
  };
390
- /** Observações de uma série (com acumulados opcionais) */
525
+ /**
526
+ * Observações de uma série (com acumulados opcionais)
527
+ * @description Série temporal (data, valor) de uma fonte macro (BCB SGS, IBGE SIDRA, FRED…). `source`+`series_id` identificam a série; `accumulated=12m` acumula variações. Ex.: bcb_sgs/432 = Selic meta.
528
+ */
391
529
  get: operations["getSeries"];
392
530
  put?: never;
393
531
  post?: never;
@@ -421,7 +559,10 @@ export interface paths {
421
559
  path?: never;
422
560
  cookie?: never;
423
561
  };
424
- /** Indicadores do FII (snapshot) */
562
+ /**
563
+ * Indicadores do FII (snapshot)
564
+ * @description Snapshot dos indicadores do FII: dividend yield (mês e 12m), P/VP, vacância, patrimônio líquido, valor patrimonial por cota (vp_cota) e nº de cotistas. Para a série temporal use o histórico.
565
+ */
425
566
  get: operations["getFiiIndicators"];
426
567
  put?: never;
427
568
  post?: never;
@@ -536,6 +677,171 @@ export interface paths {
536
677
  patch?: never;
537
678
  trace?: never;
538
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
+ };
539
845
  "/v1/options/{ticker}/chain": {
540
846
  parameters: {
541
847
  query?: never;
@@ -690,7 +996,21 @@ export interface components {
690
996
  filed_at: string | null;
691
997
  protocol: string | null;
692
998
  download_url: string | null;
693
- 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";
694
1014
  };
695
1015
  Stock: {
696
1016
  ticker: string;
@@ -734,6 +1054,17 @@ export interface components {
734
1054
  adjust_type: string | null;
735
1055
  adjust_quality: string | null;
736
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
+ };
737
1068
  IndicatorValue: {
738
1069
  name: string;
739
1070
  label: string;
@@ -779,6 +1110,46 @@ export interface components {
779
1110
  sell_value_brl: number | null;
780
1111
  lineage: components["schemas"]["Lineage"];
781
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
+ };
782
1153
  ScreenerRow: {
783
1154
  ticker: string;
784
1155
  name: string | null;
@@ -807,7 +1178,26 @@ export interface components {
807
1178
  vacancia_fisica: number | null;
808
1179
  patrimonio_liquido: number | null;
809
1180
  };
810
- RegimeSignal: {
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
+ };
1200
+ RegimeSignal: {
811
1201
  name: string;
812
1202
  value: number | null;
813
1203
  /** @enum {string|null} */
@@ -924,6 +1314,93 @@ export interface components {
924
1314
  volume: number | null;
925
1315
  adjust_quality: string | null;
926
1316
  };
1317
+ EtfProfile: {
1318
+ ticker: string;
1319
+ name: string | null;
1320
+ cnpj: string | null;
1321
+ /** @description gestor (positionManager) */
1322
+ manager: string | null;
1323
+ administrator: string | null;
1324
+ segment: string | null;
1325
+ classification: string | null;
1326
+ /** @description lote fracionário / código alternativo */
1327
+ trading_code_others: string | null;
1328
+ /** @description teto autorizado de cotas (cadastro B3) */
1329
+ quota_count_authorized: number | null;
1330
+ first_traded: string | null;
1331
+ last_traded: string | null;
1332
+ sessions: number | null;
1333
+ };
1334
+ FundProfile: {
1335
+ cnpj: string;
1336
+ codigo_cvm: number | null;
1337
+ name: string | null;
1338
+ tipo_classe: string | null;
1339
+ situacao: string | null;
1340
+ classificacao: string | null;
1341
+ classificacao_anbima: string | null;
1342
+ entidade_investimento: string | null;
1343
+ /** @description patrimônio líquido (R$) */
1344
+ net_worth: number | null;
1345
+ cnpj_fundo: string | null;
1346
+ tipo_fundo: string | null;
1347
+ administrator: string | null;
1348
+ /** @description gestor */
1349
+ manager: string | null;
1350
+ /** @description taxa de administração (herdada do cadastro legado) */
1351
+ admin_fee_pct: number | null;
1352
+ performance_fee_pct: number | null;
1353
+ data_registro: string | null;
1354
+ };
1355
+ FundQuote: {
1356
+ comptc_date: string;
1357
+ quota_value: number | null;
1358
+ net_worth: number | null;
1359
+ total_value: number | null;
1360
+ inflow: number | null;
1361
+ outflow: number | null;
1362
+ net_flow: number | null;
1363
+ shareholders: number | null;
1364
+ };
1365
+ InvestorFlow: {
1366
+ as_of_date: string;
1367
+ /** @description Estrangeiro | Institucionais | ... */
1368
+ investor_type: string;
1369
+ buy_brl_thousand: number | null;
1370
+ sell_brl_thousand: number | null;
1371
+ buy_share_pct: number | null;
1372
+ sell_share_pct: number | null;
1373
+ net_mtd_brl_thousand: number | null;
1374
+ net_daily_brl_thousand: number | null;
1375
+ lineage: string | null;
1376
+ };
1377
+ InvestorFlowMonthly: {
1378
+ month_ref: string;
1379
+ investor_type: string;
1380
+ segment: string;
1381
+ brl_reais: number | null;
1382
+ share_pct: number | null;
1383
+ lineage: string | null;
1384
+ };
1385
+ PublicOffering: {
1386
+ offering_id: string;
1387
+ /** @description ICVM_400_476 | RCVM_160 */
1388
+ regime: string | null;
1389
+ numero_processo: string | null;
1390
+ numero_requerimento: string | null;
1391
+ cnpj_emissor: string | null;
1392
+ nome_emissor: string | null;
1393
+ nome_lider: string | null;
1394
+ tipo_ativo: string | null;
1395
+ tipo_oferta: string | null;
1396
+ rito: string | null;
1397
+ status: string | null;
1398
+ data_processo: string | null;
1399
+ data_registro: string | null;
1400
+ data_encerramento: string | null;
1401
+ valor_total: number | null;
1402
+ incentivo_fiscal: boolean | null;
1403
+ };
927
1404
  OptionsChain: {
928
1405
  underlying_ticker: string;
929
1406
  date: string | null;
@@ -1199,6 +1676,38 @@ export interface operations {
1199
1676
  };
1200
1677
  };
1201
1678
  };
1679
+ getLiveQuotes: {
1680
+ parameters: {
1681
+ query?: {
1682
+ tickers?: string;
1683
+ index?: string;
1684
+ };
1685
+ header?: never;
1686
+ path?: never;
1687
+ cookie?: never;
1688
+ };
1689
+ requestBody?: never;
1690
+ responses: {
1691
+ /** @description Lote de cotações ao vivo */
1692
+ 200: {
1693
+ headers: {
1694
+ [name: string]: unknown;
1695
+ };
1696
+ content: {
1697
+ "application/json": components["schemas"]["LiveQuotesResponse"];
1698
+ };
1699
+ };
1700
+ /** @description Erro (RFC 9457 application/problem+json) */
1701
+ default: {
1702
+ headers: {
1703
+ [name: string]: unknown;
1704
+ };
1705
+ content: {
1706
+ "application/problem+json": components["schemas"]["Problem"];
1707
+ };
1708
+ };
1709
+ };
1710
+ };
1202
1711
  getStock: {
1203
1712
  parameters: {
1204
1713
  query?: never;
@@ -1274,6 +1783,39 @@ export interface operations {
1274
1783
  };
1275
1784
  };
1276
1785
  };
1786
+ getStockIntraday: {
1787
+ parameters: {
1788
+ query?: {
1789
+ session?: string;
1790
+ };
1791
+ header?: never;
1792
+ path: {
1793
+ ticker: string;
1794
+ };
1795
+ cookie?: never;
1796
+ };
1797
+ requestBody?: never;
1798
+ responses: {
1799
+ /** @description Série intradiária */
1800
+ 200: {
1801
+ headers: {
1802
+ [name: string]: unknown;
1803
+ };
1804
+ content: {
1805
+ "application/json": components["schemas"]["IntradaySeries"];
1806
+ };
1807
+ };
1808
+ /** @description Erro (RFC 9457 application/problem+json) */
1809
+ default: {
1810
+ headers: {
1811
+ [name: string]: unknown;
1812
+ };
1813
+ content: {
1814
+ "application/problem+json": components["schemas"]["Problem"];
1815
+ };
1816
+ };
1817
+ };
1818
+ };
1277
1819
  getStockIndicators: {
1278
1820
  parameters: {
1279
1821
  query?: {
@@ -1469,6 +2011,92 @@ export interface operations {
1469
2011
  };
1470
2012
  };
1471
2013
  };
2014
+ listFundHolders: {
2015
+ parameters: {
2016
+ query?: {
2017
+ cursor?: string;
2018
+ limit?: number;
2019
+ date?: string;
2020
+ };
2021
+ header?: never;
2022
+ path: {
2023
+ ticker: string;
2024
+ };
2025
+ cookie?: never;
2026
+ };
2027
+ requestBody?: never;
2028
+ responses: {
2029
+ /** @description Página de fundos detentores */
2030
+ 200: {
2031
+ headers: {
2032
+ [name: string]: unknown;
2033
+ };
2034
+ content: {
2035
+ "application/json": {
2036
+ data: components["schemas"]["FundHolding"][];
2037
+ meta: {
2038
+ next_cursor: string | null;
2039
+ /** @description Itens nesta página */
2040
+ count: number;
2041
+ };
2042
+ summary: components["schemas"]["FundOwnershipSummary"] | null;
2043
+ };
2044
+ };
2045
+ };
2046
+ /** @description Erro (RFC 9457 application/problem+json) */
2047
+ default: {
2048
+ headers: {
2049
+ [name: string]: unknown;
2050
+ };
2051
+ content: {
2052
+ "application/problem+json": components["schemas"]["Problem"];
2053
+ };
2054
+ };
2055
+ };
2056
+ };
2057
+ listTradeStats: {
2058
+ parameters: {
2059
+ query?: {
2060
+ cursor?: string;
2061
+ limit?: number;
2062
+ from?: string;
2063
+ to?: string;
2064
+ };
2065
+ header?: never;
2066
+ path: {
2067
+ ticker: string;
2068
+ };
2069
+ cookie?: never;
2070
+ };
2071
+ requestBody?: never;
2072
+ responses: {
2073
+ /** @description Página de estatísticas de negociação */
2074
+ 200: {
2075
+ headers: {
2076
+ [name: string]: unknown;
2077
+ };
2078
+ content: {
2079
+ "application/json": {
2080
+ data: components["schemas"]["TradeStat"][];
2081
+ meta: {
2082
+ next_cursor: string | null;
2083
+ /** @description Itens nesta página */
2084
+ count: number;
2085
+ };
2086
+ };
2087
+ };
2088
+ };
2089
+ /** @description Erro (RFC 9457 application/problem+json) */
2090
+ default: {
2091
+ headers: {
2092
+ [name: string]: unknown;
2093
+ };
2094
+ content: {
2095
+ "application/problem+json": components["schemas"]["Problem"];
2096
+ };
2097
+ };
2098
+ };
2099
+ };
1472
2100
  screenStocks: {
1473
2101
  parameters: {
1474
2102
  query?: {
@@ -1561,6 +2189,49 @@ export interface operations {
1561
2189
  };
1562
2190
  };
1563
2191
  };
2192
+ screenFunds: {
2193
+ parameters: {
2194
+ query?: {
2195
+ cursor?: string;
2196
+ limit?: number;
2197
+ classificacao?: string;
2198
+ min_net_worth?: number;
2199
+ sort?: "net_worth" | "return_1m" | "return_12m" | "return_ytd" | "shareholders";
2200
+ order?: "asc" | "desc";
2201
+ };
2202
+ header?: never;
2203
+ path?: never;
2204
+ cookie?: never;
2205
+ };
2206
+ requestBody?: never;
2207
+ responses: {
2208
+ /** @description Página de fundos */
2209
+ 200: {
2210
+ headers: {
2211
+ [name: string]: unknown;
2212
+ };
2213
+ content: {
2214
+ "application/json": {
2215
+ data: components["schemas"]["FundScreenerItem"][];
2216
+ meta: {
2217
+ next_cursor: string | null;
2218
+ /** @description Itens nesta página */
2219
+ count: number;
2220
+ };
2221
+ };
2222
+ };
2223
+ };
2224
+ /** @description Erro (RFC 9457 application/problem+json) */
2225
+ default: {
2226
+ headers: {
2227
+ [name: string]: unknown;
2228
+ };
2229
+ content: {
2230
+ "application/problem+json": components["schemas"]["Problem"];
2231
+ };
2232
+ };
2233
+ };
2234
+ };
1564
2235
  getMacroGears: {
1565
2236
  parameters: {
1566
2237
  query?: {
@@ -1824,6 +2495,39 @@ export interface operations {
1824
2495
  };
1825
2496
  };
1826
2497
  };
2498
+ getIndexIntraday: {
2499
+ parameters: {
2500
+ query?: {
2501
+ session?: string;
2502
+ };
2503
+ header?: never;
2504
+ path: {
2505
+ code: string;
2506
+ };
2507
+ cookie?: never;
2508
+ };
2509
+ requestBody?: never;
2510
+ responses: {
2511
+ /** @description Série intradiária */
2512
+ 200: {
2513
+ headers: {
2514
+ [name: string]: unknown;
2515
+ };
2516
+ content: {
2517
+ "application/json": components["schemas"]["IntradaySeries"];
2518
+ };
2519
+ };
2520
+ /** @description Erro (RFC 9457 application/problem+json) */
2521
+ default: {
2522
+ headers: {
2523
+ [name: string]: unknown;
2524
+ };
2525
+ content: {
2526
+ "application/problem+json": components["schemas"]["Problem"];
2527
+ };
2528
+ };
2529
+ };
2530
+ };
1827
2531
  getIndexComposition: {
1828
2532
  parameters: {
1829
2533
  query?: never;
@@ -2243,6 +2947,363 @@ export interface operations {
2243
2947
  };
2244
2948
  };
2245
2949
  };
2950
+ listEtfs: {
2951
+ parameters: {
2952
+ query?: {
2953
+ cursor?: string;
2954
+ limit?: number;
2955
+ search?: string;
2956
+ segment?: string;
2957
+ };
2958
+ header?: never;
2959
+ path?: never;
2960
+ cookie?: never;
2961
+ };
2962
+ requestBody?: never;
2963
+ responses: {
2964
+ /** @description Página de ETFs */
2965
+ 200: {
2966
+ headers: {
2967
+ [name: string]: unknown;
2968
+ };
2969
+ content: {
2970
+ "application/json": {
2971
+ data: components["schemas"]["EtfProfile"][];
2972
+ meta: {
2973
+ next_cursor: string | null;
2974
+ /** @description Itens nesta página */
2975
+ count: number;
2976
+ };
2977
+ };
2978
+ };
2979
+ };
2980
+ /** @description Erro (RFC 9457 application/problem+json) */
2981
+ default: {
2982
+ headers: {
2983
+ [name: string]: unknown;
2984
+ };
2985
+ content: {
2986
+ "application/problem+json": components["schemas"]["Problem"];
2987
+ };
2988
+ };
2989
+ };
2990
+ };
2991
+ getEtf: {
2992
+ parameters: {
2993
+ query?: never;
2994
+ header?: never;
2995
+ path: {
2996
+ ticker: string;
2997
+ };
2998
+ cookie?: never;
2999
+ };
3000
+ requestBody?: never;
3001
+ responses: {
3002
+ /** @description ETF */
3003
+ 200: {
3004
+ headers: {
3005
+ [name: string]: unknown;
3006
+ };
3007
+ content: {
3008
+ "application/json": components["schemas"]["EtfProfile"];
3009
+ };
3010
+ };
3011
+ /** @description Erro (RFC 9457 application/problem+json) */
3012
+ default: {
3013
+ headers: {
3014
+ [name: string]: unknown;
3015
+ };
3016
+ content: {
3017
+ "application/problem+json": components["schemas"]["Problem"];
3018
+ };
3019
+ };
3020
+ };
3021
+ };
3022
+ listFunds: {
3023
+ parameters: {
3024
+ query?: {
3025
+ cursor?: string;
3026
+ limit?: number;
3027
+ search?: string;
3028
+ classificacao?: string;
3029
+ };
3030
+ header?: never;
3031
+ path?: never;
3032
+ cookie?: never;
3033
+ };
3034
+ requestBody?: never;
3035
+ responses: {
3036
+ /** @description Página de fundos */
3037
+ 200: {
3038
+ headers: {
3039
+ [name: string]: unknown;
3040
+ };
3041
+ content: {
3042
+ "application/json": {
3043
+ data: components["schemas"]["FundProfile"][];
3044
+ meta: {
3045
+ next_cursor: string | null;
3046
+ /** @description Itens nesta página */
3047
+ count: number;
3048
+ };
3049
+ };
3050
+ };
3051
+ };
3052
+ /** @description Erro (RFC 9457 application/problem+json) */
3053
+ default: {
3054
+ headers: {
3055
+ [name: string]: unknown;
3056
+ };
3057
+ content: {
3058
+ "application/problem+json": components["schemas"]["Problem"];
3059
+ };
3060
+ };
3061
+ };
3062
+ };
3063
+ getFund: {
3064
+ parameters: {
3065
+ query?: never;
3066
+ header?: never;
3067
+ path: {
3068
+ cnpj: string;
3069
+ };
3070
+ cookie?: never;
3071
+ };
3072
+ requestBody?: never;
3073
+ responses: {
3074
+ /** @description Fundo */
3075
+ 200: {
3076
+ headers: {
3077
+ [name: string]: unknown;
3078
+ };
3079
+ content: {
3080
+ "application/json": components["schemas"]["FundProfile"];
3081
+ };
3082
+ };
3083
+ /** @description Erro (RFC 9457 application/problem+json) */
3084
+ default: {
3085
+ headers: {
3086
+ [name: string]: unknown;
3087
+ };
3088
+ content: {
3089
+ "application/problem+json": components["schemas"]["Problem"];
3090
+ };
3091
+ };
3092
+ };
3093
+ };
3094
+ listFundQuotes: {
3095
+ parameters: {
3096
+ query?: {
3097
+ cursor?: string;
3098
+ limit?: number;
3099
+ from?: string;
3100
+ to?: string;
3101
+ };
3102
+ header?: never;
3103
+ path: {
3104
+ cnpj: string;
3105
+ };
3106
+ cookie?: never;
3107
+ };
3108
+ requestBody?: never;
3109
+ responses: {
3110
+ /** @description Página de cotas */
3111
+ 200: {
3112
+ headers: {
3113
+ [name: string]: unknown;
3114
+ };
3115
+ content: {
3116
+ "application/json": {
3117
+ data: components["schemas"]["FundQuote"][];
3118
+ meta: {
3119
+ next_cursor: string | null;
3120
+ /** @description Itens nesta página */
3121
+ count: number;
3122
+ };
3123
+ };
3124
+ };
3125
+ };
3126
+ /** @description Erro (RFC 9457 application/problem+json) */
3127
+ default: {
3128
+ headers: {
3129
+ [name: string]: unknown;
3130
+ };
3131
+ content: {
3132
+ "application/problem+json": components["schemas"]["Problem"];
3133
+ };
3134
+ };
3135
+ };
3136
+ };
3137
+ listFundHoldings: {
3138
+ parameters: {
3139
+ query?: {
3140
+ cursor?: string;
3141
+ limit?: number;
3142
+ date?: string;
3143
+ };
3144
+ header?: never;
3145
+ path: {
3146
+ cnpj: string;
3147
+ };
3148
+ cookie?: never;
3149
+ };
3150
+ requestBody?: never;
3151
+ responses: {
3152
+ /** @description Página de posições */
3153
+ 200: {
3154
+ headers: {
3155
+ [name: string]: unknown;
3156
+ };
3157
+ content: {
3158
+ "application/json": {
3159
+ data: components["schemas"]["FundHolding"][];
3160
+ meta: {
3161
+ next_cursor: string | null;
3162
+ /** @description Itens nesta página */
3163
+ count: number;
3164
+ };
3165
+ };
3166
+ };
3167
+ };
3168
+ /** @description Erro (RFC 9457 application/problem+json) */
3169
+ default: {
3170
+ headers: {
3171
+ [name: string]: unknown;
3172
+ };
3173
+ content: {
3174
+ "application/problem+json": components["schemas"]["Problem"];
3175
+ };
3176
+ };
3177
+ };
3178
+ };
3179
+ listInvestorFlow: {
3180
+ parameters: {
3181
+ query?: {
3182
+ cursor?: string;
3183
+ limit?: number;
3184
+ from?: string;
3185
+ to?: string;
3186
+ investor_type?: string;
3187
+ };
3188
+ header?: never;
3189
+ path?: never;
3190
+ cookie?: never;
3191
+ };
3192
+ requestBody?: never;
3193
+ responses: {
3194
+ /** @description Página de fluxo diário */
3195
+ 200: {
3196
+ headers: {
3197
+ [name: string]: unknown;
3198
+ };
3199
+ content: {
3200
+ "application/json": {
3201
+ data: components["schemas"]["InvestorFlow"][];
3202
+ meta: {
3203
+ next_cursor: string | null;
3204
+ /** @description Itens nesta página */
3205
+ count: number;
3206
+ };
3207
+ };
3208
+ };
3209
+ };
3210
+ /** @description Erro (RFC 9457 application/problem+json) */
3211
+ default: {
3212
+ headers: {
3213
+ [name: string]: unknown;
3214
+ };
3215
+ content: {
3216
+ "application/problem+json": components["schemas"]["Problem"];
3217
+ };
3218
+ };
3219
+ };
3220
+ };
3221
+ listInvestorFlowMonthly: {
3222
+ parameters: {
3223
+ query?: {
3224
+ cursor?: string;
3225
+ limit?: number;
3226
+ month?: string;
3227
+ investor_type?: string;
3228
+ segment?: string;
3229
+ };
3230
+ header?: never;
3231
+ path?: never;
3232
+ cookie?: never;
3233
+ };
3234
+ requestBody?: never;
3235
+ responses: {
3236
+ /** @description Página de fluxo mensal */
3237
+ 200: {
3238
+ headers: {
3239
+ [name: string]: unknown;
3240
+ };
3241
+ content: {
3242
+ "application/json": {
3243
+ data: components["schemas"]["InvestorFlowMonthly"][];
3244
+ meta: {
3245
+ next_cursor: string | null;
3246
+ /** @description Itens nesta página */
3247
+ count: number;
3248
+ };
3249
+ };
3250
+ };
3251
+ };
3252
+ /** @description Erro (RFC 9457 application/problem+json) */
3253
+ default: {
3254
+ headers: {
3255
+ [name: string]: unknown;
3256
+ };
3257
+ content: {
3258
+ "application/problem+json": components["schemas"]["Problem"];
3259
+ };
3260
+ };
3261
+ };
3262
+ };
3263
+ listOfferings: {
3264
+ parameters: {
3265
+ query?: {
3266
+ cursor?: string;
3267
+ limit?: number;
3268
+ search?: string;
3269
+ regime?: "ICVM_400_476" | "RCVM_160";
3270
+ tipo_ativo?: string;
3271
+ from?: string;
3272
+ to?: string;
3273
+ };
3274
+ header?: never;
3275
+ path?: never;
3276
+ cookie?: never;
3277
+ };
3278
+ requestBody?: never;
3279
+ responses: {
3280
+ /** @description Página de ofertas */
3281
+ 200: {
3282
+ headers: {
3283
+ [name: string]: unknown;
3284
+ };
3285
+ content: {
3286
+ "application/json": {
3287
+ data: components["schemas"]["PublicOffering"][];
3288
+ meta: {
3289
+ next_cursor: string | null;
3290
+ /** @description Itens nesta página */
3291
+ count: number;
3292
+ };
3293
+ };
3294
+ };
3295
+ };
3296
+ /** @description Erro (RFC 9457 application/problem+json) */
3297
+ default: {
3298
+ headers: {
3299
+ [name: string]: unknown;
3300
+ };
3301
+ content: {
3302
+ "application/problem+json": components["schemas"]["Problem"];
3303
+ };
3304
+ };
3305
+ };
3306
+ };
2246
3307
  getOptionsChain: {
2247
3308
  parameters: {
2248
3309
  query?: {