@polyester/sdk 0.34.0-devnet-20261105175510 → 0.34.0
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/CHANGELOG.md +1 -1
- package/dist/services/heatmap/heatmap.schemas.d.ts +4 -4
- package/dist/services/lifecycle/lifecycle.schemas.d.ts +40 -40
- package/dist/services/orderbook/orderbook.schemas.d.ts +1 -1
- package/dist/services/orders/order-errors.schemas.d.ts +1 -1
- package/dist/services/orders/orders-batch.schemas.d.ts +27 -27
- package/dist/services/orders/orders-input.schemas.d.ts +3 -3
- package/dist/services/subaccounts/subaccounts.schemas.d.ts +1 -1
- package/dist/services/trades/trades.schemas.d.ts +1 -1
- package/dist/shared/rate-limit.schemas.d.ts +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -14,7 +14,7 @@ type TimestampInit = {
|
|
|
14
14
|
declare const GetOrderbookHeatmapInputSchema: v.SchemaWithPipe<readonly [v.ObjectSchema<{
|
|
15
15
|
readonly symbolId: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.GtValueAction<number, 0, undefined>, v.MaxValueAction<number, 4294967295, undefined>]>;
|
|
16
16
|
readonly interval: v.SchemaWithPipe<readonly [v.OptionalSchema<v.PicklistSchema<readonly ["1s", "1m", "5m", "1h"], undefined>, "1s">, v.TransformAction<"1s" | "1m" | "5m" | "1h", HeatmapInterval>]>;
|
|
17
|
-
readonly depth: v.SchemaWithPipe<readonly [v.OptionalSchema<v.PicklistSchema<readonly [1, 5, 10, 20, 50, 100, 200, 500, 1000], undefined>, 50>, v.TransformAction<1 |
|
|
17
|
+
readonly depth: v.SchemaWithPipe<readonly [v.OptionalSchema<v.PicklistSchema<readonly [1, 5, 10, 20, 50, 100, 200, 500, 1000], undefined>, 50>, v.TransformAction<1 | 5 | 10 | 20 | 100 | 500 | 1000 | 200 | 50, HeatmapDepth>]>;
|
|
18
18
|
readonly quantityMode: v.SchemaWithPipe<readonly [v.OptionalSchema<v.PicklistSchema<readonly ["close", "peak"], undefined>, "close">, v.TransformAction<"close" | "peak", HeatmapQuantityMode>]>;
|
|
19
19
|
readonly limit: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.GtValueAction<number, 0, undefined>, v.MaxValueAction<number, 20000, undefined>]>;
|
|
20
20
|
readonly startTsSec: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>, v.MaxValueAction<number, number, undefined>, v.TransformAction<number, bigint>]>, undefined>;
|
|
@@ -227,7 +227,7 @@ type OrderbookHeatmapDeltaChain = ReturnType<typeof convertHeatmapDeltaChain>;
|
|
|
227
227
|
declare function createOrderbookHeatmapResponseSchema(scales: SdkScales): v.SchemaWithPipe<readonly [v.ObjectSchema<{
|
|
228
228
|
readonly symbolId: v.NumberSchema<undefined>;
|
|
229
229
|
readonly interval: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, DecodedEnum<"1s" | "1m" | "5m" | "1h">>]>;
|
|
230
|
-
readonly depth: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, 1 |
|
|
230
|
+
readonly depth: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, 1 | 5 | 10 | 20 | "unspecified" | 100 | 500 | 1000 | 200 | 50>]>;
|
|
231
231
|
readonly chain: v.OptionalSchema<v.ObjectSchema<{
|
|
232
232
|
readonly baseKeyframe: v.OptionalSchema<v.ObjectSchema<{
|
|
233
233
|
readonly tsSec: v.SchemaWithPipe<readonly [v.BigintSchema<undefined>, v.TransformAction<bigint, number>]>;
|
|
@@ -287,7 +287,7 @@ declare function createOrderbookHeatmapResponseSchema(scales: SdkScales): v.Sche
|
|
|
287
287
|
}, undefined>, v.TransformAction<{
|
|
288
288
|
symbolId: number;
|
|
289
289
|
interval: DecodedEnum<"1s" | "1m" | "5m" | "1h">;
|
|
290
|
-
depth: 1 |
|
|
290
|
+
depth: 1 | 5 | 10 | 20 | "unspecified" | 100 | 500 | 1000 | 200 | 50;
|
|
291
291
|
chain?: {
|
|
292
292
|
baseKeyframe?: {
|
|
293
293
|
tsSec: number;
|
|
@@ -347,7 +347,7 @@ declare function createOrderbookHeatmapResponseSchema(scales: SdkScales): v.Sche
|
|
|
347
347
|
}, {
|
|
348
348
|
symbolId: number;
|
|
349
349
|
interval: DecodedEnum<"1s" | "1m" | "5m" | "1h">;
|
|
350
|
-
depth: 1 |
|
|
350
|
+
depth: 1 | 5 | 10 | 20 | "unspecified" | 100 | 500 | 1000 | 200 | 50;
|
|
351
351
|
chain: {
|
|
352
352
|
baseKeyframe: {
|
|
353
353
|
tsSec: number;
|
|
@@ -213,7 +213,7 @@ declare const LifecycleFlowStepActivitySchema: v.SchemaWithPipe<readonly [v.Obje
|
|
|
213
213
|
}>]>;
|
|
214
214
|
declare const LifecycleFlowStepSchema: v.SchemaWithPipe<readonly [v.ObjectSchema<{
|
|
215
215
|
readonly sequence: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
|
|
216
|
-
readonly step: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "validation" | "unspecified" | "failed" | "source" | "
|
|
216
|
+
readonly step: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "validation" | "unspecified" | "failed" | "source" | "transfer" | "dropped" | "refunded" | "request" | "execution" | "bridge_fulfillment" | "fulfilling" | "settlement">]>;
|
|
217
217
|
readonly assetIds: v.OptionalSchema<v.ObjectSchema<{
|
|
218
218
|
readonly zippedAssetId: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
|
|
219
219
|
readonly unifiedAssetId: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
|
|
@@ -356,7 +356,7 @@ declare const LifecycleFlowStepSchema: v.SchemaWithPipe<readonly [v.ObjectSchema
|
|
|
356
356
|
}>]>, undefined>, readonly []>;
|
|
357
357
|
}, undefined>, v.TransformAction<{
|
|
358
358
|
sequence: number;
|
|
359
|
-
step: "validation" | "unspecified" | "failed" | "source" | "
|
|
359
|
+
step: "validation" | "unspecified" | "failed" | "source" | "transfer" | "dropped" | "refunded" | "request" | "execution" | "bridge_fulfillment" | "fulfilling" | "settlement";
|
|
360
360
|
assetIds?: {
|
|
361
361
|
zippedAssetId: number;
|
|
362
362
|
unifiedAssetId: number;
|
|
@@ -419,7 +419,7 @@ declare const LifecycleFlowStepSchema: v.SchemaWithPipe<readonly [v.ObjectSchema
|
|
|
419
419
|
})[];
|
|
420
420
|
}, Omit<{
|
|
421
421
|
sequence: number;
|
|
422
|
-
step: "validation" | "unspecified" | "failed" | "source" | "
|
|
422
|
+
step: "validation" | "unspecified" | "failed" | "source" | "transfer" | "dropped" | "refunded" | "request" | "execution" | "bridge_fulfillment" | "fulfilling" | "settlement";
|
|
423
423
|
assetIds?: {
|
|
424
424
|
zippedAssetId: number;
|
|
425
425
|
unifiedAssetId: number;
|
|
@@ -485,7 +485,7 @@ declare const LifecycleFlowStepSchema: v.SchemaWithPipe<readonly [v.ObjectSchema
|
|
|
485
485
|
}>]>;
|
|
486
486
|
declare const LifecycleFlowTimelineItemSchema: v.ObjectSchema<{
|
|
487
487
|
readonly sequence: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
|
|
488
|
-
readonly step: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "validation" | "unspecified" | "failed" | "source" | "
|
|
488
|
+
readonly step: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "validation" | "unspecified" | "failed" | "source" | "transfer" | "dropped" | "refunded" | "request" | "execution" | "bridge_fulfillment" | "fulfilling" | "settlement">]>;
|
|
489
489
|
readonly status: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "planned" | "completed" | "current">]>;
|
|
490
490
|
readonly expectedDurationMs: v.SchemaWithPipe<readonly [v.BigintSchema<undefined>, v.TransformAction<bigint, number>]>;
|
|
491
491
|
}, undefined>;
|
|
@@ -505,7 +505,7 @@ declare const LifecycleFlowSummarySchema: v.SchemaWithPipe<readonly [v.ObjectSch
|
|
|
505
505
|
readonly smartAccountAddress: v.StringSchema<undefined>;
|
|
506
506
|
readonly flowId: v.StringSchema<undefined>;
|
|
507
507
|
readonly flowKind: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "deposit" | "withdraw" | "transfer">]>;
|
|
508
|
-
readonly currentStep: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "validation" | "unspecified" | "failed" | "source" | "
|
|
508
|
+
readonly currentStep: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "validation" | "unspecified" | "failed" | "source" | "transfer" | "dropped" | "refunded" | "request" | "execution" | "bridge_fulfillment" | "fulfilling" | "settlement">]>;
|
|
509
509
|
readonly assetIds: v.OptionalSchema<v.ObjectSchema<{
|
|
510
510
|
readonly zippedAssetId: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
|
|
511
511
|
readonly unifiedAssetId: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
|
|
@@ -585,7 +585,7 @@ declare const LifecycleFlowSummarySchema: v.SchemaWithPipe<readonly [v.ObjectSch
|
|
|
585
585
|
}, undefined>, undefined>;
|
|
586
586
|
readonly progressTimeline: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
|
|
587
587
|
readonly sequence: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
|
|
588
|
-
readonly step: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "validation" | "unspecified" | "failed" | "source" | "
|
|
588
|
+
readonly step: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "validation" | "unspecified" | "failed" | "source" | "transfer" | "dropped" | "refunded" | "request" | "execution" | "bridge_fulfillment" | "fulfilling" | "settlement">]>;
|
|
589
589
|
readonly status: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "planned" | "completed" | "current">]>;
|
|
590
590
|
readonly expectedDurationMs: v.SchemaWithPipe<readonly [v.BigintSchema<undefined>, v.TransformAction<bigint, number>]>;
|
|
591
591
|
}, undefined>, undefined>, readonly []>;
|
|
@@ -597,7 +597,7 @@ declare const LifecycleFlowSummarySchema: v.SchemaWithPipe<readonly [v.ObjectSch
|
|
|
597
597
|
smartAccountAddress: string;
|
|
598
598
|
flowId: string;
|
|
599
599
|
flowKind: "unspecified" | "deposit" | "withdraw" | "transfer";
|
|
600
|
-
currentStep: "validation" | "unspecified" | "failed" | "source" | "
|
|
600
|
+
currentStep: "validation" | "unspecified" | "failed" | "source" | "transfer" | "dropped" | "refunded" | "request" | "execution" | "bridge_fulfillment" | "fulfilling" | "settlement";
|
|
601
601
|
assetIds?: {
|
|
602
602
|
zippedAssetId: number;
|
|
603
603
|
unifiedAssetId: number;
|
|
@@ -649,7 +649,7 @@ declare const LifecycleFlowSummarySchema: v.SchemaWithPipe<readonly [v.ObjectSch
|
|
|
649
649
|
} | undefined;
|
|
650
650
|
progressTimeline: {
|
|
651
651
|
sequence: number;
|
|
652
|
-
step: "validation" | "unspecified" | "failed" | "source" | "
|
|
652
|
+
step: "validation" | "unspecified" | "failed" | "source" | "transfer" | "dropped" | "refunded" | "request" | "execution" | "bridge_fulfillment" | "fulfilling" | "settlement";
|
|
653
653
|
status: "unspecified" | "planned" | "completed" | "current";
|
|
654
654
|
expectedDurationMs: number;
|
|
655
655
|
}[];
|
|
@@ -660,7 +660,7 @@ declare const LifecycleFlowSummarySchema: v.SchemaWithPipe<readonly [v.ObjectSch
|
|
|
660
660
|
smartAccountAddress: string;
|
|
661
661
|
flowId: string;
|
|
662
662
|
flowKind: "unspecified" | "deposit" | "withdraw" | "transfer";
|
|
663
|
-
currentStep: "validation" | "unspecified" | "failed" | "source" | "
|
|
663
|
+
currentStep: "validation" | "unspecified" | "failed" | "source" | "transfer" | "dropped" | "refunded" | "request" | "execution" | "bridge_fulfillment" | "fulfilling" | "settlement";
|
|
664
664
|
assetIds?: {
|
|
665
665
|
zippedAssetId: number;
|
|
666
666
|
unifiedAssetId: number;
|
|
@@ -712,7 +712,7 @@ declare const LifecycleFlowSummarySchema: v.SchemaWithPipe<readonly [v.ObjectSch
|
|
|
712
712
|
} | undefined;
|
|
713
713
|
progressTimeline: {
|
|
714
714
|
sequence: number;
|
|
715
|
-
step: "validation" | "unspecified" | "failed" | "source" | "
|
|
715
|
+
step: "validation" | "unspecified" | "failed" | "source" | "transfer" | "dropped" | "refunded" | "request" | "execution" | "bridge_fulfillment" | "fulfilling" | "settlement";
|
|
716
716
|
status: "unspecified" | "planned" | "completed" | "current";
|
|
717
717
|
expectedDurationMs: number;
|
|
718
718
|
}[];
|
|
@@ -727,7 +727,7 @@ declare const LifecycleFlowDetailSchema: v.ObjectSchema<{
|
|
|
727
727
|
readonly smartAccountAddress: v.StringSchema<undefined>;
|
|
728
728
|
readonly flowId: v.StringSchema<undefined>;
|
|
729
729
|
readonly flowKind: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "deposit" | "withdraw" | "transfer">]>;
|
|
730
|
-
readonly currentStep: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "validation" | "unspecified" | "failed" | "source" | "
|
|
730
|
+
readonly currentStep: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "validation" | "unspecified" | "failed" | "source" | "transfer" | "dropped" | "refunded" | "request" | "execution" | "bridge_fulfillment" | "fulfilling" | "settlement">]>;
|
|
731
731
|
readonly assetIds: v.OptionalSchema<v.ObjectSchema<{
|
|
732
732
|
readonly zippedAssetId: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
|
|
733
733
|
readonly unifiedAssetId: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
|
|
@@ -807,7 +807,7 @@ declare const LifecycleFlowDetailSchema: v.ObjectSchema<{
|
|
|
807
807
|
}, undefined>, undefined>;
|
|
808
808
|
readonly progressTimeline: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
|
|
809
809
|
readonly sequence: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
|
|
810
|
-
readonly step: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "validation" | "unspecified" | "failed" | "source" | "
|
|
810
|
+
readonly step: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "validation" | "unspecified" | "failed" | "source" | "transfer" | "dropped" | "refunded" | "request" | "execution" | "bridge_fulfillment" | "fulfilling" | "settlement">]>;
|
|
811
811
|
readonly status: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "planned" | "completed" | "current">]>;
|
|
812
812
|
readonly expectedDurationMs: v.SchemaWithPipe<readonly [v.BigintSchema<undefined>, v.TransformAction<bigint, number>]>;
|
|
813
813
|
}, undefined>, undefined>, readonly []>;
|
|
@@ -819,7 +819,7 @@ declare const LifecycleFlowDetailSchema: v.ObjectSchema<{
|
|
|
819
819
|
smartAccountAddress: string;
|
|
820
820
|
flowId: string;
|
|
821
821
|
flowKind: "unspecified" | "deposit" | "withdraw" | "transfer";
|
|
822
|
-
currentStep: "validation" | "unspecified" | "failed" | "source" | "
|
|
822
|
+
currentStep: "validation" | "unspecified" | "failed" | "source" | "transfer" | "dropped" | "refunded" | "request" | "execution" | "bridge_fulfillment" | "fulfilling" | "settlement";
|
|
823
823
|
assetIds?: {
|
|
824
824
|
zippedAssetId: number;
|
|
825
825
|
unifiedAssetId: number;
|
|
@@ -871,7 +871,7 @@ declare const LifecycleFlowDetailSchema: v.ObjectSchema<{
|
|
|
871
871
|
} | undefined;
|
|
872
872
|
progressTimeline: {
|
|
873
873
|
sequence: number;
|
|
874
|
-
step: "validation" | "unspecified" | "failed" | "source" | "
|
|
874
|
+
step: "validation" | "unspecified" | "failed" | "source" | "transfer" | "dropped" | "refunded" | "request" | "execution" | "bridge_fulfillment" | "fulfilling" | "settlement";
|
|
875
875
|
status: "unspecified" | "planned" | "completed" | "current";
|
|
876
876
|
expectedDurationMs: number;
|
|
877
877
|
}[];
|
|
@@ -882,7 +882,7 @@ declare const LifecycleFlowDetailSchema: v.ObjectSchema<{
|
|
|
882
882
|
smartAccountAddress: string;
|
|
883
883
|
flowId: string;
|
|
884
884
|
flowKind: "unspecified" | "deposit" | "withdraw" | "transfer";
|
|
885
|
-
currentStep: "validation" | "unspecified" | "failed" | "source" | "
|
|
885
|
+
currentStep: "validation" | "unspecified" | "failed" | "source" | "transfer" | "dropped" | "refunded" | "request" | "execution" | "bridge_fulfillment" | "fulfilling" | "settlement";
|
|
886
886
|
assetIds?: {
|
|
887
887
|
zippedAssetId: number;
|
|
888
888
|
unifiedAssetId: number;
|
|
@@ -934,7 +934,7 @@ declare const LifecycleFlowDetailSchema: v.ObjectSchema<{
|
|
|
934
934
|
} | undefined;
|
|
935
935
|
progressTimeline: {
|
|
936
936
|
sequence: number;
|
|
937
|
-
step: "validation" | "unspecified" | "failed" | "source" | "
|
|
937
|
+
step: "validation" | "unspecified" | "failed" | "source" | "transfer" | "dropped" | "refunded" | "request" | "execution" | "bridge_fulfillment" | "fulfilling" | "settlement";
|
|
938
938
|
status: "unspecified" | "planned" | "completed" | "current";
|
|
939
939
|
expectedDurationMs: number;
|
|
940
940
|
}[];
|
|
@@ -945,7 +945,7 @@ declare const LifecycleFlowDetailSchema: v.ObjectSchema<{
|
|
|
945
945
|
}>]>, undefined>;
|
|
946
946
|
readonly observedSteps: v.OptionalSchema<v.ArraySchema<v.SchemaWithPipe<readonly [v.ObjectSchema<{
|
|
947
947
|
readonly sequence: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
|
|
948
|
-
readonly step: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "validation" | "unspecified" | "failed" | "source" | "
|
|
948
|
+
readonly step: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "validation" | "unspecified" | "failed" | "source" | "transfer" | "dropped" | "refunded" | "request" | "execution" | "bridge_fulfillment" | "fulfilling" | "settlement">]>;
|
|
949
949
|
readonly assetIds: v.OptionalSchema<v.ObjectSchema<{
|
|
950
950
|
readonly zippedAssetId: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
|
|
951
951
|
readonly unifiedAssetId: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
|
|
@@ -1088,7 +1088,7 @@ declare const LifecycleFlowDetailSchema: v.ObjectSchema<{
|
|
|
1088
1088
|
}>]>, undefined>, readonly []>;
|
|
1089
1089
|
}, undefined>, v.TransformAction<{
|
|
1090
1090
|
sequence: number;
|
|
1091
|
-
step: "validation" | "unspecified" | "failed" | "source" | "
|
|
1091
|
+
step: "validation" | "unspecified" | "failed" | "source" | "transfer" | "dropped" | "refunded" | "request" | "execution" | "bridge_fulfillment" | "fulfilling" | "settlement";
|
|
1092
1092
|
assetIds?: {
|
|
1093
1093
|
zippedAssetId: number;
|
|
1094
1094
|
unifiedAssetId: number;
|
|
@@ -1151,7 +1151,7 @@ declare const LifecycleFlowDetailSchema: v.ObjectSchema<{
|
|
|
1151
1151
|
})[];
|
|
1152
1152
|
}, Omit<{
|
|
1153
1153
|
sequence: number;
|
|
1154
|
-
step: "validation" | "unspecified" | "failed" | "source" | "
|
|
1154
|
+
step: "validation" | "unspecified" | "failed" | "source" | "transfer" | "dropped" | "refunded" | "request" | "execution" | "bridge_fulfillment" | "fulfilling" | "settlement";
|
|
1155
1155
|
assetIds?: {
|
|
1156
1156
|
zippedAssetId: number;
|
|
1157
1157
|
unifiedAssetId: number;
|
|
@@ -1223,7 +1223,7 @@ declare const ListLifecycleFlowsOutputSchema: v.ObjectSchema<{
|
|
|
1223
1223
|
readonly smartAccountAddress: v.StringSchema<undefined>;
|
|
1224
1224
|
readonly flowId: v.StringSchema<undefined>;
|
|
1225
1225
|
readonly flowKind: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "deposit" | "withdraw" | "transfer">]>;
|
|
1226
|
-
readonly currentStep: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "validation" | "unspecified" | "failed" | "source" | "
|
|
1226
|
+
readonly currentStep: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "validation" | "unspecified" | "failed" | "source" | "transfer" | "dropped" | "refunded" | "request" | "execution" | "bridge_fulfillment" | "fulfilling" | "settlement">]>;
|
|
1227
1227
|
readonly assetIds: v.OptionalSchema<v.ObjectSchema<{
|
|
1228
1228
|
readonly zippedAssetId: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
|
|
1229
1229
|
readonly unifiedAssetId: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
|
|
@@ -1303,7 +1303,7 @@ declare const ListLifecycleFlowsOutputSchema: v.ObjectSchema<{
|
|
|
1303
1303
|
}, undefined>, undefined>;
|
|
1304
1304
|
readonly progressTimeline: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
|
|
1305
1305
|
readonly sequence: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
|
|
1306
|
-
readonly step: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "validation" | "unspecified" | "failed" | "source" | "
|
|
1306
|
+
readonly step: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "validation" | "unspecified" | "failed" | "source" | "transfer" | "dropped" | "refunded" | "request" | "execution" | "bridge_fulfillment" | "fulfilling" | "settlement">]>;
|
|
1307
1307
|
readonly status: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "planned" | "completed" | "current">]>;
|
|
1308
1308
|
readonly expectedDurationMs: v.SchemaWithPipe<readonly [v.BigintSchema<undefined>, v.TransformAction<bigint, number>]>;
|
|
1309
1309
|
}, undefined>, undefined>, readonly []>;
|
|
@@ -1315,7 +1315,7 @@ declare const ListLifecycleFlowsOutputSchema: v.ObjectSchema<{
|
|
|
1315
1315
|
smartAccountAddress: string;
|
|
1316
1316
|
flowId: string;
|
|
1317
1317
|
flowKind: "unspecified" | "deposit" | "withdraw" | "transfer";
|
|
1318
|
-
currentStep: "validation" | "unspecified" | "failed" | "source" | "
|
|
1318
|
+
currentStep: "validation" | "unspecified" | "failed" | "source" | "transfer" | "dropped" | "refunded" | "request" | "execution" | "bridge_fulfillment" | "fulfilling" | "settlement";
|
|
1319
1319
|
assetIds?: {
|
|
1320
1320
|
zippedAssetId: number;
|
|
1321
1321
|
unifiedAssetId: number;
|
|
@@ -1367,7 +1367,7 @@ declare const ListLifecycleFlowsOutputSchema: v.ObjectSchema<{
|
|
|
1367
1367
|
} | undefined;
|
|
1368
1368
|
progressTimeline: {
|
|
1369
1369
|
sequence: number;
|
|
1370
|
-
step: "validation" | "unspecified" | "failed" | "source" | "
|
|
1370
|
+
step: "validation" | "unspecified" | "failed" | "source" | "transfer" | "dropped" | "refunded" | "request" | "execution" | "bridge_fulfillment" | "fulfilling" | "settlement";
|
|
1371
1371
|
status: "unspecified" | "planned" | "completed" | "current";
|
|
1372
1372
|
expectedDurationMs: number;
|
|
1373
1373
|
}[];
|
|
@@ -1378,7 +1378,7 @@ declare const ListLifecycleFlowsOutputSchema: v.ObjectSchema<{
|
|
|
1378
1378
|
smartAccountAddress: string;
|
|
1379
1379
|
flowId: string;
|
|
1380
1380
|
flowKind: "unspecified" | "deposit" | "withdraw" | "transfer";
|
|
1381
|
-
currentStep: "validation" | "unspecified" | "failed" | "source" | "
|
|
1381
|
+
currentStep: "validation" | "unspecified" | "failed" | "source" | "transfer" | "dropped" | "refunded" | "request" | "execution" | "bridge_fulfillment" | "fulfilling" | "settlement";
|
|
1382
1382
|
assetIds?: {
|
|
1383
1383
|
zippedAssetId: number;
|
|
1384
1384
|
unifiedAssetId: number;
|
|
@@ -1430,7 +1430,7 @@ declare const ListLifecycleFlowsOutputSchema: v.ObjectSchema<{
|
|
|
1430
1430
|
} | undefined;
|
|
1431
1431
|
progressTimeline: {
|
|
1432
1432
|
sequence: number;
|
|
1433
|
-
step: "validation" | "unspecified" | "failed" | "source" | "
|
|
1433
|
+
step: "validation" | "unspecified" | "failed" | "source" | "transfer" | "dropped" | "refunded" | "request" | "execution" | "bridge_fulfillment" | "fulfilling" | "settlement";
|
|
1434
1434
|
status: "unspecified" | "planned" | "completed" | "current";
|
|
1435
1435
|
expectedDurationMs: number;
|
|
1436
1436
|
}[];
|
|
@@ -1448,7 +1448,7 @@ declare const GetLifecycleFlowOutputSchema: v.ObjectSchema<{
|
|
|
1448
1448
|
readonly smartAccountAddress: v.StringSchema<undefined>;
|
|
1449
1449
|
readonly flowId: v.StringSchema<undefined>;
|
|
1450
1450
|
readonly flowKind: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "deposit" | "withdraw" | "transfer">]>;
|
|
1451
|
-
readonly currentStep: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "validation" | "unspecified" | "failed" | "source" | "
|
|
1451
|
+
readonly currentStep: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "validation" | "unspecified" | "failed" | "source" | "transfer" | "dropped" | "refunded" | "request" | "execution" | "bridge_fulfillment" | "fulfilling" | "settlement">]>;
|
|
1452
1452
|
readonly assetIds: v.OptionalSchema<v.ObjectSchema<{
|
|
1453
1453
|
readonly zippedAssetId: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
|
|
1454
1454
|
readonly unifiedAssetId: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
|
|
@@ -1528,7 +1528,7 @@ declare const GetLifecycleFlowOutputSchema: v.ObjectSchema<{
|
|
|
1528
1528
|
}, undefined>, undefined>;
|
|
1529
1529
|
readonly progressTimeline: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
|
|
1530
1530
|
readonly sequence: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
|
|
1531
|
-
readonly step: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "validation" | "unspecified" | "failed" | "source" | "
|
|
1531
|
+
readonly step: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "validation" | "unspecified" | "failed" | "source" | "transfer" | "dropped" | "refunded" | "request" | "execution" | "bridge_fulfillment" | "fulfilling" | "settlement">]>;
|
|
1532
1532
|
readonly status: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "planned" | "completed" | "current">]>;
|
|
1533
1533
|
readonly expectedDurationMs: v.SchemaWithPipe<readonly [v.BigintSchema<undefined>, v.TransformAction<bigint, number>]>;
|
|
1534
1534
|
}, undefined>, undefined>, readonly []>;
|
|
@@ -1540,7 +1540,7 @@ declare const GetLifecycleFlowOutputSchema: v.ObjectSchema<{
|
|
|
1540
1540
|
smartAccountAddress: string;
|
|
1541
1541
|
flowId: string;
|
|
1542
1542
|
flowKind: "unspecified" | "deposit" | "withdraw" | "transfer";
|
|
1543
|
-
currentStep: "validation" | "unspecified" | "failed" | "source" | "
|
|
1543
|
+
currentStep: "validation" | "unspecified" | "failed" | "source" | "transfer" | "dropped" | "refunded" | "request" | "execution" | "bridge_fulfillment" | "fulfilling" | "settlement";
|
|
1544
1544
|
assetIds?: {
|
|
1545
1545
|
zippedAssetId: number;
|
|
1546
1546
|
unifiedAssetId: number;
|
|
@@ -1592,7 +1592,7 @@ declare const GetLifecycleFlowOutputSchema: v.ObjectSchema<{
|
|
|
1592
1592
|
} | undefined;
|
|
1593
1593
|
progressTimeline: {
|
|
1594
1594
|
sequence: number;
|
|
1595
|
-
step: "validation" | "unspecified" | "failed" | "source" | "
|
|
1595
|
+
step: "validation" | "unspecified" | "failed" | "source" | "transfer" | "dropped" | "refunded" | "request" | "execution" | "bridge_fulfillment" | "fulfilling" | "settlement";
|
|
1596
1596
|
status: "unspecified" | "planned" | "completed" | "current";
|
|
1597
1597
|
expectedDurationMs: number;
|
|
1598
1598
|
}[];
|
|
@@ -1603,7 +1603,7 @@ declare const GetLifecycleFlowOutputSchema: v.ObjectSchema<{
|
|
|
1603
1603
|
smartAccountAddress: string;
|
|
1604
1604
|
flowId: string;
|
|
1605
1605
|
flowKind: "unspecified" | "deposit" | "withdraw" | "transfer";
|
|
1606
|
-
currentStep: "validation" | "unspecified" | "failed" | "source" | "
|
|
1606
|
+
currentStep: "validation" | "unspecified" | "failed" | "source" | "transfer" | "dropped" | "refunded" | "request" | "execution" | "bridge_fulfillment" | "fulfilling" | "settlement";
|
|
1607
1607
|
assetIds?: {
|
|
1608
1608
|
zippedAssetId: number;
|
|
1609
1609
|
unifiedAssetId: number;
|
|
@@ -1655,7 +1655,7 @@ declare const GetLifecycleFlowOutputSchema: v.ObjectSchema<{
|
|
|
1655
1655
|
} | undefined;
|
|
1656
1656
|
progressTimeline: {
|
|
1657
1657
|
sequence: number;
|
|
1658
|
-
step: "validation" | "unspecified" | "failed" | "source" | "
|
|
1658
|
+
step: "validation" | "unspecified" | "failed" | "source" | "transfer" | "dropped" | "refunded" | "request" | "execution" | "bridge_fulfillment" | "fulfilling" | "settlement";
|
|
1659
1659
|
status: "unspecified" | "planned" | "completed" | "current";
|
|
1660
1660
|
expectedDurationMs: number;
|
|
1661
1661
|
}[];
|
|
@@ -1666,7 +1666,7 @@ declare const GetLifecycleFlowOutputSchema: v.ObjectSchema<{
|
|
|
1666
1666
|
}>]>, undefined>;
|
|
1667
1667
|
readonly observedSteps: v.OptionalSchema<v.ArraySchema<v.SchemaWithPipe<readonly [v.ObjectSchema<{
|
|
1668
1668
|
readonly sequence: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
|
|
1669
|
-
readonly step: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "validation" | "unspecified" | "failed" | "source" | "
|
|
1669
|
+
readonly step: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "validation" | "unspecified" | "failed" | "source" | "transfer" | "dropped" | "refunded" | "request" | "execution" | "bridge_fulfillment" | "fulfilling" | "settlement">]>;
|
|
1670
1670
|
readonly assetIds: v.OptionalSchema<v.ObjectSchema<{
|
|
1671
1671
|
readonly zippedAssetId: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
|
|
1672
1672
|
readonly unifiedAssetId: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
|
|
@@ -1809,7 +1809,7 @@ declare const GetLifecycleFlowOutputSchema: v.ObjectSchema<{
|
|
|
1809
1809
|
}>]>, undefined>, readonly []>;
|
|
1810
1810
|
}, undefined>, v.TransformAction<{
|
|
1811
1811
|
sequence: number;
|
|
1812
|
-
step: "validation" | "unspecified" | "failed" | "source" | "
|
|
1812
|
+
step: "validation" | "unspecified" | "failed" | "source" | "transfer" | "dropped" | "refunded" | "request" | "execution" | "bridge_fulfillment" | "fulfilling" | "settlement";
|
|
1813
1813
|
assetIds?: {
|
|
1814
1814
|
zippedAssetId: number;
|
|
1815
1815
|
unifiedAssetId: number;
|
|
@@ -1872,7 +1872,7 @@ declare const GetLifecycleFlowOutputSchema: v.ObjectSchema<{
|
|
|
1872
1872
|
})[];
|
|
1873
1873
|
}, Omit<{
|
|
1874
1874
|
sequence: number;
|
|
1875
|
-
step: "validation" | "unspecified" | "failed" | "source" | "
|
|
1875
|
+
step: "validation" | "unspecified" | "failed" | "source" | "transfer" | "dropped" | "refunded" | "request" | "execution" | "bridge_fulfillment" | "fulfilling" | "settlement";
|
|
1876
1876
|
assetIds?: {
|
|
1877
1877
|
zippedAssetId: number;
|
|
1878
1878
|
unifiedAssetId: number;
|
|
@@ -1949,7 +1949,7 @@ declare const LifecycleFlowTxMatchSchema: v.SchemaWithPipe<readonly [v.ObjectSch
|
|
|
1949
1949
|
readonly txOccurrenceIndex: v.SchemaWithPipe<readonly [v.OptionalSchema<v.BigintSchema<undefined>, undefined>, v.TransformAction<bigint | undefined, number>]>;
|
|
1950
1950
|
readonly sourceDomain: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "trading" | "funding" | "external_chain" | "zipper" | "lending">]>;
|
|
1951
1951
|
readonly destinationDomain: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "trading" | "funding" | "external_chain" | "zipper" | "lending">]>;
|
|
1952
|
-
readonly currentStep: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "validation" | "unspecified" | "failed" | "source" | "
|
|
1952
|
+
readonly currentStep: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "validation" | "unspecified" | "failed" | "source" | "transfer" | "dropped" | "refunded" | "request" | "execution" | "bridge_fulfillment" | "fulfilling" | "settlement">]>;
|
|
1953
1953
|
readonly isOpen: v.BooleanSchema<undefined>;
|
|
1954
1954
|
readonly isTerminal: v.BooleanSchema<undefined>;
|
|
1955
1955
|
readonly assetIds: v.OptionalSchema<v.ObjectSchema<{
|
|
@@ -1983,7 +1983,7 @@ declare const LifecycleFlowTxMatchSchema: v.SchemaWithPipe<readonly [v.ObjectSch
|
|
|
1983
1983
|
txOccurrenceIndex?: number | undefined;
|
|
1984
1984
|
sourceDomain: "unspecified" | "trading" | "funding" | "external_chain" | "zipper" | "lending";
|
|
1985
1985
|
destinationDomain: "unspecified" | "trading" | "funding" | "external_chain" | "zipper" | "lending";
|
|
1986
|
-
currentStep: "validation" | "unspecified" | "failed" | "source" | "
|
|
1986
|
+
currentStep: "validation" | "unspecified" | "failed" | "source" | "transfer" | "dropped" | "refunded" | "request" | "execution" | "bridge_fulfillment" | "fulfilling" | "settlement";
|
|
1987
1987
|
isOpen: boolean;
|
|
1988
1988
|
isTerminal: boolean;
|
|
1989
1989
|
assetIds?: {
|
|
@@ -2011,7 +2011,7 @@ declare const LifecycleFlowTxMatchSchema: v.SchemaWithPipe<readonly [v.ObjectSch
|
|
|
2011
2011
|
txOccurrenceIndex?: number | undefined;
|
|
2012
2012
|
sourceDomain: "unspecified" | "trading" | "funding" | "external_chain" | "zipper" | "lending";
|
|
2013
2013
|
destinationDomain: "unspecified" | "trading" | "funding" | "external_chain" | "zipper" | "lending";
|
|
2014
|
-
currentStep: "validation" | "unspecified" | "failed" | "source" | "
|
|
2014
|
+
currentStep: "validation" | "unspecified" | "failed" | "source" | "transfer" | "dropped" | "refunded" | "request" | "execution" | "bridge_fulfillment" | "fulfilling" | "settlement";
|
|
2015
2015
|
isOpen: boolean;
|
|
2016
2016
|
isTerminal: boolean;
|
|
2017
2017
|
assetIds?: {
|
|
@@ -2044,7 +2044,7 @@ declare const ListLifecycleFlowsByTxOutputSchema: v.ObjectSchema<{
|
|
|
2044
2044
|
readonly txOccurrenceIndex: v.SchemaWithPipe<readonly [v.OptionalSchema<v.BigintSchema<undefined>, undefined>, v.TransformAction<bigint | undefined, number>]>;
|
|
2045
2045
|
readonly sourceDomain: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "trading" | "funding" | "external_chain" | "zipper" | "lending">]>;
|
|
2046
2046
|
readonly destinationDomain: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "trading" | "funding" | "external_chain" | "zipper" | "lending">]>;
|
|
2047
|
-
readonly currentStep: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "validation" | "unspecified" | "failed" | "source" | "
|
|
2047
|
+
readonly currentStep: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "validation" | "unspecified" | "failed" | "source" | "transfer" | "dropped" | "refunded" | "request" | "execution" | "bridge_fulfillment" | "fulfilling" | "settlement">]>;
|
|
2048
2048
|
readonly isOpen: v.BooleanSchema<undefined>;
|
|
2049
2049
|
readonly isTerminal: v.BooleanSchema<undefined>;
|
|
2050
2050
|
readonly assetIds: v.OptionalSchema<v.ObjectSchema<{
|
|
@@ -2078,7 +2078,7 @@ declare const ListLifecycleFlowsByTxOutputSchema: v.ObjectSchema<{
|
|
|
2078
2078
|
txOccurrenceIndex?: number | undefined;
|
|
2079
2079
|
sourceDomain: "unspecified" | "trading" | "funding" | "external_chain" | "zipper" | "lending";
|
|
2080
2080
|
destinationDomain: "unspecified" | "trading" | "funding" | "external_chain" | "zipper" | "lending";
|
|
2081
|
-
currentStep: "validation" | "unspecified" | "failed" | "source" | "
|
|
2081
|
+
currentStep: "validation" | "unspecified" | "failed" | "source" | "transfer" | "dropped" | "refunded" | "request" | "execution" | "bridge_fulfillment" | "fulfilling" | "settlement";
|
|
2082
2082
|
isOpen: boolean;
|
|
2083
2083
|
isTerminal: boolean;
|
|
2084
2084
|
assetIds?: {
|
|
@@ -2106,7 +2106,7 @@ declare const ListLifecycleFlowsByTxOutputSchema: v.ObjectSchema<{
|
|
|
2106
2106
|
txOccurrenceIndex?: number | undefined;
|
|
2107
2107
|
sourceDomain: "unspecified" | "trading" | "funding" | "external_chain" | "zipper" | "lending";
|
|
2108
2108
|
destinationDomain: "unspecified" | "trading" | "funding" | "external_chain" | "zipper" | "lending";
|
|
2109
|
-
currentStep: "validation" | "unspecified" | "failed" | "source" | "
|
|
2109
|
+
currentStep: "validation" | "unspecified" | "failed" | "source" | "transfer" | "dropped" | "refunded" | "request" | "execution" | "bridge_fulfillment" | "fulfilling" | "settlement";
|
|
2110
2110
|
isOpen: boolean;
|
|
2111
2111
|
isTerminal: boolean;
|
|
2112
2112
|
assetIds?: {
|
|
@@ -10,7 +10,7 @@ declare const GetOrderbookInputSchema: v.SchemaWithPipe<readonly [v.ObjectSchema
|
|
|
10
10
|
depth: number;
|
|
11
11
|
}, {
|
|
12
12
|
symbolId: number;
|
|
13
|
-
depth: 1 |
|
|
13
|
+
depth: 1 | 5 | 10 | 20 | 100 | 500 | 1000 | 200 | 50;
|
|
14
14
|
protoDepth: Depth;
|
|
15
15
|
}>]>;
|
|
16
16
|
type GetOrderbookInput = v.InferInput<typeof GetOrderbookInputSchema>;
|
|
@@ -17,7 +17,7 @@ declare const OrderErrorDetailSchema: v.ObjectSchema<{
|
|
|
17
17
|
readonly policyVersion: v.SchemaWithPipe<readonly [v.OptionalSchema<v.BigintSchema<undefined>, undefined>, v.TransformAction<bigint | undefined, string | undefined>]>;
|
|
18
18
|
readonly operationId: v.StringSchema<undefined>;
|
|
19
19
|
readonly policyClass: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "auth_public" | "trading_place" | "trading_cancel" | "trading_read" | "account_admin" | "public_read" | "account_security" | "deposit_create" | "internal_transfer" | "withdraw_submit" | "withdraw_validate" | "guard_sign" | "social_provider">]>;
|
|
20
|
-
readonly scope: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "symbol" | "unspecified" | "
|
|
20
|
+
readonly scope: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "symbol" | "unspecified" | "subaccount" | "client_ip" | "api_key" | "account" | "connection" | "service" | "region" | "auth_subject">]>;
|
|
21
21
|
readonly refillModel: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "continuous" | "fixed_window" | "rolling_window">]>;
|
|
22
22
|
}, undefined>, undefined>;
|
|
23
23
|
/** Order holding the client order ID on a `CONFLICT_DUPLICATE_CLIENT_ORDER_ID` rejection, when known. */
|
|
@@ -3221,7 +3221,7 @@ declare function createBatchCreateOrdersResultSchema(scales: SdkScales, symbolId
|
|
|
3221
3221
|
readonly policyVersion: v.SchemaWithPipe<readonly [v.OptionalSchema<v.BigintSchema<undefined>, undefined>, v.TransformAction<bigint | undefined, string | undefined>]>;
|
|
3222
3222
|
readonly operationId: v.StringSchema<undefined>;
|
|
3223
3223
|
readonly policyClass: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "auth_public" | "trading_place" | "trading_cancel" | "trading_read" | "account_admin" | "public_read" | "account_security" | "deposit_create" | "internal_transfer" | "withdraw_submit" | "withdraw_validate" | "guard_sign" | "social_provider">]>;
|
|
3224
|
-
readonly scope: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "symbol" | "unspecified" | "
|
|
3224
|
+
readonly scope: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "symbol" | "unspecified" | "subaccount" | "client_ip" | "api_key" | "account" | "connection" | "service" | "region" | "auth_subject">]>;
|
|
3225
3225
|
readonly refillModel: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "continuous" | "fixed_window" | "rolling_window">]>;
|
|
3226
3226
|
}, undefined>, undefined>;
|
|
3227
3227
|
readonly existingOrderId: v.SchemaWithPipe<readonly [v.OptionalSchema<v.BigintSchema<undefined>, undefined>, v.TransformAction<bigint | undefined, string | undefined>]>;
|
|
@@ -3263,7 +3263,7 @@ declare function createBatchCreateOrdersResultSchema(scales: SdkScales, symbolId
|
|
|
3263
3263
|
policyVersion?: string | undefined;
|
|
3264
3264
|
operationId: string;
|
|
3265
3265
|
policyClass: "unspecified" | "auth_public" | "trading_place" | "trading_cancel" | "trading_read" | "account_admin" | "public_read" | "account_security" | "deposit_create" | "internal_transfer" | "withdraw_submit" | "withdraw_validate" | "guard_sign" | "social_provider";
|
|
3266
|
-
scope: "symbol" | "unspecified" | "
|
|
3266
|
+
scope: "symbol" | "unspecified" | "subaccount" | "client_ip" | "api_key" | "account" | "connection" | "service" | "region" | "auth_subject";
|
|
3267
3267
|
refillModel: "unspecified" | "continuous" | "fixed_window" | "rolling_window";
|
|
3268
3268
|
} | undefined;
|
|
3269
3269
|
existingOrderId?: string | undefined;
|
|
@@ -3305,7 +3305,7 @@ declare function createBatchCreateOrdersResultSchema(scales: SdkScales, symbolId
|
|
|
3305
3305
|
policyVersion?: string | undefined;
|
|
3306
3306
|
operationId: string;
|
|
3307
3307
|
policyClass: "unspecified" | "auth_public" | "trading_place" | "trading_cancel" | "trading_read" | "account_admin" | "public_read" | "account_security" | "deposit_create" | "internal_transfer" | "withdraw_submit" | "withdraw_validate" | "guard_sign" | "social_provider";
|
|
3308
|
-
scope: "symbol" | "unspecified" | "
|
|
3308
|
+
scope: "symbol" | "unspecified" | "subaccount" | "client_ip" | "api_key" | "account" | "connection" | "service" | "region" | "auth_subject";
|
|
3309
3309
|
refillModel: "unspecified" | "continuous" | "fixed_window" | "rolling_window";
|
|
3310
3310
|
} | undefined;
|
|
3311
3311
|
existingOrderId?: string | undefined;
|
|
@@ -3347,7 +3347,7 @@ declare function createBatchCreateOrdersResultSchema(scales: SdkScales, symbolId
|
|
|
3347
3347
|
policyVersion?: string | undefined;
|
|
3348
3348
|
operationId: string;
|
|
3349
3349
|
policyClass: "unspecified" | "auth_public" | "trading_place" | "trading_cancel" | "trading_read" | "account_admin" | "public_read" | "account_security" | "deposit_create" | "internal_transfer" | "withdraw_submit" | "withdraw_validate" | "guard_sign" | "social_provider";
|
|
3350
|
-
scope: "symbol" | "unspecified" | "
|
|
3350
|
+
scope: "symbol" | "unspecified" | "subaccount" | "client_ip" | "api_key" | "account" | "connection" | "service" | "region" | "auth_subject";
|
|
3351
3351
|
refillModel: "unspecified" | "continuous" | "fixed_window" | "rolling_window";
|
|
3352
3352
|
} | undefined;
|
|
3353
3353
|
existingOrderId?: string | undefined;
|
|
@@ -3377,7 +3377,7 @@ declare function createBatchCreateOrdersResultSchema(scales: SdkScales, symbolId
|
|
|
3377
3377
|
policyVersion?: string | undefined;
|
|
3378
3378
|
operationId: string;
|
|
3379
3379
|
policyClass: "unspecified" | "auth_public" | "trading_place" | "trading_cancel" | "trading_read" | "account_admin" | "public_read" | "account_security" | "deposit_create" | "internal_transfer" | "withdraw_submit" | "withdraw_validate" | "guard_sign" | "social_provider";
|
|
3380
|
-
scope: "symbol" | "unspecified" | "
|
|
3380
|
+
scope: "symbol" | "unspecified" | "subaccount" | "client_ip" | "api_key" | "account" | "connection" | "service" | "region" | "auth_subject";
|
|
3381
3381
|
refillModel: "unspecified" | "continuous" | "fixed_window" | "rolling_window";
|
|
3382
3382
|
} | undefined;
|
|
3383
3383
|
existingOrderId?: string | undefined;
|
|
@@ -3437,7 +3437,7 @@ declare const BatchReplaceAdmissionItemSchema: v.SchemaWithPipe<readonly [v.Obje
|
|
|
3437
3437
|
readonly policyVersion: v.SchemaWithPipe<readonly [v.OptionalSchema<v.BigintSchema<undefined>, undefined>, v.TransformAction<bigint | undefined, string | undefined>]>;
|
|
3438
3438
|
readonly operationId: v.StringSchema<undefined>;
|
|
3439
3439
|
readonly policyClass: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "auth_public" | "trading_place" | "trading_cancel" | "trading_read" | "account_admin" | "public_read" | "account_security" | "deposit_create" | "internal_transfer" | "withdraw_submit" | "withdraw_validate" | "guard_sign" | "social_provider">]>;
|
|
3440
|
-
readonly scope: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "symbol" | "unspecified" | "
|
|
3440
|
+
readonly scope: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "symbol" | "unspecified" | "subaccount" | "client_ip" | "api_key" | "account" | "connection" | "service" | "region" | "auth_subject">]>;
|
|
3441
3441
|
readonly refillModel: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "continuous" | "fixed_window" | "rolling_window">]>;
|
|
3442
3442
|
}, undefined>, undefined>;
|
|
3443
3443
|
readonly existingOrderId: v.SchemaWithPipe<readonly [v.OptionalSchema<v.BigintSchema<undefined>, undefined>, v.TransformAction<bigint | undefined, string | undefined>]>;
|
|
@@ -3465,7 +3465,7 @@ declare const BatchReplaceAdmissionItemSchema: v.SchemaWithPipe<readonly [v.Obje
|
|
|
3465
3465
|
policyVersion?: string | undefined;
|
|
3466
3466
|
operationId: string;
|
|
3467
3467
|
policyClass: "unspecified" | "auth_public" | "trading_place" | "trading_cancel" | "trading_read" | "account_admin" | "public_read" | "account_security" | "deposit_create" | "internal_transfer" | "withdraw_submit" | "withdraw_validate" | "guard_sign" | "social_provider";
|
|
3468
|
-
scope: "symbol" | "unspecified" | "
|
|
3468
|
+
scope: "symbol" | "unspecified" | "subaccount" | "client_ip" | "api_key" | "account" | "connection" | "service" | "region" | "auth_subject";
|
|
3469
3469
|
refillModel: "unspecified" | "continuous" | "fixed_window" | "rolling_window";
|
|
3470
3470
|
} | undefined;
|
|
3471
3471
|
existingOrderId?: string | undefined;
|
|
@@ -3493,7 +3493,7 @@ declare const BatchReplaceAdmissionItemSchema: v.SchemaWithPipe<readonly [v.Obje
|
|
|
3493
3493
|
policyVersion?: string | undefined;
|
|
3494
3494
|
operationId: string;
|
|
3495
3495
|
policyClass: "unspecified" | "auth_public" | "trading_place" | "trading_cancel" | "trading_read" | "account_admin" | "public_read" | "account_security" | "deposit_create" | "internal_transfer" | "withdraw_submit" | "withdraw_validate" | "guard_sign" | "social_provider";
|
|
3496
|
-
scope: "symbol" | "unspecified" | "
|
|
3496
|
+
scope: "symbol" | "unspecified" | "subaccount" | "client_ip" | "api_key" | "account" | "connection" | "service" | "region" | "auth_subject";
|
|
3497
3497
|
refillModel: "unspecified" | "continuous" | "fixed_window" | "rolling_window";
|
|
3498
3498
|
} | undefined;
|
|
3499
3499
|
existingOrderId?: string | undefined;
|
|
@@ -3526,7 +3526,7 @@ declare const BatchReplaceOrdersResultSchema: v.SchemaWithPipe<readonly [v.Objec
|
|
|
3526
3526
|
readonly policyVersion: v.SchemaWithPipe<readonly [v.OptionalSchema<v.BigintSchema<undefined>, undefined>, v.TransformAction<bigint | undefined, string | undefined>]>;
|
|
3527
3527
|
readonly operationId: v.StringSchema<undefined>;
|
|
3528
3528
|
readonly policyClass: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "auth_public" | "trading_place" | "trading_cancel" | "trading_read" | "account_admin" | "public_read" | "account_security" | "deposit_create" | "internal_transfer" | "withdraw_submit" | "withdraw_validate" | "guard_sign" | "social_provider">]>;
|
|
3529
|
-
readonly scope: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "symbol" | "unspecified" | "
|
|
3529
|
+
readonly scope: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "symbol" | "unspecified" | "subaccount" | "client_ip" | "api_key" | "account" | "connection" | "service" | "region" | "auth_subject">]>;
|
|
3530
3530
|
readonly refillModel: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "continuous" | "fixed_window" | "rolling_window">]>;
|
|
3531
3531
|
}, undefined>, undefined>;
|
|
3532
3532
|
readonly existingOrderId: v.SchemaWithPipe<readonly [v.OptionalSchema<v.BigintSchema<undefined>, undefined>, v.TransformAction<bigint | undefined, string | undefined>]>;
|
|
@@ -3554,7 +3554,7 @@ declare const BatchReplaceOrdersResultSchema: v.SchemaWithPipe<readonly [v.Objec
|
|
|
3554
3554
|
policyVersion?: string | undefined;
|
|
3555
3555
|
operationId: string;
|
|
3556
3556
|
policyClass: "unspecified" | "auth_public" | "trading_place" | "trading_cancel" | "trading_read" | "account_admin" | "public_read" | "account_security" | "deposit_create" | "internal_transfer" | "withdraw_submit" | "withdraw_validate" | "guard_sign" | "social_provider";
|
|
3557
|
-
scope: "symbol" | "unspecified" | "
|
|
3557
|
+
scope: "symbol" | "unspecified" | "subaccount" | "client_ip" | "api_key" | "account" | "connection" | "service" | "region" | "auth_subject";
|
|
3558
3558
|
refillModel: "unspecified" | "continuous" | "fixed_window" | "rolling_window";
|
|
3559
3559
|
} | undefined;
|
|
3560
3560
|
existingOrderId?: string | undefined;
|
|
@@ -3582,7 +3582,7 @@ declare const BatchReplaceOrdersResultSchema: v.SchemaWithPipe<readonly [v.Objec
|
|
|
3582
3582
|
policyVersion?: string | undefined;
|
|
3583
3583
|
operationId: string;
|
|
3584
3584
|
policyClass: "unspecified" | "auth_public" | "trading_place" | "trading_cancel" | "trading_read" | "account_admin" | "public_read" | "account_security" | "deposit_create" | "internal_transfer" | "withdraw_submit" | "withdraw_validate" | "guard_sign" | "social_provider";
|
|
3585
|
-
scope: "symbol" | "unspecified" | "
|
|
3585
|
+
scope: "symbol" | "unspecified" | "subaccount" | "client_ip" | "api_key" | "account" | "connection" | "service" | "region" | "auth_subject";
|
|
3586
3586
|
refillModel: "unspecified" | "continuous" | "fixed_window" | "rolling_window";
|
|
3587
3587
|
} | undefined;
|
|
3588
3588
|
existingOrderId?: string | undefined;
|
|
@@ -3617,7 +3617,7 @@ declare const BatchReplaceOrdersResultSchema: v.SchemaWithPipe<readonly [v.Objec
|
|
|
3617
3617
|
policyVersion?: string | undefined;
|
|
3618
3618
|
operationId: string;
|
|
3619
3619
|
policyClass: "unspecified" | "auth_public" | "trading_place" | "trading_cancel" | "trading_read" | "account_admin" | "public_read" | "account_security" | "deposit_create" | "internal_transfer" | "withdraw_submit" | "withdraw_validate" | "guard_sign" | "social_provider";
|
|
3620
|
-
scope: "symbol" | "unspecified" | "
|
|
3620
|
+
scope: "symbol" | "unspecified" | "subaccount" | "client_ip" | "api_key" | "account" | "connection" | "service" | "region" | "auth_subject";
|
|
3621
3621
|
refillModel: "unspecified" | "continuous" | "fixed_window" | "rolling_window";
|
|
3622
3622
|
} | undefined;
|
|
3623
3623
|
existingOrderId?: string | undefined;
|
|
@@ -3652,7 +3652,7 @@ declare const BatchReplaceOrdersResultSchema: v.SchemaWithPipe<readonly [v.Objec
|
|
|
3652
3652
|
policyVersion?: string | undefined;
|
|
3653
3653
|
operationId: string;
|
|
3654
3654
|
policyClass: "unspecified" | "auth_public" | "trading_place" | "trading_cancel" | "trading_read" | "account_admin" | "public_read" | "account_security" | "deposit_create" | "internal_transfer" | "withdraw_submit" | "withdraw_validate" | "guard_sign" | "social_provider";
|
|
3655
|
-
scope: "symbol" | "unspecified" | "
|
|
3655
|
+
scope: "symbol" | "unspecified" | "subaccount" | "client_ip" | "api_key" | "account" | "connection" | "service" | "region" | "auth_subject";
|
|
3656
3656
|
refillModel: "unspecified" | "continuous" | "fixed_window" | "rolling_window";
|
|
3657
3657
|
} | undefined;
|
|
3658
3658
|
existingOrderId?: string | undefined;
|
|
@@ -3687,7 +3687,7 @@ declare const BatchReplaceOrdersResultSchema: v.SchemaWithPipe<readonly [v.Objec
|
|
|
3687
3687
|
policyVersion?: string | undefined;
|
|
3688
3688
|
operationId: string;
|
|
3689
3689
|
policyClass: "unspecified" | "auth_public" | "trading_place" | "trading_cancel" | "trading_read" | "account_admin" | "public_read" | "account_security" | "deposit_create" | "internal_transfer" | "withdraw_submit" | "withdraw_validate" | "guard_sign" | "social_provider";
|
|
3690
|
-
scope: "symbol" | "unspecified" | "
|
|
3690
|
+
scope: "symbol" | "unspecified" | "subaccount" | "client_ip" | "api_key" | "account" | "connection" | "service" | "region" | "auth_subject";
|
|
3691
3691
|
refillModel: "unspecified" | "continuous" | "fixed_window" | "rolling_window";
|
|
3692
3692
|
} | undefined;
|
|
3693
3693
|
existingOrderId?: string | undefined;
|
|
@@ -3724,7 +3724,7 @@ declare const BatchReplaceOrdersResultSchema: v.SchemaWithPipe<readonly [v.Objec
|
|
|
3724
3724
|
policyVersion?: string | undefined;
|
|
3725
3725
|
operationId: string;
|
|
3726
3726
|
policyClass: "unspecified" | "auth_public" | "trading_place" | "trading_cancel" | "trading_read" | "account_admin" | "public_read" | "account_security" | "deposit_create" | "internal_transfer" | "withdraw_submit" | "withdraw_validate" | "guard_sign" | "social_provider";
|
|
3727
|
-
scope: "symbol" | "unspecified" | "
|
|
3727
|
+
scope: "symbol" | "unspecified" | "subaccount" | "client_ip" | "api_key" | "account" | "connection" | "service" | "region" | "auth_subject";
|
|
3728
3728
|
refillModel: "unspecified" | "continuous" | "fixed_window" | "rolling_window";
|
|
3729
3729
|
} | undefined;
|
|
3730
3730
|
existingOrderId?: string | undefined;
|
|
@@ -3754,7 +3754,7 @@ declare const GetBatchReplaceStatusResultSchema: v.SchemaWithPipe<readonly [v.Ob
|
|
|
3754
3754
|
readonly admissionStatus: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "rejected" | "admitted" | "partially_admitted">]>;
|
|
3755
3755
|
readonly items: v.ArraySchema<v.SchemaWithPipe<readonly [v.ObjectSchema<{
|
|
3756
3756
|
readonly itemIndex: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
|
|
3757
|
-
readonly phase: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "
|
|
3757
|
+
readonly phase: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "terminal" | "working" | "rejected" | "admitted">]>;
|
|
3758
3758
|
readonly oldOrderId: v.SchemaWithPipe<readonly [v.OptionalSchema<v.BigintSchema<undefined>, undefined>, v.TransformAction<bigint | undefined, string | undefined>]>;
|
|
3759
3759
|
readonly replacementOrderId: v.SchemaWithPipe<readonly [v.OptionalSchema<v.BigintSchema<undefined>, undefined>, v.TransformAction<bigint | undefined, string | undefined>]>;
|
|
3760
3760
|
readonly actionTaken: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "AMENDED" | "REPLACED">]>;
|
|
@@ -3763,7 +3763,7 @@ declare const GetBatchReplaceStatusResultSchema: v.SchemaWithPipe<readonly [v.Ob
|
|
|
3763
3763
|
readonly updatedTsNs: v.BigintSchema<undefined>;
|
|
3764
3764
|
}, undefined>, v.TransformAction<{
|
|
3765
3765
|
itemIndex: number;
|
|
3766
|
-
phase: "unspecified" | "
|
|
3766
|
+
phase: "unspecified" | "terminal" | "working" | "rejected" | "admitted";
|
|
3767
3767
|
oldOrderId?: string | undefined;
|
|
3768
3768
|
replacementOrderId?: string | undefined;
|
|
3769
3769
|
actionTaken: "unspecified" | "AMENDED" | "REPLACED";
|
|
@@ -3775,7 +3775,7 @@ declare const GetBatchReplaceStatusResultSchema: v.SchemaWithPipe<readonly [v.Ob
|
|
|
3775
3775
|
updatedTs: number;
|
|
3776
3776
|
updatedTsNs: string;
|
|
3777
3777
|
itemIndex: number;
|
|
3778
|
-
phase: "unspecified" | "
|
|
3778
|
+
phase: "unspecified" | "terminal" | "working" | "rejected" | "admitted";
|
|
3779
3779
|
oldOrderId?: string | undefined;
|
|
3780
3780
|
replacementOrderId?: string | undefined;
|
|
3781
3781
|
actionTaken: "unspecified" | "AMENDED" | "REPLACED";
|
|
@@ -3793,7 +3793,7 @@ declare const GetBatchReplaceStatusResultSchema: v.SchemaWithPipe<readonly [v.Ob
|
|
|
3793
3793
|
updatedTs: number;
|
|
3794
3794
|
updatedTsNs: string;
|
|
3795
3795
|
itemIndex: number;
|
|
3796
|
-
phase: "unspecified" | "
|
|
3796
|
+
phase: "unspecified" | "terminal" | "working" | "rejected" | "admitted";
|
|
3797
3797
|
oldOrderId?: string | undefined;
|
|
3798
3798
|
replacementOrderId?: string | undefined;
|
|
3799
3799
|
actionTaken: "unspecified" | "AMENDED" | "REPLACED";
|
|
@@ -3811,7 +3811,7 @@ declare const GetBatchReplaceStatusResultSchema: v.SchemaWithPipe<readonly [v.Ob
|
|
|
3811
3811
|
updatedTs: number;
|
|
3812
3812
|
updatedTsNs: string;
|
|
3813
3813
|
itemIndex: number;
|
|
3814
|
-
phase: "unspecified" | "
|
|
3814
|
+
phase: "unspecified" | "terminal" | "working" | "rejected" | "admitted";
|
|
3815
3815
|
oldOrderId?: string | undefined;
|
|
3816
3816
|
replacementOrderId?: string | undefined;
|
|
3817
3817
|
actionTaken: "unspecified" | "AMENDED" | "REPLACED";
|
|
@@ -3829,7 +3829,7 @@ declare const GetBatchReplaceStatusResultSchema: v.SchemaWithPipe<readonly [v.Ob
|
|
|
3829
3829
|
updatedTs: number;
|
|
3830
3830
|
updatedTsNs: string;
|
|
3831
3831
|
itemIndex: number;
|
|
3832
|
-
phase: "unspecified" | "
|
|
3832
|
+
phase: "unspecified" | "terminal" | "working" | "rejected" | "admitted";
|
|
3833
3833
|
oldOrderId?: string | undefined;
|
|
3834
3834
|
replacementOrderId?: string | undefined;
|
|
3835
3835
|
actionTaken: "unspecified" | "AMENDED" | "REPLACED";
|
|
@@ -3851,7 +3851,7 @@ declare const GetBatchReplaceStatusResultSchema: v.SchemaWithPipe<readonly [v.Ob
|
|
|
3851
3851
|
updatedTs: number;
|
|
3852
3852
|
updatedTsNs: string;
|
|
3853
3853
|
itemIndex: number;
|
|
3854
|
-
phase: "unspecified" | "
|
|
3854
|
+
phase: "unspecified" | "terminal" | "working" | "rejected" | "admitted";
|
|
3855
3855
|
oldOrderId?: string | undefined;
|
|
3856
3856
|
replacementOrderId?: string | undefined;
|
|
3857
3857
|
actionTaken: "unspecified" | "AMENDED" | "REPLACED";
|
|
@@ -3969,7 +3969,7 @@ declare const BatchCancelOrderResultSchema: v.ObjectSchema<{
|
|
|
3969
3969
|
readonly policyVersion: v.SchemaWithPipe<readonly [v.OptionalSchema<v.BigintSchema<undefined>, undefined>, v.TransformAction<bigint | undefined, string | undefined>]>;
|
|
3970
3970
|
readonly operationId: v.StringSchema<undefined>;
|
|
3971
3971
|
readonly policyClass: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "auth_public" | "trading_place" | "trading_cancel" | "trading_read" | "account_admin" | "public_read" | "account_security" | "deposit_create" | "internal_transfer" | "withdraw_submit" | "withdraw_validate" | "guard_sign" | "social_provider">]>;
|
|
3972
|
-
readonly scope: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "symbol" | "unspecified" | "
|
|
3972
|
+
readonly scope: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "symbol" | "unspecified" | "subaccount" | "client_ip" | "api_key" | "account" | "connection" | "service" | "region" | "auth_subject">]>;
|
|
3973
3973
|
readonly refillModel: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "continuous" | "fixed_window" | "rolling_window">]>;
|
|
3974
3974
|
}, undefined>, undefined>;
|
|
3975
3975
|
readonly existingOrderId: v.SchemaWithPipe<readonly [v.OptionalSchema<v.BigintSchema<undefined>, undefined>, v.TransformAction<bigint | undefined, string | undefined>]>;
|
|
@@ -3997,7 +3997,7 @@ declare const BatchCancelOrdersResultSchema: v.SchemaWithPipe<readonly [v.Object
|
|
|
3997
3997
|
readonly policyVersion: v.SchemaWithPipe<readonly [v.OptionalSchema<v.BigintSchema<undefined>, undefined>, v.TransformAction<bigint | undefined, string | undefined>]>;
|
|
3998
3998
|
readonly operationId: v.StringSchema<undefined>;
|
|
3999
3999
|
readonly policyClass: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "auth_public" | "trading_place" | "trading_cancel" | "trading_read" | "account_admin" | "public_read" | "account_security" | "deposit_create" | "internal_transfer" | "withdraw_submit" | "withdraw_validate" | "guard_sign" | "social_provider">]>;
|
|
4000
|
-
readonly scope: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "symbol" | "unspecified" | "
|
|
4000
|
+
readonly scope: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "symbol" | "unspecified" | "subaccount" | "client_ip" | "api_key" | "account" | "connection" | "service" | "region" | "auth_subject">]>;
|
|
4001
4001
|
readonly refillModel: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "continuous" | "fixed_window" | "rolling_window">]>;
|
|
4002
4002
|
}, undefined>, undefined>;
|
|
4003
4003
|
readonly existingOrderId: v.SchemaWithPipe<readonly [v.OptionalSchema<v.BigintSchema<undefined>, undefined>, v.TransformAction<bigint | undefined, string | undefined>]>;
|
|
@@ -4027,7 +4027,7 @@ declare const BatchCancelOrdersResultSchema: v.SchemaWithPipe<readonly [v.Object
|
|
|
4027
4027
|
policyVersion?: string | undefined;
|
|
4028
4028
|
operationId: string;
|
|
4029
4029
|
policyClass: "unspecified" | "auth_public" | "trading_place" | "trading_cancel" | "trading_read" | "account_admin" | "public_read" | "account_security" | "deposit_create" | "internal_transfer" | "withdraw_submit" | "withdraw_validate" | "guard_sign" | "social_provider";
|
|
4030
|
-
scope: "symbol" | "unspecified" | "
|
|
4030
|
+
scope: "symbol" | "unspecified" | "subaccount" | "client_ip" | "api_key" | "account" | "connection" | "service" | "region" | "auth_subject";
|
|
4031
4031
|
refillModel: "unspecified" | "continuous" | "fixed_window" | "rolling_window";
|
|
4032
4032
|
} | undefined;
|
|
4033
4033
|
existingOrderId?: string | undefined;
|
|
@@ -4057,7 +4057,7 @@ declare const BatchCancelOrdersResultSchema: v.SchemaWithPipe<readonly [v.Object
|
|
|
4057
4057
|
policyVersion?: string | undefined;
|
|
4058
4058
|
operationId: string;
|
|
4059
4059
|
policyClass: "unspecified" | "auth_public" | "trading_place" | "trading_cancel" | "trading_read" | "account_admin" | "public_read" | "account_security" | "deposit_create" | "internal_transfer" | "withdraw_submit" | "withdraw_validate" | "guard_sign" | "social_provider";
|
|
4060
|
-
scope: "symbol" | "unspecified" | "
|
|
4060
|
+
scope: "symbol" | "unspecified" | "subaccount" | "client_ip" | "api_key" | "account" | "connection" | "service" | "region" | "auth_subject";
|
|
4061
4061
|
refillModel: "unspecified" | "continuous" | "fixed_window" | "rolling_window";
|
|
4062
4062
|
} | undefined;
|
|
4063
4063
|
existingOrderId?: string | undefined;
|
|
@@ -4089,7 +4089,7 @@ declare const BatchCancelOrdersResultSchema: v.SchemaWithPipe<readonly [v.Object
|
|
|
4089
4089
|
policyVersion?: string | undefined;
|
|
4090
4090
|
operationId: string;
|
|
4091
4091
|
policyClass: "unspecified" | "auth_public" | "trading_place" | "trading_cancel" | "trading_read" | "account_admin" | "public_read" | "account_security" | "deposit_create" | "internal_transfer" | "withdraw_submit" | "withdraw_validate" | "guard_sign" | "social_provider";
|
|
4092
|
-
scope: "symbol" | "unspecified" | "
|
|
4092
|
+
scope: "symbol" | "unspecified" | "subaccount" | "client_ip" | "api_key" | "account" | "connection" | "service" | "region" | "auth_subject";
|
|
4093
4093
|
refillModel: "unspecified" | "continuous" | "fixed_window" | "rolling_window";
|
|
4094
4094
|
} | undefined;
|
|
4095
4095
|
existingOrderId?: string | undefined;
|
|
@@ -4758,7 +4758,7 @@ declare function createPreviewOrderResultSchema(scales: SdkScales, symbolId: num
|
|
|
4758
4758
|
readonly policyVersion: v.SchemaWithPipe<readonly [v.OptionalSchema<v.BigintSchema<undefined>, undefined>, v.TransformAction<bigint | undefined, string | undefined>]>;
|
|
4759
4759
|
readonly operationId: v.StringSchema<undefined>;
|
|
4760
4760
|
readonly policyClass: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "auth_public" | "trading_place" | "trading_cancel" | "trading_read" | "account_admin" | "public_read" | "account_security" | "deposit_create" | "internal_transfer" | "withdraw_submit" | "withdraw_validate" | "guard_sign" | "social_provider">]>;
|
|
4761
|
-
readonly scope: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "symbol" | "unspecified" | "
|
|
4761
|
+
readonly scope: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "symbol" | "unspecified" | "subaccount" | "client_ip" | "api_key" | "account" | "connection" | "service" | "region" | "auth_subject">]>;
|
|
4762
4762
|
readonly refillModel: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "continuous" | "fixed_window" | "rolling_window">]>;
|
|
4763
4763
|
}, undefined>, undefined>;
|
|
4764
4764
|
readonly existingOrderId: v.SchemaWithPipe<readonly [v.OptionalSchema<v.BigintSchema<undefined>, undefined>, v.TransformAction<bigint | undefined, string | undefined>]>;
|
|
@@ -4789,7 +4789,7 @@ declare function createPreviewOrderResultSchema(scales: SdkScales, symbolId: num
|
|
|
4789
4789
|
policyVersion?: string | undefined;
|
|
4790
4790
|
operationId: string;
|
|
4791
4791
|
policyClass: "unspecified" | "auth_public" | "trading_place" | "trading_cancel" | "trading_read" | "account_admin" | "public_read" | "account_security" | "deposit_create" | "internal_transfer" | "withdraw_submit" | "withdraw_validate" | "guard_sign" | "social_provider";
|
|
4792
|
-
scope: "symbol" | "unspecified" | "
|
|
4792
|
+
scope: "symbol" | "unspecified" | "subaccount" | "client_ip" | "api_key" | "account" | "connection" | "service" | "region" | "auth_subject";
|
|
4793
4793
|
refillModel: "unspecified" | "continuous" | "fixed_window" | "rolling_window";
|
|
4794
4794
|
} | undefined;
|
|
4795
4795
|
existingOrderId?: string | undefined;
|
|
@@ -4816,7 +4816,7 @@ declare function createPreviewOrderResultSchema(scales: SdkScales, symbolId: num
|
|
|
4816
4816
|
policyVersion?: string | undefined;
|
|
4817
4817
|
operationId: string;
|
|
4818
4818
|
policyClass: "unspecified" | "auth_public" | "trading_place" | "trading_cancel" | "trading_read" | "account_admin" | "public_read" | "account_security" | "deposit_create" | "internal_transfer" | "withdraw_submit" | "withdraw_validate" | "guard_sign" | "social_provider";
|
|
4819
|
-
scope: "symbol" | "unspecified" | "
|
|
4819
|
+
scope: "symbol" | "unspecified" | "subaccount" | "client_ip" | "api_key" | "account" | "connection" | "service" | "region" | "auth_subject";
|
|
4820
4820
|
refillModel: "unspecified" | "continuous" | "fixed_window" | "rolling_window";
|
|
4821
4821
|
} | undefined;
|
|
4822
4822
|
existingOrderId?: string | undefined;
|
|
@@ -300,7 +300,7 @@ declare const SubaccountActivityEventSchema: v.ObjectSchema<{
|
|
|
300
300
|
seconds: bigint;
|
|
301
301
|
nanos: number;
|
|
302
302
|
} | undefined, number | undefined>]>;
|
|
303
|
-
readonly entityKind: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "
|
|
303
|
+
readonly entityKind: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "subaccount" | "api_key" | "account" | "destination" | "session" | "member" | "policy" | "invite" | "security">]>;
|
|
304
304
|
readonly eventAction: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "disabled" | "revoked" | "removed" | "failed" | "enabled" | "created" | "updated" | "deleted" | "role_set" | "received" | "replied" | "blocked" | "hold_placed" | "hold_released">]>;
|
|
305
305
|
readonly source: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "api" | "web" | "mobile">]>;
|
|
306
306
|
readonly ip: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
@@ -169,7 +169,7 @@ declare const GetUserTradesInputSchema: v.SchemaWithPipe<readonly [v.UnionSchema
|
|
|
169
169
|
readonly orderId: v.OptionalSchema<v.NeverSchema<undefined>, undefined>;
|
|
170
170
|
readonly lineageId: v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.TransformAction<string, bigint>]>, v.CheckAction<bigint, `${string} must be greater than zero`>]>;
|
|
171
171
|
readonly throughGeneration: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 1, undefined>, v.MaxValueAction<number, 4294967295, undefined>]>, undefined>;
|
|
172
|
-
}, undefined>], undefined>], ({ input }: v.UnionIssue<v.
|
|
172
|
+
}, undefined>], undefined>], ({ input }: v.UnionIssue<v.StringIssue | v.NumberIssue | v.BooleanIssue | v.IntegerIssue<number> | v.MinValueIssue<number, 1> | v.MaxValueIssue<number, 4294967295> | v.StrictObjectIssue | v.PicklistIssue | v.MinLengthIssue<string, 1> | v.UnionIssue<v.StringIssue | v.StrictObjectIssue | v.PicklistIssue | v.MinLengthIssue<string, 1>> | v.GtValueIssue<number, 0> | v.CheckIssue<bigint> | v.NeverIssue | v.MaxValueIssue<number, 1000> | v.UnionIssue<v.StringIssue | v.NumberIssue | v.BooleanIssue | v.IntegerIssue<number> | v.MinValueIssue<number, 1> | v.MaxValueIssue<number, 4294967295> | v.StrictObjectIssue | v.PicklistIssue | v.MinLengthIssue<string, 1> | v.UnionIssue<v.StringIssue | v.StrictObjectIssue | v.PicklistIssue | v.MinLengthIssue<string, 1>> | v.GtValueIssue<number, 0> | v.CheckIssue<bigint> | v.NeverIssue | v.MaxValueIssue<number, 1000>>>) => "Provide at most one of orderId or lineageId" | "throughGeneration requires lineageId" | "symbolId is required when afterMatchId is set" | "Invalid trade filters">, v.TransformAction<{
|
|
173
173
|
symbolId?: number | undefined;
|
|
174
174
|
afterMatchId?: undefined;
|
|
175
175
|
side?: Side.BUY | Side.SELL | undefined;
|
|
@@ -21,7 +21,7 @@ declare const RateLimitDetailSchema: v.ObjectSchema<{
|
|
|
21
21
|
readonly policyVersion: v.SchemaWithPipe<readonly [v.OptionalSchema<v.BigintSchema<undefined>, undefined>, v.TransformAction<bigint | undefined, string | undefined>]>;
|
|
22
22
|
readonly operationId: v.StringSchema<undefined>;
|
|
23
23
|
readonly policyClass: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "auth_public" | "trading_place" | "trading_cancel" | "trading_read" | "account_admin" | "public_read" | "account_security" | "deposit_create" | "internal_transfer" | "withdraw_submit" | "withdraw_validate" | "guard_sign" | "social_provider">]>;
|
|
24
|
-
readonly scope: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "symbol" | "unspecified" | "
|
|
24
|
+
readonly scope: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "symbol" | "unspecified" | "subaccount" | "client_ip" | "api_key" | "account" | "connection" | "service" | "region" | "auth_subject">]>;
|
|
25
25
|
readonly refillModel: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "continuous" | "fixed_window" | "rolling_window">]>;
|
|
26
26
|
}, undefined>;
|
|
27
27
|
/** Structured quota state exposed by order rejections and {@link RateLimitError}. */
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@polyester/sdk",
|
|
3
|
-
"version": "0.34.0
|
|
3
|
+
"version": "0.34.0",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "TypeScript SDK providing access to APIs on Polyester Exchange.",
|
|
6
6
|
"homepage": "https://github.com/Fabric-Labs/polyester-sdk-typescript#readme",
|