@crypticdot/defituna-api 4.0.2 → 4.0.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
@@ -1132,10 +1132,12 @@ type TunaLpPositionActionComposite = {
1132
1132
  position?: null | TunaLpPositionValue;
1133
1133
  prices?: null | TunaLpPositionTokenPrices;
1134
1134
  protocolFees?: null | TunaLpPositionTransfer;
1135
+ swaps?: null | TunaLpPositionInnerSwaps;
1135
1136
  toLending?: null | TunaLpPositionTransfer;
1136
1137
  toOwner?: null | TunaLpPositionTransfer;
1137
1138
  toParameters?: null | TunaLpPositionParameters;
1138
1139
  toPosition?: null | TunaLpPositionValue;
1140
+ triggerOrder?: null | TunaLpPositionTriggerOrder;
1139
1141
  withdrawPercent?: number | null;
1140
1142
  };
1141
1143
  type TunaLpPositionActionDto = {
@@ -1184,6 +1186,14 @@ type TunaLpPositionFlags = {
1184
1186
  lowerLimitOrderSwapToToken?: null | TunaPositionPoolToken;
1185
1187
  upperLimitOrderSwapToToken?: null | TunaPositionPoolToken;
1186
1188
  };
1189
+ type TunaLpPositionInnerSwaps = {
1190
+ aToB: boolean;
1191
+ amountIn: number;
1192
+ amountOut: number;
1193
+ feeA: number;
1194
+ feeB: number;
1195
+ feeUsd: number;
1196
+ };
1187
1197
  declare const TunaLpPositionLimitOrderSwap: {
1188
1198
  readonly NO_SWAP: "no_swap";
1189
1199
  readonly SWAP_TO_TOKEN_A: "swap_to_token_a";
@@ -1207,15 +1217,27 @@ declare const TunaLpPositionRebalance: {
1207
1217
  };
1208
1218
  type TunaLpPositionRebalance = typeof TunaLpPositionRebalance[keyof typeof TunaLpPositionRebalance];
1209
1219
  type TunaLpPositionTokenPrices = {
1210
- tokenPriceA: number;
1211
- tokenPriceB: number;
1220
+ poolPrice?: number | null;
1221
+ priceUsdA: number;
1222
+ priceUsdB: number;
1212
1223
  };
1213
1224
  type TunaLpPositionTransfer = {
1214
1225
  amountA: number;
1215
1226
  amountB: number;
1216
1227
  amountUsd: number;
1217
1228
  };
1229
+ type TunaLpPositionTriggerOrder = {
1230
+ triggerPrice?: number | null;
1231
+ triggerType: TunaLpPositionTriggerOrderType;
1232
+ };
1233
+ declare const TunaLpPositionTriggerOrderType: {
1234
+ readonly LOWER_LIMIT_ORDER: "lower_limit_order";
1235
+ readonly UPPER_LIMIT_ORDER: "upper_limit_order";
1236
+ readonly LIQUIDATION: "liquidation";
1237
+ };
1238
+ type TunaLpPositionTriggerOrderType = typeof TunaLpPositionTriggerOrderType[keyof typeof TunaLpPositionTriggerOrderType];
1218
1239
  type TunaLpPositionValue = {
1240
+ closed: boolean;
1219
1241
  leverage: number;
1220
1242
  loanFundsA: number;
1221
1243
  loanFundsB: number;
@@ -1634,7 +1656,7 @@ type GetPoolsData = {
1634
1656
  body?: never;
1635
1657
  path?: never;
1636
1658
  query?: {
1637
- provider?: string;
1659
+ provider?: null | PoolProvider;
1638
1660
  };
1639
1661
  url: '/v1/pools';
1640
1662
  };
@@ -2755,7 +2777,7 @@ declare class TunaBackendSdk extends HeyApiClient {
2755
2777
  * Request all pools
2756
2778
  */
2757
2779
  getPools<ThrowOnError extends boolean = false>(parameters?: {
2758
- provider?: string;
2780
+ provider?: null | PoolProvider;
2759
2781
  }, options?: Options<never, ThrowOnError>): RequestResult<GetPoolsResponses, GetPoolsErrors, ThrowOnError, "fields">;
2760
2782
  /**
2761
2783
  * Request pool data
@@ -3553,6 +3575,14 @@ declare const zTunaLpPositionAutoCompounding: z.ZodEnum<{
3553
3575
  with_leverage: "with_leverage";
3554
3576
  without_leverage: "without_leverage";
3555
3577
  }>;
3578
+ declare const zTunaLpPositionInnerSwaps: z.ZodObject<{
3579
+ aToB: z.ZodBoolean;
3580
+ amountIn: z.ZodNumber;
3581
+ amountOut: z.ZodNumber;
3582
+ feeA: z.ZodNumber;
3583
+ feeB: z.ZodNumber;
3584
+ feeUsd: z.ZodNumber;
3585
+ }, z.core.$strip>;
3556
3586
  declare const zTunaLpPositionLimitOrderSwap: z.ZodEnum<{
3557
3587
  no_swap: "no_swap";
3558
3588
  swap_to_token_a: "swap_to_token_a";
@@ -3589,15 +3619,30 @@ declare const zTunaLpPositionParameters: z.ZodObject<{
3589
3619
  upperPrice: z.ZodNumber;
3590
3620
  }, z.core.$strip>;
3591
3621
  declare const zTunaLpPositionTokenPrices: z.ZodObject<{
3592
- tokenPriceA: z.ZodNumber;
3593
- tokenPriceB: z.ZodNumber;
3622
+ poolPrice: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodNull]>>;
3623
+ priceUsdA: z.ZodNumber;
3624
+ priceUsdB: z.ZodNumber;
3594
3625
  }, z.core.$strip>;
3595
3626
  declare const zTunaLpPositionTransfer: z.ZodObject<{
3596
3627
  amountA: z.ZodNumber;
3597
3628
  amountB: z.ZodNumber;
3598
3629
  amountUsd: z.ZodNumber;
3599
3630
  }, z.core.$strip>;
3631
+ declare const zTunaLpPositionTriggerOrderType: z.ZodEnum<{
3632
+ liquidation: "liquidation";
3633
+ lower_limit_order: "lower_limit_order";
3634
+ upper_limit_order: "upper_limit_order";
3635
+ }>;
3636
+ declare const zTunaLpPositionTriggerOrder: z.ZodObject<{
3637
+ triggerPrice: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodNull]>>;
3638
+ triggerType: z.ZodEnum<{
3639
+ liquidation: "liquidation";
3640
+ lower_limit_order: "lower_limit_order";
3641
+ upper_limit_order: "upper_limit_order";
3642
+ }>;
3643
+ }, z.core.$strip>;
3600
3644
  declare const zTunaLpPositionValue: z.ZodObject<{
3645
+ closed: z.ZodBoolean;
3601
3646
  leverage: z.ZodNumber;
3602
3647
  loanFundsA: z.ZodNumber;
3603
3648
  loanFundsB: z.ZodNumber;
@@ -3650,6 +3695,7 @@ declare const zTunaLpPositionActionComposite: z.ZodObject<{
3650
3695
  upperPrice: z.ZodNumber;
3651
3696
  }, z.core.$strip>]>>;
3652
3697
  fromPosition: z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodObject<{
3698
+ closed: z.ZodBoolean;
3653
3699
  leverage: z.ZodNumber;
3654
3700
  loanFundsA: z.ZodNumber;
3655
3701
  loanFundsB: z.ZodNumber;
@@ -3685,6 +3731,7 @@ declare const zTunaLpPositionActionComposite: z.ZodObject<{
3685
3731
  upperPrice: z.ZodNumber;
3686
3732
  }, z.core.$strip>]>>;
3687
3733
  position: z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodObject<{
3734
+ closed: z.ZodBoolean;
3688
3735
  leverage: z.ZodNumber;
3689
3736
  loanFundsA: z.ZodNumber;
3690
3737
  loanFundsB: z.ZodNumber;
@@ -3694,14 +3741,23 @@ declare const zTunaLpPositionActionComposite: z.ZodObject<{
3694
3741
  totalValueUsd: z.ZodNumber;
3695
3742
  }, z.core.$strip>]>>;
3696
3743
  prices: z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodObject<{
3697
- tokenPriceA: z.ZodNumber;
3698
- tokenPriceB: z.ZodNumber;
3744
+ poolPrice: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodNull]>>;
3745
+ priceUsdA: z.ZodNumber;
3746
+ priceUsdB: z.ZodNumber;
3699
3747
  }, z.core.$strip>]>>;
3700
3748
  protocolFees: z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodObject<{
3701
3749
  amountA: z.ZodNumber;
3702
3750
  amountB: z.ZodNumber;
3703
3751
  amountUsd: z.ZodNumber;
3704
3752
  }, z.core.$strip>]>>;
3753
+ swaps: z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodObject<{
3754
+ aToB: z.ZodBoolean;
3755
+ amountIn: z.ZodNumber;
3756
+ amountOut: z.ZodNumber;
3757
+ feeA: z.ZodNumber;
3758
+ feeB: z.ZodNumber;
3759
+ feeUsd: z.ZodNumber;
3760
+ }, z.core.$strip>]>>;
3705
3761
  toLending: z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodObject<{
3706
3762
  amountA: z.ZodNumber;
3707
3763
  amountB: z.ZodNumber;
@@ -3739,6 +3795,7 @@ declare const zTunaLpPositionActionComposite: z.ZodObject<{
3739
3795
  upperPrice: z.ZodNumber;
3740
3796
  }, z.core.$strip>]>>;
3741
3797
  toPosition: z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodObject<{
3798
+ closed: z.ZodBoolean;
3742
3799
  leverage: z.ZodNumber;
3743
3800
  loanFundsA: z.ZodNumber;
3744
3801
  loanFundsB: z.ZodNumber;
@@ -3747,6 +3804,14 @@ declare const zTunaLpPositionActionComposite: z.ZodObject<{
3747
3804
  totalValueB: z.ZodNumber;
3748
3805
  totalValueUsd: z.ZodNumber;
3749
3806
  }, z.core.$strip>]>>;
3807
+ triggerOrder: z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodObject<{
3808
+ triggerPrice: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodNull]>>;
3809
+ triggerType: z.ZodEnum<{
3810
+ liquidation: "liquidation";
3811
+ lower_limit_order: "lower_limit_order";
3812
+ upper_limit_order: "upper_limit_order";
3813
+ }>;
3814
+ }, z.core.$strip>]>>;
3750
3815
  withdrawPercent: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodNull]>>;
3751
3816
  }, z.core.$strip>;
3752
3817
  declare const zTunaLpPositionsActionType: z.ZodEnum<{
@@ -3826,6 +3891,7 @@ declare const zTunaLpPositionActionDto: z.ZodObject<{
3826
3891
  upperPrice: z.ZodNumber;
3827
3892
  }, z.core.$strip>]>>;
3828
3893
  fromPosition: z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodObject<{
3894
+ closed: z.ZodBoolean;
3829
3895
  leverage: z.ZodNumber;
3830
3896
  loanFundsA: z.ZodNumber;
3831
3897
  loanFundsB: z.ZodNumber;
@@ -3861,6 +3927,7 @@ declare const zTunaLpPositionActionDto: z.ZodObject<{
3861
3927
  upperPrice: z.ZodNumber;
3862
3928
  }, z.core.$strip>]>>;
3863
3929
  position: z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodObject<{
3930
+ closed: z.ZodBoolean;
3864
3931
  leverage: z.ZodNumber;
3865
3932
  loanFundsA: z.ZodNumber;
3866
3933
  loanFundsB: z.ZodNumber;
@@ -3870,14 +3937,23 @@ declare const zTunaLpPositionActionDto: z.ZodObject<{
3870
3937
  totalValueUsd: z.ZodNumber;
3871
3938
  }, z.core.$strip>]>>;
3872
3939
  prices: z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodObject<{
3873
- tokenPriceA: z.ZodNumber;
3874
- tokenPriceB: z.ZodNumber;
3940
+ poolPrice: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodNull]>>;
3941
+ priceUsdA: z.ZodNumber;
3942
+ priceUsdB: z.ZodNumber;
3875
3943
  }, z.core.$strip>]>>;
3876
3944
  protocolFees: z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodObject<{
3877
3945
  amountA: z.ZodNumber;
3878
3946
  amountB: z.ZodNumber;
3879
3947
  amountUsd: z.ZodNumber;
3880
3948
  }, z.core.$strip>]>>;
3949
+ swaps: z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodObject<{
3950
+ aToB: z.ZodBoolean;
3951
+ amountIn: z.ZodNumber;
3952
+ amountOut: z.ZodNumber;
3953
+ feeA: z.ZodNumber;
3954
+ feeB: z.ZodNumber;
3955
+ feeUsd: z.ZodNumber;
3956
+ }, z.core.$strip>]>>;
3881
3957
  toLending: z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodObject<{
3882
3958
  amountA: z.ZodNumber;
3883
3959
  amountB: z.ZodNumber;
@@ -3915,6 +3991,7 @@ declare const zTunaLpPositionActionDto: z.ZodObject<{
3915
3991
  upperPrice: z.ZodNumber;
3916
3992
  }, z.core.$strip>]>>;
3917
3993
  toPosition: z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodObject<{
3994
+ closed: z.ZodBoolean;
3918
3995
  leverage: z.ZodNumber;
3919
3996
  loanFundsA: z.ZodNumber;
3920
3997
  loanFundsB: z.ZodNumber;
@@ -3923,6 +4000,14 @@ declare const zTunaLpPositionActionDto: z.ZodObject<{
3923
4000
  totalValueB: z.ZodNumber;
3924
4001
  totalValueUsd: z.ZodNumber;
3925
4002
  }, z.core.$strip>]>>;
4003
+ triggerOrder: z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodObject<{
4004
+ triggerPrice: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodNull]>>;
4005
+ triggerType: z.ZodEnum<{
4006
+ liquidation: "liquidation";
4007
+ lower_limit_order: "lower_limit_order";
4008
+ upper_limit_order: "upper_limit_order";
4009
+ }>;
4010
+ }, z.core.$strip>]>>;
3926
4011
  withdrawPercent: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodNull]>>;
3927
4012
  }, z.core.$strip>;
3928
4013
  txSignature: z.ZodString;
@@ -8062,7 +8147,10 @@ declare const zGetPoolsData: z.ZodObject<{
8062
8147
  body: z.ZodOptional<z.ZodNever>;
8063
8148
  path: z.ZodOptional<z.ZodNever>;
8064
8149
  query: z.ZodOptional<z.ZodObject<{
8065
- provider: z.ZodOptional<z.ZodString>;
8150
+ provider: z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodEnum<{
8151
+ orca: "orca";
8152
+ fusion: "fusion";
8153
+ }>]>>;
8066
8154
  }, z.core.$strip>>;
8067
8155
  }, z.core.$strip>;
8068
8156
  declare const zGetPoolsResponse: z.ZodObject<{
@@ -9827,6 +9915,7 @@ declare const zGetLpPositionActionsResponse: z.ZodObject<{
9827
9915
  upperPrice: z.ZodNumber;
9828
9916
  }, z.core.$strip>]>>;
9829
9917
  fromPosition: z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodObject<{
9918
+ closed: z.ZodBoolean;
9830
9919
  leverage: z.ZodNumber;
9831
9920
  loanFundsA: z.ZodNumber;
9832
9921
  loanFundsB: z.ZodNumber;
@@ -9862,6 +9951,7 @@ declare const zGetLpPositionActionsResponse: z.ZodObject<{
9862
9951
  upperPrice: z.ZodNumber;
9863
9952
  }, z.core.$strip>]>>;
9864
9953
  position: z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodObject<{
9954
+ closed: z.ZodBoolean;
9865
9955
  leverage: z.ZodNumber;
9866
9956
  loanFundsA: z.ZodNumber;
9867
9957
  loanFundsB: z.ZodNumber;
@@ -9871,14 +9961,23 @@ declare const zGetLpPositionActionsResponse: z.ZodObject<{
9871
9961
  totalValueUsd: z.ZodNumber;
9872
9962
  }, z.core.$strip>]>>;
9873
9963
  prices: z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodObject<{
9874
- tokenPriceA: z.ZodNumber;
9875
- tokenPriceB: z.ZodNumber;
9964
+ poolPrice: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodNull]>>;
9965
+ priceUsdA: z.ZodNumber;
9966
+ priceUsdB: z.ZodNumber;
9876
9967
  }, z.core.$strip>]>>;
9877
9968
  protocolFees: z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodObject<{
9878
9969
  amountA: z.ZodNumber;
9879
9970
  amountB: z.ZodNumber;
9880
9971
  amountUsd: z.ZodNumber;
9881
9972
  }, z.core.$strip>]>>;
9973
+ swaps: z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodObject<{
9974
+ aToB: z.ZodBoolean;
9975
+ amountIn: z.ZodNumber;
9976
+ amountOut: z.ZodNumber;
9977
+ feeA: z.ZodNumber;
9978
+ feeB: z.ZodNumber;
9979
+ feeUsd: z.ZodNumber;
9980
+ }, z.core.$strip>]>>;
9882
9981
  toLending: z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodObject<{
9883
9982
  amountA: z.ZodNumber;
9884
9983
  amountB: z.ZodNumber;
@@ -9916,6 +10015,7 @@ declare const zGetLpPositionActionsResponse: z.ZodObject<{
9916
10015
  upperPrice: z.ZodNumber;
9917
10016
  }, z.core.$strip>]>>;
9918
10017
  toPosition: z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodObject<{
10018
+ closed: z.ZodBoolean;
9919
10019
  leverage: z.ZodNumber;
9920
10020
  loanFundsA: z.ZodNumber;
9921
10021
  loanFundsB: z.ZodNumber;
@@ -9924,6 +10024,14 @@ declare const zGetLpPositionActionsResponse: z.ZodObject<{
9924
10024
  totalValueB: z.ZodNumber;
9925
10025
  totalValueUsd: z.ZodNumber;
9926
10026
  }, z.core.$strip>]>>;
10027
+ triggerOrder: z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodObject<{
10028
+ triggerPrice: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodNull]>>;
10029
+ triggerType: z.ZodEnum<{
10030
+ liquidation: "liquidation";
10031
+ lower_limit_order: "lower_limit_order";
10032
+ upper_limit_order: "upper_limit_order";
10033
+ }>;
10034
+ }, z.core.$strip>]>>;
9927
10035
  withdrawPercent: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodNull]>>;
9928
10036
  }, z.core.$strip>;
9929
10037
  txSignature: z.ZodString;
@@ -10868,4 +10976,4 @@ declare class TunaBackendSdkError<TCause = unknown> extends Error {
10868
10976
  declare const tunaSdkErrorInterceptor: (error: unknown, response?: Response) => TunaBackendSdkError<unknown>;
10869
10977
  declare const isTunaSdkError: <TCause = unknown>(error: unknown) => error is TunaBackendSdkError<TCause>;
10870
10978
 
10871
- 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 LimitOrderDto, type LimitOrderQuoteByInputDto, type LimitOrderQuoteByOutputDto, LimitOrderStatus, type LpPositionsError400BadRequest, type LpPositionsError400Error, type LpPositionsError500Error, 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, 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 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, TradeHistoryUiDirection, type TreasuryDto, TunaBackendSdk, TunaBackendSdkError, type TunaLpPositionActionComposite, type TunaLpPositionActionDto, TunaLpPositionAutoCompound, TunaLpPositionAutoCompounding, type TunaLpPositionDto, type TunaLpPositionFlags, TunaLpPositionLimitOrderSwap, type TunaLpPositionParameters, TunaLpPositionRebalance, type TunaLpPositionTokenPrices, type TunaLpPositionTransfer, 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 VaultStatsDto, 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, zLimitOrderDto, zLimitOrderQuoteByInputDto, zLimitOrderQuoteByOutputDto, zLimitOrderStatus, zLpPositionsError400BadRequest, zLpPositionsError400Error, zLpPositionsError500Error, zMarketDto, zMarketError404Error, zMarketError500Error, zMintDto, zMintError404Error, zMintError500Error, zNotificationAction, zNotificationEntity, zOraclePriceDto, zOraclePriceError404Error, zOraclePriceError500Error, zOrderBookDto, zOrderBookEntryDto, zOrderBookWrapper, zOrderHistoryEntryDto, zOrderHistoryStatus, zOrderHistoryType, zOrderHistoryUiDirection, zPaginationMeta, zPoolDto, zPoolPriceCandleDto, zPoolProvider, zPoolStatsDto, zPoolStatsGroupDto, zPoolStatsGroupEntryDto, zPoolSubscription, zPoolSubscriptionTopic, zPoolSwapDto, zPoolTicksDto, zPoolsError400BadRequest, zPoolsError400Error, zPoolsError404Error, zPoolsError500Error, zPubkeyDto, zSnapshot, zSnapshotContainer, zSpotPositionError404Error, zSpotPositionError500Error, 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, zTradeHistoryUiDirection, zTreasuryDto, zTunaLpPositionActionComposite, zTunaLpPositionActionDto, zTunaLpPositionAutoCompound, zTunaLpPositionAutoCompounding, zTunaLpPositionDto, zTunaLpPositionFlags, zTunaLpPositionLimitOrderSwap, zTunaLpPositionParameters, zTunaLpPositionRebalance, zTunaLpPositionTokenPrices, zTunaLpPositionTransfer, 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, zVaultStatsDto, zVestingDto, zWalletSubscription, zWalletSubscriptionTopic };
10979
+ 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 LimitOrderDto, type LimitOrderQuoteByInputDto, type LimitOrderQuoteByOutputDto, LimitOrderStatus, type LpPositionsError400BadRequest, type LpPositionsError400Error, type LpPositionsError500Error, 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, 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 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, 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 VaultStatsDto, 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, zLimitOrderDto, zLimitOrderQuoteByInputDto, zLimitOrderQuoteByOutputDto, zLimitOrderStatus, zLpPositionsError400BadRequest, zLpPositionsError400Error, zLpPositionsError500Error, zMarketDto, zMarketError404Error, zMarketError500Error, zMintDto, zMintError404Error, zMintError500Error, zNotificationAction, zNotificationEntity, zOraclePriceDto, zOraclePriceError404Error, zOraclePriceError500Error, zOrderBookDto, zOrderBookEntryDto, zOrderBookWrapper, zOrderHistoryEntryDto, zOrderHistoryStatus, zOrderHistoryType, zOrderHistoryUiDirection, zPaginationMeta, zPoolDto, zPoolPriceCandleDto, zPoolProvider, zPoolStatsDto, zPoolStatsGroupDto, zPoolStatsGroupEntryDto, zPoolSubscription, zPoolSubscriptionTopic, zPoolSwapDto, zPoolTicksDto, zPoolsError400BadRequest, zPoolsError400Error, zPoolsError404Error, zPoolsError500Error, zPubkeyDto, zSnapshot, zSnapshotContainer, zSpotPositionError404Error, zSpotPositionError500Error, 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, 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, zVaultStatsDto, zVestingDto, zWalletSubscription, zWalletSubscriptionTopic };