@0xmonaco/types 1.0.92 → 1.0.94
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/buildercodes/responses.d.ts +9 -9
- package/dist/compliance/index.d.ts +1 -1
- package/dist/copy-trading/responses.d.ts +30 -30
- package/dist/index.d.ts +0 -1
- package/dist/index.js +0 -1
- package/dist/sdk/index.d.ts +2 -4
- package/dist/tradercodes/responses.d.ts +8 -8
- package/dist/validation/copy-trading.d.ts +10 -10
- package/dist/validation/margin-accounts.d.ts +16 -16
- package/dist/validation/market.d.ts +22 -22
- package/dist/validation/positions.d.ts +6 -6
- package/dist/validation/profile.d.ts +11 -11
- package/dist/validation/trading.d.ts +50 -50
- package/dist/validation/vault.d.ts +2 -2
- package/dist/websocket/base.d.ts +10 -0
- package/dist/websocket/client.d.ts +11 -6
- package/dist/websocket/client.js +6 -4
- package/dist/websocket/events/movement-events.d.ts +13 -3
- package/dist/websocket/snapshots.d.ts +7 -4
- package/dist/websocket/snapshots.js +7 -4
- package/dist/wire/operations.d.ts +1 -1
- package/dist/wire/operations.js +0 -1
- package/dist/wire/schema.d.ts +15 -118
- package/dist/wire/schema.js +2 -1
- package/package.json +2 -2
- package/dist/whitelist/index.d.ts +0 -33
- package/dist/whitelist/index.js +0 -4
|
@@ -35,14 +35,14 @@ export declare const SetBuilderFeeResponseSchema: z.ZodObject<{
|
|
|
35
35
|
}, z.core.$strip>;
|
|
36
36
|
/** Builder-fee change actor exposed by the audit log. */
|
|
37
37
|
export declare const BuilderFeeActorTypeSchema: z.ZodEnum<{
|
|
38
|
-
BUILDER: "BUILDER";
|
|
39
38
|
ADMIN: "ADMIN";
|
|
39
|
+
BUILDER: "BUILDER";
|
|
40
40
|
}>;
|
|
41
41
|
/** One builder-fee audit-log entry. */
|
|
42
42
|
export declare const BuilderFeeChangeSchema: z.ZodObject<{
|
|
43
43
|
actorType: z.ZodEnum<{
|
|
44
|
-
BUILDER: "BUILDER";
|
|
45
44
|
ADMIN: "ADMIN";
|
|
45
|
+
BUILDER: "BUILDER";
|
|
46
46
|
}>;
|
|
47
47
|
actor: z.ZodString;
|
|
48
48
|
oldBps: z.ZodNumber;
|
|
@@ -60,8 +60,8 @@ export declare const ListBuilderFeeChangesParamsSchema: z.ZodObject<{
|
|
|
60
60
|
export declare const ListBuilderFeeChangesResponseSchema: z.ZodObject<{
|
|
61
61
|
changes: z.ZodArray<z.ZodObject<{
|
|
62
62
|
actorType: z.ZodEnum<{
|
|
63
|
-
BUILDER: "BUILDER";
|
|
64
63
|
ADMIN: "ADMIN";
|
|
64
|
+
BUILDER: "BUILDER";
|
|
65
65
|
}>;
|
|
66
66
|
actor: z.ZodString;
|
|
67
67
|
oldBps: z.ZodNumber;
|
|
@@ -78,9 +78,9 @@ export declare const ListBuilderFeeChangesResponseSchema: z.ZodObject<{
|
|
|
78
78
|
* `BUILDER_MAKER_FEE` records maker add-ons charged to makers.
|
|
79
79
|
*/
|
|
80
80
|
export declare const BuildercodePayoutKindSchema: z.ZodEnum<{
|
|
81
|
-
REVENUE_SHARE: "REVENUE_SHARE";
|
|
82
81
|
BUILDER_FEE: "BUILDER_FEE";
|
|
83
82
|
BUILDER_MAKER_FEE: "BUILDER_MAKER_FEE";
|
|
83
|
+
REVENUE_SHARE: "REVENUE_SHARE";
|
|
84
84
|
}>;
|
|
85
85
|
/**
|
|
86
86
|
* Pagination and filter accepted by the per-trade payout history endpoint.
|
|
@@ -94,9 +94,9 @@ export declare const ListBuildercodePayoutsParamsSchema: z.ZodObject<{
|
|
|
94
94
|
pageSize: z.ZodOptional<z.ZodNumber>;
|
|
95
95
|
pageToken: z.ZodOptional<z.ZodString>;
|
|
96
96
|
kind: z.ZodOptional<z.ZodEnum<{
|
|
97
|
-
REVENUE_SHARE: "REVENUE_SHARE";
|
|
98
97
|
BUILDER_FEE: "BUILDER_FEE";
|
|
99
98
|
BUILDER_MAKER_FEE: "BUILDER_MAKER_FEE";
|
|
99
|
+
REVENUE_SHARE: "REVENUE_SHARE";
|
|
100
100
|
}>>;
|
|
101
101
|
}, z.core.$strip>;
|
|
102
102
|
/** One per-trade BuilderCodes credit. Amounts are RAW atomic units. */
|
|
@@ -108,9 +108,9 @@ export declare const BuildercodePayoutSchema: z.ZodObject<{
|
|
|
108
108
|
appliedBps: z.ZodNumber;
|
|
109
109
|
createdAt: z.ZodString;
|
|
110
110
|
kind: z.ZodOptional<z.ZodEnum<{
|
|
111
|
-
REVENUE_SHARE: "REVENUE_SHARE";
|
|
112
111
|
BUILDER_FEE: "BUILDER_FEE";
|
|
113
112
|
BUILDER_MAKER_FEE: "BUILDER_MAKER_FEE";
|
|
113
|
+
REVENUE_SHARE: "REVENUE_SHARE";
|
|
114
114
|
}>>;
|
|
115
115
|
}, z.core.$strip>;
|
|
116
116
|
/** Schema for the paginated per-trade payout history. */
|
|
@@ -123,9 +123,9 @@ export declare const ListBuildercodePayoutsResponseSchema: z.ZodObject<{
|
|
|
123
123
|
appliedBps: z.ZodNumber;
|
|
124
124
|
createdAt: z.ZodString;
|
|
125
125
|
kind: z.ZodOptional<z.ZodEnum<{
|
|
126
|
-
REVENUE_SHARE: "REVENUE_SHARE";
|
|
127
126
|
BUILDER_FEE: "BUILDER_FEE";
|
|
128
127
|
BUILDER_MAKER_FEE: "BUILDER_MAKER_FEE";
|
|
128
|
+
REVENUE_SHARE: "REVENUE_SHARE";
|
|
129
129
|
}>>;
|
|
130
130
|
}, z.core.$strip>>;
|
|
131
131
|
total: z.ZodNumber;
|
|
@@ -144,9 +144,9 @@ export declare const BuildercodePayoutTokenTotalSchema: z.ZodObject<{
|
|
|
144
144
|
export declare const BuildercodePayoutTokenKindTotalSchema: z.ZodObject<{
|
|
145
145
|
token: z.ZodString;
|
|
146
146
|
kind: z.ZodEnum<{
|
|
147
|
-
REVENUE_SHARE: "REVENUE_SHARE";
|
|
148
147
|
BUILDER_FEE: "BUILDER_FEE";
|
|
149
148
|
BUILDER_MAKER_FEE: "BUILDER_MAKER_FEE";
|
|
149
|
+
REVENUE_SHARE: "REVENUE_SHARE";
|
|
150
150
|
}>;
|
|
151
151
|
totalAmount: z.ZodString;
|
|
152
152
|
payoutCount: z.ZodNumber;
|
|
@@ -165,9 +165,9 @@ export declare const GetBuildercodePayoutSummaryResponseSchema: z.ZodObject<{
|
|
|
165
165
|
byTokenAndKind: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
166
166
|
token: z.ZodString;
|
|
167
167
|
kind: z.ZodEnum<{
|
|
168
|
-
REVENUE_SHARE: "REVENUE_SHARE";
|
|
169
168
|
BUILDER_FEE: "BUILDER_FEE";
|
|
170
169
|
BUILDER_MAKER_FEE: "BUILDER_MAKER_FEE";
|
|
170
|
+
REVENUE_SHARE: "REVENUE_SHARE";
|
|
171
171
|
}>;
|
|
172
172
|
totalAmount: z.ZodString;
|
|
173
173
|
payoutCount: z.ZodNumber;
|
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
import type { BaseAPI } from "../api";
|
|
12
12
|
/** The caller's region status. */
|
|
13
13
|
export interface GetRegionStatusResponse {
|
|
14
|
-
/** True when
|
|
14
|
+
/** True when trading is not available in the caller's region; reads, signing in and withdrawing still work. */
|
|
15
15
|
restricted: boolean;
|
|
16
16
|
/** ISO 3166-1 alpha-2 country code (`T1` Tor, `XX` unknown); empty when the request carried no location. */
|
|
17
17
|
country: string;
|
|
@@ -36,7 +36,7 @@ export declare const LeadTraderProfileSchema: z.ZodObject<{
|
|
|
36
36
|
handle: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
37
37
|
display: z.ZodString;
|
|
38
38
|
}, z.core.$strip>;
|
|
39
|
-
status: z.ZodType<(string & {})
|
|
39
|
+
status: z.ZodType<LeadTraderStatus | (string & {}), unknown, z.core.$ZodTypeInternals<LeadTraderStatus | (string & {}), unknown>>;
|
|
40
40
|
shareBps: z.ZodNumber;
|
|
41
41
|
bio: z.ZodString;
|
|
42
42
|
minAllocation: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -50,7 +50,7 @@ export declare const LeadTraderFollowSummarySchema: z.ZodObject<{
|
|
|
50
50
|
}, z.core.$strip>;
|
|
51
51
|
/** A leader's trading stats over one window. */
|
|
52
52
|
export declare const LeadTraderStatsSchema: z.ZodObject<{
|
|
53
|
-
window: z.ZodType<(string & {})
|
|
53
|
+
window: z.ZodType<LeadTraderStatsWindow | (string & {}), unknown, z.core.$ZodTypeInternals<LeadTraderStatsWindow | (string & {}), unknown>>;
|
|
54
54
|
pnl: z.ZodString;
|
|
55
55
|
roiPct: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
56
56
|
maxDrawdownPct: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -65,7 +65,7 @@ export declare const GetLeadTraderResponseSchema: z.ZodObject<{
|
|
|
65
65
|
handle: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
66
66
|
display: z.ZodString;
|
|
67
67
|
}, z.core.$strip>;
|
|
68
|
-
status: z.ZodType<(string & {})
|
|
68
|
+
status: z.ZodType<LeadTraderStatus | (string & {}), unknown, z.core.$ZodTypeInternals<LeadTraderStatus | (string & {}), unknown>>;
|
|
69
69
|
shareBps: z.ZodNumber;
|
|
70
70
|
bio: z.ZodString;
|
|
71
71
|
minAllocation: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -77,7 +77,7 @@ export declare const GetLeadTraderResponseSchema: z.ZodObject<{
|
|
|
77
77
|
aumEquity: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
78
78
|
}, z.core.$strip>;
|
|
79
79
|
stats: z.ZodArray<z.ZodObject<{
|
|
80
|
-
window: z.ZodType<(string & {})
|
|
80
|
+
window: z.ZodType<LeadTraderStatsWindow | (string & {}), unknown, z.core.$ZodTypeInternals<LeadTraderStatsWindow | (string & {}), unknown>>;
|
|
81
81
|
pnl: z.ZodString;
|
|
82
82
|
roiPct: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
83
83
|
maxDrawdownPct: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -93,7 +93,7 @@ export declare const LeadTraderListingSchema: z.ZodObject<{
|
|
|
93
93
|
handle: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
94
94
|
display: z.ZodString;
|
|
95
95
|
}, z.core.$strip>;
|
|
96
|
-
status: z.ZodType<(string & {})
|
|
96
|
+
status: z.ZodType<LeadTraderStatus | (string & {}), unknown, z.core.$ZodTypeInternals<LeadTraderStatus | (string & {}), unknown>>;
|
|
97
97
|
shareBps: z.ZodNumber;
|
|
98
98
|
bio: z.ZodString;
|
|
99
99
|
minAllocation: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -105,7 +105,7 @@ export declare const LeadTraderListingSchema: z.ZodObject<{
|
|
|
105
105
|
aumEquity: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
106
106
|
}, z.core.$strip>;
|
|
107
107
|
stats: z.ZodObject<{
|
|
108
|
-
window: z.ZodType<(string & {})
|
|
108
|
+
window: z.ZodType<LeadTraderStatsWindow | (string & {}), unknown, z.core.$ZodTypeInternals<LeadTraderStatsWindow | (string & {}), unknown>>;
|
|
109
109
|
pnl: z.ZodString;
|
|
110
110
|
roiPct: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
111
111
|
maxDrawdownPct: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -122,7 +122,7 @@ export declare const ListLeadTradersResponseSchema: z.ZodObject<{
|
|
|
122
122
|
handle: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
123
123
|
display: z.ZodString;
|
|
124
124
|
}, z.core.$strip>;
|
|
125
|
-
status: z.ZodType<(string & {})
|
|
125
|
+
status: z.ZodType<LeadTraderStatus | (string & {}), unknown, z.core.$ZodTypeInternals<LeadTraderStatus | (string & {}), unknown>>;
|
|
126
126
|
shareBps: z.ZodNumber;
|
|
127
127
|
bio: z.ZodString;
|
|
128
128
|
minAllocation: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -134,7 +134,7 @@ export declare const ListLeadTradersResponseSchema: z.ZodObject<{
|
|
|
134
134
|
aumEquity: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
135
135
|
}, z.core.$strip>;
|
|
136
136
|
stats: z.ZodObject<{
|
|
137
|
-
window: z.ZodType<(string & {})
|
|
137
|
+
window: z.ZodType<LeadTraderStatsWindow | (string & {}), unknown, z.core.$ZodTypeInternals<LeadTraderStatsWindow | (string & {}), unknown>>;
|
|
138
138
|
pnl: z.ZodString;
|
|
139
139
|
roiPct: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
140
140
|
maxDrawdownPct: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -148,14 +148,14 @@ export declare const ListLeadTradersResponseSchema: z.ZodObject<{
|
|
|
148
148
|
/** Result of registering as, or editing, a lead trader. */
|
|
149
149
|
export declare const UpsertLeadTraderResponseSchema: z.ZodObject<{
|
|
150
150
|
created: z.ZodBoolean;
|
|
151
|
-
status: z.ZodType<(string & {})
|
|
151
|
+
status: z.ZodType<LeadTraderStatus | (string & {}), unknown, z.core.$ZodTypeInternals<LeadTraderStatus | (string & {}), unknown>>;
|
|
152
152
|
shareBps: z.ZodNumber;
|
|
153
153
|
}, z.core.$strip>;
|
|
154
154
|
/** One of your followers, as a leader sees them. */
|
|
155
155
|
export declare const FollowerSchema: z.ZodObject<{
|
|
156
156
|
walletAddress: z.ZodString;
|
|
157
157
|
display: z.ZodString;
|
|
158
|
-
status: z.ZodType<(string & {})
|
|
158
|
+
status: z.ZodType<CopyRelationshipStatus | (string & {}), unknown, z.core.$ZodTypeInternals<CopyRelationshipStatus | (string & {}), unknown>>;
|
|
159
159
|
allocation: z.ZodString;
|
|
160
160
|
startedAt: z.ZodString;
|
|
161
161
|
}, z.core.$strip>;
|
|
@@ -164,7 +164,7 @@ export declare const ListMyFollowersResponseSchema: z.ZodObject<{
|
|
|
164
164
|
followers: z.ZodArray<z.ZodObject<{
|
|
165
165
|
walletAddress: z.ZodString;
|
|
166
166
|
display: z.ZodString;
|
|
167
|
-
status: z.ZodType<(string & {})
|
|
167
|
+
status: z.ZodType<CopyRelationshipStatus | (string & {}), unknown, z.core.$ZodTypeInternals<CopyRelationshipStatus | (string & {}), unknown>>;
|
|
168
168
|
allocation: z.ZodString;
|
|
169
169
|
startedAt: z.ZodString;
|
|
170
170
|
}, z.core.$strip>>;
|
|
@@ -174,7 +174,7 @@ export declare const ListMyFollowersResponseSchema: z.ZodObject<{
|
|
|
174
174
|
export declare const ClosedTradeSchema: z.ZodObject<{
|
|
175
175
|
tradingPairId: z.ZodString;
|
|
176
176
|
positionSide: z.ZodString;
|
|
177
|
-
action: z.ZodType<(string & {})
|
|
177
|
+
action: z.ZodType<ClosedTradeAction | (string & {}), unknown, z.core.$ZodTypeInternals<ClosedTradeAction | (string & {}), unknown>>;
|
|
178
178
|
size: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
179
179
|
exitPrice: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
180
180
|
entryPrice: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -188,7 +188,7 @@ export declare const ListLeadTraderClosedTradesResponseSchema: z.ZodObject<{
|
|
|
188
188
|
closedTrades: z.ZodArray<z.ZodObject<{
|
|
189
189
|
tradingPairId: z.ZodString;
|
|
190
190
|
positionSide: z.ZodString;
|
|
191
|
-
action: z.ZodType<(string & {})
|
|
191
|
+
action: z.ZodType<ClosedTradeAction | (string & {}), unknown, z.core.$ZodTypeInternals<ClosedTradeAction | (string & {}), unknown>>;
|
|
192
192
|
size: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
193
193
|
exitPrice: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
194
194
|
entryPrice: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -231,11 +231,11 @@ export declare const FollowSchema: z.ZodObject<{
|
|
|
231
231
|
handle: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
232
232
|
display: z.ZodString;
|
|
233
233
|
}, z.core.$strip>;
|
|
234
|
-
status: z.ZodType<(string & {})
|
|
235
|
-
marginModePolicy: z.ZodType<(string & {})
|
|
236
|
-
sizingMode: z.ZodType<(string & {})
|
|
234
|
+
status: z.ZodType<CopyRelationshipStatus | (string & {}), unknown, z.core.$ZodTypeInternals<CopyRelationshipStatus | (string & {}), unknown>>;
|
|
235
|
+
marginModePolicy: z.ZodType<CopyMarginModePolicy | (string & {}), unknown, z.core.$ZodTypeInternals<CopyMarginModePolicy | (string & {}), unknown>>;
|
|
236
|
+
sizingMode: z.ZodType<CopySizingMode | (string & {}), unknown, z.core.$ZodTypeInternals<CopySizingMode | (string & {}), unknown>>;
|
|
237
237
|
sizingParam: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
238
|
-
leverageMode: z.ZodType<(string & {})
|
|
238
|
+
leverageMode: z.ZodType<CopyLeverageMode | (string & {}), unknown, z.core.$ZodTypeInternals<CopyLeverageMode | (string & {}), unknown>>;
|
|
239
239
|
fixedLeverage: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
240
240
|
allocation: z.ZodString;
|
|
241
241
|
slPct: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -245,7 +245,7 @@ export declare const FollowSchema: z.ZodObject<{
|
|
|
245
245
|
copyRiskBucketId: z.ZodString;
|
|
246
246
|
startedAt: z.ZodString;
|
|
247
247
|
stoppedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
248
|
-
stopReason: z.ZodOptional<z.ZodNullable<z.ZodType<(string & {})
|
|
248
|
+
stopReason: z.ZodOptional<z.ZodNullable<z.ZodType<CopyStopReason | (string & {}), unknown, z.core.$ZodTypeInternals<CopyStopReason | (string & {}), unknown>>>>;
|
|
249
249
|
}, z.core.$strip>;
|
|
250
250
|
/** A page of your follows. */
|
|
251
251
|
export declare const ListMyFollowsResponseSchema: z.ZodObject<{
|
|
@@ -256,11 +256,11 @@ export declare const ListMyFollowsResponseSchema: z.ZodObject<{
|
|
|
256
256
|
handle: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
257
257
|
display: z.ZodString;
|
|
258
258
|
}, z.core.$strip>;
|
|
259
|
-
status: z.ZodType<(string & {})
|
|
260
|
-
marginModePolicy: z.ZodType<(string & {})
|
|
261
|
-
sizingMode: z.ZodType<(string & {})
|
|
259
|
+
status: z.ZodType<CopyRelationshipStatus | (string & {}), unknown, z.core.$ZodTypeInternals<CopyRelationshipStatus | (string & {}), unknown>>;
|
|
260
|
+
marginModePolicy: z.ZodType<CopyMarginModePolicy | (string & {}), unknown, z.core.$ZodTypeInternals<CopyMarginModePolicy | (string & {}), unknown>>;
|
|
261
|
+
sizingMode: z.ZodType<CopySizingMode | (string & {}), unknown, z.core.$ZodTypeInternals<CopySizingMode | (string & {}), unknown>>;
|
|
262
262
|
sizingParam: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
263
|
-
leverageMode: z.ZodType<(string & {})
|
|
263
|
+
leverageMode: z.ZodType<CopyLeverageMode | (string & {}), unknown, z.core.$ZodTypeInternals<CopyLeverageMode | (string & {}), unknown>>;
|
|
264
264
|
fixedLeverage: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
265
265
|
allocation: z.ZodString;
|
|
266
266
|
slPct: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -270,14 +270,14 @@ export declare const ListMyFollowsResponseSchema: z.ZodObject<{
|
|
|
270
270
|
copyRiskBucketId: z.ZodString;
|
|
271
271
|
startedAt: z.ZodString;
|
|
272
272
|
stoppedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
273
|
-
stopReason: z.ZodOptional<z.ZodNullable<z.ZodType<(string & {})
|
|
273
|
+
stopReason: z.ZodOptional<z.ZodNullable<z.ZodType<CopyStopReason | (string & {}), unknown, z.core.$ZodTypeInternals<CopyStopReason | (string & {}), unknown>>>>;
|
|
274
274
|
}, z.core.$strip>>;
|
|
275
275
|
nextPageToken: z.ZodString;
|
|
276
276
|
}, z.core.$strip>;
|
|
277
277
|
/** A leader fill one of your follows did not mirror. */
|
|
278
278
|
export declare const CopySkipSchema: z.ZodObject<{
|
|
279
279
|
tradingPairId: z.ZodString;
|
|
280
|
-
reason: z.ZodType<(string & {})
|
|
280
|
+
reason: z.ZodType<CopySkipReason | (string & {}), unknown, z.core.$ZodTypeInternals<CopySkipReason | (string & {}), unknown>>;
|
|
281
281
|
requestedQuantity: z.ZodString;
|
|
282
282
|
skippedAt: z.ZodString;
|
|
283
283
|
}, z.core.$strip>;
|
|
@@ -290,11 +290,11 @@ export declare const GetFollowResponseSchema: z.ZodObject<{
|
|
|
290
290
|
handle: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
291
291
|
display: z.ZodString;
|
|
292
292
|
}, z.core.$strip>;
|
|
293
|
-
status: z.ZodType<(string & {})
|
|
294
|
-
marginModePolicy: z.ZodType<(string & {})
|
|
295
|
-
sizingMode: z.ZodType<(string & {})
|
|
293
|
+
status: z.ZodType<CopyRelationshipStatus | (string & {}), unknown, z.core.$ZodTypeInternals<CopyRelationshipStatus | (string & {}), unknown>>;
|
|
294
|
+
marginModePolicy: z.ZodType<CopyMarginModePolicy | (string & {}), unknown, z.core.$ZodTypeInternals<CopyMarginModePolicy | (string & {}), unknown>>;
|
|
295
|
+
sizingMode: z.ZodType<CopySizingMode | (string & {}), unknown, z.core.$ZodTypeInternals<CopySizingMode | (string & {}), unknown>>;
|
|
296
296
|
sizingParam: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
297
|
-
leverageMode: z.ZodType<(string & {})
|
|
297
|
+
leverageMode: z.ZodType<CopyLeverageMode | (string & {}), unknown, z.core.$ZodTypeInternals<CopyLeverageMode | (string & {}), unknown>>;
|
|
298
298
|
fixedLeverage: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
299
299
|
allocation: z.ZodString;
|
|
300
300
|
slPct: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -304,11 +304,11 @@ export declare const GetFollowResponseSchema: z.ZodObject<{
|
|
|
304
304
|
copyRiskBucketId: z.ZodString;
|
|
305
305
|
startedAt: z.ZodString;
|
|
306
306
|
stoppedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
307
|
-
stopReason: z.ZodOptional<z.ZodNullable<z.ZodType<(string & {})
|
|
307
|
+
stopReason: z.ZodOptional<z.ZodNullable<z.ZodType<CopyStopReason | (string & {}), unknown, z.core.$ZodTypeInternals<CopyStopReason | (string & {}), unknown>>>>;
|
|
308
308
|
}, z.core.$strip>;
|
|
309
309
|
recentSkips: z.ZodArray<z.ZodObject<{
|
|
310
310
|
tradingPairId: z.ZodString;
|
|
311
|
-
reason: z.ZodType<(string & {})
|
|
311
|
+
reason: z.ZodType<CopySkipReason | (string & {}), unknown, z.core.$ZodTypeInternals<CopySkipReason | (string & {}), unknown>>;
|
|
312
312
|
requestedQuantity: z.ZodString;
|
|
313
313
|
skippedAt: z.ZodString;
|
|
314
314
|
}, z.core.$strip>>;
|
package/dist/index.d.ts
CHANGED
package/dist/index.js
CHANGED
package/dist/sdk/index.d.ts
CHANGED
|
@@ -20,7 +20,6 @@ import type { TraderCodesAPI } from "../tradercodes";
|
|
|
20
20
|
import type { TradingAPI, TradingMode } from "../trading";
|
|
21
21
|
import type { VaultAPI } from "../vault";
|
|
22
22
|
import type { MonacoWebSocket, MonacoWebSocketConfig, OrderbookEvent, OrderbookQuotationMode, TradeEvent } from "../websocket";
|
|
23
|
-
import type { WhitelistAPI } from "../whitelist";
|
|
24
23
|
import type { WithdrawalsAPI } from "../withdrawals";
|
|
25
24
|
import type { Network } from "./network";
|
|
26
25
|
/** REST signing migration selector. WebSocket and gRPC authentication are unchanged. */
|
|
@@ -78,7 +77,8 @@ export interface SDKConfig {
|
|
|
78
77
|
/**
|
|
79
78
|
* WebSocket reconnect/resync configuration. The `onStatusChange` /
|
|
80
79
|
* `onResync` callbacks and the reconnect knobs (`autoReconnect`,
|
|
81
|
-
* `maxReconnectAttempts`, `reconnectBaseDelayMs`, `connectionTimeoutMs
|
|
80
|
+
* `maxReconnectAttempts`, `reconnectBaseDelayMs`, `connectionTimeoutMs`,
|
|
81
|
+
* `idleTimeoutMs`) are
|
|
82
82
|
* threaded into the WebSocket client the SDK builds internally, so an app can
|
|
83
83
|
* observe connection status and drive snapshot resyncs without dropping to
|
|
84
84
|
* the low-level `createMonacoWebSocket` factory. The session keypair is not
|
|
@@ -125,8 +125,6 @@ export interface MonacoSDK {
|
|
|
125
125
|
/** Deposit-address registration (sweeper) API; requires a session */
|
|
126
126
|
sweeper: SweeperAPI;
|
|
127
127
|
managedMarkets: ManagedMarketsAPI;
|
|
128
|
-
/** @deprecated Public whitelist applications are closed; submissions return HTTP 403. */
|
|
129
|
-
whitelist: WhitelistAPI;
|
|
130
128
|
/** Profile operations API */
|
|
131
129
|
profile: ProfileAPI;
|
|
132
130
|
/** Public market-pulse news feed API (cached, hourly-refreshed) */
|
|
@@ -30,23 +30,23 @@ export declare const TraderCodeResponseSchema: z.ZodObject<{
|
|
|
30
30
|
* advisory availability check. Empty/absent when the handle is available.
|
|
31
31
|
*/
|
|
32
32
|
export declare const TraderCodeAvailabilityReasonSchema: z.ZodEnum<{
|
|
33
|
-
taken: "taken";
|
|
34
|
-
too_short: "too_short";
|
|
35
|
-
too_long: "too_long";
|
|
36
|
-
reserved: "reserved";
|
|
37
33
|
invalid_char: "invalid_char";
|
|
38
34
|
looks_like_address: "looks_like_address";
|
|
35
|
+
reserved: "reserved";
|
|
36
|
+
taken: "taken";
|
|
37
|
+
too_long: "too_long";
|
|
38
|
+
too_short: "too_short";
|
|
39
39
|
}>;
|
|
40
40
|
/** Schema for the custom TraderCode availability check response. */
|
|
41
41
|
export declare const TraderCodeAvailabilityResponseSchema: z.ZodObject<{
|
|
42
42
|
available: z.ZodBoolean;
|
|
43
43
|
reason: z.ZodPreprocess<z.ZodOptional<z.ZodEnum<{
|
|
44
|
-
taken: "taken";
|
|
45
|
-
too_short: "too_short";
|
|
46
|
-
too_long: "too_long";
|
|
47
|
-
reserved: "reserved";
|
|
48
44
|
invalid_char: "invalid_char";
|
|
49
45
|
looks_like_address: "looks_like_address";
|
|
46
|
+
reserved: "reserved";
|
|
47
|
+
taken: "taken";
|
|
48
|
+
too_long: "too_long";
|
|
49
|
+
too_short: "too_short";
|
|
50
50
|
}>>>;
|
|
51
51
|
}, z.core.$strip>;
|
|
52
52
|
/** Schema for the set-custom-TraderCode request params (claim or edit). */
|
|
@@ -30,18 +30,18 @@ export declare const UpsertFollowSchema: z.ZodObject<{
|
|
|
30
30
|
followId: z.ZodOptional<z.ZodUUID>;
|
|
31
31
|
leader: z.ZodOptional<z.ZodString>;
|
|
32
32
|
marginModePolicy: z.ZodOptional<z.ZodEnum<{
|
|
33
|
-
ISOLATED: "ISOLATED";
|
|
34
33
|
CROSS: "CROSS";
|
|
35
34
|
FOLLOW: "FOLLOW";
|
|
35
|
+
ISOLATED: "ISOLATED";
|
|
36
36
|
}>>;
|
|
37
37
|
sizingMode: z.ZodOptional<z.ZodEnum<{
|
|
38
|
-
PROPORTIONAL: "PROPORTIONAL";
|
|
39
38
|
FIXED_MARGIN: "FIXED_MARGIN";
|
|
39
|
+
PROPORTIONAL: "PROPORTIONAL";
|
|
40
40
|
}>>;
|
|
41
41
|
sizingParam: z.ZodOptional<z.ZodString>;
|
|
42
42
|
leverageMode: z.ZodOptional<z.ZodEnum<{
|
|
43
|
-
FOLLOW: "FOLLOW";
|
|
44
43
|
FIXED: "FIXED";
|
|
44
|
+
FOLLOW: "FOLLOW";
|
|
45
45
|
}>>;
|
|
46
46
|
fixedLeverage: z.ZodOptional<z.ZodString>;
|
|
47
47
|
allocation: z.ZodString;
|
|
@@ -53,18 +53,18 @@ export declare const UpsertFollowSchema: z.ZodObject<{
|
|
|
53
53
|
export declare const PreviewFollowSchema: z.ZodObject<{
|
|
54
54
|
leader: z.ZodString;
|
|
55
55
|
marginModePolicy: z.ZodOptional<z.ZodEnum<{
|
|
56
|
-
ISOLATED: "ISOLATED";
|
|
57
56
|
CROSS: "CROSS";
|
|
58
57
|
FOLLOW: "FOLLOW";
|
|
58
|
+
ISOLATED: "ISOLATED";
|
|
59
59
|
}>>;
|
|
60
60
|
sizingMode: z.ZodOptional<z.ZodEnum<{
|
|
61
|
-
PROPORTIONAL: "PROPORTIONAL";
|
|
62
61
|
FIXED_MARGIN: "FIXED_MARGIN";
|
|
62
|
+
PROPORTIONAL: "PROPORTIONAL";
|
|
63
63
|
}>>;
|
|
64
64
|
sizingParam: z.ZodOptional<z.ZodString>;
|
|
65
65
|
leverageMode: z.ZodOptional<z.ZodEnum<{
|
|
66
|
-
FOLLOW: "FOLLOW";
|
|
67
66
|
FIXED: "FIXED";
|
|
67
|
+
FOLLOW: "FOLLOW";
|
|
68
68
|
}>>;
|
|
69
69
|
fixedLeverage: z.ZodOptional<z.ZodString>;
|
|
70
70
|
allocation: z.ZodString;
|
|
@@ -85,16 +85,16 @@ export declare const ListLeadTradersSchema: z.ZodObject<{
|
|
|
85
85
|
pageSize: z.ZodOptional<z.ZodNumber>;
|
|
86
86
|
pageToken: z.ZodOptional<z.ZodString>;
|
|
87
87
|
sort: z.ZodOptional<z.ZodEnum<{
|
|
88
|
-
roi: "roi";
|
|
89
|
-
pnl: "pnl";
|
|
90
|
-
followers: "followers";
|
|
91
88
|
allocated: "allocated";
|
|
92
89
|
aum: "aum";
|
|
90
|
+
followers: "followers";
|
|
91
|
+
pnl: "pnl";
|
|
92
|
+
roi: "roi";
|
|
93
93
|
win_rate: "win_rate";
|
|
94
94
|
}>>;
|
|
95
95
|
window: z.ZodOptional<z.ZodEnum<{
|
|
96
|
-
"7d": "7d";
|
|
97
96
|
"30d": "30d";
|
|
97
|
+
"7d": "7d";
|
|
98
98
|
"90d": "90d";
|
|
99
99
|
all: "all";
|
|
100
100
|
}>>;
|
|
@@ -27,8 +27,8 @@ export declare const TransferCollateralSchema: z.ZodObject<{
|
|
|
27
27
|
tradingPairId: z.ZodOptional<z.ZodUUID>;
|
|
28
28
|
strategyKey: z.ZodOptional<z.ZodString>;
|
|
29
29
|
marginMode: z.ZodOptional<z.ZodEnum<{
|
|
30
|
-
ISOLATED: "ISOLATED";
|
|
31
30
|
CROSS: "CROSS";
|
|
31
|
+
ISOLATED: "ISOLATED";
|
|
32
32
|
}>>;
|
|
33
33
|
idempotencyKey: z.ZodOptional<z.ZodString>;
|
|
34
34
|
}, z.core.$strip>;
|
|
@@ -43,8 +43,8 @@ export declare const TransferCollateralToParentMarginAccountSchema: z.ZodObject<
|
|
|
43
43
|
export declare const TransferCollateralToRiskBucketSchema: z.ZodObject<{
|
|
44
44
|
request: z.ZodPipe<z.ZodObject<{
|
|
45
45
|
marginMode: z.ZodOptional<z.ZodEnum<{
|
|
46
|
-
ISOLATED: "ISOLATED";
|
|
47
46
|
CROSS: "CROSS";
|
|
47
|
+
ISOLATED: "ISOLATED";
|
|
48
48
|
}>>;
|
|
49
49
|
selectedTradingPairIds: z.ZodOptional<z.ZodUnknown>;
|
|
50
50
|
}, z.core.$loose>, z.ZodUnion<readonly [z.ZodObject<{
|
|
@@ -98,8 +98,8 @@ export declare const SimulateOrderRiskSchema: z.ZodObject<{
|
|
|
98
98
|
}>;
|
|
99
99
|
positionSide: z.ZodOptional<z.ZodEnum<{
|
|
100
100
|
LONG: "LONG";
|
|
101
|
-
SHORT: "SHORT";
|
|
102
101
|
NONE: "NONE";
|
|
102
|
+
SHORT: "SHORT";
|
|
103
103
|
}>>;
|
|
104
104
|
orderType: z.ZodEnum<{
|
|
105
105
|
LIMIT: "LIMIT";
|
|
@@ -121,8 +121,8 @@ export declare const SimulateParentMarginOrderRiskSchema: z.ZodObject<{
|
|
|
121
121
|
}>;
|
|
122
122
|
positionSide: z.ZodOptional<z.ZodEnum<{
|
|
123
123
|
LONG: "LONG";
|
|
124
|
-
SHORT: "SHORT";
|
|
125
124
|
NONE: "NONE";
|
|
125
|
+
SHORT: "SHORT";
|
|
126
126
|
}>>;
|
|
127
127
|
orderType: z.ZodEnum<{
|
|
128
128
|
LIMIT: "LIMIT";
|
|
@@ -138,19 +138,25 @@ export declare const SimulateParentMarginOrderRiskSchema: z.ZodObject<{
|
|
|
138
138
|
export declare const SimulateRiskBucketOrderRiskSchema: z.ZodObject<{
|
|
139
139
|
request: z.ZodPipe<z.ZodObject<{
|
|
140
140
|
marginMode: z.ZodOptional<z.ZodEnum<{
|
|
141
|
-
ISOLATED: "ISOLATED";
|
|
142
141
|
CROSS: "CROSS";
|
|
142
|
+
ISOLATED: "ISOLATED";
|
|
143
143
|
}>>;
|
|
144
144
|
selectedTradingPairIds: z.ZodOptional<z.ZodUnknown>;
|
|
145
145
|
}, z.core.$loose>, z.ZodUnion<readonly [z.ZodObject<{
|
|
146
|
+
tradingPairId: z.ZodUUID;
|
|
147
|
+
strategyKey: z.ZodOptional<z.ZodString>;
|
|
148
|
+
marginMode: z.ZodOptional<z.ZodLiteral<"ISOLATED">>;
|
|
149
|
+
marginAccountId: z.ZodOptional<z.ZodUUID>;
|
|
150
|
+
selectedTradingPairIds: z.ZodOptional<z.ZodNever>;
|
|
151
|
+
applyToPositionMargin: z.ZodOptional<z.ZodBoolean>;
|
|
146
152
|
side: z.ZodEnum<{
|
|
147
153
|
BUY: "BUY";
|
|
148
154
|
SELL: "SELL";
|
|
149
155
|
}>;
|
|
150
156
|
positionSide: z.ZodOptional<z.ZodEnum<{
|
|
151
157
|
LONG: "LONG";
|
|
152
|
-
SHORT: "SHORT";
|
|
153
158
|
NONE: "NONE";
|
|
159
|
+
SHORT: "SHORT";
|
|
154
160
|
}>>;
|
|
155
161
|
orderType: z.ZodEnum<{
|
|
156
162
|
LIMIT: "LIMIT";
|
|
@@ -161,13 +167,11 @@ export declare const SimulateRiskBucketOrderRiskSchema: z.ZodObject<{
|
|
|
161
167
|
leverage: z.ZodOptional<z.ZodString>;
|
|
162
168
|
reduceOnly: z.ZodOptional<z.ZodBoolean>;
|
|
163
169
|
slippageToleranceBps: z.ZodOptional<z.ZodNumber>;
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
marginMode: z.ZodOptional<z.ZodLiteral<"ISOLATED">>;
|
|
170
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
171
|
+
marginMode: z.ZodLiteral<"CROSS">;
|
|
167
172
|
marginAccountId: z.ZodOptional<z.ZodUUID>;
|
|
168
173
|
selectedTradingPairIds: z.ZodOptional<z.ZodNever>;
|
|
169
|
-
|
|
170
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
174
|
+
strategyKey: z.ZodOptional<z.ZodNever>;
|
|
171
175
|
tradingPairId: z.ZodUUID;
|
|
172
176
|
side: z.ZodEnum<{
|
|
173
177
|
BUY: "BUY";
|
|
@@ -175,8 +179,8 @@ export declare const SimulateRiskBucketOrderRiskSchema: z.ZodObject<{
|
|
|
175
179
|
}>;
|
|
176
180
|
positionSide: z.ZodOptional<z.ZodEnum<{
|
|
177
181
|
LONG: "LONG";
|
|
178
|
-
SHORT: "SHORT";
|
|
179
182
|
NONE: "NONE";
|
|
183
|
+
SHORT: "SHORT";
|
|
180
184
|
}>>;
|
|
181
185
|
orderType: z.ZodEnum<{
|
|
182
186
|
LIMIT: "LIMIT";
|
|
@@ -187,10 +191,6 @@ export declare const SimulateRiskBucketOrderRiskSchema: z.ZodObject<{
|
|
|
187
191
|
leverage: z.ZodOptional<z.ZodString>;
|
|
188
192
|
reduceOnly: z.ZodOptional<z.ZodBoolean>;
|
|
189
193
|
slippageToleranceBps: z.ZodOptional<z.ZodNumber>;
|
|
190
|
-
marginMode: z.ZodLiteral<"CROSS">;
|
|
191
|
-
marginAccountId: z.ZodOptional<z.ZodUUID>;
|
|
192
|
-
selectedTradingPairIds: z.ZodOptional<z.ZodNever>;
|
|
193
|
-
strategyKey: z.ZodOptional<z.ZodNever>;
|
|
194
194
|
}, z.core.$strict>]>>;
|
|
195
195
|
}, z.core.$strip>;
|
|
196
196
|
export declare const CreateMarginSubAccountSchema: z.ZodObject<{
|
|
@@ -6,15 +6,15 @@ import { z } from "zod";
|
|
|
6
6
|
* Candlestick interval validation
|
|
7
7
|
*/
|
|
8
8
|
export declare const IntervalSchema: z.ZodEnum<{
|
|
9
|
-
"1m": "1m";
|
|
10
|
-
"5m": "5m";
|
|
11
9
|
"15m": "15m";
|
|
12
|
-
"
|
|
13
|
-
"4h": "4h";
|
|
10
|
+
"1M": "1M";
|
|
14
11
|
"1d": "1d";
|
|
12
|
+
"1h": "1h";
|
|
13
|
+
"1m": "1m";
|
|
15
14
|
"1w": "1w";
|
|
16
15
|
"30m": "30m";
|
|
17
|
-
"
|
|
16
|
+
"4h": "4h";
|
|
17
|
+
"5m": "5m";
|
|
18
18
|
}>;
|
|
19
19
|
/**
|
|
20
20
|
* Timestamp validation (milliseconds since epoch)
|
|
@@ -74,15 +74,15 @@ export declare const TimestampSchema: z.ZodNumber;
|
|
|
74
74
|
export declare const GetCandlesticksSchema: z.ZodObject<{
|
|
75
75
|
tradingPairId: z.ZodUUID;
|
|
76
76
|
interval: z.ZodEnum<{
|
|
77
|
-
"1m": "1m";
|
|
78
|
-
"5m": "5m";
|
|
79
77
|
"15m": "15m";
|
|
80
|
-
"
|
|
81
|
-
"4h": "4h";
|
|
78
|
+
"1M": "1M";
|
|
82
79
|
"1d": "1d";
|
|
80
|
+
"1h": "1h";
|
|
81
|
+
"1m": "1m";
|
|
83
82
|
"1w": "1w";
|
|
84
83
|
"30m": "30m";
|
|
85
|
-
"
|
|
84
|
+
"4h": "4h";
|
|
85
|
+
"5m": "5m";
|
|
86
86
|
}>;
|
|
87
87
|
startTime: z.ZodNumber;
|
|
88
88
|
endTime: z.ZodNumber;
|
|
@@ -158,22 +158,22 @@ export declare const CandlestickLimitSchema: z.ZodOptional<z.ZodNumber>;
|
|
|
158
158
|
export declare const GetCandlesticksByPairIdSchema: z.ZodObject<{
|
|
159
159
|
tradingPairId: z.ZodUUID;
|
|
160
160
|
interval: z.ZodEnum<{
|
|
161
|
-
"1m": "1m";
|
|
162
|
-
"5m": "5m";
|
|
163
161
|
"15m": "15m";
|
|
164
|
-
"
|
|
165
|
-
"4h": "4h";
|
|
162
|
+
"1M": "1M";
|
|
166
163
|
"1d": "1d";
|
|
164
|
+
"1h": "1h";
|
|
165
|
+
"1m": "1m";
|
|
167
166
|
"1w": "1w";
|
|
168
167
|
"30m": "30m";
|
|
169
|
-
"
|
|
168
|
+
"4h": "4h";
|
|
169
|
+
"5m": "5m";
|
|
170
170
|
}>;
|
|
171
171
|
startTime: z.ZodOptional<z.ZodNumber>;
|
|
172
172
|
endTime: z.ZodOptional<z.ZodNumber>;
|
|
173
173
|
limit: z.ZodOptional<z.ZodNumber>;
|
|
174
174
|
priceType: z.ZodOptional<z.ZodEnum<{
|
|
175
|
-
trade: "trade";
|
|
176
175
|
mark: "mark";
|
|
176
|
+
trade: "trade";
|
|
177
177
|
}>>;
|
|
178
178
|
}, z.core.$strip>;
|
|
179
179
|
/**
|
|
@@ -182,22 +182,22 @@ export declare const GetCandlesticksByPairIdSchema: z.ZodObject<{
|
|
|
182
182
|
export declare const GetCandlesticksBySymbolSchema: z.ZodObject<{
|
|
183
183
|
tradingPairId: z.ZodUUID;
|
|
184
184
|
interval: z.ZodEnum<{
|
|
185
|
-
"1m": "1m";
|
|
186
|
-
"5m": "5m";
|
|
187
185
|
"15m": "15m";
|
|
188
|
-
"
|
|
189
|
-
"4h": "4h";
|
|
186
|
+
"1M": "1M";
|
|
190
187
|
"1d": "1d";
|
|
188
|
+
"1h": "1h";
|
|
189
|
+
"1m": "1m";
|
|
191
190
|
"1w": "1w";
|
|
192
191
|
"30m": "30m";
|
|
193
|
-
"
|
|
192
|
+
"4h": "4h";
|
|
193
|
+
"5m": "5m";
|
|
194
194
|
}>;
|
|
195
195
|
startTime: z.ZodOptional<z.ZodNumber>;
|
|
196
196
|
endTime: z.ZodOptional<z.ZodNumber>;
|
|
197
197
|
limit: z.ZodOptional<z.ZodNumber>;
|
|
198
198
|
priceType: z.ZodOptional<z.ZodEnum<{
|
|
199
|
-
trade: "trade";
|
|
200
199
|
mark: "mark";
|
|
200
|
+
trade: "trade";
|
|
201
201
|
}>>;
|
|
202
202
|
}, z.core.$strip>;
|
|
203
203
|
/**
|