@crypticdot/defituna-api 1.10.5 → 1.10.7

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
@@ -974,6 +974,46 @@ declare const PoolPriceUpdate$1: z$1.ZodObject<{
974
974
  sqrtPrice: z$1.ZodCoercedBigInt<unknown>;
975
975
  time: z$1.ZodCoercedDate<unknown>;
976
976
  }, z$1.core.$strip>;
977
+ declare const OrderBookWrapper: z$1.ZodObject<{
978
+ priceStep: z$1.ZodNumber;
979
+ entries: z$1.ZodArray<z$1.ZodObject<{
980
+ concentratedAmount: z$1.ZodCoercedBigInt<unknown>;
981
+ concentratedAmountQuote: z$1.ZodCoercedBigInt<unknown>;
982
+ concentratedTotal: z$1.ZodCoercedBigInt<unknown>;
983
+ concentratedTotalQuote: z$1.ZodCoercedBigInt<unknown>;
984
+ limitAmount: z$1.ZodCoercedBigInt<unknown>;
985
+ limitAmountQuote: z$1.ZodCoercedBigInt<unknown>;
986
+ limitTotal: z$1.ZodCoercedBigInt<unknown>;
987
+ limitTotalQuote: z$1.ZodCoercedBigInt<unknown>;
988
+ price: z$1.ZodNumber;
989
+ askSide: z$1.ZodBoolean;
990
+ }, z$1.core.$strip>>;
991
+ }, z$1.core.$strip>;
992
+ declare const PoolSnapshot: z$1.ZodObject<{
993
+ liquidity: z$1.ZodCoercedBigInt<unknown>;
994
+ tickCurrentIndex: z$1.ZodNumber;
995
+ price: z$1.ZodNumber;
996
+ tvl: z$1.ZodNumber;
997
+ priceChange24H: z$1.ZodNumber;
998
+ volume24H: z$1.ZodNumber;
999
+ fees24H: z$1.ZodNumber;
1000
+ borrowedFundsA: z$1.ZodObject<{
1001
+ amount: z$1.ZodCoercedBigInt<unknown>;
1002
+ usd: z$1.ZodNumber;
1003
+ }, z$1.core.$strip>;
1004
+ borrowedFundsB: z$1.ZodObject<{
1005
+ amount: z$1.ZodCoercedBigInt<unknown>;
1006
+ usd: z$1.ZodNumber;
1007
+ }, z$1.core.$strip>;
1008
+ borrowLimitA: z$1.ZodObject<{
1009
+ amount: z$1.ZodCoercedBigInt<unknown>;
1010
+ usd: z$1.ZodNumber;
1011
+ }, z$1.core.$strip>;
1012
+ borrowLimitB: z$1.ZodObject<{
1013
+ amount: z$1.ZodCoercedBigInt<unknown>;
1014
+ usd: z$1.ZodNumber;
1015
+ }, z$1.core.$strip>;
1016
+ }, z$1.core.$strip>;
977
1017
  declare const StateSnapshot$1: z$1.ZodObject<{
978
1018
  slot: z$1.ZodCoercedBigInt<unknown>;
979
1019
  blockTime: z$1.ZodCoercedDate<unknown>;
@@ -983,6 +1023,31 @@ declare const StateSnapshot$1: z$1.ZodObject<{
983
1023
  sqrtPrice: z$1.ZodCoercedBigInt<unknown>;
984
1024
  time: z$1.ZodCoercedDate<unknown>;
985
1025
  }, z$1.core.$strip>>>;
1026
+ pools: z$1.ZodOptional<z$1.ZodRecord<z$1.ZodString, z$1.ZodObject<{
1027
+ liquidity: z$1.ZodCoercedBigInt<unknown>;
1028
+ tickCurrentIndex: z$1.ZodNumber;
1029
+ price: z$1.ZodNumber;
1030
+ tvl: z$1.ZodNumber;
1031
+ priceChange24H: z$1.ZodNumber;
1032
+ volume24H: z$1.ZodNumber;
1033
+ fees24H: z$1.ZodNumber;
1034
+ borrowedFundsA: z$1.ZodObject<{
1035
+ amount: z$1.ZodCoercedBigInt<unknown>;
1036
+ usd: z$1.ZodNumber;
1037
+ }, z$1.core.$strip>;
1038
+ borrowedFundsB: z$1.ZodObject<{
1039
+ amount: z$1.ZodCoercedBigInt<unknown>;
1040
+ usd: z$1.ZodNumber;
1041
+ }, z$1.core.$strip>;
1042
+ borrowLimitA: z$1.ZodObject<{
1043
+ amount: z$1.ZodCoercedBigInt<unknown>;
1044
+ usd: z$1.ZodNumber;
1045
+ }, z$1.core.$strip>;
1046
+ borrowLimitB: z$1.ZodObject<{
1047
+ amount: z$1.ZodCoercedBigInt<unknown>;
1048
+ usd: z$1.ZodNumber;
1049
+ }, z$1.core.$strip>;
1050
+ }, z$1.core.$strip>>>;
986
1051
  tunaSpotPositions: z$1.ZodOptional<z$1.ZodArray<z$1.ZodObject<{
987
1052
  address: z$1.ZodString;
988
1053
  authority: z$1.ZodString;
@@ -1221,6 +1286,21 @@ declare const StateSnapshot$1: z$1.ZodObject<{
1221
1286
  openedAt: z$1.ZodCoercedDate<unknown>;
1222
1287
  closedAt: z$1.ZodNullable<z$1.ZodCoercedDate<unknown>>;
1223
1288
  }, z$1.core.$strip>>>;
1289
+ orderBooks: z$1.ZodOptional<z$1.ZodRecord<z$1.ZodString, z$1.ZodObject<{
1290
+ priceStep: z$1.ZodNumber;
1291
+ entries: z$1.ZodArray<z$1.ZodObject<{
1292
+ concentratedAmount: z$1.ZodCoercedBigInt<unknown>;
1293
+ concentratedAmountQuote: z$1.ZodCoercedBigInt<unknown>;
1294
+ concentratedTotal: z$1.ZodCoercedBigInt<unknown>;
1295
+ concentratedTotalQuote: z$1.ZodCoercedBigInt<unknown>;
1296
+ limitAmount: z$1.ZodCoercedBigInt<unknown>;
1297
+ limitAmountQuote: z$1.ZodCoercedBigInt<unknown>;
1298
+ limitTotal: z$1.ZodCoercedBigInt<unknown>;
1299
+ limitTotalQuote: z$1.ZodCoercedBigInt<unknown>;
1300
+ price: z$1.ZodNumber;
1301
+ askSide: z$1.ZodBoolean;
1302
+ }, z$1.core.$strip>>;
1303
+ }, z$1.core.$strip>>>;
1224
1304
  }, z$1.core.$strip>;
1225
1305
 
1226
1306
  declare const Mint$1: z.ZodObject<{
@@ -1231,6 +1311,34 @@ declare const Mint$1: z.ZodObject<{
1231
1311
  decimals: z.ZodNumber;
1232
1312
  }, z.core.$strip>;
1233
1313
 
1314
+ declare const OrderBookEntry$1: z$1.ZodObject<{
1315
+ concentratedAmount: z$1.ZodCoercedBigInt<unknown>;
1316
+ concentratedAmountQuote: z$1.ZodCoercedBigInt<unknown>;
1317
+ concentratedTotal: z$1.ZodCoercedBigInt<unknown>;
1318
+ concentratedTotalQuote: z$1.ZodCoercedBigInt<unknown>;
1319
+ limitAmount: z$1.ZodCoercedBigInt<unknown>;
1320
+ limitAmountQuote: z$1.ZodCoercedBigInt<unknown>;
1321
+ limitTotal: z$1.ZodCoercedBigInt<unknown>;
1322
+ limitTotalQuote: z$1.ZodCoercedBigInt<unknown>;
1323
+ price: z$1.ZodNumber;
1324
+ askSide: z$1.ZodBoolean;
1325
+ }, z$1.core.$strip>;
1326
+ declare const OrderBook$1: z$1.ZodObject<{
1327
+ entries: z$1.ZodArray<z$1.ZodObject<{
1328
+ concentratedAmount: z$1.ZodCoercedBigInt<unknown>;
1329
+ concentratedAmountQuote: z$1.ZodCoercedBigInt<unknown>;
1330
+ concentratedTotal: z$1.ZodCoercedBigInt<unknown>;
1331
+ concentratedTotalQuote: z$1.ZodCoercedBigInt<unknown>;
1332
+ limitAmount: z$1.ZodCoercedBigInt<unknown>;
1333
+ limitAmountQuote: z$1.ZodCoercedBigInt<unknown>;
1334
+ limitTotal: z$1.ZodCoercedBigInt<unknown>;
1335
+ limitTotalQuote: z$1.ZodCoercedBigInt<unknown>;
1336
+ price: z$1.ZodNumber;
1337
+ askSide: z$1.ZodBoolean;
1338
+ }, z$1.core.$strip>>;
1339
+ poolPrice: z$1.ZodNumber;
1340
+ }, z$1.core.$strip>;
1341
+
1234
1342
  declare const NotificationEntity: {
1235
1343
  readonly POOL_SWAP: "pool_swap";
1236
1344
  readonly POOL_PRICE: "pool_price";
@@ -1556,33 +1664,6 @@ declare const PoolSwap$1: z.ZodObject<{
1556
1664
  pool: z.ZodString;
1557
1665
  time: z.ZodCoercedDate<unknown>;
1558
1666
  }, z.core.$strip>;
1559
- declare const OrderBookEntry$1: z.ZodObject<{
1560
- concentratedAmount: z.ZodCoercedBigInt<unknown>;
1561
- concentratedAmountQuote: z.ZodCoercedBigInt<unknown>;
1562
- concentratedTotal: z.ZodCoercedBigInt<unknown>;
1563
- concentratedTotalQuote: z.ZodCoercedBigInt<unknown>;
1564
- limitAmount: z.ZodCoercedBigInt<unknown>;
1565
- limitAmountQuote: z.ZodCoercedBigInt<unknown>;
1566
- limitTotal: z.ZodCoercedBigInt<unknown>;
1567
- limitTotalQuote: z.ZodCoercedBigInt<unknown>;
1568
- price: z.ZodNumber;
1569
- askSide: z.ZodBoolean;
1570
- }, z.core.$strip>;
1571
- declare const OrderBook$1: z.ZodObject<{
1572
- entries: z.ZodArray<z.ZodObject<{
1573
- concentratedAmount: z.ZodCoercedBigInt<unknown>;
1574
- concentratedAmountQuote: z.ZodCoercedBigInt<unknown>;
1575
- concentratedTotal: z.ZodCoercedBigInt<unknown>;
1576
- concentratedTotalQuote: z.ZodCoercedBigInt<unknown>;
1577
- limitAmount: z.ZodCoercedBigInt<unknown>;
1578
- limitAmountQuote: z.ZodCoercedBigInt<unknown>;
1579
- limitTotal: z.ZodCoercedBigInt<unknown>;
1580
- limitTotalQuote: z.ZodCoercedBigInt<unknown>;
1581
- price: z.ZodNumber;
1582
- askSide: z.ZodBoolean;
1583
- }, z.core.$strip>>;
1584
- poolPrice: z.ZodNumber;
1585
- }, z.core.$strip>;
1586
1667
  declare const TradeHistoryEntry$1: z.ZodObject<{
1587
1668
  id: z.ZodString;
1588
1669
  pool: z.ZodString;
@@ -2477,6 +2558,31 @@ declare const StateSnapshotNotification: z.ZodObject<{
2477
2558
  sqrtPrice: z.ZodCoercedBigInt<unknown>;
2478
2559
  time: z.ZodCoercedDate<unknown>;
2479
2560
  }, z.core.$strip>>>;
2561
+ pools: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
2562
+ liquidity: z.ZodCoercedBigInt<unknown>;
2563
+ tickCurrentIndex: z.ZodNumber;
2564
+ price: z.ZodNumber;
2565
+ tvl: z.ZodNumber;
2566
+ priceChange24H: z.ZodNumber;
2567
+ volume24H: z.ZodNumber;
2568
+ fees24H: z.ZodNumber;
2569
+ borrowedFundsA: z.ZodObject<{
2570
+ amount: z.ZodCoercedBigInt<unknown>;
2571
+ usd: z.ZodNumber;
2572
+ }, z.core.$strip>;
2573
+ borrowedFundsB: z.ZodObject<{
2574
+ amount: z.ZodCoercedBigInt<unknown>;
2575
+ usd: z.ZodNumber;
2576
+ }, z.core.$strip>;
2577
+ borrowLimitA: z.ZodObject<{
2578
+ amount: z.ZodCoercedBigInt<unknown>;
2579
+ usd: z.ZodNumber;
2580
+ }, z.core.$strip>;
2581
+ borrowLimitB: z.ZodObject<{
2582
+ amount: z.ZodCoercedBigInt<unknown>;
2583
+ usd: z.ZodNumber;
2584
+ }, z.core.$strip>;
2585
+ }, z.core.$strip>>>;
2480
2586
  tunaSpotPositions: z.ZodOptional<z.ZodArray<z.ZodObject<{
2481
2587
  address: z.ZodString;
2482
2588
  authority: z.ZodString;
@@ -2715,6 +2821,21 @@ declare const StateSnapshotNotification: z.ZodObject<{
2715
2821
  openedAt: z.ZodCoercedDate<unknown>;
2716
2822
  closedAt: z.ZodNullable<z.ZodCoercedDate<unknown>>;
2717
2823
  }, z.core.$strip>>>;
2824
+ orderBooks: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
2825
+ priceStep: z.ZodNumber;
2826
+ entries: z.ZodArray<z.ZodObject<{
2827
+ concentratedAmount: z.ZodCoercedBigInt<unknown>;
2828
+ concentratedAmountQuote: z.ZodCoercedBigInt<unknown>;
2829
+ concentratedTotal: z.ZodCoercedBigInt<unknown>;
2830
+ concentratedTotalQuote: z.ZodCoercedBigInt<unknown>;
2831
+ limitAmount: z.ZodCoercedBigInt<unknown>;
2832
+ limitAmountQuote: z.ZodCoercedBigInt<unknown>;
2833
+ limitTotal: z.ZodCoercedBigInt<unknown>;
2834
+ limitTotalQuote: z.ZodCoercedBigInt<unknown>;
2835
+ price: z.ZodNumber;
2836
+ askSide: z.ZodBoolean;
2837
+ }, z.core.$strip>>;
2838
+ }, z.core.$strip>>>;
2718
2839
  }, z.core.$strip>;
2719
2840
  id: z.ZodString;
2720
2841
  authority: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -2746,6 +2867,31 @@ declare const StateSnapshotNotification: z.ZodObject<{
2746
2867
  sqrtPrice: z.ZodCoercedBigInt<unknown>;
2747
2868
  time: z.ZodCoercedDate<unknown>;
2748
2869
  }, z.core.$strip>>>;
2870
+ pools: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
2871
+ liquidity: z.ZodCoercedBigInt<unknown>;
2872
+ tickCurrentIndex: z.ZodNumber;
2873
+ price: z.ZodNumber;
2874
+ tvl: z.ZodNumber;
2875
+ priceChange24H: z.ZodNumber;
2876
+ volume24H: z.ZodNumber;
2877
+ fees24H: z.ZodNumber;
2878
+ borrowedFundsA: z.ZodObject<{
2879
+ amount: z.ZodCoercedBigInt<unknown>;
2880
+ usd: z.ZodNumber;
2881
+ }, z.core.$strip>;
2882
+ borrowedFundsB: z.ZodObject<{
2883
+ amount: z.ZodCoercedBigInt<unknown>;
2884
+ usd: z.ZodNumber;
2885
+ }, z.core.$strip>;
2886
+ borrowLimitA: z.ZodObject<{
2887
+ amount: z.ZodCoercedBigInt<unknown>;
2888
+ usd: z.ZodNumber;
2889
+ }, z.core.$strip>;
2890
+ borrowLimitB: z.ZodObject<{
2891
+ amount: z.ZodCoercedBigInt<unknown>;
2892
+ usd: z.ZodNumber;
2893
+ }, z.core.$strip>;
2894
+ }, z.core.$strip>>>;
2749
2895
  tunaSpotPositions: z.ZodOptional<z.ZodArray<z.ZodObject<{
2750
2896
  address: z.ZodString;
2751
2897
  authority: z.ZodString;
@@ -2984,6 +3130,21 @@ declare const StateSnapshotNotification: z.ZodObject<{
2984
3130
  openedAt: z.ZodCoercedDate<unknown>;
2985
3131
  closedAt: z.ZodNullable<z.ZodCoercedDate<unknown>>;
2986
3132
  }, z.core.$strip>>>;
3133
+ orderBooks: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
3134
+ priceStep: z.ZodNumber;
3135
+ entries: z.ZodArray<z.ZodObject<{
3136
+ concentratedAmount: z.ZodCoercedBigInt<unknown>;
3137
+ concentratedAmountQuote: z.ZodCoercedBigInt<unknown>;
3138
+ concentratedTotal: z.ZodCoercedBigInt<unknown>;
3139
+ concentratedTotalQuote: z.ZodCoercedBigInt<unknown>;
3140
+ limitAmount: z.ZodCoercedBigInt<unknown>;
3141
+ limitAmountQuote: z.ZodCoercedBigInt<unknown>;
3142
+ limitTotal: z.ZodCoercedBigInt<unknown>;
3143
+ limitTotalQuote: z.ZodCoercedBigInt<unknown>;
3144
+ price: z.ZodNumber;
3145
+ askSide: z.ZodBoolean;
3146
+ }, z.core.$strip>>;
3147
+ }, z.core.$strip>>>;
2987
3148
  }, z.core.$strip>;
2988
3149
  id: z.ZodString;
2989
3150
  authority: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -3007,6 +3168,7 @@ declare const schemas_NotificationActionSchema: typeof NotificationActionSchema;
3007
3168
  declare const schemas_NotificationEntity: typeof NotificationEntity;
3008
3169
  declare const schemas_NotificationEntitySchema: typeof NotificationEntitySchema;
3009
3170
  declare const schemas_OrderBookNotification: typeof OrderBookNotification;
3171
+ declare const schemas_OrderBookWrapper: typeof OrderBookWrapper;
3010
3172
  declare const schemas_OrderHistoryEntryNotification: typeof OrderHistoryEntryNotification;
3011
3173
  declare const schemas_OrderHistoryOrderType: typeof OrderHistoryOrderType;
3012
3174
  declare const schemas_OrderHistoryOrderTypeSchema: typeof OrderHistoryOrderTypeSchema;
@@ -3016,6 +3178,7 @@ declare const schemas_OrderHistoryUIDirection: typeof OrderHistoryUIDirection;
3016
3178
  declare const schemas_OrderHistoryUIDirectionSchema: typeof OrderHistoryUIDirectionSchema;
3017
3179
  declare const schemas_PoolProvider: typeof PoolProvider;
3018
3180
  declare const schemas_PoolProviderSchema: typeof PoolProviderSchema;
3181
+ declare const schemas_PoolSnapshot: typeof PoolSnapshot;
3019
3182
  declare const schemas_PoolSubscriptionTopic: typeof PoolSubscriptionTopic;
3020
3183
  declare const schemas_PoolSubscriptionTopicSchema: typeof PoolSubscriptionTopicSchema;
3021
3184
  declare const schemas_PoolSwapNotification: typeof PoolSwapNotification;
@@ -3060,7 +3223,7 @@ declare const schemas_UsdPnlSchema: typeof UsdPnlSchema;
3060
3223
  declare const schemas_WalletSubscriptionTopic: typeof WalletSubscriptionTopic;
3061
3224
  declare const schemas_WalletSubscriptionTopicSchema: typeof WalletSubscriptionTopicSchema;
3062
3225
  declare namespace schemas {
3063
- 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 };
3226
+ 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, schemas_OrderBookWrapper as OrderBookWrapper, 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_PoolSnapshot as PoolSnapshot, 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 };
3064
3227
  }
3065
3228
 
3066
3229
  type NotificationEntityType = z.infer<typeof NotificationEntitySchema>;
package/dist/index.d.ts CHANGED
@@ -974,6 +974,46 @@ declare const PoolPriceUpdate$1: z$1.ZodObject<{
974
974
  sqrtPrice: z$1.ZodCoercedBigInt<unknown>;
975
975
  time: z$1.ZodCoercedDate<unknown>;
976
976
  }, z$1.core.$strip>;
977
+ declare const OrderBookWrapper: z$1.ZodObject<{
978
+ priceStep: z$1.ZodNumber;
979
+ entries: z$1.ZodArray<z$1.ZodObject<{
980
+ concentratedAmount: z$1.ZodCoercedBigInt<unknown>;
981
+ concentratedAmountQuote: z$1.ZodCoercedBigInt<unknown>;
982
+ concentratedTotal: z$1.ZodCoercedBigInt<unknown>;
983
+ concentratedTotalQuote: z$1.ZodCoercedBigInt<unknown>;
984
+ limitAmount: z$1.ZodCoercedBigInt<unknown>;
985
+ limitAmountQuote: z$1.ZodCoercedBigInt<unknown>;
986
+ limitTotal: z$1.ZodCoercedBigInt<unknown>;
987
+ limitTotalQuote: z$1.ZodCoercedBigInt<unknown>;
988
+ price: z$1.ZodNumber;
989
+ askSide: z$1.ZodBoolean;
990
+ }, z$1.core.$strip>>;
991
+ }, z$1.core.$strip>;
992
+ declare const PoolSnapshot: z$1.ZodObject<{
993
+ liquidity: z$1.ZodCoercedBigInt<unknown>;
994
+ tickCurrentIndex: z$1.ZodNumber;
995
+ price: z$1.ZodNumber;
996
+ tvl: z$1.ZodNumber;
997
+ priceChange24H: z$1.ZodNumber;
998
+ volume24H: z$1.ZodNumber;
999
+ fees24H: z$1.ZodNumber;
1000
+ borrowedFundsA: z$1.ZodObject<{
1001
+ amount: z$1.ZodCoercedBigInt<unknown>;
1002
+ usd: z$1.ZodNumber;
1003
+ }, z$1.core.$strip>;
1004
+ borrowedFundsB: z$1.ZodObject<{
1005
+ amount: z$1.ZodCoercedBigInt<unknown>;
1006
+ usd: z$1.ZodNumber;
1007
+ }, z$1.core.$strip>;
1008
+ borrowLimitA: z$1.ZodObject<{
1009
+ amount: z$1.ZodCoercedBigInt<unknown>;
1010
+ usd: z$1.ZodNumber;
1011
+ }, z$1.core.$strip>;
1012
+ borrowLimitB: z$1.ZodObject<{
1013
+ amount: z$1.ZodCoercedBigInt<unknown>;
1014
+ usd: z$1.ZodNumber;
1015
+ }, z$1.core.$strip>;
1016
+ }, z$1.core.$strip>;
977
1017
  declare const StateSnapshot$1: z$1.ZodObject<{
978
1018
  slot: z$1.ZodCoercedBigInt<unknown>;
979
1019
  blockTime: z$1.ZodCoercedDate<unknown>;
@@ -983,6 +1023,31 @@ declare const StateSnapshot$1: z$1.ZodObject<{
983
1023
  sqrtPrice: z$1.ZodCoercedBigInt<unknown>;
984
1024
  time: z$1.ZodCoercedDate<unknown>;
985
1025
  }, z$1.core.$strip>>>;
1026
+ pools: z$1.ZodOptional<z$1.ZodRecord<z$1.ZodString, z$1.ZodObject<{
1027
+ liquidity: z$1.ZodCoercedBigInt<unknown>;
1028
+ tickCurrentIndex: z$1.ZodNumber;
1029
+ price: z$1.ZodNumber;
1030
+ tvl: z$1.ZodNumber;
1031
+ priceChange24H: z$1.ZodNumber;
1032
+ volume24H: z$1.ZodNumber;
1033
+ fees24H: z$1.ZodNumber;
1034
+ borrowedFundsA: z$1.ZodObject<{
1035
+ amount: z$1.ZodCoercedBigInt<unknown>;
1036
+ usd: z$1.ZodNumber;
1037
+ }, z$1.core.$strip>;
1038
+ borrowedFundsB: z$1.ZodObject<{
1039
+ amount: z$1.ZodCoercedBigInt<unknown>;
1040
+ usd: z$1.ZodNumber;
1041
+ }, z$1.core.$strip>;
1042
+ borrowLimitA: z$1.ZodObject<{
1043
+ amount: z$1.ZodCoercedBigInt<unknown>;
1044
+ usd: z$1.ZodNumber;
1045
+ }, z$1.core.$strip>;
1046
+ borrowLimitB: z$1.ZodObject<{
1047
+ amount: z$1.ZodCoercedBigInt<unknown>;
1048
+ usd: z$1.ZodNumber;
1049
+ }, z$1.core.$strip>;
1050
+ }, z$1.core.$strip>>>;
986
1051
  tunaSpotPositions: z$1.ZodOptional<z$1.ZodArray<z$1.ZodObject<{
987
1052
  address: z$1.ZodString;
988
1053
  authority: z$1.ZodString;
@@ -1221,6 +1286,21 @@ declare const StateSnapshot$1: z$1.ZodObject<{
1221
1286
  openedAt: z$1.ZodCoercedDate<unknown>;
1222
1287
  closedAt: z$1.ZodNullable<z$1.ZodCoercedDate<unknown>>;
1223
1288
  }, z$1.core.$strip>>>;
1289
+ orderBooks: z$1.ZodOptional<z$1.ZodRecord<z$1.ZodString, z$1.ZodObject<{
1290
+ priceStep: z$1.ZodNumber;
1291
+ entries: z$1.ZodArray<z$1.ZodObject<{
1292
+ concentratedAmount: z$1.ZodCoercedBigInt<unknown>;
1293
+ concentratedAmountQuote: z$1.ZodCoercedBigInt<unknown>;
1294
+ concentratedTotal: z$1.ZodCoercedBigInt<unknown>;
1295
+ concentratedTotalQuote: z$1.ZodCoercedBigInt<unknown>;
1296
+ limitAmount: z$1.ZodCoercedBigInt<unknown>;
1297
+ limitAmountQuote: z$1.ZodCoercedBigInt<unknown>;
1298
+ limitTotal: z$1.ZodCoercedBigInt<unknown>;
1299
+ limitTotalQuote: z$1.ZodCoercedBigInt<unknown>;
1300
+ price: z$1.ZodNumber;
1301
+ askSide: z$1.ZodBoolean;
1302
+ }, z$1.core.$strip>>;
1303
+ }, z$1.core.$strip>>>;
1224
1304
  }, z$1.core.$strip>;
1225
1305
 
1226
1306
  declare const Mint$1: z.ZodObject<{
@@ -1231,6 +1311,34 @@ declare const Mint$1: z.ZodObject<{
1231
1311
  decimals: z.ZodNumber;
1232
1312
  }, z.core.$strip>;
1233
1313
 
1314
+ declare const OrderBookEntry$1: z$1.ZodObject<{
1315
+ concentratedAmount: z$1.ZodCoercedBigInt<unknown>;
1316
+ concentratedAmountQuote: z$1.ZodCoercedBigInt<unknown>;
1317
+ concentratedTotal: z$1.ZodCoercedBigInt<unknown>;
1318
+ concentratedTotalQuote: z$1.ZodCoercedBigInt<unknown>;
1319
+ limitAmount: z$1.ZodCoercedBigInt<unknown>;
1320
+ limitAmountQuote: z$1.ZodCoercedBigInt<unknown>;
1321
+ limitTotal: z$1.ZodCoercedBigInt<unknown>;
1322
+ limitTotalQuote: z$1.ZodCoercedBigInt<unknown>;
1323
+ price: z$1.ZodNumber;
1324
+ askSide: z$1.ZodBoolean;
1325
+ }, z$1.core.$strip>;
1326
+ declare const OrderBook$1: z$1.ZodObject<{
1327
+ entries: z$1.ZodArray<z$1.ZodObject<{
1328
+ concentratedAmount: z$1.ZodCoercedBigInt<unknown>;
1329
+ concentratedAmountQuote: z$1.ZodCoercedBigInt<unknown>;
1330
+ concentratedTotal: z$1.ZodCoercedBigInt<unknown>;
1331
+ concentratedTotalQuote: z$1.ZodCoercedBigInt<unknown>;
1332
+ limitAmount: z$1.ZodCoercedBigInt<unknown>;
1333
+ limitAmountQuote: z$1.ZodCoercedBigInt<unknown>;
1334
+ limitTotal: z$1.ZodCoercedBigInt<unknown>;
1335
+ limitTotalQuote: z$1.ZodCoercedBigInt<unknown>;
1336
+ price: z$1.ZodNumber;
1337
+ askSide: z$1.ZodBoolean;
1338
+ }, z$1.core.$strip>>;
1339
+ poolPrice: z$1.ZodNumber;
1340
+ }, z$1.core.$strip>;
1341
+
1234
1342
  declare const NotificationEntity: {
1235
1343
  readonly POOL_SWAP: "pool_swap";
1236
1344
  readonly POOL_PRICE: "pool_price";
@@ -1556,33 +1664,6 @@ declare const PoolSwap$1: z.ZodObject<{
1556
1664
  pool: z.ZodString;
1557
1665
  time: z.ZodCoercedDate<unknown>;
1558
1666
  }, z.core.$strip>;
1559
- declare const OrderBookEntry$1: z.ZodObject<{
1560
- concentratedAmount: z.ZodCoercedBigInt<unknown>;
1561
- concentratedAmountQuote: z.ZodCoercedBigInt<unknown>;
1562
- concentratedTotal: z.ZodCoercedBigInt<unknown>;
1563
- concentratedTotalQuote: z.ZodCoercedBigInt<unknown>;
1564
- limitAmount: z.ZodCoercedBigInt<unknown>;
1565
- limitAmountQuote: z.ZodCoercedBigInt<unknown>;
1566
- limitTotal: z.ZodCoercedBigInt<unknown>;
1567
- limitTotalQuote: z.ZodCoercedBigInt<unknown>;
1568
- price: z.ZodNumber;
1569
- askSide: z.ZodBoolean;
1570
- }, z.core.$strip>;
1571
- declare const OrderBook$1: z.ZodObject<{
1572
- entries: z.ZodArray<z.ZodObject<{
1573
- concentratedAmount: z.ZodCoercedBigInt<unknown>;
1574
- concentratedAmountQuote: z.ZodCoercedBigInt<unknown>;
1575
- concentratedTotal: z.ZodCoercedBigInt<unknown>;
1576
- concentratedTotalQuote: z.ZodCoercedBigInt<unknown>;
1577
- limitAmount: z.ZodCoercedBigInt<unknown>;
1578
- limitAmountQuote: z.ZodCoercedBigInt<unknown>;
1579
- limitTotal: z.ZodCoercedBigInt<unknown>;
1580
- limitTotalQuote: z.ZodCoercedBigInt<unknown>;
1581
- price: z.ZodNumber;
1582
- askSide: z.ZodBoolean;
1583
- }, z.core.$strip>>;
1584
- poolPrice: z.ZodNumber;
1585
- }, z.core.$strip>;
1586
1667
  declare const TradeHistoryEntry$1: z.ZodObject<{
1587
1668
  id: z.ZodString;
1588
1669
  pool: z.ZodString;
@@ -2477,6 +2558,31 @@ declare const StateSnapshotNotification: z.ZodObject<{
2477
2558
  sqrtPrice: z.ZodCoercedBigInt<unknown>;
2478
2559
  time: z.ZodCoercedDate<unknown>;
2479
2560
  }, z.core.$strip>>>;
2561
+ pools: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
2562
+ liquidity: z.ZodCoercedBigInt<unknown>;
2563
+ tickCurrentIndex: z.ZodNumber;
2564
+ price: z.ZodNumber;
2565
+ tvl: z.ZodNumber;
2566
+ priceChange24H: z.ZodNumber;
2567
+ volume24H: z.ZodNumber;
2568
+ fees24H: z.ZodNumber;
2569
+ borrowedFundsA: z.ZodObject<{
2570
+ amount: z.ZodCoercedBigInt<unknown>;
2571
+ usd: z.ZodNumber;
2572
+ }, z.core.$strip>;
2573
+ borrowedFundsB: z.ZodObject<{
2574
+ amount: z.ZodCoercedBigInt<unknown>;
2575
+ usd: z.ZodNumber;
2576
+ }, z.core.$strip>;
2577
+ borrowLimitA: z.ZodObject<{
2578
+ amount: z.ZodCoercedBigInt<unknown>;
2579
+ usd: z.ZodNumber;
2580
+ }, z.core.$strip>;
2581
+ borrowLimitB: z.ZodObject<{
2582
+ amount: z.ZodCoercedBigInt<unknown>;
2583
+ usd: z.ZodNumber;
2584
+ }, z.core.$strip>;
2585
+ }, z.core.$strip>>>;
2480
2586
  tunaSpotPositions: z.ZodOptional<z.ZodArray<z.ZodObject<{
2481
2587
  address: z.ZodString;
2482
2588
  authority: z.ZodString;
@@ -2715,6 +2821,21 @@ declare const StateSnapshotNotification: z.ZodObject<{
2715
2821
  openedAt: z.ZodCoercedDate<unknown>;
2716
2822
  closedAt: z.ZodNullable<z.ZodCoercedDate<unknown>>;
2717
2823
  }, z.core.$strip>>>;
2824
+ orderBooks: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
2825
+ priceStep: z.ZodNumber;
2826
+ entries: z.ZodArray<z.ZodObject<{
2827
+ concentratedAmount: z.ZodCoercedBigInt<unknown>;
2828
+ concentratedAmountQuote: z.ZodCoercedBigInt<unknown>;
2829
+ concentratedTotal: z.ZodCoercedBigInt<unknown>;
2830
+ concentratedTotalQuote: z.ZodCoercedBigInt<unknown>;
2831
+ limitAmount: z.ZodCoercedBigInt<unknown>;
2832
+ limitAmountQuote: z.ZodCoercedBigInt<unknown>;
2833
+ limitTotal: z.ZodCoercedBigInt<unknown>;
2834
+ limitTotalQuote: z.ZodCoercedBigInt<unknown>;
2835
+ price: z.ZodNumber;
2836
+ askSide: z.ZodBoolean;
2837
+ }, z.core.$strip>>;
2838
+ }, z.core.$strip>>>;
2718
2839
  }, z.core.$strip>;
2719
2840
  id: z.ZodString;
2720
2841
  authority: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -2746,6 +2867,31 @@ declare const StateSnapshotNotification: z.ZodObject<{
2746
2867
  sqrtPrice: z.ZodCoercedBigInt<unknown>;
2747
2868
  time: z.ZodCoercedDate<unknown>;
2748
2869
  }, z.core.$strip>>>;
2870
+ pools: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
2871
+ liquidity: z.ZodCoercedBigInt<unknown>;
2872
+ tickCurrentIndex: z.ZodNumber;
2873
+ price: z.ZodNumber;
2874
+ tvl: z.ZodNumber;
2875
+ priceChange24H: z.ZodNumber;
2876
+ volume24H: z.ZodNumber;
2877
+ fees24H: z.ZodNumber;
2878
+ borrowedFundsA: z.ZodObject<{
2879
+ amount: z.ZodCoercedBigInt<unknown>;
2880
+ usd: z.ZodNumber;
2881
+ }, z.core.$strip>;
2882
+ borrowedFundsB: z.ZodObject<{
2883
+ amount: z.ZodCoercedBigInt<unknown>;
2884
+ usd: z.ZodNumber;
2885
+ }, z.core.$strip>;
2886
+ borrowLimitA: z.ZodObject<{
2887
+ amount: z.ZodCoercedBigInt<unknown>;
2888
+ usd: z.ZodNumber;
2889
+ }, z.core.$strip>;
2890
+ borrowLimitB: z.ZodObject<{
2891
+ amount: z.ZodCoercedBigInt<unknown>;
2892
+ usd: z.ZodNumber;
2893
+ }, z.core.$strip>;
2894
+ }, z.core.$strip>>>;
2749
2895
  tunaSpotPositions: z.ZodOptional<z.ZodArray<z.ZodObject<{
2750
2896
  address: z.ZodString;
2751
2897
  authority: z.ZodString;
@@ -2984,6 +3130,21 @@ declare const StateSnapshotNotification: z.ZodObject<{
2984
3130
  openedAt: z.ZodCoercedDate<unknown>;
2985
3131
  closedAt: z.ZodNullable<z.ZodCoercedDate<unknown>>;
2986
3132
  }, z.core.$strip>>>;
3133
+ orderBooks: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
3134
+ priceStep: z.ZodNumber;
3135
+ entries: z.ZodArray<z.ZodObject<{
3136
+ concentratedAmount: z.ZodCoercedBigInt<unknown>;
3137
+ concentratedAmountQuote: z.ZodCoercedBigInt<unknown>;
3138
+ concentratedTotal: z.ZodCoercedBigInt<unknown>;
3139
+ concentratedTotalQuote: z.ZodCoercedBigInt<unknown>;
3140
+ limitAmount: z.ZodCoercedBigInt<unknown>;
3141
+ limitAmountQuote: z.ZodCoercedBigInt<unknown>;
3142
+ limitTotal: z.ZodCoercedBigInt<unknown>;
3143
+ limitTotalQuote: z.ZodCoercedBigInt<unknown>;
3144
+ price: z.ZodNumber;
3145
+ askSide: z.ZodBoolean;
3146
+ }, z.core.$strip>>;
3147
+ }, z.core.$strip>>>;
2987
3148
  }, z.core.$strip>;
2988
3149
  id: z.ZodString;
2989
3150
  authority: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -3007,6 +3168,7 @@ declare const schemas_NotificationActionSchema: typeof NotificationActionSchema;
3007
3168
  declare const schemas_NotificationEntity: typeof NotificationEntity;
3008
3169
  declare const schemas_NotificationEntitySchema: typeof NotificationEntitySchema;
3009
3170
  declare const schemas_OrderBookNotification: typeof OrderBookNotification;
3171
+ declare const schemas_OrderBookWrapper: typeof OrderBookWrapper;
3010
3172
  declare const schemas_OrderHistoryEntryNotification: typeof OrderHistoryEntryNotification;
3011
3173
  declare const schemas_OrderHistoryOrderType: typeof OrderHistoryOrderType;
3012
3174
  declare const schemas_OrderHistoryOrderTypeSchema: typeof OrderHistoryOrderTypeSchema;
@@ -3016,6 +3178,7 @@ declare const schemas_OrderHistoryUIDirection: typeof OrderHistoryUIDirection;
3016
3178
  declare const schemas_OrderHistoryUIDirectionSchema: typeof OrderHistoryUIDirectionSchema;
3017
3179
  declare const schemas_PoolProvider: typeof PoolProvider;
3018
3180
  declare const schemas_PoolProviderSchema: typeof PoolProviderSchema;
3181
+ declare const schemas_PoolSnapshot: typeof PoolSnapshot;
3019
3182
  declare const schemas_PoolSubscriptionTopic: typeof PoolSubscriptionTopic;
3020
3183
  declare const schemas_PoolSubscriptionTopicSchema: typeof PoolSubscriptionTopicSchema;
3021
3184
  declare const schemas_PoolSwapNotification: typeof PoolSwapNotification;
@@ -3060,7 +3223,7 @@ declare const schemas_UsdPnlSchema: typeof UsdPnlSchema;
3060
3223
  declare const schemas_WalletSubscriptionTopic: typeof WalletSubscriptionTopic;
3061
3224
  declare const schemas_WalletSubscriptionTopicSchema: typeof WalletSubscriptionTopicSchema;
3062
3225
  declare namespace schemas {
3063
- 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 };
3226
+ 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, schemas_OrderBookWrapper as OrderBookWrapper, 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_PoolSnapshot as PoolSnapshot, 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 };
3064
3227
  }
3065
3228
 
3066
3229
  type NotificationEntityType = z.infer<typeof NotificationEntitySchema>;