@crypticdot/defituna-api 4.0.5 → 4.0.6
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.cjs +10 -6
- package/dist/index.d.cts +52 -26
- package/dist/index.d.ts +52 -26
- package/dist/index.js +10 -6
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -1001,9 +1001,11 @@ var TunaLpPositionsActionType = {
|
|
|
1001
1001
|
};
|
|
1002
1002
|
var TunaPositionDtoState = {
|
|
1003
1003
|
OPEN: "open",
|
|
1004
|
-
|
|
1005
|
-
|
|
1006
|
-
CLOSED: "closed"
|
|
1004
|
+
LIQUIDATION_WITHDRAW: "liquidation_withdraw",
|
|
1005
|
+
LIMIT_ORDER_WITHDRAW: "limit_order_withdraw",
|
|
1006
|
+
CLOSED: "closed",
|
|
1007
|
+
LIQUIDATION_CLOSED: "liquidation_closed",
|
|
1008
|
+
LIMIT_ORDER_CLOSED: "limit_order_closed"
|
|
1007
1009
|
};
|
|
1008
1010
|
var TunaPositionMarketMaker = { FUSION: "fusion", ORCA: "orca" };
|
|
1009
1011
|
var TunaPositionPoolToken = { A: "a", B: "b" };
|
|
@@ -16255,9 +16257,11 @@ var zTunaLpPositionsStats = external_exports.object({
|
|
|
16255
16257
|
});
|
|
16256
16258
|
var zTunaPositionDtoState = external_exports.enum([
|
|
16257
16259
|
"open",
|
|
16258
|
-
"
|
|
16259
|
-
"
|
|
16260
|
-
"closed"
|
|
16260
|
+
"liquidation_withdraw",
|
|
16261
|
+
"limit_order_withdraw",
|
|
16262
|
+
"closed",
|
|
16263
|
+
"liquidation_closed",
|
|
16264
|
+
"limit_order_closed"
|
|
16261
16265
|
]);
|
|
16262
16266
|
var zTunaPositionMarketMaker = external_exports.enum(["fusion", "orca"]);
|
|
16263
16267
|
var zTunaPositionPoolToken = external_exports.enum(["a", "b"]);
|
package/dist/index.d.cts
CHANGED
|
@@ -1337,9 +1337,11 @@ type TunaPositionDto = {
|
|
|
1337
1337
|
};
|
|
1338
1338
|
declare const TunaPositionDtoState: {
|
|
1339
1339
|
readonly OPEN: "open";
|
|
1340
|
-
readonly
|
|
1341
|
-
readonly
|
|
1340
|
+
readonly LIQUIDATION_WITHDRAW: "liquidation_withdraw";
|
|
1341
|
+
readonly LIMIT_ORDER_WITHDRAW: "limit_order_withdraw";
|
|
1342
1342
|
readonly CLOSED: "closed";
|
|
1343
|
+
readonly LIQUIDATION_CLOSED: "liquidation_closed";
|
|
1344
|
+
readonly LIMIT_ORDER_CLOSED: "limit_order_closed";
|
|
1343
1345
|
};
|
|
1344
1346
|
type TunaPositionDtoState = typeof TunaPositionDtoState[keyof typeof TunaPositionDtoState];
|
|
1345
1347
|
declare const TunaPositionMarketMaker: {
|
|
@@ -4035,9 +4037,11 @@ declare const zTunaLpPositionsStats: z.ZodObject<{
|
|
|
4035
4037
|
}, z.core.$strip>;
|
|
4036
4038
|
declare const zTunaPositionDtoState: z.ZodEnum<{
|
|
4037
4039
|
open: "open";
|
|
4038
|
-
|
|
4039
|
-
|
|
4040
|
+
liquidation_withdraw: "liquidation_withdraw";
|
|
4041
|
+
limit_order_withdraw: "limit_order_withdraw";
|
|
4040
4042
|
closed: "closed";
|
|
4043
|
+
liquidation_closed: "liquidation_closed";
|
|
4044
|
+
limit_order_closed: "limit_order_closed";
|
|
4041
4045
|
}>;
|
|
4042
4046
|
declare const zTunaPositionMarketMaker: z.ZodEnum<{
|
|
4043
4047
|
orca: "orca";
|
|
@@ -4180,9 +4184,11 @@ declare const zTunaLpPositionDto: z.ZodObject<{
|
|
|
4180
4184
|
realizedYieldUsd: z.ZodNumber;
|
|
4181
4185
|
state: z.ZodEnum<{
|
|
4182
4186
|
open: "open";
|
|
4183
|
-
|
|
4184
|
-
|
|
4187
|
+
liquidation_withdraw: "liquidation_withdraw";
|
|
4188
|
+
limit_order_withdraw: "limit_order_withdraw";
|
|
4185
4189
|
closed: "closed";
|
|
4190
|
+
liquidation_closed: "liquidation_closed";
|
|
4191
|
+
limit_order_closed: "limit_order_closed";
|
|
4186
4192
|
}>;
|
|
4187
4193
|
totalDepositUsd: z.ZodNumber;
|
|
4188
4194
|
totalValueUsd: z.ZodNumber;
|
|
@@ -5409,9 +5415,11 @@ declare const zTunaPositionDto: z.ZodObject<{
|
|
|
5409
5415
|
positionMint: z.ZodString;
|
|
5410
5416
|
state: z.ZodEnum<{
|
|
5411
5417
|
open: "open";
|
|
5412
|
-
|
|
5413
|
-
|
|
5418
|
+
liquidation_withdraw: "liquidation_withdraw";
|
|
5419
|
+
limit_order_withdraw: "limit_order_withdraw";
|
|
5414
5420
|
closed: "closed";
|
|
5421
|
+
liquidation_closed: "liquidation_closed";
|
|
5422
|
+
limit_order_closed: "limit_order_closed";
|
|
5415
5423
|
}>;
|
|
5416
5424
|
tickLowerIndex: z.ZodInt;
|
|
5417
5425
|
tickUpperIndex: z.ZodInt;
|
|
@@ -5811,9 +5819,11 @@ declare const zSnapshot: z.ZodObject<{
|
|
|
5811
5819
|
positionMint: z.ZodString;
|
|
5812
5820
|
state: z.ZodEnum<{
|
|
5813
5821
|
open: "open";
|
|
5814
|
-
|
|
5815
|
-
|
|
5822
|
+
liquidation_withdraw: "liquidation_withdraw";
|
|
5823
|
+
limit_order_withdraw: "limit_order_withdraw";
|
|
5816
5824
|
closed: "closed";
|
|
5825
|
+
liquidation_closed: "liquidation_closed";
|
|
5826
|
+
limit_order_closed: "limit_order_closed";
|
|
5817
5827
|
}>;
|
|
5818
5828
|
tickLowerIndex: z.ZodInt;
|
|
5819
5829
|
tickUpperIndex: z.ZodInt;
|
|
@@ -6216,9 +6226,11 @@ declare const zSnapshotContainer: z.ZodObject<{
|
|
|
6216
6226
|
positionMint: z.ZodString;
|
|
6217
6227
|
state: z.ZodEnum<{
|
|
6218
6228
|
open: "open";
|
|
6219
|
-
|
|
6220
|
-
|
|
6229
|
+
liquidation_withdraw: "liquidation_withdraw";
|
|
6230
|
+
limit_order_withdraw: "limit_order_withdraw";
|
|
6221
6231
|
closed: "closed";
|
|
6232
|
+
liquidation_closed: "liquidation_closed";
|
|
6233
|
+
limit_order_closed: "limit_order_closed";
|
|
6222
6234
|
}>;
|
|
6223
6235
|
tickLowerIndex: z.ZodInt;
|
|
6224
6236
|
tickUpperIndex: z.ZodInt;
|
|
@@ -6624,9 +6636,11 @@ declare const zSseResponseSnapshot: z.ZodIntersection<z.ZodObject<{
|
|
|
6624
6636
|
positionMint: z.ZodString;
|
|
6625
6637
|
state: z.ZodEnum<{
|
|
6626
6638
|
open: "open";
|
|
6627
|
-
|
|
6628
|
-
|
|
6639
|
+
liquidation_withdraw: "liquidation_withdraw";
|
|
6640
|
+
limit_order_withdraw: "limit_order_withdraw";
|
|
6629
6641
|
closed: "closed";
|
|
6642
|
+
liquidation_closed: "liquidation_closed";
|
|
6643
|
+
limit_order_closed: "limit_order_closed";
|
|
6630
6644
|
}>;
|
|
6631
6645
|
tickLowerIndex: z.ZodInt;
|
|
6632
6646
|
tickUpperIndex: z.ZodInt;
|
|
@@ -7710,9 +7724,11 @@ declare const zSseResponse: z.ZodUnion<readonly [z.ZodIntersection<z.ZodObject<{
|
|
|
7710
7724
|
positionMint: z.ZodString;
|
|
7711
7725
|
state: z.ZodEnum<{
|
|
7712
7726
|
open: "open";
|
|
7713
|
-
|
|
7714
|
-
|
|
7727
|
+
liquidation_withdraw: "liquidation_withdraw";
|
|
7728
|
+
limit_order_withdraw: "limit_order_withdraw";
|
|
7715
7729
|
closed: "closed";
|
|
7730
|
+
liquidation_closed: "liquidation_closed";
|
|
7731
|
+
limit_order_closed: "limit_order_closed";
|
|
7716
7732
|
}>;
|
|
7717
7733
|
tickLowerIndex: z.ZodInt;
|
|
7718
7734
|
tickUpperIndex: z.ZodInt;
|
|
@@ -9379,9 +9395,11 @@ declare const zSseResponse2: z.ZodUnion<readonly [z.ZodIntersection<z.ZodObject<
|
|
|
9379
9395
|
positionMint: z.ZodString;
|
|
9380
9396
|
state: z.ZodEnum<{
|
|
9381
9397
|
open: "open";
|
|
9382
|
-
|
|
9383
|
-
|
|
9398
|
+
liquidation_withdraw: "liquidation_withdraw";
|
|
9399
|
+
limit_order_withdraw: "limit_order_withdraw";
|
|
9384
9400
|
closed: "closed";
|
|
9401
|
+
liquidation_closed: "liquidation_closed";
|
|
9402
|
+
limit_order_closed: "limit_order_closed";
|
|
9385
9403
|
}>;
|
|
9386
9404
|
tickLowerIndex: z.ZodInt;
|
|
9387
9405
|
tickUpperIndex: z.ZodInt;
|
|
@@ -9770,9 +9788,11 @@ declare const zGetLpPositionsData: z.ZodObject<{
|
|
|
9770
9788
|
liquidityPool: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
9771
9789
|
state: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
9772
9790
|
open: "open";
|
|
9773
|
-
|
|
9774
|
-
|
|
9791
|
+
liquidation_withdraw: "liquidation_withdraw";
|
|
9792
|
+
limit_order_withdraw: "limit_order_withdraw";
|
|
9775
9793
|
closed: "closed";
|
|
9794
|
+
liquidation_closed: "liquidation_closed";
|
|
9795
|
+
limit_order_closed: "limit_order_closed";
|
|
9776
9796
|
}>>>;
|
|
9777
9797
|
afterPosition: z.ZodOptional<z.ZodString>;
|
|
9778
9798
|
limit: z.ZodOptional<z.ZodInt>;
|
|
@@ -9838,9 +9858,11 @@ declare const zGetLpPositionsResponse: z.ZodObject<{
|
|
|
9838
9858
|
realizedYieldUsd: z.ZodNumber;
|
|
9839
9859
|
state: z.ZodEnum<{
|
|
9840
9860
|
open: "open";
|
|
9841
|
-
|
|
9842
|
-
|
|
9861
|
+
liquidation_withdraw: "liquidation_withdraw";
|
|
9862
|
+
limit_order_withdraw: "limit_order_withdraw";
|
|
9843
9863
|
closed: "closed";
|
|
9864
|
+
liquidation_closed: "liquidation_closed";
|
|
9865
|
+
limit_order_closed: "limit_order_closed";
|
|
9844
9866
|
}>;
|
|
9845
9867
|
totalDepositUsd: z.ZodNumber;
|
|
9846
9868
|
totalValueUsd: z.ZodNumber;
|
|
@@ -10680,9 +10702,11 @@ declare const zGetTunaPositionsResponse: z.ZodObject<{
|
|
|
10680
10702
|
positionMint: z.ZodString;
|
|
10681
10703
|
state: z.ZodEnum<{
|
|
10682
10704
|
open: "open";
|
|
10683
|
-
|
|
10684
|
-
|
|
10705
|
+
liquidation_withdraw: "liquidation_withdraw";
|
|
10706
|
+
limit_order_withdraw: "limit_order_withdraw";
|
|
10685
10707
|
closed: "closed";
|
|
10708
|
+
liquidation_closed: "liquidation_closed";
|
|
10709
|
+
limit_order_closed: "limit_order_closed";
|
|
10686
10710
|
}>;
|
|
10687
10711
|
tickLowerIndex: z.ZodInt;
|
|
10688
10712
|
tickUpperIndex: z.ZodInt;
|
|
@@ -10841,9 +10865,11 @@ declare const zGetTunaPositionResponse: z.ZodObject<{
|
|
|
10841
10865
|
positionMint: z.ZodString;
|
|
10842
10866
|
state: z.ZodEnum<{
|
|
10843
10867
|
open: "open";
|
|
10844
|
-
|
|
10845
|
-
|
|
10868
|
+
liquidation_withdraw: "liquidation_withdraw";
|
|
10869
|
+
limit_order_withdraw: "limit_order_withdraw";
|
|
10846
10870
|
closed: "closed";
|
|
10871
|
+
liquidation_closed: "liquidation_closed";
|
|
10872
|
+
limit_order_closed: "limit_order_closed";
|
|
10847
10873
|
}>;
|
|
10848
10874
|
tickLowerIndex: z.ZodInt;
|
|
10849
10875
|
tickUpperIndex: z.ZodInt;
|
package/dist/index.d.ts
CHANGED
|
@@ -1337,9 +1337,11 @@ type TunaPositionDto = {
|
|
|
1337
1337
|
};
|
|
1338
1338
|
declare const TunaPositionDtoState: {
|
|
1339
1339
|
readonly OPEN: "open";
|
|
1340
|
-
readonly
|
|
1341
|
-
readonly
|
|
1340
|
+
readonly LIQUIDATION_WITHDRAW: "liquidation_withdraw";
|
|
1341
|
+
readonly LIMIT_ORDER_WITHDRAW: "limit_order_withdraw";
|
|
1342
1342
|
readonly CLOSED: "closed";
|
|
1343
|
+
readonly LIQUIDATION_CLOSED: "liquidation_closed";
|
|
1344
|
+
readonly LIMIT_ORDER_CLOSED: "limit_order_closed";
|
|
1343
1345
|
};
|
|
1344
1346
|
type TunaPositionDtoState = typeof TunaPositionDtoState[keyof typeof TunaPositionDtoState];
|
|
1345
1347
|
declare const TunaPositionMarketMaker: {
|
|
@@ -4035,9 +4037,11 @@ declare const zTunaLpPositionsStats: z.ZodObject<{
|
|
|
4035
4037
|
}, z.core.$strip>;
|
|
4036
4038
|
declare const zTunaPositionDtoState: z.ZodEnum<{
|
|
4037
4039
|
open: "open";
|
|
4038
|
-
|
|
4039
|
-
|
|
4040
|
+
liquidation_withdraw: "liquidation_withdraw";
|
|
4041
|
+
limit_order_withdraw: "limit_order_withdraw";
|
|
4040
4042
|
closed: "closed";
|
|
4043
|
+
liquidation_closed: "liquidation_closed";
|
|
4044
|
+
limit_order_closed: "limit_order_closed";
|
|
4041
4045
|
}>;
|
|
4042
4046
|
declare const zTunaPositionMarketMaker: z.ZodEnum<{
|
|
4043
4047
|
orca: "orca";
|
|
@@ -4180,9 +4184,11 @@ declare const zTunaLpPositionDto: z.ZodObject<{
|
|
|
4180
4184
|
realizedYieldUsd: z.ZodNumber;
|
|
4181
4185
|
state: z.ZodEnum<{
|
|
4182
4186
|
open: "open";
|
|
4183
|
-
|
|
4184
|
-
|
|
4187
|
+
liquidation_withdraw: "liquidation_withdraw";
|
|
4188
|
+
limit_order_withdraw: "limit_order_withdraw";
|
|
4185
4189
|
closed: "closed";
|
|
4190
|
+
liquidation_closed: "liquidation_closed";
|
|
4191
|
+
limit_order_closed: "limit_order_closed";
|
|
4186
4192
|
}>;
|
|
4187
4193
|
totalDepositUsd: z.ZodNumber;
|
|
4188
4194
|
totalValueUsd: z.ZodNumber;
|
|
@@ -5409,9 +5415,11 @@ declare const zTunaPositionDto: z.ZodObject<{
|
|
|
5409
5415
|
positionMint: z.ZodString;
|
|
5410
5416
|
state: z.ZodEnum<{
|
|
5411
5417
|
open: "open";
|
|
5412
|
-
|
|
5413
|
-
|
|
5418
|
+
liquidation_withdraw: "liquidation_withdraw";
|
|
5419
|
+
limit_order_withdraw: "limit_order_withdraw";
|
|
5414
5420
|
closed: "closed";
|
|
5421
|
+
liquidation_closed: "liquidation_closed";
|
|
5422
|
+
limit_order_closed: "limit_order_closed";
|
|
5415
5423
|
}>;
|
|
5416
5424
|
tickLowerIndex: z.ZodInt;
|
|
5417
5425
|
tickUpperIndex: z.ZodInt;
|
|
@@ -5811,9 +5819,11 @@ declare const zSnapshot: z.ZodObject<{
|
|
|
5811
5819
|
positionMint: z.ZodString;
|
|
5812
5820
|
state: z.ZodEnum<{
|
|
5813
5821
|
open: "open";
|
|
5814
|
-
|
|
5815
|
-
|
|
5822
|
+
liquidation_withdraw: "liquidation_withdraw";
|
|
5823
|
+
limit_order_withdraw: "limit_order_withdraw";
|
|
5816
5824
|
closed: "closed";
|
|
5825
|
+
liquidation_closed: "liquidation_closed";
|
|
5826
|
+
limit_order_closed: "limit_order_closed";
|
|
5817
5827
|
}>;
|
|
5818
5828
|
tickLowerIndex: z.ZodInt;
|
|
5819
5829
|
tickUpperIndex: z.ZodInt;
|
|
@@ -6216,9 +6226,11 @@ declare const zSnapshotContainer: z.ZodObject<{
|
|
|
6216
6226
|
positionMint: z.ZodString;
|
|
6217
6227
|
state: z.ZodEnum<{
|
|
6218
6228
|
open: "open";
|
|
6219
|
-
|
|
6220
|
-
|
|
6229
|
+
liquidation_withdraw: "liquidation_withdraw";
|
|
6230
|
+
limit_order_withdraw: "limit_order_withdraw";
|
|
6221
6231
|
closed: "closed";
|
|
6232
|
+
liquidation_closed: "liquidation_closed";
|
|
6233
|
+
limit_order_closed: "limit_order_closed";
|
|
6222
6234
|
}>;
|
|
6223
6235
|
tickLowerIndex: z.ZodInt;
|
|
6224
6236
|
tickUpperIndex: z.ZodInt;
|
|
@@ -6624,9 +6636,11 @@ declare const zSseResponseSnapshot: z.ZodIntersection<z.ZodObject<{
|
|
|
6624
6636
|
positionMint: z.ZodString;
|
|
6625
6637
|
state: z.ZodEnum<{
|
|
6626
6638
|
open: "open";
|
|
6627
|
-
|
|
6628
|
-
|
|
6639
|
+
liquidation_withdraw: "liquidation_withdraw";
|
|
6640
|
+
limit_order_withdraw: "limit_order_withdraw";
|
|
6629
6641
|
closed: "closed";
|
|
6642
|
+
liquidation_closed: "liquidation_closed";
|
|
6643
|
+
limit_order_closed: "limit_order_closed";
|
|
6630
6644
|
}>;
|
|
6631
6645
|
tickLowerIndex: z.ZodInt;
|
|
6632
6646
|
tickUpperIndex: z.ZodInt;
|
|
@@ -7710,9 +7724,11 @@ declare const zSseResponse: z.ZodUnion<readonly [z.ZodIntersection<z.ZodObject<{
|
|
|
7710
7724
|
positionMint: z.ZodString;
|
|
7711
7725
|
state: z.ZodEnum<{
|
|
7712
7726
|
open: "open";
|
|
7713
|
-
|
|
7714
|
-
|
|
7727
|
+
liquidation_withdraw: "liquidation_withdraw";
|
|
7728
|
+
limit_order_withdraw: "limit_order_withdraw";
|
|
7715
7729
|
closed: "closed";
|
|
7730
|
+
liquidation_closed: "liquidation_closed";
|
|
7731
|
+
limit_order_closed: "limit_order_closed";
|
|
7716
7732
|
}>;
|
|
7717
7733
|
tickLowerIndex: z.ZodInt;
|
|
7718
7734
|
tickUpperIndex: z.ZodInt;
|
|
@@ -9379,9 +9395,11 @@ declare const zSseResponse2: z.ZodUnion<readonly [z.ZodIntersection<z.ZodObject<
|
|
|
9379
9395
|
positionMint: z.ZodString;
|
|
9380
9396
|
state: z.ZodEnum<{
|
|
9381
9397
|
open: "open";
|
|
9382
|
-
|
|
9383
|
-
|
|
9398
|
+
liquidation_withdraw: "liquidation_withdraw";
|
|
9399
|
+
limit_order_withdraw: "limit_order_withdraw";
|
|
9384
9400
|
closed: "closed";
|
|
9401
|
+
liquidation_closed: "liquidation_closed";
|
|
9402
|
+
limit_order_closed: "limit_order_closed";
|
|
9385
9403
|
}>;
|
|
9386
9404
|
tickLowerIndex: z.ZodInt;
|
|
9387
9405
|
tickUpperIndex: z.ZodInt;
|
|
@@ -9770,9 +9788,11 @@ declare const zGetLpPositionsData: z.ZodObject<{
|
|
|
9770
9788
|
liquidityPool: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
9771
9789
|
state: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
9772
9790
|
open: "open";
|
|
9773
|
-
|
|
9774
|
-
|
|
9791
|
+
liquidation_withdraw: "liquidation_withdraw";
|
|
9792
|
+
limit_order_withdraw: "limit_order_withdraw";
|
|
9775
9793
|
closed: "closed";
|
|
9794
|
+
liquidation_closed: "liquidation_closed";
|
|
9795
|
+
limit_order_closed: "limit_order_closed";
|
|
9776
9796
|
}>>>;
|
|
9777
9797
|
afterPosition: z.ZodOptional<z.ZodString>;
|
|
9778
9798
|
limit: z.ZodOptional<z.ZodInt>;
|
|
@@ -9838,9 +9858,11 @@ declare const zGetLpPositionsResponse: z.ZodObject<{
|
|
|
9838
9858
|
realizedYieldUsd: z.ZodNumber;
|
|
9839
9859
|
state: z.ZodEnum<{
|
|
9840
9860
|
open: "open";
|
|
9841
|
-
|
|
9842
|
-
|
|
9861
|
+
liquidation_withdraw: "liquidation_withdraw";
|
|
9862
|
+
limit_order_withdraw: "limit_order_withdraw";
|
|
9843
9863
|
closed: "closed";
|
|
9864
|
+
liquidation_closed: "liquidation_closed";
|
|
9865
|
+
limit_order_closed: "limit_order_closed";
|
|
9844
9866
|
}>;
|
|
9845
9867
|
totalDepositUsd: z.ZodNumber;
|
|
9846
9868
|
totalValueUsd: z.ZodNumber;
|
|
@@ -10680,9 +10702,11 @@ declare const zGetTunaPositionsResponse: z.ZodObject<{
|
|
|
10680
10702
|
positionMint: z.ZodString;
|
|
10681
10703
|
state: z.ZodEnum<{
|
|
10682
10704
|
open: "open";
|
|
10683
|
-
|
|
10684
|
-
|
|
10705
|
+
liquidation_withdraw: "liquidation_withdraw";
|
|
10706
|
+
limit_order_withdraw: "limit_order_withdraw";
|
|
10685
10707
|
closed: "closed";
|
|
10708
|
+
liquidation_closed: "liquidation_closed";
|
|
10709
|
+
limit_order_closed: "limit_order_closed";
|
|
10686
10710
|
}>;
|
|
10687
10711
|
tickLowerIndex: z.ZodInt;
|
|
10688
10712
|
tickUpperIndex: z.ZodInt;
|
|
@@ -10841,9 +10865,11 @@ declare const zGetTunaPositionResponse: z.ZodObject<{
|
|
|
10841
10865
|
positionMint: z.ZodString;
|
|
10842
10866
|
state: z.ZodEnum<{
|
|
10843
10867
|
open: "open";
|
|
10844
|
-
|
|
10845
|
-
|
|
10868
|
+
liquidation_withdraw: "liquidation_withdraw";
|
|
10869
|
+
limit_order_withdraw: "limit_order_withdraw";
|
|
10846
10870
|
closed: "closed";
|
|
10871
|
+
liquidation_closed: "liquidation_closed";
|
|
10872
|
+
limit_order_closed: "limit_order_closed";
|
|
10847
10873
|
}>;
|
|
10848
10874
|
tickLowerIndex: z.ZodInt;
|
|
10849
10875
|
tickUpperIndex: z.ZodInt;
|
package/dist/index.js
CHANGED
|
@@ -715,9 +715,11 @@ var TunaLpPositionsActionType = {
|
|
|
715
715
|
};
|
|
716
716
|
var TunaPositionDtoState = {
|
|
717
717
|
OPEN: "open",
|
|
718
|
-
|
|
719
|
-
|
|
720
|
-
CLOSED: "closed"
|
|
718
|
+
LIQUIDATION_WITHDRAW: "liquidation_withdraw",
|
|
719
|
+
LIMIT_ORDER_WITHDRAW: "limit_order_withdraw",
|
|
720
|
+
CLOSED: "closed",
|
|
721
|
+
LIQUIDATION_CLOSED: "liquidation_closed",
|
|
722
|
+
LIMIT_ORDER_CLOSED: "limit_order_closed"
|
|
721
723
|
};
|
|
722
724
|
var TunaPositionMarketMaker = { FUSION: "fusion", ORCA: "orca" };
|
|
723
725
|
var TunaPositionPoolToken = { A: "a", B: "b" };
|
|
@@ -15969,9 +15971,11 @@ var zTunaLpPositionsStats = external_exports.object({
|
|
|
15969
15971
|
});
|
|
15970
15972
|
var zTunaPositionDtoState = external_exports.enum([
|
|
15971
15973
|
"open",
|
|
15972
|
-
"
|
|
15973
|
-
"
|
|
15974
|
-
"closed"
|
|
15974
|
+
"liquidation_withdraw",
|
|
15975
|
+
"limit_order_withdraw",
|
|
15976
|
+
"closed",
|
|
15977
|
+
"liquidation_closed",
|
|
15978
|
+
"limit_order_closed"
|
|
15975
15979
|
]);
|
|
15976
15980
|
var zTunaPositionMarketMaker = external_exports.enum(["fusion", "orca"]);
|
|
15977
15981
|
var zTunaPositionPoolToken = external_exports.enum(["a", "b"]);
|