@crypticdot/defituna-api 4.0.2 → 4.0.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.d.cts 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
@@ -3107,7 +3129,7 @@ declare const zFeesStatsGroupDto: z.ZodObject<{
3107
3129
  runningTotalNetworkFees: z.ZodNumber;
3108
3130
  runningTotalYieldCompoundingNetworkFees: z.ZodNumber;
3109
3131
  runningYieldCompoundingFees: z.ZodNumber;
3110
- time: z.ZodISODateTime;
3132
+ time: z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodISODateTime>;
3111
3133
  totalCollectedFees: z.ZodNumber;
3112
3134
  totalFusionFees: z.ZodNumber;
3113
3135
  totalLimitOrdersNetworkFees: z.ZodNumber;
@@ -3378,7 +3400,7 @@ declare const zPubkeyDto: z.ZodString;
3378
3400
  declare const zFusionFeesStatsGroupDto: z.ZodObject<{
3379
3401
  pool: z.ZodString;
3380
3402
  runningTotalCollectedFees: z.ZodNumber;
3381
- time: z.ZodISODateTime;
3403
+ time: z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodISODateTime>;
3382
3404
  totalCollectedFees: z.ZodNumber;
3383
3405
  }, z.core.$strip>;
3384
3406
  declare const zLeaderboardItemDto: z.ZodObject<{
@@ -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,10 +4000,18 @@ 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;
3929
- txTimestamp: z.ZodISODateTime;
4014
+ txTimestamp: z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodISODateTime>;
3930
4015
  }, z.core.$strip>;
3931
4016
  declare const zTunaLpPositionsStats: z.ZodObject<{
3932
4017
  fusionClosedByLimitOrderCount: z.ZodOptional<z.ZodUnion<readonly [z.ZodInt, z.ZodNull]>>;
@@ -3941,7 +4026,7 @@ declare const zTunaLpPositionsStats: z.ZodObject<{
3941
4026
  orcaTotalValueUsd: z.ZodNumber;
3942
4027
  over10kCount: z.ZodInt;
3943
4028
  over1kCount: z.ZodInt;
3944
- time: z.ZodISODateTime;
4029
+ time: z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodISODateTime>;
3945
4030
  totalCount: z.ZodInt;
3946
4031
  }, z.core.$strip>;
3947
4032
  declare const zTunaPositionDtoState: z.ZodEnum<{
@@ -4034,7 +4119,7 @@ declare const zPoolDto: z.ZodObject<{
4034
4119
  }, z.core.$strip>;
4035
4120
  declare const zTunaLpPositionDto: z.ZodObject<{
4036
4121
  authority: z.ZodString;
4037
- closedAt: z.ZodOptional<z.ZodUnion<readonly [z.ZodISODateTime, z.ZodNull]>>;
4122
+ closedAt: z.ZodOptional<z.ZodUnion<readonly [z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodISODateTime>, z.ZodNull]>>;
4038
4123
  closedPnlSumUsd: z.ZodNumber;
4039
4124
  entryPrice: z.ZodNumber;
4040
4125
  exitPrice: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodNull]>>;
@@ -4047,7 +4132,7 @@ declare const zTunaLpPositionDto: z.ZodObject<{
4047
4132
  orca: "orca";
4048
4133
  fusion: "fusion";
4049
4134
  }>;
4050
- openedAt: z.ZodISODateTime;
4135
+ openedAt: z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodISODateTime>;
4051
4136
  pool: z.ZodObject<{
4052
4137
  address: z.ZodString;
4053
4138
  feeRate: z.ZodInt;
@@ -4097,7 +4182,7 @@ declare const zTunaLpPositionDto: z.ZodObject<{
4097
4182
  totalDepositUsd: z.ZodNumber;
4098
4183
  totalValueUsd: z.ZodNumber;
4099
4184
  totalWithdrawnUsd: z.ZodNumber;
4100
- updatedAt: z.ZodISODateTime;
4185
+ updatedAt: z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodISODateTime>;
4101
4186
  upperLimitOrder: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodNull]>>;
4102
4187
  upperPrice: z.ZodNumber;
4103
4188
  }, z.core.$strip>;
@@ -4140,7 +4225,7 @@ declare const zOraclePriceDto: z.ZodObject<{
4140
4225
  decimals: z.ZodInt;
4141
4226
  mint: z.ZodString;
4142
4227
  price: z.ZodCoercedBigInt<unknown>;
4143
- time: z.ZodISODateTime;
4228
+ time: z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodISODateTime>;
4144
4229
  }, z.core.$strip>;
4145
4230
  declare const zOrderBookEntryDto: z.ZodObject<{
4146
4231
  askSide: z.ZodBoolean;
@@ -4193,7 +4278,7 @@ declare const zPoolSwapDto: z.ZodObject<{
4193
4278
  amountUsd: z.ZodNumber;
4194
4279
  id: z.ZodString;
4195
4280
  pool: z.ZodString;
4196
- time: z.ZodISODateTime;
4281
+ time: z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodISODateTime>;
4197
4282
  txSignature: z.ZodString;
4198
4283
  }, z.core.$strip>;
4199
4284
  declare const zSseResponsePoolSwapPayload: z.ZodObject<{
@@ -4209,7 +4294,7 @@ declare const zSseResponsePoolSwapPayload: z.ZodObject<{
4209
4294
  amountUsd: z.ZodNumber;
4210
4295
  id: z.ZodString;
4211
4296
  pool: z.ZodString;
4212
- time: z.ZodISODateTime;
4297
+ time: z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodISODateTime>;
4213
4298
  txSignature: z.ZodString;
4214
4299
  }, z.core.$strip>;
4215
4300
  entity: z.ZodEnum<{
@@ -4242,7 +4327,7 @@ declare const zSseResponsePoolSwap: z.ZodIntersection<z.ZodObject<{
4242
4327
  amountUsd: z.ZodNumber;
4243
4328
  id: z.ZodString;
4244
4329
  pool: z.ZodString;
4245
- time: z.ZodISODateTime;
4330
+ time: z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodISODateTime>;
4246
4331
  txSignature: z.ZodString;
4247
4332
  }, z.core.$strip>;
4248
4333
  entity: z.ZodEnum<{
@@ -4269,7 +4354,7 @@ declare const zSseResponsePoolSwap: z.ZodIntersection<z.ZodObject<{
4269
4354
  declare const zStakingDepositsStatsDto: z.ZodObject<{
4270
4355
  runningTotalDepositsSol: z.ZodCoercedBigInt<unknown>;
4271
4356
  runningTotalDepositsUsd: z.ZodNumber;
4272
- time: z.ZodISODateTime;
4357
+ time: z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodISODateTime>;
4273
4358
  totalDepositsSol: z.ZodCoercedBigInt<unknown>;
4274
4359
  totalDepositsUsd: z.ZodNumber;
4275
4360
  }, z.core.$strip>;
@@ -4283,7 +4368,7 @@ declare const zStakingPositionActionDto: z.ZodObject<{
4283
4368
  }>;
4284
4369
  amount: z.ZodCoercedBigInt<unknown>;
4285
4370
  position: z.ZodString;
4286
- time: z.ZodISODateTime;
4371
+ time: z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodISODateTime>;
4287
4372
  txSignature: z.ZodString;
4288
4373
  }, z.core.$strip>;
4289
4374
  declare const zSwapQuoteByInputDto: z.ZodObject<{
@@ -4333,11 +4418,11 @@ declare const zLimitOrderDto: z.ZodObject<{
4333
4418
  }, z.core.$strip>;
4334
4419
  authority: z.ZodString;
4335
4420
  closeTxSignature: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNull]>>;
4336
- closedAt: z.ZodOptional<z.ZodUnion<readonly [z.ZodISODateTime, z.ZodNull]>>;
4421
+ closedAt: z.ZodOptional<z.ZodUnion<readonly [z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodISODateTime>, z.ZodNull]>>;
4337
4422
  fillRatio: z.ZodNumber;
4338
4423
  id: z.ZodString;
4339
4424
  openTxSignature: z.ZodString;
4340
- openedAt: z.ZodISODateTime;
4425
+ openedAt: z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodISODateTime>;
4341
4426
  orderMint: z.ZodString;
4342
4427
  pool: z.ZodObject<{
4343
4428
  address: z.ZodString;
@@ -4406,7 +4491,7 @@ declare const zMarketDto: z.ZodObject<{
4406
4491
  amount: z.ZodCoercedBigInt<unknown>;
4407
4492
  usd: z.ZodNumber;
4408
4493
  }, z.core.$strip>;
4409
- createdAt: z.ZodISODateTime;
4494
+ createdAt: z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodISODateTime>;
4410
4495
  disabled: z.ZodBoolean;
4411
4496
  liquidationFee: z.ZodInt;
4412
4497
  liquidationThreshold: z.ZodInt;
@@ -4542,7 +4627,7 @@ declare const zOrderHistoryEntryDto: z.ZodObject<{
4542
4627
  claimed: "claimed";
4543
4628
  rejected: "rejected";
4544
4629
  }>;
4545
- ts: z.ZodISODateTime;
4630
+ ts: z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodISODateTime>;
4546
4631
  txSignature: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNull]>>;
4547
4632
  uiDirection: z.ZodEnum<{
4548
4633
  buy: "buy";
@@ -4719,7 +4804,7 @@ declare const zSseResponseOrderHistoryEntryPayload: z.ZodObject<{
4719
4804
  claimed: "claimed";
4720
4805
  rejected: "rejected";
4721
4806
  }>;
4722
- ts: z.ZodISODateTime;
4807
+ ts: z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodISODateTime>;
4723
4808
  txSignature: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNull]>>;
4724
4809
  uiDirection: z.ZodEnum<{
4725
4810
  buy: "buy";
@@ -4831,7 +4916,7 @@ declare const zSseResponseOrderHistoryEntry: z.ZodIntersection<z.ZodObject<{
4831
4916
  claimed: "claimed";
4832
4917
  rejected: "rejected";
4833
4918
  }>;
4834
- ts: z.ZodISODateTime;
4919
+ ts: z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodISODateTime>;
4835
4920
  txSignature: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNull]>>;
4836
4921
  uiDirection: z.ZodEnum<{
4837
4922
  buy: "buy";
@@ -4947,7 +5032,7 @@ declare const zTradeHistoryEntryDto: z.ZodObject<{
4947
5032
  usd: z.ZodNumber;
4948
5033
  }, z.core.$strip>;
4949
5034
  slot: z.ZodCoercedBigInt<unknown>;
4950
- ts: z.ZodISODateTime;
5035
+ ts: z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodISODateTime>;
4951
5036
  txSignature: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNull]>>;
4952
5037
  uiDirection: z.ZodEnum<{
4953
5038
  buy: "buy";
@@ -5036,7 +5121,7 @@ declare const zSseResponseTradeHistoryEntryPayload: z.ZodObject<{
5036
5121
  usd: z.ZodNumber;
5037
5122
  }, z.core.$strip>;
5038
5123
  slot: z.ZodCoercedBigInt<unknown>;
5039
- ts: z.ZodISODateTime;
5124
+ ts: z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodISODateTime>;
5040
5125
  txSignature: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNull]>>;
5041
5126
  uiDirection: z.ZodEnum<{
5042
5127
  buy: "buy";
@@ -5142,7 +5227,7 @@ declare const zSseResponseTradeHistoryEntry: z.ZodIntersection<z.ZodObject<{
5142
5227
  usd: z.ZodNumber;
5143
5228
  }, z.core.$strip>;
5144
5229
  slot: z.ZodCoercedBigInt<unknown>;
5145
- ts: z.ZodISODateTime;
5230
+ ts: z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodISODateTime>;
5146
5231
  txSignature: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNull]>>;
5147
5232
  uiDirection: z.ZodEnum<{
5148
5233
  buy: "buy";
@@ -5197,7 +5282,7 @@ declare const zTreasuryDto: z.ZodObject<{
5197
5282
  declare const zTunaPositionDto: z.ZodObject<{
5198
5283
  address: z.ZodString;
5199
5284
  authority: z.ZodString;
5200
- closedAt: z.ZodOptional<z.ZodUnion<readonly [z.ZodISODateTime, z.ZodNull]>>;
5285
+ closedAt: z.ZodOptional<z.ZodUnion<readonly [z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodISODateTime>, z.ZodNull]>>;
5201
5286
  compoundedYieldA: z.ZodObject<{
5202
5287
  amount: z.ZodCoercedBigInt<unknown>;
5203
5288
  usd: z.ZodNumber;
@@ -5264,7 +5349,7 @@ declare const zTunaPositionDto: z.ZodObject<{
5264
5349
  fusion: "fusion";
5265
5350
  }>;
5266
5351
  maxLeverage: z.ZodNumber;
5267
- openedAt: z.ZodISODateTime;
5352
+ openedAt: z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodISODateTime>;
5268
5353
  pnlA: z.ZodObject<{
5269
5354
  amount: z.ZodString;
5270
5355
  rate: z.ZodNumber;
@@ -5347,7 +5432,7 @@ declare const zTunaPositionDto: z.ZodObject<{
5347
5432
  declare const zTunaSpotPositionDto: z.ZodObject<{
5348
5433
  address: z.ZodString;
5349
5434
  authority: z.ZodString;
5350
- closedAt: z.ZodOptional<z.ZodUnion<readonly [z.ZodISODateTime, z.ZodNull]>>;
5435
+ closedAt: z.ZodOptional<z.ZodUnion<readonly [z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodISODateTime>, z.ZodNull]>>;
5351
5436
  collateralToken: z.ZodEnum<{
5352
5437
  a: "a";
5353
5438
  b: "b";
@@ -5373,7 +5458,7 @@ declare const zTunaSpotPositionDto: z.ZodObject<{
5373
5458
  fusion: "fusion";
5374
5459
  }>;
5375
5460
  maxLeverage: z.ZodNumber;
5376
- openedAt: z.ZodISODateTime;
5461
+ openedAt: z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodISODateTime>;
5377
5462
  pnlUsd: z.ZodObject<{
5378
5463
  amount: z.ZodNumber;
5379
5464
  rate: z.ZodNumber;
@@ -5433,7 +5518,7 @@ declare const zTunaSpotPositionDto: z.ZodObject<{
5433
5518
  version: z.ZodInt;
5434
5519
  }, z.core.$strip>;
5435
5520
  declare const zSnapshot: z.ZodObject<{
5436
- blockTime: z.ZodISODateTime;
5521
+ blockTime: z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodISODateTime>;
5437
5522
  fusionLimitOrders: z.ZodOptional<z.ZodUnion<readonly [z.ZodArray<z.ZodObject<{
5438
5523
  aToB: z.ZodBoolean;
5439
5524
  address: z.ZodString;
@@ -5447,11 +5532,11 @@ declare const zSnapshot: z.ZodObject<{
5447
5532
  }, z.core.$strip>;
5448
5533
  authority: z.ZodString;
5449
5534
  closeTxSignature: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNull]>>;
5450
- closedAt: z.ZodOptional<z.ZodUnion<readonly [z.ZodISODateTime, z.ZodNull]>>;
5535
+ closedAt: z.ZodOptional<z.ZodUnion<readonly [z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodISODateTime>, z.ZodNull]>>;
5451
5536
  fillRatio: z.ZodNumber;
5452
5537
  id: z.ZodString;
5453
5538
  openTxSignature: z.ZodString;
5454
- openedAt: z.ZodISODateTime;
5539
+ openedAt: z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodISODateTime>;
5455
5540
  orderMint: z.ZodString;
5456
5541
  pool: z.ZodObject<{
5457
5542
  address: z.ZodString;
@@ -5520,7 +5605,7 @@ declare const zSnapshot: z.ZodObject<{
5520
5605
  amount: z.ZodCoercedBigInt<unknown>;
5521
5606
  usd: z.ZodNumber;
5522
5607
  }, z.core.$strip>;
5523
- createdAt: z.ZodISODateTime;
5608
+ createdAt: z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodISODateTime>;
5524
5609
  disabled: z.ZodBoolean;
5525
5610
  liquidationFee: z.ZodInt;
5526
5611
  liquidationThreshold: z.ZodInt;
@@ -5599,7 +5684,7 @@ declare const zSnapshot: z.ZodObject<{
5599
5684
  tunaLpPositions: z.ZodOptional<z.ZodUnion<readonly [z.ZodArray<z.ZodObject<{
5600
5685
  address: z.ZodString;
5601
5686
  authority: z.ZodString;
5602
- closedAt: z.ZodOptional<z.ZodUnion<readonly [z.ZodISODateTime, z.ZodNull]>>;
5687
+ closedAt: z.ZodOptional<z.ZodUnion<readonly [z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodISODateTime>, z.ZodNull]>>;
5603
5688
  compoundedYieldA: z.ZodObject<{
5604
5689
  amount: z.ZodCoercedBigInt<unknown>;
5605
5690
  usd: z.ZodNumber;
@@ -5666,7 +5751,7 @@ declare const zSnapshot: z.ZodObject<{
5666
5751
  fusion: "fusion";
5667
5752
  }>;
5668
5753
  maxLeverage: z.ZodNumber;
5669
- openedAt: z.ZodISODateTime;
5754
+ openedAt: z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodISODateTime>;
5670
5755
  pnlA: z.ZodObject<{
5671
5756
  amount: z.ZodString;
5672
5757
  rate: z.ZodNumber;
@@ -5749,7 +5834,7 @@ declare const zSnapshot: z.ZodObject<{
5749
5834
  tunaSpotPositions: z.ZodOptional<z.ZodUnion<readonly [z.ZodArray<z.ZodObject<{
5750
5835
  address: z.ZodString;
5751
5836
  authority: z.ZodString;
5752
- closedAt: z.ZodOptional<z.ZodUnion<readonly [z.ZodISODateTime, z.ZodNull]>>;
5837
+ closedAt: z.ZodOptional<z.ZodUnion<readonly [z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodISODateTime>, z.ZodNull]>>;
5753
5838
  collateralToken: z.ZodEnum<{
5754
5839
  a: "a";
5755
5840
  b: "b";
@@ -5775,7 +5860,7 @@ declare const zSnapshot: z.ZodObject<{
5775
5860
  fusion: "fusion";
5776
5861
  }>;
5777
5862
  maxLeverage: z.ZodNumber;
5778
- openedAt: z.ZodISODateTime;
5863
+ openedAt: z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodISODateTime>;
5779
5864
  pnlUsd: z.ZodObject<{
5780
5865
  amount: z.ZodNumber;
5781
5866
  rate: z.ZodNumber;
@@ -5838,7 +5923,7 @@ declare const zSnapshot: z.ZodObject<{
5838
5923
  declare const zSnapshotContainer: z.ZodObject<{
5839
5924
  action: z.ZodString;
5840
5925
  data: z.ZodObject<{
5841
- blockTime: z.ZodISODateTime;
5926
+ blockTime: z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodISODateTime>;
5842
5927
  fusionLimitOrders: z.ZodOptional<z.ZodUnion<readonly [z.ZodArray<z.ZodObject<{
5843
5928
  aToB: z.ZodBoolean;
5844
5929
  address: z.ZodString;
@@ -5852,11 +5937,11 @@ declare const zSnapshotContainer: z.ZodObject<{
5852
5937
  }, z.core.$strip>;
5853
5938
  authority: z.ZodString;
5854
5939
  closeTxSignature: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNull]>>;
5855
- closedAt: z.ZodOptional<z.ZodUnion<readonly [z.ZodISODateTime, z.ZodNull]>>;
5940
+ closedAt: z.ZodOptional<z.ZodUnion<readonly [z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodISODateTime>, z.ZodNull]>>;
5856
5941
  fillRatio: z.ZodNumber;
5857
5942
  id: z.ZodString;
5858
5943
  openTxSignature: z.ZodString;
5859
- openedAt: z.ZodISODateTime;
5944
+ openedAt: z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodISODateTime>;
5860
5945
  orderMint: z.ZodString;
5861
5946
  pool: z.ZodObject<{
5862
5947
  address: z.ZodString;
@@ -5925,7 +6010,7 @@ declare const zSnapshotContainer: z.ZodObject<{
5925
6010
  amount: z.ZodCoercedBigInt<unknown>;
5926
6011
  usd: z.ZodNumber;
5927
6012
  }, z.core.$strip>;
5928
- createdAt: z.ZodISODateTime;
6013
+ createdAt: z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodISODateTime>;
5929
6014
  disabled: z.ZodBoolean;
5930
6015
  liquidationFee: z.ZodInt;
5931
6016
  liquidationThreshold: z.ZodInt;
@@ -6004,7 +6089,7 @@ declare const zSnapshotContainer: z.ZodObject<{
6004
6089
  tunaLpPositions: z.ZodOptional<z.ZodUnion<readonly [z.ZodArray<z.ZodObject<{
6005
6090
  address: z.ZodString;
6006
6091
  authority: z.ZodString;
6007
- closedAt: z.ZodOptional<z.ZodUnion<readonly [z.ZodISODateTime, z.ZodNull]>>;
6092
+ closedAt: z.ZodOptional<z.ZodUnion<readonly [z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodISODateTime>, z.ZodNull]>>;
6008
6093
  compoundedYieldA: z.ZodObject<{
6009
6094
  amount: z.ZodCoercedBigInt<unknown>;
6010
6095
  usd: z.ZodNumber;
@@ -6071,7 +6156,7 @@ declare const zSnapshotContainer: z.ZodObject<{
6071
6156
  fusion: "fusion";
6072
6157
  }>;
6073
6158
  maxLeverage: z.ZodNumber;
6074
- openedAt: z.ZodISODateTime;
6159
+ openedAt: z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodISODateTime>;
6075
6160
  pnlA: z.ZodObject<{
6076
6161
  amount: z.ZodString;
6077
6162
  rate: z.ZodNumber;
@@ -6154,7 +6239,7 @@ declare const zSnapshotContainer: z.ZodObject<{
6154
6239
  tunaSpotPositions: z.ZodOptional<z.ZodUnion<readonly [z.ZodArray<z.ZodObject<{
6155
6240
  address: z.ZodString;
6156
6241
  authority: z.ZodString;
6157
- closedAt: z.ZodOptional<z.ZodUnion<readonly [z.ZodISODateTime, z.ZodNull]>>;
6242
+ closedAt: z.ZodOptional<z.ZodUnion<readonly [z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodISODateTime>, z.ZodNull]>>;
6158
6243
  collateralToken: z.ZodEnum<{
6159
6244
  a: "a";
6160
6245
  b: "b";
@@ -6180,7 +6265,7 @@ declare const zSnapshotContainer: z.ZodObject<{
6180
6265
  fusion: "fusion";
6181
6266
  }>;
6182
6267
  maxLeverage: z.ZodNumber;
6183
- openedAt: z.ZodISODateTime;
6268
+ openedAt: z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodISODateTime>;
6184
6269
  pnlUsd: z.ZodObject<{
6185
6270
  amount: z.ZodNumber;
6186
6271
  rate: z.ZodNumber;
@@ -6246,7 +6331,7 @@ declare const zSnapshotContainer: z.ZodObject<{
6246
6331
  declare const zSseResponseSnapshot: z.ZodIntersection<z.ZodObject<{
6247
6332
  action: z.ZodString;
6248
6333
  data: z.ZodObject<{
6249
- blockTime: z.ZodISODateTime;
6334
+ blockTime: z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodISODateTime>;
6250
6335
  fusionLimitOrders: z.ZodOptional<z.ZodUnion<readonly [z.ZodArray<z.ZodObject<{
6251
6336
  aToB: z.ZodBoolean;
6252
6337
  address: z.ZodString;
@@ -6260,11 +6345,11 @@ declare const zSseResponseSnapshot: z.ZodIntersection<z.ZodObject<{
6260
6345
  }, z.core.$strip>;
6261
6346
  authority: z.ZodString;
6262
6347
  closeTxSignature: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNull]>>;
6263
- closedAt: z.ZodOptional<z.ZodUnion<readonly [z.ZodISODateTime, z.ZodNull]>>;
6348
+ closedAt: z.ZodOptional<z.ZodUnion<readonly [z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodISODateTime>, z.ZodNull]>>;
6264
6349
  fillRatio: z.ZodNumber;
6265
6350
  id: z.ZodString;
6266
6351
  openTxSignature: z.ZodString;
6267
- openedAt: z.ZodISODateTime;
6352
+ openedAt: z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodISODateTime>;
6268
6353
  orderMint: z.ZodString;
6269
6354
  pool: z.ZodObject<{
6270
6355
  address: z.ZodString;
@@ -6333,7 +6418,7 @@ declare const zSseResponseSnapshot: z.ZodIntersection<z.ZodObject<{
6333
6418
  amount: z.ZodCoercedBigInt<unknown>;
6334
6419
  usd: z.ZodNumber;
6335
6420
  }, z.core.$strip>;
6336
- createdAt: z.ZodISODateTime;
6421
+ createdAt: z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodISODateTime>;
6337
6422
  disabled: z.ZodBoolean;
6338
6423
  liquidationFee: z.ZodInt;
6339
6424
  liquidationThreshold: z.ZodInt;
@@ -6412,7 +6497,7 @@ declare const zSseResponseSnapshot: z.ZodIntersection<z.ZodObject<{
6412
6497
  tunaLpPositions: z.ZodOptional<z.ZodUnion<readonly [z.ZodArray<z.ZodObject<{
6413
6498
  address: z.ZodString;
6414
6499
  authority: z.ZodString;
6415
- closedAt: z.ZodOptional<z.ZodUnion<readonly [z.ZodISODateTime, z.ZodNull]>>;
6500
+ closedAt: z.ZodOptional<z.ZodUnion<readonly [z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodISODateTime>, z.ZodNull]>>;
6416
6501
  compoundedYieldA: z.ZodObject<{
6417
6502
  amount: z.ZodCoercedBigInt<unknown>;
6418
6503
  usd: z.ZodNumber;
@@ -6479,7 +6564,7 @@ declare const zSseResponseSnapshot: z.ZodIntersection<z.ZodObject<{
6479
6564
  fusion: "fusion";
6480
6565
  }>;
6481
6566
  maxLeverage: z.ZodNumber;
6482
- openedAt: z.ZodISODateTime;
6567
+ openedAt: z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodISODateTime>;
6483
6568
  pnlA: z.ZodObject<{
6484
6569
  amount: z.ZodString;
6485
6570
  rate: z.ZodNumber;
@@ -6562,7 +6647,7 @@ declare const zSseResponseSnapshot: z.ZodIntersection<z.ZodObject<{
6562
6647
  tunaSpotPositions: z.ZodOptional<z.ZodUnion<readonly [z.ZodArray<z.ZodObject<{
6563
6648
  address: z.ZodString;
6564
6649
  authority: z.ZodString;
6565
- closedAt: z.ZodOptional<z.ZodUnion<readonly [z.ZodISODateTime, z.ZodNull]>>;
6650
+ closedAt: z.ZodOptional<z.ZodUnion<readonly [z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodISODateTime>, z.ZodNull]>>;
6566
6651
  collateralToken: z.ZodEnum<{
6567
6652
  a: "a";
6568
6653
  b: "b";
@@ -6588,7 +6673,7 @@ declare const zSseResponseSnapshot: z.ZodIntersection<z.ZodObject<{
6588
6673
  fusion: "fusion";
6589
6674
  }>;
6590
6675
  maxLeverage: z.ZodNumber;
6591
- openedAt: z.ZodISODateTime;
6676
+ openedAt: z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodISODateTime>;
6592
6677
  pnlUsd: z.ZodObject<{
6593
6678
  amount: z.ZodNumber;
6594
6679
  rate: z.ZodNumber;
@@ -6759,7 +6844,7 @@ declare const zVestingDto: z.ZodObject<{
6759
6844
  amount: z.ZodCoercedBigInt<unknown>;
6760
6845
  usd: z.ZodNumber;
6761
6846
  }, z.core.$strip>;
6762
- lockedAt: z.ZodOptional<z.ZodUnion<readonly [z.ZodISODateTime, z.ZodNull]>>;
6847
+ lockedAt: z.ZodOptional<z.ZodUnion<readonly [z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodISODateTime>, z.ZodNull]>>;
6763
6848
  unlockCliffSeconds: z.ZodInt;
6764
6849
  unlockEverySeconds: z.ZodInt;
6765
6850
  unlockRate: z.ZodCoercedBigInt<unknown>;
@@ -6774,7 +6859,7 @@ declare const zStakingPositionDto: z.ZodObject<{
6774
6859
  amount: z.ZodCoercedBigInt<unknown>;
6775
6860
  usd: z.ZodNumber;
6776
6861
  }, z.core.$strip>;
6777
- lastUnstakedAt: z.ZodOptional<z.ZodUnion<readonly [z.ZodISODateTime, z.ZodNull]>>;
6862
+ lastUnstakedAt: z.ZodOptional<z.ZodUnion<readonly [z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodISODateTime>, z.ZodNull]>>;
6778
6863
  owner: z.ZodString;
6779
6864
  rank: z.ZodOptional<z.ZodUnion<readonly [z.ZodInt, z.ZodNull]>>;
6780
6865
  staked: z.ZodObject<{
@@ -6794,7 +6879,7 @@ declare const zStakingPositionDto: z.ZodObject<{
6794
6879
  amount: z.ZodCoercedBigInt<unknown>;
6795
6880
  usd: z.ZodNumber;
6796
6881
  }, z.core.$strip>;
6797
- lockedAt: z.ZodOptional<z.ZodUnion<readonly [z.ZodISODateTime, z.ZodNull]>>;
6882
+ lockedAt: z.ZodOptional<z.ZodUnion<readonly [z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodISODateTime>, z.ZodNull]>>;
6798
6883
  unlockCliffSeconds: z.ZodInt;
6799
6884
  unlockEverySeconds: z.ZodInt;
6800
6885
  unlockRate: z.ZodCoercedBigInt<unknown>;
@@ -6803,7 +6888,7 @@ declare const zStakingPositionDto: z.ZodObject<{
6803
6888
  usd: z.ZodNumber;
6804
6889
  }, z.core.$strip>;
6805
6890
  }, z.core.$strip>;
6806
- withdrawAvailableAt: z.ZodOptional<z.ZodUnion<readonly [z.ZodISODateTime, z.ZodNull]>>;
6891
+ withdrawAvailableAt: z.ZodOptional<z.ZodUnion<readonly [z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodISODateTime>, z.ZodNull]>>;
6807
6892
  }, z.core.$strip>;
6808
6893
  declare const zSseResponseStakingPositionPayload: z.ZodObject<{
6809
6894
  action: z.ZodEnum<{
@@ -6817,7 +6902,7 @@ declare const zSseResponseStakingPositionPayload: z.ZodObject<{
6817
6902
  amount: z.ZodCoercedBigInt<unknown>;
6818
6903
  usd: z.ZodNumber;
6819
6904
  }, z.core.$strip>;
6820
- lastUnstakedAt: z.ZodOptional<z.ZodUnion<readonly [z.ZodISODateTime, z.ZodNull]>>;
6905
+ lastUnstakedAt: z.ZodOptional<z.ZodUnion<readonly [z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodISODateTime>, z.ZodNull]>>;
6821
6906
  owner: z.ZodString;
6822
6907
  rank: z.ZodOptional<z.ZodUnion<readonly [z.ZodInt, z.ZodNull]>>;
6823
6908
  staked: z.ZodObject<{
@@ -6837,7 +6922,7 @@ declare const zSseResponseStakingPositionPayload: z.ZodObject<{
6837
6922
  amount: z.ZodCoercedBigInt<unknown>;
6838
6923
  usd: z.ZodNumber;
6839
6924
  }, z.core.$strip>;
6840
- lockedAt: z.ZodOptional<z.ZodUnion<readonly [z.ZodISODateTime, z.ZodNull]>>;
6925
+ lockedAt: z.ZodOptional<z.ZodUnion<readonly [z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodISODateTime>, z.ZodNull]>>;
6841
6926
  unlockCliffSeconds: z.ZodInt;
6842
6927
  unlockEverySeconds: z.ZodInt;
6843
6928
  unlockRate: z.ZodCoercedBigInt<unknown>;
@@ -6846,7 +6931,7 @@ declare const zSseResponseStakingPositionPayload: z.ZodObject<{
6846
6931
  usd: z.ZodNumber;
6847
6932
  }, z.core.$strip>;
6848
6933
  }, z.core.$strip>;
6849
- withdrawAvailableAt: z.ZodOptional<z.ZodUnion<readonly [z.ZodISODateTime, z.ZodNull]>>;
6934
+ withdrawAvailableAt: z.ZodOptional<z.ZodUnion<readonly [z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodISODateTime>, z.ZodNull]>>;
6850
6935
  }, z.core.$strip>;
6851
6936
  entity: z.ZodEnum<{
6852
6937
  initial_message: "initial_message";
@@ -6877,7 +6962,7 @@ declare const zSseResponseStakingPosition: z.ZodIntersection<z.ZodObject<{
6877
6962
  amount: z.ZodCoercedBigInt<unknown>;
6878
6963
  usd: z.ZodNumber;
6879
6964
  }, z.core.$strip>;
6880
- lastUnstakedAt: z.ZodOptional<z.ZodUnion<readonly [z.ZodISODateTime, z.ZodNull]>>;
6965
+ lastUnstakedAt: z.ZodOptional<z.ZodUnion<readonly [z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodISODateTime>, z.ZodNull]>>;
6881
6966
  owner: z.ZodString;
6882
6967
  rank: z.ZodOptional<z.ZodUnion<readonly [z.ZodInt, z.ZodNull]>>;
6883
6968
  staked: z.ZodObject<{
@@ -6897,7 +6982,7 @@ declare const zSseResponseStakingPosition: z.ZodIntersection<z.ZodObject<{
6897
6982
  amount: z.ZodCoercedBigInt<unknown>;
6898
6983
  usd: z.ZodNumber;
6899
6984
  }, z.core.$strip>;
6900
- lockedAt: z.ZodOptional<z.ZodUnion<readonly [z.ZodISODateTime, z.ZodNull]>>;
6985
+ lockedAt: z.ZodOptional<z.ZodUnion<readonly [z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodISODateTime>, z.ZodNull]>>;
6901
6986
  unlockCliffSeconds: z.ZodInt;
6902
6987
  unlockEverySeconds: z.ZodInt;
6903
6988
  unlockRate: z.ZodCoercedBigInt<unknown>;
@@ -6906,7 +6991,7 @@ declare const zSseResponseStakingPosition: z.ZodIntersection<z.ZodObject<{
6906
6991
  usd: z.ZodNumber;
6907
6992
  }, z.core.$strip>;
6908
6993
  }, z.core.$strip>;
6909
- withdrawAvailableAt: z.ZodOptional<z.ZodUnion<readonly [z.ZodISODateTime, z.ZodNull]>>;
6994
+ withdrawAvailableAt: z.ZodOptional<z.ZodUnion<readonly [z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodISODateTime>, z.ZodNull]>>;
6910
6995
  }, z.core.$strip>;
6911
6996
  entity: z.ZodEnum<{
6912
6997
  initial_message: "initial_message";
@@ -6967,7 +7052,7 @@ declare const zSseResponse: z.ZodUnion<readonly [z.ZodIntersection<z.ZodObject<{
6967
7052
  amountUsd: z.ZodNumber;
6968
7053
  id: z.ZodString;
6969
7054
  pool: z.ZodString;
6970
- time: z.ZodISODateTime;
7055
+ time: z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodISODateTime>;
6971
7056
  txSignature: z.ZodString;
6972
7057
  }, z.core.$strip>;
6973
7058
  entity: z.ZodEnum<{
@@ -7004,7 +7089,7 @@ declare const zSseResponse: z.ZodUnion<readonly [z.ZodIntersection<z.ZodObject<{
7004
7089
  amount: z.ZodCoercedBigInt<unknown>;
7005
7090
  usd: z.ZodNumber;
7006
7091
  }, z.core.$strip>;
7007
- lastUnstakedAt: z.ZodOptional<z.ZodUnion<readonly [z.ZodISODateTime, z.ZodNull]>>;
7092
+ lastUnstakedAt: z.ZodOptional<z.ZodUnion<readonly [z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodISODateTime>, z.ZodNull]>>;
7008
7093
  owner: z.ZodString;
7009
7094
  rank: z.ZodOptional<z.ZodUnion<readonly [z.ZodInt, z.ZodNull]>>;
7010
7095
  staked: z.ZodObject<{
@@ -7024,7 +7109,7 @@ declare const zSseResponse: z.ZodUnion<readonly [z.ZodIntersection<z.ZodObject<{
7024
7109
  amount: z.ZodCoercedBigInt<unknown>;
7025
7110
  usd: z.ZodNumber;
7026
7111
  }, z.core.$strip>;
7027
- lockedAt: z.ZodOptional<z.ZodUnion<readonly [z.ZodISODateTime, z.ZodNull]>>;
7112
+ lockedAt: z.ZodOptional<z.ZodUnion<readonly [z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodISODateTime>, z.ZodNull]>>;
7028
7113
  unlockCliffSeconds: z.ZodInt;
7029
7114
  unlockEverySeconds: z.ZodInt;
7030
7115
  unlockRate: z.ZodCoercedBigInt<unknown>;
@@ -7033,7 +7118,7 @@ declare const zSseResponse: z.ZodUnion<readonly [z.ZodIntersection<z.ZodObject<{
7033
7118
  usd: z.ZodNumber;
7034
7119
  }, z.core.$strip>;
7035
7120
  }, z.core.$strip>;
7036
- withdrawAvailableAt: z.ZodOptional<z.ZodUnion<readonly [z.ZodISODateTime, z.ZodNull]>>;
7121
+ withdrawAvailableAt: z.ZodOptional<z.ZodUnion<readonly [z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodISODateTime>, z.ZodNull]>>;
7037
7122
  }, z.core.$strip>;
7038
7123
  entity: z.ZodEnum<{
7039
7124
  initial_message: "initial_message";
@@ -7178,7 +7263,7 @@ declare const zSseResponse: z.ZodUnion<readonly [z.ZodIntersection<z.ZodObject<{
7178
7263
  usd: z.ZodNumber;
7179
7264
  }, z.core.$strip>;
7180
7265
  slot: z.ZodCoercedBigInt<unknown>;
7181
- ts: z.ZodISODateTime;
7266
+ ts: z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodISODateTime>;
7182
7267
  txSignature: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNull]>>;
7183
7268
  uiDirection: z.ZodEnum<{
7184
7269
  buy: "buy";
@@ -7296,7 +7381,7 @@ declare const zSseResponse: z.ZodUnion<readonly [z.ZodIntersection<z.ZodObject<{
7296
7381
  claimed: "claimed";
7297
7382
  rejected: "rejected";
7298
7383
  }>;
7299
- ts: z.ZodISODateTime;
7384
+ ts: z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodISODateTime>;
7300
7385
  txSignature: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNull]>>;
7301
7386
  uiDirection: z.ZodEnum<{
7302
7387
  buy: "buy";
@@ -7332,7 +7417,7 @@ declare const zSseResponse: z.ZodUnion<readonly [z.ZodIntersection<z.ZodObject<{
7332
7417
  }, z.core.$strip>, z.ZodIntersection<z.ZodObject<{
7333
7418
  action: z.ZodString;
7334
7419
  data: z.ZodObject<{
7335
- blockTime: z.ZodISODateTime;
7420
+ blockTime: z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodISODateTime>;
7336
7421
  fusionLimitOrders: z.ZodOptional<z.ZodUnion<readonly [z.ZodArray<z.ZodObject<{
7337
7422
  aToB: z.ZodBoolean;
7338
7423
  address: z.ZodString;
@@ -7346,11 +7431,11 @@ declare const zSseResponse: z.ZodUnion<readonly [z.ZodIntersection<z.ZodObject<{
7346
7431
  }, z.core.$strip>;
7347
7432
  authority: z.ZodString;
7348
7433
  closeTxSignature: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNull]>>;
7349
- closedAt: z.ZodOptional<z.ZodUnion<readonly [z.ZodISODateTime, z.ZodNull]>>;
7434
+ closedAt: z.ZodOptional<z.ZodUnion<readonly [z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodISODateTime>, z.ZodNull]>>;
7350
7435
  fillRatio: z.ZodNumber;
7351
7436
  id: z.ZodString;
7352
7437
  openTxSignature: z.ZodString;
7353
- openedAt: z.ZodISODateTime;
7438
+ openedAt: z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodISODateTime>;
7354
7439
  orderMint: z.ZodString;
7355
7440
  pool: z.ZodObject<{
7356
7441
  address: z.ZodString;
@@ -7419,7 +7504,7 @@ declare const zSseResponse: z.ZodUnion<readonly [z.ZodIntersection<z.ZodObject<{
7419
7504
  amount: z.ZodCoercedBigInt<unknown>;
7420
7505
  usd: z.ZodNumber;
7421
7506
  }, z.core.$strip>;
7422
- createdAt: z.ZodISODateTime;
7507
+ createdAt: z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodISODateTime>;
7423
7508
  disabled: z.ZodBoolean;
7424
7509
  liquidationFee: z.ZodInt;
7425
7510
  liquidationThreshold: z.ZodInt;
@@ -7498,7 +7583,7 @@ declare const zSseResponse: z.ZodUnion<readonly [z.ZodIntersection<z.ZodObject<{
7498
7583
  tunaLpPositions: z.ZodOptional<z.ZodUnion<readonly [z.ZodArray<z.ZodObject<{
7499
7584
  address: z.ZodString;
7500
7585
  authority: z.ZodString;
7501
- closedAt: z.ZodOptional<z.ZodUnion<readonly [z.ZodISODateTime, z.ZodNull]>>;
7586
+ closedAt: z.ZodOptional<z.ZodUnion<readonly [z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodISODateTime>, z.ZodNull]>>;
7502
7587
  compoundedYieldA: z.ZodObject<{
7503
7588
  amount: z.ZodCoercedBigInt<unknown>;
7504
7589
  usd: z.ZodNumber;
@@ -7565,7 +7650,7 @@ declare const zSseResponse: z.ZodUnion<readonly [z.ZodIntersection<z.ZodObject<{
7565
7650
  fusion: "fusion";
7566
7651
  }>;
7567
7652
  maxLeverage: z.ZodNumber;
7568
- openedAt: z.ZodISODateTime;
7653
+ openedAt: z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodISODateTime>;
7569
7654
  pnlA: z.ZodObject<{
7570
7655
  amount: z.ZodString;
7571
7656
  rate: z.ZodNumber;
@@ -7648,7 +7733,7 @@ declare const zSseResponse: z.ZodUnion<readonly [z.ZodIntersection<z.ZodObject<{
7648
7733
  tunaSpotPositions: z.ZodOptional<z.ZodUnion<readonly [z.ZodArray<z.ZodObject<{
7649
7734
  address: z.ZodString;
7650
7735
  authority: z.ZodString;
7651
- closedAt: z.ZodOptional<z.ZodUnion<readonly [z.ZodISODateTime, z.ZodNull]>>;
7736
+ closedAt: z.ZodOptional<z.ZodUnion<readonly [z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodISODateTime>, z.ZodNull]>>;
7652
7737
  collateralToken: z.ZodEnum<{
7653
7738
  a: "a";
7654
7739
  b: "b";
@@ -7674,7 +7759,7 @@ declare const zSseResponse: z.ZodUnion<readonly [z.ZodIntersection<z.ZodObject<{
7674
7759
  fusion: "fusion";
7675
7760
  }>;
7676
7761
  maxLeverage: z.ZodNumber;
7677
- openedAt: z.ZodISODateTime;
7762
+ openedAt: z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodISODateTime>;
7678
7763
  pnlUsd: z.ZodObject<{
7679
7764
  amount: z.ZodNumber;
7680
7765
  rate: z.ZodNumber;
@@ -7849,7 +7934,7 @@ declare const zGetMarketsResponse: z.ZodObject<{
7849
7934
  amount: z.ZodCoercedBigInt<unknown>;
7850
7935
  usd: z.ZodNumber;
7851
7936
  }, z.core.$strip>;
7852
- createdAt: z.ZodISODateTime;
7937
+ createdAt: z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodISODateTime>;
7853
7938
  disabled: z.ZodBoolean;
7854
7939
  liquidationFee: z.ZodInt;
7855
7940
  liquidationThreshold: z.ZodInt;
@@ -7936,7 +8021,7 @@ declare const zGetMarketResponse: z.ZodObject<{
7936
8021
  amount: z.ZodCoercedBigInt<unknown>;
7937
8022
  usd: z.ZodNumber;
7938
8023
  }, z.core.$strip>;
7939
- createdAt: z.ZodISODateTime;
8024
+ createdAt: z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodISODateTime>;
7940
8025
  disabled: z.ZodBoolean;
7941
8026
  liquidationFee: z.ZodInt;
7942
8027
  liquidationThreshold: z.ZodInt;
@@ -8038,7 +8123,7 @@ declare const zGetOraclePricesResponse: z.ZodObject<{
8038
8123
  decimals: z.ZodInt;
8039
8124
  mint: z.ZodString;
8040
8125
  price: z.ZodCoercedBigInt<unknown>;
8041
- time: z.ZodISODateTime;
8126
+ time: z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodISODateTime>;
8042
8127
  }, z.core.$strip>>;
8043
8128
  }, z.core.$strip>;
8044
8129
  type GetOraclePricesResponseZodType = z.infer<typeof zGetOraclePricesResponse>;
@@ -8054,7 +8139,7 @@ declare const zGetOraclePriceResponse: z.ZodObject<{
8054
8139
  decimals: z.ZodInt;
8055
8140
  mint: z.ZodString;
8056
8141
  price: z.ZodCoercedBigInt<unknown>;
8057
- time: z.ZodISODateTime;
8142
+ time: z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodISODateTime>;
8058
8143
  }, z.core.$strip>;
8059
8144
  }, z.core.$strip>;
8060
8145
  type GetOraclePriceResponseZodType = z.infer<typeof zGetOraclePriceResponse>;
@@ -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<{
@@ -8162,8 +8250,8 @@ declare const zGetPoolCandlesData: z.ZodObject<{
8162
8250
  poolAddress: z.ZodString;
8163
8251
  }, z.core.$strip>;
8164
8252
  query: z.ZodObject<{
8165
- from: z.ZodISODateTime;
8166
- to: z.ZodISODateTime;
8253
+ from: z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodISODateTime>;
8254
+ to: z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodISODateTime>;
8167
8255
  candles: z.ZodInt;
8168
8256
  interval: z.ZodString;
8169
8257
  }, z.core.$strip>;
@@ -8223,7 +8311,7 @@ declare const zGetPoolSwapsResponse: z.ZodObject<{
8223
8311
  amountUsd: z.ZodNumber;
8224
8312
  id: z.ZodString;
8225
8313
  pool: z.ZodString;
8226
- time: z.ZodISODateTime;
8314
+ time: z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodISODateTime>;
8227
8315
  txSignature: z.ZodString;
8228
8316
  }, z.core.$strip>>;
8229
8317
  }, z.core.$strip>;
@@ -8468,8 +8556,8 @@ declare const zGetFeesStatsData: z.ZodObject<{
8468
8556
  body: z.ZodOptional<z.ZodNever>;
8469
8557
  path: z.ZodOptional<z.ZodNever>;
8470
8558
  query: z.ZodObject<{
8471
- from: z.ZodISODateTime;
8472
- to: z.ZodISODateTime;
8559
+ from: z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodISODateTime>;
8560
+ to: z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodISODateTime>;
8473
8561
  interval: z.ZodOptional<z.ZodString>;
8474
8562
  }, z.core.$strip>;
8475
8563
  }, z.core.$strip>;
@@ -8502,7 +8590,7 @@ declare const zGetFeesStatsResponse: z.ZodObject<{
8502
8590
  runningTotalNetworkFees: z.ZodNumber;
8503
8591
  runningTotalYieldCompoundingNetworkFees: z.ZodNumber;
8504
8592
  runningYieldCompoundingFees: z.ZodNumber;
8505
- time: z.ZodISODateTime;
8593
+ time: z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodISODateTime>;
8506
8594
  totalCollectedFees: z.ZodNumber;
8507
8595
  totalFusionFees: z.ZodNumber;
8508
8596
  totalLimitOrdersNetworkFees: z.ZodNumber;
@@ -8518,8 +8606,8 @@ declare const zGetFusionFeesStatsData: z.ZodObject<{
8518
8606
  body: z.ZodOptional<z.ZodNever>;
8519
8607
  path: z.ZodOptional<z.ZodNever>;
8520
8608
  query: z.ZodObject<{
8521
- from: z.ZodISODateTime;
8522
- to: z.ZodISODateTime;
8609
+ from: z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodISODateTime>;
8610
+ to: z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodISODateTime>;
8523
8611
  interval: z.ZodOptional<z.ZodString>;
8524
8612
  }, z.core.$strip>;
8525
8613
  }, z.core.$strip>;
@@ -8527,7 +8615,7 @@ declare const zGetFusionFeesStatsResponse: z.ZodObject<{
8527
8615
  data: z.ZodArray<z.ZodObject<{
8528
8616
  pool: z.ZodString;
8529
8617
  runningTotalCollectedFees: z.ZodNumber;
8530
- time: z.ZodISODateTime;
8618
+ time: z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodISODateTime>;
8531
8619
  totalCollectedFees: z.ZodNumber;
8532
8620
  }, z.core.$strip>>;
8533
8621
  }, z.core.$strip>;
@@ -8536,8 +8624,8 @@ declare const zGetPositionsStatsData: z.ZodObject<{
8536
8624
  body: z.ZodOptional<z.ZodNever>;
8537
8625
  path: z.ZodOptional<z.ZodNever>;
8538
8626
  query: z.ZodObject<{
8539
- from: z.ZodISODateTime;
8540
- to: z.ZodISODateTime;
8627
+ from: z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodISODateTime>;
8628
+ to: z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodISODateTime>;
8541
8629
  Unused: z.ZodOptional<z.ZodString>;
8542
8630
  }, z.core.$strip>;
8543
8631
  }, z.core.$strip>;
@@ -8555,7 +8643,7 @@ declare const zGetPositionsStatsResponse: z.ZodObject<{
8555
8643
  orcaTotalValueUsd: z.ZodNumber;
8556
8644
  over10kCount: z.ZodInt;
8557
8645
  over1kCount: z.ZodInt;
8558
- time: z.ZodISODateTime;
8646
+ time: z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodISODateTime>;
8559
8647
  totalCount: z.ZodInt;
8560
8648
  }, z.core.$strip>>;
8561
8649
  }, z.core.$strip>;
@@ -8581,7 +8669,7 @@ declare const zGetStakingRevenueStatsResponse: z.ZodObject<{
8581
8669
  data: z.ZodArray<z.ZodObject<{
8582
8670
  runningTotalDepositsSol: z.ZodCoercedBigInt<unknown>;
8583
8671
  runningTotalDepositsUsd: z.ZodNumber;
8584
- time: z.ZodISODateTime;
8672
+ time: z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodISODateTime>;
8585
8673
  totalDepositsSol: z.ZodCoercedBigInt<unknown>;
8586
8674
  totalDepositsUsd: z.ZodNumber;
8587
8675
  }, z.core.$strip>>;
@@ -8633,7 +8721,7 @@ declare const zSseResponse2: z.ZodUnion<readonly [z.ZodIntersection<z.ZodObject<
8633
8721
  amountUsd: z.ZodNumber;
8634
8722
  id: z.ZodString;
8635
8723
  pool: z.ZodString;
8636
- time: z.ZodISODateTime;
8724
+ time: z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodISODateTime>;
8637
8725
  txSignature: z.ZodString;
8638
8726
  }, z.core.$strip>;
8639
8727
  entity: z.ZodEnum<{
@@ -8670,7 +8758,7 @@ declare const zSseResponse2: z.ZodUnion<readonly [z.ZodIntersection<z.ZodObject<
8670
8758
  amount: z.ZodCoercedBigInt<unknown>;
8671
8759
  usd: z.ZodNumber;
8672
8760
  }, z.core.$strip>;
8673
- lastUnstakedAt: z.ZodOptional<z.ZodUnion<readonly [z.ZodISODateTime, z.ZodNull]>>;
8761
+ lastUnstakedAt: z.ZodOptional<z.ZodUnion<readonly [z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodISODateTime>, z.ZodNull]>>;
8674
8762
  owner: z.ZodString;
8675
8763
  rank: z.ZodOptional<z.ZodUnion<readonly [z.ZodInt, z.ZodNull]>>;
8676
8764
  staked: z.ZodObject<{
@@ -8690,7 +8778,7 @@ declare const zSseResponse2: z.ZodUnion<readonly [z.ZodIntersection<z.ZodObject<
8690
8778
  amount: z.ZodCoercedBigInt<unknown>;
8691
8779
  usd: z.ZodNumber;
8692
8780
  }, z.core.$strip>;
8693
- lockedAt: z.ZodOptional<z.ZodUnion<readonly [z.ZodISODateTime, z.ZodNull]>>;
8781
+ lockedAt: z.ZodOptional<z.ZodUnion<readonly [z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodISODateTime>, z.ZodNull]>>;
8694
8782
  unlockCliffSeconds: z.ZodInt;
8695
8783
  unlockEverySeconds: z.ZodInt;
8696
8784
  unlockRate: z.ZodCoercedBigInt<unknown>;
@@ -8699,7 +8787,7 @@ declare const zSseResponse2: z.ZodUnion<readonly [z.ZodIntersection<z.ZodObject<
8699
8787
  usd: z.ZodNumber;
8700
8788
  }, z.core.$strip>;
8701
8789
  }, z.core.$strip>;
8702
- withdrawAvailableAt: z.ZodOptional<z.ZodUnion<readonly [z.ZodISODateTime, z.ZodNull]>>;
8790
+ withdrawAvailableAt: z.ZodOptional<z.ZodUnion<readonly [z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodISODateTime>, z.ZodNull]>>;
8703
8791
  }, z.core.$strip>;
8704
8792
  entity: z.ZodEnum<{
8705
8793
  initial_message: "initial_message";
@@ -8844,7 +8932,7 @@ declare const zSseResponse2: z.ZodUnion<readonly [z.ZodIntersection<z.ZodObject<
8844
8932
  usd: z.ZodNumber;
8845
8933
  }, z.core.$strip>;
8846
8934
  slot: z.ZodCoercedBigInt<unknown>;
8847
- ts: z.ZodISODateTime;
8935
+ ts: z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodISODateTime>;
8848
8936
  txSignature: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNull]>>;
8849
8937
  uiDirection: z.ZodEnum<{
8850
8938
  buy: "buy";
@@ -8962,7 +9050,7 @@ declare const zSseResponse2: z.ZodUnion<readonly [z.ZodIntersection<z.ZodObject<
8962
9050
  claimed: "claimed";
8963
9051
  rejected: "rejected";
8964
9052
  }>;
8965
- ts: z.ZodISODateTime;
9053
+ ts: z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodISODateTime>;
8966
9054
  txSignature: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNull]>>;
8967
9055
  uiDirection: z.ZodEnum<{
8968
9056
  buy: "buy";
@@ -8998,7 +9086,7 @@ declare const zSseResponse2: z.ZodUnion<readonly [z.ZodIntersection<z.ZodObject<
8998
9086
  }, z.core.$strip>, z.ZodIntersection<z.ZodObject<{
8999
9087
  action: z.ZodString;
9000
9088
  data: z.ZodObject<{
9001
- blockTime: z.ZodISODateTime;
9089
+ blockTime: z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodISODateTime>;
9002
9090
  fusionLimitOrders: z.ZodOptional<z.ZodUnion<readonly [z.ZodArray<z.ZodObject<{
9003
9091
  aToB: z.ZodBoolean;
9004
9092
  address: z.ZodString;
@@ -9012,11 +9100,11 @@ declare const zSseResponse2: z.ZodUnion<readonly [z.ZodIntersection<z.ZodObject<
9012
9100
  }, z.core.$strip>;
9013
9101
  authority: z.ZodString;
9014
9102
  closeTxSignature: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNull]>>;
9015
- closedAt: z.ZodOptional<z.ZodUnion<readonly [z.ZodISODateTime, z.ZodNull]>>;
9103
+ closedAt: z.ZodOptional<z.ZodUnion<readonly [z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodISODateTime>, z.ZodNull]>>;
9016
9104
  fillRatio: z.ZodNumber;
9017
9105
  id: z.ZodString;
9018
9106
  openTxSignature: z.ZodString;
9019
- openedAt: z.ZodISODateTime;
9107
+ openedAt: z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodISODateTime>;
9020
9108
  orderMint: z.ZodString;
9021
9109
  pool: z.ZodObject<{
9022
9110
  address: z.ZodString;
@@ -9085,7 +9173,7 @@ declare const zSseResponse2: z.ZodUnion<readonly [z.ZodIntersection<z.ZodObject<
9085
9173
  amount: z.ZodCoercedBigInt<unknown>;
9086
9174
  usd: z.ZodNumber;
9087
9175
  }, z.core.$strip>;
9088
- createdAt: z.ZodISODateTime;
9176
+ createdAt: z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodISODateTime>;
9089
9177
  disabled: z.ZodBoolean;
9090
9178
  liquidationFee: z.ZodInt;
9091
9179
  liquidationThreshold: z.ZodInt;
@@ -9164,7 +9252,7 @@ declare const zSseResponse2: z.ZodUnion<readonly [z.ZodIntersection<z.ZodObject<
9164
9252
  tunaLpPositions: z.ZodOptional<z.ZodUnion<readonly [z.ZodArray<z.ZodObject<{
9165
9253
  address: z.ZodString;
9166
9254
  authority: z.ZodString;
9167
- closedAt: z.ZodOptional<z.ZodUnion<readonly [z.ZodISODateTime, z.ZodNull]>>;
9255
+ closedAt: z.ZodOptional<z.ZodUnion<readonly [z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodISODateTime>, z.ZodNull]>>;
9168
9256
  compoundedYieldA: z.ZodObject<{
9169
9257
  amount: z.ZodCoercedBigInt<unknown>;
9170
9258
  usd: z.ZodNumber;
@@ -9231,7 +9319,7 @@ declare const zSseResponse2: z.ZodUnion<readonly [z.ZodIntersection<z.ZodObject<
9231
9319
  fusion: "fusion";
9232
9320
  }>;
9233
9321
  maxLeverage: z.ZodNumber;
9234
- openedAt: z.ZodISODateTime;
9322
+ openedAt: z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodISODateTime>;
9235
9323
  pnlA: z.ZodObject<{
9236
9324
  amount: z.ZodString;
9237
9325
  rate: z.ZodNumber;
@@ -9314,7 +9402,7 @@ declare const zSseResponse2: z.ZodUnion<readonly [z.ZodIntersection<z.ZodObject<
9314
9402
  tunaSpotPositions: z.ZodOptional<z.ZodUnion<readonly [z.ZodArray<z.ZodObject<{
9315
9403
  address: z.ZodString;
9316
9404
  authority: z.ZodString;
9317
- closedAt: z.ZodOptional<z.ZodUnion<readonly [z.ZodISODateTime, z.ZodNull]>>;
9405
+ closedAt: z.ZodOptional<z.ZodUnion<readonly [z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodISODateTime>, z.ZodNull]>>;
9318
9406
  collateralToken: z.ZodEnum<{
9319
9407
  a: "a";
9320
9408
  b: "b";
@@ -9340,7 +9428,7 @@ declare const zSseResponse2: z.ZodUnion<readonly [z.ZodIntersection<z.ZodObject<
9340
9428
  fusion: "fusion";
9341
9429
  }>;
9342
9430
  maxLeverage: z.ZodNumber;
9343
- openedAt: z.ZodISODateTime;
9431
+ openedAt: z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodISODateTime>;
9344
9432
  pnlUsd: z.ZodObject<{
9345
9433
  amount: z.ZodNumber;
9346
9434
  rate: z.ZodNumber;
@@ -9534,11 +9622,11 @@ declare const zGetLimitOrdersResponse: z.ZodObject<{
9534
9622
  }, z.core.$strip>;
9535
9623
  authority: z.ZodString;
9536
9624
  closeTxSignature: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNull]>>;
9537
- closedAt: z.ZodOptional<z.ZodUnion<readonly [z.ZodISODateTime, z.ZodNull]>>;
9625
+ closedAt: z.ZodOptional<z.ZodUnion<readonly [z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodISODateTime>, z.ZodNull]>>;
9538
9626
  fillRatio: z.ZodNumber;
9539
9627
  id: z.ZodString;
9540
9628
  openTxSignature: z.ZodString;
9541
- openedAt: z.ZodISODateTime;
9629
+ openedAt: z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodISODateTime>;
9542
9630
  orderMint: z.ZodString;
9543
9631
  pool: z.ZodObject<{
9544
9632
  address: z.ZodString;
@@ -9612,11 +9700,11 @@ declare const zGetLimitOrderResponse: z.ZodObject<{
9612
9700
  }, z.core.$strip>;
9613
9701
  authority: z.ZodString;
9614
9702
  closeTxSignature: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNull]>>;
9615
- closedAt: z.ZodOptional<z.ZodUnion<readonly [z.ZodISODateTime, z.ZodNull]>>;
9703
+ closedAt: z.ZodOptional<z.ZodUnion<readonly [z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodISODateTime>, z.ZodNull]>>;
9616
9704
  fillRatio: z.ZodNumber;
9617
9705
  id: z.ZodString;
9618
9706
  openTxSignature: z.ZodString;
9619
- openedAt: z.ZodISODateTime;
9707
+ openedAt: z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodISODateTime>;
9620
9708
  orderMint: z.ZodString;
9621
9709
  pool: z.ZodObject<{
9622
9710
  address: z.ZodString;
@@ -9688,7 +9776,7 @@ declare const zGetLpPositionsData: z.ZodObject<{
9688
9776
  declare const zGetLpPositionsResponse: z.ZodObject<{
9689
9777
  data: z.ZodArray<z.ZodObject<{
9690
9778
  authority: z.ZodString;
9691
- closedAt: z.ZodOptional<z.ZodUnion<readonly [z.ZodISODateTime, z.ZodNull]>>;
9779
+ closedAt: z.ZodOptional<z.ZodUnion<readonly [z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodISODateTime>, z.ZodNull]>>;
9692
9780
  closedPnlSumUsd: z.ZodNumber;
9693
9781
  entryPrice: z.ZodNumber;
9694
9782
  exitPrice: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodNull]>>;
@@ -9701,7 +9789,7 @@ declare const zGetLpPositionsResponse: z.ZodObject<{
9701
9789
  orca: "orca";
9702
9790
  fusion: "fusion";
9703
9791
  }>;
9704
- openedAt: z.ZodISODateTime;
9792
+ openedAt: z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodISODateTime>;
9705
9793
  pool: z.ZodObject<{
9706
9794
  address: z.ZodString;
9707
9795
  feeRate: z.ZodInt;
@@ -9751,7 +9839,7 @@ declare const zGetLpPositionsResponse: z.ZodObject<{
9751
9839
  totalDepositUsd: z.ZodNumber;
9752
9840
  totalValueUsd: z.ZodNumber;
9753
9841
  totalWithdrawnUsd: z.ZodNumber;
9754
- updatedAt: z.ZodISODateTime;
9842
+ updatedAt: z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodISODateTime>;
9755
9843
  upperLimitOrder: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodNull]>>;
9756
9844
  upperPrice: z.ZodNumber;
9757
9845
  }, z.core.$strip>>;
@@ -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,10 +10024,18 @@ 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;
9930
- txTimestamp: z.ZodISODateTime;
10038
+ txTimestamp: z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodISODateTime>;
9931
10039
  }, z.core.$strip>>;
9932
10040
  }, z.core.$strip>;
9933
10041
  type GetLpPositionActionsResponseZodType = z.infer<typeof zGetLpPositionActionsResponse>;
@@ -10036,7 +10144,7 @@ declare const zGetOrderHistoryResponse: z.ZodObject<{
10036
10144
  claimed: "claimed";
10037
10145
  rejected: "rejected";
10038
10146
  }>;
10039
- ts: z.ZodISODateTime;
10147
+ ts: z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodISODateTime>;
10040
10148
  txSignature: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNull]>>;
10041
10149
  uiDirection: z.ZodEnum<{
10042
10150
  buy: "buy";
@@ -10060,7 +10168,7 @@ declare const zGetSpotPositionsResponse: z.ZodObject<{
10060
10168
  data: z.ZodArray<z.ZodObject<{
10061
10169
  address: z.ZodString;
10062
10170
  authority: z.ZodString;
10063
- closedAt: z.ZodOptional<z.ZodUnion<readonly [z.ZodISODateTime, z.ZodNull]>>;
10171
+ closedAt: z.ZodOptional<z.ZodUnion<readonly [z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodISODateTime>, z.ZodNull]>>;
10064
10172
  collateralToken: z.ZodEnum<{
10065
10173
  a: "a";
10066
10174
  b: "b";
@@ -10086,7 +10194,7 @@ declare const zGetSpotPositionsResponse: z.ZodObject<{
10086
10194
  fusion: "fusion";
10087
10195
  }>;
10088
10196
  maxLeverage: z.ZodNumber;
10089
- openedAt: z.ZodISODateTime;
10197
+ openedAt: z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodISODateTime>;
10090
10198
  pnlUsd: z.ZodObject<{
10091
10199
  amount: z.ZodNumber;
10092
10200
  rate: z.ZodNumber;
@@ -10159,7 +10267,7 @@ declare const zGetSpotPositionResponse: z.ZodObject<{
10159
10267
  data: z.ZodObject<{
10160
10268
  address: z.ZodString;
10161
10269
  authority: z.ZodString;
10162
- closedAt: z.ZodOptional<z.ZodUnion<readonly [z.ZodISODateTime, z.ZodNull]>>;
10270
+ closedAt: z.ZodOptional<z.ZodUnion<readonly [z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodISODateTime>, z.ZodNull]>>;
10163
10271
  collateralToken: z.ZodEnum<{
10164
10272
  a: "a";
10165
10273
  b: "b";
@@ -10185,7 +10293,7 @@ declare const zGetSpotPositionResponse: z.ZodObject<{
10185
10293
  fusion: "fusion";
10186
10294
  }>;
10187
10295
  maxLeverage: z.ZodNumber;
10188
- openedAt: z.ZodISODateTime;
10296
+ openedAt: z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodISODateTime>;
10189
10297
  pnlUsd: z.ZodObject<{
10190
10298
  amount: z.ZodNumber;
10191
10299
  rate: z.ZodNumber;
@@ -10260,7 +10368,7 @@ declare const zGetUserStakingPositionResponse: z.ZodObject<{
10260
10368
  amount: z.ZodCoercedBigInt<unknown>;
10261
10369
  usd: z.ZodNumber;
10262
10370
  }, z.core.$strip>;
10263
- lastUnstakedAt: z.ZodOptional<z.ZodUnion<readonly [z.ZodISODateTime, z.ZodNull]>>;
10371
+ lastUnstakedAt: z.ZodOptional<z.ZodUnion<readonly [z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodISODateTime>, z.ZodNull]>>;
10264
10372
  owner: z.ZodString;
10265
10373
  rank: z.ZodOptional<z.ZodUnion<readonly [z.ZodInt, z.ZodNull]>>;
10266
10374
  staked: z.ZodObject<{
@@ -10280,7 +10388,7 @@ declare const zGetUserStakingPositionResponse: z.ZodObject<{
10280
10388
  amount: z.ZodCoercedBigInt<unknown>;
10281
10389
  usd: z.ZodNumber;
10282
10390
  }, z.core.$strip>;
10283
- lockedAt: z.ZodOptional<z.ZodUnion<readonly [z.ZodISODateTime, z.ZodNull]>>;
10391
+ lockedAt: z.ZodOptional<z.ZodUnion<readonly [z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodISODateTime>, z.ZodNull]>>;
10284
10392
  unlockCliffSeconds: z.ZodInt;
10285
10393
  unlockEverySeconds: z.ZodInt;
10286
10394
  unlockRate: z.ZodCoercedBigInt<unknown>;
@@ -10289,7 +10397,7 @@ declare const zGetUserStakingPositionResponse: z.ZodObject<{
10289
10397
  usd: z.ZodNumber;
10290
10398
  }, z.core.$strip>;
10291
10399
  }, z.core.$strip>;
10292
- withdrawAvailableAt: z.ZodOptional<z.ZodUnion<readonly [z.ZodISODateTime, z.ZodNull]>>;
10400
+ withdrawAvailableAt: z.ZodOptional<z.ZodUnion<readonly [z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodISODateTime>, z.ZodNull]>>;
10293
10401
  }, z.core.$strip>;
10294
10402
  }, z.core.$strip>;
10295
10403
  type GetUserStakingPositionResponseZodType = z.infer<typeof zGetUserStakingPositionResponse>;
@@ -10311,7 +10419,7 @@ declare const zGetUserStakingPositionHistoryResponse: z.ZodObject<{
10311
10419
  }>;
10312
10420
  amount: z.ZodCoercedBigInt<unknown>;
10313
10421
  position: z.ZodString;
10314
- time: z.ZodISODateTime;
10422
+ time: z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodISODateTime>;
10315
10423
  txSignature: z.ZodString;
10316
10424
  }, z.core.$strip>>;
10317
10425
  }, z.core.$strip>;
@@ -10418,7 +10526,7 @@ declare const zGetTradeHistoryResponse: z.ZodObject<{
10418
10526
  usd: z.ZodNumber;
10419
10527
  }, z.core.$strip>;
10420
10528
  slot: z.ZodCoercedBigInt<unknown>;
10421
- ts: z.ZodISODateTime;
10529
+ ts: z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodISODateTime>;
10422
10530
  txSignature: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNull]>>;
10423
10531
  uiDirection: z.ZodEnum<{
10424
10532
  buy: "buy";
@@ -10443,7 +10551,7 @@ declare const zGetTunaPositionsResponse: z.ZodObject<{
10443
10551
  data: z.ZodArray<z.ZodObject<{
10444
10552
  address: z.ZodString;
10445
10553
  authority: z.ZodString;
10446
- closedAt: z.ZodOptional<z.ZodUnion<readonly [z.ZodISODateTime, z.ZodNull]>>;
10554
+ closedAt: z.ZodOptional<z.ZodUnion<readonly [z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodISODateTime>, z.ZodNull]>>;
10447
10555
  compoundedYieldA: z.ZodObject<{
10448
10556
  amount: z.ZodCoercedBigInt<unknown>;
10449
10557
  usd: z.ZodNumber;
@@ -10510,7 +10618,7 @@ declare const zGetTunaPositionsResponse: z.ZodObject<{
10510
10618
  fusion: "fusion";
10511
10619
  }>;
10512
10620
  maxLeverage: z.ZodNumber;
10513
- openedAt: z.ZodISODateTime;
10621
+ openedAt: z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodISODateTime>;
10514
10622
  pnlA: z.ZodObject<{
10515
10623
  amount: z.ZodString;
10516
10624
  rate: z.ZodNumber;
@@ -10604,7 +10712,7 @@ declare const zGetTunaPositionResponse: z.ZodObject<{
10604
10712
  data: z.ZodUnion<readonly [z.ZodNull, z.ZodObject<{
10605
10713
  address: z.ZodString;
10606
10714
  authority: z.ZodString;
10607
- closedAt: z.ZodOptional<z.ZodUnion<readonly [z.ZodISODateTime, z.ZodNull]>>;
10715
+ closedAt: z.ZodOptional<z.ZodUnion<readonly [z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodISODateTime>, z.ZodNull]>>;
10608
10716
  compoundedYieldA: z.ZodObject<{
10609
10717
  amount: z.ZodCoercedBigInt<unknown>;
10610
10718
  usd: z.ZodNumber;
@@ -10671,7 +10779,7 @@ declare const zGetTunaPositionResponse: z.ZodObject<{
10671
10779
  fusion: "fusion";
10672
10780
  }>;
10673
10781
  maxLeverage: z.ZodNumber;
10674
- openedAt: z.ZodISODateTime;
10782
+ openedAt: z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodISODateTime>;
10675
10783
  pnlA: z.ZodObject<{
10676
10784
  amount: z.ZodString;
10677
10785
  rate: z.ZodNumber;
@@ -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 };