@invezgo/sdk 2.0.1 → 2.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,30 +1,30 @@
1
1
  export interface ScreenRequest {
2
- /** Formula untuk screening saham */
2
+ /** Formula untuk screening saham - Mengacu pada [Variabel Formula](https://docs.invezgo.com/features/formula-variables/) */
3
3
  formula: string;
4
4
  /** Kategori indeks saham yang ingin disaring (opsional, bisa multi seperti ["SYARIAH", "IDXENERGY"]) */
5
- category?: string[] | null;
5
+ category?: Array<"COMPOSITE" | "SYARIAH" | "IDXENERGY" | "IDXBASIC" | "IDXINDUST" | "IDXNONCYC" | "IDXCYCLIC" | "IDXHEALTH" | "IDXFINANCE" | "IDXPROPERT" | "IDXTECHNO" | "IDXINFRA" | "IDXTRANS">;
6
6
  }
7
7
  export interface SaveScreenerRequest {
8
8
  name: string;
9
- description?: string | null;
10
- scope?: string[] | null;
9
+ description?: string;
10
+ scope?: string[];
11
11
  formula: string;
12
12
  /** Kategori indeks saham yang ingin disaring (opsional, bisa multi seperti ["SYARIAH", "IDXENERGY"]) */
13
- category?: string[] | null;
13
+ category?: Array<"COMPOSITE" | "SYARIAH" | "IDXENERGY" | "IDXBASIC" | "IDXINDUST" | "IDXNONCYC" | "IDXCYCLIC" | "IDXHEALTH" | "IDXFINANCE" | "IDXPROPERT" | "IDXTECHNO" | "IDXINFRA" | "IDXTRANS">;
14
14
  }
15
15
  export interface UpdateScreenerRequest {
16
16
  name: string;
17
- description?: string | null;
18
- scope?: string[] | null;
17
+ description?: string;
18
+ scope?: string[];
19
19
  formula: string;
20
20
  /** Kategori indeks saham yang ingin disaring (opsional, bisa multi seperti ["SYARIAH", "IDXENERGY"]) */
21
- category?: string[] | null;
21
+ category?: Array<"COMPOSITE" | "SYARIAH" | "IDXENERGY" | "IDXBASIC" | "IDXINDUST" | "IDXNONCYC" | "IDXCYCLIC" | "IDXHEALTH" | "IDXFINANCE" | "IDXPROPERT" | "IDXTECHNO" | "IDXINFRA" | "IDXTRANS">;
22
22
  }
23
23
  export interface AddWatchlistRequest {
24
24
  group: string;
25
25
  code: string;
26
26
  price: number;
27
- note?: string | null;
27
+ note?: string;
28
28
  scope: string[];
29
29
  }
30
30
  export interface WatchlistGroupRequest {
@@ -35,7 +35,7 @@ export interface UpdateWatchlistRequest {
35
35
  price: number;
36
36
  }
37
37
  export interface NoteRequest {
38
- note?: string | null;
38
+ note?: string;
39
39
  }
40
40
  export interface AddJournalRequest {
41
41
  code: string;
@@ -44,40 +44,46 @@ export interface AddJournalRequest {
44
44
  lot: number;
45
45
  fee: number;
46
46
  price: number;
47
- status?: string | null;
47
+ status?: "BUY" | "SELL";
48
48
  scope: string[];
49
- note?: string | null;
49
+ note: string | null;
50
50
  }
51
51
  export interface NoteJournalRequest {
52
- note?: string | null;
52
+ note?: string;
53
53
  }
54
54
  export interface AlertRequest {
55
55
  name: string;
56
- description?: string | null;
56
+ description?: string;
57
57
  /** Kategori indeks saham yang ingin disaring (opsional, bisa multi seperti ["SYARIAH", "IDXENERGY"]) */
58
- category?: string[] | null;
59
- every: string;
60
- send: string;
61
- scope?: string[] | null;
58
+ category?: Array<"COMPOSITE" | "SYARIAH" | "IDXENERGY" | "IDXBASIC" | "IDXINDUST" | "IDXNONCYC" | "IDXCYCLIC" | "IDXHEALTH" | "IDXFINANCE" | "IDXPROPERT" | "IDXTECHNO" | "IDXINFRA" | "IDXTRANS">;
59
+ every: "FOURTY_FIVE_SECONDS" | "ONE_MINUTE" | "FIVE_MINUTES" | "TEN_MINUTES" | "THIRTY_MINUTES" | "ONE_HOUR" | "END_SESSION" | "END_OF_DAY";
60
+ send: "IN_OUT" | "IN" | "OUT";
61
+ scope?: string[];
62
+ /** Formula alert, maksimal 2048 karakter (sama dengan formula screener) */
62
63
  formula: string;
64
+ /** Tujuan pengiriman alert. TELEGRAM (default), WEBHOOK (webhook akun, domain `alert`), atau MCP (MCP Events untuk agen AI). WEBHOOK dan MCP membutuhkan paket PRIME, MAX, atau ELITE. */
65
+ channel?: "TELEGRAM" | "WEBHOOK" | "MCP";
63
66
  }
64
67
  export interface TestAlertRequest {
65
68
  formula: string;
66
69
  /** Kategori indeks saham yang ingin disaring (opsional, bisa multi seperti ["SYARIAH", "IDXENERGY"]) */
67
- category?: string[] | null;
70
+ category?: Array<"COMPOSITE" | "SYARIAH" | "IDXENERGY" | "IDXBASIC" | "IDXINDUST" | "IDXNONCYC" | "IDXCYCLIC" | "IDXHEALTH" | "IDXFINANCE" | "IDXPROPERT" | "IDXTECHNO" | "IDXINFRA" | "IDXTRANS">;
68
71
  }
69
72
  export interface UpdateAlertRequest {
70
73
  name: string;
71
- description?: string | null;
74
+ description?: string;
72
75
  /** Kategori indeks saham yang ingin disaring (opsional, bisa multi seperti ["SYARIAH", "IDXENERGY"]) */
73
- category?: string[] | null;
74
- every: string;
75
- send: string;
76
+ category?: Array<"COMPOSITE" | "SYARIAH" | "IDXENERGY" | "IDXBASIC" | "IDXINDUST" | "IDXNONCYC" | "IDXCYCLIC" | "IDXHEALTH" | "IDXFINANCE" | "IDXPROPERT" | "IDXTECHNO" | "IDXINFRA" | "IDXTRANS">;
77
+ every: "FOURTY_FIVE_SECONDS" | "ONE_MINUTE" | "FIVE_MINUTES" | "TEN_MINUTES" | "THIRTY_MINUTES" | "ONE_HOUR" | "END_SESSION" | "END_OF_DAY";
78
+ send: "IN_OUT" | "IN" | "OUT";
79
+ /** Formula alert, maksimal 2048 karakter (sama dengan formula screener) */
76
80
  formula: string;
77
- scope?: string[] | null;
81
+ scope?: string[];
82
+ /** Tujuan pengiriman alert. TELEGRAM (default), WEBHOOK (webhook akun, domain `alert`), atau MCP (MCP Events untuk agen AI). WEBHOOK dan MCP membutuhkan paket PRIME, MAX, atau ELITE. Jika tidak dikirim, channel alert tidak berubah. */
83
+ channel?: "TELEGRAM" | "WEBHOOK" | "MCP";
78
84
  }
79
85
  export interface NoteTradeRequest {
80
- note?: string | null;
86
+ note?: string;
81
87
  }
82
88
  export interface DeleteIdsRequest {
83
89
  /** IDs to delete */
@@ -556,6 +562,8 @@ export interface IntradayChartItem {
556
562
  export interface OrderBookResponse {
557
563
  /** Stock code; carries the market suffix when market is not RG (e.g. BBCANG) */
558
564
  code: string;
565
+ /** Time of the data in WIB (UTC+7), not UTC. Live data shows when it was retrieved; stored data shows when it was recorded. Null when no data is available. */
566
+ date: string | null;
559
567
  /** Buy queue levels, ordered from level 1 (best bid) */
560
568
  bid: Array<Record<string, number | null>>;
561
569
  /** Sell queue levels, ordered from level 1 (best offer) */
@@ -582,6 +590,8 @@ export interface OrderQueueItem {
582
590
  export interface IntradayDataResponse {
583
591
  /** Stock code (without market suffix) */
584
592
  code: string;
593
+ /** Time of the data in WIB (UTC+7), not UTC. Live data shows when it was retrieved; stored data shows when it was recorded, or 16:15 (market close) for daily data. Null when no data is available. */
594
+ date: string | null;
585
595
  /** Opening price (Rupiah) */
586
596
  open: number | null;
587
597
  /** Highest price (Rupiah) */
@@ -621,6 +631,8 @@ export interface IntradayDataResponse {
621
631
  export interface IntradayIndexResponse {
622
632
  /** Index code */
623
633
  code: string;
634
+ /** Time of the data in WIB (UTC+7), not UTC. Live data shows when it was retrieved; stored data shows 16:15 (market close) of that trading day. Null when no data is available. */
635
+ date: string | null;
624
636
  /** Index opening value; may be a numeric string outside trading hours */
625
637
  open: number | string | null;
626
638
  /** Index highest value; may be a numeric string outside trading hours */
@@ -896,84 +908,244 @@ export interface ShareholderClassificationItem {
896
908
  code: string;
897
909
  /** Data date; WIB wall-clock DateTime with a literal Z suffix (not UTC), e.g. 2026-10-16T00:00:00.000Z */
898
910
  date: string;
899
- /** Shares held by Bank investors (shares) (numeric string) */
911
+ /** Shares held by domestic Bank investors (shares) (numeric string) */
912
+ local_bk: string;
913
+ /** Shares held by foreign Bank investors (shares) (numeric string) */
914
+ foreign_bk: string;
915
+ /** Shares held by Bank investors, local_bk + foreign_bk (shares) (numeric string) */
900
916
  bk: string;
901
- /** Shares held by Government investors (shares) (numeric string) */
917
+ /** Shares held by domestic Government investors (shares) (numeric string) */
918
+ local_gv: string;
919
+ /** Shares held by foreign Government investors (shares) (numeric string) */
920
+ foreign_gv: string;
921
+ /** Shares held by Government investors, local_gv + foreign_gv (shares) (numeric string) */
902
922
  gv: string;
903
- /** Shares held by Private Equity investors (shares) (numeric string) */
923
+ /** Shares held by domestic Private Equity investors (shares) (numeric string) */
924
+ local_pe: string;
925
+ /** Shares held by foreign Private Equity investors (shares) (numeric string) */
926
+ foreign_pe: string;
927
+ /** Shares held by Private Equity investors, local_pe + foreign_pe (shares) (numeric string) */
904
928
  pe: string;
905
- /** Shares held by Trustee Bank investors (shares) (numeric string) */
929
+ /** Shares held by domestic Trustee Bank investors (shares) (numeric string) */
930
+ local_tb: string;
931
+ /** Shares held by foreign Trustee Bank investors (shares) (numeric string) */
932
+ foreign_tb: string;
933
+ /** Shares held by Trustee Bank investors, local_tb + foreign_tb (shares) (numeric string) */
906
934
  tb: string;
907
- /** Shares held by Venture Capital investors (shares) (numeric string) */
935
+ /** Shares held by domestic Venture Capital investors (shares) (numeric string) */
936
+ local_vc: string;
937
+ /** Shares held by foreign Venture Capital investors (shares) (numeric string) */
938
+ foreign_vc: string;
939
+ /** Shares held by Venture Capital investors, local_vc + foreign_vc (shares) (numeric string) */
908
940
  vc: string;
909
- /** Shares held by Private Bank investors (shares) (numeric string) */
941
+ /** Shares held by domestic Private Bank investors (shares) (numeric string) */
942
+ local_pb: string;
943
+ /** Shares held by foreign Private Bank investors (shares) (numeric string) */
944
+ foreign_pb: string;
945
+ /** Shares held by Private Bank investors, local_pb + foreign_pb (shares) (numeric string) */
910
946
  pb: string;
911
- /** Shares held by Exchange Traded Fund (ETF) investors (shares) (numeric string) */
947
+ /** Shares held by domestic Exchange Traded Fund (ETF) investors (shares) (numeric string) */
948
+ local_ef: string;
949
+ /** Shares held by foreign Exchange Traded Fund (ETF) investors (shares) (numeric string) */
950
+ foreign_ef: string;
951
+ /** Shares held by Exchange Traded Fund (ETF) investors, local_ef + foreign_ef (shares) (numeric string) */
912
952
  ef: string;
913
- /** Shares held by Investment Manager investors (shares) (numeric string) */
953
+ /** Shares held by domestic Investment Manager investors (shares) (numeric string) */
954
+ local_im: string;
955
+ /** Shares held by foreign Investment Manager investors (shares) (numeric string) */
956
+ foreign_im: string;
957
+ /** Shares held by Investment Manager investors, local_im + foreign_im (shares) (numeric string) */
914
958
  im: string;
915
- /** Shares held by Investment Advisor investors (shares) (numeric string) */
959
+ /** Shares held by domestic Investment Advisor investors (shares) (numeric string) */
960
+ local_ia: string;
961
+ /** Shares held by foreign Investment Advisor investors (shares) (numeric string) */
962
+ foreign_ia: string;
963
+ /** Shares held by Investment Advisor investors, local_ia + foreign_ia (shares) (numeric string) */
916
964
  ia: string;
917
- /** Shares held by Brokerage Firm investors (shares) (numeric string) */
965
+ /** Shares held by domestic Brokerage Firm investors (shares) (numeric string) */
966
+ local_br: string;
967
+ /** Shares held by foreign Brokerage Firm investors (shares) (numeric string) */
968
+ foreign_br: string;
969
+ /** Shares held by Brokerage Firm investors, local_br + foreign_br (shares) (numeric string) */
918
970
  br: string;
919
- /** Shares held by Hedge Fund investors (shares) (numeric string) */
971
+ /** Shares held by domestic Hedge Fund investors (shares) (numeric string) */
972
+ local_hf: string;
973
+ /** Shares held by foreign Hedge Fund investors (shares) (numeric string) */
974
+ foreign_hf: string;
975
+ /** Shares held by Hedge Fund investors, local_hf + foreign_hf (shares) (numeric string) */
920
976
  hf: string;
921
- /** Shares held by Sovereign Wealth Fund investors (shares) (numeric string) */
977
+ /** Shares held by domestic Sovereign Wealth Fund investors (shares) (numeric string) */
978
+ local_sw: string;
979
+ /** Shares held by foreign Sovereign Wealth Fund investors (shares) (numeric string) */
980
+ foreign_sw: string;
981
+ /** Shares held by Sovereign Wealth Fund investors, local_sw + foreign_sw (shares) (numeric string) */
922
982
  sw: string;
923
- /** Shares held by Capital Market Supporting Institution investors (shares) (numeric string) */
983
+ /** Shares held by domestic Capital Market Supporting Institution investors (shares) (numeric string) */
984
+ local_cm: string;
985
+ /** Shares held by foreign Capital Market Supporting Institution investors (shares) (numeric string) */
986
+ foreign_cm: string;
987
+ /** Shares held by Capital Market Supporting Institution investors, local_cm + foreign_cm (shares) (numeric string) */
924
988
  cm: string;
925
- /** Shares held by Commanditaire Vennootschap (CV) investors (shares) (numeric string) */
989
+ /** Shares held by domestic Commanditaire Vennootschap (CV) investors (shares) (numeric string) */
990
+ local_cv: string;
991
+ /** Shares held by foreign Commanditaire Vennootschap (CV) investors (shares) (numeric string) */
992
+ foreign_cv: string;
993
+ /** Shares held by Commanditaire Vennootschap (CV) investors, local_cv + foreign_cv (shares) (numeric string) */
926
994
  cv: string;
927
- /** Shares held by Firm investors (shares) (numeric string) */
995
+ /** Shares held by domestic Firm investors (shares) (numeric string) */
996
+ local_fm: string;
997
+ /** Shares held by foreign Firm investors (shares) (numeric string) */
998
+ foreign_fm: string;
999
+ /** Shares held by Firm investors, local_fm + foreign_fm (shares) (numeric string) */
928
1000
  fm: string;
929
- /** Shares held by Mutual Fund Selling Agent investors (shares) (numeric string) */
1001
+ /** Shares held by domestic Mutual Fund Selling Agent investors (shares) (numeric string) */
1002
+ local_sa: string;
1003
+ /** Shares held by foreign Mutual Fund Selling Agent investors (shares) (numeric string) */
1004
+ foreign_sa: string;
1005
+ /** Shares held by Mutual Fund Selling Agent investors, local_sa + foreign_sa (shares) (numeric string) */
930
1006
  sa: string;
931
- /** Shares held by Peer to Peer Lending investors (shares) (numeric string) */
1007
+ /** Shares held by domestic Peer to Peer Lending investors (shares) (numeric string) */
1008
+ local_pp: string;
1009
+ /** Shares held by foreign Peer to Peer Lending investors (shares) (numeric string) */
1010
+ foreign_pp: string;
1011
+ /** Shares held by Peer to Peer Lending investors, local_pp + foreign_pp (shares) (numeric string) */
932
1012
  pp: string;
933
- /** Shares held by Permanent Establishment investors (shares) (numeric string) */
1013
+ /** Shares held by domestic Permanent Establishment investors (shares) (numeric string) */
1014
+ local_ps: string;
1015
+ /** Shares held by foreign Permanent Establishment investors (shares) (numeric string) */
1016
+ foreign_ps: string;
1017
+ /** Shares held by Permanent Establishment investors, local_ps + foreign_ps (shares) (numeric string) */
934
1018
  ps: string;
935
- /** Shares held by Sole Proprietorship investors (shares) (numeric string) */
1019
+ /** Shares held by domestic Sole Proprietorship investors (shares) (numeric string) */
1020
+ local_sp: string;
1021
+ /** Shares held by foreign Sole Proprietorship investors (shares) (numeric string) */
1022
+ foreign_sp: string;
1023
+ /** Shares held by Sole Proprietorship investors, local_sp + foreign_sp (shares) (numeric string) */
936
1024
  sp: string;
937
- /** Shares held by Corporate investors (shares) (numeric string) */
1025
+ /** Shares held by domestic Corporate investors (shares) (numeric string) */
1026
+ local_cr: string;
1027
+ /** Shares held by foreign Corporate investors (shares) (numeric string) */
1028
+ foreign_cr: string;
1029
+ /** Shares held by Corporate investors, local_cr + foreign_cr (shares) (numeric string) */
938
1030
  cr: string;
939
- /** Shares held by Association / Social Organization investors (shares) (numeric string) */
1031
+ /** Shares held by domestic Association / Social Organization investors (shares) (numeric string) */
1032
+ local_as: string;
1033
+ /** Shares held by foreign Association / Social Organization investors (shares) (numeric string) */
1034
+ foreign_as: string;
1035
+ /** Shares held by Association / Social Organization investors, local_as + foreign_as (shares) (numeric string) */
940
1036
  as: string;
941
- /** Shares held by State-Owned Enterprise (BUMN) investors (shares) (numeric string) */
1037
+ /** Shares held by domestic State-Owned Enterprise (BUMN) investors (shares) (numeric string) */
1038
+ local_so: string;
1039
+ /** Shares held by foreign State-Owned Enterprise (BUMN) investors (shares) (numeric string) */
1040
+ foreign_so: string;
1041
+ /** Shares held by State-Owned Enterprise (BUMN) investors, local_so + foreign_so (shares) (numeric string) */
942
1042
  so: string;
943
- /** Shares held by Central Bank investors (shares) (numeric string) */
1043
+ /** Shares held by domestic Central Bank investors (shares) (numeric string) */
1044
+ local_cb: string;
1045
+ /** Shares held by foreign Central Bank investors (shares) (numeric string) */
1046
+ foreign_cb: string;
1047
+ /** Shares held by Central Bank investors, local_cb + foreign_cb (shares) (numeric string) */
944
1048
  cb: string;
945
- /** Shares held by State-Owned Company investors (shares) (numeric string) */
1049
+ /** Shares held by domestic State-Owned Company investors (shares) (numeric string) */
1050
+ local_oc: string;
1051
+ /** Shares held by foreign State-Owned Company investors (shares) (numeric string) */
1052
+ foreign_oc: string;
1053
+ /** Shares held by State-Owned Company investors, local_oc + foreign_oc (shares) (numeric string) */
946
1054
  oc: string;
947
- /** Shares held by Diocese investors (shares) (numeric string) */
1055
+ /** Shares held by domestic Diocese investors (shares) (numeric string) */
1056
+ local_dc: string;
1057
+ /** Shares held by foreign Diocese investors (shares) (numeric string) */
1058
+ foreign_dc: string;
1059
+ /** Shares held by Diocese investors, local_dc + foreign_dc (shares) (numeric string) */
948
1060
  dc: string;
949
- /** Shares held by Conference investors (shares) (numeric string) */
1061
+ /** Shares held by domestic Conference investors (shares) (numeric string) */
1062
+ local_cn: string;
1063
+ /** Shares held by foreign Conference investors (shares) (numeric string) */
1064
+ foreign_cn: string;
1065
+ /** Shares held by Conference investors, local_cn + foreign_cn (shares) (numeric string) */
950
1066
  cn: string;
951
- /** Shares held by Congregation investors (shares) (numeric string) */
1067
+ /** Shares held by domestic Congregation investors (shares) (numeric string) */
1068
+ local_cg: string;
1069
+ /** Shares held by foreign Congregation investors (shares) (numeric string) */
1070
+ foreign_cg: string;
1071
+ /** Shares held by Congregation investors, local_cg + foreign_cg (shares) (numeric string) */
952
1072
  cg: string;
953
- /** Shares held by Cooperative investors (shares) (numeric string) */
1073
+ /** Shares held by domestic Cooperative investors (shares) (numeric string) */
1074
+ local_cp: string;
1075
+ /** Shares held by foreign Cooperative investors (shares) (numeric string) */
1076
+ foreign_cp: string;
1077
+ /** Shares held by Cooperative investors, local_cp + foreign_cp (shares) (numeric string) */
954
1078
  cp: string;
955
- /** Shares held by International Organization investors (shares) (numeric string) */
1079
+ /** Shares held by domestic International Organization investors (shares) (numeric string) */
1080
+ local_io: string;
1081
+ /** Shares held by foreign International Organization investors (shares) (numeric string) */
1082
+ foreign_io: string;
1083
+ /** Shares held by International Organization investors, local_io + foreign_io (shares) (numeric string) */
956
1084
  io: string;
957
- /** Shares held by Political Party investors (shares) (numeric string) */
1085
+ /** Shares held by domestic Political Party investors (shares) (numeric string) */
1086
+ local_pl: string;
1087
+ /** Shares held by foreign Political Party investors (shares) (numeric string) */
1088
+ foreign_pl: string;
1089
+ /** Shares held by Political Party investors, local_pl + foreign_pl (shares) (numeric string) */
958
1090
  pl: string;
959
- /** Shares held by Partnership investors (shares) (numeric string) */
1091
+ /** Shares held by domestic Partnership investors (shares) (numeric string) */
1092
+ local_pt: string;
1093
+ /** Shares held by foreign Partnership investors (shares) (numeric string) */
1094
+ foreign_pt: string;
1095
+ /** Shares held by Partnership investors, local_pt + foreign_pt (shares) (numeric string) */
960
1096
  pt: string;
961
- /** Shares held by Educational Institution investors (shares) (numeric string) */
1097
+ /** Shares held by domestic Educational Institution investors (shares) (numeric string) */
1098
+ local_ed: string;
1099
+ /** Shares held by foreign Educational Institution investors (shares) (numeric string) */
1100
+ foreign_ed: string;
1101
+ /** Shares held by Educational Institution investors, local_ed + foreign_ed (shares) (numeric string) */
962
1102
  ed: string;
963
- /** Shares held by Mutual Fund investors (shares) (numeric string) */
1103
+ /** Shares held by domestic Mutual Fund investors (shares) (numeric string) */
1104
+ local_mf: string;
1105
+ /** Shares held by foreign Mutual Fund investors (shares) (numeric string) */
1106
+ foreign_mf: string;
1107
+ /** Shares held by Mutual Fund investors, local_mf + foreign_mf (shares) (numeric string) */
964
1108
  mf: string;
965
- /** Shares held by Securities Company investors (shares) (numeric string) */
1109
+ /** Shares held by domestic Securities Company investors (shares) (numeric string) */
1110
+ local_sc: string;
1111
+ /** Shares held by foreign Securities Company investors (shares) (numeric string) */
1112
+ foreign_sc: string;
1113
+ /** Shares held by Securities Company investors, local_sc + foreign_sc (shares) (numeric string) */
966
1114
  sc: string;
967
- /** Shares held by Pension Fund investors (shares) (numeric string) */
1115
+ /** Shares held by domestic Pension Fund investors (shares) (numeric string) */
1116
+ local_pf: string;
1117
+ /** Shares held by foreign Pension Fund investors (shares) (numeric string) */
1118
+ foreign_pf: string;
1119
+ /** Shares held by Pension Fund investors, local_pf + foreign_pf (shares) (numeric string) */
968
1120
  pf: string;
969
- /** Shares held by Financial Institution investors (shares) (numeric string) */
1121
+ /** Shares held by domestic Financial Institution investors (shares) (numeric string) */
1122
+ local_ib: string;
1123
+ /** Shares held by foreign Financial Institution investors (shares) (numeric string) */
1124
+ foreign_ib: string;
1125
+ /** Shares held by Financial Institution investors, local_ib + foreign_ib (shares) (numeric string) */
970
1126
  ib: string;
971
- /** Shares held by Insurance investors (shares) (numeric string) */
1127
+ /** Shares held by domestic Insurance investors (shares) (numeric string) */
1128
+ local_is: string;
1129
+ /** Shares held by foreign Insurance investors (shares) (numeric string) */
1130
+ foreign_is: string;
1131
+ /** Shares held by Insurance investors, local_is + foreign_is (shares) (numeric string) */
972
1132
  is: string;
973
- /** Shares held by Foundation investors (shares) (numeric string) */
1133
+ /** Shares held by domestic Foundation investors (shares) (numeric string) */
1134
+ local_fd: string;
1135
+ /** Shares held by foreign Foundation investors (shares) (numeric string) */
1136
+ foreign_fd: string;
1137
+ /** Shares held by Foundation investors, local_fd + foreign_fd (shares) (numeric string) */
974
1138
  fd: string;
975
- /** Shares held by Individual investors (shares) (numeric string) */
1139
+ /** Shares held by domestic Individual investors (shares) (numeric string) */
1140
+ local_in: string;
1141
+ /** Shares held by foreign Individual investors (shares) (numeric string) */
1142
+ foreign_in: string;
1143
+ /** Shares held by Individual investors, local_in + foreign_in (shares) (numeric string) */
976
1144
  in: string;
1145
+ /** Total shares held by foreign investors (shares) (numeric string) */
1146
+ total_foreign: string;
1147
+ /** Total shares held by domestic investors (shares) (numeric string) */
1148
+ total_local: string;
977
1149
  /** Total shares across all classifications (shares) (numeric string) */
978
1150
  total: string;
979
1151
  }
@@ -981,87 +1153,285 @@ export interface ShareholderClassificationItem {
981
1153
  export interface ShareholderClassifyTableResponse {
982
1154
  /** Stock code */
983
1155
  code: string;
984
- /** Shares held by Bank investors (shares) (numeric string) */
1156
+ /** Shares held by domestic Bank investors (shares) (numeric string) */
1157
+ local_bk: string;
1158
+ /** Shares held by foreign Bank investors (shares) (numeric string) */
1159
+ foreign_bk: string;
1160
+ /** Shares held by Bank investors, local_bk + foreign_bk (shares) (numeric string) */
985
1161
  bk: string;
986
- /** Shares held by Government investors (shares) (numeric string) */
1162
+ /** Shares held by domestic Government investors (shares) (numeric string) */
1163
+ local_gv: string;
1164
+ /** Shares held by foreign Government investors (shares) (numeric string) */
1165
+ foreign_gv: string;
1166
+ /** Shares held by Government investors, local_gv + foreign_gv (shares) (numeric string) */
987
1167
  gv: string;
988
- /** Shares held by Private Equity investors (shares) (numeric string) */
1168
+ /** Shares held by domestic Private Equity investors (shares) (numeric string) */
1169
+ local_pe: string;
1170
+ /** Shares held by foreign Private Equity investors (shares) (numeric string) */
1171
+ foreign_pe: string;
1172
+ /** Shares held by Private Equity investors, local_pe + foreign_pe (shares) (numeric string) */
989
1173
  pe: string;
990
- /** Shares held by Trustee Bank investors (shares) (numeric string) */
1174
+ /** Shares held by domestic Trustee Bank investors (shares) (numeric string) */
1175
+ local_tb: string;
1176
+ /** Shares held by foreign Trustee Bank investors (shares) (numeric string) */
1177
+ foreign_tb: string;
1178
+ /** Shares held by Trustee Bank investors, local_tb + foreign_tb (shares) (numeric string) */
991
1179
  tb: string;
992
- /** Shares held by Venture Capital investors (shares) (numeric string) */
1180
+ /** Shares held by domestic Venture Capital investors (shares) (numeric string) */
1181
+ local_vc: string;
1182
+ /** Shares held by foreign Venture Capital investors (shares) (numeric string) */
1183
+ foreign_vc: string;
1184
+ /** Shares held by Venture Capital investors, local_vc + foreign_vc (shares) (numeric string) */
993
1185
  vc: string;
994
- /** Shares held by Private Bank investors (shares) (numeric string) */
1186
+ /** Shares held by domestic Private Bank investors (shares) (numeric string) */
1187
+ local_pb: string;
1188
+ /** Shares held by foreign Private Bank investors (shares) (numeric string) */
1189
+ foreign_pb: string;
1190
+ /** Shares held by Private Bank investors, local_pb + foreign_pb (shares) (numeric string) */
995
1191
  pb: string;
996
- /** Shares held by Exchange Traded Fund (ETF) investors (shares) (numeric string) */
1192
+ /** Shares held by domestic Exchange Traded Fund (ETF) investors (shares) (numeric string) */
1193
+ local_ef: string;
1194
+ /** Shares held by foreign Exchange Traded Fund (ETF) investors (shares) (numeric string) */
1195
+ foreign_ef: string;
1196
+ /** Shares held by Exchange Traded Fund (ETF) investors, local_ef + foreign_ef (shares) (numeric string) */
997
1197
  ef: string;
998
- /** Shares held by Investment Manager investors (shares) (numeric string) */
1198
+ /** Shares held by domestic Investment Manager investors (shares) (numeric string) */
1199
+ local_im: string;
1200
+ /** Shares held by foreign Investment Manager investors (shares) (numeric string) */
1201
+ foreign_im: string;
1202
+ /** Shares held by Investment Manager investors, local_im + foreign_im (shares) (numeric string) */
999
1203
  im: string;
1000
- /** Shares held by Investment Advisor investors (shares) (numeric string) */
1204
+ /** Shares held by domestic Investment Advisor investors (shares) (numeric string) */
1205
+ local_ia: string;
1206
+ /** Shares held by foreign Investment Advisor investors (shares) (numeric string) */
1207
+ foreign_ia: string;
1208
+ /** Shares held by Investment Advisor investors, local_ia + foreign_ia (shares) (numeric string) */
1001
1209
  ia: string;
1002
- /** Shares held by Brokerage Firm investors (shares) (numeric string) */
1210
+ /** Shares held by domestic Brokerage Firm investors (shares) (numeric string) */
1211
+ local_br: string;
1212
+ /** Shares held by foreign Brokerage Firm investors (shares) (numeric string) */
1213
+ foreign_br: string;
1214
+ /** Shares held by Brokerage Firm investors, local_br + foreign_br (shares) (numeric string) */
1003
1215
  br: string;
1004
- /** Shares held by Hedge Fund investors (shares) (numeric string) */
1216
+ /** Shares held by domestic Hedge Fund investors (shares) (numeric string) */
1217
+ local_hf: string;
1218
+ /** Shares held by foreign Hedge Fund investors (shares) (numeric string) */
1219
+ foreign_hf: string;
1220
+ /** Shares held by Hedge Fund investors, local_hf + foreign_hf (shares) (numeric string) */
1005
1221
  hf: string;
1006
- /** Shares held by Sovereign Wealth Fund investors (shares) (numeric string) */
1222
+ /** Shares held by domestic Sovereign Wealth Fund investors (shares) (numeric string) */
1223
+ local_sw: string;
1224
+ /** Shares held by foreign Sovereign Wealth Fund investors (shares) (numeric string) */
1225
+ foreign_sw: string;
1226
+ /** Shares held by Sovereign Wealth Fund investors, local_sw + foreign_sw (shares) (numeric string) */
1007
1227
  sw: string;
1008
- /** Shares held by Capital Market Supporting Institution investors (shares) (numeric string) */
1228
+ /** Shares held by domestic Capital Market Supporting Institution investors (shares) (numeric string) */
1229
+ local_cm: string;
1230
+ /** Shares held by foreign Capital Market Supporting Institution investors (shares) (numeric string) */
1231
+ foreign_cm: string;
1232
+ /** Shares held by Capital Market Supporting Institution investors, local_cm + foreign_cm (shares) (numeric string) */
1009
1233
  cm: string;
1010
- /** Shares held by Commanditaire Vennootschap (CV) investors (shares) (numeric string) */
1234
+ /** Shares held by domestic Commanditaire Vennootschap (CV) investors (shares) (numeric string) */
1235
+ local_cv: string;
1236
+ /** Shares held by foreign Commanditaire Vennootschap (CV) investors (shares) (numeric string) */
1237
+ foreign_cv: string;
1238
+ /** Shares held by Commanditaire Vennootschap (CV) investors, local_cv + foreign_cv (shares) (numeric string) */
1011
1239
  cv: string;
1012
- /** Shares held by Firm investors (shares) (numeric string) */
1240
+ /** Shares held by domestic Firm investors (shares) (numeric string) */
1241
+ local_fm: string;
1242
+ /** Shares held by foreign Firm investors (shares) (numeric string) */
1243
+ foreign_fm: string;
1244
+ /** Shares held by Firm investors, local_fm + foreign_fm (shares) (numeric string) */
1013
1245
  fm: string;
1014
- /** Shares held by Mutual Fund Selling Agent investors (shares) (numeric string) */
1246
+ /** Shares held by domestic Mutual Fund Selling Agent investors (shares) (numeric string) */
1247
+ local_sa: string;
1248
+ /** Shares held by foreign Mutual Fund Selling Agent investors (shares) (numeric string) */
1249
+ foreign_sa: string;
1250
+ /** Shares held by Mutual Fund Selling Agent investors, local_sa + foreign_sa (shares) (numeric string) */
1015
1251
  sa: string;
1016
- /** Shares held by Peer to Peer Lending investors (shares) (numeric string) */
1252
+ /** Shares held by domestic Peer to Peer Lending investors (shares) (numeric string) */
1253
+ local_pp: string;
1254
+ /** Shares held by foreign Peer to Peer Lending investors (shares) (numeric string) */
1255
+ foreign_pp: string;
1256
+ /** Shares held by Peer to Peer Lending investors, local_pp + foreign_pp (shares) (numeric string) */
1017
1257
  pp: string;
1018
- /** Shares held by Permanent Establishment investors (shares) (numeric string) */
1258
+ /** Shares held by domestic Permanent Establishment investors (shares) (numeric string) */
1259
+ local_ps: string;
1260
+ /** Shares held by foreign Permanent Establishment investors (shares) (numeric string) */
1261
+ foreign_ps: string;
1262
+ /** Shares held by Permanent Establishment investors, local_ps + foreign_ps (shares) (numeric string) */
1019
1263
  ps: string;
1020
- /** Shares held by Sole Proprietorship investors (shares) (numeric string) */
1264
+ /** Shares held by domestic Sole Proprietorship investors (shares) (numeric string) */
1265
+ local_sp: string;
1266
+ /** Shares held by foreign Sole Proprietorship investors (shares) (numeric string) */
1267
+ foreign_sp: string;
1268
+ /** Shares held by Sole Proprietorship investors, local_sp + foreign_sp (shares) (numeric string) */
1021
1269
  sp: string;
1022
- /** Shares held by Corporate investors (shares) (numeric string) */
1270
+ /** Shares held by domestic Corporate investors (shares) (numeric string) */
1271
+ local_cr: string;
1272
+ /** Shares held by foreign Corporate investors (shares) (numeric string) */
1273
+ foreign_cr: string;
1274
+ /** Shares held by Corporate investors, local_cr + foreign_cr (shares) (numeric string) */
1023
1275
  cr: string;
1024
- /** Shares held by Association / Social Organization investors (shares) (numeric string) */
1276
+ /** Shares held by domestic Association / Social Organization investors (shares) (numeric string) */
1277
+ local_as: string;
1278
+ /** Shares held by foreign Association / Social Organization investors (shares) (numeric string) */
1279
+ foreign_as: string;
1280
+ /** Shares held by Association / Social Organization investors, local_as + foreign_as (shares) (numeric string) */
1025
1281
  as: string;
1026
- /** Shares held by State-Owned Enterprise (BUMN) investors (shares) (numeric string) */
1282
+ /** Shares held by domestic State-Owned Enterprise (BUMN) investors (shares) (numeric string) */
1283
+ local_so: string;
1284
+ /** Shares held by foreign State-Owned Enterprise (BUMN) investors (shares) (numeric string) */
1285
+ foreign_so: string;
1286
+ /** Shares held by State-Owned Enterprise (BUMN) investors, local_so + foreign_so (shares) (numeric string) */
1027
1287
  so: string;
1028
- /** Shares held by Central Bank investors (shares) (numeric string) */
1288
+ /** Shares held by domestic Central Bank investors (shares) (numeric string) */
1289
+ local_cb: string;
1290
+ /** Shares held by foreign Central Bank investors (shares) (numeric string) */
1291
+ foreign_cb: string;
1292
+ /** Shares held by Central Bank investors, local_cb + foreign_cb (shares) (numeric string) */
1029
1293
  cb: string;
1030
- /** Shares held by State-Owned Company investors (shares) (numeric string) */
1294
+ /** Shares held by domestic State-Owned Company investors (shares) (numeric string) */
1295
+ local_oc: string;
1296
+ /** Shares held by foreign State-Owned Company investors (shares) (numeric string) */
1297
+ foreign_oc: string;
1298
+ /** Shares held by State-Owned Company investors, local_oc + foreign_oc (shares) (numeric string) */
1031
1299
  oc: string;
1032
- /** Shares held by Diocese investors (shares) (numeric string) */
1300
+ /** Shares held by domestic Diocese investors (shares) (numeric string) */
1301
+ local_dc: string;
1302
+ /** Shares held by foreign Diocese investors (shares) (numeric string) */
1303
+ foreign_dc: string;
1304
+ /** Shares held by Diocese investors, local_dc + foreign_dc (shares) (numeric string) */
1033
1305
  dc: string;
1034
- /** Shares held by Conference investors (shares) (numeric string) */
1306
+ /** Shares held by domestic Conference investors (shares) (numeric string) */
1307
+ local_cn: string;
1308
+ /** Shares held by foreign Conference investors (shares) (numeric string) */
1309
+ foreign_cn: string;
1310
+ /** Shares held by Conference investors, local_cn + foreign_cn (shares) (numeric string) */
1035
1311
  cn: string;
1036
- /** Shares held by Congregation investors (shares) (numeric string) */
1312
+ /** Shares held by domestic Congregation investors (shares) (numeric string) */
1313
+ local_cg: string;
1314
+ /** Shares held by foreign Congregation investors (shares) (numeric string) */
1315
+ foreign_cg: string;
1316
+ /** Shares held by Congregation investors, local_cg + foreign_cg (shares) (numeric string) */
1037
1317
  cg: string;
1038
- /** Shares held by Cooperative investors (shares) (numeric string) */
1318
+ /** Shares held by domestic Cooperative investors (shares) (numeric string) */
1319
+ local_cp: string;
1320
+ /** Shares held by foreign Cooperative investors (shares) (numeric string) */
1321
+ foreign_cp: string;
1322
+ /** Shares held by Cooperative investors, local_cp + foreign_cp (shares) (numeric string) */
1039
1323
  cp: string;
1040
- /** Shares held by International Organization investors (shares) (numeric string) */
1324
+ /** Shares held by domestic International Organization investors (shares) (numeric string) */
1325
+ local_io: string;
1326
+ /** Shares held by foreign International Organization investors (shares) (numeric string) */
1327
+ foreign_io: string;
1328
+ /** Shares held by International Organization investors, local_io + foreign_io (shares) (numeric string) */
1041
1329
  io: string;
1042
- /** Shares held by Political Party investors (shares) (numeric string) */
1330
+ /** Shares held by domestic Political Party investors (shares) (numeric string) */
1331
+ local_pl: string;
1332
+ /** Shares held by foreign Political Party investors (shares) (numeric string) */
1333
+ foreign_pl: string;
1334
+ /** Shares held by Political Party investors, local_pl + foreign_pl (shares) (numeric string) */
1043
1335
  pl: string;
1044
- /** Shares held by Partnership investors (shares) (numeric string) */
1336
+ /** Shares held by domestic Partnership investors (shares) (numeric string) */
1337
+ local_pt: string;
1338
+ /** Shares held by foreign Partnership investors (shares) (numeric string) */
1339
+ foreign_pt: string;
1340
+ /** Shares held by Partnership investors, local_pt + foreign_pt (shares) (numeric string) */
1045
1341
  pt: string;
1046
- /** Shares held by Educational Institution investors (shares) (numeric string) */
1342
+ /** Shares held by domestic Educational Institution investors (shares) (numeric string) */
1343
+ local_ed: string;
1344
+ /** Shares held by foreign Educational Institution investors (shares) (numeric string) */
1345
+ foreign_ed: string;
1346
+ /** Shares held by Educational Institution investors, local_ed + foreign_ed (shares) (numeric string) */
1047
1347
  ed: string;
1048
- /** Shares held by Mutual Fund investors (shares) (numeric string) */
1348
+ /** Shares held by domestic Mutual Fund investors (shares) (numeric string) */
1349
+ local_mf: string;
1350
+ /** Shares held by foreign Mutual Fund investors (shares) (numeric string) */
1351
+ foreign_mf: string;
1352
+ /** Shares held by Mutual Fund investors, local_mf + foreign_mf (shares) (numeric string) */
1049
1353
  mf: string;
1050
- /** Shares held by Securities Company investors (shares) (numeric string) */
1354
+ /** Shares held by domestic Securities Company investors (shares) (numeric string) */
1355
+ local_sc: string;
1356
+ /** Shares held by foreign Securities Company investors (shares) (numeric string) */
1357
+ foreign_sc: string;
1358
+ /** Shares held by Securities Company investors, local_sc + foreign_sc (shares) (numeric string) */
1051
1359
  sc: string;
1052
- /** Shares held by Pension Fund investors (shares) (numeric string) */
1360
+ /** Shares held by domestic Pension Fund investors (shares) (numeric string) */
1361
+ local_pf: string;
1362
+ /** Shares held by foreign Pension Fund investors (shares) (numeric string) */
1363
+ foreign_pf: string;
1364
+ /** Shares held by Pension Fund investors, local_pf + foreign_pf (shares) (numeric string) */
1053
1365
  pf: string;
1054
- /** Shares held by Financial Institution investors (shares) (numeric string) */
1366
+ /** Shares held by domestic Financial Institution investors (shares) (numeric string) */
1367
+ local_ib: string;
1368
+ /** Shares held by foreign Financial Institution investors (shares) (numeric string) */
1369
+ foreign_ib: string;
1370
+ /** Shares held by Financial Institution investors, local_ib + foreign_ib (shares) (numeric string) */
1055
1371
  ib: string;
1056
- /** Shares held by Insurance investors (shares) (numeric string) */
1372
+ /** Shares held by domestic Insurance investors (shares) (numeric string) */
1373
+ local_is: string;
1374
+ /** Shares held by foreign Insurance investors (shares) (numeric string) */
1375
+ foreign_is: string;
1376
+ /** Shares held by Insurance investors, local_is + foreign_is (shares) (numeric string) */
1057
1377
  is: string;
1058
- /** Shares held by Foundation investors (shares) (numeric string) */
1378
+ /** Shares held by domestic Foundation investors (shares) (numeric string) */
1379
+ local_fd: string;
1380
+ /** Shares held by foreign Foundation investors (shares) (numeric string) */
1381
+ foreign_fd: string;
1382
+ /** Shares held by Foundation investors, local_fd + foreign_fd (shares) (numeric string) */
1059
1383
  fd: string;
1060
- /** Shares held by Individual investors (shares) (numeric string) */
1384
+ /** Shares held by domestic Individual investors (shares) (numeric string) */
1385
+ local_in: string;
1386
+ /** Shares held by foreign Individual investors (shares) (numeric string) */
1387
+ foreign_in: string;
1388
+ /** Shares held by Individual investors, local_in + foreign_in (shares) (numeric string) */
1061
1389
  in: string;
1390
+ /** Total shares held by foreign investors (shares) (numeric string) */
1391
+ total_foreign: string;
1392
+ /** Total shares held by domestic investors (shares) (numeric string) */
1393
+ total_local: string;
1062
1394
  /** Total shares across all classifications (shares) (numeric string) */
1063
1395
  total: string;
1064
1396
  }
1397
+ export interface FreeFloatItem {
1398
+ /** Stock code */
1399
+ code: string;
1400
+ /** Data date; WIB wall-clock DateTime with a literal Z suffix (not UTC), e.g. 2026-10-16T00:00:00.000Z */
1401
+ date: string;
1402
+ /** Scripless shares held by all shareholders with less than 5% (shares) (numeric string) */
1403
+ public: string;
1404
+ /** Scripless shares held by the Board of Directors and Commissioners, less than 5% (shares) (numeric string) */
1405
+ management: string;
1406
+ /** Scripless shares held by the Controller, less than 5% (shares) (numeric string) */
1407
+ controller: string;
1408
+ /** Scripless shares held by Affiliates of the Controller, less than 5% (shares) (numeric string) */
1409
+ affiliate: string;
1410
+ /** Scripless treasury shares, less than 5% (shares) (numeric string) */
1411
+ treasury: string;
1412
+ /** Shares under a transfer restriction (lock up), less than 5% (shares) (numeric string) */
1413
+ lock_up: string;
1414
+ /** Scripless shares held by Venture Capital and Private Equity firms, less than 5% (shares) (numeric string) */
1415
+ private: string;
1416
+ /** Scripless shares seized or blocked by law enforcement or a competent authority, less than 5% (shares) (numeric string) */
1417
+ law: string;
1418
+ /** Shares whose beneficial owners are public investors approved by the Exchange to count as Free Float (shares) (numeric string) */
1419
+ other: string;
1420
+ /** Free Float shares (shares) (numeric string) */
1421
+ total: string;
1422
+ /** Shares listed on the Exchange at month end (shares) (numeric string) */
1423
+ share: string;
1424
+ /** Free Float percentage (%) */
1425
+ free: number;
1426
+ /** Unlisted shares, previous month (shares) (numeric string); null if absent */
1427
+ not_record_value_prev: string | null;
1428
+ /** Unlisted shares percentage, previous month (%); null if absent */
1429
+ not_record_pct_prev: number | null;
1430
+ /** Unlisted shares, current month (shares) (numeric string); null if absent */
1431
+ not_record_value_next: string | null;
1432
+ /** Unlisted shares percentage, current month (%); null if absent */
1433
+ not_record_pct_next: number | null;
1434
+ }
1065
1435
  export interface SummaryStockItem {
1066
1436
  /** Broker code (2 letters) */
1067
1437
  code: string;
@@ -1667,6 +2037,48 @@ export interface KeystatChartPoints {
1667
2037
  /** Statistic value for the period (unit depends on the statistic); 0 when not reported or name unknown */
1668
2038
  amount: number;
1669
2039
  }
2040
+ export interface FlowOfFundsResponse {
2041
+ columns: FlowOfFundsColumns[];
2042
+ role: string;
2043
+ sector: string;
2044
+ currency: string;
2045
+ periods: FlowOfFundsPeriods[];
2046
+ }
2047
+ export interface FlowOfFundsColumns {
2048
+ label: string;
2049
+ year: number;
2050
+ period: string;
2051
+ }
2052
+ export interface FlowOfFundsPeriods {
2053
+ label: string;
2054
+ year: number;
2055
+ period: string;
2056
+ basis: "quarter" | "annual" | "ytd";
2057
+ nodes: FlowOfFundsPeriodsNodes[];
2058
+ links: FlowOfFundsPeriodsLinks[];
2059
+ bridge: FlowOfFundsPeriodsBridge[];
2060
+ checks: Record<string, unknown>;
2061
+ }
2062
+ export interface FlowOfFundsPeriodsNodes {
2063
+ id: string;
2064
+ concept: string | null;
2065
+ label_id: string;
2066
+ label_en: string;
2067
+ kind: "revenue" | "cost" | "income" | "profit" | "loss" | "offset";
2068
+ value: number;
2069
+ }
2070
+ export interface FlowOfFundsPeriodsLinks {
2071
+ source: string;
2072
+ target: string;
2073
+ value: number;
2074
+ }
2075
+ export interface FlowOfFundsPeriodsBridge {
2076
+ id: string;
2077
+ label_id: string;
2078
+ label_en: string;
2079
+ kind: "total" | "delta";
2080
+ value: number;
2081
+ }
1670
2082
  /** Paginated corporate-action calendar, newest event date first. */
1671
2083
  export interface CalendarResponse {
1672
2084
  /** Total number of pages for the current filter (0 when no data). */
@@ -1690,6 +2102,8 @@ export interface CalendarData {
1690
2102
  export interface BatchOrderBookItem {
1691
2103
  /** Stock code; may carry the market suffix when market is not RG (e.g. BBCANG); empty string when not available */
1692
2104
  code: string;
2105
+ /** Time of the data in WIB (UTC+7), not UTC. Live data shows when it was retrieved; stored data shows when it was recorded. Null when no data is available. */
2106
+ date: string | null;
1693
2107
  /** Buy queue levels, ordered from level 1 (best bid) */
1694
2108
  bid: Array<Record<string, number | null>>;
1695
2109
  /** Sell queue levels, ordered from level 1 (best offer) */
@@ -1698,6 +2112,8 @@ export interface BatchOrderBookItem {
1698
2112
  export interface BatchIntradayDataItem {
1699
2113
  /** Stock code (carries the market suffix when market is not RG) */
1700
2114
  code: string;
2115
+ /** Time of the data in WIB (UTC+7), not UTC. Live data shows when it was retrieved; stored data shows 16:15 (market close) of that trading day. Null when no data is available. */
2116
+ date: string | null;
1701
2117
  /** Opening price (Rupiah) */
1702
2118
  open: number | null;
1703
2119
  /** Highest price (Rupiah) */
@@ -1736,6 +2152,8 @@ export interface BatchIntradayDataItem {
1736
2152
  export interface BatchIntradayIndexItem {
1737
2153
  /** Index code */
1738
2154
  code: string;
2155
+ /** Time of the data in WIB (UTC+7), not UTC. Live data shows when it was retrieved; stored data shows 16:15 (market close) of that trading day. Null when no data is available. */
2156
+ date: string | null;
1739
2157
  /** Index opening value */
1740
2158
  open: number | null;
1741
2159
  /** Index highest value */
@@ -2666,14 +3084,20 @@ export interface DisclosureResponse {
2666
3084
  }
2667
3085
  /** One item of data */
2668
3086
  export interface DisclosureData {
3087
+ /** Disclosure id */
3088
+ id: string;
2669
3089
  /** Disclosure title */
2670
3090
  title: string;
2671
- /** Issuer stock code (empty string if not tagged) */
3091
+ /** Issuer stock code */
2672
3092
  code: string;
2673
3093
  /** Publication time, WIB wall-clock in YYYY-MM-DDTHH:MM:SS format (no Z, no fraction), e.g. 2026-09-29T08:00:00 */
2674
3094
  date: string;
2675
- /** Disclosure type, e.g. public_expose (empty string if not tagged) */
3095
+ /** Disclosure type (lowercase StockReportType), e.g. public_expose */
2676
3096
  type: string;
3097
+ /** Disclosure description */
3098
+ description: string | null;
3099
+ /** Disclosure summary points */
3100
+ summary: string[];
2677
3101
  /** Attachment files */
2678
3102
  list: DisclosureDataList[];
2679
3103
  }
@@ -2718,6 +3142,8 @@ export type ShareholderResponse = ShareholderItem[];
2718
3142
  export type ShareholderKSEIResponse = ShareholderKSEIItem[];
2719
3143
  /** Response of `GET /analysis/shareholder/classification/{code}`. */
2720
3144
  export type ShareholderClassificationResponse = ShareholderClassificationItem[];
3145
+ /** Response of `GET /analysis/free-float/{code}`. */
3146
+ export type FreeFloatResponse = FreeFloatItem[];
2721
3147
  /** Response of `GET /analysis/summary/stock/{code}`. */
2722
3148
  export type SummaryStockResponse = SummaryStockItem[];
2723
3149
  /** Response of `GET /analysis/summary/broker/{code}`. */
@@ -2874,7 +3300,7 @@ export interface OrderBookParams {
2874
3300
  market: "RG" | "NG" | "TN";
2875
3301
  /** Tanggal order book historis (`YYYY-MM-DD`), tersedia mulai `2026-03-25`. Wajib dikirim bersama `time`; kosongkan keduanya untuk data realtime. Format: `YYYY-MM-DD`. Example: `2026-03-25`. */
2876
3302
  date?: string;
2877
- /** Jam snapshot order book dalam WIB, format `HH:mm` pada jam perdagangan (09:00–15:59). Wajib dikirim bersama `date`. Example: `09:30`. */
3303
+ /** Jam snapshot order book dalam WIB, format `HH:mm` atau `HH:mm:ss` pada jam perdagangan (09:00–15:59); mengembalikan snapshot terdekat pada tanggal tersebut. Wajib dikirim bersama `date`. Example: `09:30`. */
2878
3304
  time?: string;
2879
3305
  }
2880
3306
  /** Query parameters for `GET /analysis/queue/{code}`. */
@@ -2964,6 +3390,11 @@ export interface ShareholderClassificationParams {
2964
3390
  /** Jumlah bulan terakhir yang ditampilkan, mis. `6` untuk 6 bulan terakhir. Akun TRIAL dibatasi maksimal 12 bulan. Min: `1`. Max: `36`. Example: `6`. */
2965
3391
  range: number;
2966
3392
  }
3393
+ /** Query parameters for `GET /analysis/free-float/{code}`. */
3394
+ export interface FreeFloatParams {
3395
+ /** Jumlah bulan terakhir yang ditampilkan, mis. `6` untuk 6 bulan terakhir. Akun TRIAL dibatasi maksimal 12 bulan. Min: `1`. Max: `36`. Example: `6`. */
3396
+ range: number;
3397
+ }
2967
3398
  /** Query parameters for `GET /analysis/summary/stock/{code}`. */
2968
3399
  export interface SummaryStockParams {
2969
3400
  /** Tanggal awal periode (`YYYY-MM-DD`). Harus lebih kecil atau sama dengan `to`, dengan rentang maksimal 730 hari. Format: `YYYY-MM-DD`. Example: `2024-12-01`. */
@@ -3280,6 +3711,13 @@ export interface KeystatChartParams {
3280
3711
  /** Nama rasio atau statistik kunci yang akan ditampilkan sebagai grafik, mis. `ROE`, `PER`, atau `PBV`. Gunakan nama yang sama persis dengan response `/analysis/keystat/{code}`. Example: `ROE`. */
3281
3712
  name: string;
3282
3713
  }
3714
+ /** Query parameters for `GET /analysis/flow-of-funds/{code}`. */
3715
+ export interface FlowOfFundsParams {
3716
+ /** Periode laporan: `FY` = tahunan, `Q` = seluruh kuartal, `Q1`–`Q4` = kuartal tertentu. Example: `FY`. */
3717
+ type: "FY" | "Q" | "Q1" | "Q2" | "Q3" | "Q4";
3718
+ /** Jumlah periode terakhir yang ditampilkan. Default: `8`. Min: `1`. Max: `8`. Example: `8`. */
3719
+ limit?: number;
3720
+ }
3283
3721
  /** Query parameters for `GET /analysis/calendar`. */
3284
3722
  export interface CalendarParams {
3285
3723
  /** Filter hasil untuk satu kode saham tertentu. Example: `BBCA`. */
@@ -3334,7 +3772,7 @@ export interface UsageLogsParams {
3334
3772
  to?: string;
3335
3773
  /** Filter log berdasarkan HTTP status code, mis. `200`, `422`, atau `429`. Min: `100`. Max: `599`. Example: `200`. */
3336
3774
  status?: number;
3337
- /** Jumlah log maksimal yang dikembalikan. Kosongkan untuk mengambil seluruh log. Min: `1`. Max: `320000`. Example: `100`. */
3775
+ /** Jumlah log maksimal yang dikembalikan. Kosongkan untuk mengambil seluruh log. Min: `1`. Max: `520000`. Example: `100`. */
3338
3776
  limit?: number;
3339
3777
  }
3340
3778
  /** Query parameters for `GET /watchlists`. */
@@ -3445,5 +3883,7 @@ export interface DisclosureParams {
3445
3883
  limit?: number;
3446
3884
  /** Filter kode saham, mis. `BBCA` (opsional). Example: `BBCA`. */
3447
3885
  code?: string;
3886
+ /** Filter tipe laporan (opsional, huruf besar/kecil bebas). Example: `public_expose`. */
3887
+ type?: "shareholder" | "financial" | "rups" | "volatility_explanation" | "press_release" | "public_expose" | "right_issue" | "dividen" | "ad_publication" | "use_of_proceeds" | "exchange_clarification" | "trading_suspension" | "operational_report" | "annual_report" | "financial_info" | "rating" | "structured_warrant" | "bond" | "management" | "buyback" | "ownership" | "capital_action" | "public_offering" | "material_transaction" | "agreement" | "corporate_group" | "articles_identity" | "legal" | "material_info" | "other";
3448
3888
  }
3449
3889
  //# sourceMappingURL=types.d.ts.map