@crypticdot/defituna-api 4.1.1 → 4.1.3

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.ts CHANGED
@@ -610,6 +610,15 @@ type LpPositionsError400Error = ({
610
610
  type LpPositionsError500Error = {
611
611
  code: 'internal_error';
612
612
  };
613
+ type LpPositionsHistoryListResponse = {
614
+ items: Array<TunaLpPositionDto>;
615
+ markets: {
616
+ [key: string]: MarketDto;
617
+ };
618
+ mints: {
619
+ [key: string]: MintDto;
620
+ };
621
+ };
613
622
  type LpPositionsListResponse = {
614
623
  items: Array<TunaPositionDto>;
615
624
  markets: {
@@ -646,6 +655,18 @@ type MarketError404Error = {
646
655
  type MarketError500Error = {
647
656
  code: 'internal_error';
648
657
  };
658
+ type MarketResponse = {
659
+ item: MarketDto;
660
+ mints: {
661
+ [key: string]: MintDto;
662
+ };
663
+ };
664
+ type MarketsListResponse = {
665
+ items: Array<MarketDto>;
666
+ mints: {
667
+ [key: string]: MintDto;
668
+ };
669
+ };
649
670
  type MintDto = {
650
671
  address: PubkeyDto;
651
672
  decimals: number;
@@ -982,7 +1003,7 @@ type SseResponseLendingPosition = SseResponseLendingPositionPayload & {
982
1003
  type SseResponseLendingPositionPayload = {
983
1004
  action: NotificationAction;
984
1005
  authority?: null | PubkeyDto;
985
- data: LendingPositionDto;
1006
+ data: LendingPositionResponse;
986
1007
  entity: NotificationEntity;
987
1008
  id: string;
988
1009
  };
@@ -1287,9 +1308,9 @@ type TunaLpPositionDto = {
1287
1308
  leverage: number;
1288
1309
  lowerLimitOrder?: number | null;
1289
1310
  lowerPrice: number;
1311
+ market: PubkeyDto;
1290
1312
  marketMaker: PoolProvider;
1291
1313
  openedAt: Date;
1292
- pool: PoolDto;
1293
1314
  positionAddress: PubkeyDto;
1294
1315
  realizedYieldUsd: number;
1295
1316
  state: TunaPositionDtoState;
@@ -1678,7 +1699,7 @@ type GetMarketsErrors = {
1678
1699
  type GetMarketsError = GetMarketsErrors[keyof GetMarketsErrors];
1679
1700
  type GetMarketsResponses = {
1680
1701
  200: {
1681
- data: Array<MarketDto>;
1702
+ data: MarketsListResponse;
1682
1703
  };
1683
1704
  };
1684
1705
  type GetMarketsResponse = GetMarketsResponses[keyof GetMarketsResponses];
@@ -1702,7 +1723,7 @@ type GetMarketErrors = {
1702
1723
  type GetMarketError = GetMarketErrors[keyof GetMarketErrors];
1703
1724
  type GetMarketResponses = {
1704
1725
  200: {
1705
- data: MarketDto;
1726
+ data: MarketResponse;
1706
1727
  };
1707
1728
  };
1708
1729
  type GetMarketResponse = GetMarketResponses[keyof GetMarketResponses];
@@ -2487,7 +2508,7 @@ type GetLpPositionsErrors = {
2487
2508
  type GetLpPositionsError = GetLpPositionsErrors[keyof GetLpPositionsErrors];
2488
2509
  type GetLpPositionsResponses = {
2489
2510
  200: {
2490
- data: Array<TunaLpPositionDto>;
2511
+ data: LpPositionsHistoryListResponse;
2491
2512
  };
2492
2513
  };
2493
2514
  type GetLpPositionsResponse = GetLpPositionsResponses[keyof GetLpPositionsResponses];
@@ -4187,6 +4208,40 @@ declare const zTunaPositionDtoState: z.ZodEnum<{
4187
4208
  liquidation_closed: "liquidation_closed";
4188
4209
  limit_order_closed: "limit_order_closed";
4189
4210
  }>;
4211
+ declare const zTunaLpPositionDto: z.ZodObject<{
4212
+ authority: z.ZodString;
4213
+ closedAt: z.ZodOptional<z.ZodUnion<readonly [z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodISODateTime>, z.ZodNull]>>;
4214
+ closedPnlSumUsd: z.ZodNumber;
4215
+ entryPrice: z.ZodNumber;
4216
+ exitPrice: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodNull]>>;
4217
+ feesSumUsd: z.ZodNumber;
4218
+ initialLeverage: z.ZodNumber;
4219
+ leverage: z.ZodNumber;
4220
+ lowerLimitOrder: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodNull]>>;
4221
+ lowerPrice: z.ZodNumber;
4222
+ market: z.ZodString;
4223
+ marketMaker: z.ZodEnum<{
4224
+ orca: "orca";
4225
+ fusion: "fusion";
4226
+ }>;
4227
+ openedAt: z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodISODateTime>;
4228
+ positionAddress: z.ZodString;
4229
+ realizedYieldUsd: z.ZodNumber;
4230
+ state: z.ZodEnum<{
4231
+ open: "open";
4232
+ liquidation_withdraw: "liquidation_withdraw";
4233
+ limit_order_withdraw: "limit_order_withdraw";
4234
+ closed: "closed";
4235
+ liquidation_closed: "liquidation_closed";
4236
+ limit_order_closed: "limit_order_closed";
4237
+ }>;
4238
+ totalDepositUsd: z.ZodNumber;
4239
+ totalValueUsd: z.ZodNumber;
4240
+ totalWithdrawnUsd: z.ZodNumber;
4241
+ updatedAt: z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodISODateTime>;
4242
+ upperLimitOrder: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodNull]>>;
4243
+ upperPrice: z.ZodNumber;
4244
+ }, z.core.$strip>;
4190
4245
  declare const zTunaPositionMarketMaker: z.ZodEnum<{
4191
4246
  orca: "orca";
4192
4247
  fusion: "fusion";
@@ -4257,66 +4312,6 @@ declare const zPoolDto: z.ZodObject<{
4257
4312
  tokenAVault: z.ZodString;
4258
4313
  tokenBVault: z.ZodString;
4259
4314
  }, z.core.$strip>;
4260
- declare const zTunaLpPositionDto: z.ZodObject<{
4261
- authority: z.ZodString;
4262
- closedAt: z.ZodOptional<z.ZodUnion<readonly [z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodISODateTime>, z.ZodNull]>>;
4263
- closedPnlSumUsd: z.ZodNumber;
4264
- entryPrice: z.ZodNumber;
4265
- exitPrice: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodNull]>>;
4266
- feesSumUsd: z.ZodNumber;
4267
- initialLeverage: z.ZodNumber;
4268
- leverage: z.ZodNumber;
4269
- lowerLimitOrder: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodNull]>>;
4270
- lowerPrice: z.ZodNumber;
4271
- marketMaker: z.ZodEnum<{
4272
- orca: "orca";
4273
- fusion: "fusion";
4274
- }>;
4275
- openedAt: z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodISODateTime>;
4276
- pool: z.ZodObject<{
4277
- address: z.ZodString;
4278
- feeRate: z.ZodInt;
4279
- liquidity: z.ZodString;
4280
- mintA: z.ZodString;
4281
- mintB: z.ZodString;
4282
- olpFeeRate: z.ZodOptional<z.ZodUnion<readonly [z.ZodInt, z.ZodNull]>>;
4283
- price: z.ZodNumber;
4284
- protocolFeeRate: z.ZodInt;
4285
- provider: z.ZodEnum<{
4286
- orca: "orca";
4287
- fusion: "fusion";
4288
- }>;
4289
- sqrtPrice: z.ZodString;
4290
- stats: z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodObject<{
4291
- groups: z.ZodRecord<z.ZodString, z.ZodObject<{
4292
- feesUsd: z.ZodNumber;
4293
- priceChange: z.ZodNumber;
4294
- volumeUsd: z.ZodNumber;
4295
- }, z.core.$strip>>;
4296
- tvlUsd: z.ZodNumber;
4297
- }, z.core.$strip>]>>;
4298
- tickCurrentIndex: z.ZodInt;
4299
- tickSpacing: z.ZodInt;
4300
- tokenAVault: z.ZodString;
4301
- tokenBVault: z.ZodString;
4302
- }, z.core.$strip>;
4303
- positionAddress: z.ZodString;
4304
- realizedYieldUsd: z.ZodNumber;
4305
- state: z.ZodEnum<{
4306
- open: "open";
4307
- liquidation_withdraw: "liquidation_withdraw";
4308
- limit_order_withdraw: "limit_order_withdraw";
4309
- closed: "closed";
4310
- liquidation_closed: "liquidation_closed";
4311
- limit_order_closed: "limit_order_closed";
4312
- }>;
4313
- totalDepositUsd: z.ZodNumber;
4314
- totalValueUsd: z.ZodNumber;
4315
- totalWithdrawnUsd: z.ZodNumber;
4316
- updatedAt: z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodISODateTime>;
4317
- upperLimitOrder: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodNull]>>;
4318
- upperPrice: z.ZodNumber;
4319
- }, z.core.$strip>;
4320
4315
  /**
4321
4316
  * Unsigned 64-bit integer encoded as a decimal string.
4322
4317
  */
@@ -4904,108 +4899,40 @@ declare const zLimitOrdersListResponse: z.ZodObject<{
4904
4899
  symbol: z.ZodString;
4905
4900
  }, z.core.$strip>>;
4906
4901
  }, z.core.$strip>;
4907
- declare const zOrderHistoryEntryDto: z.ZodObject<{
4908
- aToB: z.ZodBoolean;
4909
- authority: z.ZodString;
4910
- baseToken: z.ZodObject<{
4911
- amount: z.ZodCoercedBigInt<unknown>;
4912
- usd: z.ZodNumber;
4913
- }, z.core.$strip>;
4914
- baseTokenConsumedAmount: z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodObject<{
4915
- amount: z.ZodCoercedBigInt<unknown>;
4916
- usd: z.ZodNumber;
4917
- }, z.core.$strip>]>>;
4918
- id: z.ZodUUID;
4919
- isReduceOnly: z.ZodBoolean;
4920
- ixIndex: z.ZodOptional<z.ZodUnion<readonly [z.ZodInt, z.ZodNull]>>;
4921
- market: z.ZodString;
4922
- orderType: z.ZodEnum<{
4923
- market: "market";
4924
- limit: "limit";
4925
- take_profit_market: "take_profit_market";
4926
- stop_loss_market: "stop_loss_market";
4927
- liquidation_market: "liquidation_market";
4928
- }>;
4929
- positionAddress: z.ZodUnion<readonly [z.ZodNull, z.ZodString]>;
4930
- quoteToken: z.ZodObject<{
4931
- amount: z.ZodCoercedBigInt<unknown>;
4932
- usd: z.ZodNumber;
4933
- }, z.core.$strip>;
4934
- quoteTokenFilledAmount: z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodObject<{
4935
- amount: z.ZodCoercedBigInt<unknown>;
4936
- usd: z.ZodNumber;
4937
- }, z.core.$strip>]>>;
4938
- slot: z.ZodCoercedBigInt<unknown>;
4939
- status: z.ZodEnum<{
4940
- open: "open";
4941
- partially_filled: "partially_filled";
4942
- filled: "filled";
4943
- cancelled: "cancelled";
4944
- claimed: "claimed";
4945
- rejected: "rejected";
4946
- }>;
4947
- ts: z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodISODateTime>;
4948
- txSignature: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNull]>>;
4949
- uiDirection: z.ZodEnum<{
4950
- buy: "buy";
4951
- sell: "sell";
4952
- long: "long";
4953
- short: "short";
4954
- }>;
4955
- uiExecutionPrice: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodNull]>>;
4956
- uiPrice: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodNull]>>;
4957
- }, z.core.$strip>;
4958
- declare const zOrderHistoryListResponse: z.ZodObject<{
4902
+ declare const zLpPositionsHistoryListResponse: z.ZodObject<{
4959
4903
  items: z.ZodArray<z.ZodObject<{
4960
- aToB: z.ZodBoolean;
4961
4904
  authority: z.ZodString;
4962
- baseToken: z.ZodObject<{
4963
- amount: z.ZodCoercedBigInt<unknown>;
4964
- usd: z.ZodNumber;
4965
- }, z.core.$strip>;
4966
- baseTokenConsumedAmount: z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodObject<{
4967
- amount: z.ZodCoercedBigInt<unknown>;
4968
- usd: z.ZodNumber;
4969
- }, z.core.$strip>]>>;
4970
- id: z.ZodUUID;
4971
- isReduceOnly: z.ZodBoolean;
4972
- ixIndex: z.ZodOptional<z.ZodUnion<readonly [z.ZodInt, z.ZodNull]>>;
4905
+ closedAt: z.ZodOptional<z.ZodUnion<readonly [z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodISODateTime>, z.ZodNull]>>;
4906
+ closedPnlSumUsd: z.ZodNumber;
4907
+ entryPrice: z.ZodNumber;
4908
+ exitPrice: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodNull]>>;
4909
+ feesSumUsd: z.ZodNumber;
4910
+ initialLeverage: z.ZodNumber;
4911
+ leverage: z.ZodNumber;
4912
+ lowerLimitOrder: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodNull]>>;
4913
+ lowerPrice: z.ZodNumber;
4973
4914
  market: z.ZodString;
4974
- orderType: z.ZodEnum<{
4975
- market: "market";
4976
- limit: "limit";
4977
- take_profit_market: "take_profit_market";
4978
- stop_loss_market: "stop_loss_market";
4979
- liquidation_market: "liquidation_market";
4915
+ marketMaker: z.ZodEnum<{
4916
+ orca: "orca";
4917
+ fusion: "fusion";
4980
4918
  }>;
4981
- positionAddress: z.ZodUnion<readonly [z.ZodNull, z.ZodString]>;
4982
- quoteToken: z.ZodObject<{
4983
- amount: z.ZodCoercedBigInt<unknown>;
4984
- usd: z.ZodNumber;
4985
- }, z.core.$strip>;
4986
- quoteTokenFilledAmount: z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodObject<{
4987
- amount: z.ZodCoercedBigInt<unknown>;
4988
- usd: z.ZodNumber;
4989
- }, z.core.$strip>]>>;
4990
- slot: z.ZodCoercedBigInt<unknown>;
4991
- status: z.ZodEnum<{
4919
+ openedAt: z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodISODateTime>;
4920
+ positionAddress: z.ZodString;
4921
+ realizedYieldUsd: z.ZodNumber;
4922
+ state: z.ZodEnum<{
4992
4923
  open: "open";
4993
- partially_filled: "partially_filled";
4994
- filled: "filled";
4995
- cancelled: "cancelled";
4996
- claimed: "claimed";
4997
- rejected: "rejected";
4998
- }>;
4999
- ts: z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodISODateTime>;
5000
- txSignature: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNull]>>;
5001
- uiDirection: z.ZodEnum<{
5002
- buy: "buy";
5003
- sell: "sell";
5004
- long: "long";
5005
- short: "short";
4924
+ liquidation_withdraw: "liquidation_withdraw";
4925
+ limit_order_withdraw: "limit_order_withdraw";
4926
+ closed: "closed";
4927
+ liquidation_closed: "liquidation_closed";
4928
+ limit_order_closed: "limit_order_closed";
5006
4929
  }>;
5007
- uiExecutionPrice: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodNull]>>;
5008
- uiPrice: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodNull]>>;
4930
+ totalDepositUsd: z.ZodNumber;
4931
+ totalValueUsd: z.ZodNumber;
4932
+ totalWithdrawnUsd: z.ZodNumber;
4933
+ updatedAt: z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodISODateTime>;
4934
+ upperLimitOrder: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodNull]>>;
4935
+ upperPrice: z.ZodNumber;
5009
4936
  }, z.core.$strip>>;
5010
4937
  markets: z.ZodRecord<z.ZodString, z.ZodObject<{
5011
4938
  address: z.ZodString;
@@ -5083,30 +5010,363 @@ declare const zOrderHistoryListResponse: z.ZodObject<{
5083
5010
  symbol: z.ZodString;
5084
5011
  }, z.core.$strip>>;
5085
5012
  }, z.core.$strip>;
5086
- declare const zOrderHistoryNotificationResponse: z.ZodObject<{
5013
+ declare const zMarketResponse: z.ZodObject<{
5087
5014
  item: z.ZodObject<{
5088
- aToB: z.ZodBoolean;
5089
- authority: z.ZodString;
5090
- baseToken: z.ZodObject<{
5015
+ address: z.ZodString;
5016
+ addressLookupTable: z.ZodString;
5017
+ borrowLimitA: z.ZodObject<{
5091
5018
  amount: z.ZodCoercedBigInt<unknown>;
5092
5019
  usd: z.ZodNumber;
5093
5020
  }, z.core.$strip>;
5094
- baseTokenConsumedAmount: z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodObject<{
5021
+ borrowLimitB: z.ZodObject<{
5095
5022
  amount: z.ZodCoercedBigInt<unknown>;
5096
5023
  usd: z.ZodNumber;
5097
- }, z.core.$strip>]>>;
5098
- id: z.ZodUUID;
5099
- isReduceOnly: z.ZodBoolean;
5100
- ixIndex: z.ZodOptional<z.ZodUnion<readonly [z.ZodInt, z.ZodNull]>>;
5101
- market: z.ZodString;
5102
- orderType: z.ZodEnum<{
5103
- market: "market";
5104
- limit: "limit";
5105
- take_profit_market: "take_profit_market";
5106
- stop_loss_market: "stop_loss_market";
5107
- liquidation_market: "liquidation_market";
5108
- }>;
5109
- positionAddress: z.ZodUnion<readonly [z.ZodNull, z.ZodString]>;
5024
+ }, z.core.$strip>;
5025
+ borrowedFundsA: z.ZodObject<{
5026
+ amount: z.ZodCoercedBigInt<unknown>;
5027
+ usd: z.ZodNumber;
5028
+ }, z.core.$strip>;
5029
+ borrowedFundsB: z.ZodObject<{
5030
+ amount: z.ZodCoercedBigInt<unknown>;
5031
+ usd: z.ZodNumber;
5032
+ }, z.core.$strip>;
5033
+ createdAt: z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodISODateTime>;
5034
+ disabled: z.ZodBoolean;
5035
+ liquidationFee: z.ZodInt;
5036
+ liquidationThreshold: z.ZodInt;
5037
+ maxLeverage: z.ZodInt;
5038
+ maxSpotPositionSizeA: z.ZodObject<{
5039
+ amount: z.ZodCoercedBigInt<unknown>;
5040
+ usd: z.ZodNumber;
5041
+ }, z.core.$strip>;
5042
+ maxSpotPositionSizeB: z.ZodObject<{
5043
+ amount: z.ZodCoercedBigInt<unknown>;
5044
+ usd: z.ZodNumber;
5045
+ }, z.core.$strip>;
5046
+ maxSwapSlippage: z.ZodInt;
5047
+ oraclePriceDeviationThreshold: z.ZodInt;
5048
+ pool: z.ZodObject<{
5049
+ address: z.ZodString;
5050
+ feeRate: z.ZodInt;
5051
+ liquidity: z.ZodString;
5052
+ mintA: z.ZodString;
5053
+ mintB: z.ZodString;
5054
+ olpFeeRate: z.ZodOptional<z.ZodUnion<readonly [z.ZodInt, z.ZodNull]>>;
5055
+ price: z.ZodNumber;
5056
+ protocolFeeRate: z.ZodInt;
5057
+ provider: z.ZodEnum<{
5058
+ orca: "orca";
5059
+ fusion: "fusion";
5060
+ }>;
5061
+ sqrtPrice: z.ZodString;
5062
+ stats: z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodObject<{
5063
+ groups: z.ZodRecord<z.ZodString, z.ZodObject<{
5064
+ feesUsd: z.ZodNumber;
5065
+ priceChange: z.ZodNumber;
5066
+ volumeUsd: z.ZodNumber;
5067
+ }, z.core.$strip>>;
5068
+ tvlUsd: z.ZodNumber;
5069
+ }, z.core.$strip>]>>;
5070
+ tickCurrentIndex: z.ZodInt;
5071
+ tickSpacing: z.ZodInt;
5072
+ tokenAVault: z.ZodString;
5073
+ tokenBVault: z.ZodString;
5074
+ }, z.core.$strip>;
5075
+ protocolFee: z.ZodInt;
5076
+ protocolFeeOnCollateral: z.ZodInt;
5077
+ rebalanceProtocolFee: z.ZodInt;
5078
+ }, z.core.$strip>;
5079
+ mints: z.ZodRecord<z.ZodString, z.ZodObject<{
5080
+ address: z.ZodString;
5081
+ decimals: z.ZodInt;
5082
+ logo: z.ZodString;
5083
+ logo128: z.ZodString;
5084
+ logo32: z.ZodString;
5085
+ logo64: z.ZodString;
5086
+ name: z.ZodString;
5087
+ symbol: z.ZodString;
5088
+ }, z.core.$strip>>;
5089
+ }, z.core.$strip>;
5090
+ declare const zMarketsListResponse: z.ZodObject<{
5091
+ items: z.ZodArray<z.ZodObject<{
5092
+ address: z.ZodString;
5093
+ addressLookupTable: z.ZodString;
5094
+ borrowLimitA: z.ZodObject<{
5095
+ amount: z.ZodCoercedBigInt<unknown>;
5096
+ usd: z.ZodNumber;
5097
+ }, z.core.$strip>;
5098
+ borrowLimitB: z.ZodObject<{
5099
+ amount: z.ZodCoercedBigInt<unknown>;
5100
+ usd: z.ZodNumber;
5101
+ }, z.core.$strip>;
5102
+ borrowedFundsA: z.ZodObject<{
5103
+ amount: z.ZodCoercedBigInt<unknown>;
5104
+ usd: z.ZodNumber;
5105
+ }, z.core.$strip>;
5106
+ borrowedFundsB: z.ZodObject<{
5107
+ amount: z.ZodCoercedBigInt<unknown>;
5108
+ usd: z.ZodNumber;
5109
+ }, z.core.$strip>;
5110
+ createdAt: z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodISODateTime>;
5111
+ disabled: z.ZodBoolean;
5112
+ liquidationFee: z.ZodInt;
5113
+ liquidationThreshold: z.ZodInt;
5114
+ maxLeverage: z.ZodInt;
5115
+ maxSpotPositionSizeA: z.ZodObject<{
5116
+ amount: z.ZodCoercedBigInt<unknown>;
5117
+ usd: z.ZodNumber;
5118
+ }, z.core.$strip>;
5119
+ maxSpotPositionSizeB: z.ZodObject<{
5120
+ amount: z.ZodCoercedBigInt<unknown>;
5121
+ usd: z.ZodNumber;
5122
+ }, z.core.$strip>;
5123
+ maxSwapSlippage: z.ZodInt;
5124
+ oraclePriceDeviationThreshold: z.ZodInt;
5125
+ pool: z.ZodObject<{
5126
+ address: z.ZodString;
5127
+ feeRate: z.ZodInt;
5128
+ liquidity: z.ZodString;
5129
+ mintA: z.ZodString;
5130
+ mintB: z.ZodString;
5131
+ olpFeeRate: z.ZodOptional<z.ZodUnion<readonly [z.ZodInt, z.ZodNull]>>;
5132
+ price: z.ZodNumber;
5133
+ protocolFeeRate: z.ZodInt;
5134
+ provider: z.ZodEnum<{
5135
+ orca: "orca";
5136
+ fusion: "fusion";
5137
+ }>;
5138
+ sqrtPrice: z.ZodString;
5139
+ stats: z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodObject<{
5140
+ groups: z.ZodRecord<z.ZodString, z.ZodObject<{
5141
+ feesUsd: z.ZodNumber;
5142
+ priceChange: z.ZodNumber;
5143
+ volumeUsd: z.ZodNumber;
5144
+ }, z.core.$strip>>;
5145
+ tvlUsd: z.ZodNumber;
5146
+ }, z.core.$strip>]>>;
5147
+ tickCurrentIndex: z.ZodInt;
5148
+ tickSpacing: z.ZodInt;
5149
+ tokenAVault: z.ZodString;
5150
+ tokenBVault: z.ZodString;
5151
+ }, z.core.$strip>;
5152
+ protocolFee: z.ZodInt;
5153
+ protocolFeeOnCollateral: z.ZodInt;
5154
+ rebalanceProtocolFee: z.ZodInt;
5155
+ }, z.core.$strip>>;
5156
+ mints: z.ZodRecord<z.ZodString, z.ZodObject<{
5157
+ address: z.ZodString;
5158
+ decimals: z.ZodInt;
5159
+ logo: z.ZodString;
5160
+ logo128: z.ZodString;
5161
+ logo32: z.ZodString;
5162
+ logo64: z.ZodString;
5163
+ name: z.ZodString;
5164
+ symbol: z.ZodString;
5165
+ }, z.core.$strip>>;
5166
+ }, z.core.$strip>;
5167
+ declare const zOrderHistoryEntryDto: z.ZodObject<{
5168
+ aToB: z.ZodBoolean;
5169
+ authority: z.ZodString;
5170
+ baseToken: z.ZodObject<{
5171
+ amount: z.ZodCoercedBigInt<unknown>;
5172
+ usd: z.ZodNumber;
5173
+ }, z.core.$strip>;
5174
+ baseTokenConsumedAmount: z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodObject<{
5175
+ amount: z.ZodCoercedBigInt<unknown>;
5176
+ usd: z.ZodNumber;
5177
+ }, z.core.$strip>]>>;
5178
+ id: z.ZodUUID;
5179
+ isReduceOnly: z.ZodBoolean;
5180
+ ixIndex: z.ZodOptional<z.ZodUnion<readonly [z.ZodInt, z.ZodNull]>>;
5181
+ market: z.ZodString;
5182
+ orderType: z.ZodEnum<{
5183
+ market: "market";
5184
+ limit: "limit";
5185
+ take_profit_market: "take_profit_market";
5186
+ stop_loss_market: "stop_loss_market";
5187
+ liquidation_market: "liquidation_market";
5188
+ }>;
5189
+ positionAddress: z.ZodUnion<readonly [z.ZodNull, z.ZodString]>;
5190
+ quoteToken: z.ZodObject<{
5191
+ amount: z.ZodCoercedBigInt<unknown>;
5192
+ usd: z.ZodNumber;
5193
+ }, z.core.$strip>;
5194
+ quoteTokenFilledAmount: z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodObject<{
5195
+ amount: z.ZodCoercedBigInt<unknown>;
5196
+ usd: z.ZodNumber;
5197
+ }, z.core.$strip>]>>;
5198
+ slot: z.ZodCoercedBigInt<unknown>;
5199
+ status: z.ZodEnum<{
5200
+ open: "open";
5201
+ partially_filled: "partially_filled";
5202
+ filled: "filled";
5203
+ cancelled: "cancelled";
5204
+ claimed: "claimed";
5205
+ rejected: "rejected";
5206
+ }>;
5207
+ ts: z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodISODateTime>;
5208
+ txSignature: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNull]>>;
5209
+ uiDirection: z.ZodEnum<{
5210
+ buy: "buy";
5211
+ sell: "sell";
5212
+ long: "long";
5213
+ short: "short";
5214
+ }>;
5215
+ uiExecutionPrice: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodNull]>>;
5216
+ uiPrice: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodNull]>>;
5217
+ }, z.core.$strip>;
5218
+ declare const zOrderHistoryListResponse: z.ZodObject<{
5219
+ items: z.ZodArray<z.ZodObject<{
5220
+ aToB: z.ZodBoolean;
5221
+ authority: z.ZodString;
5222
+ baseToken: z.ZodObject<{
5223
+ amount: z.ZodCoercedBigInt<unknown>;
5224
+ usd: z.ZodNumber;
5225
+ }, z.core.$strip>;
5226
+ baseTokenConsumedAmount: z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodObject<{
5227
+ amount: z.ZodCoercedBigInt<unknown>;
5228
+ usd: z.ZodNumber;
5229
+ }, z.core.$strip>]>>;
5230
+ id: z.ZodUUID;
5231
+ isReduceOnly: z.ZodBoolean;
5232
+ ixIndex: z.ZodOptional<z.ZodUnion<readonly [z.ZodInt, z.ZodNull]>>;
5233
+ market: z.ZodString;
5234
+ orderType: z.ZodEnum<{
5235
+ market: "market";
5236
+ limit: "limit";
5237
+ take_profit_market: "take_profit_market";
5238
+ stop_loss_market: "stop_loss_market";
5239
+ liquidation_market: "liquidation_market";
5240
+ }>;
5241
+ positionAddress: z.ZodUnion<readonly [z.ZodNull, z.ZodString]>;
5242
+ quoteToken: z.ZodObject<{
5243
+ amount: z.ZodCoercedBigInt<unknown>;
5244
+ usd: z.ZodNumber;
5245
+ }, z.core.$strip>;
5246
+ quoteTokenFilledAmount: z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodObject<{
5247
+ amount: z.ZodCoercedBigInt<unknown>;
5248
+ usd: z.ZodNumber;
5249
+ }, z.core.$strip>]>>;
5250
+ slot: z.ZodCoercedBigInt<unknown>;
5251
+ status: z.ZodEnum<{
5252
+ open: "open";
5253
+ partially_filled: "partially_filled";
5254
+ filled: "filled";
5255
+ cancelled: "cancelled";
5256
+ claimed: "claimed";
5257
+ rejected: "rejected";
5258
+ }>;
5259
+ ts: z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodISODateTime>;
5260
+ txSignature: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNull]>>;
5261
+ uiDirection: z.ZodEnum<{
5262
+ buy: "buy";
5263
+ sell: "sell";
5264
+ long: "long";
5265
+ short: "short";
5266
+ }>;
5267
+ uiExecutionPrice: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodNull]>>;
5268
+ uiPrice: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodNull]>>;
5269
+ }, z.core.$strip>>;
5270
+ markets: z.ZodRecord<z.ZodString, z.ZodObject<{
5271
+ address: z.ZodString;
5272
+ addressLookupTable: z.ZodString;
5273
+ borrowLimitA: z.ZodObject<{
5274
+ amount: z.ZodCoercedBigInt<unknown>;
5275
+ usd: z.ZodNumber;
5276
+ }, z.core.$strip>;
5277
+ borrowLimitB: z.ZodObject<{
5278
+ amount: z.ZodCoercedBigInt<unknown>;
5279
+ usd: z.ZodNumber;
5280
+ }, z.core.$strip>;
5281
+ borrowedFundsA: z.ZodObject<{
5282
+ amount: z.ZodCoercedBigInt<unknown>;
5283
+ usd: z.ZodNumber;
5284
+ }, z.core.$strip>;
5285
+ borrowedFundsB: z.ZodObject<{
5286
+ amount: z.ZodCoercedBigInt<unknown>;
5287
+ usd: z.ZodNumber;
5288
+ }, z.core.$strip>;
5289
+ createdAt: z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodISODateTime>;
5290
+ disabled: z.ZodBoolean;
5291
+ liquidationFee: z.ZodInt;
5292
+ liquidationThreshold: z.ZodInt;
5293
+ maxLeverage: z.ZodInt;
5294
+ maxSpotPositionSizeA: z.ZodObject<{
5295
+ amount: z.ZodCoercedBigInt<unknown>;
5296
+ usd: z.ZodNumber;
5297
+ }, z.core.$strip>;
5298
+ maxSpotPositionSizeB: z.ZodObject<{
5299
+ amount: z.ZodCoercedBigInt<unknown>;
5300
+ usd: z.ZodNumber;
5301
+ }, z.core.$strip>;
5302
+ maxSwapSlippage: z.ZodInt;
5303
+ oraclePriceDeviationThreshold: z.ZodInt;
5304
+ pool: z.ZodObject<{
5305
+ address: z.ZodString;
5306
+ feeRate: z.ZodInt;
5307
+ liquidity: z.ZodString;
5308
+ mintA: z.ZodString;
5309
+ mintB: z.ZodString;
5310
+ olpFeeRate: z.ZodOptional<z.ZodUnion<readonly [z.ZodInt, z.ZodNull]>>;
5311
+ price: z.ZodNumber;
5312
+ protocolFeeRate: z.ZodInt;
5313
+ provider: z.ZodEnum<{
5314
+ orca: "orca";
5315
+ fusion: "fusion";
5316
+ }>;
5317
+ sqrtPrice: z.ZodString;
5318
+ stats: z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodObject<{
5319
+ groups: z.ZodRecord<z.ZodString, z.ZodObject<{
5320
+ feesUsd: z.ZodNumber;
5321
+ priceChange: z.ZodNumber;
5322
+ volumeUsd: z.ZodNumber;
5323
+ }, z.core.$strip>>;
5324
+ tvlUsd: z.ZodNumber;
5325
+ }, z.core.$strip>]>>;
5326
+ tickCurrentIndex: z.ZodInt;
5327
+ tickSpacing: z.ZodInt;
5328
+ tokenAVault: z.ZodString;
5329
+ tokenBVault: z.ZodString;
5330
+ }, z.core.$strip>;
5331
+ protocolFee: z.ZodInt;
5332
+ protocolFeeOnCollateral: z.ZodInt;
5333
+ rebalanceProtocolFee: z.ZodInt;
5334
+ }, z.core.$strip>>;
5335
+ mints: z.ZodRecord<z.ZodString, z.ZodObject<{
5336
+ address: z.ZodString;
5337
+ decimals: z.ZodInt;
5338
+ logo: z.ZodString;
5339
+ logo128: z.ZodString;
5340
+ logo32: z.ZodString;
5341
+ logo64: z.ZodString;
5342
+ name: z.ZodString;
5343
+ symbol: z.ZodString;
5344
+ }, z.core.$strip>>;
5345
+ }, z.core.$strip>;
5346
+ declare const zOrderHistoryNotificationResponse: z.ZodObject<{
5347
+ item: z.ZodObject<{
5348
+ aToB: z.ZodBoolean;
5349
+ authority: z.ZodString;
5350
+ baseToken: z.ZodObject<{
5351
+ amount: z.ZodCoercedBigInt<unknown>;
5352
+ usd: z.ZodNumber;
5353
+ }, z.core.$strip>;
5354
+ baseTokenConsumedAmount: z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodObject<{
5355
+ amount: z.ZodCoercedBigInt<unknown>;
5356
+ usd: z.ZodNumber;
5357
+ }, z.core.$strip>]>>;
5358
+ id: z.ZodUUID;
5359
+ isReduceOnly: z.ZodBoolean;
5360
+ ixIndex: z.ZodOptional<z.ZodUnion<readonly [z.ZodInt, z.ZodNull]>>;
5361
+ market: z.ZodString;
5362
+ orderType: z.ZodEnum<{
5363
+ market: "market";
5364
+ limit: "limit";
5365
+ take_profit_market: "take_profit_market";
5366
+ stop_loss_market: "stop_loss_market";
5367
+ liquidation_market: "liquidation_market";
5368
+ }>;
5369
+ positionAddress: z.ZodUnion<readonly [z.ZodNull, z.ZodString]>;
5110
5370
  quoteToken: z.ZodObject<{
5111
5371
  amount: z.ZodCoercedBigInt<unknown>;
5112
5372
  usd: z.ZodNumber;
@@ -5218,21 +5478,33 @@ declare const zSseResponseLendingPositionPayload: z.ZodObject<{
5218
5478
  }>;
5219
5479
  authority: z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodString]>>;
5220
5480
  data: z.ZodObject<{
5221
- address: z.ZodString;
5222
- authority: z.ZodString;
5223
- earned: z.ZodObject<{
5224
- amount: z.ZodCoercedBigInt<unknown>;
5225
- usd: z.ZodNumber;
5226
- }, z.core.$strip>;
5227
- funds: z.ZodObject<{
5228
- amount: z.ZodCoercedBigInt<unknown>;
5229
- usd: z.ZodNumber;
5481
+ item: z.ZodObject<{
5482
+ address: z.ZodString;
5483
+ authority: z.ZodString;
5484
+ earned: z.ZodObject<{
5485
+ amount: z.ZodCoercedBigInt<unknown>;
5486
+ usd: z.ZodNumber;
5487
+ }, z.core.$strip>;
5488
+ funds: z.ZodObject<{
5489
+ amount: z.ZodCoercedBigInt<unknown>;
5490
+ usd: z.ZodNumber;
5491
+ }, z.core.$strip>;
5492
+ mint: z.ZodString;
5493
+ shares: z.ZodCoercedBigInt<unknown>;
5494
+ supplyApy: z.ZodNumber;
5495
+ updatedAtSlot: z.ZodCoercedBigInt<unknown>;
5496
+ vault: z.ZodString;
5230
5497
  }, z.core.$strip>;
5231
- mint: z.ZodString;
5232
- shares: z.ZodCoercedBigInt<unknown>;
5233
- supplyApy: z.ZodNumber;
5234
- updatedAtSlot: z.ZodCoercedBigInt<unknown>;
5235
- vault: z.ZodString;
5498
+ mints: z.ZodRecord<z.ZodString, z.ZodObject<{
5499
+ address: z.ZodString;
5500
+ decimals: z.ZodInt;
5501
+ logo: z.ZodString;
5502
+ logo128: z.ZodString;
5503
+ logo32: z.ZodString;
5504
+ logo64: z.ZodString;
5505
+ name: z.ZodString;
5506
+ symbol: z.ZodString;
5507
+ }, z.core.$strip>>;
5236
5508
  }, z.core.$strip>;
5237
5509
  entity: z.ZodEnum<{
5238
5510
  initial_message: "initial_message";
@@ -5258,21 +5530,33 @@ declare const zSseResponseLendingPosition: z.ZodIntersection<z.ZodObject<{
5258
5530
  }>;
5259
5531
  authority: z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodString]>>;
5260
5532
  data: z.ZodObject<{
5261
- address: z.ZodString;
5262
- authority: z.ZodString;
5263
- earned: z.ZodObject<{
5264
- amount: z.ZodCoercedBigInt<unknown>;
5265
- usd: z.ZodNumber;
5266
- }, z.core.$strip>;
5267
- funds: z.ZodObject<{
5268
- amount: z.ZodCoercedBigInt<unknown>;
5269
- usd: z.ZodNumber;
5533
+ item: z.ZodObject<{
5534
+ address: z.ZodString;
5535
+ authority: z.ZodString;
5536
+ earned: z.ZodObject<{
5537
+ amount: z.ZodCoercedBigInt<unknown>;
5538
+ usd: z.ZodNumber;
5539
+ }, z.core.$strip>;
5540
+ funds: z.ZodObject<{
5541
+ amount: z.ZodCoercedBigInt<unknown>;
5542
+ usd: z.ZodNumber;
5543
+ }, z.core.$strip>;
5544
+ mint: z.ZodString;
5545
+ shares: z.ZodCoercedBigInt<unknown>;
5546
+ supplyApy: z.ZodNumber;
5547
+ updatedAtSlot: z.ZodCoercedBigInt<unknown>;
5548
+ vault: z.ZodString;
5270
5549
  }, z.core.$strip>;
5271
- mint: z.ZodString;
5272
- shares: z.ZodCoercedBigInt<unknown>;
5273
- supplyApy: z.ZodNumber;
5274
- updatedAtSlot: z.ZodCoercedBigInt<unknown>;
5275
- vault: z.ZodString;
5550
+ mints: z.ZodRecord<z.ZodString, z.ZodObject<{
5551
+ address: z.ZodString;
5552
+ decimals: z.ZodInt;
5553
+ logo: z.ZodString;
5554
+ logo128: z.ZodString;
5555
+ logo32: z.ZodString;
5556
+ logo64: z.ZodString;
5557
+ name: z.ZodString;
5558
+ symbol: z.ZodString;
5559
+ }, z.core.$strip>>;
5276
5560
  }, z.core.$strip>;
5277
5561
  entity: z.ZodEnum<{
5278
5562
  initial_message: "initial_message";
@@ -8379,21 +8663,33 @@ declare const zSseResponse: z.ZodUnion<readonly [z.ZodIntersection<z.ZodObject<{
8379
8663
  }>;
8380
8664
  authority: z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodString]>>;
8381
8665
  data: z.ZodObject<{
8382
- address: z.ZodString;
8383
- authority: z.ZodString;
8384
- earned: z.ZodObject<{
8385
- amount: z.ZodCoercedBigInt<unknown>;
8386
- usd: z.ZodNumber;
8387
- }, z.core.$strip>;
8388
- funds: z.ZodObject<{
8389
- amount: z.ZodCoercedBigInt<unknown>;
8390
- usd: z.ZodNumber;
8666
+ item: z.ZodObject<{
8667
+ address: z.ZodString;
8668
+ authority: z.ZodString;
8669
+ earned: z.ZodObject<{
8670
+ amount: z.ZodCoercedBigInt<unknown>;
8671
+ usd: z.ZodNumber;
8672
+ }, z.core.$strip>;
8673
+ funds: z.ZodObject<{
8674
+ amount: z.ZodCoercedBigInt<unknown>;
8675
+ usd: z.ZodNumber;
8676
+ }, z.core.$strip>;
8677
+ mint: z.ZodString;
8678
+ shares: z.ZodCoercedBigInt<unknown>;
8679
+ supplyApy: z.ZodNumber;
8680
+ updatedAtSlot: z.ZodCoercedBigInt<unknown>;
8681
+ vault: z.ZodString;
8391
8682
  }, z.core.$strip>;
8392
- mint: z.ZodString;
8393
- shares: z.ZodCoercedBigInt<unknown>;
8394
- supplyApy: z.ZodNumber;
8395
- updatedAtSlot: z.ZodCoercedBigInt<unknown>;
8396
- vault: z.ZodString;
8683
+ mints: z.ZodRecord<z.ZodString, z.ZodObject<{
8684
+ address: z.ZodString;
8685
+ decimals: z.ZodInt;
8686
+ logo: z.ZodString;
8687
+ logo128: z.ZodString;
8688
+ logo32: z.ZodString;
8689
+ logo64: z.ZodString;
8690
+ name: z.ZodString;
8691
+ symbol: z.ZodString;
8692
+ }, z.core.$strip>>;
8397
8693
  }, z.core.$strip>;
8398
8694
  entity: z.ZodEnum<{
8399
8695
  initial_message: "initial_message";
@@ -9110,71 +9406,83 @@ declare const zGetMarketsData: z.ZodObject<{
9110
9406
  query: z.ZodOptional<z.ZodNever>;
9111
9407
  }, z.core.$strip>;
9112
9408
  declare const zGetMarketsResponse: z.ZodObject<{
9113
- data: z.ZodArray<z.ZodObject<{
9114
- address: z.ZodString;
9115
- addressLookupTable: z.ZodString;
9116
- borrowLimitA: z.ZodObject<{
9117
- amount: z.ZodCoercedBigInt<unknown>;
9118
- usd: z.ZodNumber;
9119
- }, z.core.$strip>;
9120
- borrowLimitB: z.ZodObject<{
9121
- amount: z.ZodCoercedBigInt<unknown>;
9122
- usd: z.ZodNumber;
9123
- }, z.core.$strip>;
9124
- borrowedFundsA: z.ZodObject<{
9125
- amount: z.ZodCoercedBigInt<unknown>;
9126
- usd: z.ZodNumber;
9127
- }, z.core.$strip>;
9128
- borrowedFundsB: z.ZodObject<{
9129
- amount: z.ZodCoercedBigInt<unknown>;
9130
- usd: z.ZodNumber;
9131
- }, z.core.$strip>;
9132
- createdAt: z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodISODateTime>;
9133
- disabled: z.ZodBoolean;
9134
- liquidationFee: z.ZodInt;
9135
- liquidationThreshold: z.ZodInt;
9136
- maxLeverage: z.ZodInt;
9137
- maxSpotPositionSizeA: z.ZodObject<{
9138
- amount: z.ZodCoercedBigInt<unknown>;
9139
- usd: z.ZodNumber;
9140
- }, z.core.$strip>;
9141
- maxSpotPositionSizeB: z.ZodObject<{
9142
- amount: z.ZodCoercedBigInt<unknown>;
9143
- usd: z.ZodNumber;
9144
- }, z.core.$strip>;
9145
- maxSwapSlippage: z.ZodInt;
9146
- oraclePriceDeviationThreshold: z.ZodInt;
9147
- pool: z.ZodObject<{
9409
+ data: z.ZodObject<{
9410
+ items: z.ZodArray<z.ZodObject<{
9148
9411
  address: z.ZodString;
9149
- feeRate: z.ZodInt;
9150
- liquidity: z.ZodString;
9151
- mintA: z.ZodString;
9152
- mintB: z.ZodString;
9153
- olpFeeRate: z.ZodOptional<z.ZodUnion<readonly [z.ZodInt, z.ZodNull]>>;
9154
- price: z.ZodNumber;
9155
- protocolFeeRate: z.ZodInt;
9156
- provider: z.ZodEnum<{
9157
- orca: "orca";
9158
- fusion: "fusion";
9159
- }>;
9160
- sqrtPrice: z.ZodString;
9161
- stats: z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodObject<{
9162
- groups: z.ZodRecord<z.ZodString, z.ZodObject<{
9163
- feesUsd: z.ZodNumber;
9164
- priceChange: z.ZodNumber;
9165
- volumeUsd: z.ZodNumber;
9166
- }, z.core.$strip>>;
9167
- tvlUsd: z.ZodNumber;
9168
- }, z.core.$strip>]>>;
9169
- tickCurrentIndex: z.ZodInt;
9170
- tickSpacing: z.ZodInt;
9171
- tokenAVault: z.ZodString;
9172
- tokenBVault: z.ZodString;
9173
- }, z.core.$strip>;
9174
- protocolFee: z.ZodInt;
9175
- protocolFeeOnCollateral: z.ZodInt;
9176
- rebalanceProtocolFee: z.ZodInt;
9177
- }, z.core.$strip>>;
9412
+ addressLookupTable: z.ZodString;
9413
+ borrowLimitA: z.ZodObject<{
9414
+ amount: z.ZodCoercedBigInt<unknown>;
9415
+ usd: z.ZodNumber;
9416
+ }, z.core.$strip>;
9417
+ borrowLimitB: z.ZodObject<{
9418
+ amount: z.ZodCoercedBigInt<unknown>;
9419
+ usd: z.ZodNumber;
9420
+ }, z.core.$strip>;
9421
+ borrowedFundsA: z.ZodObject<{
9422
+ amount: z.ZodCoercedBigInt<unknown>;
9423
+ usd: z.ZodNumber;
9424
+ }, z.core.$strip>;
9425
+ borrowedFundsB: z.ZodObject<{
9426
+ amount: z.ZodCoercedBigInt<unknown>;
9427
+ usd: z.ZodNumber;
9428
+ }, z.core.$strip>;
9429
+ createdAt: z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodISODateTime>;
9430
+ disabled: z.ZodBoolean;
9431
+ liquidationFee: z.ZodInt;
9432
+ liquidationThreshold: z.ZodInt;
9433
+ maxLeverage: z.ZodInt;
9434
+ maxSpotPositionSizeA: z.ZodObject<{
9435
+ amount: z.ZodCoercedBigInt<unknown>;
9436
+ usd: z.ZodNumber;
9437
+ }, z.core.$strip>;
9438
+ maxSpotPositionSizeB: z.ZodObject<{
9439
+ amount: z.ZodCoercedBigInt<unknown>;
9440
+ usd: z.ZodNumber;
9441
+ }, z.core.$strip>;
9442
+ maxSwapSlippage: z.ZodInt;
9443
+ oraclePriceDeviationThreshold: z.ZodInt;
9444
+ pool: z.ZodObject<{
9445
+ address: z.ZodString;
9446
+ feeRate: z.ZodInt;
9447
+ liquidity: z.ZodString;
9448
+ mintA: z.ZodString;
9449
+ mintB: z.ZodString;
9450
+ olpFeeRate: z.ZodOptional<z.ZodUnion<readonly [z.ZodInt, z.ZodNull]>>;
9451
+ price: z.ZodNumber;
9452
+ protocolFeeRate: z.ZodInt;
9453
+ provider: z.ZodEnum<{
9454
+ orca: "orca";
9455
+ fusion: "fusion";
9456
+ }>;
9457
+ sqrtPrice: z.ZodString;
9458
+ stats: z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodObject<{
9459
+ groups: z.ZodRecord<z.ZodString, z.ZodObject<{
9460
+ feesUsd: z.ZodNumber;
9461
+ priceChange: z.ZodNumber;
9462
+ volumeUsd: z.ZodNumber;
9463
+ }, z.core.$strip>>;
9464
+ tvlUsd: z.ZodNumber;
9465
+ }, z.core.$strip>]>>;
9466
+ tickCurrentIndex: z.ZodInt;
9467
+ tickSpacing: z.ZodInt;
9468
+ tokenAVault: z.ZodString;
9469
+ tokenBVault: z.ZodString;
9470
+ }, z.core.$strip>;
9471
+ protocolFee: z.ZodInt;
9472
+ protocolFeeOnCollateral: z.ZodInt;
9473
+ rebalanceProtocolFee: z.ZodInt;
9474
+ }, z.core.$strip>>;
9475
+ mints: z.ZodRecord<z.ZodString, z.ZodObject<{
9476
+ address: z.ZodString;
9477
+ decimals: z.ZodInt;
9478
+ logo: z.ZodString;
9479
+ logo128: z.ZodString;
9480
+ logo32: z.ZodString;
9481
+ logo64: z.ZodString;
9482
+ name: z.ZodString;
9483
+ symbol: z.ZodString;
9484
+ }, z.core.$strip>>;
9485
+ }, z.core.$strip>;
9178
9486
  }, z.core.$strip>;
9179
9487
  type GetMarketsResponseZodType = z.infer<typeof zGetMarketsResponse>;
9180
9488
  declare const zGetMarketData: z.ZodObject<{
@@ -9186,69 +9494,81 @@ declare const zGetMarketData: z.ZodObject<{
9186
9494
  }, z.core.$strip>;
9187
9495
  declare const zGetMarketResponse: z.ZodObject<{
9188
9496
  data: z.ZodObject<{
9189
- address: z.ZodString;
9190
- addressLookupTable: z.ZodString;
9191
- borrowLimitA: z.ZodObject<{
9192
- amount: z.ZodCoercedBigInt<unknown>;
9193
- usd: z.ZodNumber;
9194
- }, z.core.$strip>;
9195
- borrowLimitB: z.ZodObject<{
9196
- amount: z.ZodCoercedBigInt<unknown>;
9197
- usd: z.ZodNumber;
9198
- }, z.core.$strip>;
9199
- borrowedFundsA: z.ZodObject<{
9200
- amount: z.ZodCoercedBigInt<unknown>;
9201
- usd: z.ZodNumber;
9202
- }, z.core.$strip>;
9203
- borrowedFundsB: z.ZodObject<{
9204
- amount: z.ZodCoercedBigInt<unknown>;
9205
- usd: z.ZodNumber;
9206
- }, z.core.$strip>;
9207
- createdAt: z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodISODateTime>;
9208
- disabled: z.ZodBoolean;
9209
- liquidationFee: z.ZodInt;
9210
- liquidationThreshold: z.ZodInt;
9211
- maxLeverage: z.ZodInt;
9212
- maxSpotPositionSizeA: z.ZodObject<{
9213
- amount: z.ZodCoercedBigInt<unknown>;
9214
- usd: z.ZodNumber;
9215
- }, z.core.$strip>;
9216
- maxSpotPositionSizeB: z.ZodObject<{
9217
- amount: z.ZodCoercedBigInt<unknown>;
9218
- usd: z.ZodNumber;
9497
+ item: z.ZodObject<{
9498
+ address: z.ZodString;
9499
+ addressLookupTable: z.ZodString;
9500
+ borrowLimitA: z.ZodObject<{
9501
+ amount: z.ZodCoercedBigInt<unknown>;
9502
+ usd: z.ZodNumber;
9503
+ }, z.core.$strip>;
9504
+ borrowLimitB: z.ZodObject<{
9505
+ amount: z.ZodCoercedBigInt<unknown>;
9506
+ usd: z.ZodNumber;
9507
+ }, z.core.$strip>;
9508
+ borrowedFundsA: z.ZodObject<{
9509
+ amount: z.ZodCoercedBigInt<unknown>;
9510
+ usd: z.ZodNumber;
9511
+ }, z.core.$strip>;
9512
+ borrowedFundsB: z.ZodObject<{
9513
+ amount: z.ZodCoercedBigInt<unknown>;
9514
+ usd: z.ZodNumber;
9515
+ }, z.core.$strip>;
9516
+ createdAt: z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodISODateTime>;
9517
+ disabled: z.ZodBoolean;
9518
+ liquidationFee: z.ZodInt;
9519
+ liquidationThreshold: z.ZodInt;
9520
+ maxLeverage: z.ZodInt;
9521
+ maxSpotPositionSizeA: z.ZodObject<{
9522
+ amount: z.ZodCoercedBigInt<unknown>;
9523
+ usd: z.ZodNumber;
9524
+ }, z.core.$strip>;
9525
+ maxSpotPositionSizeB: z.ZodObject<{
9526
+ amount: z.ZodCoercedBigInt<unknown>;
9527
+ usd: z.ZodNumber;
9528
+ }, z.core.$strip>;
9529
+ maxSwapSlippage: z.ZodInt;
9530
+ oraclePriceDeviationThreshold: z.ZodInt;
9531
+ pool: z.ZodObject<{
9532
+ address: z.ZodString;
9533
+ feeRate: z.ZodInt;
9534
+ liquidity: z.ZodString;
9535
+ mintA: z.ZodString;
9536
+ mintB: z.ZodString;
9537
+ olpFeeRate: z.ZodOptional<z.ZodUnion<readonly [z.ZodInt, z.ZodNull]>>;
9538
+ price: z.ZodNumber;
9539
+ protocolFeeRate: z.ZodInt;
9540
+ provider: z.ZodEnum<{
9541
+ orca: "orca";
9542
+ fusion: "fusion";
9543
+ }>;
9544
+ sqrtPrice: z.ZodString;
9545
+ stats: z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodObject<{
9546
+ groups: z.ZodRecord<z.ZodString, z.ZodObject<{
9547
+ feesUsd: z.ZodNumber;
9548
+ priceChange: z.ZodNumber;
9549
+ volumeUsd: z.ZodNumber;
9550
+ }, z.core.$strip>>;
9551
+ tvlUsd: z.ZodNumber;
9552
+ }, z.core.$strip>]>>;
9553
+ tickCurrentIndex: z.ZodInt;
9554
+ tickSpacing: z.ZodInt;
9555
+ tokenAVault: z.ZodString;
9556
+ tokenBVault: z.ZodString;
9557
+ }, z.core.$strip>;
9558
+ protocolFee: z.ZodInt;
9559
+ protocolFeeOnCollateral: z.ZodInt;
9560
+ rebalanceProtocolFee: z.ZodInt;
9219
9561
  }, z.core.$strip>;
9220
- maxSwapSlippage: z.ZodInt;
9221
- oraclePriceDeviationThreshold: z.ZodInt;
9222
- pool: z.ZodObject<{
9562
+ mints: z.ZodRecord<z.ZodString, z.ZodObject<{
9223
9563
  address: z.ZodString;
9224
- feeRate: z.ZodInt;
9225
- liquidity: z.ZodString;
9226
- mintA: z.ZodString;
9227
- mintB: z.ZodString;
9228
- olpFeeRate: z.ZodOptional<z.ZodUnion<readonly [z.ZodInt, z.ZodNull]>>;
9229
- price: z.ZodNumber;
9230
- protocolFeeRate: z.ZodInt;
9231
- provider: z.ZodEnum<{
9232
- orca: "orca";
9233
- fusion: "fusion";
9234
- }>;
9235
- sqrtPrice: z.ZodString;
9236
- stats: z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodObject<{
9237
- groups: z.ZodRecord<z.ZodString, z.ZodObject<{
9238
- feesUsd: z.ZodNumber;
9239
- priceChange: z.ZodNumber;
9240
- volumeUsd: z.ZodNumber;
9241
- }, z.core.$strip>>;
9242
- tvlUsd: z.ZodNumber;
9243
- }, z.core.$strip>]>>;
9244
- tickCurrentIndex: z.ZodInt;
9245
- tickSpacing: z.ZodInt;
9246
- tokenAVault: z.ZodString;
9247
- tokenBVault: z.ZodString;
9248
- }, z.core.$strip>;
9249
- protocolFee: z.ZodInt;
9250
- protocolFeeOnCollateral: z.ZodInt;
9251
- rebalanceProtocolFee: z.ZodInt;
9564
+ decimals: z.ZodInt;
9565
+ logo: z.ZodString;
9566
+ logo128: z.ZodString;
9567
+ logo32: z.ZodString;
9568
+ logo64: z.ZodString;
9569
+ name: z.ZodString;
9570
+ symbol: z.ZodString;
9571
+ }, z.core.$strip>>;
9252
9572
  }, z.core.$strip>;
9253
9573
  }, z.core.$strip>;
9254
9574
  type GetMarketResponseZodType = z.infer<typeof zGetMarketResponse>;
@@ -9973,21 +10293,33 @@ declare const zSseResponse2: z.ZodUnion<readonly [z.ZodIntersection<z.ZodObject<
9973
10293
  }>;
9974
10294
  authority: z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodString]>>;
9975
10295
  data: z.ZodObject<{
9976
- address: z.ZodString;
9977
- authority: z.ZodString;
9978
- earned: z.ZodObject<{
9979
- amount: z.ZodCoercedBigInt<unknown>;
9980
- usd: z.ZodNumber;
9981
- }, z.core.$strip>;
9982
- funds: z.ZodObject<{
9983
- amount: z.ZodCoercedBigInt<unknown>;
9984
- usd: z.ZodNumber;
10296
+ item: z.ZodObject<{
10297
+ address: z.ZodString;
10298
+ authority: z.ZodString;
10299
+ earned: z.ZodObject<{
10300
+ amount: z.ZodCoercedBigInt<unknown>;
10301
+ usd: z.ZodNumber;
10302
+ }, z.core.$strip>;
10303
+ funds: z.ZodObject<{
10304
+ amount: z.ZodCoercedBigInt<unknown>;
10305
+ usd: z.ZodNumber;
10306
+ }, z.core.$strip>;
10307
+ mint: z.ZodString;
10308
+ shares: z.ZodCoercedBigInt<unknown>;
10309
+ supplyApy: z.ZodNumber;
10310
+ updatedAtSlot: z.ZodCoercedBigInt<unknown>;
10311
+ vault: z.ZodString;
9985
10312
  }, z.core.$strip>;
9986
- mint: z.ZodString;
9987
- shares: z.ZodCoercedBigInt<unknown>;
9988
- supplyApy: z.ZodNumber;
9989
- updatedAtSlot: z.ZodCoercedBigInt<unknown>;
9990
- vault: z.ZodString;
10313
+ mints: z.ZodRecord<z.ZodString, z.ZodObject<{
10314
+ address: z.ZodString;
10315
+ decimals: z.ZodInt;
10316
+ logo: z.ZodString;
10317
+ logo128: z.ZodString;
10318
+ logo32: z.ZodString;
10319
+ logo64: z.ZodString;
10320
+ name: z.ZodString;
10321
+ symbol: z.ZodString;
10322
+ }, z.core.$strip>>;
9991
10323
  }, z.core.$strip>;
9992
10324
  entity: z.ZodEnum<{
9993
10325
  initial_message: "initial_message";
@@ -11000,66 +11332,117 @@ declare const zGetLpPositionsData: z.ZodObject<{
11000
11332
  }, z.core.$strip>>;
11001
11333
  }, z.core.$strip>;
11002
11334
  declare const zGetLpPositionsResponse: z.ZodObject<{
11003
- data: z.ZodArray<z.ZodObject<{
11004
- authority: z.ZodString;
11005
- closedAt: z.ZodOptional<z.ZodUnion<readonly [z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodISODateTime>, z.ZodNull]>>;
11006
- closedPnlSumUsd: z.ZodNumber;
11007
- entryPrice: z.ZodNumber;
11008
- exitPrice: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodNull]>>;
11009
- feesSumUsd: z.ZodNumber;
11010
- initialLeverage: z.ZodNumber;
11011
- leverage: z.ZodNumber;
11012
- lowerLimitOrder: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodNull]>>;
11013
- lowerPrice: z.ZodNumber;
11014
- marketMaker: z.ZodEnum<{
11015
- orca: "orca";
11016
- fusion: "fusion";
11017
- }>;
11018
- openedAt: z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodISODateTime>;
11019
- pool: z.ZodObject<{
11020
- address: z.ZodString;
11021
- feeRate: z.ZodInt;
11022
- liquidity: z.ZodString;
11023
- mintA: z.ZodString;
11024
- mintB: z.ZodString;
11025
- olpFeeRate: z.ZodOptional<z.ZodUnion<readonly [z.ZodInt, z.ZodNull]>>;
11026
- price: z.ZodNumber;
11027
- protocolFeeRate: z.ZodInt;
11028
- provider: z.ZodEnum<{
11335
+ data: z.ZodObject<{
11336
+ items: z.ZodArray<z.ZodObject<{
11337
+ authority: z.ZodString;
11338
+ closedAt: z.ZodOptional<z.ZodUnion<readonly [z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodISODateTime>, z.ZodNull]>>;
11339
+ closedPnlSumUsd: z.ZodNumber;
11340
+ entryPrice: z.ZodNumber;
11341
+ exitPrice: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodNull]>>;
11342
+ feesSumUsd: z.ZodNumber;
11343
+ initialLeverage: z.ZodNumber;
11344
+ leverage: z.ZodNumber;
11345
+ lowerLimitOrder: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodNull]>>;
11346
+ lowerPrice: z.ZodNumber;
11347
+ market: z.ZodString;
11348
+ marketMaker: z.ZodEnum<{
11029
11349
  orca: "orca";
11030
11350
  fusion: "fusion";
11031
11351
  }>;
11032
- sqrtPrice: z.ZodString;
11033
- stats: z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodObject<{
11034
- groups: z.ZodRecord<z.ZodString, z.ZodObject<{
11035
- feesUsd: z.ZodNumber;
11036
- priceChange: z.ZodNumber;
11037
- volumeUsd: z.ZodNumber;
11038
- }, z.core.$strip>>;
11039
- tvlUsd: z.ZodNumber;
11040
- }, z.core.$strip>]>>;
11041
- tickCurrentIndex: z.ZodInt;
11042
- tickSpacing: z.ZodInt;
11043
- tokenAVault: z.ZodString;
11044
- tokenBVault: z.ZodString;
11045
- }, z.core.$strip>;
11046
- positionAddress: z.ZodString;
11047
- realizedYieldUsd: z.ZodNumber;
11048
- state: z.ZodEnum<{
11049
- open: "open";
11050
- liquidation_withdraw: "liquidation_withdraw";
11051
- limit_order_withdraw: "limit_order_withdraw";
11052
- closed: "closed";
11053
- liquidation_closed: "liquidation_closed";
11054
- limit_order_closed: "limit_order_closed";
11055
- }>;
11056
- totalDepositUsd: z.ZodNumber;
11057
- totalValueUsd: z.ZodNumber;
11058
- totalWithdrawnUsd: z.ZodNumber;
11059
- updatedAt: z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodISODateTime>;
11060
- upperLimitOrder: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodNull]>>;
11061
- upperPrice: z.ZodNumber;
11062
- }, z.core.$strip>>;
11352
+ openedAt: z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodISODateTime>;
11353
+ positionAddress: z.ZodString;
11354
+ realizedYieldUsd: z.ZodNumber;
11355
+ state: z.ZodEnum<{
11356
+ open: "open";
11357
+ liquidation_withdraw: "liquidation_withdraw";
11358
+ limit_order_withdraw: "limit_order_withdraw";
11359
+ closed: "closed";
11360
+ liquidation_closed: "liquidation_closed";
11361
+ limit_order_closed: "limit_order_closed";
11362
+ }>;
11363
+ totalDepositUsd: z.ZodNumber;
11364
+ totalValueUsd: z.ZodNumber;
11365
+ totalWithdrawnUsd: z.ZodNumber;
11366
+ updatedAt: z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodISODateTime>;
11367
+ upperLimitOrder: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodNull]>>;
11368
+ upperPrice: z.ZodNumber;
11369
+ }, z.core.$strip>>;
11370
+ markets: z.ZodRecord<z.ZodString, z.ZodObject<{
11371
+ address: z.ZodString;
11372
+ addressLookupTable: z.ZodString;
11373
+ borrowLimitA: z.ZodObject<{
11374
+ amount: z.ZodCoercedBigInt<unknown>;
11375
+ usd: z.ZodNumber;
11376
+ }, z.core.$strip>;
11377
+ borrowLimitB: z.ZodObject<{
11378
+ amount: z.ZodCoercedBigInt<unknown>;
11379
+ usd: z.ZodNumber;
11380
+ }, z.core.$strip>;
11381
+ borrowedFundsA: z.ZodObject<{
11382
+ amount: z.ZodCoercedBigInt<unknown>;
11383
+ usd: z.ZodNumber;
11384
+ }, z.core.$strip>;
11385
+ borrowedFundsB: z.ZodObject<{
11386
+ amount: z.ZodCoercedBigInt<unknown>;
11387
+ usd: z.ZodNumber;
11388
+ }, z.core.$strip>;
11389
+ createdAt: z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodISODateTime>;
11390
+ disabled: z.ZodBoolean;
11391
+ liquidationFee: z.ZodInt;
11392
+ liquidationThreshold: z.ZodInt;
11393
+ maxLeverage: z.ZodInt;
11394
+ maxSpotPositionSizeA: z.ZodObject<{
11395
+ amount: z.ZodCoercedBigInt<unknown>;
11396
+ usd: z.ZodNumber;
11397
+ }, z.core.$strip>;
11398
+ maxSpotPositionSizeB: z.ZodObject<{
11399
+ amount: z.ZodCoercedBigInt<unknown>;
11400
+ usd: z.ZodNumber;
11401
+ }, z.core.$strip>;
11402
+ maxSwapSlippage: z.ZodInt;
11403
+ oraclePriceDeviationThreshold: z.ZodInt;
11404
+ pool: z.ZodObject<{
11405
+ address: z.ZodString;
11406
+ feeRate: z.ZodInt;
11407
+ liquidity: z.ZodString;
11408
+ mintA: z.ZodString;
11409
+ mintB: z.ZodString;
11410
+ olpFeeRate: z.ZodOptional<z.ZodUnion<readonly [z.ZodInt, z.ZodNull]>>;
11411
+ price: z.ZodNumber;
11412
+ protocolFeeRate: z.ZodInt;
11413
+ provider: z.ZodEnum<{
11414
+ orca: "orca";
11415
+ fusion: "fusion";
11416
+ }>;
11417
+ sqrtPrice: z.ZodString;
11418
+ stats: z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodObject<{
11419
+ groups: z.ZodRecord<z.ZodString, z.ZodObject<{
11420
+ feesUsd: z.ZodNumber;
11421
+ priceChange: z.ZodNumber;
11422
+ volumeUsd: z.ZodNumber;
11423
+ }, z.core.$strip>>;
11424
+ tvlUsd: z.ZodNumber;
11425
+ }, z.core.$strip>]>>;
11426
+ tickCurrentIndex: z.ZodInt;
11427
+ tickSpacing: z.ZodInt;
11428
+ tokenAVault: z.ZodString;
11429
+ tokenBVault: z.ZodString;
11430
+ }, z.core.$strip>;
11431
+ protocolFee: z.ZodInt;
11432
+ protocolFeeOnCollateral: z.ZodInt;
11433
+ rebalanceProtocolFee: z.ZodInt;
11434
+ }, z.core.$strip>>;
11435
+ mints: z.ZodRecord<z.ZodString, z.ZodObject<{
11436
+ address: z.ZodString;
11437
+ decimals: z.ZodInt;
11438
+ logo: z.ZodString;
11439
+ logo128: z.ZodString;
11440
+ logo32: z.ZodString;
11441
+ logo64: z.ZodString;
11442
+ name: z.ZodString;
11443
+ symbol: z.ZodString;
11444
+ }, z.core.$strip>>;
11445
+ }, z.core.$strip>;
11063
11446
  }, z.core.$strip>;
11064
11447
  type GetLpPositionsResponseZodType = z.infer<typeof zGetLpPositionsResponse>;
11065
11448
  declare const zGetLpPositionActionsData: z.ZodObject<{
@@ -12456,4 +12839,4 @@ declare class TunaBackendSdkError<TCause = unknown> extends Error {
12456
12839
  declare const tunaSdkErrorInterceptor: (error: unknown, response?: Response) => TunaBackendSdkError<unknown>;
12457
12840
  declare const isTunaSdkError: <TCause = unknown>(error: unknown) => error is TunaBackendSdkError<TCause>;
12458
12841
 
12459
- export { type BadRequestErrorCodeErrorBody, type ClientOptions, type CloseSpotPositionQuoteDto, type DecreaseSpotPositionQuoteDto, type FeeAmountWithUsd, type FeesStatsGroupDto, type FieldError, type FusionFeesStatsGroupDto, type GetCloseSpotPositionQuoteData, type GetCloseSpotPositionQuoteError, type GetCloseSpotPositionQuoteErrors, type GetCloseSpotPositionQuoteResponse, type GetCloseSpotPositionQuoteResponseZodType, type GetCloseSpotPositionQuoteResponses, type GetDecreaseSpotPositionQuoteData, type GetDecreaseSpotPositionQuoteError, type GetDecreaseSpotPositionQuoteErrors, type GetDecreaseSpotPositionQuoteResponse, type GetDecreaseSpotPositionQuoteResponseZodType, type GetDecreaseSpotPositionQuoteResponses, type GetFeesStatsData, type GetFeesStatsError, type GetFeesStatsErrors, type GetFeesStatsResponse, type GetFeesStatsResponseZodType, type GetFeesStatsResponses, type GetFusionFeesStatsData, type GetFusionFeesStatsError, type GetFusionFeesStatsErrors, type GetFusionFeesStatsResponse, type GetFusionFeesStatsResponseZodType, type GetFusionFeesStatsResponses, type GetIncreaseSpotPositionQuoteData, type GetIncreaseSpotPositionQuoteError, type GetIncreaseSpotPositionQuoteErrors, type GetIncreaseSpotPositionQuoteResponse, type GetIncreaseSpotPositionQuoteResponseZodType, type GetIncreaseSpotPositionQuoteResponses, type GetLendingPositionData, type GetLendingPositionError, type GetLendingPositionErrors, type GetLendingPositionResponse, type GetLendingPositionResponseZodType, type GetLendingPositionResponses, type GetLendingPositionsData, type GetLendingPositionsError, type GetLendingPositionsErrors, type GetLendingPositionsResponse, type GetLendingPositionsResponseZodType, type GetLendingPositionsResponses, type GetLimitOrderData, type GetLimitOrderError, type GetLimitOrderError404Error, type GetLimitOrderError500Error, type GetLimitOrderErrors, type GetLimitOrderQuoteByInputData, type GetLimitOrderQuoteByInputError, type GetLimitOrderQuoteByInputErrors, type GetLimitOrderQuoteByInputResponse, type GetLimitOrderQuoteByInputResponseZodType, type GetLimitOrderQuoteByInputResponses, type GetLimitOrderQuoteByOutputData, type GetLimitOrderQuoteByOutputError, type GetLimitOrderQuoteByOutputErrors, type GetLimitOrderQuoteByOutputResponse, type GetLimitOrderQuoteByOutputResponseZodType, type GetLimitOrderQuoteByOutputResponses, type GetLimitOrderResponse, type GetLimitOrderResponseZodType, type GetLimitOrderResponses, type GetLimitOrdersData, type GetLimitOrdersError, type GetLimitOrdersErrors, type GetLimitOrdersResponse, type GetLimitOrdersResponseZodType, type GetLimitOrdersResponses, type GetLpPositionActionsData, type GetLpPositionActionsError, type GetLpPositionActionsErrors, type GetLpPositionActionsResponse, type GetLpPositionActionsResponseZodType, type GetLpPositionActionsResponses, type GetLpPositionsData, type GetLpPositionsError, type GetLpPositionsErrors, type GetLpPositionsResponse, type GetLpPositionsResponseZodType, type GetLpPositionsResponses, type GetLpSpotLeaderboardData, type GetLpSpotLeaderboardError, type GetLpSpotLeaderboardErrors, type GetLpSpotLeaderboardResponse, type GetLpSpotLeaderboardResponseZodType, type GetLpSpotLeaderboardResponses, type GetMarketData, type GetMarketError, type GetMarketErrors, type GetMarketResponse, type GetMarketResponseZodType, type GetMarketResponses, type GetMarketsData, type GetMarketsError, type GetMarketsErrors, type GetMarketsResponse, type GetMarketsResponseZodType, type GetMarketsResponses, type GetMintData, type GetMintError, type GetMintErrors, type GetMintResponse, type GetMintResponseZodType, type GetMintResponses, type GetMintsData, type GetMintsError, type GetMintsErrors, type GetMintsResponse, type GetMintsResponseZodType, type GetMintsResponses, type GetOraclePriceData, type GetOraclePriceError, type GetOraclePriceErrors, type GetOraclePriceResponse, type GetOraclePriceResponseZodType, type GetOraclePriceResponses, type GetOraclePricesData, type GetOraclePricesError, type GetOraclePricesErrors, type GetOraclePricesResponse, type GetOraclePricesResponseZodType, type GetOraclePricesResponses, type GetOrderHistoryData, type GetOrderHistoryError, type GetOrderHistoryErrors, type GetOrderHistoryResponse, type GetOrderHistoryResponseZodType, type GetOrderHistoryResponses, type GetPoolCandlesData, type GetPoolCandlesError, type GetPoolCandlesErrors, type GetPoolCandlesResponse, type GetPoolCandlesResponseZodType, type GetPoolCandlesResponses, type GetPoolData, type GetPoolError, type GetPoolErrors, type GetPoolOrderBookData, type GetPoolOrderBookError, type GetPoolOrderBookErrors, type GetPoolOrderBookResponse, type GetPoolOrderBookResponseZodType, type GetPoolOrderBookResponses, type GetPoolResponse, type GetPoolResponseZodType, type GetPoolResponses, type GetPoolSwapsData, type GetPoolSwapsError, type GetPoolSwapsErrors, type GetPoolSwapsResponse, type GetPoolSwapsResponseZodType, type GetPoolSwapsResponses, type GetPoolTicksData, type GetPoolTicksError, type GetPoolTicksErrors, type GetPoolTicksResponse, type GetPoolTicksResponseZodType, type GetPoolTicksResponses, type GetPoolsData, type GetPoolsError, type GetPoolsErrors, type GetPoolsResponse, type GetPoolsResponseZodType, type GetPoolsResponses, type GetPositionsStatsData, type GetPositionsStatsError, type GetPositionsStatsErrors, type GetPositionsStatsResponse, type GetPositionsStatsResponseZodType, type GetPositionsStatsResponses, type GetPositionsTotalData, type GetPositionsTotalError, type GetPositionsTotalErrors, type GetPositionsTotalResponse, type GetPositionsTotalResponseZodType, type GetPositionsTotalResponses, type GetSpotPositionData, type GetSpotPositionError, type GetSpotPositionErrors, type GetSpotPositionResponse, type GetSpotPositionResponseZodType, type GetSpotPositionResponses, type GetSpotPositionsData, type GetSpotPositionsError, type GetSpotPositionsErrors, type GetSpotPositionsResponse, type GetSpotPositionsResponseZodType, type GetSpotPositionsResponses, type GetStakingLeaderboardData, type GetStakingLeaderboardError, type GetStakingLeaderboardErrors, type GetStakingLeaderboardResponse, type GetStakingLeaderboardResponseZodType, type GetStakingLeaderboardResponses, type GetStakingRevenueStatsData, type GetStakingRevenueStatsError, type GetStakingRevenueStatsErrors, type GetStakingRevenueStatsResponse, type GetStakingRevenueStatsResponseZodType, type GetStakingRevenueStatsResponses, type GetStakingTreasuryData, type GetStakingTreasuryError, type GetStakingTreasuryErrors, type GetStakingTreasuryResponse, type GetStakingTreasuryResponseZodType, type GetStakingTreasuryResponses, type GetSwapQuoteByInputData, type GetSwapQuoteByInputError, type GetSwapQuoteByInputErrors, type GetSwapQuoteByInputResponse, type GetSwapQuoteByInputResponseZodType, type GetSwapQuoteByInputResponses, type GetSwapQuoteByOutputData, type GetSwapQuoteByOutputError, type GetSwapQuoteByOutputErrors, type GetSwapQuoteByOutputResponse, type GetSwapQuoteByOutputResponseZodType, type GetSwapQuoteByOutputResponses, type GetTradableAmountData, type GetTradableAmountError, type GetTradableAmountErrors, type GetTradableAmountResponse, type GetTradableAmountResponseZodType, type GetTradableAmountResponses, type GetTradeHistoryData, type GetTradeHistoryError, type GetTradeHistoryErrors, type GetTradeHistoryResponse, type GetTradeHistoryResponseZodType, type GetTradeHistoryResponses, type GetTunaPositionData, type GetTunaPositionError, type GetTunaPositionErrors, type GetTunaPositionResponse, type GetTunaPositionResponseZodType, type GetTunaPositionResponses, type GetTunaPositionsData, type GetTunaPositionsError, type GetTunaPositionsErrors, type GetTunaPositionsResponse, type GetTunaPositionsResponseZodType, type GetTunaPositionsResponses, type GetUserStakingPositionData, type GetUserStakingPositionError, type GetUserStakingPositionErrors, type GetUserStakingPositionHistoryData, type GetUserStakingPositionHistoryError, type GetUserStakingPositionHistoryErrors, type GetUserStakingPositionHistoryResponse, type GetUserStakingPositionHistoryResponseZodType, type GetUserStakingPositionHistoryResponses, type GetUserStakingPositionResponse, type GetUserStakingPositionResponseZodType, type GetUserStakingPositionResponses, type GetVaultData, type GetVaultError, type GetVaultErrors, type GetVaultHistoryData, type GetVaultHistoryError, type GetVaultHistoryErrors, type GetVaultHistoryResponse, type GetVaultHistoryResponseZodType, type GetVaultHistoryResponses, type GetVaultResponse, type GetVaultResponseZodType, type GetVaultResponses, type GetVaultsData, type GetVaultsError, type GetVaultsErrors, type GetVaultsResponse, type GetVaultsResponseZodType, type GetVaultsResponses, type HttpStatusData, type I128Dto, type I64Dto, type IncreaseSpotPositionQuoteDto, type InternalErrorCodeErrorBody, type LeaderboardError400BadRequest, type LeaderboardError400Error, type LeaderboardError500Error, type LeaderboardItemDto, LeaderboardPeriod, LeaderboardSortBy, type LendingPositionDto, type LendingPositionError404Error, type LendingPositionError500Error, type LendingPositionResponse, type LendingPositionsListResponse, type LimitOrderDto, type LimitOrderQuoteByInputDto, type LimitOrderQuoteByOutputDto, type LimitOrderResponse, LimitOrderStatus, type LimitOrdersListResponse, type LpPositionResponse, type LpPositionsError400BadRequest, type LpPositionsError400Error, type LpPositionsError500Error, type LpPositionsListResponse, type MarketDto, type MarketError404Error, type MarketError500Error, type MintDto, type MintError404Error, type MintError500Error, NotificationAction, NotificationEntity, type Options, type OraclePriceDto, type OraclePriceError404Error, type OraclePriceError500Error, type OrderBookDto, type OrderBookEntryDto, type OrderBookWrapper, type OrderHistoryEntryDto, type OrderHistoryListResponse, type OrderHistoryNotificationResponse, OrderHistoryStatus, OrderHistoryType, OrderHistoryUiDirection, type PaginationMeta, type PoolDto, type PoolPriceCandleDto, PoolProvider, type PoolStatsDto, type PoolStatsGroupDto, type PoolStatsGroupEntryDto, type PoolSubscription, PoolSubscriptionTopic, type PoolSwapDto, type PoolTicksDto, type PoolsError400BadRequest, type PoolsError400Error, type PoolsError404Error, type PoolsError500Error, type PubkeyDto, type ServerSentEventsOptions, type ServerSentEventsResult, type Snapshot, type SnapshotContainer, type SpotPositionError404Error, type SpotPositionError500Error, type SpotPositionResponse, type SpotPositionsListResponse, type SseData, type SseErrors, type SseResponse, type SseResponse2, type SseResponseInitialMessage, type SseResponseLendingPosition, type SseResponseLendingPositionPayload, type SseResponseOrderHistoryEntry, type SseResponseOrderHistoryEntryPayload, type SseResponsePoolSwap, type SseResponsePoolSwapPayload, type SseResponseSnapshot, type SseResponseStakingPosition, type SseResponseStakingPositionPayload, type SseResponseTradeHistoryEntry, type SseResponseTradeHistoryEntryPayload, type SseResponseZodType, type SseResponses, type StakingDepositsStatsDto, type StakingError400BadRequest, type StakingError400Error, type StakingError500Error, type StakingLeaderboardPositionDto, type StakingPositionActionDto, StakingPositionActionType, type StakingPositionDto, type StatsError400BadRequest, type StatsError400Error, type StatsError500Error, type StreamEvent, type StreamInitalMessage, type SubscriptionOptions, type SwapQuoteByInputDto, type SwapQuoteByOutputDto, type TickDto, type TokenAmountWithUsd, type TradableAmountDto, TradeHistoryAction, type TradeHistoryEntryDto, type TradeHistoryEntryPnlUsd, type TradeHistoryListResponse, type TradeHistoryNotificationResponse, TradeHistoryUiDirection, type TreasuryDto, TunaBackendSdk, TunaBackendSdkError, type TunaLpPositionActionComposite, type TunaLpPositionActionDto, TunaLpPositionAutoCompound, TunaLpPositionAutoCompounding, type TunaLpPositionDto, type TunaLpPositionFlags, type TunaLpPositionInnerSwaps, TunaLpPositionLimitOrderSwap, type TunaLpPositionParameters, TunaLpPositionRebalance, type TunaLpPositionTokenPrices, type TunaLpPositionTransfer, type TunaLpPositionTriggerOrder, TunaLpPositionTriggerOrderType, type TunaLpPositionValue, TunaLpPositionsActionType, type TunaLpPositionsStats, type TunaPositionDto, TunaPositionDtoState, TunaPositionMarketMaker, TunaPositionPoolToken, type TunaPositionTokenDepositedCollateral, type TunaPositionTokenPnl, type TunaPositionUsdPnl, type TunaSpotPositionDto, TunaSpotPositionDtoState, type U128Dto, type U64Dto, type UpdateStreamSubscriptionData, type UpdateStreamSubscriptionError, type UpdateStreamSubscriptionError404Error, type UpdateStreamSubscriptionError500Error, type UpdateStreamSubscriptionErrors, type UpdateStreamSubscriptionResponse, type UpdateStreamSubscriptionResponseZodType, type UpdateStreamSubscriptionResponses, type ValidationErrorCodeErrorBody, type ValidationErrorCodeValidationDetailsErrorBody, type VaultDto, type VaultError400BadRequest, type VaultError400Error, type VaultError404Error, type VaultError500Error, type VaultResponse, type VaultStatsDto, type VaultsListResponse, type VestingDto, type WalletSubscription, WalletSubscriptionTopic, createClient, createSseClient, isTunaSdkError, tunaSdkErrorInterceptor, unwrap, zBadRequestErrorCodeErrorBody, zCloseSpotPositionQuoteDto, zDecreaseSpotPositionQuoteDto, zFeeAmountWithUsd, zFeesStatsGroupDto, zFieldError, zFusionFeesStatsGroupDto, zGetCloseSpotPositionQuoteData, zGetCloseSpotPositionQuoteResponse, zGetDecreaseSpotPositionQuoteData, zGetDecreaseSpotPositionQuoteResponse, zGetFeesStatsData, zGetFeesStatsResponse, zGetFusionFeesStatsData, zGetFusionFeesStatsResponse, zGetIncreaseSpotPositionQuoteData, zGetIncreaseSpotPositionQuoteResponse, zGetLendingPositionData, zGetLendingPositionResponse, zGetLendingPositionsData, zGetLendingPositionsResponse, zGetLimitOrderData, zGetLimitOrderError404Error, zGetLimitOrderError500Error, zGetLimitOrderQuoteByInputData, zGetLimitOrderQuoteByInputResponse, zGetLimitOrderQuoteByOutputData, zGetLimitOrderQuoteByOutputResponse, zGetLimitOrderResponse, zGetLimitOrdersData, zGetLimitOrdersResponse, zGetLpPositionActionsData, zGetLpPositionActionsResponse, zGetLpPositionsData, zGetLpPositionsResponse, zGetLpSpotLeaderboardData, zGetLpSpotLeaderboardResponse, zGetMarketData, zGetMarketResponse, zGetMarketsData, zGetMarketsResponse, zGetMintData, zGetMintResponse, zGetMintsData, zGetMintsResponse, zGetOraclePriceData, zGetOraclePriceResponse, zGetOraclePricesData, zGetOraclePricesResponse, zGetOrderHistoryData, zGetOrderHistoryResponse, zGetPoolCandlesData, zGetPoolCandlesResponse, zGetPoolData, zGetPoolOrderBookData, zGetPoolOrderBookResponse, zGetPoolResponse, zGetPoolSwapsData, zGetPoolSwapsResponse, zGetPoolTicksData, zGetPoolTicksResponse, zGetPoolsData, zGetPoolsResponse, zGetPositionsStatsData, zGetPositionsStatsResponse, zGetPositionsTotalData, zGetPositionsTotalResponse, zGetSpotPositionData, zGetSpotPositionResponse, zGetSpotPositionsData, zGetSpotPositionsResponse, zGetStakingLeaderboardData, zGetStakingLeaderboardResponse, zGetStakingRevenueStatsData, zGetStakingRevenueStatsResponse, zGetStakingTreasuryData, zGetStakingTreasuryResponse, zGetSwapQuoteByInputData, zGetSwapQuoteByInputResponse, zGetSwapQuoteByOutputData, zGetSwapQuoteByOutputResponse, zGetTradableAmountData, zGetTradableAmountResponse, zGetTradeHistoryData, zGetTradeHistoryResponse, zGetTunaPositionData, zGetTunaPositionResponse, zGetTunaPositionsData, zGetTunaPositionsResponse, zGetUserStakingPositionData, zGetUserStakingPositionHistoryData, zGetUserStakingPositionHistoryResponse, zGetUserStakingPositionResponse, zGetVaultData, zGetVaultHistoryData, zGetVaultHistoryResponse, zGetVaultResponse, zGetVaultsData, zGetVaultsResponse, zHttpStatusData, zI128Dto, zI64Dto, zIncreaseSpotPositionQuoteDto, zInternalErrorCodeErrorBody, zLeaderboardError400BadRequest, zLeaderboardError400Error, zLeaderboardError500Error, zLeaderboardItemDto, zLeaderboardPeriod, zLeaderboardSortBy, zLendingPositionDto, zLendingPositionError404Error, zLendingPositionError500Error, zLendingPositionResponse, zLendingPositionsListResponse, zLimitOrderDto, zLimitOrderQuoteByInputDto, zLimitOrderQuoteByOutputDto, zLimitOrderResponse, zLimitOrderStatus, zLimitOrdersListResponse, zLpPositionResponse, zLpPositionsError400BadRequest, zLpPositionsError400Error, zLpPositionsError500Error, zLpPositionsListResponse, zMarketDto, zMarketError404Error, zMarketError500Error, zMintDto, zMintError404Error, zMintError500Error, zNotificationAction, zNotificationEntity, zOraclePriceDto, zOraclePriceError404Error, zOraclePriceError500Error, zOrderBookDto, zOrderBookEntryDto, zOrderBookWrapper, zOrderHistoryEntryDto, zOrderHistoryListResponse, zOrderHistoryNotificationResponse, zOrderHistoryStatus, zOrderHistoryType, zOrderHistoryUiDirection, zPaginationMeta, zPoolDto, zPoolPriceCandleDto, zPoolProvider, zPoolStatsDto, zPoolStatsGroupDto, zPoolStatsGroupEntryDto, zPoolSubscription, zPoolSubscriptionTopic, zPoolSwapDto, zPoolTicksDto, zPoolsError400BadRequest, zPoolsError400Error, zPoolsError404Error, zPoolsError500Error, zPubkeyDto, zSnapshot, zSnapshotContainer, zSpotPositionError404Error, zSpotPositionError500Error, zSpotPositionResponse, zSpotPositionsListResponse, zSseData, zSseResponse, zSseResponse2, zSseResponseInitialMessage, zSseResponseLendingPosition, zSseResponseLendingPositionPayload, zSseResponseOrderHistoryEntry, zSseResponseOrderHistoryEntryPayload, zSseResponsePoolSwap, zSseResponsePoolSwapPayload, zSseResponseSnapshot, zSseResponseStakingPosition, zSseResponseStakingPositionPayload, zSseResponseTradeHistoryEntry, zSseResponseTradeHistoryEntryPayload, zStakingDepositsStatsDto, zStakingError400BadRequest, zStakingError400Error, zStakingError500Error, zStakingLeaderboardPositionDto, zStakingPositionActionDto, zStakingPositionActionType, zStakingPositionDto, zStatsError400BadRequest, zStatsError400Error, zStatsError500Error, zStreamInitalMessage, zSubscriptionOptions, zSwapQuoteByInputDto, zSwapQuoteByOutputDto, zTickDto, zTokenAmountWithUsd, zTradableAmountDto, zTradeHistoryAction, zTradeHistoryEntryDto, zTradeHistoryEntryPnlUsd, zTradeHistoryListResponse, zTradeHistoryNotificationResponse, zTradeHistoryUiDirection, zTreasuryDto, zTunaLpPositionActionComposite, zTunaLpPositionActionDto, zTunaLpPositionAutoCompound, zTunaLpPositionAutoCompounding, zTunaLpPositionDto, zTunaLpPositionFlags, zTunaLpPositionInnerSwaps, zTunaLpPositionLimitOrderSwap, zTunaLpPositionParameters, zTunaLpPositionRebalance, zTunaLpPositionTokenPrices, zTunaLpPositionTransfer, zTunaLpPositionTriggerOrder, zTunaLpPositionTriggerOrderType, zTunaLpPositionValue, zTunaLpPositionsActionType, zTunaLpPositionsStats, zTunaPositionDto, zTunaPositionDtoState, zTunaPositionMarketMaker, zTunaPositionPoolToken, zTunaPositionTokenDepositedCollateral, zTunaPositionTokenPnl, zTunaPositionUsdPnl, zTunaSpotPositionDto, zTunaSpotPositionDtoState, zU128Dto, zU64Dto, zUpdateStreamSubscriptionData, zUpdateStreamSubscriptionError404Error, zUpdateStreamSubscriptionError500Error, zUpdateStreamSubscriptionResponse, zValidationErrorCodeErrorBody, zValidationErrorCodeValidationDetailsErrorBody, zVaultDto, zVaultError400BadRequest, zVaultError400Error, zVaultError404Error, zVaultError500Error, zVaultResponse, zVaultStatsDto, zVaultsListResponse, zVestingDto, zWalletSubscription, zWalletSubscriptionTopic };
12842
+ export { type BadRequestErrorCodeErrorBody, type ClientOptions, type CloseSpotPositionQuoteDto, type DecreaseSpotPositionQuoteDto, type FeeAmountWithUsd, type FeesStatsGroupDto, type FieldError, type FusionFeesStatsGroupDto, type GetCloseSpotPositionQuoteData, type GetCloseSpotPositionQuoteError, type GetCloseSpotPositionQuoteErrors, type GetCloseSpotPositionQuoteResponse, type GetCloseSpotPositionQuoteResponseZodType, type GetCloseSpotPositionQuoteResponses, type GetDecreaseSpotPositionQuoteData, type GetDecreaseSpotPositionQuoteError, type GetDecreaseSpotPositionQuoteErrors, type GetDecreaseSpotPositionQuoteResponse, type GetDecreaseSpotPositionQuoteResponseZodType, type GetDecreaseSpotPositionQuoteResponses, type GetFeesStatsData, type GetFeesStatsError, type GetFeesStatsErrors, type GetFeesStatsResponse, type GetFeesStatsResponseZodType, type GetFeesStatsResponses, type GetFusionFeesStatsData, type GetFusionFeesStatsError, type GetFusionFeesStatsErrors, type GetFusionFeesStatsResponse, type GetFusionFeesStatsResponseZodType, type GetFusionFeesStatsResponses, type GetIncreaseSpotPositionQuoteData, type GetIncreaseSpotPositionQuoteError, type GetIncreaseSpotPositionQuoteErrors, type GetIncreaseSpotPositionQuoteResponse, type GetIncreaseSpotPositionQuoteResponseZodType, type GetIncreaseSpotPositionQuoteResponses, type GetLendingPositionData, type GetLendingPositionError, type GetLendingPositionErrors, type GetLendingPositionResponse, type GetLendingPositionResponseZodType, type GetLendingPositionResponses, type GetLendingPositionsData, type GetLendingPositionsError, type GetLendingPositionsErrors, type GetLendingPositionsResponse, type GetLendingPositionsResponseZodType, type GetLendingPositionsResponses, type GetLimitOrderData, type GetLimitOrderError, type GetLimitOrderError404Error, type GetLimitOrderError500Error, type GetLimitOrderErrors, type GetLimitOrderQuoteByInputData, type GetLimitOrderQuoteByInputError, type GetLimitOrderQuoteByInputErrors, type GetLimitOrderQuoteByInputResponse, type GetLimitOrderQuoteByInputResponseZodType, type GetLimitOrderQuoteByInputResponses, type GetLimitOrderQuoteByOutputData, type GetLimitOrderQuoteByOutputError, type GetLimitOrderQuoteByOutputErrors, type GetLimitOrderQuoteByOutputResponse, type GetLimitOrderQuoteByOutputResponseZodType, type GetLimitOrderQuoteByOutputResponses, type GetLimitOrderResponse, type GetLimitOrderResponseZodType, type GetLimitOrderResponses, type GetLimitOrdersData, type GetLimitOrdersError, type GetLimitOrdersErrors, type GetLimitOrdersResponse, type GetLimitOrdersResponseZodType, type GetLimitOrdersResponses, type GetLpPositionActionsData, type GetLpPositionActionsError, type GetLpPositionActionsErrors, type GetLpPositionActionsResponse, type GetLpPositionActionsResponseZodType, type GetLpPositionActionsResponses, type GetLpPositionsData, type GetLpPositionsError, type GetLpPositionsErrors, type GetLpPositionsResponse, type GetLpPositionsResponseZodType, type GetLpPositionsResponses, type GetLpSpotLeaderboardData, type GetLpSpotLeaderboardError, type GetLpSpotLeaderboardErrors, type GetLpSpotLeaderboardResponse, type GetLpSpotLeaderboardResponseZodType, type GetLpSpotLeaderboardResponses, type GetMarketData, type GetMarketError, type GetMarketErrors, type GetMarketResponse, type GetMarketResponseZodType, type GetMarketResponses, type GetMarketsData, type GetMarketsError, type GetMarketsErrors, type GetMarketsResponse, type GetMarketsResponseZodType, type GetMarketsResponses, type GetMintData, type GetMintError, type GetMintErrors, type GetMintResponse, type GetMintResponseZodType, type GetMintResponses, type GetMintsData, type GetMintsError, type GetMintsErrors, type GetMintsResponse, type GetMintsResponseZodType, type GetMintsResponses, type GetOraclePriceData, type GetOraclePriceError, type GetOraclePriceErrors, type GetOraclePriceResponse, type GetOraclePriceResponseZodType, type GetOraclePriceResponses, type GetOraclePricesData, type GetOraclePricesError, type GetOraclePricesErrors, type GetOraclePricesResponse, type GetOraclePricesResponseZodType, type GetOraclePricesResponses, type GetOrderHistoryData, type GetOrderHistoryError, type GetOrderHistoryErrors, type GetOrderHistoryResponse, type GetOrderHistoryResponseZodType, type GetOrderHistoryResponses, type GetPoolCandlesData, type GetPoolCandlesError, type GetPoolCandlesErrors, type GetPoolCandlesResponse, type GetPoolCandlesResponseZodType, type GetPoolCandlesResponses, type GetPoolData, type GetPoolError, type GetPoolErrors, type GetPoolOrderBookData, type GetPoolOrderBookError, type GetPoolOrderBookErrors, type GetPoolOrderBookResponse, type GetPoolOrderBookResponseZodType, type GetPoolOrderBookResponses, type GetPoolResponse, type GetPoolResponseZodType, type GetPoolResponses, type GetPoolSwapsData, type GetPoolSwapsError, type GetPoolSwapsErrors, type GetPoolSwapsResponse, type GetPoolSwapsResponseZodType, type GetPoolSwapsResponses, type GetPoolTicksData, type GetPoolTicksError, type GetPoolTicksErrors, type GetPoolTicksResponse, type GetPoolTicksResponseZodType, type GetPoolTicksResponses, type GetPoolsData, type GetPoolsError, type GetPoolsErrors, type GetPoolsResponse, type GetPoolsResponseZodType, type GetPoolsResponses, type GetPositionsStatsData, type GetPositionsStatsError, type GetPositionsStatsErrors, type GetPositionsStatsResponse, type GetPositionsStatsResponseZodType, type GetPositionsStatsResponses, type GetPositionsTotalData, type GetPositionsTotalError, type GetPositionsTotalErrors, type GetPositionsTotalResponse, type GetPositionsTotalResponseZodType, type GetPositionsTotalResponses, type GetSpotPositionData, type GetSpotPositionError, type GetSpotPositionErrors, type GetSpotPositionResponse, type GetSpotPositionResponseZodType, type GetSpotPositionResponses, type GetSpotPositionsData, type GetSpotPositionsError, type GetSpotPositionsErrors, type GetSpotPositionsResponse, type GetSpotPositionsResponseZodType, type GetSpotPositionsResponses, type GetStakingLeaderboardData, type GetStakingLeaderboardError, type GetStakingLeaderboardErrors, type GetStakingLeaderboardResponse, type GetStakingLeaderboardResponseZodType, type GetStakingLeaderboardResponses, type GetStakingRevenueStatsData, type GetStakingRevenueStatsError, type GetStakingRevenueStatsErrors, type GetStakingRevenueStatsResponse, type GetStakingRevenueStatsResponseZodType, type GetStakingRevenueStatsResponses, type GetStakingTreasuryData, type GetStakingTreasuryError, type GetStakingTreasuryErrors, type GetStakingTreasuryResponse, type GetStakingTreasuryResponseZodType, type GetStakingTreasuryResponses, type GetSwapQuoteByInputData, type GetSwapQuoteByInputError, type GetSwapQuoteByInputErrors, type GetSwapQuoteByInputResponse, type GetSwapQuoteByInputResponseZodType, type GetSwapQuoteByInputResponses, type GetSwapQuoteByOutputData, type GetSwapQuoteByOutputError, type GetSwapQuoteByOutputErrors, type GetSwapQuoteByOutputResponse, type GetSwapQuoteByOutputResponseZodType, type GetSwapQuoteByOutputResponses, type GetTradableAmountData, type GetTradableAmountError, type GetTradableAmountErrors, type GetTradableAmountResponse, type GetTradableAmountResponseZodType, type GetTradableAmountResponses, type GetTradeHistoryData, type GetTradeHistoryError, type GetTradeHistoryErrors, type GetTradeHistoryResponse, type GetTradeHistoryResponseZodType, type GetTradeHistoryResponses, type GetTunaPositionData, type GetTunaPositionError, type GetTunaPositionErrors, type GetTunaPositionResponse, type GetTunaPositionResponseZodType, type GetTunaPositionResponses, type GetTunaPositionsData, type GetTunaPositionsError, type GetTunaPositionsErrors, type GetTunaPositionsResponse, type GetTunaPositionsResponseZodType, type GetTunaPositionsResponses, type GetUserStakingPositionData, type GetUserStakingPositionError, type GetUserStakingPositionErrors, type GetUserStakingPositionHistoryData, type GetUserStakingPositionHistoryError, type GetUserStakingPositionHistoryErrors, type GetUserStakingPositionHistoryResponse, type GetUserStakingPositionHistoryResponseZodType, type GetUserStakingPositionHistoryResponses, type GetUserStakingPositionResponse, type GetUserStakingPositionResponseZodType, type GetUserStakingPositionResponses, type GetVaultData, type GetVaultError, type GetVaultErrors, type GetVaultHistoryData, type GetVaultHistoryError, type GetVaultHistoryErrors, type GetVaultHistoryResponse, type GetVaultHistoryResponseZodType, type GetVaultHistoryResponses, type GetVaultResponse, type GetVaultResponseZodType, type GetVaultResponses, type GetVaultsData, type GetVaultsError, type GetVaultsErrors, type GetVaultsResponse, type GetVaultsResponseZodType, type GetVaultsResponses, type HttpStatusData, type I128Dto, type I64Dto, type IncreaseSpotPositionQuoteDto, type InternalErrorCodeErrorBody, type LeaderboardError400BadRequest, type LeaderboardError400Error, type LeaderboardError500Error, type LeaderboardItemDto, LeaderboardPeriod, LeaderboardSortBy, type LendingPositionDto, type LendingPositionError404Error, type LendingPositionError500Error, type LendingPositionResponse, type LendingPositionsListResponse, type LimitOrderDto, type LimitOrderQuoteByInputDto, type LimitOrderQuoteByOutputDto, type LimitOrderResponse, LimitOrderStatus, type LimitOrdersListResponse, type LpPositionResponse, type LpPositionsError400BadRequest, type LpPositionsError400Error, type LpPositionsError500Error, type LpPositionsHistoryListResponse, type LpPositionsListResponse, type MarketDto, type MarketError404Error, type MarketError500Error, type MarketResponse, type MarketsListResponse, type MintDto, type MintError404Error, type MintError500Error, NotificationAction, NotificationEntity, type Options, type OraclePriceDto, type OraclePriceError404Error, type OraclePriceError500Error, type OrderBookDto, type OrderBookEntryDto, type OrderBookWrapper, type OrderHistoryEntryDto, type OrderHistoryListResponse, type OrderHistoryNotificationResponse, OrderHistoryStatus, OrderHistoryType, OrderHistoryUiDirection, type PaginationMeta, type PoolDto, type PoolPriceCandleDto, PoolProvider, type PoolStatsDto, type PoolStatsGroupDto, type PoolStatsGroupEntryDto, type PoolSubscription, PoolSubscriptionTopic, type PoolSwapDto, type PoolTicksDto, type PoolsError400BadRequest, type PoolsError400Error, type PoolsError404Error, type PoolsError500Error, type PubkeyDto, type ServerSentEventsOptions, type ServerSentEventsResult, type Snapshot, type SnapshotContainer, type SpotPositionError404Error, type SpotPositionError500Error, type SpotPositionResponse, type SpotPositionsListResponse, type SseData, type SseErrors, type SseResponse, type SseResponse2, type SseResponseInitialMessage, type SseResponseLendingPosition, type SseResponseLendingPositionPayload, type SseResponseOrderHistoryEntry, type SseResponseOrderHistoryEntryPayload, type SseResponsePoolSwap, type SseResponsePoolSwapPayload, type SseResponseSnapshot, type SseResponseStakingPosition, type SseResponseStakingPositionPayload, type SseResponseTradeHistoryEntry, type SseResponseTradeHistoryEntryPayload, type SseResponseZodType, type SseResponses, type StakingDepositsStatsDto, type StakingError400BadRequest, type StakingError400Error, type StakingError500Error, type StakingLeaderboardPositionDto, type StakingPositionActionDto, StakingPositionActionType, type StakingPositionDto, type StatsError400BadRequest, type StatsError400Error, type StatsError500Error, type StreamEvent, type StreamInitalMessage, type SubscriptionOptions, type SwapQuoteByInputDto, type SwapQuoteByOutputDto, type TickDto, type TokenAmountWithUsd, type TradableAmountDto, TradeHistoryAction, type TradeHistoryEntryDto, type TradeHistoryEntryPnlUsd, type TradeHistoryListResponse, type TradeHistoryNotificationResponse, TradeHistoryUiDirection, type TreasuryDto, TunaBackendSdk, TunaBackendSdkError, type TunaLpPositionActionComposite, type TunaLpPositionActionDto, TunaLpPositionAutoCompound, TunaLpPositionAutoCompounding, type TunaLpPositionDto, type TunaLpPositionFlags, type TunaLpPositionInnerSwaps, TunaLpPositionLimitOrderSwap, type TunaLpPositionParameters, TunaLpPositionRebalance, type TunaLpPositionTokenPrices, type TunaLpPositionTransfer, type TunaLpPositionTriggerOrder, TunaLpPositionTriggerOrderType, type TunaLpPositionValue, TunaLpPositionsActionType, type TunaLpPositionsStats, type TunaPositionDto, TunaPositionDtoState, TunaPositionMarketMaker, TunaPositionPoolToken, type TunaPositionTokenDepositedCollateral, type TunaPositionTokenPnl, type TunaPositionUsdPnl, type TunaSpotPositionDto, TunaSpotPositionDtoState, type U128Dto, type U64Dto, type UpdateStreamSubscriptionData, type UpdateStreamSubscriptionError, type UpdateStreamSubscriptionError404Error, type UpdateStreamSubscriptionError500Error, type UpdateStreamSubscriptionErrors, type UpdateStreamSubscriptionResponse, type UpdateStreamSubscriptionResponseZodType, type UpdateStreamSubscriptionResponses, type ValidationErrorCodeErrorBody, type ValidationErrorCodeValidationDetailsErrorBody, type VaultDto, type VaultError400BadRequest, type VaultError400Error, type VaultError404Error, type VaultError500Error, type VaultResponse, type VaultStatsDto, type VaultsListResponse, type VestingDto, type WalletSubscription, WalletSubscriptionTopic, createClient, createSseClient, isTunaSdkError, tunaSdkErrorInterceptor, unwrap, zBadRequestErrorCodeErrorBody, zCloseSpotPositionQuoteDto, zDecreaseSpotPositionQuoteDto, zFeeAmountWithUsd, zFeesStatsGroupDto, zFieldError, zFusionFeesStatsGroupDto, zGetCloseSpotPositionQuoteData, zGetCloseSpotPositionQuoteResponse, zGetDecreaseSpotPositionQuoteData, zGetDecreaseSpotPositionQuoteResponse, zGetFeesStatsData, zGetFeesStatsResponse, zGetFusionFeesStatsData, zGetFusionFeesStatsResponse, zGetIncreaseSpotPositionQuoteData, zGetIncreaseSpotPositionQuoteResponse, zGetLendingPositionData, zGetLendingPositionResponse, zGetLendingPositionsData, zGetLendingPositionsResponse, zGetLimitOrderData, zGetLimitOrderError404Error, zGetLimitOrderError500Error, zGetLimitOrderQuoteByInputData, zGetLimitOrderQuoteByInputResponse, zGetLimitOrderQuoteByOutputData, zGetLimitOrderQuoteByOutputResponse, zGetLimitOrderResponse, zGetLimitOrdersData, zGetLimitOrdersResponse, zGetLpPositionActionsData, zGetLpPositionActionsResponse, zGetLpPositionsData, zGetLpPositionsResponse, zGetLpSpotLeaderboardData, zGetLpSpotLeaderboardResponse, zGetMarketData, zGetMarketResponse, zGetMarketsData, zGetMarketsResponse, zGetMintData, zGetMintResponse, zGetMintsData, zGetMintsResponse, zGetOraclePriceData, zGetOraclePriceResponse, zGetOraclePricesData, zGetOraclePricesResponse, zGetOrderHistoryData, zGetOrderHistoryResponse, zGetPoolCandlesData, zGetPoolCandlesResponse, zGetPoolData, zGetPoolOrderBookData, zGetPoolOrderBookResponse, zGetPoolResponse, zGetPoolSwapsData, zGetPoolSwapsResponse, zGetPoolTicksData, zGetPoolTicksResponse, zGetPoolsData, zGetPoolsResponse, zGetPositionsStatsData, zGetPositionsStatsResponse, zGetPositionsTotalData, zGetPositionsTotalResponse, zGetSpotPositionData, zGetSpotPositionResponse, zGetSpotPositionsData, zGetSpotPositionsResponse, zGetStakingLeaderboardData, zGetStakingLeaderboardResponse, zGetStakingRevenueStatsData, zGetStakingRevenueStatsResponse, zGetStakingTreasuryData, zGetStakingTreasuryResponse, zGetSwapQuoteByInputData, zGetSwapQuoteByInputResponse, zGetSwapQuoteByOutputData, zGetSwapQuoteByOutputResponse, zGetTradableAmountData, zGetTradableAmountResponse, zGetTradeHistoryData, zGetTradeHistoryResponse, zGetTunaPositionData, zGetTunaPositionResponse, zGetTunaPositionsData, zGetTunaPositionsResponse, zGetUserStakingPositionData, zGetUserStakingPositionHistoryData, zGetUserStakingPositionHistoryResponse, zGetUserStakingPositionResponse, zGetVaultData, zGetVaultHistoryData, zGetVaultHistoryResponse, zGetVaultResponse, zGetVaultsData, zGetVaultsResponse, zHttpStatusData, zI128Dto, zI64Dto, zIncreaseSpotPositionQuoteDto, zInternalErrorCodeErrorBody, zLeaderboardError400BadRequest, zLeaderboardError400Error, zLeaderboardError500Error, zLeaderboardItemDto, zLeaderboardPeriod, zLeaderboardSortBy, zLendingPositionDto, zLendingPositionError404Error, zLendingPositionError500Error, zLendingPositionResponse, zLendingPositionsListResponse, zLimitOrderDto, zLimitOrderQuoteByInputDto, zLimitOrderQuoteByOutputDto, zLimitOrderResponse, zLimitOrderStatus, zLimitOrdersListResponse, zLpPositionResponse, zLpPositionsError400BadRequest, zLpPositionsError400Error, zLpPositionsError500Error, zLpPositionsHistoryListResponse, zLpPositionsListResponse, zMarketDto, zMarketError404Error, zMarketError500Error, zMarketResponse, zMarketsListResponse, zMintDto, zMintError404Error, zMintError500Error, zNotificationAction, zNotificationEntity, zOraclePriceDto, zOraclePriceError404Error, zOraclePriceError500Error, zOrderBookDto, zOrderBookEntryDto, zOrderBookWrapper, zOrderHistoryEntryDto, zOrderHistoryListResponse, zOrderHistoryNotificationResponse, zOrderHistoryStatus, zOrderHistoryType, zOrderHistoryUiDirection, zPaginationMeta, zPoolDto, zPoolPriceCandleDto, zPoolProvider, zPoolStatsDto, zPoolStatsGroupDto, zPoolStatsGroupEntryDto, zPoolSubscription, zPoolSubscriptionTopic, zPoolSwapDto, zPoolTicksDto, zPoolsError400BadRequest, zPoolsError400Error, zPoolsError404Error, zPoolsError500Error, zPubkeyDto, zSnapshot, zSnapshotContainer, zSpotPositionError404Error, zSpotPositionError500Error, zSpotPositionResponse, zSpotPositionsListResponse, zSseData, zSseResponse, zSseResponse2, zSseResponseInitialMessage, zSseResponseLendingPosition, zSseResponseLendingPositionPayload, zSseResponseOrderHistoryEntry, zSseResponseOrderHistoryEntryPayload, zSseResponsePoolSwap, zSseResponsePoolSwapPayload, zSseResponseSnapshot, zSseResponseStakingPosition, zSseResponseStakingPositionPayload, zSseResponseTradeHistoryEntry, zSseResponseTradeHistoryEntryPayload, zStakingDepositsStatsDto, zStakingError400BadRequest, zStakingError400Error, zStakingError500Error, zStakingLeaderboardPositionDto, zStakingPositionActionDto, zStakingPositionActionType, zStakingPositionDto, zStatsError400BadRequest, zStatsError400Error, zStatsError500Error, zStreamInitalMessage, zSubscriptionOptions, zSwapQuoteByInputDto, zSwapQuoteByOutputDto, zTickDto, zTokenAmountWithUsd, zTradableAmountDto, zTradeHistoryAction, zTradeHistoryEntryDto, zTradeHistoryEntryPnlUsd, zTradeHistoryListResponse, zTradeHistoryNotificationResponse, zTradeHistoryUiDirection, zTreasuryDto, zTunaLpPositionActionComposite, zTunaLpPositionActionDto, zTunaLpPositionAutoCompound, zTunaLpPositionAutoCompounding, zTunaLpPositionDto, zTunaLpPositionFlags, zTunaLpPositionInnerSwaps, zTunaLpPositionLimitOrderSwap, zTunaLpPositionParameters, zTunaLpPositionRebalance, zTunaLpPositionTokenPrices, zTunaLpPositionTransfer, zTunaLpPositionTriggerOrder, zTunaLpPositionTriggerOrderType, zTunaLpPositionValue, zTunaLpPositionsActionType, zTunaLpPositionsStats, zTunaPositionDto, zTunaPositionDtoState, zTunaPositionMarketMaker, zTunaPositionPoolToken, zTunaPositionTokenDepositedCollateral, zTunaPositionTokenPnl, zTunaPositionUsdPnl, zTunaSpotPositionDto, zTunaSpotPositionDtoState, zU128Dto, zU64Dto, zUpdateStreamSubscriptionData, zUpdateStreamSubscriptionError404Error, zUpdateStreamSubscriptionError500Error, zUpdateStreamSubscriptionResponse, zValidationErrorCodeErrorBody, zValidationErrorCodeValidationDetailsErrorBody, zVaultDto, zVaultError400BadRequest, zVaultError400Error, zVaultError404Error, zVaultError500Error, zVaultResponse, zVaultStatsDto, zVaultsListResponse, zVestingDto, zWalletSubscription, zWalletSubscriptionTopic };