@pear-protocol/types 0.0.7 → 0.0.8
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/connector/index.d.ts +3 -3
- package/dist/connector/index.js +1 -1
- package/dist/execution/entities.d.ts +20 -20
- package/dist/execution/queries.d.ts +1 -1
- package/dist/execution/responses.d.ts +6 -6
- package/dist/fill/entities.d.ts +1 -1
- package/dist/fill/queries.d.ts +1 -1
- package/dist/fill/responses.d.ts +2 -2
- package/dist/funding/queries.d.ts +1 -1
- package/dist/instrument/entities.d.ts +1 -1
- package/dist/instrument/entities.js +1 -1
- package/dist/instrument/queries.d.ts +1 -1
- package/dist/instrument/responses.d.ts +1 -1
- package/dist/order/entities.d.ts +2 -2
- package/dist/position/entities.d.ts +1 -1
- package/dist/position/queries.d.ts +1 -1
- package/dist/position/responses.d.ts +1 -1
- package/dist/price/queries.d.ts +1 -1
- package/dist/schedule/entities.d.ts +10 -10
- package/dist/schedule/queries.d.ts +1 -1
- package/dist/schedule/responses.d.ts +8 -8
- package/dist/trade/responses.d.ts +24 -24
- package/dist/trade-accounts/entities.d.ts +1 -1
- package/dist/trade-accounts/payloads.d.ts +4 -4
- package/dist/trade-accounts/payloads.js +9 -9
- package/dist/trade-accounts/response.d.ts +3 -3
- package/dist/trade-accounts/response.js +3 -3
- package/dist/trigger/entities/index.d.ts +20 -20
- package/dist/trigger/queries.d.ts +1 -1
- package/dist/trigger/responses.d.ts +12 -12
- package/package.json +1 -1
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
2
|
export declare const Connector: z.ZodEnum<{
|
|
3
3
|
hyperliquid: "hyperliquid";
|
|
4
|
-
|
|
4
|
+
binance: "binance";
|
|
5
5
|
bybit: "bybit";
|
|
6
6
|
okx: "okx";
|
|
7
7
|
}>;
|
|
@@ -9,7 +9,7 @@ export type Connector = z.infer<typeof Connector>;
|
|
|
9
9
|
export type HyperliquidCredentialsDTO = {
|
|
10
10
|
signer_key: `0x${string}`;
|
|
11
11
|
};
|
|
12
|
-
export type
|
|
12
|
+
export type BinanceCredentialsDTO = {
|
|
13
13
|
api_key: string;
|
|
14
14
|
api_secret: string;
|
|
15
15
|
};
|
|
@@ -24,7 +24,7 @@ export type OkxCredentialsDTO = {
|
|
|
24
24
|
};
|
|
25
25
|
export type ConnectorCredentialsDTO = {
|
|
26
26
|
hyperliquid: HyperliquidCredentialsDTO;
|
|
27
|
-
|
|
27
|
+
binance: BinanceCredentialsDTO;
|
|
28
28
|
bybit: BybitCredentialsDTO;
|
|
29
29
|
okx: OkxCredentialsDTO;
|
|
30
30
|
};
|
package/dist/connector/index.js
CHANGED
|
@@ -39,7 +39,7 @@ export declare const BaseExecution: z.ZodObject<{
|
|
|
39
39
|
id: z.ZodUUID;
|
|
40
40
|
connector: z.ZodEnum<{
|
|
41
41
|
hyperliquid: "hyperliquid";
|
|
42
|
-
|
|
42
|
+
binance: "binance";
|
|
43
43
|
bybit: "bybit";
|
|
44
44
|
okx: "okx";
|
|
45
45
|
}>;
|
|
@@ -65,7 +65,7 @@ export declare const BaseExecution: z.ZodObject<{
|
|
|
65
65
|
id: z.ZodUUID;
|
|
66
66
|
connector: z.ZodEnum<{
|
|
67
67
|
hyperliquid: "hyperliquid";
|
|
68
|
-
|
|
68
|
+
binance: "binance";
|
|
69
69
|
bybit: "bybit";
|
|
70
70
|
okx: "okx";
|
|
71
71
|
}>;
|
|
@@ -97,7 +97,7 @@ export declare const MarketOpenExecution: z.ZodObject<{
|
|
|
97
97
|
id: z.ZodUUID;
|
|
98
98
|
connector: z.ZodEnum<{
|
|
99
99
|
hyperliquid: "hyperliquid";
|
|
100
|
-
|
|
100
|
+
binance: "binance";
|
|
101
101
|
bybit: "bybit";
|
|
102
102
|
okx: "okx";
|
|
103
103
|
}>;
|
|
@@ -115,7 +115,7 @@ export declare const MarketOpenExecution: z.ZodObject<{
|
|
|
115
115
|
id: z.ZodUUID;
|
|
116
116
|
connector: z.ZodEnum<{
|
|
117
117
|
hyperliquid: "hyperliquid";
|
|
118
|
-
|
|
118
|
+
binance: "binance";
|
|
119
119
|
bybit: "bybit";
|
|
120
120
|
okx: "okx";
|
|
121
121
|
}>;
|
|
@@ -174,7 +174,7 @@ export declare const MarketAdjustExecution: z.ZodObject<{
|
|
|
174
174
|
id: z.ZodUUID;
|
|
175
175
|
connector: z.ZodEnum<{
|
|
176
176
|
hyperliquid: "hyperliquid";
|
|
177
|
-
|
|
177
|
+
binance: "binance";
|
|
178
178
|
bybit: "bybit";
|
|
179
179
|
okx: "okx";
|
|
180
180
|
}>;
|
|
@@ -192,7 +192,7 @@ export declare const MarketAdjustExecution: z.ZodObject<{
|
|
|
192
192
|
id: z.ZodUUID;
|
|
193
193
|
connector: z.ZodEnum<{
|
|
194
194
|
hyperliquid: "hyperliquid";
|
|
195
|
-
|
|
195
|
+
binance: "binance";
|
|
196
196
|
bybit: "bybit";
|
|
197
197
|
okx: "okx";
|
|
198
198
|
}>;
|
|
@@ -255,7 +255,7 @@ export declare const MarketCloseExecution: z.ZodObject<{
|
|
|
255
255
|
id: z.ZodUUID;
|
|
256
256
|
connector: z.ZodEnum<{
|
|
257
257
|
hyperliquid: "hyperliquid";
|
|
258
|
-
|
|
258
|
+
binance: "binance";
|
|
259
259
|
bybit: "bybit";
|
|
260
260
|
okx: "okx";
|
|
261
261
|
}>;
|
|
@@ -273,7 +273,7 @@ export declare const MarketCloseExecution: z.ZodObject<{
|
|
|
273
273
|
id: z.ZodUUID;
|
|
274
274
|
connector: z.ZodEnum<{
|
|
275
275
|
hyperliquid: "hyperliquid";
|
|
276
|
-
|
|
276
|
+
binance: "binance";
|
|
277
277
|
bybit: "bybit";
|
|
278
278
|
okx: "okx";
|
|
279
279
|
}>;
|
|
@@ -311,7 +311,7 @@ export declare const MarketExecution: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
311
311
|
id: z.ZodUUID;
|
|
312
312
|
connector: z.ZodEnum<{
|
|
313
313
|
hyperliquid: "hyperliquid";
|
|
314
|
-
|
|
314
|
+
binance: "binance";
|
|
315
315
|
bybit: "bybit";
|
|
316
316
|
okx: "okx";
|
|
317
317
|
}>;
|
|
@@ -329,7 +329,7 @@ export declare const MarketExecution: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
329
329
|
id: z.ZodUUID;
|
|
330
330
|
connector: z.ZodEnum<{
|
|
331
331
|
hyperliquid: "hyperliquid";
|
|
332
|
-
|
|
332
|
+
binance: "binance";
|
|
333
333
|
bybit: "bybit";
|
|
334
334
|
okx: "okx";
|
|
335
335
|
}>;
|
|
@@ -387,7 +387,7 @@ export declare const MarketExecution: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
387
387
|
id: z.ZodUUID;
|
|
388
388
|
connector: z.ZodEnum<{
|
|
389
389
|
hyperliquid: "hyperliquid";
|
|
390
|
-
|
|
390
|
+
binance: "binance";
|
|
391
391
|
bybit: "bybit";
|
|
392
392
|
okx: "okx";
|
|
393
393
|
}>;
|
|
@@ -405,7 +405,7 @@ export declare const MarketExecution: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
405
405
|
id: z.ZodUUID;
|
|
406
406
|
connector: z.ZodEnum<{
|
|
407
407
|
hyperliquid: "hyperliquid";
|
|
408
|
-
|
|
408
|
+
binance: "binance";
|
|
409
409
|
bybit: "bybit";
|
|
410
410
|
okx: "okx";
|
|
411
411
|
}>;
|
|
@@ -467,7 +467,7 @@ export declare const MarketExecution: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
467
467
|
id: z.ZodUUID;
|
|
468
468
|
connector: z.ZodEnum<{
|
|
469
469
|
hyperliquid: "hyperliquid";
|
|
470
|
-
|
|
470
|
+
binance: "binance";
|
|
471
471
|
bybit: "bybit";
|
|
472
472
|
okx: "okx";
|
|
473
473
|
}>;
|
|
@@ -485,7 +485,7 @@ export declare const MarketExecution: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
485
485
|
id: z.ZodUUID;
|
|
486
486
|
connector: z.ZodEnum<{
|
|
487
487
|
hyperliquid: "hyperliquid";
|
|
488
|
-
|
|
488
|
+
binance: "binance";
|
|
489
489
|
bybit: "bybit";
|
|
490
490
|
okx: "okx";
|
|
491
491
|
}>;
|
|
@@ -523,7 +523,7 @@ export declare const Execution: z.ZodDiscriminatedUnion<[z.ZodDiscriminatedUnion
|
|
|
523
523
|
id: z.ZodUUID;
|
|
524
524
|
connector: z.ZodEnum<{
|
|
525
525
|
hyperliquid: "hyperliquid";
|
|
526
|
-
|
|
526
|
+
binance: "binance";
|
|
527
527
|
bybit: "bybit";
|
|
528
528
|
okx: "okx";
|
|
529
529
|
}>;
|
|
@@ -541,7 +541,7 @@ export declare const Execution: z.ZodDiscriminatedUnion<[z.ZodDiscriminatedUnion
|
|
|
541
541
|
id: z.ZodUUID;
|
|
542
542
|
connector: z.ZodEnum<{
|
|
543
543
|
hyperliquid: "hyperliquid";
|
|
544
|
-
|
|
544
|
+
binance: "binance";
|
|
545
545
|
bybit: "bybit";
|
|
546
546
|
okx: "okx";
|
|
547
547
|
}>;
|
|
@@ -599,7 +599,7 @@ export declare const Execution: z.ZodDiscriminatedUnion<[z.ZodDiscriminatedUnion
|
|
|
599
599
|
id: z.ZodUUID;
|
|
600
600
|
connector: z.ZodEnum<{
|
|
601
601
|
hyperliquid: "hyperliquid";
|
|
602
|
-
|
|
602
|
+
binance: "binance";
|
|
603
603
|
bybit: "bybit";
|
|
604
604
|
okx: "okx";
|
|
605
605
|
}>;
|
|
@@ -617,7 +617,7 @@ export declare const Execution: z.ZodDiscriminatedUnion<[z.ZodDiscriminatedUnion
|
|
|
617
617
|
id: z.ZodUUID;
|
|
618
618
|
connector: z.ZodEnum<{
|
|
619
619
|
hyperliquid: "hyperliquid";
|
|
620
|
-
|
|
620
|
+
binance: "binance";
|
|
621
621
|
bybit: "bybit";
|
|
622
622
|
okx: "okx";
|
|
623
623
|
}>;
|
|
@@ -679,7 +679,7 @@ export declare const Execution: z.ZodDiscriminatedUnion<[z.ZodDiscriminatedUnion
|
|
|
679
679
|
id: z.ZodUUID;
|
|
680
680
|
connector: z.ZodEnum<{
|
|
681
681
|
hyperliquid: "hyperliquid";
|
|
682
|
-
|
|
682
|
+
binance: "binance";
|
|
683
683
|
bybit: "bybit";
|
|
684
684
|
okx: "okx";
|
|
685
685
|
}>;
|
|
@@ -697,7 +697,7 @@ export declare const Execution: z.ZodDiscriminatedUnion<[z.ZodDiscriminatedUnion
|
|
|
697
697
|
id: z.ZodUUID;
|
|
698
698
|
connector: z.ZodEnum<{
|
|
699
699
|
hyperliquid: "hyperliquid";
|
|
700
|
-
|
|
700
|
+
binance: "binance";
|
|
701
701
|
bybit: "bybit";
|
|
702
702
|
okx: "okx";
|
|
703
703
|
}>;
|
|
@@ -6,7 +6,7 @@ export declare const ExecutionListResponse: z.ZodObject<{
|
|
|
6
6
|
id: z.ZodUUID;
|
|
7
7
|
connector: z.ZodEnum<{
|
|
8
8
|
hyperliquid: "hyperliquid";
|
|
9
|
-
|
|
9
|
+
binance: "binance";
|
|
10
10
|
bybit: "bybit";
|
|
11
11
|
okx: "okx";
|
|
12
12
|
}>;
|
|
@@ -24,7 +24,7 @@ export declare const ExecutionListResponse: z.ZodObject<{
|
|
|
24
24
|
id: z.ZodUUID;
|
|
25
25
|
connector: z.ZodEnum<{
|
|
26
26
|
hyperliquid: "hyperliquid";
|
|
27
|
-
|
|
27
|
+
binance: "binance";
|
|
28
28
|
bybit: "bybit";
|
|
29
29
|
okx: "okx";
|
|
30
30
|
}>;
|
|
@@ -82,7 +82,7 @@ export declare const ExecutionListResponse: z.ZodObject<{
|
|
|
82
82
|
id: z.ZodUUID;
|
|
83
83
|
connector: z.ZodEnum<{
|
|
84
84
|
hyperliquid: "hyperliquid";
|
|
85
|
-
|
|
85
|
+
binance: "binance";
|
|
86
86
|
bybit: "bybit";
|
|
87
87
|
okx: "okx";
|
|
88
88
|
}>;
|
|
@@ -100,7 +100,7 @@ export declare const ExecutionListResponse: z.ZodObject<{
|
|
|
100
100
|
id: z.ZodUUID;
|
|
101
101
|
connector: z.ZodEnum<{
|
|
102
102
|
hyperliquid: "hyperliquid";
|
|
103
|
-
|
|
103
|
+
binance: "binance";
|
|
104
104
|
bybit: "bybit";
|
|
105
105
|
okx: "okx";
|
|
106
106
|
}>;
|
|
@@ -162,7 +162,7 @@ export declare const ExecutionListResponse: z.ZodObject<{
|
|
|
162
162
|
id: z.ZodUUID;
|
|
163
163
|
connector: z.ZodEnum<{
|
|
164
164
|
hyperliquid: "hyperliquid";
|
|
165
|
-
|
|
165
|
+
binance: "binance";
|
|
166
166
|
bybit: "bybit";
|
|
167
167
|
okx: "okx";
|
|
168
168
|
}>;
|
|
@@ -180,7 +180,7 @@ export declare const ExecutionListResponse: z.ZodObject<{
|
|
|
180
180
|
id: z.ZodUUID;
|
|
181
181
|
connector: z.ZodEnum<{
|
|
182
182
|
hyperliquid: "hyperliquid";
|
|
183
|
-
|
|
183
|
+
binance: "binance";
|
|
184
184
|
bybit: "bybit";
|
|
185
185
|
okx: "okx";
|
|
186
186
|
}>;
|
package/dist/fill/entities.d.ts
CHANGED
package/dist/fill/queries.d.ts
CHANGED
package/dist/fill/responses.d.ts
CHANGED
|
@@ -10,7 +10,7 @@ export declare const FillListResponse: z.ZodObject<{
|
|
|
10
10
|
positionId: z.ZodUUID;
|
|
11
11
|
connector: z.ZodEnum<{
|
|
12
12
|
hyperliquid: "hyperliquid";
|
|
13
|
-
|
|
13
|
+
binance: "binance";
|
|
14
14
|
bybit: "bybit";
|
|
15
15
|
okx: "okx";
|
|
16
16
|
}>;
|
|
@@ -36,7 +36,7 @@ export declare const PositionFillListResponse: z.ZodObject<{
|
|
|
36
36
|
positionId: z.ZodUUID;
|
|
37
37
|
connector: z.ZodEnum<{
|
|
38
38
|
hyperliquid: "hyperliquid";
|
|
39
|
-
|
|
39
|
+
binance: "binance";
|
|
40
40
|
bybit: "bybit";
|
|
41
41
|
okx: "okx";
|
|
42
42
|
}>;
|
package/dist/order/entities.d.ts
CHANGED
|
@@ -11,7 +11,7 @@ export declare const MarketOrder: z.ZodObject<{
|
|
|
11
11
|
id: z.ZodUUID;
|
|
12
12
|
connector: z.ZodEnum<{
|
|
13
13
|
hyperliquid: "hyperliquid";
|
|
14
|
-
|
|
14
|
+
binance: "binance";
|
|
15
15
|
bybit: "bybit";
|
|
16
16
|
okx: "okx";
|
|
17
17
|
}>;
|
|
@@ -42,7 +42,7 @@ export declare const Order: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
42
42
|
id: z.ZodUUID;
|
|
43
43
|
connector: z.ZodEnum<{
|
|
44
44
|
hyperliquid: "hyperliquid";
|
|
45
|
-
|
|
45
|
+
binance: "binance";
|
|
46
46
|
bybit: "bybit";
|
|
47
47
|
okx: "okx";
|
|
48
48
|
}>;
|
package/dist/price/queries.d.ts
CHANGED
|
@@ -51,7 +51,7 @@ declare const BaseSchedule: z.ZodObject<{
|
|
|
51
51
|
id: z.ZodUUID;
|
|
52
52
|
connector: z.ZodEnum<{
|
|
53
53
|
hyperliquid: "hyperliquid";
|
|
54
|
-
|
|
54
|
+
binance: "binance";
|
|
55
55
|
bybit: "bybit";
|
|
56
56
|
okx: "okx";
|
|
57
57
|
}>;
|
|
@@ -92,7 +92,7 @@ declare const BaseSchedule: z.ZodObject<{
|
|
|
92
92
|
positionId: z.ZodUUID;
|
|
93
93
|
connector: z.ZodEnum<{
|
|
94
94
|
hyperliquid: "hyperliquid";
|
|
95
|
-
|
|
95
|
+
binance: "binance";
|
|
96
96
|
bybit: "bybit";
|
|
97
97
|
okx: "okx";
|
|
98
98
|
}>;
|
|
@@ -112,7 +112,7 @@ export declare const TWAPOpen: z.ZodObject<{
|
|
|
112
112
|
id: z.ZodUUID;
|
|
113
113
|
connector: z.ZodEnum<{
|
|
114
114
|
hyperliquid: "hyperliquid";
|
|
115
|
-
|
|
115
|
+
binance: "binance";
|
|
116
116
|
bybit: "bybit";
|
|
117
117
|
okx: "okx";
|
|
118
118
|
}>;
|
|
@@ -145,7 +145,7 @@ export declare const TWAPOpen: z.ZodObject<{
|
|
|
145
145
|
positionId: z.ZodUUID;
|
|
146
146
|
connector: z.ZodEnum<{
|
|
147
147
|
hyperliquid: "hyperliquid";
|
|
148
|
-
|
|
148
|
+
binance: "binance";
|
|
149
149
|
bybit: "bybit";
|
|
150
150
|
okx: "okx";
|
|
151
151
|
}>;
|
|
@@ -182,7 +182,7 @@ export declare const TWAPClose: z.ZodObject<{
|
|
|
182
182
|
id: z.ZodUUID;
|
|
183
183
|
connector: z.ZodEnum<{
|
|
184
184
|
hyperliquid: "hyperliquid";
|
|
185
|
-
|
|
185
|
+
binance: "binance";
|
|
186
186
|
bybit: "bybit";
|
|
187
187
|
okx: "okx";
|
|
188
188
|
}>;
|
|
@@ -215,7 +215,7 @@ export declare const TWAPClose: z.ZodObject<{
|
|
|
215
215
|
positionId: z.ZodUUID;
|
|
216
216
|
connector: z.ZodEnum<{
|
|
217
217
|
hyperliquid: "hyperliquid";
|
|
218
|
-
|
|
218
|
+
binance: "binance";
|
|
219
219
|
bybit: "bybit";
|
|
220
220
|
okx: "okx";
|
|
221
221
|
}>;
|
|
@@ -244,7 +244,7 @@ export declare const Schedule: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
244
244
|
id: z.ZodUUID;
|
|
245
245
|
connector: z.ZodEnum<{
|
|
246
246
|
hyperliquid: "hyperliquid";
|
|
247
|
-
|
|
247
|
+
binance: "binance";
|
|
248
248
|
bybit: "bybit";
|
|
249
249
|
okx: "okx";
|
|
250
250
|
}>;
|
|
@@ -277,7 +277,7 @@ export declare const Schedule: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
277
277
|
positionId: z.ZodUUID;
|
|
278
278
|
connector: z.ZodEnum<{
|
|
279
279
|
hyperliquid: "hyperliquid";
|
|
280
|
-
|
|
280
|
+
binance: "binance";
|
|
281
281
|
bybit: "bybit";
|
|
282
282
|
okx: "okx";
|
|
283
283
|
}>;
|
|
@@ -313,7 +313,7 @@ export declare const Schedule: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
313
313
|
id: z.ZodUUID;
|
|
314
314
|
connector: z.ZodEnum<{
|
|
315
315
|
hyperliquid: "hyperliquid";
|
|
316
|
-
|
|
316
|
+
binance: "binance";
|
|
317
317
|
bybit: "bybit";
|
|
318
318
|
okx: "okx";
|
|
319
319
|
}>;
|
|
@@ -346,7 +346,7 @@ export declare const Schedule: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
346
346
|
positionId: z.ZodUUID;
|
|
347
347
|
connector: z.ZodEnum<{
|
|
348
348
|
hyperliquid: "hyperliquid";
|
|
349
|
-
|
|
349
|
+
binance: "binance";
|
|
350
350
|
bybit: "bybit";
|
|
351
351
|
okx: "okx";
|
|
352
352
|
}>;
|
|
@@ -6,7 +6,7 @@ export declare const ScheduleListResponse: z.ZodObject<{
|
|
|
6
6
|
id: z.ZodUUID;
|
|
7
7
|
connector: z.ZodEnum<{
|
|
8
8
|
hyperliquid: "hyperliquid";
|
|
9
|
-
|
|
9
|
+
binance: "binance";
|
|
10
10
|
bybit: "bybit";
|
|
11
11
|
okx: "okx";
|
|
12
12
|
}>;
|
|
@@ -39,7 +39,7 @@ export declare const ScheduleListResponse: z.ZodObject<{
|
|
|
39
39
|
positionId: z.ZodUUID;
|
|
40
40
|
connector: z.ZodEnum<{
|
|
41
41
|
hyperliquid: "hyperliquid";
|
|
42
|
-
|
|
42
|
+
binance: "binance";
|
|
43
43
|
bybit: "bybit";
|
|
44
44
|
okx: "okx";
|
|
45
45
|
}>;
|
|
@@ -75,7 +75,7 @@ export declare const ScheduleListResponse: z.ZodObject<{
|
|
|
75
75
|
id: z.ZodUUID;
|
|
76
76
|
connector: z.ZodEnum<{
|
|
77
77
|
hyperliquid: "hyperliquid";
|
|
78
|
-
|
|
78
|
+
binance: "binance";
|
|
79
79
|
bybit: "bybit";
|
|
80
80
|
okx: "okx";
|
|
81
81
|
}>;
|
|
@@ -108,7 +108,7 @@ export declare const ScheduleListResponse: z.ZodObject<{
|
|
|
108
108
|
positionId: z.ZodUUID;
|
|
109
109
|
connector: z.ZodEnum<{
|
|
110
110
|
hyperliquid: "hyperliquid";
|
|
111
|
-
|
|
111
|
+
binance: "binance";
|
|
112
112
|
bybit: "bybit";
|
|
113
113
|
okx: "okx";
|
|
114
114
|
}>;
|
|
@@ -140,7 +140,7 @@ export declare const CreateScheduleResponse: z.ZodObject<{
|
|
|
140
140
|
id: z.ZodUUID;
|
|
141
141
|
connector: z.ZodEnum<{
|
|
142
142
|
hyperliquid: "hyperliquid";
|
|
143
|
-
|
|
143
|
+
binance: "binance";
|
|
144
144
|
bybit: "bybit";
|
|
145
145
|
okx: "okx";
|
|
146
146
|
}>;
|
|
@@ -173,7 +173,7 @@ export declare const CreateScheduleResponse: z.ZodObject<{
|
|
|
173
173
|
positionId: z.ZodUUID;
|
|
174
174
|
connector: z.ZodEnum<{
|
|
175
175
|
hyperliquid: "hyperliquid";
|
|
176
|
-
|
|
176
|
+
binance: "binance";
|
|
177
177
|
bybit: "bybit";
|
|
178
178
|
okx: "okx";
|
|
179
179
|
}>;
|
|
@@ -209,7 +209,7 @@ export declare const CreateScheduleResponse: z.ZodObject<{
|
|
|
209
209
|
id: z.ZodUUID;
|
|
210
210
|
connector: z.ZodEnum<{
|
|
211
211
|
hyperliquid: "hyperliquid";
|
|
212
|
-
|
|
212
|
+
binance: "binance";
|
|
213
213
|
bybit: "bybit";
|
|
214
214
|
okx: "okx";
|
|
215
215
|
}>;
|
|
@@ -242,7 +242,7 @@ export declare const CreateScheduleResponse: z.ZodObject<{
|
|
|
242
242
|
positionId: z.ZodUUID;
|
|
243
243
|
connector: z.ZodEnum<{
|
|
244
244
|
hyperliquid: "hyperliquid";
|
|
245
|
-
|
|
245
|
+
binance: "binance";
|
|
246
246
|
bybit: "bybit";
|
|
247
247
|
okx: "okx";
|
|
248
248
|
}>;
|
|
@@ -4,7 +4,7 @@ export declare const CreateTradeOpenResponse: z.ZodObject<{
|
|
|
4
4
|
id: z.ZodUUID;
|
|
5
5
|
connector: z.ZodEnum<{
|
|
6
6
|
hyperliquid: "hyperliquid";
|
|
7
|
-
|
|
7
|
+
binance: "binance";
|
|
8
8
|
bybit: "bybit";
|
|
9
9
|
okx: "okx";
|
|
10
10
|
}>;
|
|
@@ -22,7 +22,7 @@ export declare const CreateTradeOpenResponse: z.ZodObject<{
|
|
|
22
22
|
id: z.ZodUUID;
|
|
23
23
|
connector: z.ZodEnum<{
|
|
24
24
|
hyperliquid: "hyperliquid";
|
|
25
|
-
|
|
25
|
+
binance: "binance";
|
|
26
26
|
bybit: "bybit";
|
|
27
27
|
okx: "okx";
|
|
28
28
|
}>;
|
|
@@ -80,7 +80,7 @@ export declare const CreateTradeOpenResponse: z.ZodObject<{
|
|
|
80
80
|
id: z.ZodUUID;
|
|
81
81
|
connector: z.ZodEnum<{
|
|
82
82
|
hyperliquid: "hyperliquid";
|
|
83
|
-
|
|
83
|
+
binance: "binance";
|
|
84
84
|
bybit: "bybit";
|
|
85
85
|
okx: "okx";
|
|
86
86
|
}>;
|
|
@@ -98,7 +98,7 @@ export declare const CreateTradeOpenResponse: z.ZodObject<{
|
|
|
98
98
|
id: z.ZodUUID;
|
|
99
99
|
connector: z.ZodEnum<{
|
|
100
100
|
hyperliquid: "hyperliquid";
|
|
101
|
-
|
|
101
|
+
binance: "binance";
|
|
102
102
|
bybit: "bybit";
|
|
103
103
|
okx: "okx";
|
|
104
104
|
}>;
|
|
@@ -160,7 +160,7 @@ export declare const CreateTradeOpenResponse: z.ZodObject<{
|
|
|
160
160
|
id: z.ZodUUID;
|
|
161
161
|
connector: z.ZodEnum<{
|
|
162
162
|
hyperliquid: "hyperliquid";
|
|
163
|
-
|
|
163
|
+
binance: "binance";
|
|
164
164
|
bybit: "bybit";
|
|
165
165
|
okx: "okx";
|
|
166
166
|
}>;
|
|
@@ -178,7 +178,7 @@ export declare const CreateTradeOpenResponse: z.ZodObject<{
|
|
|
178
178
|
id: z.ZodUUID;
|
|
179
179
|
connector: z.ZodEnum<{
|
|
180
180
|
hyperliquid: "hyperliquid";
|
|
181
|
-
|
|
181
|
+
binance: "binance";
|
|
182
182
|
bybit: "bybit";
|
|
183
183
|
okx: "okx";
|
|
184
184
|
}>;
|
|
@@ -219,7 +219,7 @@ export declare const CreateTradeAdjustResponse: z.ZodObject<{
|
|
|
219
219
|
id: z.ZodUUID;
|
|
220
220
|
connector: z.ZodEnum<{
|
|
221
221
|
hyperliquid: "hyperliquid";
|
|
222
|
-
|
|
222
|
+
binance: "binance";
|
|
223
223
|
bybit: "bybit";
|
|
224
224
|
okx: "okx";
|
|
225
225
|
}>;
|
|
@@ -237,7 +237,7 @@ export declare const CreateTradeAdjustResponse: z.ZodObject<{
|
|
|
237
237
|
id: z.ZodUUID;
|
|
238
238
|
connector: z.ZodEnum<{
|
|
239
239
|
hyperliquid: "hyperliquid";
|
|
240
|
-
|
|
240
|
+
binance: "binance";
|
|
241
241
|
bybit: "bybit";
|
|
242
242
|
okx: "okx";
|
|
243
243
|
}>;
|
|
@@ -295,7 +295,7 @@ export declare const CreateTradeAdjustResponse: z.ZodObject<{
|
|
|
295
295
|
id: z.ZodUUID;
|
|
296
296
|
connector: z.ZodEnum<{
|
|
297
297
|
hyperliquid: "hyperliquid";
|
|
298
|
-
|
|
298
|
+
binance: "binance";
|
|
299
299
|
bybit: "bybit";
|
|
300
300
|
okx: "okx";
|
|
301
301
|
}>;
|
|
@@ -313,7 +313,7 @@ export declare const CreateTradeAdjustResponse: z.ZodObject<{
|
|
|
313
313
|
id: z.ZodUUID;
|
|
314
314
|
connector: z.ZodEnum<{
|
|
315
315
|
hyperliquid: "hyperliquid";
|
|
316
|
-
|
|
316
|
+
binance: "binance";
|
|
317
317
|
bybit: "bybit";
|
|
318
318
|
okx: "okx";
|
|
319
319
|
}>;
|
|
@@ -375,7 +375,7 @@ export declare const CreateTradeAdjustResponse: z.ZodObject<{
|
|
|
375
375
|
id: z.ZodUUID;
|
|
376
376
|
connector: z.ZodEnum<{
|
|
377
377
|
hyperliquid: "hyperliquid";
|
|
378
|
-
|
|
378
|
+
binance: "binance";
|
|
379
379
|
bybit: "bybit";
|
|
380
380
|
okx: "okx";
|
|
381
381
|
}>;
|
|
@@ -393,7 +393,7 @@ export declare const CreateTradeAdjustResponse: z.ZodObject<{
|
|
|
393
393
|
id: z.ZodUUID;
|
|
394
394
|
connector: z.ZodEnum<{
|
|
395
395
|
hyperliquid: "hyperliquid";
|
|
396
|
-
|
|
396
|
+
binance: "binance";
|
|
397
397
|
bybit: "bybit";
|
|
398
398
|
okx: "okx";
|
|
399
399
|
}>;
|
|
@@ -434,7 +434,7 @@ export declare const CreateTradeCloseResponse: z.ZodObject<{
|
|
|
434
434
|
id: z.ZodUUID;
|
|
435
435
|
connector: z.ZodEnum<{
|
|
436
436
|
hyperliquid: "hyperliquid";
|
|
437
|
-
|
|
437
|
+
binance: "binance";
|
|
438
438
|
bybit: "bybit";
|
|
439
439
|
okx: "okx";
|
|
440
440
|
}>;
|
|
@@ -452,7 +452,7 @@ export declare const CreateTradeCloseResponse: z.ZodObject<{
|
|
|
452
452
|
id: z.ZodUUID;
|
|
453
453
|
connector: z.ZodEnum<{
|
|
454
454
|
hyperliquid: "hyperliquid";
|
|
455
|
-
|
|
455
|
+
binance: "binance";
|
|
456
456
|
bybit: "bybit";
|
|
457
457
|
okx: "okx";
|
|
458
458
|
}>;
|
|
@@ -510,7 +510,7 @@ export declare const CreateTradeCloseResponse: z.ZodObject<{
|
|
|
510
510
|
id: z.ZodUUID;
|
|
511
511
|
connector: z.ZodEnum<{
|
|
512
512
|
hyperliquid: "hyperliquid";
|
|
513
|
-
|
|
513
|
+
binance: "binance";
|
|
514
514
|
bybit: "bybit";
|
|
515
515
|
okx: "okx";
|
|
516
516
|
}>;
|
|
@@ -528,7 +528,7 @@ export declare const CreateTradeCloseResponse: z.ZodObject<{
|
|
|
528
528
|
id: z.ZodUUID;
|
|
529
529
|
connector: z.ZodEnum<{
|
|
530
530
|
hyperliquid: "hyperliquid";
|
|
531
|
-
|
|
531
|
+
binance: "binance";
|
|
532
532
|
bybit: "bybit";
|
|
533
533
|
okx: "okx";
|
|
534
534
|
}>;
|
|
@@ -590,7 +590,7 @@ export declare const CreateTradeCloseResponse: z.ZodObject<{
|
|
|
590
590
|
id: z.ZodUUID;
|
|
591
591
|
connector: z.ZodEnum<{
|
|
592
592
|
hyperliquid: "hyperliquid";
|
|
593
|
-
|
|
593
|
+
binance: "binance";
|
|
594
594
|
bybit: "bybit";
|
|
595
595
|
okx: "okx";
|
|
596
596
|
}>;
|
|
@@ -608,7 +608,7 @@ export declare const CreateTradeCloseResponse: z.ZodObject<{
|
|
|
608
608
|
id: z.ZodUUID;
|
|
609
609
|
connector: z.ZodEnum<{
|
|
610
610
|
hyperliquid: "hyperliquid";
|
|
611
|
-
|
|
611
|
+
binance: "binance";
|
|
612
612
|
bybit: "bybit";
|
|
613
613
|
okx: "okx";
|
|
614
614
|
}>;
|
|
@@ -649,7 +649,7 @@ export declare const CreateTradeCloseAllResponse: z.ZodObject<{
|
|
|
649
649
|
id: z.ZodUUID;
|
|
650
650
|
connector: z.ZodEnum<{
|
|
651
651
|
hyperliquid: "hyperliquid";
|
|
652
|
-
|
|
652
|
+
binance: "binance";
|
|
653
653
|
bybit: "bybit";
|
|
654
654
|
okx: "okx";
|
|
655
655
|
}>;
|
|
@@ -667,7 +667,7 @@ export declare const CreateTradeCloseAllResponse: z.ZodObject<{
|
|
|
667
667
|
id: z.ZodUUID;
|
|
668
668
|
connector: z.ZodEnum<{
|
|
669
669
|
hyperliquid: "hyperliquid";
|
|
670
|
-
|
|
670
|
+
binance: "binance";
|
|
671
671
|
bybit: "bybit";
|
|
672
672
|
okx: "okx";
|
|
673
673
|
}>;
|
|
@@ -725,7 +725,7 @@ export declare const CreateTradeCloseAllResponse: z.ZodObject<{
|
|
|
725
725
|
id: z.ZodUUID;
|
|
726
726
|
connector: z.ZodEnum<{
|
|
727
727
|
hyperliquid: "hyperliquid";
|
|
728
|
-
|
|
728
|
+
binance: "binance";
|
|
729
729
|
bybit: "bybit";
|
|
730
730
|
okx: "okx";
|
|
731
731
|
}>;
|
|
@@ -743,7 +743,7 @@ export declare const CreateTradeCloseAllResponse: z.ZodObject<{
|
|
|
743
743
|
id: z.ZodUUID;
|
|
744
744
|
connector: z.ZodEnum<{
|
|
745
745
|
hyperliquid: "hyperliquid";
|
|
746
|
-
|
|
746
|
+
binance: "binance";
|
|
747
747
|
bybit: "bybit";
|
|
748
748
|
okx: "okx";
|
|
749
749
|
}>;
|
|
@@ -805,7 +805,7 @@ export declare const CreateTradeCloseAllResponse: z.ZodObject<{
|
|
|
805
805
|
id: z.ZodUUID;
|
|
806
806
|
connector: z.ZodEnum<{
|
|
807
807
|
hyperliquid: "hyperliquid";
|
|
808
|
-
|
|
808
|
+
binance: "binance";
|
|
809
809
|
bybit: "bybit";
|
|
810
810
|
okx: "okx";
|
|
811
811
|
}>;
|
|
@@ -823,7 +823,7 @@ export declare const CreateTradeCloseAllResponse: z.ZodObject<{
|
|
|
823
823
|
id: z.ZodUUID;
|
|
824
824
|
connector: z.ZodEnum<{
|
|
825
825
|
hyperliquid: "hyperliquid";
|
|
826
|
-
|
|
826
|
+
binance: "binance";
|
|
827
827
|
bybit: "bybit";
|
|
828
828
|
okx: "okx";
|
|
829
829
|
}>;
|
|
@@ -15,7 +15,7 @@ declare const CreateHyperliquidMetadata: z.ZodObject<{
|
|
|
15
15
|
/**
|
|
16
16
|
* Binance USDM connector credentials
|
|
17
17
|
*/
|
|
18
|
-
declare const
|
|
18
|
+
declare const CreateBinanceCredentials: z.ZodObject<{
|
|
19
19
|
api_key: z.ZodString;
|
|
20
20
|
api_secret: z.ZodString;
|
|
21
21
|
}, z.core.$strip>;
|
|
@@ -49,7 +49,7 @@ export declare const CreateTradeAccount: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
49
49
|
isSubaccount: z.ZodBoolean;
|
|
50
50
|
}, z.core.$strip>;
|
|
51
51
|
}, z.core.$strip>, z.ZodObject<{
|
|
52
|
-
connector: z.ZodLiteral<"
|
|
52
|
+
connector: z.ZodLiteral<"binance">;
|
|
53
53
|
alias: z.ZodString;
|
|
54
54
|
credentials: z.ZodObject<{
|
|
55
55
|
api_key: z.ZodString;
|
|
@@ -88,7 +88,7 @@ export declare const UpdateTradeAccount: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
88
88
|
isSubaccount: z.ZodBoolean;
|
|
89
89
|
}, z.core.$strip>>;
|
|
90
90
|
}, z.core.$strip>, z.ZodObject<{
|
|
91
|
-
connector: z.ZodLiteral<"
|
|
91
|
+
connector: z.ZodLiteral<"binance">;
|
|
92
92
|
alias: z.ZodOptional<z.ZodString>;
|
|
93
93
|
credentials: z.ZodOptional<z.ZodObject<{
|
|
94
94
|
api_key: z.ZodString;
|
|
@@ -115,7 +115,7 @@ export declare const UpdateTradeAccount: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
115
115
|
}, z.core.$strip>], "connector">;
|
|
116
116
|
export type CreateHyperliquidCredentials = z.infer<typeof CreateHyperliquidCredentials>;
|
|
117
117
|
export type CreateHyperliquidMetadata = z.infer<typeof CreateHyperliquidMetadata>;
|
|
118
|
-
export type
|
|
118
|
+
export type CreateBinanceCredentials = z.infer<typeof CreateBinanceCredentials>;
|
|
119
119
|
export type CreateBybitCredentials = z.infer<typeof CreateBybitCredentials>;
|
|
120
120
|
export type CreateOkxCredentials = z.infer<typeof CreateOkxCredentials>;
|
|
121
121
|
export type CreateTradeAccountInput = z.input<typeof CreateTradeAccount>;
|
|
@@ -7,7 +7,7 @@ const CreateHyperliquidMetadata = z.object({
|
|
|
7
7
|
agentWalletAddress: z.string().regex(/^0x[a-fA-F0-9]{40}$/, "Invalid Ethereum address"),
|
|
8
8
|
isSubaccount: z.boolean()
|
|
9
9
|
});
|
|
10
|
-
const
|
|
10
|
+
const CreateBinanceCredentials = z.object({
|
|
11
11
|
api_key: z.string().min(1, "API key is required"),
|
|
12
12
|
api_secret: z.string().min(1, "API secret is required")
|
|
13
13
|
});
|
|
@@ -28,10 +28,10 @@ const CreateHyperliquidAccount = z.object({
|
|
|
28
28
|
credentials: CreateHyperliquidCredentials,
|
|
29
29
|
metadata: CreateHyperliquidMetadata
|
|
30
30
|
});
|
|
31
|
-
const
|
|
32
|
-
connector: z.literal("
|
|
31
|
+
const CreateBinanceAccount = z.object({
|
|
32
|
+
connector: z.literal("binance"),
|
|
33
33
|
alias: AccountAlias,
|
|
34
|
-
credentials:
|
|
34
|
+
credentials: CreateBinanceCredentials,
|
|
35
35
|
metadata: z.void({}).transform(() => void 0)
|
|
36
36
|
});
|
|
37
37
|
const CreateBybitAccount = z.object({
|
|
@@ -52,10 +52,10 @@ const UpdateHyperliquidAccount = z.object({
|
|
|
52
52
|
credentials: CreateHyperliquidCredentials.optional(),
|
|
53
53
|
metadata: CreateHyperliquidMetadata.optional()
|
|
54
54
|
});
|
|
55
|
-
const
|
|
56
|
-
connector: z.literal("
|
|
55
|
+
const UpdateBinanceAccount = z.object({
|
|
56
|
+
connector: z.literal("binance"),
|
|
57
57
|
alias: AccountAlias.optional(),
|
|
58
|
-
credentials:
|
|
58
|
+
credentials: CreateBinanceCredentials.optional(),
|
|
59
59
|
metadata: z.void({}).transform(() => void 0)
|
|
60
60
|
});
|
|
61
61
|
const UpdateBybitAccount = z.object({
|
|
@@ -72,13 +72,13 @@ const UpdateOkxAccount = z.object({
|
|
|
72
72
|
});
|
|
73
73
|
const CreateTradeAccount = z.discriminatedUnion("connector", [
|
|
74
74
|
CreateHyperliquidAccount,
|
|
75
|
-
|
|
75
|
+
CreateBinanceAccount,
|
|
76
76
|
CreateBybitAccount,
|
|
77
77
|
CreateOkxAccount
|
|
78
78
|
]);
|
|
79
79
|
const UpdateTradeAccount = z.discriminatedUnion("connector", [
|
|
80
80
|
UpdateHyperliquidAccount,
|
|
81
|
-
|
|
81
|
+
UpdateBinanceAccount,
|
|
82
82
|
UpdateBybitAccount,
|
|
83
83
|
UpdateOkxAccount
|
|
84
84
|
]);
|
|
@@ -5,7 +5,7 @@ export declare const TradeAccountResponse: z.ZodObject<{
|
|
|
5
5
|
alias: z.ZodString;
|
|
6
6
|
connector: z.ZodEnum<{
|
|
7
7
|
hyperliquid: "hyperliquid";
|
|
8
|
-
|
|
8
|
+
binance: "binance";
|
|
9
9
|
bybit: "bybit";
|
|
10
10
|
okx: "okx";
|
|
11
11
|
}>;
|
|
@@ -26,7 +26,7 @@ export declare const TradeAccountListResponse: z.ZodObject<{
|
|
|
26
26
|
alias: z.ZodString;
|
|
27
27
|
connector: z.ZodEnum<{
|
|
28
28
|
hyperliquid: "hyperliquid";
|
|
29
|
-
|
|
29
|
+
binance: "binance";
|
|
30
30
|
bybit: "bybit";
|
|
31
31
|
okx: "okx";
|
|
32
32
|
}>;
|
|
@@ -47,7 +47,7 @@ export declare const ExchangeCredentialsResponse: z.ZodDiscriminatedUnion<[z.Zod
|
|
|
47
47
|
signer_key: z.ZodString;
|
|
48
48
|
}, z.core.$strip>;
|
|
49
49
|
}, z.core.$strip>, z.ZodObject<{
|
|
50
|
-
connector: z.ZodLiteral<"
|
|
50
|
+
connector: z.ZodLiteral<"binance">;
|
|
51
51
|
credentials: z.ZodObject<{
|
|
52
52
|
api_key: z.ZodString;
|
|
53
53
|
api_secret: z.ZodString;
|
|
@@ -9,8 +9,8 @@ const HyperliquidCredentialsResponse = z.object({
|
|
|
9
9
|
signer_key: z.string()
|
|
10
10
|
})
|
|
11
11
|
});
|
|
12
|
-
const
|
|
13
|
-
connector: z.literal("
|
|
12
|
+
const BinanceCredentialsResponse = z.object({
|
|
13
|
+
connector: z.literal("binance"),
|
|
14
14
|
credentials: z.object({
|
|
15
15
|
api_key: z.string(),
|
|
16
16
|
api_secret: z.string()
|
|
@@ -33,7 +33,7 @@ const OkxCredentialsResponse = z.object({
|
|
|
33
33
|
});
|
|
34
34
|
const ExchangeCredentialsResponse = z.discriminatedUnion("connector", [
|
|
35
35
|
HyperliquidCredentialsResponse,
|
|
36
|
-
|
|
36
|
+
BinanceCredentialsResponse,
|
|
37
37
|
BybitCredentialsResponse,
|
|
38
38
|
OkxCredentialsResponse
|
|
39
39
|
]);
|
|
@@ -26,7 +26,7 @@ declare const BaseTrigger: z.ZodObject<{
|
|
|
26
26
|
tradeAccountId: z.ZodUUID;
|
|
27
27
|
connector: z.ZodEnum<{
|
|
28
28
|
hyperliquid: "hyperliquid";
|
|
29
|
-
|
|
29
|
+
binance: "binance";
|
|
30
30
|
bybit: "bybit";
|
|
31
31
|
okx: "okx";
|
|
32
32
|
}>;
|
|
@@ -50,7 +50,7 @@ declare const BaseTrigger: z.ZodObject<{
|
|
|
50
50
|
positionId: z.ZodUUID;
|
|
51
51
|
connector: z.ZodEnum<{
|
|
52
52
|
hyperliquid: "hyperliquid";
|
|
53
|
-
|
|
53
|
+
binance: "binance";
|
|
54
54
|
bybit: "bybit";
|
|
55
55
|
okx: "okx";
|
|
56
56
|
}>;
|
|
@@ -77,7 +77,7 @@ export declare const TriggerMarketOpen: z.ZodObject<{
|
|
|
77
77
|
tradeAccountId: z.ZodUUID;
|
|
78
78
|
connector: z.ZodEnum<{
|
|
79
79
|
hyperliquid: "hyperliquid";
|
|
80
|
-
|
|
80
|
+
binance: "binance";
|
|
81
81
|
bybit: "bybit";
|
|
82
82
|
okx: "okx";
|
|
83
83
|
}>;
|
|
@@ -101,7 +101,7 @@ export declare const TriggerMarketOpen: z.ZodObject<{
|
|
|
101
101
|
positionId: z.ZodUUID;
|
|
102
102
|
connector: z.ZodEnum<{
|
|
103
103
|
hyperliquid: "hyperliquid";
|
|
104
|
-
|
|
104
|
+
binance: "binance";
|
|
105
105
|
bybit: "bybit";
|
|
106
106
|
okx: "okx";
|
|
107
107
|
}>;
|
|
@@ -224,7 +224,7 @@ export declare const TriggerMarketAdjust: z.ZodObject<{
|
|
|
224
224
|
tradeAccountId: z.ZodUUID;
|
|
225
225
|
connector: z.ZodEnum<{
|
|
226
226
|
hyperliquid: "hyperliquid";
|
|
227
|
-
|
|
227
|
+
binance: "binance";
|
|
228
228
|
bybit: "bybit";
|
|
229
229
|
okx: "okx";
|
|
230
230
|
}>;
|
|
@@ -248,7 +248,7 @@ export declare const TriggerMarketAdjust: z.ZodObject<{
|
|
|
248
248
|
positionId: z.ZodUUID;
|
|
249
249
|
connector: z.ZodEnum<{
|
|
250
250
|
hyperliquid: "hyperliquid";
|
|
251
|
-
|
|
251
|
+
binance: "binance";
|
|
252
252
|
bybit: "bybit";
|
|
253
253
|
okx: "okx";
|
|
254
254
|
}>;
|
|
@@ -416,7 +416,7 @@ export declare const TriggerMarketClose: z.ZodObject<{
|
|
|
416
416
|
tradeAccountId: z.ZodUUID;
|
|
417
417
|
connector: z.ZodEnum<{
|
|
418
418
|
hyperliquid: "hyperliquid";
|
|
419
|
-
|
|
419
|
+
binance: "binance";
|
|
420
420
|
bybit: "bybit";
|
|
421
421
|
okx: "okx";
|
|
422
422
|
}>;
|
|
@@ -440,7 +440,7 @@ export declare const TriggerMarketClose: z.ZodObject<{
|
|
|
440
440
|
positionId: z.ZodUUID;
|
|
441
441
|
connector: z.ZodEnum<{
|
|
442
442
|
hyperliquid: "hyperliquid";
|
|
443
|
-
|
|
443
|
+
binance: "binance";
|
|
444
444
|
bybit: "bybit";
|
|
445
445
|
okx: "okx";
|
|
446
446
|
}>;
|
|
@@ -583,7 +583,7 @@ export declare const TriggerMarket: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
583
583
|
tradeAccountId: z.ZodUUID;
|
|
584
584
|
connector: z.ZodEnum<{
|
|
585
585
|
hyperliquid: "hyperliquid";
|
|
586
|
-
|
|
586
|
+
binance: "binance";
|
|
587
587
|
bybit: "bybit";
|
|
588
588
|
okx: "okx";
|
|
589
589
|
}>;
|
|
@@ -607,7 +607,7 @@ export declare const TriggerMarket: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
607
607
|
positionId: z.ZodUUID;
|
|
608
608
|
connector: z.ZodEnum<{
|
|
609
609
|
hyperliquid: "hyperliquid";
|
|
610
|
-
|
|
610
|
+
binance: "binance";
|
|
611
611
|
bybit: "bybit";
|
|
612
612
|
okx: "okx";
|
|
613
613
|
}>;
|
|
@@ -729,7 +729,7 @@ export declare const TriggerMarket: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
729
729
|
tradeAccountId: z.ZodUUID;
|
|
730
730
|
connector: z.ZodEnum<{
|
|
731
731
|
hyperliquid: "hyperliquid";
|
|
732
|
-
|
|
732
|
+
binance: "binance";
|
|
733
733
|
bybit: "bybit";
|
|
734
734
|
okx: "okx";
|
|
735
735
|
}>;
|
|
@@ -753,7 +753,7 @@ export declare const TriggerMarket: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
753
753
|
positionId: z.ZodUUID;
|
|
754
754
|
connector: z.ZodEnum<{
|
|
755
755
|
hyperliquid: "hyperliquid";
|
|
756
|
-
|
|
756
|
+
binance: "binance";
|
|
757
757
|
bybit: "bybit";
|
|
758
758
|
okx: "okx";
|
|
759
759
|
}>;
|
|
@@ -920,7 +920,7 @@ export declare const TriggerMarket: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
920
920
|
tradeAccountId: z.ZodUUID;
|
|
921
921
|
connector: z.ZodEnum<{
|
|
922
922
|
hyperliquid: "hyperliquid";
|
|
923
|
-
|
|
923
|
+
binance: "binance";
|
|
924
924
|
bybit: "bybit";
|
|
925
925
|
okx: "okx";
|
|
926
926
|
}>;
|
|
@@ -944,7 +944,7 @@ export declare const TriggerMarket: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
944
944
|
positionId: z.ZodUUID;
|
|
945
945
|
connector: z.ZodEnum<{
|
|
946
946
|
hyperliquid: "hyperliquid";
|
|
947
|
-
|
|
947
|
+
binance: "binance";
|
|
948
948
|
bybit: "bybit";
|
|
949
949
|
okx: "okx";
|
|
950
950
|
}>;
|
|
@@ -1087,7 +1087,7 @@ export declare const Trigger: z.ZodDiscriminatedUnion<[z.ZodDiscriminatedUnion<[
|
|
|
1087
1087
|
tradeAccountId: z.ZodUUID;
|
|
1088
1088
|
connector: z.ZodEnum<{
|
|
1089
1089
|
hyperliquid: "hyperliquid";
|
|
1090
|
-
|
|
1090
|
+
binance: "binance";
|
|
1091
1091
|
bybit: "bybit";
|
|
1092
1092
|
okx: "okx";
|
|
1093
1093
|
}>;
|
|
@@ -1111,7 +1111,7 @@ export declare const Trigger: z.ZodDiscriminatedUnion<[z.ZodDiscriminatedUnion<[
|
|
|
1111
1111
|
positionId: z.ZodUUID;
|
|
1112
1112
|
connector: z.ZodEnum<{
|
|
1113
1113
|
hyperliquid: "hyperliquid";
|
|
1114
|
-
|
|
1114
|
+
binance: "binance";
|
|
1115
1115
|
bybit: "bybit";
|
|
1116
1116
|
okx: "okx";
|
|
1117
1117
|
}>;
|
|
@@ -1233,7 +1233,7 @@ export declare const Trigger: z.ZodDiscriminatedUnion<[z.ZodDiscriminatedUnion<[
|
|
|
1233
1233
|
tradeAccountId: z.ZodUUID;
|
|
1234
1234
|
connector: z.ZodEnum<{
|
|
1235
1235
|
hyperliquid: "hyperliquid";
|
|
1236
|
-
|
|
1236
|
+
binance: "binance";
|
|
1237
1237
|
bybit: "bybit";
|
|
1238
1238
|
okx: "okx";
|
|
1239
1239
|
}>;
|
|
@@ -1257,7 +1257,7 @@ export declare const Trigger: z.ZodDiscriminatedUnion<[z.ZodDiscriminatedUnion<[
|
|
|
1257
1257
|
positionId: z.ZodUUID;
|
|
1258
1258
|
connector: z.ZodEnum<{
|
|
1259
1259
|
hyperliquid: "hyperliquid";
|
|
1260
|
-
|
|
1260
|
+
binance: "binance";
|
|
1261
1261
|
bybit: "bybit";
|
|
1262
1262
|
okx: "okx";
|
|
1263
1263
|
}>;
|
|
@@ -1424,7 +1424,7 @@ export declare const Trigger: z.ZodDiscriminatedUnion<[z.ZodDiscriminatedUnion<[
|
|
|
1424
1424
|
tradeAccountId: z.ZodUUID;
|
|
1425
1425
|
connector: z.ZodEnum<{
|
|
1426
1426
|
hyperliquid: "hyperliquid";
|
|
1427
|
-
|
|
1427
|
+
binance: "binance";
|
|
1428
1428
|
bybit: "bybit";
|
|
1429
1429
|
okx: "okx";
|
|
1430
1430
|
}>;
|
|
@@ -1448,7 +1448,7 @@ export declare const Trigger: z.ZodDiscriminatedUnion<[z.ZodDiscriminatedUnion<[
|
|
|
1448
1448
|
positionId: z.ZodUUID;
|
|
1449
1449
|
connector: z.ZodEnum<{
|
|
1450
1450
|
hyperliquid: "hyperliquid";
|
|
1451
|
-
|
|
1451
|
+
binance: "binance";
|
|
1452
1452
|
bybit: "bybit";
|
|
1453
1453
|
okx: "okx";
|
|
1454
1454
|
}>;
|
|
@@ -7,7 +7,7 @@ export declare const TriggerListResponse: z.ZodObject<{
|
|
|
7
7
|
tradeAccountId: z.ZodUUID;
|
|
8
8
|
connector: z.ZodEnum<{
|
|
9
9
|
hyperliquid: "hyperliquid";
|
|
10
|
-
|
|
10
|
+
binance: "binance";
|
|
11
11
|
bybit: "bybit";
|
|
12
12
|
okx: "okx";
|
|
13
13
|
}>;
|
|
@@ -31,7 +31,7 @@ export declare const TriggerListResponse: z.ZodObject<{
|
|
|
31
31
|
positionId: z.ZodUUID;
|
|
32
32
|
connector: z.ZodEnum<{
|
|
33
33
|
hyperliquid: "hyperliquid";
|
|
34
|
-
|
|
34
|
+
binance: "binance";
|
|
35
35
|
bybit: "bybit";
|
|
36
36
|
okx: "okx";
|
|
37
37
|
}>;
|
|
@@ -153,7 +153,7 @@ export declare const TriggerListResponse: z.ZodObject<{
|
|
|
153
153
|
tradeAccountId: z.ZodUUID;
|
|
154
154
|
connector: z.ZodEnum<{
|
|
155
155
|
hyperliquid: "hyperliquid";
|
|
156
|
-
|
|
156
|
+
binance: "binance";
|
|
157
157
|
bybit: "bybit";
|
|
158
158
|
okx: "okx";
|
|
159
159
|
}>;
|
|
@@ -177,7 +177,7 @@ export declare const TriggerListResponse: z.ZodObject<{
|
|
|
177
177
|
positionId: z.ZodUUID;
|
|
178
178
|
connector: z.ZodEnum<{
|
|
179
179
|
hyperliquid: "hyperliquid";
|
|
180
|
-
|
|
180
|
+
binance: "binance";
|
|
181
181
|
bybit: "bybit";
|
|
182
182
|
okx: "okx";
|
|
183
183
|
}>;
|
|
@@ -344,7 +344,7 @@ export declare const TriggerListResponse: z.ZodObject<{
|
|
|
344
344
|
tradeAccountId: z.ZodUUID;
|
|
345
345
|
connector: z.ZodEnum<{
|
|
346
346
|
hyperliquid: "hyperliquid";
|
|
347
|
-
|
|
347
|
+
binance: "binance";
|
|
348
348
|
bybit: "bybit";
|
|
349
349
|
okx: "okx";
|
|
350
350
|
}>;
|
|
@@ -368,7 +368,7 @@ export declare const TriggerListResponse: z.ZodObject<{
|
|
|
368
368
|
positionId: z.ZodUUID;
|
|
369
369
|
connector: z.ZodEnum<{
|
|
370
370
|
hyperliquid: "hyperliquid";
|
|
371
|
-
|
|
371
|
+
binance: "binance";
|
|
372
372
|
bybit: "bybit";
|
|
373
373
|
okx: "okx";
|
|
374
374
|
}>;
|
|
@@ -514,7 +514,7 @@ export declare const CreateTriggerResponse: z.ZodObject<{
|
|
|
514
514
|
tradeAccountId: z.ZodUUID;
|
|
515
515
|
connector: z.ZodEnum<{
|
|
516
516
|
hyperliquid: "hyperliquid";
|
|
517
|
-
|
|
517
|
+
binance: "binance";
|
|
518
518
|
bybit: "bybit";
|
|
519
519
|
okx: "okx";
|
|
520
520
|
}>;
|
|
@@ -538,7 +538,7 @@ export declare const CreateTriggerResponse: z.ZodObject<{
|
|
|
538
538
|
positionId: z.ZodUUID;
|
|
539
539
|
connector: z.ZodEnum<{
|
|
540
540
|
hyperliquid: "hyperliquid";
|
|
541
|
-
|
|
541
|
+
binance: "binance";
|
|
542
542
|
bybit: "bybit";
|
|
543
543
|
okx: "okx";
|
|
544
544
|
}>;
|
|
@@ -660,7 +660,7 @@ export declare const CreateTriggerResponse: z.ZodObject<{
|
|
|
660
660
|
tradeAccountId: z.ZodUUID;
|
|
661
661
|
connector: z.ZodEnum<{
|
|
662
662
|
hyperliquid: "hyperliquid";
|
|
663
|
-
|
|
663
|
+
binance: "binance";
|
|
664
664
|
bybit: "bybit";
|
|
665
665
|
okx: "okx";
|
|
666
666
|
}>;
|
|
@@ -684,7 +684,7 @@ export declare const CreateTriggerResponse: z.ZodObject<{
|
|
|
684
684
|
positionId: z.ZodUUID;
|
|
685
685
|
connector: z.ZodEnum<{
|
|
686
686
|
hyperliquid: "hyperliquid";
|
|
687
|
-
|
|
687
|
+
binance: "binance";
|
|
688
688
|
bybit: "bybit";
|
|
689
689
|
okx: "okx";
|
|
690
690
|
}>;
|
|
@@ -851,7 +851,7 @@ export declare const CreateTriggerResponse: z.ZodObject<{
|
|
|
851
851
|
tradeAccountId: z.ZodUUID;
|
|
852
852
|
connector: z.ZodEnum<{
|
|
853
853
|
hyperliquid: "hyperliquid";
|
|
854
|
-
|
|
854
|
+
binance: "binance";
|
|
855
855
|
bybit: "bybit";
|
|
856
856
|
okx: "okx";
|
|
857
857
|
}>;
|
|
@@ -875,7 +875,7 @@ export declare const CreateTriggerResponse: z.ZodObject<{
|
|
|
875
875
|
positionId: z.ZodUUID;
|
|
876
876
|
connector: z.ZodEnum<{
|
|
877
877
|
hyperliquid: "hyperliquid";
|
|
878
|
-
|
|
878
|
+
binance: "binance";
|
|
879
879
|
bybit: "bybit";
|
|
880
880
|
okx: "okx";
|
|
881
881
|
}>;
|