@crypticdot/defituna-api 1.10.2 → 1.10.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/index.d.mts CHANGED
@@ -40,8 +40,25 @@ declare const LimitOrderStateSchema: z.ZodEnum<{
40
40
  }>;
41
41
  declare const LimitOrder$1: z.ZodObject<{
42
42
  address: z.ZodString;
43
- mint: z.ZodString;
44
- pool: z.ZodString;
43
+ mintA: z.ZodObject<{
44
+ mint: z.ZodString;
45
+ symbol: z.ZodString;
46
+ name: z.ZodString;
47
+ logo: z.ZodString;
48
+ decimals: z.ZodNumber;
49
+ }, z.core.$strip>;
50
+ mintB: z.ZodObject<{
51
+ mint: z.ZodString;
52
+ symbol: z.ZodString;
53
+ name: z.ZodString;
54
+ logo: z.ZodString;
55
+ decimals: z.ZodNumber;
56
+ }, z.core.$strip>;
57
+ pool: z.ZodObject<{
58
+ addr: z.ZodString;
59
+ price: z.ZodNumber;
60
+ tickSpacing: z.ZodNumber;
61
+ }, z.core.$strip>;
45
62
  state: z.ZodEnum<{
46
63
  open: "open";
47
64
  partially_filled: "partially_filled";
@@ -155,8 +172,8 @@ declare const TunaLpPositionDtoSchema: z$1.ZodObject<{
155
172
  }>;
156
173
  positionMint: z$1.ZodString;
157
174
  liquidity: z$1.ZodCoercedBigInt<unknown>;
158
- lowerPrice: z$1.ZodNumber;
159
- upperPrice: z$1.ZodNumber;
175
+ tickLowerIndex: z$1.ZodNumber;
176
+ tickUpperIndex: z$1.ZodNumber;
160
177
  lowerLimitOrderPrice: z$1.ZodNumber;
161
178
  upperLimitOrderPrice: z$1.ZodNumber;
162
179
  entryPrice: z$1.ZodNumber;
@@ -875,14 +892,12 @@ declare const TunaSpotPosition$1: z.ZodObject<{
875
892
  price: z.ZodNumber;
876
893
  tickSpacing: z.ZodNumber;
877
894
  }, z.core.$strip>;
878
- positionToken: {
879
- readonly A: "a";
880
- readonly B: "b";
881
- };
882
- collateralToken: {
883
- readonly A: "a";
884
- readonly B: "b";
885
- };
895
+ positionToken: z.ZodEnum<{
896
+ [x: string]: string;
897
+ }>;
898
+ collateralToken: z.ZodEnum<{
899
+ [x: string]: string;
900
+ }>;
886
901
  marketMaker: z.ZodEnum<{
887
902
  orca: "orca";
888
903
  fusion: "fusion";
@@ -997,14 +1012,12 @@ declare const StateSnapshot$1: z$1.ZodObject<{
997
1012
  price: z$1.ZodNumber;
998
1013
  tickSpacing: z$1.ZodNumber;
999
1014
  }, z$1.core.$strip>;
1000
- positionToken: {
1001
- readonly A: "a";
1002
- readonly B: "b";
1003
- };
1004
- collateralToken: {
1005
- readonly A: "a";
1006
- readonly B: "b";
1007
- };
1015
+ positionToken: z$1.ZodEnum<{
1016
+ [x: string]: string;
1017
+ }>;
1018
+ collateralToken: z$1.ZodEnum<{
1019
+ [x: string]: string;
1020
+ }>;
1008
1021
  marketMaker: z$1.ZodEnum<{
1009
1022
  orca: "orca";
1010
1023
  fusion: "fusion";
@@ -1047,8 +1060,8 @@ declare const StateSnapshot$1: z$1.ZodObject<{
1047
1060
  }>;
1048
1061
  positionMint: z$1.ZodString;
1049
1062
  liquidity: z$1.ZodCoercedBigInt<unknown>;
1050
- lowerPrice: z$1.ZodNumber;
1051
- upperPrice: z$1.ZodNumber;
1063
+ tickLowerIndex: z$1.ZodNumber;
1064
+ tickUpperIndex: z$1.ZodNumber;
1052
1065
  lowerLimitOrderPrice: z$1.ZodNumber;
1053
1066
  upperLimitOrderPrice: z$1.ZodNumber;
1054
1067
  entryPrice: z$1.ZodNumber;
@@ -1164,8 +1177,25 @@ declare const StateSnapshot$1: z$1.ZodObject<{
1164
1177
  }, z$1.core.$strip>>>;
1165
1178
  fusionLimitOrders: z$1.ZodOptional<z$1.ZodArray<z$1.ZodObject<{
1166
1179
  address: z$1.ZodString;
1167
- mint: z$1.ZodString;
1168
- pool: z$1.ZodString;
1180
+ mintA: z$1.ZodObject<{
1181
+ mint: z$1.ZodString;
1182
+ symbol: z$1.ZodString;
1183
+ name: z$1.ZodString;
1184
+ logo: z$1.ZodString;
1185
+ decimals: z$1.ZodNumber;
1186
+ }, z$1.core.$strip>;
1187
+ mintB: z$1.ZodObject<{
1188
+ mint: z$1.ZodString;
1189
+ symbol: z$1.ZodString;
1190
+ name: z$1.ZodString;
1191
+ logo: z$1.ZodString;
1192
+ decimals: z$1.ZodNumber;
1193
+ }, z$1.core.$strip>;
1194
+ pool: z$1.ZodObject<{
1195
+ addr: z$1.ZodString;
1196
+ price: z$1.ZodNumber;
1197
+ tickSpacing: z$1.ZodNumber;
1198
+ }, z$1.core.$strip>;
1169
1199
  state: z$1.ZodEnum<{
1170
1200
  open: "open";
1171
1201
  partially_filled: "partially_filled";
@@ -1876,61 +1906,6 @@ declare const PoolSwapNotification: z.ZodObject<{
1876
1906
  id: z.ZodString;
1877
1907
  authority: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1878
1908
  }, z.core.$strip>;
1879
- declare const PoolPriceUpdateNotification: z.ZodObject<{
1880
- meta: z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>;
1881
- entity: z.ZodEnum<{
1882
- pool_swap: "pool_swap";
1883
- pool_price: "pool_price";
1884
- order_book: "order_book";
1885
- tuna_position: "tuna_position";
1886
- tuna_spot_position: "tuna_spot_position";
1887
- lending_position: "lending_position";
1888
- staking_position: "staking_position";
1889
- fusion_limit_order: "fusion_limit_order";
1890
- trade_history_entry: "trade_history_entry";
1891
- order_history_entry: "order_history_entry";
1892
- state_snapshot: "state_snapshot";
1893
- }>;
1894
- action: z.ZodEnum<{
1895
- create: "create";
1896
- update: "update";
1897
- }>;
1898
- data: z.ZodObject<{
1899
- pool: z.ZodString;
1900
- price: z.ZodNumber;
1901
- sqrtPrice: z.ZodCoercedBigInt<unknown>;
1902
- time: z.ZodCoercedDate<unknown>;
1903
- }, z.core.$strip>;
1904
- id: z.ZodString;
1905
- authority: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1906
- } | {
1907
- meta: z.ZodNullable<z.ZodUndefined>;
1908
- entity: z.ZodEnum<{
1909
- pool_swap: "pool_swap";
1910
- pool_price: "pool_price";
1911
- order_book: "order_book";
1912
- tuna_position: "tuna_position";
1913
- tuna_spot_position: "tuna_spot_position";
1914
- lending_position: "lending_position";
1915
- staking_position: "staking_position";
1916
- fusion_limit_order: "fusion_limit_order";
1917
- trade_history_entry: "trade_history_entry";
1918
- order_history_entry: "order_history_entry";
1919
- state_snapshot: "state_snapshot";
1920
- }>;
1921
- action: z.ZodEnum<{
1922
- create: "create";
1923
- update: "update";
1924
- }>;
1925
- data: z.ZodObject<{
1926
- pool: z.ZodString;
1927
- price: z.ZodNumber;
1928
- sqrtPrice: z.ZodCoercedBigInt<unknown>;
1929
- time: z.ZodCoercedDate<unknown>;
1930
- }, z.core.$strip>;
1931
- id: z.ZodString;
1932
- authority: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1933
- }, z.core.$strip>;
1934
1909
  declare const OrderBookNotification: z.ZodObject<{
1935
1910
  meta: z.ZodObject<{
1936
1911
  pool: z.ZodString;
@@ -2008,414 +1983,6 @@ declare const OrderBookNotification: z.ZodObject<{
2008
1983
  id: z.ZodString;
2009
1984
  authority: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2010
1985
  }, z.core.$strip>;
2011
- declare const TunaPositionNotification: z.ZodObject<{
2012
- meta: z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>;
2013
- entity: z.ZodEnum<{
2014
- pool_swap: "pool_swap";
2015
- pool_price: "pool_price";
2016
- order_book: "order_book";
2017
- tuna_position: "tuna_position";
2018
- tuna_spot_position: "tuna_spot_position";
2019
- lending_position: "lending_position";
2020
- staking_position: "staking_position";
2021
- fusion_limit_order: "fusion_limit_order";
2022
- trade_history_entry: "trade_history_entry";
2023
- order_history_entry: "order_history_entry";
2024
- state_snapshot: "state_snapshot";
2025
- }>;
2026
- action: z.ZodEnum<{
2027
- create: "create";
2028
- update: "update";
2029
- }>;
2030
- data: z.ZodObject<{
2031
- address: z.ZodString;
2032
- authority: z.ZodString;
2033
- version: z.ZodNumber;
2034
- state: z.ZodEnum<{
2035
- open: "open";
2036
- liquidated: "liquidated";
2037
- closed_by_limit_order: "closed_by_limit_order";
2038
- closed: "closed";
2039
- }>;
2040
- positionMint: z.ZodString;
2041
- liquidity: z.ZodCoercedBigInt<unknown>;
2042
- tickLowerIndex: z.ZodNumber;
2043
- tickUpperIndex: z.ZodNumber;
2044
- entrySqrtPrice: z.ZodCoercedBigInt<unknown>;
2045
- lowerLimitOrderSqrtPrice: z.ZodCoercedBigInt<unknown>;
2046
- upperLimitOrderSqrtPrice: z.ZodCoercedBigInt<unknown>;
2047
- flags: z.ZodNumber;
2048
- pool: z.ZodString;
2049
- poolSqrtPrice: z.ZodCoercedBigInt<unknown>;
2050
- depositedCollateralA: z.ZodObject<{
2051
- amount: z.ZodCoercedBigInt<unknown>;
2052
- }, z.core.$strip>;
2053
- depositedCollateralB: z.ZodObject<{
2054
- amount: z.ZodCoercedBigInt<unknown>;
2055
- }, z.core.$strip>;
2056
- depositedCollateralUsd: z.ZodObject<{
2057
- amount: z.ZodNumber;
2058
- }, z.core.$strip>;
2059
- loanFundsA: z.ZodObject<{
2060
- amount: z.ZodCoercedBigInt<unknown>;
2061
- usd: z.ZodNumber;
2062
- }, z.core.$strip>;
2063
- loanFundsB: z.ZodObject<{
2064
- amount: z.ZodCoercedBigInt<unknown>;
2065
- usd: z.ZodNumber;
2066
- }, z.core.$strip>;
2067
- currentLoanA: z.ZodObject<{
2068
- amount: z.ZodCoercedBigInt<unknown>;
2069
- usd: z.ZodNumber;
2070
- }, z.core.$strip>;
2071
- currentLoanB: z.ZodObject<{
2072
- amount: z.ZodCoercedBigInt<unknown>;
2073
- usd: z.ZodNumber;
2074
- }, z.core.$strip>;
2075
- leftoversA: z.ZodObject<{
2076
- amount: z.ZodCoercedBigInt<unknown>;
2077
- usd: z.ZodNumber;
2078
- }, z.core.$strip>;
2079
- leftoversB: z.ZodObject<{
2080
- amount: z.ZodCoercedBigInt<unknown>;
2081
- usd: z.ZodNumber;
2082
- }, z.core.$strip>;
2083
- yieldA: z.ZodObject<{
2084
- amount: z.ZodCoercedBigInt<unknown>;
2085
- usd: z.ZodNumber;
2086
- }, z.core.$strip>;
2087
- yieldB: z.ZodObject<{
2088
- amount: z.ZodCoercedBigInt<unknown>;
2089
- usd: z.ZodNumber;
2090
- }, z.core.$strip>;
2091
- compoundedYieldA: z.ZodObject<{
2092
- amount: z.ZodCoercedBigInt<unknown>;
2093
- usd: z.ZodNumber;
2094
- }, z.core.$strip>;
2095
- compoundedYieldB: z.ZodObject<{
2096
- amount: z.ZodCoercedBigInt<unknown>;
2097
- usd: z.ZodNumber;
2098
- }, z.core.$strip>;
2099
- totalA: z.ZodObject<{
2100
- amount: z.ZodCoercedBigInt<unknown>;
2101
- usd: z.ZodNumber;
2102
- }, z.core.$strip>;
2103
- totalB: z.ZodObject<{
2104
- amount: z.ZodCoercedBigInt<unknown>;
2105
- usd: z.ZodNumber;
2106
- }, z.core.$strip>;
2107
- pnlA: z.ZodObject<{
2108
- amount: z.ZodCoercedBigInt<unknown>;
2109
- rate: z.ZodNumber;
2110
- }, z.core.$strip>;
2111
- pnlB: z.ZodObject<{
2112
- amount: z.ZodCoercedBigInt<unknown>;
2113
- rate: z.ZodNumber;
2114
- }, z.core.$strip>;
2115
- pnlUsd: z.ZodObject<{
2116
- amount: z.ZodNumber;
2117
- rate: z.ZodNumber;
2118
- }, z.core.$strip>;
2119
- openedAt: z.ZodCoercedDate<unknown>;
2120
- updatedAtSlot: z.ZodCoercedBigInt<unknown>;
2121
- closedAt: z.ZodNullable<z.ZodCoercedDate<unknown>>;
2122
- }, z.core.$strip>;
2123
- id: z.ZodString;
2124
- authority: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2125
- } | {
2126
- meta: z.ZodNullable<z.ZodUndefined>;
2127
- entity: z.ZodEnum<{
2128
- pool_swap: "pool_swap";
2129
- pool_price: "pool_price";
2130
- order_book: "order_book";
2131
- tuna_position: "tuna_position";
2132
- tuna_spot_position: "tuna_spot_position";
2133
- lending_position: "lending_position";
2134
- staking_position: "staking_position";
2135
- fusion_limit_order: "fusion_limit_order";
2136
- trade_history_entry: "trade_history_entry";
2137
- order_history_entry: "order_history_entry";
2138
- state_snapshot: "state_snapshot";
2139
- }>;
2140
- action: z.ZodEnum<{
2141
- create: "create";
2142
- update: "update";
2143
- }>;
2144
- data: z.ZodObject<{
2145
- address: z.ZodString;
2146
- authority: z.ZodString;
2147
- version: z.ZodNumber;
2148
- state: z.ZodEnum<{
2149
- open: "open";
2150
- liquidated: "liquidated";
2151
- closed_by_limit_order: "closed_by_limit_order";
2152
- closed: "closed";
2153
- }>;
2154
- positionMint: z.ZodString;
2155
- liquidity: z.ZodCoercedBigInt<unknown>;
2156
- tickLowerIndex: z.ZodNumber;
2157
- tickUpperIndex: z.ZodNumber;
2158
- entrySqrtPrice: z.ZodCoercedBigInt<unknown>;
2159
- lowerLimitOrderSqrtPrice: z.ZodCoercedBigInt<unknown>;
2160
- upperLimitOrderSqrtPrice: z.ZodCoercedBigInt<unknown>;
2161
- flags: z.ZodNumber;
2162
- pool: z.ZodString;
2163
- poolSqrtPrice: z.ZodCoercedBigInt<unknown>;
2164
- depositedCollateralA: z.ZodObject<{
2165
- amount: z.ZodCoercedBigInt<unknown>;
2166
- }, z.core.$strip>;
2167
- depositedCollateralB: z.ZodObject<{
2168
- amount: z.ZodCoercedBigInt<unknown>;
2169
- }, z.core.$strip>;
2170
- depositedCollateralUsd: z.ZodObject<{
2171
- amount: z.ZodNumber;
2172
- }, z.core.$strip>;
2173
- loanFundsA: z.ZodObject<{
2174
- amount: z.ZodCoercedBigInt<unknown>;
2175
- usd: z.ZodNumber;
2176
- }, z.core.$strip>;
2177
- loanFundsB: z.ZodObject<{
2178
- amount: z.ZodCoercedBigInt<unknown>;
2179
- usd: z.ZodNumber;
2180
- }, z.core.$strip>;
2181
- currentLoanA: z.ZodObject<{
2182
- amount: z.ZodCoercedBigInt<unknown>;
2183
- usd: z.ZodNumber;
2184
- }, z.core.$strip>;
2185
- currentLoanB: z.ZodObject<{
2186
- amount: z.ZodCoercedBigInt<unknown>;
2187
- usd: z.ZodNumber;
2188
- }, z.core.$strip>;
2189
- leftoversA: z.ZodObject<{
2190
- amount: z.ZodCoercedBigInt<unknown>;
2191
- usd: z.ZodNumber;
2192
- }, z.core.$strip>;
2193
- leftoversB: z.ZodObject<{
2194
- amount: z.ZodCoercedBigInt<unknown>;
2195
- usd: z.ZodNumber;
2196
- }, z.core.$strip>;
2197
- yieldA: z.ZodObject<{
2198
- amount: z.ZodCoercedBigInt<unknown>;
2199
- usd: z.ZodNumber;
2200
- }, z.core.$strip>;
2201
- yieldB: z.ZodObject<{
2202
- amount: z.ZodCoercedBigInt<unknown>;
2203
- usd: z.ZodNumber;
2204
- }, z.core.$strip>;
2205
- compoundedYieldA: z.ZodObject<{
2206
- amount: z.ZodCoercedBigInt<unknown>;
2207
- usd: z.ZodNumber;
2208
- }, z.core.$strip>;
2209
- compoundedYieldB: z.ZodObject<{
2210
- amount: z.ZodCoercedBigInt<unknown>;
2211
- usd: z.ZodNumber;
2212
- }, z.core.$strip>;
2213
- totalA: z.ZodObject<{
2214
- amount: z.ZodCoercedBigInt<unknown>;
2215
- usd: z.ZodNumber;
2216
- }, z.core.$strip>;
2217
- totalB: z.ZodObject<{
2218
- amount: z.ZodCoercedBigInt<unknown>;
2219
- usd: z.ZodNumber;
2220
- }, z.core.$strip>;
2221
- pnlA: z.ZodObject<{
2222
- amount: z.ZodCoercedBigInt<unknown>;
2223
- rate: z.ZodNumber;
2224
- }, z.core.$strip>;
2225
- pnlB: z.ZodObject<{
2226
- amount: z.ZodCoercedBigInt<unknown>;
2227
- rate: z.ZodNumber;
2228
- }, z.core.$strip>;
2229
- pnlUsd: z.ZodObject<{
2230
- amount: z.ZodNumber;
2231
- rate: z.ZodNumber;
2232
- }, z.core.$strip>;
2233
- openedAt: z.ZodCoercedDate<unknown>;
2234
- updatedAtSlot: z.ZodCoercedBigInt<unknown>;
2235
- closedAt: z.ZodNullable<z.ZodCoercedDate<unknown>>;
2236
- }, z.core.$strip>;
2237
- id: z.ZodString;
2238
- authority: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2239
- }, z.core.$strip>;
2240
- declare const TunaSpotPositionNotification: z.ZodObject<{
2241
- meta: z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>;
2242
- entity: z.ZodEnum<{
2243
- pool_swap: "pool_swap";
2244
- pool_price: "pool_price";
2245
- order_book: "order_book";
2246
- tuna_position: "tuna_position";
2247
- tuna_spot_position: "tuna_spot_position";
2248
- lending_position: "lending_position";
2249
- staking_position: "staking_position";
2250
- fusion_limit_order: "fusion_limit_order";
2251
- trade_history_entry: "trade_history_entry";
2252
- order_history_entry: "order_history_entry";
2253
- state_snapshot: "state_snapshot";
2254
- }>;
2255
- action: z.ZodEnum<{
2256
- create: "create";
2257
- update: "update";
2258
- }>;
2259
- data: z.ZodObject<{
2260
- address: z.ZodString;
2261
- authority: z.ZodString;
2262
- version: z.ZodNumber;
2263
- state: z.ZodEnum<{
2264
- open: "open";
2265
- closed: "closed";
2266
- }>;
2267
- lowerLimitOrderPrice: z.ZodNumber;
2268
- upperLimitOrderPrice: z.ZodNumber;
2269
- entryPrice: z.ZodNumber;
2270
- mintA: z.ZodObject<{
2271
- mint: z.ZodString;
2272
- symbol: z.ZodString;
2273
- name: z.ZodString;
2274
- logo: z.ZodString;
2275
- decimals: z.ZodNumber;
2276
- }, z.core.$strip>;
2277
- mintB: z.ZodObject<{
2278
- mint: z.ZodString;
2279
- symbol: z.ZodString;
2280
- name: z.ZodString;
2281
- logo: z.ZodString;
2282
- decimals: z.ZodNumber;
2283
- }, z.core.$strip>;
2284
- pool: z.ZodObject<{
2285
- addr: z.ZodString;
2286
- price: z.ZodNumber;
2287
- tickSpacing: z.ZodNumber;
2288
- }, z.core.$strip>;
2289
- positionToken: {
2290
- readonly A: "a";
2291
- readonly B: "b";
2292
- };
2293
- collateralToken: {
2294
- readonly A: "a";
2295
- readonly B: "b";
2296
- };
2297
- marketMaker: z.ZodEnum<{
2298
- orca: "orca";
2299
- fusion: "fusion";
2300
- }>;
2301
- depositedCollateral: z.ZodObject<{
2302
- amount: z.ZodCoercedBigInt<unknown>;
2303
- usd: z.ZodNumber;
2304
- }, z.core.$strip>;
2305
- initialDebt: z.ZodObject<{
2306
- amount: z.ZodCoercedBigInt<unknown>;
2307
- usd: z.ZodNumber;
2308
- }, z.core.$strip>;
2309
- currentDebt: z.ZodObject<{
2310
- amount: z.ZodCoercedBigInt<unknown>;
2311
- usd: z.ZodNumber;
2312
- }, z.core.$strip>;
2313
- total: z.ZodObject<{
2314
- amount: z.ZodCoercedBigInt<unknown>;
2315
- usd: z.ZodNumber;
2316
- }, z.core.$strip>;
2317
- leverage: z.ZodNumber;
2318
- maxLeverage: z.ZodNumber;
2319
- liquidationPrice: z.ZodNumber;
2320
- pnlUsd: z.ZodObject<{
2321
- amount: z.ZodNumber;
2322
- rate: z.ZodNumber;
2323
- }, z.core.$strip>;
2324
- openedAt: z.ZodCoercedDate<unknown>;
2325
- closedAt: z.ZodNullable<z.ZodCoercedDate<unknown>>;
2326
- }, z.core.$strip>;
2327
- id: z.ZodString;
2328
- authority: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2329
- } | {
2330
- meta: z.ZodNullable<z.ZodUndefined>;
2331
- entity: z.ZodEnum<{
2332
- pool_swap: "pool_swap";
2333
- pool_price: "pool_price";
2334
- order_book: "order_book";
2335
- tuna_position: "tuna_position";
2336
- tuna_spot_position: "tuna_spot_position";
2337
- lending_position: "lending_position";
2338
- staking_position: "staking_position";
2339
- fusion_limit_order: "fusion_limit_order";
2340
- trade_history_entry: "trade_history_entry";
2341
- order_history_entry: "order_history_entry";
2342
- state_snapshot: "state_snapshot";
2343
- }>;
2344
- action: z.ZodEnum<{
2345
- create: "create";
2346
- update: "update";
2347
- }>;
2348
- data: z.ZodObject<{
2349
- address: z.ZodString;
2350
- authority: z.ZodString;
2351
- version: z.ZodNumber;
2352
- state: z.ZodEnum<{
2353
- open: "open";
2354
- closed: "closed";
2355
- }>;
2356
- lowerLimitOrderPrice: z.ZodNumber;
2357
- upperLimitOrderPrice: z.ZodNumber;
2358
- entryPrice: z.ZodNumber;
2359
- mintA: z.ZodObject<{
2360
- mint: z.ZodString;
2361
- symbol: z.ZodString;
2362
- name: z.ZodString;
2363
- logo: z.ZodString;
2364
- decimals: z.ZodNumber;
2365
- }, z.core.$strip>;
2366
- mintB: z.ZodObject<{
2367
- mint: z.ZodString;
2368
- symbol: z.ZodString;
2369
- name: z.ZodString;
2370
- logo: z.ZodString;
2371
- decimals: z.ZodNumber;
2372
- }, z.core.$strip>;
2373
- pool: z.ZodObject<{
2374
- addr: z.ZodString;
2375
- price: z.ZodNumber;
2376
- tickSpacing: z.ZodNumber;
2377
- }, z.core.$strip>;
2378
- positionToken: {
2379
- readonly A: "a";
2380
- readonly B: "b";
2381
- };
2382
- collateralToken: {
2383
- readonly A: "a";
2384
- readonly B: "b";
2385
- };
2386
- marketMaker: z.ZodEnum<{
2387
- orca: "orca";
2388
- fusion: "fusion";
2389
- }>;
2390
- depositedCollateral: z.ZodObject<{
2391
- amount: z.ZodCoercedBigInt<unknown>;
2392
- usd: z.ZodNumber;
2393
- }, z.core.$strip>;
2394
- initialDebt: z.ZodObject<{
2395
- amount: z.ZodCoercedBigInt<unknown>;
2396
- usd: z.ZodNumber;
2397
- }, z.core.$strip>;
2398
- currentDebt: z.ZodObject<{
2399
- amount: z.ZodCoercedBigInt<unknown>;
2400
- usd: z.ZodNumber;
2401
- }, z.core.$strip>;
2402
- total: z.ZodObject<{
2403
- amount: z.ZodCoercedBigInt<unknown>;
2404
- usd: z.ZodNumber;
2405
- }, z.core.$strip>;
2406
- leverage: z.ZodNumber;
2407
- maxLeverage: z.ZodNumber;
2408
- liquidationPrice: z.ZodNumber;
2409
- pnlUsd: z.ZodObject<{
2410
- amount: z.ZodNumber;
2411
- rate: z.ZodNumber;
2412
- }, z.core.$strip>;
2413
- openedAt: z.ZodCoercedDate<unknown>;
2414
- closedAt: z.ZodNullable<z.ZodCoercedDate<unknown>>;
2415
- }, z.core.$strip>;
2416
- id: z.ZodString;
2417
- authority: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2418
- }, z.core.$strip>;
2419
1986
  declare const LendingPositionNotification: z.ZodObject<{
2420
1987
  meta: z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>;
2421
1988
  entity: z.ZodEnum<{
@@ -2489,103 +2056,6 @@ declare const LendingPositionNotification: z.ZodObject<{
2489
2056
  id: z.ZodString;
2490
2057
  authority: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2491
2058
  }, z.core.$strip>;
2492
- declare const LimitOrderNotification: z.ZodObject<{
2493
- meta: z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>;
2494
- entity: z.ZodEnum<{
2495
- pool_swap: "pool_swap";
2496
- pool_price: "pool_price";
2497
- order_book: "order_book";
2498
- tuna_position: "tuna_position";
2499
- tuna_spot_position: "tuna_spot_position";
2500
- lending_position: "lending_position";
2501
- staking_position: "staking_position";
2502
- fusion_limit_order: "fusion_limit_order";
2503
- trade_history_entry: "trade_history_entry";
2504
- order_history_entry: "order_history_entry";
2505
- state_snapshot: "state_snapshot";
2506
- }>;
2507
- action: z.ZodEnum<{
2508
- create: "create";
2509
- update: "update";
2510
- }>;
2511
- data: z.ZodObject<{
2512
- address: z.ZodString;
2513
- mint: z.ZodString;
2514
- pool: z.ZodString;
2515
- state: z.ZodEnum<{
2516
- open: "open";
2517
- partially_filled: "partially_filled";
2518
- filled: "filled";
2519
- complete: "complete";
2520
- cancelled: "cancelled";
2521
- }>;
2522
- aToB: z.ZodBoolean;
2523
- tickIndex: z.ZodNumber;
2524
- fillRatio: z.ZodNumber;
2525
- openTxSignature: z.ZodString;
2526
- closeTxSignature: z.ZodNullable<z.ZodString>;
2527
- amountIn: z.ZodObject<{
2528
- amount: z.ZodCoercedBigInt<unknown>;
2529
- usd: z.ZodNumber;
2530
- }, z.core.$strip>;
2531
- amountOut: z.ZodObject<{
2532
- amount: z.ZodCoercedBigInt<unknown>;
2533
- usd: z.ZodNumber;
2534
- }, z.core.$strip>;
2535
- openedAt: z.ZodCoercedDate<unknown>;
2536
- closedAt: z.ZodNullable<z.ZodCoercedDate<unknown>>;
2537
- }, z.core.$strip>;
2538
- id: z.ZodString;
2539
- authority: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2540
- } | {
2541
- meta: z.ZodNullable<z.ZodUndefined>;
2542
- entity: z.ZodEnum<{
2543
- pool_swap: "pool_swap";
2544
- pool_price: "pool_price";
2545
- order_book: "order_book";
2546
- tuna_position: "tuna_position";
2547
- tuna_spot_position: "tuna_spot_position";
2548
- lending_position: "lending_position";
2549
- staking_position: "staking_position";
2550
- fusion_limit_order: "fusion_limit_order";
2551
- trade_history_entry: "trade_history_entry";
2552
- order_history_entry: "order_history_entry";
2553
- state_snapshot: "state_snapshot";
2554
- }>;
2555
- action: z.ZodEnum<{
2556
- create: "create";
2557
- update: "update";
2558
- }>;
2559
- data: z.ZodObject<{
2560
- address: z.ZodString;
2561
- mint: z.ZodString;
2562
- pool: z.ZodString;
2563
- state: z.ZodEnum<{
2564
- open: "open";
2565
- partially_filled: "partially_filled";
2566
- filled: "filled";
2567
- complete: "complete";
2568
- cancelled: "cancelled";
2569
- }>;
2570
- aToB: z.ZodBoolean;
2571
- tickIndex: z.ZodNumber;
2572
- fillRatio: z.ZodNumber;
2573
- openTxSignature: z.ZodString;
2574
- closeTxSignature: z.ZodNullable<z.ZodString>;
2575
- amountIn: z.ZodObject<{
2576
- amount: z.ZodCoercedBigInt<unknown>;
2577
- usd: z.ZodNumber;
2578
- }, z.core.$strip>;
2579
- amountOut: z.ZodObject<{
2580
- amount: z.ZodCoercedBigInt<unknown>;
2581
- usd: z.ZodNumber;
2582
- }, z.core.$strip>;
2583
- openedAt: z.ZodCoercedDate<unknown>;
2584
- closedAt: z.ZodNullable<z.ZodCoercedDate<unknown>>;
2585
- }, z.core.$strip>;
2586
- id: z.ZodString;
2587
- authority: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2588
- }, z.core.$strip>;
2589
2059
  declare const TradeHistoryEntryNotification: z.ZodObject<{
2590
2060
  meta: z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>;
2591
2061
  entity: z.ZodEnum<{
@@ -3035,14 +2505,12 @@ declare const StateSnapshotNotification: z.ZodObject<{
3035
2505
  price: z.ZodNumber;
3036
2506
  tickSpacing: z.ZodNumber;
3037
2507
  }, z.core.$strip>;
3038
- positionToken: {
3039
- readonly A: "a";
3040
- readonly B: "b";
3041
- };
3042
- collateralToken: {
3043
- readonly A: "a";
3044
- readonly B: "b";
3045
- };
2508
+ positionToken: z.ZodEnum<{
2509
+ [x: string]: string;
2510
+ }>;
2511
+ collateralToken: z.ZodEnum<{
2512
+ [x: string]: string;
2513
+ }>;
3046
2514
  marketMaker: z.ZodEnum<{
3047
2515
  orca: "orca";
3048
2516
  fusion: "fusion";
@@ -3085,8 +2553,8 @@ declare const StateSnapshotNotification: z.ZodObject<{
3085
2553
  }>;
3086
2554
  positionMint: z.ZodString;
3087
2555
  liquidity: z.ZodCoercedBigInt<unknown>;
3088
- lowerPrice: z.ZodNumber;
3089
- upperPrice: z.ZodNumber;
2556
+ tickLowerIndex: z.ZodNumber;
2557
+ tickUpperIndex: z.ZodNumber;
3090
2558
  lowerLimitOrderPrice: z.ZodNumber;
3091
2559
  upperLimitOrderPrice: z.ZodNumber;
3092
2560
  entryPrice: z.ZodNumber;
@@ -3202,8 +2670,25 @@ declare const StateSnapshotNotification: z.ZodObject<{
3202
2670
  }, z.core.$strip>>>;
3203
2671
  fusionLimitOrders: z.ZodOptional<z.ZodArray<z.ZodObject<{
3204
2672
  address: z.ZodString;
3205
- mint: z.ZodString;
3206
- pool: z.ZodString;
2673
+ mintA: z.ZodObject<{
2674
+ mint: z.ZodString;
2675
+ symbol: z.ZodString;
2676
+ name: z.ZodString;
2677
+ logo: z.ZodString;
2678
+ decimals: z.ZodNumber;
2679
+ }, z.core.$strip>;
2680
+ mintB: z.ZodObject<{
2681
+ mint: z.ZodString;
2682
+ symbol: z.ZodString;
2683
+ name: z.ZodString;
2684
+ logo: z.ZodString;
2685
+ decimals: z.ZodNumber;
2686
+ }, z.core.$strip>;
2687
+ pool: z.ZodObject<{
2688
+ addr: z.ZodString;
2689
+ price: z.ZodNumber;
2690
+ tickSpacing: z.ZodNumber;
2691
+ }, z.core.$strip>;
3207
2692
  state: z.ZodEnum<{
3208
2693
  open: "open";
3209
2694
  partially_filled: "partially_filled";
@@ -3288,14 +2773,12 @@ declare const StateSnapshotNotification: z.ZodObject<{
3288
2773
  price: z.ZodNumber;
3289
2774
  tickSpacing: z.ZodNumber;
3290
2775
  }, z.core.$strip>;
3291
- positionToken: {
3292
- readonly A: "a";
3293
- readonly B: "b";
3294
- };
3295
- collateralToken: {
3296
- readonly A: "a";
3297
- readonly B: "b";
3298
- };
2776
+ positionToken: z.ZodEnum<{
2777
+ [x: string]: string;
2778
+ }>;
2779
+ collateralToken: z.ZodEnum<{
2780
+ [x: string]: string;
2781
+ }>;
3299
2782
  marketMaker: z.ZodEnum<{
3300
2783
  orca: "orca";
3301
2784
  fusion: "fusion";
@@ -3338,8 +2821,8 @@ declare const StateSnapshotNotification: z.ZodObject<{
3338
2821
  }>;
3339
2822
  positionMint: z.ZodString;
3340
2823
  liquidity: z.ZodCoercedBigInt<unknown>;
3341
- lowerPrice: z.ZodNumber;
3342
- upperPrice: z.ZodNumber;
2824
+ tickLowerIndex: z.ZodNumber;
2825
+ tickUpperIndex: z.ZodNumber;
3343
2826
  lowerLimitOrderPrice: z.ZodNumber;
3344
2827
  upperLimitOrderPrice: z.ZodNumber;
3345
2828
  entryPrice: z.ZodNumber;
@@ -3455,8 +2938,25 @@ declare const StateSnapshotNotification: z.ZodObject<{
3455
2938
  }, z.core.$strip>>>;
3456
2939
  fusionLimitOrders: z.ZodOptional<z.ZodArray<z.ZodObject<{
3457
2940
  address: z.ZodString;
3458
- mint: z.ZodString;
3459
- pool: z.ZodString;
2941
+ mintA: z.ZodObject<{
2942
+ mint: z.ZodString;
2943
+ symbol: z.ZodString;
2944
+ name: z.ZodString;
2945
+ logo: z.ZodString;
2946
+ decimals: z.ZodNumber;
2947
+ }, z.core.$strip>;
2948
+ mintB: z.ZodObject<{
2949
+ mint: z.ZodString;
2950
+ symbol: z.ZodString;
2951
+ name: z.ZodString;
2952
+ logo: z.ZodString;
2953
+ decimals: z.ZodNumber;
2954
+ }, z.core.$strip>;
2955
+ pool: z.ZodObject<{
2956
+ addr: z.ZodString;
2957
+ price: z.ZodNumber;
2958
+ tickSpacing: z.ZodNumber;
2959
+ }, z.core.$strip>;
3460
2960
  state: z.ZodEnum<{
3461
2961
  open: "open";
3462
2962
  partially_filled: "partially_filled";
@@ -3488,7 +2988,6 @@ declare const StateSnapshotNotification: z.ZodObject<{
3488
2988
  declare const schemas_AmountWithUsdSchema: typeof AmountWithUsdSchema;
3489
2989
  declare const schemas_AmountWithoutUsdSchema: typeof AmountWithoutUsdSchema;
3490
2990
  declare const schemas_LendingPositionNotification: typeof LendingPositionNotification;
3491
- declare const schemas_LimitOrderNotification: typeof LimitOrderNotification;
3492
2991
  declare const schemas_LimitOrderState: typeof LimitOrderState;
3493
2992
  declare const schemas_LimitOrderStateSchema: typeof LimitOrderStateSchema;
3494
2993
  declare const schemas_LpPositionAutoCompound: typeof LpPositionAutoCompound;
@@ -3511,7 +3010,6 @@ declare const schemas_OrderHistoryStatus: typeof OrderHistoryStatus;
3511
3010
  declare const schemas_OrderHistoryStatusSchema: typeof OrderHistoryStatusSchema;
3512
3011
  declare const schemas_OrderHistoryUIDirection: typeof OrderHistoryUIDirection;
3513
3012
  declare const schemas_OrderHistoryUIDirectionSchema: typeof OrderHistoryUIDirectionSchema;
3514
- declare const schemas_PoolPriceUpdateNotification: typeof PoolPriceUpdateNotification;
3515
3013
  declare const schemas_PoolProvider: typeof PoolProvider;
3516
3014
  declare const schemas_PoolProviderSchema: typeof PoolProviderSchema;
3517
3015
  declare const schemas_PoolSubscriptionTopic: typeof PoolSubscriptionTopic;
@@ -3545,14 +3043,12 @@ declare const schemas_TunaLpPositionTokenPrices: typeof TunaLpPositionTokenPrice
3545
3043
  declare const schemas_TunaLpPositionTransfer: typeof TunaLpPositionTransfer;
3546
3044
  declare const schemas_TunaLpPositionValue: typeof TunaLpPositionValue;
3547
3045
  declare const schemas_TunaPositionLegacy: typeof TunaPositionLegacy;
3548
- declare const schemas_TunaPositionNotification: typeof TunaPositionNotification;
3549
3046
  declare const schemas_TunaPositionPoolSchema: typeof TunaPositionPoolSchema;
3550
3047
  declare const schemas_TunaPositionPoolToken: typeof TunaPositionPoolToken;
3551
3048
  declare const schemas_TunaPositionPoolTokenSchema: typeof TunaPositionPoolTokenSchema;
3552
3049
  declare const schemas_TunaPositionState: typeof TunaPositionState;
3553
3050
  declare const schemas_TunaPositionStateSchema: typeof TunaPositionStateSchema;
3554
3051
  declare const schemas_TunaPositionTokenPnlSchema: typeof TunaPositionTokenPnlSchema;
3555
- declare const schemas_TunaSpotPositionNotification: typeof TunaSpotPositionNotification;
3556
3052
  declare const schemas_TunaSpotPositionState: typeof TunaSpotPositionState;
3557
3053
  declare const schemas_TunaSpotPositionStateSchema: typeof TunaSpotPositionStateSchema;
3558
3054
  declare const schemas_UpdateStreamSubscriptionResult: typeof UpdateStreamSubscriptionResult;
@@ -3560,7 +3056,7 @@ declare const schemas_UsdPnlSchema: typeof UsdPnlSchema;
3560
3056
  declare const schemas_WalletSubscriptionTopic: typeof WalletSubscriptionTopic;
3561
3057
  declare const schemas_WalletSubscriptionTopicSchema: typeof WalletSubscriptionTopicSchema;
3562
3058
  declare namespace schemas {
3563
- export { schemas_AmountWithUsdSchema as AmountWithUsdSchema, schemas_AmountWithoutUsdSchema as AmountWithoutUsdSchema, CloseSpotPositionQuote$1 as CloseSpotPositionQuote, DecreaseSpotPositionQuote$1 as DecreaseSpotPositionQuote, FeesStatsGroup$1 as FeesStatsGroup, IncreaseSpotPositionQuote$1 as IncreaseSpotPositionQuote, LendingPosition$1 as LendingPosition, schemas_LendingPositionNotification as LendingPositionNotification, LimitOrder$1 as LimitOrder, schemas_LimitOrderNotification as LimitOrderNotification, LimitOrderQuoteByInput$1 as LimitOrderQuoteByInput, LimitOrderQuoteByOutput$1 as LimitOrderQuoteByOutput, schemas_LimitOrderState as LimitOrderState, schemas_LimitOrderStateSchema as LimitOrderStateSchema, schemas_LpPositionAutoCompound as LpPositionAutoCompound, schemas_LpPositionAutoCompoundSchema as LpPositionAutoCompoundSchema, schemas_LpPositionLimitOrderSwap as LpPositionLimitOrderSwap, schemas_LpPositionLimitOrderSwapSchema as LpPositionLimitOrderSwapSchema, schemas_LpPositionRebalance as LpPositionRebalance, schemas_LpPositionRebalanceSchema as LpPositionRebalanceSchema, schemas_LpPositionsActionType as LpPositionsActionType, schemas_LpPositionsActionTypeSchema as LpPositionsActionTypeSchema, Market$1 as Market, Mint$1 as Mint, schemas_NotificationAction as NotificationAction, schemas_NotificationActionSchema as NotificationActionSchema, schemas_NotificationEntity as NotificationEntity, schemas_NotificationEntitySchema as NotificationEntitySchema, OrderBook$1 as OrderBook, OrderBookEntry$1 as OrderBookEntry, schemas_OrderBookNotification as OrderBookNotification, OrderBookNotificationMeta$1 as OrderBookNotificationMeta, OrderHistoryEntry$1 as OrderHistoryEntry, schemas_OrderHistoryEntryNotification as OrderHistoryEntryNotification, schemas_OrderHistoryOrderType as OrderHistoryOrderType, schemas_OrderHistoryOrderTypeSchema as OrderHistoryOrderTypeSchema, schemas_OrderHistoryStatus as OrderHistoryStatus, schemas_OrderHistoryStatusSchema as OrderHistoryStatusSchema, schemas_OrderHistoryUIDirection as OrderHistoryUIDirection, schemas_OrderHistoryUIDirectionSchema as OrderHistoryUIDirectionSchema, PaginationMeta$1 as PaginationMeta, Pool$1 as Pool, PoolPriceCandle$1 as PoolPriceCandle, PoolPriceUpdate$1 as PoolPriceUpdate, schemas_PoolPriceUpdateNotification as PoolPriceUpdateNotification, schemas_PoolProvider as PoolProvider, schemas_PoolProviderSchema as PoolProviderSchema, schemas_PoolSubscriptionTopic as PoolSubscriptionTopic, schemas_PoolSubscriptionTopicSchema as PoolSubscriptionTopicSchema, PoolSwap$1 as PoolSwap, schemas_PoolSwapNotification as PoolSwapNotification, PoolTicks$1 as PoolTicks, StakingLeaderboardPage$1 as StakingLeaderboardPage, StakingLeaderboardPosition$1 as StakingLeaderboardPosition, StakingPosition$1 as StakingPosition, StakingPositionHistoryAction$1 as StakingPositionHistoryAction, StakingPositionHistoryActionType$1 as StakingPositionHistoryActionType, schemas_StakingPositionHistoryActionTypeSchema as StakingPositionHistoryActionTypeSchema, schemas_StakingPositionNotification as StakingPositionNotification, StakingRevenueStatsGroup$1 as StakingRevenueStatsGroup, StakingTreasury$1 as StakingTreasury, StateSnapshot$1 as StateSnapshot, schemas_StateSnapshotNotification as StateSnapshotNotification, SwapQuoteByInput$1 as SwapQuoteByInput, SwapQuoteByOutput$1 as SwapQuoteByOutput, Tick$1 as Tick, TokenOraclePrice$1 as TokenOraclePrice, schemas_TokensPnlSchema as TokensPnlSchema, TradableAmount$1 as TradableAmount, schemas_TradeHistoryAction as TradeHistoryAction, schemas_TradeHistoryActionSchema as TradeHistoryActionSchema, TradeHistoryEntry$1 as TradeHistoryEntry, schemas_TradeHistoryEntryNotification as TradeHistoryEntryNotification, schemas_TradeHistoryUIDirection as TradeHistoryUIDirection, schemas_TradeHistoryUIDirectionSchema as TradeHistoryUIDirectionSchema, TunaLpPositionAction$1 as TunaLpPositionAction, schemas_TunaLpPositionActionClose as TunaLpPositionActionClose, schemas_TunaLpPositionActionCollectAndCompoundFees as TunaLpPositionActionCollectAndCompoundFees, schemas_TunaLpPositionActionCollectFees as TunaLpPositionActionCollectFees, schemas_TunaLpPositionActionDecreaseLiquidity as TunaLpPositionActionDecreaseLiquidity, schemas_TunaLpPositionActionIncreaseLiquidity as TunaLpPositionActionIncreaseLiquidity, schemas_TunaLpPositionActionLiquidate as TunaLpPositionActionLiquidate, schemas_TunaLpPositionActionOpen as TunaLpPositionActionOpen, schemas_TunaLpPositionActionParametersUpdate as TunaLpPositionActionParametersUpdate, schemas_TunaLpPositionActionRepayDebt as TunaLpPositionActionRepayDebt, schemas_TunaLpPositionAutoCompounding as TunaLpPositionAutoCompounding, schemas_TunaLpPositionAutoCompoundingSchema as TunaLpPositionAutoCompoundingSchema, schemas_TunaLpPositionDtoSchema as TunaLpPositionDtoSchema, schemas_TunaLpPositionFlagsSchema as TunaLpPositionFlagsSchema, schemas_TunaLpPositionHistorical as TunaLpPositionHistorical, schemas_TunaLpPositionParameters as TunaLpPositionParameters, schemas_TunaLpPositionTokenPrices as TunaLpPositionTokenPrices, schemas_TunaLpPositionTransfer as TunaLpPositionTransfer, schemas_TunaLpPositionValue as TunaLpPositionValue, schemas_TunaPositionLegacy as TunaPositionLegacy, schemas_TunaPositionNotification as TunaPositionNotification, schemas_TunaPositionPoolSchema as TunaPositionPoolSchema, schemas_TunaPositionPoolToken as TunaPositionPoolToken, schemas_TunaPositionPoolTokenSchema as TunaPositionPoolTokenSchema, schemas_TunaPositionState as TunaPositionState, schemas_TunaPositionStateSchema as TunaPositionStateSchema, schemas_TunaPositionTokenPnlSchema as TunaPositionTokenPnlSchema, TunaSpotPosition$1 as TunaSpotPosition, schemas_TunaSpotPositionNotification as TunaSpotPositionNotification, schemas_TunaSpotPositionState as TunaSpotPositionState, schemas_TunaSpotPositionStateSchema as TunaSpotPositionStateSchema, schemas_UpdateStreamSubscriptionResult as UpdateStreamSubscriptionResult, schemas_UsdPnlSchema as UsdPnlSchema, Vault$1 as Vault, VaultHistoricalStats$1 as VaultHistoricalStats, schemas_WalletSubscriptionTopic as WalletSubscriptionTopic, schemas_WalletSubscriptionTopicSchema as WalletSubscriptionTopicSchema };
3059
+ export { schemas_AmountWithUsdSchema as AmountWithUsdSchema, schemas_AmountWithoutUsdSchema as AmountWithoutUsdSchema, CloseSpotPositionQuote$1 as CloseSpotPositionQuote, DecreaseSpotPositionQuote$1 as DecreaseSpotPositionQuote, FeesStatsGroup$1 as FeesStatsGroup, IncreaseSpotPositionQuote$1 as IncreaseSpotPositionQuote, LendingPosition$1 as LendingPosition, schemas_LendingPositionNotification as LendingPositionNotification, LimitOrder$1 as LimitOrder, LimitOrderQuoteByInput$1 as LimitOrderQuoteByInput, LimitOrderQuoteByOutput$1 as LimitOrderQuoteByOutput, schemas_LimitOrderState as LimitOrderState, schemas_LimitOrderStateSchema as LimitOrderStateSchema, schemas_LpPositionAutoCompound as LpPositionAutoCompound, schemas_LpPositionAutoCompoundSchema as LpPositionAutoCompoundSchema, schemas_LpPositionLimitOrderSwap as LpPositionLimitOrderSwap, schemas_LpPositionLimitOrderSwapSchema as LpPositionLimitOrderSwapSchema, schemas_LpPositionRebalance as LpPositionRebalance, schemas_LpPositionRebalanceSchema as LpPositionRebalanceSchema, schemas_LpPositionsActionType as LpPositionsActionType, schemas_LpPositionsActionTypeSchema as LpPositionsActionTypeSchema, Market$1 as Market, Mint$1 as Mint, schemas_NotificationAction as NotificationAction, schemas_NotificationActionSchema as NotificationActionSchema, schemas_NotificationEntity as NotificationEntity, schemas_NotificationEntitySchema as NotificationEntitySchema, OrderBook$1 as OrderBook, OrderBookEntry$1 as OrderBookEntry, schemas_OrderBookNotification as OrderBookNotification, OrderBookNotificationMeta$1 as OrderBookNotificationMeta, OrderHistoryEntry$1 as OrderHistoryEntry, schemas_OrderHistoryEntryNotification as OrderHistoryEntryNotification, schemas_OrderHistoryOrderType as OrderHistoryOrderType, schemas_OrderHistoryOrderTypeSchema as OrderHistoryOrderTypeSchema, schemas_OrderHistoryStatus as OrderHistoryStatus, schemas_OrderHistoryStatusSchema as OrderHistoryStatusSchema, schemas_OrderHistoryUIDirection as OrderHistoryUIDirection, schemas_OrderHistoryUIDirectionSchema as OrderHistoryUIDirectionSchema, PaginationMeta$1 as PaginationMeta, Pool$1 as Pool, PoolPriceCandle$1 as PoolPriceCandle, PoolPriceUpdate$1 as PoolPriceUpdate, schemas_PoolProvider as PoolProvider, schemas_PoolProviderSchema as PoolProviderSchema, schemas_PoolSubscriptionTopic as PoolSubscriptionTopic, schemas_PoolSubscriptionTopicSchema as PoolSubscriptionTopicSchema, PoolSwap$1 as PoolSwap, schemas_PoolSwapNotification as PoolSwapNotification, PoolTicks$1 as PoolTicks, StakingLeaderboardPage$1 as StakingLeaderboardPage, StakingLeaderboardPosition$1 as StakingLeaderboardPosition, StakingPosition$1 as StakingPosition, StakingPositionHistoryAction$1 as StakingPositionHistoryAction, StakingPositionHistoryActionType$1 as StakingPositionHistoryActionType, schemas_StakingPositionHistoryActionTypeSchema as StakingPositionHistoryActionTypeSchema, schemas_StakingPositionNotification as StakingPositionNotification, StakingRevenueStatsGroup$1 as StakingRevenueStatsGroup, StakingTreasury$1 as StakingTreasury, StateSnapshot$1 as StateSnapshot, schemas_StateSnapshotNotification as StateSnapshotNotification, SwapQuoteByInput$1 as SwapQuoteByInput, SwapQuoteByOutput$1 as SwapQuoteByOutput, Tick$1 as Tick, TokenOraclePrice$1 as TokenOraclePrice, schemas_TokensPnlSchema as TokensPnlSchema, TradableAmount$1 as TradableAmount, schemas_TradeHistoryAction as TradeHistoryAction, schemas_TradeHistoryActionSchema as TradeHistoryActionSchema, TradeHistoryEntry$1 as TradeHistoryEntry, schemas_TradeHistoryEntryNotification as TradeHistoryEntryNotification, schemas_TradeHistoryUIDirection as TradeHistoryUIDirection, schemas_TradeHistoryUIDirectionSchema as TradeHistoryUIDirectionSchema, TunaLpPositionAction$1 as TunaLpPositionAction, schemas_TunaLpPositionActionClose as TunaLpPositionActionClose, schemas_TunaLpPositionActionCollectAndCompoundFees as TunaLpPositionActionCollectAndCompoundFees, schemas_TunaLpPositionActionCollectFees as TunaLpPositionActionCollectFees, schemas_TunaLpPositionActionDecreaseLiquidity as TunaLpPositionActionDecreaseLiquidity, schemas_TunaLpPositionActionIncreaseLiquidity as TunaLpPositionActionIncreaseLiquidity, schemas_TunaLpPositionActionLiquidate as TunaLpPositionActionLiquidate, schemas_TunaLpPositionActionOpen as TunaLpPositionActionOpen, schemas_TunaLpPositionActionParametersUpdate as TunaLpPositionActionParametersUpdate, schemas_TunaLpPositionActionRepayDebt as TunaLpPositionActionRepayDebt, schemas_TunaLpPositionAutoCompounding as TunaLpPositionAutoCompounding, schemas_TunaLpPositionAutoCompoundingSchema as TunaLpPositionAutoCompoundingSchema, schemas_TunaLpPositionDtoSchema as TunaLpPositionDtoSchema, schemas_TunaLpPositionFlagsSchema as TunaLpPositionFlagsSchema, schemas_TunaLpPositionHistorical as TunaLpPositionHistorical, schemas_TunaLpPositionParameters as TunaLpPositionParameters, schemas_TunaLpPositionTokenPrices as TunaLpPositionTokenPrices, schemas_TunaLpPositionTransfer as TunaLpPositionTransfer, schemas_TunaLpPositionValue as TunaLpPositionValue, schemas_TunaPositionLegacy as TunaPositionLegacy, schemas_TunaPositionPoolSchema as TunaPositionPoolSchema, schemas_TunaPositionPoolToken as TunaPositionPoolToken, schemas_TunaPositionPoolTokenSchema as TunaPositionPoolTokenSchema, schemas_TunaPositionState as TunaPositionState, schemas_TunaPositionStateSchema as TunaPositionStateSchema, schemas_TunaPositionTokenPnlSchema as TunaPositionTokenPnlSchema, TunaSpotPosition$1 as TunaSpotPosition, schemas_TunaSpotPositionState as TunaSpotPositionState, schemas_TunaSpotPositionStateSchema as TunaSpotPositionStateSchema, schemas_UpdateStreamSubscriptionResult as UpdateStreamSubscriptionResult, schemas_UsdPnlSchema as UsdPnlSchema, Vault$1 as Vault, VaultHistoricalStats$1 as VaultHistoricalStats, schemas_WalletSubscriptionTopic as WalletSubscriptionTopic, schemas_WalletSubscriptionTopicSchema as WalletSubscriptionTopicSchema };
3564
3060
  }
3565
3061
 
3566
3062
  type NotificationEntityType = z.infer<typeof NotificationEntitySchema>;