@polyester/sdk 0.32.1 → 0.32.2-devnet-20261102211233
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 +8 -0
- package/dist/client.d.ts +2 -0
- package/dist/client.d.ts.map +1 -1
- package/dist/client.js +2 -0
- package/dist/client.js.map +1 -1
- package/dist/gen/auth/v1/address_book_pb.js +1 -1
- package/dist/gen/auth/v1/address_book_pb.js.map +1 -1
- package/dist/gen/auth/v1/api_keys_pb.js +1 -1
- package/dist/gen/auth/v1/api_keys_pb.js.map +1 -1
- package/dist/gen/auth/v1/auth_pb.js +1 -1
- package/dist/gen/auth/v1/auth_pb.js.map +1 -1
- package/dist/gen/auth/v1/mfa_pb.js +1 -1
- package/dist/gen/auth/v1/mfa_pb.js.map +1 -1
- package/dist/gen/auth/v1/policies_pb.js +1 -1
- package/dist/gen/auth/v1/policies_pb.js.map +1 -1
- package/dist/gen/auth/v1/profile_pb.js +1 -1
- package/dist/gen/auth/v1/profile_pb.js.map +1 -1
- package/dist/gen/auth/v1/resolve_pb.js +1 -1
- package/dist/gen/auth/v1/resolve_pb.js.map +1 -1
- package/dist/gen/auth/v1/social_verification_pb.js +1 -1
- package/dist/gen/auth/v1/social_verification_pb.js.map +1 -1
- package/dist/gen/auth/v1/subaccounts_pb.js +1 -1
- package/dist/gen/auth/v1/subaccounts_pb.js.map +1 -1
- package/dist/gen/chain/analytics/v1/analytics_read_pb.js +1 -1
- package/dist/gen/chain/analytics/v1/analytics_read_pb.js.map +1 -1
- package/dist/gen/chain/deposit/v1/deposit_pb.js +1 -1
- package/dist/gen/chain/deposit/v1/deposit_pb.js.map +1 -1
- package/dist/gen/chain/guard/v1/guard_signer_pb.js +1 -1
- package/dist/gen/chain/guard/v1/guard_signer_pb.js.map +1 -1
- package/dist/gen/chain/lifecycle/v1/lifecycle_read_pb.js +1 -1
- package/dist/gen/chain/lifecycle/v1/lifecycle_read_pb.js.map +1 -1
- package/dist/gen/chain/withdraw/v1/auto_withdraw_pb.js +1 -1
- package/dist/gen/chain/withdraw/v1/auto_withdraw_pb.js.map +1 -1
- package/dist/gen/chain/withdraw/v1/withdraw_pb.js +1 -1
- package/dist/gen/chain/withdraw/v1/withdraw_pb.js.map +1 -1
- package/dist/gen/chain/zipper/v1/zipper_pb.js +1 -1
- package/dist/gen/chain/zipper/v1/zipper_pb.js.map +1 -1
- package/dist/gen/changelog/v1/changelog_pb.d.ts +643 -0
- package/dist/gen/changelog/v1/changelog_pb.d.ts.map +1 -0
- package/dist/gen/changelog/v1/changelog_pb.js +272 -0
- package/dist/gen/changelog/v1/changelog_pb.js.map +1 -0
- package/dist/gen/checkpoints/v1/checkpoints_pb.js +1 -1
- package/dist/gen/checkpoints/v1/checkpoints_pb.js.map +1 -1
- package/dist/gen/claims/v1/claims_pb.js +1 -1
- package/dist/gen/claims/v1/claims_pb.js.map +1 -1
- package/dist/gen/fees/v1/fees_pb.js +1 -1
- package/dist/gen/fees/v1/fees_pb.js.map +1 -1
- package/dist/gen/index.d.ts +2 -1
- package/dist/gen/index.js +2 -1
- package/dist/gen/ledger/read/v1/ledger_read_pb.js +1 -1
- package/dist/gen/ledger/read/v1/ledger_read_pb.js.map +1 -1
- package/dist/gen/marketdata/v1/heatmap_pb.js +1 -1
- package/dist/gen/marketdata/v1/heatmap_pb.js.map +1 -1
- package/dist/gen/marketdata/v1/marketdata_pb.js +1 -1
- package/dist/gen/marketdata/v1/marketdata_pb.js.map +1 -1
- package/dist/gen/marketoverview/v1/marketoverview_pb.js +1 -1
- package/dist/gen/marketoverview/v1/marketoverview_pb.js.map +1 -1
- package/dist/gen/orderbook/v1/orderbook_pb.js +1 -1
- package/dist/gen/orderbook/v1/orderbook_pb.js.map +1 -1
- package/dist/gen/orders/v1/orders_pb.js +1 -1
- package/dist/gen/orders/v1/orders_pb.js.map +1 -1
- package/dist/gen/orders/v1/orders_read_pb.d.ts +9 -1
- package/dist/gen/orders/v1/orders_read_pb.d.ts.map +1 -1
- package/dist/gen/orders/v1/orders_read_pb.js +9 -1
- package/dist/gen/orders/v1/orders_read_pb.js.map +1 -1
- package/dist/gen/polyester/api/options_pb.d.ts +11 -4
- package/dist/gen/polyester/api/options_pb.d.ts.map +1 -1
- package/dist/gen/polyester/api/options_pb.js +11 -3
- package/dist/gen/polyester/api/options_pb.js.map +1 -1
- package/dist/gen/ratelimit/v1/ratelimit_pb.js +1 -1
- package/dist/gen/ratelimit/v1/ratelimit_pb.js.map +1 -1
- package/dist/gen/rewards/v1/rewards_pb.js +1 -1
- package/dist/gen/rewards/v1/rewards_pb.js.map +1 -1
- package/dist/gen/swap/quickswap/v1/quickswap_broker_pb.js +1 -1
- package/dist/gen/swap/quickswap/v1/quickswap_broker_pb.js.map +1 -1
- package/dist/gen/swap/quickswap/v1/quickswap_pb.js +1 -1
- package/dist/gen/swap/quickswap/v1/quickswap_pb.js.map +1 -1
- package/dist/gen/swap/v1/swap_pb.js +1 -1
- package/dist/gen/swap/v1/swap_pb.js.map +1 -1
- package/dist/gen/transfer/v1/internal_transfer_pb.js +1 -1
- package/dist/gen/transfer/v1/internal_transfer_pb.js.map +1 -1
- package/dist/gen/triggers/v1/triggers_pb.d.ts +9 -0
- package/dist/gen/triggers/v1/triggers_pb.d.ts.map +1 -1
- package/dist/gen/triggers/v1/triggers_pb.js +10 -1
- package/dist/gen/triggers/v1/triggers_pb.js.map +1 -1
- package/dist/gen/vip/v1/vip_pb.js +1 -1
- package/dist/gen/vip/v1/vip_pb.js.map +1 -1
- package/dist/index.d.ts +4 -1
- package/dist/services/balances/balances.schemas.d.ts +3 -3
- package/dist/services/changelog/changelog.codecs.d.ts +13 -0
- package/dist/services/changelog/changelog.codecs.d.ts.map +1 -0
- package/dist/services/changelog/changelog.codecs.js +83 -0
- package/dist/services/changelog/changelog.codecs.js.map +1 -0
- package/dist/services/changelog/changelog.d.ts +36 -0
- package/dist/services/changelog/changelog.d.ts.map +1 -0
- package/dist/services/changelog/changelog.js +53 -0
- package/dist/services/changelog/changelog.js.map +1 -0
- package/dist/services/changelog/changelog.schemas.d.ts +358 -0
- package/dist/services/changelog/changelog.schemas.d.ts.map +1 -0
- package/dist/services/changelog/changelog.schemas.js +101 -0
- package/dist/services/changelog/changelog.schemas.js.map +1 -0
- package/dist/services/changelog/changelog.types.d.ts +3 -0
- package/dist/services/changelog/service.d.ts +8 -0
- package/dist/services/changelog/service.d.ts.map +1 -0
- package/dist/services/changelog/service.js +9 -0
- package/dist/services/changelog/service.js.map +1 -0
- package/dist/services/checkpoints/checkpoints.schemas.d.ts +2 -2
- package/dist/services/heatmap/heatmap.schemas.d.ts +4 -4
- package/dist/services/lifecycle/lifecycle.schemas.d.ts +54 -54
- package/dist/services/orderbook/orderbook.schemas.d.ts +1 -1
- package/dist/services/orders/orders-batch.schemas.d.ts +5 -5
- package/dist/services/orders/orders-output.schemas.d.ts +13 -13
- package/dist/services/orders/orders.codecs.js +1 -0
- package/dist/services/orders/orders.codecs.js.map +1 -1
- package/dist/services/subaccounts/subaccounts.schemas.d.ts +3 -3
- package/dist/services/trades/trades.schemas.d.ts +2 -2
- package/dist/services/transfers/transfers.schemas.d.ts +1 -1
- package/dist/services/triggers/trigger-input.schemas.d.ts +1 -1
- package/dist/services/triggers/triggers-output.schemas.d.ts +19 -19
- package/dist/services/triggers/triggers.codecs.js +1 -0
- package/dist/services/triggers/triggers.codecs.js.map +1 -1
- package/dist/wired-services.d.ts.map +1 -1
- package/dist/wired-services.js +2 -0
- package/dist/wired-services.js.map +1 -1
- package/package.json +1 -1
|
@@ -153,7 +153,7 @@ declare const LifecycleFlowStepActivitySchema: v.SchemaWithPipe<readonly [v.Obje
|
|
|
153
153
|
readonly approveCount: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
|
|
154
154
|
readonly rejectCount: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
|
|
155
155
|
readonly validatorCount: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
|
|
156
|
-
readonly kind: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "
|
|
156
|
+
readonly kind: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "trading" | "funding" | "minted">]>;
|
|
157
157
|
readonly requiredApprovals: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
|
|
158
158
|
readonly requiredRejections: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
|
|
159
159
|
readonly amountE18: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ObjectSchema<{
|
|
@@ -181,7 +181,7 @@ declare const LifecycleFlowStepActivitySchema: v.SchemaWithPipe<readonly [v.Obje
|
|
|
181
181
|
approveCount: number;
|
|
182
182
|
rejectCount: number;
|
|
183
183
|
validatorCount: number;
|
|
184
|
-
kind: "unspecified" | "
|
|
184
|
+
kind: "unspecified" | "trading" | "funding" | "minted";
|
|
185
185
|
requiredApprovals: number;
|
|
186
186
|
requiredRejections: number;
|
|
187
187
|
amountE18?: string | undefined;
|
|
@@ -203,7 +203,7 @@ declare const LifecycleFlowStepActivitySchema: v.SchemaWithPipe<readonly [v.Obje
|
|
|
203
203
|
approveCount: number;
|
|
204
204
|
rejectCount: number;
|
|
205
205
|
validatorCount: number;
|
|
206
|
-
kind: "unspecified" | "
|
|
206
|
+
kind: "unspecified" | "trading" | "funding" | "minted";
|
|
207
207
|
requiredApprovals: number;
|
|
208
208
|
requiredRejections: number;
|
|
209
209
|
amountE18?: string | undefined;
|
|
@@ -296,7 +296,7 @@ declare const LifecycleFlowStepSchema: v.SchemaWithPipe<readonly [v.ObjectSchema
|
|
|
296
296
|
readonly approveCount: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
|
|
297
297
|
readonly rejectCount: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
|
|
298
298
|
readonly validatorCount: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
|
|
299
|
-
readonly kind: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "
|
|
299
|
+
readonly kind: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "trading" | "funding" | "minted">]>;
|
|
300
300
|
readonly requiredApprovals: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
|
|
301
301
|
readonly requiredRejections: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
|
|
302
302
|
readonly amountE18: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ObjectSchema<{
|
|
@@ -324,7 +324,7 @@ declare const LifecycleFlowStepSchema: v.SchemaWithPipe<readonly [v.ObjectSchema
|
|
|
324
324
|
approveCount: number;
|
|
325
325
|
rejectCount: number;
|
|
326
326
|
validatorCount: number;
|
|
327
|
-
kind: "unspecified" | "
|
|
327
|
+
kind: "unspecified" | "trading" | "funding" | "minted";
|
|
328
328
|
requiredApprovals: number;
|
|
329
329
|
requiredRejections: number;
|
|
330
330
|
amountE18?: string | undefined;
|
|
@@ -346,7 +346,7 @@ declare const LifecycleFlowStepSchema: v.SchemaWithPipe<readonly [v.ObjectSchema
|
|
|
346
346
|
approveCount: number;
|
|
347
347
|
rejectCount: number;
|
|
348
348
|
validatorCount: number;
|
|
349
|
-
kind: "unspecified" | "
|
|
349
|
+
kind: "unspecified" | "trading" | "funding" | "minted";
|
|
350
350
|
requiredApprovals: number;
|
|
351
351
|
requiredRejections: number;
|
|
352
352
|
amountE18?: string | undefined;
|
|
@@ -409,7 +409,7 @@ declare const LifecycleFlowStepSchema: v.SchemaWithPipe<readonly [v.ObjectSchema
|
|
|
409
409
|
approveCount: number;
|
|
410
410
|
rejectCount: number;
|
|
411
411
|
validatorCount: number;
|
|
412
|
-
kind: "unspecified" | "
|
|
412
|
+
kind: "unspecified" | "trading" | "funding" | "minted";
|
|
413
413
|
requiredApprovals: number;
|
|
414
414
|
requiredRejections: number;
|
|
415
415
|
amountE18?: string | undefined;
|
|
@@ -472,7 +472,7 @@ declare const LifecycleFlowStepSchema: v.SchemaWithPipe<readonly [v.ObjectSchema
|
|
|
472
472
|
approveCount: number;
|
|
473
473
|
rejectCount: number;
|
|
474
474
|
validatorCount: number;
|
|
475
|
-
kind: "unspecified" | "
|
|
475
|
+
kind: "unspecified" | "trading" | "funding" | "minted";
|
|
476
476
|
requiredApprovals: number;
|
|
477
477
|
requiredRejections: number;
|
|
478
478
|
amountE18?: string | undefined;
|
|
@@ -555,8 +555,8 @@ declare const LifecycleFlowSummarySchema: v.SchemaWithPipe<readonly [v.ObjectSch
|
|
|
555
555
|
readonly txOccurrenceIndex: v.SchemaWithPipe<readonly [v.OptionalSchema<v.BigintSchema<undefined>, undefined>, v.TransformAction<bigint | undefined, number>]>;
|
|
556
556
|
readonly sourceAddress: v.StringSchema<undefined>;
|
|
557
557
|
readonly destinationAddress: v.StringSchema<undefined>;
|
|
558
|
-
readonly sourceDomain: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "
|
|
559
|
-
readonly destinationDomain: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "
|
|
558
|
+
readonly sourceDomain: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "trading" | "funding" | "external_chain" | "zipper" | "lending">]>;
|
|
559
|
+
readonly destinationDomain: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "trading" | "funding" | "external_chain" | "zipper" | "lending">]>;
|
|
560
560
|
readonly latestTxRef: v.StringSchema<undefined>;
|
|
561
561
|
readonly latestLifecycleSource: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "relayer" | "polyester_chain" | "executor" | "ledger" | "lifecycle">]>;
|
|
562
562
|
readonly lifecycleReason: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>, v.TransformAction<number, LifecycleReasonValue>]>;
|
|
@@ -619,8 +619,8 @@ declare const LifecycleFlowSummarySchema: v.SchemaWithPipe<readonly [v.ObjectSch
|
|
|
619
619
|
txOccurrenceIndex?: number | undefined;
|
|
620
620
|
sourceAddress: string;
|
|
621
621
|
destinationAddress: string;
|
|
622
|
-
sourceDomain: "unspecified" | "
|
|
623
|
-
destinationDomain: "unspecified" | "
|
|
622
|
+
sourceDomain: "unspecified" | "trading" | "funding" | "external_chain" | "zipper" | "lending";
|
|
623
|
+
destinationDomain: "unspecified" | "trading" | "funding" | "external_chain" | "zipper" | "lending";
|
|
624
624
|
latestTxRef: string;
|
|
625
625
|
latestLifecycleSource: "unspecified" | "relayer" | "polyester_chain" | "executor" | "ledger" | "lifecycle";
|
|
626
626
|
lifecycleReason: LifecycleReasonValue;
|
|
@@ -682,8 +682,8 @@ declare const LifecycleFlowSummarySchema: v.SchemaWithPipe<readonly [v.ObjectSch
|
|
|
682
682
|
txOccurrenceIndex?: number | undefined;
|
|
683
683
|
sourceAddress: string;
|
|
684
684
|
destinationAddress: string;
|
|
685
|
-
sourceDomain: "unspecified" | "
|
|
686
|
-
destinationDomain: "unspecified" | "
|
|
685
|
+
sourceDomain: "unspecified" | "trading" | "funding" | "external_chain" | "zipper" | "lending";
|
|
686
|
+
destinationDomain: "unspecified" | "trading" | "funding" | "external_chain" | "zipper" | "lending";
|
|
687
687
|
latestTxRef: string;
|
|
688
688
|
latestLifecycleSource: "unspecified" | "relayer" | "polyester_chain" | "executor" | "ledger" | "lifecycle";
|
|
689
689
|
lifecycleReason: LifecycleReasonValue;
|
|
@@ -777,8 +777,8 @@ declare const LifecycleFlowDetailSchema: v.ObjectSchema<{
|
|
|
777
777
|
readonly txOccurrenceIndex: v.SchemaWithPipe<readonly [v.OptionalSchema<v.BigintSchema<undefined>, undefined>, v.TransformAction<bigint | undefined, number>]>;
|
|
778
778
|
readonly sourceAddress: v.StringSchema<undefined>;
|
|
779
779
|
readonly destinationAddress: v.StringSchema<undefined>;
|
|
780
|
-
readonly sourceDomain: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "
|
|
781
|
-
readonly destinationDomain: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "
|
|
780
|
+
readonly sourceDomain: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "trading" | "funding" | "external_chain" | "zipper" | "lending">]>;
|
|
781
|
+
readonly destinationDomain: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "trading" | "funding" | "external_chain" | "zipper" | "lending">]>;
|
|
782
782
|
readonly latestTxRef: v.StringSchema<undefined>;
|
|
783
783
|
readonly latestLifecycleSource: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "relayer" | "polyester_chain" | "executor" | "ledger" | "lifecycle">]>;
|
|
784
784
|
readonly lifecycleReason: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>, v.TransformAction<number, LifecycleReasonValue>]>;
|
|
@@ -841,8 +841,8 @@ declare const LifecycleFlowDetailSchema: v.ObjectSchema<{
|
|
|
841
841
|
txOccurrenceIndex?: number | undefined;
|
|
842
842
|
sourceAddress: string;
|
|
843
843
|
destinationAddress: string;
|
|
844
|
-
sourceDomain: "unspecified" | "
|
|
845
|
-
destinationDomain: "unspecified" | "
|
|
844
|
+
sourceDomain: "unspecified" | "trading" | "funding" | "external_chain" | "zipper" | "lending";
|
|
845
|
+
destinationDomain: "unspecified" | "trading" | "funding" | "external_chain" | "zipper" | "lending";
|
|
846
846
|
latestTxRef: string;
|
|
847
847
|
latestLifecycleSource: "unspecified" | "relayer" | "polyester_chain" | "executor" | "ledger" | "lifecycle";
|
|
848
848
|
lifecycleReason: LifecycleReasonValue;
|
|
@@ -904,8 +904,8 @@ declare const LifecycleFlowDetailSchema: v.ObjectSchema<{
|
|
|
904
904
|
txOccurrenceIndex?: number | undefined;
|
|
905
905
|
sourceAddress: string;
|
|
906
906
|
destinationAddress: string;
|
|
907
|
-
sourceDomain: "unspecified" | "
|
|
908
|
-
destinationDomain: "unspecified" | "
|
|
907
|
+
sourceDomain: "unspecified" | "trading" | "funding" | "external_chain" | "zipper" | "lending";
|
|
908
|
+
destinationDomain: "unspecified" | "trading" | "funding" | "external_chain" | "zipper" | "lending";
|
|
909
909
|
latestTxRef: string;
|
|
910
910
|
latestLifecycleSource: "unspecified" | "relayer" | "polyester_chain" | "executor" | "ledger" | "lifecycle";
|
|
911
911
|
lifecycleReason: LifecycleReasonValue;
|
|
@@ -1028,7 +1028,7 @@ declare const LifecycleFlowDetailSchema: v.ObjectSchema<{
|
|
|
1028
1028
|
readonly approveCount: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
|
|
1029
1029
|
readonly rejectCount: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
|
|
1030
1030
|
readonly validatorCount: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
|
|
1031
|
-
readonly kind: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "
|
|
1031
|
+
readonly kind: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "trading" | "funding" | "minted">]>;
|
|
1032
1032
|
readonly requiredApprovals: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
|
|
1033
1033
|
readonly requiredRejections: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
|
|
1034
1034
|
readonly amountE18: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ObjectSchema<{
|
|
@@ -1056,7 +1056,7 @@ declare const LifecycleFlowDetailSchema: v.ObjectSchema<{
|
|
|
1056
1056
|
approveCount: number;
|
|
1057
1057
|
rejectCount: number;
|
|
1058
1058
|
validatorCount: number;
|
|
1059
|
-
kind: "unspecified" | "
|
|
1059
|
+
kind: "unspecified" | "trading" | "funding" | "minted";
|
|
1060
1060
|
requiredApprovals: number;
|
|
1061
1061
|
requiredRejections: number;
|
|
1062
1062
|
amountE18?: string | undefined;
|
|
@@ -1078,7 +1078,7 @@ declare const LifecycleFlowDetailSchema: v.ObjectSchema<{
|
|
|
1078
1078
|
approveCount: number;
|
|
1079
1079
|
rejectCount: number;
|
|
1080
1080
|
validatorCount: number;
|
|
1081
|
-
kind: "unspecified" | "
|
|
1081
|
+
kind: "unspecified" | "trading" | "funding" | "minted";
|
|
1082
1082
|
requiredApprovals: number;
|
|
1083
1083
|
requiredRejections: number;
|
|
1084
1084
|
amountE18?: string | undefined;
|
|
@@ -1141,7 +1141,7 @@ declare const LifecycleFlowDetailSchema: v.ObjectSchema<{
|
|
|
1141
1141
|
approveCount: number;
|
|
1142
1142
|
rejectCount: number;
|
|
1143
1143
|
validatorCount: number;
|
|
1144
|
-
kind: "unspecified" | "
|
|
1144
|
+
kind: "unspecified" | "trading" | "funding" | "minted";
|
|
1145
1145
|
requiredApprovals: number;
|
|
1146
1146
|
requiredRejections: number;
|
|
1147
1147
|
amountE18?: string | undefined;
|
|
@@ -1204,7 +1204,7 @@ declare const LifecycleFlowDetailSchema: v.ObjectSchema<{
|
|
|
1204
1204
|
approveCount: number;
|
|
1205
1205
|
rejectCount: number;
|
|
1206
1206
|
validatorCount: number;
|
|
1207
|
-
kind: "unspecified" | "
|
|
1207
|
+
kind: "unspecified" | "trading" | "funding" | "minted";
|
|
1208
1208
|
requiredApprovals: number;
|
|
1209
1209
|
requiredRejections: number;
|
|
1210
1210
|
amountE18?: string | undefined;
|
|
@@ -1273,8 +1273,8 @@ declare const ListLifecycleFlowsOutputSchema: v.ObjectSchema<{
|
|
|
1273
1273
|
readonly txOccurrenceIndex: v.SchemaWithPipe<readonly [v.OptionalSchema<v.BigintSchema<undefined>, undefined>, v.TransformAction<bigint | undefined, number>]>;
|
|
1274
1274
|
readonly sourceAddress: v.StringSchema<undefined>;
|
|
1275
1275
|
readonly destinationAddress: v.StringSchema<undefined>;
|
|
1276
|
-
readonly sourceDomain: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "
|
|
1277
|
-
readonly destinationDomain: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "
|
|
1276
|
+
readonly sourceDomain: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "trading" | "funding" | "external_chain" | "zipper" | "lending">]>;
|
|
1277
|
+
readonly destinationDomain: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "trading" | "funding" | "external_chain" | "zipper" | "lending">]>;
|
|
1278
1278
|
readonly latestTxRef: v.StringSchema<undefined>;
|
|
1279
1279
|
readonly latestLifecycleSource: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "relayer" | "polyester_chain" | "executor" | "ledger" | "lifecycle">]>;
|
|
1280
1280
|
readonly lifecycleReason: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>, v.TransformAction<number, LifecycleReasonValue>]>;
|
|
@@ -1337,8 +1337,8 @@ declare const ListLifecycleFlowsOutputSchema: v.ObjectSchema<{
|
|
|
1337
1337
|
txOccurrenceIndex?: number | undefined;
|
|
1338
1338
|
sourceAddress: string;
|
|
1339
1339
|
destinationAddress: string;
|
|
1340
|
-
sourceDomain: "unspecified" | "
|
|
1341
|
-
destinationDomain: "unspecified" | "
|
|
1340
|
+
sourceDomain: "unspecified" | "trading" | "funding" | "external_chain" | "zipper" | "lending";
|
|
1341
|
+
destinationDomain: "unspecified" | "trading" | "funding" | "external_chain" | "zipper" | "lending";
|
|
1342
1342
|
latestTxRef: string;
|
|
1343
1343
|
latestLifecycleSource: "unspecified" | "relayer" | "polyester_chain" | "executor" | "ledger" | "lifecycle";
|
|
1344
1344
|
lifecycleReason: LifecycleReasonValue;
|
|
@@ -1400,8 +1400,8 @@ declare const ListLifecycleFlowsOutputSchema: v.ObjectSchema<{
|
|
|
1400
1400
|
txOccurrenceIndex?: number | undefined;
|
|
1401
1401
|
sourceAddress: string;
|
|
1402
1402
|
destinationAddress: string;
|
|
1403
|
-
sourceDomain: "unspecified" | "
|
|
1404
|
-
destinationDomain: "unspecified" | "
|
|
1403
|
+
sourceDomain: "unspecified" | "trading" | "funding" | "external_chain" | "zipper" | "lending";
|
|
1404
|
+
destinationDomain: "unspecified" | "trading" | "funding" | "external_chain" | "zipper" | "lending";
|
|
1405
1405
|
latestTxRef: string;
|
|
1406
1406
|
latestLifecycleSource: "unspecified" | "relayer" | "polyester_chain" | "executor" | "ledger" | "lifecycle";
|
|
1407
1407
|
lifecycleReason: LifecycleReasonValue;
|
|
@@ -1498,8 +1498,8 @@ declare const GetLifecycleFlowOutputSchema: v.ObjectSchema<{
|
|
|
1498
1498
|
readonly txOccurrenceIndex: v.SchemaWithPipe<readonly [v.OptionalSchema<v.BigintSchema<undefined>, undefined>, v.TransformAction<bigint | undefined, number>]>;
|
|
1499
1499
|
readonly sourceAddress: v.StringSchema<undefined>;
|
|
1500
1500
|
readonly destinationAddress: v.StringSchema<undefined>;
|
|
1501
|
-
readonly sourceDomain: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "
|
|
1502
|
-
readonly destinationDomain: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "
|
|
1501
|
+
readonly sourceDomain: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "trading" | "funding" | "external_chain" | "zipper" | "lending">]>;
|
|
1502
|
+
readonly destinationDomain: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "trading" | "funding" | "external_chain" | "zipper" | "lending">]>;
|
|
1503
1503
|
readonly latestTxRef: v.StringSchema<undefined>;
|
|
1504
1504
|
readonly latestLifecycleSource: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "relayer" | "polyester_chain" | "executor" | "ledger" | "lifecycle">]>;
|
|
1505
1505
|
readonly lifecycleReason: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>, v.TransformAction<number, LifecycleReasonValue>]>;
|
|
@@ -1562,8 +1562,8 @@ declare const GetLifecycleFlowOutputSchema: v.ObjectSchema<{
|
|
|
1562
1562
|
txOccurrenceIndex?: number | undefined;
|
|
1563
1563
|
sourceAddress: string;
|
|
1564
1564
|
destinationAddress: string;
|
|
1565
|
-
sourceDomain: "unspecified" | "
|
|
1566
|
-
destinationDomain: "unspecified" | "
|
|
1565
|
+
sourceDomain: "unspecified" | "trading" | "funding" | "external_chain" | "zipper" | "lending";
|
|
1566
|
+
destinationDomain: "unspecified" | "trading" | "funding" | "external_chain" | "zipper" | "lending";
|
|
1567
1567
|
latestTxRef: string;
|
|
1568
1568
|
latestLifecycleSource: "unspecified" | "relayer" | "polyester_chain" | "executor" | "ledger" | "lifecycle";
|
|
1569
1569
|
lifecycleReason: LifecycleReasonValue;
|
|
@@ -1625,8 +1625,8 @@ declare const GetLifecycleFlowOutputSchema: v.ObjectSchema<{
|
|
|
1625
1625
|
txOccurrenceIndex?: number | undefined;
|
|
1626
1626
|
sourceAddress: string;
|
|
1627
1627
|
destinationAddress: string;
|
|
1628
|
-
sourceDomain: "unspecified" | "
|
|
1629
|
-
destinationDomain: "unspecified" | "
|
|
1628
|
+
sourceDomain: "unspecified" | "trading" | "funding" | "external_chain" | "zipper" | "lending";
|
|
1629
|
+
destinationDomain: "unspecified" | "trading" | "funding" | "external_chain" | "zipper" | "lending";
|
|
1630
1630
|
latestTxRef: string;
|
|
1631
1631
|
latestLifecycleSource: "unspecified" | "relayer" | "polyester_chain" | "executor" | "ledger" | "lifecycle";
|
|
1632
1632
|
lifecycleReason: LifecycleReasonValue;
|
|
@@ -1749,7 +1749,7 @@ declare const GetLifecycleFlowOutputSchema: v.ObjectSchema<{
|
|
|
1749
1749
|
readonly approveCount: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
|
|
1750
1750
|
readonly rejectCount: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
|
|
1751
1751
|
readonly validatorCount: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
|
|
1752
|
-
readonly kind: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "
|
|
1752
|
+
readonly kind: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "trading" | "funding" | "minted">]>;
|
|
1753
1753
|
readonly requiredApprovals: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
|
|
1754
1754
|
readonly requiredRejections: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
|
|
1755
1755
|
readonly amountE18: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ObjectSchema<{
|
|
@@ -1777,7 +1777,7 @@ declare const GetLifecycleFlowOutputSchema: v.ObjectSchema<{
|
|
|
1777
1777
|
approveCount: number;
|
|
1778
1778
|
rejectCount: number;
|
|
1779
1779
|
validatorCount: number;
|
|
1780
|
-
kind: "unspecified" | "
|
|
1780
|
+
kind: "unspecified" | "trading" | "funding" | "minted";
|
|
1781
1781
|
requiredApprovals: number;
|
|
1782
1782
|
requiredRejections: number;
|
|
1783
1783
|
amountE18?: string | undefined;
|
|
@@ -1799,7 +1799,7 @@ declare const GetLifecycleFlowOutputSchema: v.ObjectSchema<{
|
|
|
1799
1799
|
approveCount: number;
|
|
1800
1800
|
rejectCount: number;
|
|
1801
1801
|
validatorCount: number;
|
|
1802
|
-
kind: "unspecified" | "
|
|
1802
|
+
kind: "unspecified" | "trading" | "funding" | "minted";
|
|
1803
1803
|
requiredApprovals: number;
|
|
1804
1804
|
requiredRejections: number;
|
|
1805
1805
|
amountE18?: string | undefined;
|
|
@@ -1862,7 +1862,7 @@ declare const GetLifecycleFlowOutputSchema: v.ObjectSchema<{
|
|
|
1862
1862
|
approveCount: number;
|
|
1863
1863
|
rejectCount: number;
|
|
1864
1864
|
validatorCount: number;
|
|
1865
|
-
kind: "unspecified" | "
|
|
1865
|
+
kind: "unspecified" | "trading" | "funding" | "minted";
|
|
1866
1866
|
requiredApprovals: number;
|
|
1867
1867
|
requiredRejections: number;
|
|
1868
1868
|
amountE18?: string | undefined;
|
|
@@ -1925,7 +1925,7 @@ declare const GetLifecycleFlowOutputSchema: v.ObjectSchema<{
|
|
|
1925
1925
|
approveCount: number;
|
|
1926
1926
|
rejectCount: number;
|
|
1927
1927
|
validatorCount: number;
|
|
1928
|
-
kind: "unspecified" | "
|
|
1928
|
+
kind: "unspecified" | "trading" | "funding" | "minted";
|
|
1929
1929
|
requiredApprovals: number;
|
|
1930
1930
|
requiredRejections: number;
|
|
1931
1931
|
amountE18?: string | undefined;
|
|
@@ -1947,8 +1947,8 @@ declare const LifecycleFlowTxMatchSchema: v.SchemaWithPipe<readonly [v.ObjectSch
|
|
|
1947
1947
|
readonly sourceTxHash: v.StringSchema<undefined>;
|
|
1948
1948
|
readonly latestTxRef: v.StringSchema<undefined>;
|
|
1949
1949
|
readonly txOccurrenceIndex: v.SchemaWithPipe<readonly [v.OptionalSchema<v.BigintSchema<undefined>, undefined>, v.TransformAction<bigint | undefined, number>]>;
|
|
1950
|
-
readonly sourceDomain: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "
|
|
1951
|
-
readonly destinationDomain: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "
|
|
1950
|
+
readonly sourceDomain: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "trading" | "funding" | "external_chain" | "zipper" | "lending">]>;
|
|
1951
|
+
readonly destinationDomain: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "trading" | "funding" | "external_chain" | "zipper" | "lending">]>;
|
|
1952
1952
|
readonly currentStep: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "validation" | "unspecified" | "failed" | "transfer" | "dropped" | "refunded" | "source" | "request" | "execution" | "bridge_fulfillment" | "fulfilling" | "settlement">]>;
|
|
1953
1953
|
readonly isOpen: v.BooleanSchema<undefined>;
|
|
1954
1954
|
readonly isTerminal: v.BooleanSchema<undefined>;
|
|
@@ -1981,8 +1981,8 @@ declare const LifecycleFlowTxMatchSchema: v.SchemaWithPipe<readonly [v.ObjectSch
|
|
|
1981
1981
|
sourceTxHash: string;
|
|
1982
1982
|
latestTxRef: string;
|
|
1983
1983
|
txOccurrenceIndex?: number | undefined;
|
|
1984
|
-
sourceDomain: "unspecified" | "
|
|
1985
|
-
destinationDomain: "unspecified" | "
|
|
1984
|
+
sourceDomain: "unspecified" | "trading" | "funding" | "external_chain" | "zipper" | "lending";
|
|
1985
|
+
destinationDomain: "unspecified" | "trading" | "funding" | "external_chain" | "zipper" | "lending";
|
|
1986
1986
|
currentStep: "validation" | "unspecified" | "failed" | "transfer" | "dropped" | "refunded" | "source" | "request" | "execution" | "bridge_fulfillment" | "fulfilling" | "settlement";
|
|
1987
1987
|
isOpen: boolean;
|
|
1988
1988
|
isTerminal: boolean;
|
|
@@ -2009,8 +2009,8 @@ declare const LifecycleFlowTxMatchSchema: v.SchemaWithPipe<readonly [v.ObjectSch
|
|
|
2009
2009
|
sourceTxHash: string;
|
|
2010
2010
|
latestTxRef: string;
|
|
2011
2011
|
txOccurrenceIndex?: number | undefined;
|
|
2012
|
-
sourceDomain: "unspecified" | "
|
|
2013
|
-
destinationDomain: "unspecified" | "
|
|
2012
|
+
sourceDomain: "unspecified" | "trading" | "funding" | "external_chain" | "zipper" | "lending";
|
|
2013
|
+
destinationDomain: "unspecified" | "trading" | "funding" | "external_chain" | "zipper" | "lending";
|
|
2014
2014
|
currentStep: "validation" | "unspecified" | "failed" | "transfer" | "dropped" | "refunded" | "source" | "request" | "execution" | "bridge_fulfillment" | "fulfilling" | "settlement";
|
|
2015
2015
|
isOpen: boolean;
|
|
2016
2016
|
isTerminal: boolean;
|
|
@@ -2042,8 +2042,8 @@ declare const ListLifecycleFlowsByTxOutputSchema: v.ObjectSchema<{
|
|
|
2042
2042
|
readonly sourceTxHash: v.StringSchema<undefined>;
|
|
2043
2043
|
readonly latestTxRef: v.StringSchema<undefined>;
|
|
2044
2044
|
readonly txOccurrenceIndex: v.SchemaWithPipe<readonly [v.OptionalSchema<v.BigintSchema<undefined>, undefined>, v.TransformAction<bigint | undefined, number>]>;
|
|
2045
|
-
readonly sourceDomain: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "
|
|
2046
|
-
readonly destinationDomain: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "
|
|
2045
|
+
readonly sourceDomain: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "trading" | "funding" | "external_chain" | "zipper" | "lending">]>;
|
|
2046
|
+
readonly destinationDomain: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "trading" | "funding" | "external_chain" | "zipper" | "lending">]>;
|
|
2047
2047
|
readonly currentStep: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "validation" | "unspecified" | "failed" | "transfer" | "dropped" | "refunded" | "source" | "request" | "execution" | "bridge_fulfillment" | "fulfilling" | "settlement">]>;
|
|
2048
2048
|
readonly isOpen: v.BooleanSchema<undefined>;
|
|
2049
2049
|
readonly isTerminal: v.BooleanSchema<undefined>;
|
|
@@ -2076,8 +2076,8 @@ declare const ListLifecycleFlowsByTxOutputSchema: v.ObjectSchema<{
|
|
|
2076
2076
|
sourceTxHash: string;
|
|
2077
2077
|
latestTxRef: string;
|
|
2078
2078
|
txOccurrenceIndex?: number | undefined;
|
|
2079
|
-
sourceDomain: "unspecified" | "
|
|
2080
|
-
destinationDomain: "unspecified" | "
|
|
2079
|
+
sourceDomain: "unspecified" | "trading" | "funding" | "external_chain" | "zipper" | "lending";
|
|
2080
|
+
destinationDomain: "unspecified" | "trading" | "funding" | "external_chain" | "zipper" | "lending";
|
|
2081
2081
|
currentStep: "validation" | "unspecified" | "failed" | "transfer" | "dropped" | "refunded" | "source" | "request" | "execution" | "bridge_fulfillment" | "fulfilling" | "settlement";
|
|
2082
2082
|
isOpen: boolean;
|
|
2083
2083
|
isTerminal: boolean;
|
|
@@ -2104,8 +2104,8 @@ declare const ListLifecycleFlowsByTxOutputSchema: v.ObjectSchema<{
|
|
|
2104
2104
|
sourceTxHash: string;
|
|
2105
2105
|
latestTxRef: string;
|
|
2106
2106
|
txOccurrenceIndex?: number | undefined;
|
|
2107
|
-
sourceDomain: "unspecified" | "
|
|
2108
|
-
destinationDomain: "unspecified" | "
|
|
2107
|
+
sourceDomain: "unspecified" | "trading" | "funding" | "external_chain" | "zipper" | "lending";
|
|
2108
|
+
destinationDomain: "unspecified" | "trading" | "funding" | "external_chain" | "zipper" | "lending";
|
|
2109
2109
|
currentStep: "validation" | "unspecified" | "failed" | "transfer" | "dropped" | "refunded" | "source" | "request" | "execution" | "bridge_fulfillment" | "fulfilling" | "settlement";
|
|
2110
2110
|
isOpen: boolean;
|
|
2111
2111
|
isTerminal: boolean;
|
|
@@ -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 | 5 | 10 | 20 | 100 |
|
|
13
|
+
depth: 1 | 5 | 10 | 20 | 100 | 500 | 1000 | 50 | 200;
|
|
14
14
|
protoDepth: Depth;
|
|
15
15
|
}>]>;
|
|
16
16
|
type GetOrderbookInput = v.InferInput<typeof GetOrderbookInputSchema>;
|
|
@@ -3950,7 +3950,7 @@ declare const BatchCancelOrdersInputSchema: v.SchemaWithPipe<readonly [v.StrictO
|
|
|
3950
3950
|
}>]>;
|
|
3951
3951
|
type BatchCancelOrdersInput = v.InferInput<typeof BatchCancelOrdersInputSchema>;
|
|
3952
3952
|
declare const BatchCancelOrderResultSchema: v.ObjectSchema<{
|
|
3953
|
-
readonly status: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "
|
|
3953
|
+
readonly status: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "accepted" | "rejected">]>;
|
|
3954
3954
|
readonly orderId: v.SchemaWithPipe<readonly [v.OptionalSchema<v.BigintSchema<undefined>, undefined>, v.TransformAction<bigint | undefined, string | undefined>]>;
|
|
3955
3955
|
readonly clientOrderId: v.StringSchema<undefined>;
|
|
3956
3956
|
readonly code: v.StringSchema<undefined>;
|
|
@@ -3978,7 +3978,7 @@ declare const BatchCancelOrderResultSchema: v.ObjectSchema<{
|
|
|
3978
3978
|
type BatchCancelOrderResult = v.InferOutput<typeof BatchCancelOrderResultSchema>;
|
|
3979
3979
|
declare const BatchCancelOrdersResultSchema: v.SchemaWithPipe<readonly [v.ObjectSchema<{
|
|
3980
3980
|
readonly results: v.ArraySchema<v.ObjectSchema<{
|
|
3981
|
-
readonly status: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "
|
|
3981
|
+
readonly status: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "accepted" | "rejected">]>;
|
|
3982
3982
|
readonly orderId: v.SchemaWithPipe<readonly [v.OptionalSchema<v.BigintSchema<undefined>, undefined>, v.TransformAction<bigint | undefined, string | undefined>]>;
|
|
3983
3983
|
readonly clientOrderId: v.StringSchema<undefined>;
|
|
3984
3984
|
readonly code: v.StringSchema<undefined>;
|
|
@@ -4008,7 +4008,7 @@ declare const BatchCancelOrdersResultSchema: v.SchemaWithPipe<readonly [v.Object
|
|
|
4008
4008
|
readonly tsNs: v.BigintSchema<undefined>;
|
|
4009
4009
|
}, undefined>, v.CheckAction<{
|
|
4010
4010
|
results: {
|
|
4011
|
-
status: "unspecified" | "
|
|
4011
|
+
status: "unspecified" | "accepted" | "rejected";
|
|
4012
4012
|
orderId?: string | undefined;
|
|
4013
4013
|
clientOrderId: string;
|
|
4014
4014
|
code: string;
|
|
@@ -4038,7 +4038,7 @@ declare const BatchCancelOrdersResultSchema: v.SchemaWithPipe<readonly [v.Object
|
|
|
4038
4038
|
tsNs: bigint;
|
|
4039
4039
|
}, "Batch cancel result counts do not match the returned results.">, v.TransformAction<{
|
|
4040
4040
|
results: {
|
|
4041
|
-
status: "unspecified" | "
|
|
4041
|
+
status: "unspecified" | "accepted" | "rejected";
|
|
4042
4042
|
orderId?: string | undefined;
|
|
4043
4043
|
clientOrderId: string;
|
|
4044
4044
|
code: string;
|
|
@@ -4070,7 +4070,7 @@ declare const BatchCancelOrdersResultSchema: v.SchemaWithPipe<readonly [v.Object
|
|
|
4070
4070
|
ts: number;
|
|
4071
4071
|
tsNs: string;
|
|
4072
4072
|
results: {
|
|
4073
|
-
status: "unspecified" | "
|
|
4073
|
+
status: "unspecified" | "accepted" | "rejected";
|
|
4074
4074
|
orderId?: string | undefined;
|
|
4075
4075
|
clientOrderId: string;
|
|
4076
4076
|
code: string;
|
|
@@ -247,7 +247,7 @@ declare function createOrderSchema(scales: SdkScales): v.SchemaWithPipe<readonly
|
|
|
247
247
|
attachedRisk: {
|
|
248
248
|
takeProfit: {
|
|
249
249
|
state: {
|
|
250
|
-
status: "unspecified" | "failed" | "canceled" | "completed" | "
|
|
250
|
+
status: "unspecified" | "failed" | "canceled" | "completed" | "created" | "not_configured" | "armed" | "running" | "paused";
|
|
251
251
|
armedTs: number | undefined;
|
|
252
252
|
armedTsNs: string | undefined;
|
|
253
253
|
terminalTs: number | undefined;
|
|
@@ -267,7 +267,7 @@ declare function createOrderSchema(scales: SdkScales): v.SchemaWithPipe<readonly
|
|
|
267
267
|
} | undefined;
|
|
268
268
|
stopLoss: {
|
|
269
269
|
state: {
|
|
270
|
-
status: "unspecified" | "failed" | "canceled" | "completed" | "
|
|
270
|
+
status: "unspecified" | "failed" | "canceled" | "completed" | "created" | "not_configured" | "armed" | "running" | "paused";
|
|
271
271
|
armedTs: number | undefined;
|
|
272
272
|
armedTsNs: string | undefined;
|
|
273
273
|
terminalTs: number | undefined;
|
|
@@ -287,7 +287,7 @@ declare function createOrderSchema(scales: SdkScales): v.SchemaWithPipe<readonly
|
|
|
287
287
|
} | undefined;
|
|
288
288
|
trailingStop: {
|
|
289
289
|
state: {
|
|
290
|
-
status: "unspecified" | "failed" | "canceled" | "completed" | "
|
|
290
|
+
status: "unspecified" | "failed" | "canceled" | "completed" | "created" | "not_configured" | "armed" | "running" | "paused";
|
|
291
291
|
armedTs: number | undefined;
|
|
292
292
|
armedTsNs: string | undefined;
|
|
293
293
|
terminalTs: number | undefined;
|
|
@@ -316,12 +316,12 @@ declare function createOrderSchema(scales: SdkScales): v.SchemaWithPipe<readonly
|
|
|
316
316
|
} | undefined;
|
|
317
317
|
oco: boolean;
|
|
318
318
|
} | undefined;
|
|
319
|
-
cancelReason?: "unspecified" | "system" | "user_request" | "ioc_remainder" | "market_remainder" | "stp_expire_maker" | "stp_expire_taker" | "stp_expire_both" | "replaced" | "gtd_expired" | "qty_at_or_below_filled" | "pair_drain" | "attached_risk_refused" | "cancel_all_after" | "account_repair" | "twap_rollover" | "strategy_cancel" | undefined;
|
|
319
|
+
cancelReason?: "unspecified" | "system" | "user_request" | "ioc_remainder" | "market_remainder" | "stp_expire_maker" | "stp_expire_taker" | "stp_expire_both" | "replaced" | "gtd_expired" | "qty_at_or_below_filled" | "pair_drain" | "attached_risk_refused" | "cancel_all_after" | "account_repair" | "twap_rollover" | "strategy_cancel" | "market_halted" | undefined;
|
|
320
320
|
rejectReason?: "STALE_QUOTE" | "UNSPECIFIED" | "UNAUTHENTICATED" | "RATE_LIMIT_EXCEEDED" | "INTERNAL_ERROR" | "PERMISSION_DENIED" | "SUBACCOUNT_INACTIVE" | "BAD_REQUEST" | "INVALID_ARGUMENT" | "INSUFFICIENT_FUNDS" | "UNKNOWN_SYMBOL" | "BAD_PRICE" | "BAD_QTY" | "MIN_NOTIONAL" | "QTY_STEP_SIZE" | "CONFLICT_DUPLICATE_CLIENT_ORDER_ID" | "UNAVAILABLE" | "NOT_FOUND" | "UPSTREAM_ERROR" | "FEE_ASSET_NOT_ALLOWED" | "PAIR_DISABLED" | "ORDER_UNKNOWN" | "POLICY_MARKET_DENY" | "POLICY_MAX_NOTIONAL" | "POLICY_TRADING_HALTED" | "POLICY_SPOT_TRADE_DENY" | "API_KEY_ROOT_SCOPE_ONLY" | "API_KEY_SUB_SCOPE_ONLY" | "API_KEY_SUBACCOUNT_MISMATCH" | "API_KEY_POLICY_REQUIRED" | "API_KEY_UNKNOWN" | "API_KEY_MARKET_DENY" | "PRICE_TICK_SIZE" | "MIN_QTY" | "POST_ONLY_LIMIT_ONLY" | "BATCH_TOO_LARGE" | "POLICY_MAX_OPEN_ORDERS" | "MODIFICATION_REQUIRES_REPLACE" | "CONFLICT_IDEMPOTENCY_KEY_REUSE" | "MARKET_PRICE_UNAVAILABLE" | "PAIR_NOT_LISTED_YET" | "PAIR_DELISTED" | "PAIR_CANCEL_ONLY" | "PAIR_POST_ONLY" | "PAIR_REDUCE_ONLY" | "RISK_LIMIT" | "MARKET_HALTED" | "ACCOUNT_UNKNOWN" | "POST_ONLY_CROSS" | "REDUCE_ONLY_BLOCKED" | "PRICE_BAND_VIOLATION" | "MARKET_CAP_VIOLATION" | "EMPTY_BOOK" | "FOK_INSUFFICIENT_LIQUIDITY" | "ORDER_ALREADY_TERMINAL" | "TRIGGER_PRICE_INVALID" | "TRIGGER_PRICE_SOURCE_UNSUPPORTED" | "TRAILING_DISTANCE_INVALID" | "TRIGGER_NOT_FOUND" | "TRIGGER_STATUS_INVALID" | "TRIGGER_NOT_MODIFIABLE" | "CONFLICT_DUPLICATE_CLIENT_TRIGGER_ID" | "MAX_SLIPPAGE_INVALID" | "VALIDATION_ERROR" | "OVERLOADED" | "MAX_QUOTE_DEBIT_TOO_SMALL" | "SUBACCOUNT_READ_FORBIDDEN" | "POLICY_SPOT_READ_DENY" | "API_KEY_SPOT_READ_DENY" | "CANCEL_REQUEST_EXPIRED" | "MAX_QTY" | "MAX_NOTIONAL" | "QTY_AT_OR_BELOW_FILLED" | "GATEWAY_MISCONFIGURED" | "INVALID_ORDER_ID" | "CHILD_QTY_RAISE_NOT_ALLOWED" | "ATTACHED_RISK_NOT_SUPPORTED" | "SETTLEMENT_BACKLOGGED" | "PRICE_LEVEL_QUANTITY_LIMIT" | "MARKET_QUOTE_STALE" | "MARKET_QUOTE_UNHEALTHY" | "INVALID_TIME_IN_FORCE" | "QUICKSWAP_NOT_PERMITTED" | "DUPLICATE_ORDER_ID" | "MAX_OPEN_ORDERS_TOTAL" | "STP_MODE_NOT_ALLOWED" | "PAIR_BACKLOGGED" | "PRICE_LEVELS_EXHAUSTED" | "CLIENT_ORDER_IDS_EXHAUSTED" | "ORDER_ID_CONFLICT" | "INVALID_SIDE" | "INVALID_ORDER_TYPE" | "INVALID_STP_MODE" | "INVALID_ORDER_FLAGS" | "BATCH_OTHER_ITEM_INVALID" | "REPLACE_ONTO_OWN_ID" | "INVALID_CLIENT_ORDER_ID" | "ORDER_SEQUENCE_EXHAUSTED" | "INVALID_HANDLING_MODE" | "FEE_SCHEDULE_UNAVAILABLE" | "POLICY_UNAVAILABLE" | "CANCEL_ALL_AFTER_TIMEOUT_INVALID" | "CANCEL_SCOPE_TOO_LARGE" | "RATE_LIMIT_POLICY_UNAVAILABLE" | "SYSTEM_RATE_LIMITED" | "ORDER_MODIFY_IN_PROGRESS" | "ORDER_PLACEMENT_PENDING" | "INVALID_MODIFY_BEHAVIOR" | "BATCH_REPLACE_ONLY_REQUIRED" | "BATCH_SINGLE_SYMBOL_REQUIRED" | "REQUEST_RECEIPTS_EXHAUSTED" | "INTENT_ID_INVALID" | "DRY_RUN_INVALID" | "CANCEL_ALL_AFTER_SCOPE_CONFLICT" | "NEW_ACCOUNT_CAPACITY_REACHED" | "TRIGGER_CHILD_PRICE_NOT_MODIFIABLE" | "TRIGGER_GENERATIONS_EXHAUSTED" | "TRIGGER_CONTROL_SHARE_EXHAUSTED" | "TRIGGER_CONTROLS_BUSY" | "TRIGGER_TYPE_NOT_SUPPORTED" | "INVALID_TRIGGER_TYPE" | "TRIGGER_DIRECTION_INVALID" | "TRIGGER_QTY_INVALID" | "TRIGGER_BUY_REQUIRES_LIMIT" | "ACCOUNT_ROUTING_INVALID" | "TRIGGER_LIMIT_EXCEEDED" | "TRIGGER_CONTROL_IN_PROGRESS" | "TRIGGER_PATCH_EMPTY" | "CLIENT_TRIGGER_ID_INVALID" | "TRIGGER_ACTIVATION_PRICE_INVALID" | "SLIPPAGE_TICKS_INVALID" | "SLIPPAGE_BPS_INVALID" | "TRIGGER_CONTROL_OUTCOME_UNKNOWN" | "TRIGGER_CAPACITY_REACHED" | "RESERVATION_CAPACITY_REACHED" | "CLIENT_ORDER_ID_CAPACITY_REACHED" | "ACCOUNT_RESERVATION_LIMIT_REACHED" | "INVALID_TRIGGER_CONTROL" | "TRIGGER_PATCH_NOT_ALLOWED" | "TRIGGER_PATCH_FIELD_UNKNOWN" | "TRIGGER_PATCH_VALUE_UNMASKED" | "TRIGGER_PATCH_PRICE_MODE_INVALID" | "ACCOUNT_ORDERS_SUSPENDED" | "TRAILING_SIDE_NOT_SUPPORTED" | "TRAILING_CHILD_NOT_MARKET" | "TWAP_DURATION_INVALID" | "LIMIT_CHILD_SLIPPAGE_SET" | "SLIPPAGE_BOUNDS_CONFLICT" | "TWAP_INTERVAL_INVALID" | "LADDER_LEVEL_REJECTED" | "LADDER_RANGE_TOO_NARROW" | "LADDER_LEVELS_INVALID" | "ORDER_LIMITS_UNAVAILABLE" | "ORDER_TYPE_NOT_ALLOWED_IN_AUCTION" | "POST_ONLY_NOT_ALLOWED_IN_AUCTION" | "QUICKSWAP_FEE_DETAILS_INCOMPLETE" | "QUICKSWAP_MARKET_NOT_PRICED" | "QUICKSWAP_BROKER_FEE_TERMS_MISMATCH" | "QUICKSWAP_FEE_RECIPIENT_IS_PAYER" | "QUICKSWAP_BROKER_FEE_TERMS_UNAVAILABLE" | "QUICKSWAP_BROKER_ACCOUNT_UNAVAILABLE" | "QUICKSWAP_ACCOUNT_OWNER_UNKNOWN" | "QUICKSWAP_DISABLED" | "QUICKSWAP_ATTACHED_RISK_NOT_ALLOWED" | "QUICKSWAP_ORDER_NOT_MODIFIABLE" | "QUICKSWAP_FEE_TOTAL_TOO_HIGH" | "QUICKSWAP_BROKER_FEE_TERMS_INVALID" | "QUICKSWAP_BROKER_INVALID" | "QUICKSWAP_FEE_SCHEDULE_INVALID" | "QUICKSWAP_MARKET_FEE_INVALID" | "QUICKSWAP_SETUP_INVALID" | "QUICKSWAP_CAPACITY_REACHED" | "ATTACHED_EXIT_WORKING" | "MARKET_TRIGGER_LIMIT_EXCEEDED" | "MARKET_TWAP_LIMIT_EXCEEDED" | "MARKET_LADDER_LIMIT_EXCEEDED" | "CHILD_QTY_EXCEEDS_REMAINING" | "ORDER_CANCEL_OUTCOME_UNKNOWN" | "ORDER_MODIFY_OUTCOME_UNKNOWN" | "ORDER_REPAIRING" | "ACCOUNT_REPAIRING" | "TRIGGER_WOULD_TRIGGER_IMMEDIATELY" | "ORDER_CREATE_OUTCOME_UNKNOWN" | "TRIGGER_CREATE_OUTCOME_UNKNOWN" | "TRIGGER_SYMBOL_MISMATCH" | "MAX_OPEN_ORDERS_PER_PAIR" | "ATTACHED_LEGS_EXCEEDED" | "FEE_ASSET_INVALID" | "FEE_CEILING_INVALID" | "UNSUPPORTED_FIELD_SET" | "TRIGGER_FIRE_LIMIT_REACHED" | "CONDITION_FLAGS_INVALID" | "CONDITION_PARAMETER_SET" | "TWAP_CAPACITY_REACHED" | "CHILD_ORDER_INCONSISTENT" | undefined;
|
|
321
321
|
symbolId: number;
|
|
322
322
|
clientOrderId: string;
|
|
323
323
|
status: "unspecified" | "canceled" | "pending" | "pending_cancel" | "working" | "filled" | "rejected" | "partial";
|
|
324
|
-
side: "
|
|
324
|
+
side: "buy" | "sell" | "unspecified";
|
|
325
325
|
orderType: "unspecified" | "limit" | "market";
|
|
326
326
|
timeInForce: "unspecified" | "GTC" | "IOC" | "FOK" | "GTD";
|
|
327
327
|
selfTradePreventionMode: "unspecified" | "expire_taker" | "expire_maker" | "expire_both";
|
|
@@ -377,7 +377,7 @@ declare function createOrderTransferSchema(): v.SchemaWithPipe<readonly [v.Objec
|
|
|
377
377
|
timestamp: number;
|
|
378
378
|
amount: string;
|
|
379
379
|
type: "unspecified" | "internal_transfer" | "deposit" | "withdraw" | "maker_fee" | "taker_fee" | "trade_base" | "trade_quote" | "rebate" | "funding_to_trading" | "trading_to_funding" | "trading_withdraw_reserve" | "funding_user_transfer" | "trading_withdraw_request_fee";
|
|
380
|
-
accountCode: "unspecified" | "
|
|
380
|
+
accountCode: "unspecified" | "trading" | "funding";
|
|
381
381
|
}>]>;
|
|
382
382
|
type OrderTransfer = v.InferOutput<ReturnType<typeof createOrderTransferSchema>>;
|
|
383
383
|
declare function createOrderDetailsSchema(scales: SdkScales): v.ObjectSchema<{
|
|
@@ -627,7 +627,7 @@ declare function createOrderDetailsSchema(scales: SdkScales): v.ObjectSchema<{
|
|
|
627
627
|
attachedRisk: {
|
|
628
628
|
takeProfit: {
|
|
629
629
|
state: {
|
|
630
|
-
status: "unspecified" | "failed" | "canceled" | "completed" | "
|
|
630
|
+
status: "unspecified" | "failed" | "canceled" | "completed" | "created" | "not_configured" | "armed" | "running" | "paused";
|
|
631
631
|
armedTs: number | undefined;
|
|
632
632
|
armedTsNs: string | undefined;
|
|
633
633
|
terminalTs: number | undefined;
|
|
@@ -647,7 +647,7 @@ declare function createOrderDetailsSchema(scales: SdkScales): v.ObjectSchema<{
|
|
|
647
647
|
} | undefined;
|
|
648
648
|
stopLoss: {
|
|
649
649
|
state: {
|
|
650
|
-
status: "unspecified" | "failed" | "canceled" | "completed" | "
|
|
650
|
+
status: "unspecified" | "failed" | "canceled" | "completed" | "created" | "not_configured" | "armed" | "running" | "paused";
|
|
651
651
|
armedTs: number | undefined;
|
|
652
652
|
armedTsNs: string | undefined;
|
|
653
653
|
terminalTs: number | undefined;
|
|
@@ -667,7 +667,7 @@ declare function createOrderDetailsSchema(scales: SdkScales): v.ObjectSchema<{
|
|
|
667
667
|
} | undefined;
|
|
668
668
|
trailingStop: {
|
|
669
669
|
state: {
|
|
670
|
-
status: "unspecified" | "failed" | "canceled" | "completed" | "
|
|
670
|
+
status: "unspecified" | "failed" | "canceled" | "completed" | "created" | "not_configured" | "armed" | "running" | "paused";
|
|
671
671
|
armedTs: number | undefined;
|
|
672
672
|
armedTsNs: string | undefined;
|
|
673
673
|
terminalTs: number | undefined;
|
|
@@ -696,12 +696,12 @@ declare function createOrderDetailsSchema(scales: SdkScales): v.ObjectSchema<{
|
|
|
696
696
|
} | undefined;
|
|
697
697
|
oco: boolean;
|
|
698
698
|
} | undefined;
|
|
699
|
-
cancelReason?: "unspecified" | "system" | "user_request" | "ioc_remainder" | "market_remainder" | "stp_expire_maker" | "stp_expire_taker" | "stp_expire_both" | "replaced" | "gtd_expired" | "qty_at_or_below_filled" | "pair_drain" | "attached_risk_refused" | "cancel_all_after" | "account_repair" | "twap_rollover" | "strategy_cancel" | undefined;
|
|
699
|
+
cancelReason?: "unspecified" | "system" | "user_request" | "ioc_remainder" | "market_remainder" | "stp_expire_maker" | "stp_expire_taker" | "stp_expire_both" | "replaced" | "gtd_expired" | "qty_at_or_below_filled" | "pair_drain" | "attached_risk_refused" | "cancel_all_after" | "account_repair" | "twap_rollover" | "strategy_cancel" | "market_halted" | undefined;
|
|
700
700
|
rejectReason?: "STALE_QUOTE" | "UNSPECIFIED" | "UNAUTHENTICATED" | "RATE_LIMIT_EXCEEDED" | "INTERNAL_ERROR" | "PERMISSION_DENIED" | "SUBACCOUNT_INACTIVE" | "BAD_REQUEST" | "INVALID_ARGUMENT" | "INSUFFICIENT_FUNDS" | "UNKNOWN_SYMBOL" | "BAD_PRICE" | "BAD_QTY" | "MIN_NOTIONAL" | "QTY_STEP_SIZE" | "CONFLICT_DUPLICATE_CLIENT_ORDER_ID" | "UNAVAILABLE" | "NOT_FOUND" | "UPSTREAM_ERROR" | "FEE_ASSET_NOT_ALLOWED" | "PAIR_DISABLED" | "ORDER_UNKNOWN" | "POLICY_MARKET_DENY" | "POLICY_MAX_NOTIONAL" | "POLICY_TRADING_HALTED" | "POLICY_SPOT_TRADE_DENY" | "API_KEY_ROOT_SCOPE_ONLY" | "API_KEY_SUB_SCOPE_ONLY" | "API_KEY_SUBACCOUNT_MISMATCH" | "API_KEY_POLICY_REQUIRED" | "API_KEY_UNKNOWN" | "API_KEY_MARKET_DENY" | "PRICE_TICK_SIZE" | "MIN_QTY" | "POST_ONLY_LIMIT_ONLY" | "BATCH_TOO_LARGE" | "POLICY_MAX_OPEN_ORDERS" | "MODIFICATION_REQUIRES_REPLACE" | "CONFLICT_IDEMPOTENCY_KEY_REUSE" | "MARKET_PRICE_UNAVAILABLE" | "PAIR_NOT_LISTED_YET" | "PAIR_DELISTED" | "PAIR_CANCEL_ONLY" | "PAIR_POST_ONLY" | "PAIR_REDUCE_ONLY" | "RISK_LIMIT" | "MARKET_HALTED" | "ACCOUNT_UNKNOWN" | "POST_ONLY_CROSS" | "REDUCE_ONLY_BLOCKED" | "PRICE_BAND_VIOLATION" | "MARKET_CAP_VIOLATION" | "EMPTY_BOOK" | "FOK_INSUFFICIENT_LIQUIDITY" | "ORDER_ALREADY_TERMINAL" | "TRIGGER_PRICE_INVALID" | "TRIGGER_PRICE_SOURCE_UNSUPPORTED" | "TRAILING_DISTANCE_INVALID" | "TRIGGER_NOT_FOUND" | "TRIGGER_STATUS_INVALID" | "TRIGGER_NOT_MODIFIABLE" | "CONFLICT_DUPLICATE_CLIENT_TRIGGER_ID" | "MAX_SLIPPAGE_INVALID" | "VALIDATION_ERROR" | "OVERLOADED" | "MAX_QUOTE_DEBIT_TOO_SMALL" | "SUBACCOUNT_READ_FORBIDDEN" | "POLICY_SPOT_READ_DENY" | "API_KEY_SPOT_READ_DENY" | "CANCEL_REQUEST_EXPIRED" | "MAX_QTY" | "MAX_NOTIONAL" | "QTY_AT_OR_BELOW_FILLED" | "GATEWAY_MISCONFIGURED" | "INVALID_ORDER_ID" | "CHILD_QTY_RAISE_NOT_ALLOWED" | "ATTACHED_RISK_NOT_SUPPORTED" | "SETTLEMENT_BACKLOGGED" | "PRICE_LEVEL_QUANTITY_LIMIT" | "MARKET_QUOTE_STALE" | "MARKET_QUOTE_UNHEALTHY" | "INVALID_TIME_IN_FORCE" | "QUICKSWAP_NOT_PERMITTED" | "DUPLICATE_ORDER_ID" | "MAX_OPEN_ORDERS_TOTAL" | "STP_MODE_NOT_ALLOWED" | "PAIR_BACKLOGGED" | "PRICE_LEVELS_EXHAUSTED" | "CLIENT_ORDER_IDS_EXHAUSTED" | "ORDER_ID_CONFLICT" | "INVALID_SIDE" | "INVALID_ORDER_TYPE" | "INVALID_STP_MODE" | "INVALID_ORDER_FLAGS" | "BATCH_OTHER_ITEM_INVALID" | "REPLACE_ONTO_OWN_ID" | "INVALID_CLIENT_ORDER_ID" | "ORDER_SEQUENCE_EXHAUSTED" | "INVALID_HANDLING_MODE" | "FEE_SCHEDULE_UNAVAILABLE" | "POLICY_UNAVAILABLE" | "CANCEL_ALL_AFTER_TIMEOUT_INVALID" | "CANCEL_SCOPE_TOO_LARGE" | "RATE_LIMIT_POLICY_UNAVAILABLE" | "SYSTEM_RATE_LIMITED" | "ORDER_MODIFY_IN_PROGRESS" | "ORDER_PLACEMENT_PENDING" | "INVALID_MODIFY_BEHAVIOR" | "BATCH_REPLACE_ONLY_REQUIRED" | "BATCH_SINGLE_SYMBOL_REQUIRED" | "REQUEST_RECEIPTS_EXHAUSTED" | "INTENT_ID_INVALID" | "DRY_RUN_INVALID" | "CANCEL_ALL_AFTER_SCOPE_CONFLICT" | "NEW_ACCOUNT_CAPACITY_REACHED" | "TRIGGER_CHILD_PRICE_NOT_MODIFIABLE" | "TRIGGER_GENERATIONS_EXHAUSTED" | "TRIGGER_CONTROL_SHARE_EXHAUSTED" | "TRIGGER_CONTROLS_BUSY" | "TRIGGER_TYPE_NOT_SUPPORTED" | "INVALID_TRIGGER_TYPE" | "TRIGGER_DIRECTION_INVALID" | "TRIGGER_QTY_INVALID" | "TRIGGER_BUY_REQUIRES_LIMIT" | "ACCOUNT_ROUTING_INVALID" | "TRIGGER_LIMIT_EXCEEDED" | "TRIGGER_CONTROL_IN_PROGRESS" | "TRIGGER_PATCH_EMPTY" | "CLIENT_TRIGGER_ID_INVALID" | "TRIGGER_ACTIVATION_PRICE_INVALID" | "SLIPPAGE_TICKS_INVALID" | "SLIPPAGE_BPS_INVALID" | "TRIGGER_CONTROL_OUTCOME_UNKNOWN" | "TRIGGER_CAPACITY_REACHED" | "RESERVATION_CAPACITY_REACHED" | "CLIENT_ORDER_ID_CAPACITY_REACHED" | "ACCOUNT_RESERVATION_LIMIT_REACHED" | "INVALID_TRIGGER_CONTROL" | "TRIGGER_PATCH_NOT_ALLOWED" | "TRIGGER_PATCH_FIELD_UNKNOWN" | "TRIGGER_PATCH_VALUE_UNMASKED" | "TRIGGER_PATCH_PRICE_MODE_INVALID" | "ACCOUNT_ORDERS_SUSPENDED" | "TRAILING_SIDE_NOT_SUPPORTED" | "TRAILING_CHILD_NOT_MARKET" | "TWAP_DURATION_INVALID" | "LIMIT_CHILD_SLIPPAGE_SET" | "SLIPPAGE_BOUNDS_CONFLICT" | "TWAP_INTERVAL_INVALID" | "LADDER_LEVEL_REJECTED" | "LADDER_RANGE_TOO_NARROW" | "LADDER_LEVELS_INVALID" | "ORDER_LIMITS_UNAVAILABLE" | "ORDER_TYPE_NOT_ALLOWED_IN_AUCTION" | "POST_ONLY_NOT_ALLOWED_IN_AUCTION" | "QUICKSWAP_FEE_DETAILS_INCOMPLETE" | "QUICKSWAP_MARKET_NOT_PRICED" | "QUICKSWAP_BROKER_FEE_TERMS_MISMATCH" | "QUICKSWAP_FEE_RECIPIENT_IS_PAYER" | "QUICKSWAP_BROKER_FEE_TERMS_UNAVAILABLE" | "QUICKSWAP_BROKER_ACCOUNT_UNAVAILABLE" | "QUICKSWAP_ACCOUNT_OWNER_UNKNOWN" | "QUICKSWAP_DISABLED" | "QUICKSWAP_ATTACHED_RISK_NOT_ALLOWED" | "QUICKSWAP_ORDER_NOT_MODIFIABLE" | "QUICKSWAP_FEE_TOTAL_TOO_HIGH" | "QUICKSWAP_BROKER_FEE_TERMS_INVALID" | "QUICKSWAP_BROKER_INVALID" | "QUICKSWAP_FEE_SCHEDULE_INVALID" | "QUICKSWAP_MARKET_FEE_INVALID" | "QUICKSWAP_SETUP_INVALID" | "QUICKSWAP_CAPACITY_REACHED" | "ATTACHED_EXIT_WORKING" | "MARKET_TRIGGER_LIMIT_EXCEEDED" | "MARKET_TWAP_LIMIT_EXCEEDED" | "MARKET_LADDER_LIMIT_EXCEEDED" | "CHILD_QTY_EXCEEDS_REMAINING" | "ORDER_CANCEL_OUTCOME_UNKNOWN" | "ORDER_MODIFY_OUTCOME_UNKNOWN" | "ORDER_REPAIRING" | "ACCOUNT_REPAIRING" | "TRIGGER_WOULD_TRIGGER_IMMEDIATELY" | "ORDER_CREATE_OUTCOME_UNKNOWN" | "TRIGGER_CREATE_OUTCOME_UNKNOWN" | "TRIGGER_SYMBOL_MISMATCH" | "MAX_OPEN_ORDERS_PER_PAIR" | "ATTACHED_LEGS_EXCEEDED" | "FEE_ASSET_INVALID" | "FEE_CEILING_INVALID" | "UNSUPPORTED_FIELD_SET" | "TRIGGER_FIRE_LIMIT_REACHED" | "CONDITION_FLAGS_INVALID" | "CONDITION_PARAMETER_SET" | "TWAP_CAPACITY_REACHED" | "CHILD_ORDER_INCONSISTENT" | undefined;
|
|
701
701
|
symbolId: number;
|
|
702
702
|
clientOrderId: string;
|
|
703
703
|
status: "unspecified" | "canceled" | "pending" | "pending_cancel" | "working" | "filled" | "rejected" | "partial";
|
|
704
|
-
side: "
|
|
704
|
+
side: "buy" | "sell" | "unspecified";
|
|
705
705
|
orderType: "unspecified" | "limit" | "market";
|
|
706
706
|
timeInForce: "unspecified" | "GTC" | "IOC" | "FOK" | "GTD";
|
|
707
707
|
selfTradePreventionMode: "unspecified" | "expire_taker" | "expire_maker" | "expire_both";
|
|
@@ -780,7 +780,7 @@ declare function createOrderDetailsSchema(scales: SdkScales): v.ObjectSchema<{
|
|
|
780
780
|
referralShare?: string | undefined;
|
|
781
781
|
orderId: string;
|
|
782
782
|
symbolId: number;
|
|
783
|
-
sideLabel: "
|
|
783
|
+
sideLabel: "buy" | "sell" | "unspecified";
|
|
784
784
|
liquidityLabel: "maker" | "taker";
|
|
785
785
|
feeAsset: "unspecified" | "quote" | "base";
|
|
786
786
|
qty: string;
|
|
@@ -822,7 +822,7 @@ declare function createOrderDetailsSchema(scales: SdkScales): v.ObjectSchema<{
|
|
|
822
822
|
timestamp: number;
|
|
823
823
|
amount: string;
|
|
824
824
|
type: "unspecified" | "internal_transfer" | "deposit" | "withdraw" | "maker_fee" | "taker_fee" | "trade_base" | "trade_quote" | "rebate" | "funding_to_trading" | "trading_to_funding" | "trading_withdraw_reserve" | "funding_user_transfer" | "trading_withdraw_request_fee";
|
|
825
|
-
accountCode: "unspecified" | "
|
|
825
|
+
accountCode: "unspecified" | "trading" | "funding";
|
|
826
826
|
}>]>, undefined>, readonly []>;
|
|
827
827
|
readonly executionsComplete: v.OptionalSchema<v.BooleanSchema<undefined>, false>;
|
|
828
828
|
}, undefined>;
|