@ledgerhq/revault-api 1.20.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,4628 @@
1
+ import { RequestType, VaultRequest, VaultRequestReview, Account } from '@prisma/client';
2
+ import { y as UserChallenge, A as AccountResponse, s as VaultRequestResponse } from './app-types-Cvdd2De7.mjs';
3
+ import z__default from 'zod';
4
+
5
+ declare const zCreateGroupRequestData: z__default.ZodObject<{
6
+ name: z__default.ZodString;
7
+ description: z__default.ZodNullable<z__default.ZodString>;
8
+ members: z__default.ZodArray<z__default.ZodString, "many">;
9
+ }, "strip", z__default.ZodTypeAny, {
10
+ name: string;
11
+ description: string | null;
12
+ members: string[];
13
+ }, {
14
+ name: string;
15
+ description: string | null;
16
+ members: string[];
17
+ }>;
18
+ type CreateGroupRequestData = z__default.infer<typeof zCreateGroupRequestData>;
19
+ declare const zEditGroupRequestData: z__default.ZodObject<{
20
+ name: z__default.ZodString;
21
+ members: z__default.ZodArray<z__default.ZodString, "many">;
22
+ }, "strip", z__default.ZodTypeAny, {
23
+ name: string;
24
+ members: string[];
25
+ }, {
26
+ name: string;
27
+ members: string[];
28
+ }>;
29
+ type EditGroupRequestData = z__default.infer<typeof zEditGroupRequestData>;
30
+
31
+ declare const zCreatePolicyRequestData: z__default.ZodObject<{
32
+ name: z__default.ZodString;
33
+ description: z__default.ZodNullable<z__default.ZodString>;
34
+ currency: z__default.ZodString;
35
+ govRules: z__default.ZodArray<z__default.ZodDiscriminatedUnion<"operationType", [z__default.ZodObject<{
36
+ operationType: z__default.ZodEnum<["SEND", "STAKE", "DEPLOY_CONTRACT", "EXECUTE_CONTRACT", "SIGN_DIGESTS", "SIGN_MESSAGE", "ACTIVATE_TOKEN"]>;
37
+ threshold: z__default.ZodOptional<z__default.ZodObject<{
38
+ min: z__default.ZodNullable<z__default.ZodString>;
39
+ max: z__default.ZodNullable<z__default.ZodString>;
40
+ }, "strip", z__default.ZodTypeAny, {
41
+ min: string | null;
42
+ max: string | null;
43
+ }, {
44
+ min: string | null;
45
+ max: string | null;
46
+ }>>;
47
+ whitelistIds: z__default.ZodOptional<z__default.ZodArray<z__default.ZodString, "many">>;
48
+ reviewSteps: z__default.ZodArray<z__default.ZodUnion<[z__default.ZodObject<{
49
+ quorum: z__default.ZodNumber;
50
+ userIds: z__default.ZodArray<z__default.ZodString, "many">;
51
+ }, "strip", z__default.ZodTypeAny, {
52
+ quorum: number;
53
+ userIds: string[];
54
+ }, {
55
+ quorum: number;
56
+ userIds: string[];
57
+ }>, z__default.ZodObject<{
58
+ quorum: z__default.ZodNumber;
59
+ groupId: z__default.ZodString;
60
+ }, "strip", z__default.ZodTypeAny, {
61
+ quorum: number;
62
+ groupId: string;
63
+ }, {
64
+ quorum: number;
65
+ groupId: string;
66
+ }>]>, "many">;
67
+ }, "strip", z__default.ZodTypeAny, {
68
+ reviewSteps: ({
69
+ quorum: number;
70
+ userIds: string[];
71
+ } | {
72
+ quorum: number;
73
+ groupId: string;
74
+ })[];
75
+ operationType: "SEND" | "STAKE" | "DEPLOY_CONTRACT" | "EXECUTE_CONTRACT" | "SIGN_DIGESTS" | "SIGN_MESSAGE" | "ACTIVATE_TOKEN";
76
+ threshold?: {
77
+ min: string | null;
78
+ max: string | null;
79
+ } | undefined;
80
+ whitelistIds?: string[] | undefined;
81
+ }, {
82
+ reviewSteps: ({
83
+ quorum: number;
84
+ userIds: string[];
85
+ } | {
86
+ quorum: number;
87
+ groupId: string;
88
+ })[];
89
+ operationType: "SEND" | "STAKE" | "DEPLOY_CONTRACT" | "EXECUTE_CONTRACT" | "SIGN_DIGESTS" | "SIGN_MESSAGE" | "ACTIVATE_TOKEN";
90
+ threshold?: {
91
+ min: string | null;
92
+ max: string | null;
93
+ } | undefined;
94
+ whitelistIds?: string[] | undefined;
95
+ }>]>, "many">;
96
+ }, "strip", z__default.ZodTypeAny, {
97
+ name: string;
98
+ description: string | null;
99
+ currency: string;
100
+ govRules: {
101
+ reviewSteps: ({
102
+ quorum: number;
103
+ userIds: string[];
104
+ } | {
105
+ quorum: number;
106
+ groupId: string;
107
+ })[];
108
+ operationType: "SEND" | "STAKE" | "DEPLOY_CONTRACT" | "EXECUTE_CONTRACT" | "SIGN_DIGESTS" | "SIGN_MESSAGE" | "ACTIVATE_TOKEN";
109
+ threshold?: {
110
+ min: string | null;
111
+ max: string | null;
112
+ } | undefined;
113
+ whitelistIds?: string[] | undefined;
114
+ }[];
115
+ }, {
116
+ name: string;
117
+ description: string | null;
118
+ currency: string;
119
+ govRules: {
120
+ reviewSteps: ({
121
+ quorum: number;
122
+ userIds: string[];
123
+ } | {
124
+ quorum: number;
125
+ groupId: string;
126
+ })[];
127
+ operationType: "SEND" | "STAKE" | "DEPLOY_CONTRACT" | "EXECUTE_CONTRACT" | "SIGN_DIGESTS" | "SIGN_MESSAGE" | "ACTIVATE_TOKEN";
128
+ threshold?: {
129
+ min: string | null;
130
+ max: string | null;
131
+ } | undefined;
132
+ whitelistIds?: string[] | undefined;
133
+ }[];
134
+ }>;
135
+ type CreatePolicyRequestData = z__default.infer<typeof zCreatePolicyRequestData>;
136
+ declare const zEditPolicyRequestData: z__default.ZodObject<{
137
+ name: z__default.ZodString;
138
+ description: z__default.ZodNullable<z__default.ZodString>;
139
+ govRules: z__default.ZodArray<z__default.ZodDiscriminatedUnion<"operationType", [z__default.ZodObject<{
140
+ operationType: z__default.ZodEnum<["SEND", "STAKE", "DEPLOY_CONTRACT", "EXECUTE_CONTRACT", "SIGN_DIGESTS", "SIGN_MESSAGE", "ACTIVATE_TOKEN"]>;
141
+ threshold: z__default.ZodOptional<z__default.ZodObject<{
142
+ min: z__default.ZodNullable<z__default.ZodString>;
143
+ max: z__default.ZodNullable<z__default.ZodString>;
144
+ }, "strip", z__default.ZodTypeAny, {
145
+ min: string | null;
146
+ max: string | null;
147
+ }, {
148
+ min: string | null;
149
+ max: string | null;
150
+ }>>;
151
+ whitelistIds: z__default.ZodOptional<z__default.ZodArray<z__default.ZodString, "many">>;
152
+ reviewSteps: z__default.ZodArray<z__default.ZodUnion<[z__default.ZodObject<{
153
+ quorum: z__default.ZodNumber;
154
+ userIds: z__default.ZodArray<z__default.ZodString, "many">;
155
+ }, "strip", z__default.ZodTypeAny, {
156
+ quorum: number;
157
+ userIds: string[];
158
+ }, {
159
+ quorum: number;
160
+ userIds: string[];
161
+ }>, z__default.ZodObject<{
162
+ quorum: z__default.ZodNumber;
163
+ groupId: z__default.ZodString;
164
+ }, "strip", z__default.ZodTypeAny, {
165
+ quorum: number;
166
+ groupId: string;
167
+ }, {
168
+ quorum: number;
169
+ groupId: string;
170
+ }>]>, "many">;
171
+ }, "strip", z__default.ZodTypeAny, {
172
+ reviewSteps: ({
173
+ quorum: number;
174
+ userIds: string[];
175
+ } | {
176
+ quorum: number;
177
+ groupId: string;
178
+ })[];
179
+ operationType: "SEND" | "STAKE" | "DEPLOY_CONTRACT" | "EXECUTE_CONTRACT" | "SIGN_DIGESTS" | "SIGN_MESSAGE" | "ACTIVATE_TOKEN";
180
+ threshold?: {
181
+ min: string | null;
182
+ max: string | null;
183
+ } | undefined;
184
+ whitelistIds?: string[] | undefined;
185
+ }, {
186
+ reviewSteps: ({
187
+ quorum: number;
188
+ userIds: string[];
189
+ } | {
190
+ quorum: number;
191
+ groupId: string;
192
+ })[];
193
+ operationType: "SEND" | "STAKE" | "DEPLOY_CONTRACT" | "EXECUTE_CONTRACT" | "SIGN_DIGESTS" | "SIGN_MESSAGE" | "ACTIVATE_TOKEN";
194
+ threshold?: {
195
+ min: string | null;
196
+ max: string | null;
197
+ } | undefined;
198
+ whitelistIds?: string[] | undefined;
199
+ }>]>, "many">;
200
+ }, "strip", z__default.ZodTypeAny, {
201
+ name: string;
202
+ description: string | null;
203
+ govRules: {
204
+ reviewSteps: ({
205
+ quorum: number;
206
+ userIds: string[];
207
+ } | {
208
+ quorum: number;
209
+ groupId: string;
210
+ })[];
211
+ operationType: "SEND" | "STAKE" | "DEPLOY_CONTRACT" | "EXECUTE_CONTRACT" | "SIGN_DIGESTS" | "SIGN_MESSAGE" | "ACTIVATE_TOKEN";
212
+ threshold?: {
213
+ min: string | null;
214
+ max: string | null;
215
+ } | undefined;
216
+ whitelistIds?: string[] | undefined;
217
+ }[];
218
+ }, {
219
+ name: string;
220
+ description: string | null;
221
+ govRules: {
222
+ reviewSteps: ({
223
+ quorum: number;
224
+ userIds: string[];
225
+ } | {
226
+ quorum: number;
227
+ groupId: string;
228
+ })[];
229
+ operationType: "SEND" | "STAKE" | "DEPLOY_CONTRACT" | "EXECUTE_CONTRACT" | "SIGN_DIGESTS" | "SIGN_MESSAGE" | "ACTIVATE_TOKEN";
230
+ threshold?: {
231
+ min: string | null;
232
+ max: string | null;
233
+ } | undefined;
234
+ whitelistIds?: string[] | undefined;
235
+ }[];
236
+ }>;
237
+ type EditPolicyRequestData = z__default.infer<typeof zEditPolicyRequestData>;
238
+
239
+ declare const zCreateAccountRequestData: z__default.ZodObject<Omit<{
240
+ name: z__default.ZodString;
241
+ type: z__default.ZodNativeEnum<{
242
+ BITCOIN_LIKE: "BITCOIN_LIKE";
243
+ ETHEREUM_LIKE: "ETHEREUM_LIKE";
244
+ ERC20_LIKE: "ERC20_LIKE";
245
+ BEP20_LIKE: "BEP20_LIKE";
246
+ CARDANO_LIKE: "CARDANO_LIKE";
247
+ SOLANA_LIKE: "SOLANA_LIKE";
248
+ TEZOS_LIKE: "TEZOS_LIKE";
249
+ STELLAR_LIKE: "STELLAR_LIKE";
250
+ RIPPLE_LIKE: "RIPPLE_LIKE";
251
+ POLKADOT_LIKE: "POLKADOT_LIKE";
252
+ TRC20_LIKE: "TRC20_LIKE";
253
+ GENERIC_LIKE: "GENERIC_LIKE";
254
+ }>;
255
+ currency: z__default.ZodString;
256
+ index: z__default.ZodOptional<z__default.ZodNumber>;
257
+ contractAddress: z__default.ZodOptional<z__default.ZodString>;
258
+ governance: z__default.ZodDiscriminatedUnion<"type", [z__default.ZodObject<{
259
+ type: z__default.ZodLiteral<"CLASSIC">;
260
+ policy: z__default.ZodDiscriminatedUnion<"type", [z__default.ZodObject<{
261
+ type: z__default.ZodLiteral<"ACCOUNT_POLICY">;
262
+ policyId: z__default.ZodString;
263
+ }, "strip", z__default.ZodTypeAny, {
264
+ type: "ACCOUNT_POLICY";
265
+ policyId: string;
266
+ }, {
267
+ type: "ACCOUNT_POLICY";
268
+ policyId: string;
269
+ }>, z__default.ZodObject<{
270
+ type: z__default.ZodLiteral<"ACCOUNT_PRIVATE_POLICY">;
271
+ rules: z__default.ZodArray<z__default.ZodDiscriminatedUnion<"operationType", [z__default.ZodObject<{
272
+ operationType: z__default.ZodEnum<["SEND", "STAKE", "DEPLOY_CONTRACT", "EXECUTE_CONTRACT", "SIGN_DIGESTS", "SIGN_MESSAGE", "ACTIVATE_TOKEN"]>;
273
+ threshold: z__default.ZodOptional<z__default.ZodObject<{
274
+ min: z__default.ZodNullable<z__default.ZodString>;
275
+ max: z__default.ZodNullable<z__default.ZodString>;
276
+ }, "strip", z__default.ZodTypeAny, {
277
+ min: string | null;
278
+ max: string | null;
279
+ }, {
280
+ min: string | null;
281
+ max: string | null;
282
+ }>>;
283
+ whitelistIds: z__default.ZodOptional<z__default.ZodArray<z__default.ZodString, "many">>;
284
+ reviewSteps: z__default.ZodArray<z__default.ZodUnion<[z__default.ZodObject<{
285
+ quorum: z__default.ZodNumber;
286
+ userIds: z__default.ZodArray<z__default.ZodString, "many">;
287
+ }, "strip", z__default.ZodTypeAny, {
288
+ quorum: number;
289
+ userIds: string[];
290
+ }, {
291
+ quorum: number;
292
+ userIds: string[];
293
+ }>, z__default.ZodObject<{
294
+ quorum: z__default.ZodNumber;
295
+ groupId: z__default.ZodString;
296
+ }, "strip", z__default.ZodTypeAny, {
297
+ quorum: number;
298
+ groupId: string;
299
+ }, {
300
+ quorum: number;
301
+ groupId: string;
302
+ }>]>, "many">;
303
+ }, "strip", z__default.ZodTypeAny, {
304
+ reviewSteps: ({
305
+ quorum: number;
306
+ userIds: string[];
307
+ } | {
308
+ quorum: number;
309
+ groupId: string;
310
+ })[];
311
+ operationType: "SEND" | "STAKE" | "DEPLOY_CONTRACT" | "EXECUTE_CONTRACT" | "SIGN_DIGESTS" | "SIGN_MESSAGE" | "ACTIVATE_TOKEN";
312
+ threshold?: {
313
+ min: string | null;
314
+ max: string | null;
315
+ } | undefined;
316
+ whitelistIds?: string[] | undefined;
317
+ }, {
318
+ reviewSteps: ({
319
+ quorum: number;
320
+ userIds: string[];
321
+ } | {
322
+ quorum: number;
323
+ groupId: string;
324
+ })[];
325
+ operationType: "SEND" | "STAKE" | "DEPLOY_CONTRACT" | "EXECUTE_CONTRACT" | "SIGN_DIGESTS" | "SIGN_MESSAGE" | "ACTIVATE_TOKEN";
326
+ threshold?: {
327
+ min: string | null;
328
+ max: string | null;
329
+ } | undefined;
330
+ whitelistIds?: string[] | undefined;
331
+ }>]>, "many">;
332
+ }, "strip", z__default.ZodTypeAny, {
333
+ type: "ACCOUNT_PRIVATE_POLICY";
334
+ rules: {
335
+ reviewSteps: ({
336
+ quorum: number;
337
+ userIds: string[];
338
+ } | {
339
+ quorum: number;
340
+ groupId: string;
341
+ })[];
342
+ operationType: "SEND" | "STAKE" | "DEPLOY_CONTRACT" | "EXECUTE_CONTRACT" | "SIGN_DIGESTS" | "SIGN_MESSAGE" | "ACTIVATE_TOKEN";
343
+ threshold?: {
344
+ min: string | null;
345
+ max: string | null;
346
+ } | undefined;
347
+ whitelistIds?: string[] | undefined;
348
+ }[];
349
+ }, {
350
+ type: "ACCOUNT_PRIVATE_POLICY";
351
+ rules: {
352
+ reviewSteps: ({
353
+ quorum: number;
354
+ userIds: string[];
355
+ } | {
356
+ quorum: number;
357
+ groupId: string;
358
+ })[];
359
+ operationType: "SEND" | "STAKE" | "DEPLOY_CONTRACT" | "EXECUTE_CONTRACT" | "SIGN_DIGESTS" | "SIGN_MESSAGE" | "ACTIVATE_TOKEN";
360
+ threshold?: {
361
+ min: string | null;
362
+ max: string | null;
363
+ } | undefined;
364
+ whitelistIds?: string[] | undefined;
365
+ }[];
366
+ }>]>;
367
+ }, "strip", z__default.ZodTypeAny, {
368
+ type: "CLASSIC";
369
+ policy: {
370
+ type: "ACCOUNT_POLICY";
371
+ policyId: string;
372
+ } | {
373
+ type: "ACCOUNT_PRIVATE_POLICY";
374
+ rules: {
375
+ reviewSteps: ({
376
+ quorum: number;
377
+ userIds: string[];
378
+ } | {
379
+ quorum: number;
380
+ groupId: string;
381
+ })[];
382
+ operationType: "SEND" | "STAKE" | "DEPLOY_CONTRACT" | "EXECUTE_CONTRACT" | "SIGN_DIGESTS" | "SIGN_MESSAGE" | "ACTIVATE_TOKEN";
383
+ threshold?: {
384
+ min: string | null;
385
+ max: string | null;
386
+ } | undefined;
387
+ whitelistIds?: string[] | undefined;
388
+ }[];
389
+ };
390
+ }, {
391
+ type: "CLASSIC";
392
+ policy: {
393
+ type: "ACCOUNT_POLICY";
394
+ policyId: string;
395
+ } | {
396
+ type: "ACCOUNT_PRIVATE_POLICY";
397
+ rules: {
398
+ reviewSteps: ({
399
+ quorum: number;
400
+ userIds: string[];
401
+ } | {
402
+ quorum: number;
403
+ groupId: string;
404
+ })[];
405
+ operationType: "SEND" | "STAKE" | "DEPLOY_CONTRACT" | "EXECUTE_CONTRACT" | "SIGN_DIGESTS" | "SIGN_MESSAGE" | "ACTIVATE_TOKEN";
406
+ threshold?: {
407
+ min: string | null;
408
+ max: string | null;
409
+ } | undefined;
410
+ whitelistIds?: string[] | undefined;
411
+ }[];
412
+ };
413
+ }>, z__default.ZodObject<{
414
+ type: z__default.ZodLiteral<"TRADELINK">;
415
+ assetManagerId: z__default.ZodString;
416
+ exchangeConfigs: z__default.ZodArray<z__default.ZodObject<{
417
+ exchangeId: z__default.ZodString;
418
+ repledgeAuthorized: z__default.ZodBoolean;
419
+ needsAssetManagerApprovalForSettlements: z__default.ZodBoolean;
420
+ }, "strip", z__default.ZodTypeAny, {
421
+ exchangeId: string;
422
+ repledgeAuthorized: boolean;
423
+ needsAssetManagerApprovalForSettlements: boolean;
424
+ }, {
425
+ exchangeId: string;
426
+ repledgeAuthorized: boolean;
427
+ needsAssetManagerApprovalForSettlements: boolean;
428
+ }>, "many">;
429
+ }, "strip", z__default.ZodTypeAny, {
430
+ type: "TRADELINK";
431
+ assetManagerId: string;
432
+ exchangeConfigs: {
433
+ exchangeId: string;
434
+ repledgeAuthorized: boolean;
435
+ needsAssetManagerApprovalForSettlements: boolean;
436
+ }[];
437
+ }, {
438
+ type: "TRADELINK";
439
+ assetManagerId: string;
440
+ exchangeConfigs: {
441
+ exchangeId: string;
442
+ repledgeAuthorized: boolean;
443
+ needsAssetManagerApprovalForSettlements: boolean;
444
+ }[];
445
+ }>]>;
446
+ }, "index"> & {
447
+ index: z__default.ZodNumber;
448
+ derivationPath: z__default.ZodString;
449
+ }, "strip", z__default.ZodTypeAny, {
450
+ type: "BITCOIN_LIKE" | "ETHEREUM_LIKE" | "ERC20_LIKE" | "BEP20_LIKE" | "CARDANO_LIKE" | "SOLANA_LIKE" | "TEZOS_LIKE" | "STELLAR_LIKE" | "RIPPLE_LIKE" | "POLKADOT_LIKE" | "TRC20_LIKE" | "GENERIC_LIKE";
451
+ name: string;
452
+ currency: string;
453
+ index: number;
454
+ derivationPath: string;
455
+ governance: {
456
+ type: "CLASSIC";
457
+ policy: {
458
+ type: "ACCOUNT_POLICY";
459
+ policyId: string;
460
+ } | {
461
+ type: "ACCOUNT_PRIVATE_POLICY";
462
+ rules: {
463
+ reviewSteps: ({
464
+ quorum: number;
465
+ userIds: string[];
466
+ } | {
467
+ quorum: number;
468
+ groupId: string;
469
+ })[];
470
+ operationType: "SEND" | "STAKE" | "DEPLOY_CONTRACT" | "EXECUTE_CONTRACT" | "SIGN_DIGESTS" | "SIGN_MESSAGE" | "ACTIVATE_TOKEN";
471
+ threshold?: {
472
+ min: string | null;
473
+ max: string | null;
474
+ } | undefined;
475
+ whitelistIds?: string[] | undefined;
476
+ }[];
477
+ };
478
+ } | {
479
+ type: "TRADELINK";
480
+ assetManagerId: string;
481
+ exchangeConfigs: {
482
+ exchangeId: string;
483
+ repledgeAuthorized: boolean;
484
+ needsAssetManagerApprovalForSettlements: boolean;
485
+ }[];
486
+ };
487
+ contractAddress?: string | undefined;
488
+ }, {
489
+ type: "BITCOIN_LIKE" | "ETHEREUM_LIKE" | "ERC20_LIKE" | "BEP20_LIKE" | "CARDANO_LIKE" | "SOLANA_LIKE" | "TEZOS_LIKE" | "STELLAR_LIKE" | "RIPPLE_LIKE" | "POLKADOT_LIKE" | "TRC20_LIKE" | "GENERIC_LIKE";
490
+ name: string;
491
+ currency: string;
492
+ index: number;
493
+ derivationPath: string;
494
+ governance: {
495
+ type: "CLASSIC";
496
+ policy: {
497
+ type: "ACCOUNT_POLICY";
498
+ policyId: string;
499
+ } | {
500
+ type: "ACCOUNT_PRIVATE_POLICY";
501
+ rules: {
502
+ reviewSteps: ({
503
+ quorum: number;
504
+ userIds: string[];
505
+ } | {
506
+ quorum: number;
507
+ groupId: string;
508
+ })[];
509
+ operationType: "SEND" | "STAKE" | "DEPLOY_CONTRACT" | "EXECUTE_CONTRACT" | "SIGN_DIGESTS" | "SIGN_MESSAGE" | "ACTIVATE_TOKEN";
510
+ threshold?: {
511
+ min: string | null;
512
+ max: string | null;
513
+ } | undefined;
514
+ whitelistIds?: string[] | undefined;
515
+ }[];
516
+ };
517
+ } | {
518
+ type: "TRADELINK";
519
+ assetManagerId: string;
520
+ exchangeConfigs: {
521
+ exchangeId: string;
522
+ repledgeAuthorized: boolean;
523
+ needsAssetManagerApprovalForSettlements: boolean;
524
+ }[];
525
+ };
526
+ contractAddress?: string | undefined;
527
+ }>;
528
+ type CreateAccountRequestData = z__default.infer<typeof zCreateAccountRequestData>;
529
+ declare const zEditAccountRequestData: z__default.ZodObject<{
530
+ name: z__default.ZodString;
531
+ governance: z__default.ZodDiscriminatedUnion<"type", [z__default.ZodObject<{
532
+ type: z__default.ZodLiteral<"CLASSIC">;
533
+ policy: z__default.ZodDiscriminatedUnion<"type", [z__default.ZodObject<{
534
+ type: z__default.ZodLiteral<"ACCOUNT_POLICY">;
535
+ policyId: z__default.ZodString;
536
+ }, "strip", z__default.ZodTypeAny, {
537
+ type: "ACCOUNT_POLICY";
538
+ policyId: string;
539
+ }, {
540
+ type: "ACCOUNT_POLICY";
541
+ policyId: string;
542
+ }>, z__default.ZodObject<{
543
+ type: z__default.ZodLiteral<"ACCOUNT_PRIVATE_POLICY">;
544
+ rules: z__default.ZodArray<z__default.ZodDiscriminatedUnion<"operationType", [z__default.ZodObject<{
545
+ operationType: z__default.ZodEnum<["SEND", "STAKE", "DEPLOY_CONTRACT", "EXECUTE_CONTRACT", "SIGN_DIGESTS", "SIGN_MESSAGE", "ACTIVATE_TOKEN"]>;
546
+ threshold: z__default.ZodOptional<z__default.ZodObject<{
547
+ min: z__default.ZodNullable<z__default.ZodString>;
548
+ max: z__default.ZodNullable<z__default.ZodString>;
549
+ }, "strip", z__default.ZodTypeAny, {
550
+ min: string | null;
551
+ max: string | null;
552
+ }, {
553
+ min: string | null;
554
+ max: string | null;
555
+ }>>;
556
+ whitelistIds: z__default.ZodOptional<z__default.ZodArray<z__default.ZodString, "many">>;
557
+ reviewSteps: z__default.ZodArray<z__default.ZodUnion<[z__default.ZodObject<{
558
+ quorum: z__default.ZodNumber;
559
+ userIds: z__default.ZodArray<z__default.ZodString, "many">;
560
+ }, "strip", z__default.ZodTypeAny, {
561
+ quorum: number;
562
+ userIds: string[];
563
+ }, {
564
+ quorum: number;
565
+ userIds: string[];
566
+ }>, z__default.ZodObject<{
567
+ quorum: z__default.ZodNumber;
568
+ groupId: z__default.ZodString;
569
+ }, "strip", z__default.ZodTypeAny, {
570
+ quorum: number;
571
+ groupId: string;
572
+ }, {
573
+ quorum: number;
574
+ groupId: string;
575
+ }>]>, "many">;
576
+ }, "strip", z__default.ZodTypeAny, {
577
+ reviewSteps: ({
578
+ quorum: number;
579
+ userIds: string[];
580
+ } | {
581
+ quorum: number;
582
+ groupId: string;
583
+ })[];
584
+ operationType: "SEND" | "STAKE" | "DEPLOY_CONTRACT" | "EXECUTE_CONTRACT" | "SIGN_DIGESTS" | "SIGN_MESSAGE" | "ACTIVATE_TOKEN";
585
+ threshold?: {
586
+ min: string | null;
587
+ max: string | null;
588
+ } | undefined;
589
+ whitelistIds?: string[] | undefined;
590
+ }, {
591
+ reviewSteps: ({
592
+ quorum: number;
593
+ userIds: string[];
594
+ } | {
595
+ quorum: number;
596
+ groupId: string;
597
+ })[];
598
+ operationType: "SEND" | "STAKE" | "DEPLOY_CONTRACT" | "EXECUTE_CONTRACT" | "SIGN_DIGESTS" | "SIGN_MESSAGE" | "ACTIVATE_TOKEN";
599
+ threshold?: {
600
+ min: string | null;
601
+ max: string | null;
602
+ } | undefined;
603
+ whitelistIds?: string[] | undefined;
604
+ }>]>, "many">;
605
+ }, "strip", z__default.ZodTypeAny, {
606
+ type: "ACCOUNT_PRIVATE_POLICY";
607
+ rules: {
608
+ reviewSteps: ({
609
+ quorum: number;
610
+ userIds: string[];
611
+ } | {
612
+ quorum: number;
613
+ groupId: string;
614
+ })[];
615
+ operationType: "SEND" | "STAKE" | "DEPLOY_CONTRACT" | "EXECUTE_CONTRACT" | "SIGN_DIGESTS" | "SIGN_MESSAGE" | "ACTIVATE_TOKEN";
616
+ threshold?: {
617
+ min: string | null;
618
+ max: string | null;
619
+ } | undefined;
620
+ whitelistIds?: string[] | undefined;
621
+ }[];
622
+ }, {
623
+ type: "ACCOUNT_PRIVATE_POLICY";
624
+ rules: {
625
+ reviewSteps: ({
626
+ quorum: number;
627
+ userIds: string[];
628
+ } | {
629
+ quorum: number;
630
+ groupId: string;
631
+ })[];
632
+ operationType: "SEND" | "STAKE" | "DEPLOY_CONTRACT" | "EXECUTE_CONTRACT" | "SIGN_DIGESTS" | "SIGN_MESSAGE" | "ACTIVATE_TOKEN";
633
+ threshold?: {
634
+ min: string | null;
635
+ max: string | null;
636
+ } | undefined;
637
+ whitelistIds?: string[] | undefined;
638
+ }[];
639
+ }>]>;
640
+ }, "strip", z__default.ZodTypeAny, {
641
+ type: "CLASSIC";
642
+ policy: {
643
+ type: "ACCOUNT_POLICY";
644
+ policyId: string;
645
+ } | {
646
+ type: "ACCOUNT_PRIVATE_POLICY";
647
+ rules: {
648
+ reviewSteps: ({
649
+ quorum: number;
650
+ userIds: string[];
651
+ } | {
652
+ quorum: number;
653
+ groupId: string;
654
+ })[];
655
+ operationType: "SEND" | "STAKE" | "DEPLOY_CONTRACT" | "EXECUTE_CONTRACT" | "SIGN_DIGESTS" | "SIGN_MESSAGE" | "ACTIVATE_TOKEN";
656
+ threshold?: {
657
+ min: string | null;
658
+ max: string | null;
659
+ } | undefined;
660
+ whitelistIds?: string[] | undefined;
661
+ }[];
662
+ };
663
+ }, {
664
+ type: "CLASSIC";
665
+ policy: {
666
+ type: "ACCOUNT_POLICY";
667
+ policyId: string;
668
+ } | {
669
+ type: "ACCOUNT_PRIVATE_POLICY";
670
+ rules: {
671
+ reviewSteps: ({
672
+ quorum: number;
673
+ userIds: string[];
674
+ } | {
675
+ quorum: number;
676
+ groupId: string;
677
+ })[];
678
+ operationType: "SEND" | "STAKE" | "DEPLOY_CONTRACT" | "EXECUTE_CONTRACT" | "SIGN_DIGESTS" | "SIGN_MESSAGE" | "ACTIVATE_TOKEN";
679
+ threshold?: {
680
+ min: string | null;
681
+ max: string | null;
682
+ } | undefined;
683
+ whitelistIds?: string[] | undefined;
684
+ }[];
685
+ };
686
+ }>, z__default.ZodObject<{
687
+ type: z__default.ZodLiteral<"TRADELINK">;
688
+ exchangeConfigs: z__default.ZodArray<z__default.ZodObject<{
689
+ exchangeId: z__default.ZodString;
690
+ repledgeAuthorized: z__default.ZodBoolean;
691
+ needsAssetManagerApprovalForSettlements: z__default.ZodBoolean;
692
+ }, "strip", z__default.ZodTypeAny, {
693
+ exchangeId: string;
694
+ repledgeAuthorized: boolean;
695
+ needsAssetManagerApprovalForSettlements: boolean;
696
+ }, {
697
+ exchangeId: string;
698
+ repledgeAuthorized: boolean;
699
+ needsAssetManagerApprovalForSettlements: boolean;
700
+ }>, "many">;
701
+ }, "strip", z__default.ZodTypeAny, {
702
+ type: "TRADELINK";
703
+ exchangeConfigs: {
704
+ exchangeId: string;
705
+ repledgeAuthorized: boolean;
706
+ needsAssetManagerApprovalForSettlements: boolean;
707
+ }[];
708
+ }, {
709
+ type: "TRADELINK";
710
+ exchangeConfigs: {
711
+ exchangeId: string;
712
+ repledgeAuthorized: boolean;
713
+ needsAssetManagerApprovalForSettlements: boolean;
714
+ }[];
715
+ }>]>;
716
+ }, "strip", z__default.ZodTypeAny, {
717
+ name: string;
718
+ governance: {
719
+ type: "CLASSIC";
720
+ policy: {
721
+ type: "ACCOUNT_POLICY";
722
+ policyId: string;
723
+ } | {
724
+ type: "ACCOUNT_PRIVATE_POLICY";
725
+ rules: {
726
+ reviewSteps: ({
727
+ quorum: number;
728
+ userIds: string[];
729
+ } | {
730
+ quorum: number;
731
+ groupId: string;
732
+ })[];
733
+ operationType: "SEND" | "STAKE" | "DEPLOY_CONTRACT" | "EXECUTE_CONTRACT" | "SIGN_DIGESTS" | "SIGN_MESSAGE" | "ACTIVATE_TOKEN";
734
+ threshold?: {
735
+ min: string | null;
736
+ max: string | null;
737
+ } | undefined;
738
+ whitelistIds?: string[] | undefined;
739
+ }[];
740
+ };
741
+ } | {
742
+ type: "TRADELINK";
743
+ exchangeConfigs: {
744
+ exchangeId: string;
745
+ repledgeAuthorized: boolean;
746
+ needsAssetManagerApprovalForSettlements: boolean;
747
+ }[];
748
+ };
749
+ }, {
750
+ name: string;
751
+ governance: {
752
+ type: "CLASSIC";
753
+ policy: {
754
+ type: "ACCOUNT_POLICY";
755
+ policyId: string;
756
+ } | {
757
+ type: "ACCOUNT_PRIVATE_POLICY";
758
+ rules: {
759
+ reviewSteps: ({
760
+ quorum: number;
761
+ userIds: string[];
762
+ } | {
763
+ quorum: number;
764
+ groupId: string;
765
+ })[];
766
+ operationType: "SEND" | "STAKE" | "DEPLOY_CONTRACT" | "EXECUTE_CONTRACT" | "SIGN_DIGESTS" | "SIGN_MESSAGE" | "ACTIVATE_TOKEN";
767
+ threshold?: {
768
+ min: string | null;
769
+ max: string | null;
770
+ } | undefined;
771
+ whitelistIds?: string[] | undefined;
772
+ }[];
773
+ };
774
+ } | {
775
+ type: "TRADELINK";
776
+ exchangeConfigs: {
777
+ exchangeId: string;
778
+ repledgeAuthorized: boolean;
779
+ needsAssetManagerApprovalForSettlements: boolean;
780
+ }[];
781
+ };
782
+ }>;
783
+ type EditAccountRequestData = z__default.infer<typeof zEditAccountRequestData>;
784
+ declare const zEditTokenRuleRequestData: z__default.ZodObject<{
785
+ parentAccountId: z__default.ZodString;
786
+ contractAddress: z__default.ZodString;
787
+ rules: z__default.ZodArray<z__default.ZodDiscriminatedUnion<"operationType", [z__default.ZodObject<{
788
+ operationType: z__default.ZodEnum<["SEND", "STAKE", "DEPLOY_CONTRACT", "EXECUTE_CONTRACT", "SIGN_DIGESTS", "SIGN_MESSAGE", "ACTIVATE_TOKEN"]>;
789
+ threshold: z__default.ZodOptional<z__default.ZodObject<{
790
+ min: z__default.ZodNullable<z__default.ZodString>;
791
+ max: z__default.ZodNullable<z__default.ZodString>;
792
+ }, "strip", z__default.ZodTypeAny, {
793
+ min: string | null;
794
+ max: string | null;
795
+ }, {
796
+ min: string | null;
797
+ max: string | null;
798
+ }>>;
799
+ whitelistIds: z__default.ZodOptional<z__default.ZodArray<z__default.ZodString, "many">>;
800
+ reviewSteps: z__default.ZodArray<z__default.ZodUnion<[z__default.ZodObject<{
801
+ quorum: z__default.ZodNumber;
802
+ userIds: z__default.ZodArray<z__default.ZodString, "many">;
803
+ }, "strip", z__default.ZodTypeAny, {
804
+ quorum: number;
805
+ userIds: string[];
806
+ }, {
807
+ quorum: number;
808
+ userIds: string[];
809
+ }>, z__default.ZodObject<{
810
+ quorum: z__default.ZodNumber;
811
+ groupId: z__default.ZodString;
812
+ }, "strip", z__default.ZodTypeAny, {
813
+ quorum: number;
814
+ groupId: string;
815
+ }, {
816
+ quorum: number;
817
+ groupId: string;
818
+ }>]>, "many">;
819
+ }, "strip", z__default.ZodTypeAny, {
820
+ reviewSteps: ({
821
+ quorum: number;
822
+ userIds: string[];
823
+ } | {
824
+ quorum: number;
825
+ groupId: string;
826
+ })[];
827
+ operationType: "SEND" | "STAKE" | "DEPLOY_CONTRACT" | "EXECUTE_CONTRACT" | "SIGN_DIGESTS" | "SIGN_MESSAGE" | "ACTIVATE_TOKEN";
828
+ threshold?: {
829
+ min: string | null;
830
+ max: string | null;
831
+ } | undefined;
832
+ whitelistIds?: string[] | undefined;
833
+ }, {
834
+ reviewSteps: ({
835
+ quorum: number;
836
+ userIds: string[];
837
+ } | {
838
+ quorum: number;
839
+ groupId: string;
840
+ })[];
841
+ operationType: "SEND" | "STAKE" | "DEPLOY_CONTRACT" | "EXECUTE_CONTRACT" | "SIGN_DIGESTS" | "SIGN_MESSAGE" | "ACTIVATE_TOKEN";
842
+ threshold?: {
843
+ min: string | null;
844
+ max: string | null;
845
+ } | undefined;
846
+ whitelistIds?: string[] | undefined;
847
+ }>]>, "many">;
848
+ }, "strip", z__default.ZodTypeAny, {
849
+ contractAddress: string;
850
+ rules: {
851
+ reviewSteps: ({
852
+ quorum: number;
853
+ userIds: string[];
854
+ } | {
855
+ quorum: number;
856
+ groupId: string;
857
+ })[];
858
+ operationType: "SEND" | "STAKE" | "DEPLOY_CONTRACT" | "EXECUTE_CONTRACT" | "SIGN_DIGESTS" | "SIGN_MESSAGE" | "ACTIVATE_TOKEN";
859
+ threshold?: {
860
+ min: string | null;
861
+ max: string | null;
862
+ } | undefined;
863
+ whitelistIds?: string[] | undefined;
864
+ }[];
865
+ parentAccountId: string;
866
+ }, {
867
+ contractAddress: string;
868
+ rules: {
869
+ reviewSteps: ({
870
+ quorum: number;
871
+ userIds: string[];
872
+ } | {
873
+ quorum: number;
874
+ groupId: string;
875
+ })[];
876
+ operationType: "SEND" | "STAKE" | "DEPLOY_CONTRACT" | "EXECUTE_CONTRACT" | "SIGN_DIGESTS" | "SIGN_MESSAGE" | "ACTIVATE_TOKEN";
877
+ threshold?: {
878
+ min: string | null;
879
+ max: string | null;
880
+ } | undefined;
881
+ whitelistIds?: string[] | undefined;
882
+ }[];
883
+ parentAccountId: string;
884
+ }>;
885
+ type EditTokenRuleRequestData = z__default.infer<typeof zEditTokenRuleRequestData>;
886
+
887
+ declare const zAdjustPledgeRequestData: z__default.ZodObject<{
888
+ accountId: z__default.ZodString;
889
+ exchangeId: z__default.ZodString;
890
+ amount: z__default.ZodString;
891
+ }, "strip", z__default.ZodTypeAny, {
892
+ accountId: string;
893
+ exchangeId: string;
894
+ amount: string;
895
+ }, {
896
+ accountId: string;
897
+ exchangeId: string;
898
+ amount: string;
899
+ }>;
900
+ type AdjustPledgeRequestData = z__default.infer<typeof zAdjustPledgeRequestData>;
901
+ declare const zCreateSettlementRequestData: z__default.ZodObject<{
902
+ accountId: z__default.ZodString;
903
+ exchangeId: z__default.ZodString;
904
+ transaction: z__default.ZodDiscriminatedUnion<"type", [z__default.ZodObject<{
905
+ amount: z__default.ZodString;
906
+ currency: z__default.ZodString;
907
+ maxFee: z__default.ZodNullable<z__default.ZodString>;
908
+ recipient: z__default.ZodString;
909
+ } & {
910
+ type: z__default.ZodLiteral<"BITCOIN_LIKE_SEND">;
911
+ feeStrategy: z__default.ZodObject<{
912
+ type: z__default.ZodEnum<["SLOW", "NORMAL", "FAST", "CUSTOM"]>;
913
+ } & {
914
+ feePerByte: z__default.ZodOptional<z__default.ZodNullable<z__default.ZodString>>;
915
+ }, "strip", z__default.ZodTypeAny, {
916
+ type: "NORMAL" | "SLOW" | "FAST" | "CUSTOM";
917
+ feePerByte?: string | null | undefined;
918
+ }, {
919
+ type: "NORMAL" | "SLOW" | "FAST" | "CUSTOM";
920
+ feePerByte?: string | null | undefined;
921
+ }>;
922
+ }, "strip", z__default.ZodTypeAny, {
923
+ type: "BITCOIN_LIKE_SEND";
924
+ currency: string;
925
+ amount: string;
926
+ maxFee: string | null;
927
+ recipient: string;
928
+ feeStrategy: {
929
+ type: "NORMAL" | "SLOW" | "FAST" | "CUSTOM";
930
+ feePerByte?: string | null | undefined;
931
+ };
932
+ }, {
933
+ type: "BITCOIN_LIKE_SEND";
934
+ currency: string;
935
+ amount: string;
936
+ maxFee: string | null;
937
+ recipient: string;
938
+ feeStrategy: {
939
+ type: "NORMAL" | "SLOW" | "FAST" | "CUSTOM";
940
+ feePerByte?: string | null | undefined;
941
+ };
942
+ }>, z__default.ZodObject<{
943
+ amount: z__default.ZodString;
944
+ currency: z__default.ZodString;
945
+ maxFee: z__default.ZodNullable<z__default.ZodString>;
946
+ recipient: z__default.ZodString;
947
+ } & {
948
+ type: z__default.ZodLiteral<"CARDANO_LIKE_SEND">;
949
+ feeStrategy: z__default.ZodObject<{
950
+ type: z__default.ZodEnum<["SLOW", "NORMAL", "FAST"]>;
951
+ }, "strip", z__default.ZodTypeAny, {
952
+ type: "NORMAL" | "SLOW" | "FAST";
953
+ }, {
954
+ type: "NORMAL" | "SLOW" | "FAST";
955
+ }>;
956
+ }, "strip", z__default.ZodTypeAny, {
957
+ type: "CARDANO_LIKE_SEND";
958
+ currency: string;
959
+ amount: string;
960
+ maxFee: string | null;
961
+ recipient: string;
962
+ feeStrategy: {
963
+ type: "NORMAL" | "SLOW" | "FAST";
964
+ };
965
+ }, {
966
+ type: "CARDANO_LIKE_SEND";
967
+ currency: string;
968
+ amount: string;
969
+ maxFee: string | null;
970
+ recipient: string;
971
+ feeStrategy: {
972
+ type: "NORMAL" | "SLOW" | "FAST";
973
+ };
974
+ }>, z__default.ZodObject<{
975
+ amount: z__default.ZodString;
976
+ currency: z__default.ZodString;
977
+ maxFee: z__default.ZodNullable<z__default.ZodString>;
978
+ recipient: z__default.ZodString;
979
+ } & {
980
+ type: z__default.ZodLiteral<"ETHEREUM_LIKE_SEND">;
981
+ feeStrategy: z__default.ZodUnion<[z__default.ZodObject<{
982
+ type: z__default.ZodEnum<["SLOW", "NORMAL", "FAST", "CUSTOM"]>;
983
+ } & {
984
+ gasPrice: z__default.ZodString;
985
+ gasLimit: z__default.ZodString;
986
+ }, "strip", z__default.ZodTypeAny, {
987
+ type: "NORMAL" | "SLOW" | "FAST" | "CUSTOM";
988
+ gasPrice: string;
989
+ gasLimit: string;
990
+ }, {
991
+ type: "NORMAL" | "SLOW" | "FAST" | "CUSTOM";
992
+ gasPrice: string;
993
+ gasLimit: string;
994
+ }>, z__default.ZodObject<{
995
+ type: z__default.ZodEnum<["SLOW", "NORMAL", "FAST", "CUSTOM"]>;
996
+ } & {
997
+ maxPriorityFeePerGas: z__default.ZodString;
998
+ maxFeePerGas: z__default.ZodString;
999
+ gasLimit: z__default.ZodString;
1000
+ }, "strip", z__default.ZodTypeAny, {
1001
+ type: "NORMAL" | "SLOW" | "FAST" | "CUSTOM";
1002
+ gasLimit: string;
1003
+ maxPriorityFeePerGas: string;
1004
+ maxFeePerGas: string;
1005
+ }, {
1006
+ type: "NORMAL" | "SLOW" | "FAST" | "CUSTOM";
1007
+ gasLimit: string;
1008
+ maxPriorityFeePerGas: string;
1009
+ maxFeePerGas: string;
1010
+ }>]>;
1011
+ }, "strip", z__default.ZodTypeAny, {
1012
+ type: "ETHEREUM_LIKE_SEND";
1013
+ currency: string;
1014
+ amount: string;
1015
+ maxFee: string | null;
1016
+ recipient: string;
1017
+ feeStrategy: {
1018
+ type: "NORMAL" | "SLOW" | "FAST" | "CUSTOM";
1019
+ gasPrice: string;
1020
+ gasLimit: string;
1021
+ } | {
1022
+ type: "NORMAL" | "SLOW" | "FAST" | "CUSTOM";
1023
+ gasLimit: string;
1024
+ maxPriorityFeePerGas: string;
1025
+ maxFeePerGas: string;
1026
+ };
1027
+ }, {
1028
+ type: "ETHEREUM_LIKE_SEND";
1029
+ currency: string;
1030
+ amount: string;
1031
+ maxFee: string | null;
1032
+ recipient: string;
1033
+ feeStrategy: {
1034
+ type: "NORMAL" | "SLOW" | "FAST" | "CUSTOM";
1035
+ gasPrice: string;
1036
+ gasLimit: string;
1037
+ } | {
1038
+ type: "NORMAL" | "SLOW" | "FAST" | "CUSTOM";
1039
+ gasLimit: string;
1040
+ maxPriorityFeePerGas: string;
1041
+ maxFeePerGas: string;
1042
+ };
1043
+ }>, z__default.ZodObject<{
1044
+ amount: z__default.ZodString;
1045
+ currency: z__default.ZodString;
1046
+ maxFee: z__default.ZodNullable<z__default.ZodString>;
1047
+ recipient: z__default.ZodString;
1048
+ } & {
1049
+ type: z__default.ZodLiteral<"POLKADOT_LIKE_SEND">;
1050
+ }, "strip", z__default.ZodTypeAny, {
1051
+ type: "POLKADOT_LIKE_SEND";
1052
+ currency: string;
1053
+ amount: string;
1054
+ maxFee: string | null;
1055
+ recipient: string;
1056
+ }, {
1057
+ type: "POLKADOT_LIKE_SEND";
1058
+ currency: string;
1059
+ amount: string;
1060
+ maxFee: string | null;
1061
+ recipient: string;
1062
+ }>, z__default.ZodObject<{
1063
+ amount: z__default.ZodString;
1064
+ currency: z__default.ZodString;
1065
+ maxFee: z__default.ZodNullable<z__default.ZodString>;
1066
+ recipient: z__default.ZodString;
1067
+ } & {
1068
+ type: z__default.ZodLiteral<"RIPPLE_LIKE_SEND">;
1069
+ destinationTag: z__default.ZodNullable<z__default.ZodString>;
1070
+ feeStrategy: z__default.ZodObject<{
1071
+ type: z__default.ZodEnum<["SLOW", "NORMAL", "FAST", "CUSTOM"]>;
1072
+ }, "strip", z__default.ZodTypeAny, {
1073
+ type: "NORMAL" | "SLOW" | "FAST" | "CUSTOM";
1074
+ }, {
1075
+ type: "NORMAL" | "SLOW" | "FAST" | "CUSTOM";
1076
+ }>;
1077
+ }, "strip", z__default.ZodTypeAny, {
1078
+ type: "RIPPLE_LIKE_SEND";
1079
+ currency: string;
1080
+ amount: string;
1081
+ maxFee: string | null;
1082
+ recipient: string;
1083
+ feeStrategy: {
1084
+ type: "NORMAL" | "SLOW" | "FAST" | "CUSTOM";
1085
+ };
1086
+ destinationTag: string | null;
1087
+ }, {
1088
+ type: "RIPPLE_LIKE_SEND";
1089
+ currency: string;
1090
+ amount: string;
1091
+ maxFee: string | null;
1092
+ recipient: string;
1093
+ feeStrategy: {
1094
+ type: "NORMAL" | "SLOW" | "FAST" | "CUSTOM";
1095
+ };
1096
+ destinationTag: string | null;
1097
+ }>, z__default.ZodObject<{
1098
+ amount: z__default.ZodString;
1099
+ currency: z__default.ZodString;
1100
+ maxFee: z__default.ZodNullable<z__default.ZodString>;
1101
+ recipient: z__default.ZodString;
1102
+ } & {
1103
+ type: z__default.ZodLiteral<"SOLANA_LIKE_SEND">;
1104
+ feeStrategy: z__default.ZodObject<{
1105
+ type: z__default.ZodEnum<["SLOW", "NORMAL", "FAST"]>;
1106
+ }, "strip", z__default.ZodTypeAny, {
1107
+ type: "NORMAL" | "SLOW" | "FAST";
1108
+ }, {
1109
+ type: "NORMAL" | "SLOW" | "FAST";
1110
+ }>;
1111
+ }, "strip", z__default.ZodTypeAny, {
1112
+ type: "SOLANA_LIKE_SEND";
1113
+ currency: string;
1114
+ amount: string;
1115
+ maxFee: string | null;
1116
+ recipient: string;
1117
+ feeStrategy: {
1118
+ type: "NORMAL" | "SLOW" | "FAST";
1119
+ };
1120
+ }, {
1121
+ type: "SOLANA_LIKE_SEND";
1122
+ currency: string;
1123
+ amount: string;
1124
+ maxFee: string | null;
1125
+ recipient: string;
1126
+ feeStrategy: {
1127
+ type: "NORMAL" | "SLOW" | "FAST";
1128
+ };
1129
+ }>, z__default.ZodObject<{
1130
+ amount: z__default.ZodString;
1131
+ currency: z__default.ZodString;
1132
+ maxFee: z__default.ZodNullable<z__default.ZodString>;
1133
+ recipient: z__default.ZodString;
1134
+ } & {
1135
+ type: z__default.ZodLiteral<"STELLAR_LIKE_SEND">;
1136
+ memo: z__default.ZodNullable<z__default.ZodUnion<[z__default.ZodObject<{
1137
+ MEMO_TEXT: z__default.ZodString;
1138
+ }, "strip", z__default.ZodTypeAny, {
1139
+ MEMO_TEXT: string;
1140
+ }, {
1141
+ MEMO_TEXT: string;
1142
+ }>, z__default.ZodObject<{
1143
+ MEMO_ID: z__default.ZodString;
1144
+ }, "strip", z__default.ZodTypeAny, {
1145
+ MEMO_ID: string;
1146
+ }, {
1147
+ MEMO_ID: string;
1148
+ }>, z__default.ZodObject<{
1149
+ MEMO_HASH: z__default.ZodString;
1150
+ }, "strip", z__default.ZodTypeAny, {
1151
+ MEMO_HASH: string;
1152
+ }, {
1153
+ MEMO_HASH: string;
1154
+ }>, z__default.ZodObject<{
1155
+ MEMO_RETURN: z__default.ZodString;
1156
+ }, "strip", z__default.ZodTypeAny, {
1157
+ MEMO_RETURN: string;
1158
+ }, {
1159
+ MEMO_RETURN: string;
1160
+ }>]>>;
1161
+ feeStrategy: z__default.ZodObject<{
1162
+ type: z__default.ZodEnum<["SLOW", "NORMAL", "FAST"]>;
1163
+ }, "strip", z__default.ZodTypeAny, {
1164
+ type: "NORMAL" | "SLOW" | "FAST";
1165
+ }, {
1166
+ type: "NORMAL" | "SLOW" | "FAST";
1167
+ }>;
1168
+ }, "strip", z__default.ZodTypeAny, {
1169
+ type: "STELLAR_LIKE_SEND";
1170
+ currency: string;
1171
+ amount: string;
1172
+ maxFee: string | null;
1173
+ recipient: string;
1174
+ feeStrategy: {
1175
+ type: "NORMAL" | "SLOW" | "FAST";
1176
+ };
1177
+ memo: {
1178
+ MEMO_TEXT: string;
1179
+ } | {
1180
+ MEMO_ID: string;
1181
+ } | {
1182
+ MEMO_HASH: string;
1183
+ } | {
1184
+ MEMO_RETURN: string;
1185
+ } | null;
1186
+ }, {
1187
+ type: "STELLAR_LIKE_SEND";
1188
+ currency: string;
1189
+ amount: string;
1190
+ maxFee: string | null;
1191
+ recipient: string;
1192
+ feeStrategy: {
1193
+ type: "NORMAL" | "SLOW" | "FAST";
1194
+ };
1195
+ memo: {
1196
+ MEMO_TEXT: string;
1197
+ } | {
1198
+ MEMO_ID: string;
1199
+ } | {
1200
+ MEMO_HASH: string;
1201
+ } | {
1202
+ MEMO_RETURN: string;
1203
+ } | null;
1204
+ }>, z__default.ZodObject<{
1205
+ amount: z__default.ZodString;
1206
+ currency: z__default.ZodString;
1207
+ maxFee: z__default.ZodNullable<z__default.ZodString>;
1208
+ recipient: z__default.ZodString;
1209
+ } & {
1210
+ type: z__default.ZodLiteral<"TEZOS_LIKE_SEND">;
1211
+ feeStrategy: z__default.ZodObject<{
1212
+ type: z__default.ZodEnum<["SLOW", "NORMAL", "FAST", "CUSTOM"]>;
1213
+ } & {
1214
+ gasLimit: z__default.ZodString;
1215
+ storageLimit: z__default.ZodNullable<z__default.ZodString>;
1216
+ }, "strip", z__default.ZodTypeAny, {
1217
+ type: "NORMAL" | "SLOW" | "FAST" | "CUSTOM";
1218
+ gasLimit: string;
1219
+ storageLimit: string | null;
1220
+ }, {
1221
+ type: "NORMAL" | "SLOW" | "FAST" | "CUSTOM";
1222
+ gasLimit: string;
1223
+ storageLimit: string | null;
1224
+ }>;
1225
+ }, "strip", z__default.ZodTypeAny, {
1226
+ type: "TEZOS_LIKE_SEND";
1227
+ currency: string;
1228
+ amount: string;
1229
+ maxFee: string | null;
1230
+ recipient: string;
1231
+ feeStrategy: {
1232
+ type: "NORMAL" | "SLOW" | "FAST" | "CUSTOM";
1233
+ gasLimit: string;
1234
+ storageLimit: string | null;
1235
+ };
1236
+ }, {
1237
+ type: "TEZOS_LIKE_SEND";
1238
+ currency: string;
1239
+ amount: string;
1240
+ maxFee: string | null;
1241
+ recipient: string;
1242
+ feeStrategy: {
1243
+ type: "NORMAL" | "SLOW" | "FAST" | "CUSTOM";
1244
+ gasLimit: string;
1245
+ storageLimit: string | null;
1246
+ };
1247
+ }>]>;
1248
+ }, "strip", z__default.ZodTypeAny, {
1249
+ accountId: string;
1250
+ exchangeId: string;
1251
+ transaction: {
1252
+ type: "BITCOIN_LIKE_SEND";
1253
+ currency: string;
1254
+ amount: string;
1255
+ maxFee: string | null;
1256
+ recipient: string;
1257
+ feeStrategy: {
1258
+ type: "NORMAL" | "SLOW" | "FAST" | "CUSTOM";
1259
+ feePerByte?: string | null | undefined;
1260
+ };
1261
+ } | {
1262
+ type: "ETHEREUM_LIKE_SEND";
1263
+ currency: string;
1264
+ amount: string;
1265
+ maxFee: string | null;
1266
+ recipient: string;
1267
+ feeStrategy: {
1268
+ type: "NORMAL" | "SLOW" | "FAST" | "CUSTOM";
1269
+ gasPrice: string;
1270
+ gasLimit: string;
1271
+ } | {
1272
+ type: "NORMAL" | "SLOW" | "FAST" | "CUSTOM";
1273
+ gasLimit: string;
1274
+ maxPriorityFeePerGas: string;
1275
+ maxFeePerGas: string;
1276
+ };
1277
+ } | {
1278
+ type: "TEZOS_LIKE_SEND";
1279
+ currency: string;
1280
+ amount: string;
1281
+ maxFee: string | null;
1282
+ recipient: string;
1283
+ feeStrategy: {
1284
+ type: "NORMAL" | "SLOW" | "FAST" | "CUSTOM";
1285
+ gasLimit: string;
1286
+ storageLimit: string | null;
1287
+ };
1288
+ } | {
1289
+ type: "POLKADOT_LIKE_SEND";
1290
+ currency: string;
1291
+ amount: string;
1292
+ maxFee: string | null;
1293
+ recipient: string;
1294
+ } | {
1295
+ type: "RIPPLE_LIKE_SEND";
1296
+ currency: string;
1297
+ amount: string;
1298
+ maxFee: string | null;
1299
+ recipient: string;
1300
+ feeStrategy: {
1301
+ type: "NORMAL" | "SLOW" | "FAST" | "CUSTOM";
1302
+ };
1303
+ destinationTag: string | null;
1304
+ } | {
1305
+ type: "STELLAR_LIKE_SEND";
1306
+ currency: string;
1307
+ amount: string;
1308
+ maxFee: string | null;
1309
+ recipient: string;
1310
+ feeStrategy: {
1311
+ type: "NORMAL" | "SLOW" | "FAST";
1312
+ };
1313
+ memo: {
1314
+ MEMO_TEXT: string;
1315
+ } | {
1316
+ MEMO_ID: string;
1317
+ } | {
1318
+ MEMO_HASH: string;
1319
+ } | {
1320
+ MEMO_RETURN: string;
1321
+ } | null;
1322
+ } | {
1323
+ type: "SOLANA_LIKE_SEND";
1324
+ currency: string;
1325
+ amount: string;
1326
+ maxFee: string | null;
1327
+ recipient: string;
1328
+ feeStrategy: {
1329
+ type: "NORMAL" | "SLOW" | "FAST";
1330
+ };
1331
+ } | {
1332
+ type: "CARDANO_LIKE_SEND";
1333
+ currency: string;
1334
+ amount: string;
1335
+ maxFee: string | null;
1336
+ recipient: string;
1337
+ feeStrategy: {
1338
+ type: "NORMAL" | "SLOW" | "FAST";
1339
+ };
1340
+ };
1341
+ }, {
1342
+ accountId: string;
1343
+ exchangeId: string;
1344
+ transaction: {
1345
+ type: "BITCOIN_LIKE_SEND";
1346
+ currency: string;
1347
+ amount: string;
1348
+ maxFee: string | null;
1349
+ recipient: string;
1350
+ feeStrategy: {
1351
+ type: "NORMAL" | "SLOW" | "FAST" | "CUSTOM";
1352
+ feePerByte?: string | null | undefined;
1353
+ };
1354
+ } | {
1355
+ type: "ETHEREUM_LIKE_SEND";
1356
+ currency: string;
1357
+ amount: string;
1358
+ maxFee: string | null;
1359
+ recipient: string;
1360
+ feeStrategy: {
1361
+ type: "NORMAL" | "SLOW" | "FAST" | "CUSTOM";
1362
+ gasPrice: string;
1363
+ gasLimit: string;
1364
+ } | {
1365
+ type: "NORMAL" | "SLOW" | "FAST" | "CUSTOM";
1366
+ gasLimit: string;
1367
+ maxPriorityFeePerGas: string;
1368
+ maxFeePerGas: string;
1369
+ };
1370
+ } | {
1371
+ type: "TEZOS_LIKE_SEND";
1372
+ currency: string;
1373
+ amount: string;
1374
+ maxFee: string | null;
1375
+ recipient: string;
1376
+ feeStrategy: {
1377
+ type: "NORMAL" | "SLOW" | "FAST" | "CUSTOM";
1378
+ gasLimit: string;
1379
+ storageLimit: string | null;
1380
+ };
1381
+ } | {
1382
+ type: "POLKADOT_LIKE_SEND";
1383
+ currency: string;
1384
+ amount: string;
1385
+ maxFee: string | null;
1386
+ recipient: string;
1387
+ } | {
1388
+ type: "RIPPLE_LIKE_SEND";
1389
+ currency: string;
1390
+ amount: string;
1391
+ maxFee: string | null;
1392
+ recipient: string;
1393
+ feeStrategy: {
1394
+ type: "NORMAL" | "SLOW" | "FAST" | "CUSTOM";
1395
+ };
1396
+ destinationTag: string | null;
1397
+ } | {
1398
+ type: "STELLAR_LIKE_SEND";
1399
+ currency: string;
1400
+ amount: string;
1401
+ maxFee: string | null;
1402
+ recipient: string;
1403
+ feeStrategy: {
1404
+ type: "NORMAL" | "SLOW" | "FAST";
1405
+ };
1406
+ memo: {
1407
+ MEMO_TEXT: string;
1408
+ } | {
1409
+ MEMO_ID: string;
1410
+ } | {
1411
+ MEMO_HASH: string;
1412
+ } | {
1413
+ MEMO_RETURN: string;
1414
+ } | null;
1415
+ } | {
1416
+ type: "SOLANA_LIKE_SEND";
1417
+ currency: string;
1418
+ amount: string;
1419
+ maxFee: string | null;
1420
+ recipient: string;
1421
+ feeStrategy: {
1422
+ type: "NORMAL" | "SLOW" | "FAST";
1423
+ };
1424
+ } | {
1425
+ type: "CARDANO_LIKE_SEND";
1426
+ currency: string;
1427
+ amount: string;
1428
+ maxFee: string | null;
1429
+ recipient: string;
1430
+ feeStrategy: {
1431
+ type: "NORMAL" | "SLOW" | "FAST";
1432
+ };
1433
+ };
1434
+ }>;
1435
+ type CreateSettlementRequestData = z__default.infer<typeof zCreateSettlementRequestData>;
1436
+ declare const zForceUnpledgeRequestData: z__default.ZodObject<{
1437
+ accountId: z__default.ZodString;
1438
+ exchangeId: z__default.ZodString;
1439
+ }, "strip", z__default.ZodTypeAny, {
1440
+ accountId: string;
1441
+ exchangeId: string;
1442
+ }, {
1443
+ accountId: string;
1444
+ exchangeId: string;
1445
+ }>;
1446
+ type ForceUnpledgeRequestData = z__default.infer<typeof zForceUnpledgeRequestData>;
1447
+ declare const zTradelinkWithdrawRequestData: z__default.ZodObject<{
1448
+ accountId: z__default.ZodString;
1449
+ transaction: z__default.ZodDiscriminatedUnion<"type", [z__default.ZodObject<{
1450
+ amount: z__default.ZodString;
1451
+ currency: z__default.ZodString;
1452
+ maxFee: z__default.ZodNullable<z__default.ZodString>;
1453
+ recipient: z__default.ZodString;
1454
+ } & {
1455
+ type: z__default.ZodLiteral<"BITCOIN_LIKE_SEND">;
1456
+ feeStrategy: z__default.ZodObject<{
1457
+ type: z__default.ZodEnum<["SLOW", "NORMAL", "FAST", "CUSTOM"]>;
1458
+ } & {
1459
+ feePerByte: z__default.ZodOptional<z__default.ZodNullable<z__default.ZodString>>;
1460
+ }, "strip", z__default.ZodTypeAny, {
1461
+ type: "NORMAL" | "SLOW" | "FAST" | "CUSTOM";
1462
+ feePerByte?: string | null | undefined;
1463
+ }, {
1464
+ type: "NORMAL" | "SLOW" | "FAST" | "CUSTOM";
1465
+ feePerByte?: string | null | undefined;
1466
+ }>;
1467
+ }, "strip", z__default.ZodTypeAny, {
1468
+ type: "BITCOIN_LIKE_SEND";
1469
+ currency: string;
1470
+ amount: string;
1471
+ maxFee: string | null;
1472
+ recipient: string;
1473
+ feeStrategy: {
1474
+ type: "NORMAL" | "SLOW" | "FAST" | "CUSTOM";
1475
+ feePerByte?: string | null | undefined;
1476
+ };
1477
+ }, {
1478
+ type: "BITCOIN_LIKE_SEND";
1479
+ currency: string;
1480
+ amount: string;
1481
+ maxFee: string | null;
1482
+ recipient: string;
1483
+ feeStrategy: {
1484
+ type: "NORMAL" | "SLOW" | "FAST" | "CUSTOM";
1485
+ feePerByte?: string | null | undefined;
1486
+ };
1487
+ }>, z__default.ZodObject<{
1488
+ amount: z__default.ZodString;
1489
+ currency: z__default.ZodString;
1490
+ maxFee: z__default.ZodNullable<z__default.ZodString>;
1491
+ recipient: z__default.ZodString;
1492
+ } & {
1493
+ type: z__default.ZodLiteral<"CARDANO_LIKE_SEND">;
1494
+ feeStrategy: z__default.ZodObject<{
1495
+ type: z__default.ZodEnum<["SLOW", "NORMAL", "FAST"]>;
1496
+ }, "strip", z__default.ZodTypeAny, {
1497
+ type: "NORMAL" | "SLOW" | "FAST";
1498
+ }, {
1499
+ type: "NORMAL" | "SLOW" | "FAST";
1500
+ }>;
1501
+ }, "strip", z__default.ZodTypeAny, {
1502
+ type: "CARDANO_LIKE_SEND";
1503
+ currency: string;
1504
+ amount: string;
1505
+ maxFee: string | null;
1506
+ recipient: string;
1507
+ feeStrategy: {
1508
+ type: "NORMAL" | "SLOW" | "FAST";
1509
+ };
1510
+ }, {
1511
+ type: "CARDANO_LIKE_SEND";
1512
+ currency: string;
1513
+ amount: string;
1514
+ maxFee: string | null;
1515
+ recipient: string;
1516
+ feeStrategy: {
1517
+ type: "NORMAL" | "SLOW" | "FAST";
1518
+ };
1519
+ }>, z__default.ZodObject<{
1520
+ amount: z__default.ZodString;
1521
+ currency: z__default.ZodString;
1522
+ maxFee: z__default.ZodNullable<z__default.ZodString>;
1523
+ recipient: z__default.ZodString;
1524
+ } & {
1525
+ type: z__default.ZodLiteral<"ETHEREUM_LIKE_SEND">;
1526
+ feeStrategy: z__default.ZodUnion<[z__default.ZodObject<{
1527
+ type: z__default.ZodEnum<["SLOW", "NORMAL", "FAST", "CUSTOM"]>;
1528
+ } & {
1529
+ gasPrice: z__default.ZodString;
1530
+ gasLimit: z__default.ZodString;
1531
+ }, "strip", z__default.ZodTypeAny, {
1532
+ type: "NORMAL" | "SLOW" | "FAST" | "CUSTOM";
1533
+ gasPrice: string;
1534
+ gasLimit: string;
1535
+ }, {
1536
+ type: "NORMAL" | "SLOW" | "FAST" | "CUSTOM";
1537
+ gasPrice: string;
1538
+ gasLimit: string;
1539
+ }>, z__default.ZodObject<{
1540
+ type: z__default.ZodEnum<["SLOW", "NORMAL", "FAST", "CUSTOM"]>;
1541
+ } & {
1542
+ maxPriorityFeePerGas: z__default.ZodString;
1543
+ maxFeePerGas: z__default.ZodString;
1544
+ gasLimit: z__default.ZodString;
1545
+ }, "strip", z__default.ZodTypeAny, {
1546
+ type: "NORMAL" | "SLOW" | "FAST" | "CUSTOM";
1547
+ gasLimit: string;
1548
+ maxPriorityFeePerGas: string;
1549
+ maxFeePerGas: string;
1550
+ }, {
1551
+ type: "NORMAL" | "SLOW" | "FAST" | "CUSTOM";
1552
+ gasLimit: string;
1553
+ maxPriorityFeePerGas: string;
1554
+ maxFeePerGas: string;
1555
+ }>]>;
1556
+ }, "strip", z__default.ZodTypeAny, {
1557
+ type: "ETHEREUM_LIKE_SEND";
1558
+ currency: string;
1559
+ amount: string;
1560
+ maxFee: string | null;
1561
+ recipient: string;
1562
+ feeStrategy: {
1563
+ type: "NORMAL" | "SLOW" | "FAST" | "CUSTOM";
1564
+ gasPrice: string;
1565
+ gasLimit: string;
1566
+ } | {
1567
+ type: "NORMAL" | "SLOW" | "FAST" | "CUSTOM";
1568
+ gasLimit: string;
1569
+ maxPriorityFeePerGas: string;
1570
+ maxFeePerGas: string;
1571
+ };
1572
+ }, {
1573
+ type: "ETHEREUM_LIKE_SEND";
1574
+ currency: string;
1575
+ amount: string;
1576
+ maxFee: string | null;
1577
+ recipient: string;
1578
+ feeStrategy: {
1579
+ type: "NORMAL" | "SLOW" | "FAST" | "CUSTOM";
1580
+ gasPrice: string;
1581
+ gasLimit: string;
1582
+ } | {
1583
+ type: "NORMAL" | "SLOW" | "FAST" | "CUSTOM";
1584
+ gasLimit: string;
1585
+ maxPriorityFeePerGas: string;
1586
+ maxFeePerGas: string;
1587
+ };
1588
+ }>, z__default.ZodObject<{
1589
+ amount: z__default.ZodString;
1590
+ currency: z__default.ZodString;
1591
+ maxFee: z__default.ZodNullable<z__default.ZodString>;
1592
+ recipient: z__default.ZodString;
1593
+ } & {
1594
+ type: z__default.ZodLiteral<"POLKADOT_LIKE_SEND">;
1595
+ }, "strip", z__default.ZodTypeAny, {
1596
+ type: "POLKADOT_LIKE_SEND";
1597
+ currency: string;
1598
+ amount: string;
1599
+ maxFee: string | null;
1600
+ recipient: string;
1601
+ }, {
1602
+ type: "POLKADOT_LIKE_SEND";
1603
+ currency: string;
1604
+ amount: string;
1605
+ maxFee: string | null;
1606
+ recipient: string;
1607
+ }>, z__default.ZodObject<{
1608
+ amount: z__default.ZodString;
1609
+ currency: z__default.ZodString;
1610
+ maxFee: z__default.ZodNullable<z__default.ZodString>;
1611
+ recipient: z__default.ZodString;
1612
+ } & {
1613
+ type: z__default.ZodLiteral<"RIPPLE_LIKE_SEND">;
1614
+ destinationTag: z__default.ZodNullable<z__default.ZodString>;
1615
+ feeStrategy: z__default.ZodObject<{
1616
+ type: z__default.ZodEnum<["SLOW", "NORMAL", "FAST", "CUSTOM"]>;
1617
+ }, "strip", z__default.ZodTypeAny, {
1618
+ type: "NORMAL" | "SLOW" | "FAST" | "CUSTOM";
1619
+ }, {
1620
+ type: "NORMAL" | "SLOW" | "FAST" | "CUSTOM";
1621
+ }>;
1622
+ }, "strip", z__default.ZodTypeAny, {
1623
+ type: "RIPPLE_LIKE_SEND";
1624
+ currency: string;
1625
+ amount: string;
1626
+ maxFee: string | null;
1627
+ recipient: string;
1628
+ feeStrategy: {
1629
+ type: "NORMAL" | "SLOW" | "FAST" | "CUSTOM";
1630
+ };
1631
+ destinationTag: string | null;
1632
+ }, {
1633
+ type: "RIPPLE_LIKE_SEND";
1634
+ currency: string;
1635
+ amount: string;
1636
+ maxFee: string | null;
1637
+ recipient: string;
1638
+ feeStrategy: {
1639
+ type: "NORMAL" | "SLOW" | "FAST" | "CUSTOM";
1640
+ };
1641
+ destinationTag: string | null;
1642
+ }>, z__default.ZodObject<{
1643
+ amount: z__default.ZodString;
1644
+ currency: z__default.ZodString;
1645
+ maxFee: z__default.ZodNullable<z__default.ZodString>;
1646
+ recipient: z__default.ZodString;
1647
+ } & {
1648
+ type: z__default.ZodLiteral<"SOLANA_LIKE_SEND">;
1649
+ feeStrategy: z__default.ZodObject<{
1650
+ type: z__default.ZodEnum<["SLOW", "NORMAL", "FAST"]>;
1651
+ }, "strip", z__default.ZodTypeAny, {
1652
+ type: "NORMAL" | "SLOW" | "FAST";
1653
+ }, {
1654
+ type: "NORMAL" | "SLOW" | "FAST";
1655
+ }>;
1656
+ }, "strip", z__default.ZodTypeAny, {
1657
+ type: "SOLANA_LIKE_SEND";
1658
+ currency: string;
1659
+ amount: string;
1660
+ maxFee: string | null;
1661
+ recipient: string;
1662
+ feeStrategy: {
1663
+ type: "NORMAL" | "SLOW" | "FAST";
1664
+ };
1665
+ }, {
1666
+ type: "SOLANA_LIKE_SEND";
1667
+ currency: string;
1668
+ amount: string;
1669
+ maxFee: string | null;
1670
+ recipient: string;
1671
+ feeStrategy: {
1672
+ type: "NORMAL" | "SLOW" | "FAST";
1673
+ };
1674
+ }>, z__default.ZodObject<{
1675
+ amount: z__default.ZodString;
1676
+ currency: z__default.ZodString;
1677
+ maxFee: z__default.ZodNullable<z__default.ZodString>;
1678
+ recipient: z__default.ZodString;
1679
+ } & {
1680
+ type: z__default.ZodLiteral<"STELLAR_LIKE_SEND">;
1681
+ memo: z__default.ZodNullable<z__default.ZodUnion<[z__default.ZodObject<{
1682
+ MEMO_TEXT: z__default.ZodString;
1683
+ }, "strip", z__default.ZodTypeAny, {
1684
+ MEMO_TEXT: string;
1685
+ }, {
1686
+ MEMO_TEXT: string;
1687
+ }>, z__default.ZodObject<{
1688
+ MEMO_ID: z__default.ZodString;
1689
+ }, "strip", z__default.ZodTypeAny, {
1690
+ MEMO_ID: string;
1691
+ }, {
1692
+ MEMO_ID: string;
1693
+ }>, z__default.ZodObject<{
1694
+ MEMO_HASH: z__default.ZodString;
1695
+ }, "strip", z__default.ZodTypeAny, {
1696
+ MEMO_HASH: string;
1697
+ }, {
1698
+ MEMO_HASH: string;
1699
+ }>, z__default.ZodObject<{
1700
+ MEMO_RETURN: z__default.ZodString;
1701
+ }, "strip", z__default.ZodTypeAny, {
1702
+ MEMO_RETURN: string;
1703
+ }, {
1704
+ MEMO_RETURN: string;
1705
+ }>]>>;
1706
+ feeStrategy: z__default.ZodObject<{
1707
+ type: z__default.ZodEnum<["SLOW", "NORMAL", "FAST"]>;
1708
+ }, "strip", z__default.ZodTypeAny, {
1709
+ type: "NORMAL" | "SLOW" | "FAST";
1710
+ }, {
1711
+ type: "NORMAL" | "SLOW" | "FAST";
1712
+ }>;
1713
+ }, "strip", z__default.ZodTypeAny, {
1714
+ type: "STELLAR_LIKE_SEND";
1715
+ currency: string;
1716
+ amount: string;
1717
+ maxFee: string | null;
1718
+ recipient: string;
1719
+ feeStrategy: {
1720
+ type: "NORMAL" | "SLOW" | "FAST";
1721
+ };
1722
+ memo: {
1723
+ MEMO_TEXT: string;
1724
+ } | {
1725
+ MEMO_ID: string;
1726
+ } | {
1727
+ MEMO_HASH: string;
1728
+ } | {
1729
+ MEMO_RETURN: string;
1730
+ } | null;
1731
+ }, {
1732
+ type: "STELLAR_LIKE_SEND";
1733
+ currency: string;
1734
+ amount: string;
1735
+ maxFee: string | null;
1736
+ recipient: string;
1737
+ feeStrategy: {
1738
+ type: "NORMAL" | "SLOW" | "FAST";
1739
+ };
1740
+ memo: {
1741
+ MEMO_TEXT: string;
1742
+ } | {
1743
+ MEMO_ID: string;
1744
+ } | {
1745
+ MEMO_HASH: string;
1746
+ } | {
1747
+ MEMO_RETURN: string;
1748
+ } | null;
1749
+ }>, z__default.ZodObject<{
1750
+ amount: z__default.ZodString;
1751
+ currency: z__default.ZodString;
1752
+ maxFee: z__default.ZodNullable<z__default.ZodString>;
1753
+ recipient: z__default.ZodString;
1754
+ } & {
1755
+ type: z__default.ZodLiteral<"TEZOS_LIKE_SEND">;
1756
+ feeStrategy: z__default.ZodObject<{
1757
+ type: z__default.ZodEnum<["SLOW", "NORMAL", "FAST", "CUSTOM"]>;
1758
+ } & {
1759
+ gasLimit: z__default.ZodString;
1760
+ storageLimit: z__default.ZodNullable<z__default.ZodString>;
1761
+ }, "strip", z__default.ZodTypeAny, {
1762
+ type: "NORMAL" | "SLOW" | "FAST" | "CUSTOM";
1763
+ gasLimit: string;
1764
+ storageLimit: string | null;
1765
+ }, {
1766
+ type: "NORMAL" | "SLOW" | "FAST" | "CUSTOM";
1767
+ gasLimit: string;
1768
+ storageLimit: string | null;
1769
+ }>;
1770
+ }, "strip", z__default.ZodTypeAny, {
1771
+ type: "TEZOS_LIKE_SEND";
1772
+ currency: string;
1773
+ amount: string;
1774
+ maxFee: string | null;
1775
+ recipient: string;
1776
+ feeStrategy: {
1777
+ type: "NORMAL" | "SLOW" | "FAST" | "CUSTOM";
1778
+ gasLimit: string;
1779
+ storageLimit: string | null;
1780
+ };
1781
+ }, {
1782
+ type: "TEZOS_LIKE_SEND";
1783
+ currency: string;
1784
+ amount: string;
1785
+ maxFee: string | null;
1786
+ recipient: string;
1787
+ feeStrategy: {
1788
+ type: "NORMAL" | "SLOW" | "FAST" | "CUSTOM";
1789
+ gasLimit: string;
1790
+ storageLimit: string | null;
1791
+ };
1792
+ }>]>;
1793
+ }, "strip", z__default.ZodTypeAny, {
1794
+ accountId: string;
1795
+ transaction: {
1796
+ type: "BITCOIN_LIKE_SEND";
1797
+ currency: string;
1798
+ amount: string;
1799
+ maxFee: string | null;
1800
+ recipient: string;
1801
+ feeStrategy: {
1802
+ type: "NORMAL" | "SLOW" | "FAST" | "CUSTOM";
1803
+ feePerByte?: string | null | undefined;
1804
+ };
1805
+ } | {
1806
+ type: "ETHEREUM_LIKE_SEND";
1807
+ currency: string;
1808
+ amount: string;
1809
+ maxFee: string | null;
1810
+ recipient: string;
1811
+ feeStrategy: {
1812
+ type: "NORMAL" | "SLOW" | "FAST" | "CUSTOM";
1813
+ gasPrice: string;
1814
+ gasLimit: string;
1815
+ } | {
1816
+ type: "NORMAL" | "SLOW" | "FAST" | "CUSTOM";
1817
+ gasLimit: string;
1818
+ maxPriorityFeePerGas: string;
1819
+ maxFeePerGas: string;
1820
+ };
1821
+ } | {
1822
+ type: "TEZOS_LIKE_SEND";
1823
+ currency: string;
1824
+ amount: string;
1825
+ maxFee: string | null;
1826
+ recipient: string;
1827
+ feeStrategy: {
1828
+ type: "NORMAL" | "SLOW" | "FAST" | "CUSTOM";
1829
+ gasLimit: string;
1830
+ storageLimit: string | null;
1831
+ };
1832
+ } | {
1833
+ type: "POLKADOT_LIKE_SEND";
1834
+ currency: string;
1835
+ amount: string;
1836
+ maxFee: string | null;
1837
+ recipient: string;
1838
+ } | {
1839
+ type: "RIPPLE_LIKE_SEND";
1840
+ currency: string;
1841
+ amount: string;
1842
+ maxFee: string | null;
1843
+ recipient: string;
1844
+ feeStrategy: {
1845
+ type: "NORMAL" | "SLOW" | "FAST" | "CUSTOM";
1846
+ };
1847
+ destinationTag: string | null;
1848
+ } | {
1849
+ type: "STELLAR_LIKE_SEND";
1850
+ currency: string;
1851
+ amount: string;
1852
+ maxFee: string | null;
1853
+ recipient: string;
1854
+ feeStrategy: {
1855
+ type: "NORMAL" | "SLOW" | "FAST";
1856
+ };
1857
+ memo: {
1858
+ MEMO_TEXT: string;
1859
+ } | {
1860
+ MEMO_ID: string;
1861
+ } | {
1862
+ MEMO_HASH: string;
1863
+ } | {
1864
+ MEMO_RETURN: string;
1865
+ } | null;
1866
+ } | {
1867
+ type: "SOLANA_LIKE_SEND";
1868
+ currency: string;
1869
+ amount: string;
1870
+ maxFee: string | null;
1871
+ recipient: string;
1872
+ feeStrategy: {
1873
+ type: "NORMAL" | "SLOW" | "FAST";
1874
+ };
1875
+ } | {
1876
+ type: "CARDANO_LIKE_SEND";
1877
+ currency: string;
1878
+ amount: string;
1879
+ maxFee: string | null;
1880
+ recipient: string;
1881
+ feeStrategy: {
1882
+ type: "NORMAL" | "SLOW" | "FAST";
1883
+ };
1884
+ };
1885
+ }, {
1886
+ accountId: string;
1887
+ transaction: {
1888
+ type: "BITCOIN_LIKE_SEND";
1889
+ currency: string;
1890
+ amount: string;
1891
+ maxFee: string | null;
1892
+ recipient: string;
1893
+ feeStrategy: {
1894
+ type: "NORMAL" | "SLOW" | "FAST" | "CUSTOM";
1895
+ feePerByte?: string | null | undefined;
1896
+ };
1897
+ } | {
1898
+ type: "ETHEREUM_LIKE_SEND";
1899
+ currency: string;
1900
+ amount: string;
1901
+ maxFee: string | null;
1902
+ recipient: string;
1903
+ feeStrategy: {
1904
+ type: "NORMAL" | "SLOW" | "FAST" | "CUSTOM";
1905
+ gasPrice: string;
1906
+ gasLimit: string;
1907
+ } | {
1908
+ type: "NORMAL" | "SLOW" | "FAST" | "CUSTOM";
1909
+ gasLimit: string;
1910
+ maxPriorityFeePerGas: string;
1911
+ maxFeePerGas: string;
1912
+ };
1913
+ } | {
1914
+ type: "TEZOS_LIKE_SEND";
1915
+ currency: string;
1916
+ amount: string;
1917
+ maxFee: string | null;
1918
+ recipient: string;
1919
+ feeStrategy: {
1920
+ type: "NORMAL" | "SLOW" | "FAST" | "CUSTOM";
1921
+ gasLimit: string;
1922
+ storageLimit: string | null;
1923
+ };
1924
+ } | {
1925
+ type: "POLKADOT_LIKE_SEND";
1926
+ currency: string;
1927
+ amount: string;
1928
+ maxFee: string | null;
1929
+ recipient: string;
1930
+ } | {
1931
+ type: "RIPPLE_LIKE_SEND";
1932
+ currency: string;
1933
+ amount: string;
1934
+ maxFee: string | null;
1935
+ recipient: string;
1936
+ feeStrategy: {
1937
+ type: "NORMAL" | "SLOW" | "FAST" | "CUSTOM";
1938
+ };
1939
+ destinationTag: string | null;
1940
+ } | {
1941
+ type: "STELLAR_LIKE_SEND";
1942
+ currency: string;
1943
+ amount: string;
1944
+ maxFee: string | null;
1945
+ recipient: string;
1946
+ feeStrategy: {
1947
+ type: "NORMAL" | "SLOW" | "FAST";
1948
+ };
1949
+ memo: {
1950
+ MEMO_TEXT: string;
1951
+ } | {
1952
+ MEMO_ID: string;
1953
+ } | {
1954
+ MEMO_HASH: string;
1955
+ } | {
1956
+ MEMO_RETURN: string;
1957
+ } | null;
1958
+ } | {
1959
+ type: "SOLANA_LIKE_SEND";
1960
+ currency: string;
1961
+ amount: string;
1962
+ maxFee: string | null;
1963
+ recipient: string;
1964
+ feeStrategy: {
1965
+ type: "NORMAL" | "SLOW" | "FAST";
1966
+ };
1967
+ } | {
1968
+ type: "CARDANO_LIKE_SEND";
1969
+ currency: string;
1970
+ amount: string;
1971
+ maxFee: string | null;
1972
+ recipient: string;
1973
+ feeStrategy: {
1974
+ type: "NORMAL" | "SLOW" | "FAST";
1975
+ };
1976
+ };
1977
+ }>;
1978
+ type TradelinkWithdrawRequestData = z__default.infer<typeof zTradelinkWithdrawRequestData>;
1979
+
1980
+ /**
1981
+ * Schema of `Request.data` for `CREATE_TRANSACTION` request.
1982
+ */
1983
+ declare const zCreateTransactionRequestData: z__default.ZodObject<{
1984
+ accountId: z__default.ZodString;
1985
+ transaction: z__default.ZodDiscriminatedUnion<"type", [z__default.ZodObject<{
1986
+ amount: z__default.ZodString;
1987
+ currency: z__default.ZodString;
1988
+ maxFee: z__default.ZodNullable<z__default.ZodString>;
1989
+ recipient: z__default.ZodString;
1990
+ } & {
1991
+ type: z__default.ZodLiteral<"BITCOIN_LIKE_SEND">;
1992
+ feeStrategy: z__default.ZodObject<{
1993
+ type: z__default.ZodEnum<["SLOW", "NORMAL", "FAST", "CUSTOM"]>;
1994
+ } & {
1995
+ feePerByte: z__default.ZodOptional<z__default.ZodNullable<z__default.ZodString>>;
1996
+ }, "strip", z__default.ZodTypeAny, {
1997
+ type: "NORMAL" | "SLOW" | "FAST" | "CUSTOM";
1998
+ feePerByte?: string | null | undefined;
1999
+ }, {
2000
+ type: "NORMAL" | "SLOW" | "FAST" | "CUSTOM";
2001
+ feePerByte?: string | null | undefined;
2002
+ }>;
2003
+ }, "strip", z__default.ZodTypeAny, {
2004
+ type: "BITCOIN_LIKE_SEND";
2005
+ currency: string;
2006
+ amount: string;
2007
+ maxFee: string | null;
2008
+ recipient: string;
2009
+ feeStrategy: {
2010
+ type: "NORMAL" | "SLOW" | "FAST" | "CUSTOM";
2011
+ feePerByte?: string | null | undefined;
2012
+ };
2013
+ }, {
2014
+ type: "BITCOIN_LIKE_SEND";
2015
+ currency: string;
2016
+ amount: string;
2017
+ maxFee: string | null;
2018
+ recipient: string;
2019
+ feeStrategy: {
2020
+ type: "NORMAL" | "SLOW" | "FAST" | "CUSTOM";
2021
+ feePerByte?: string | null | undefined;
2022
+ };
2023
+ }>, z__default.ZodObject<{
2024
+ amount: z__default.ZodString;
2025
+ currency: z__default.ZodString;
2026
+ maxFee: z__default.ZodNullable<z__default.ZodString>;
2027
+ recipient: z__default.ZodString;
2028
+ } & {
2029
+ type: z__default.ZodLiteral<"CARDANO_LIKE_SEND">;
2030
+ feeStrategy: z__default.ZodObject<{
2031
+ type: z__default.ZodEnum<["SLOW", "NORMAL", "FAST"]>;
2032
+ }, "strip", z__default.ZodTypeAny, {
2033
+ type: "NORMAL" | "SLOW" | "FAST";
2034
+ }, {
2035
+ type: "NORMAL" | "SLOW" | "FAST";
2036
+ }>;
2037
+ }, "strip", z__default.ZodTypeAny, {
2038
+ type: "CARDANO_LIKE_SEND";
2039
+ currency: string;
2040
+ amount: string;
2041
+ maxFee: string | null;
2042
+ recipient: string;
2043
+ feeStrategy: {
2044
+ type: "NORMAL" | "SLOW" | "FAST";
2045
+ };
2046
+ }, {
2047
+ type: "CARDANO_LIKE_SEND";
2048
+ currency: string;
2049
+ amount: string;
2050
+ maxFee: string | null;
2051
+ recipient: string;
2052
+ feeStrategy: {
2053
+ type: "NORMAL" | "SLOW" | "FAST";
2054
+ };
2055
+ }>, z__default.ZodObject<{
2056
+ type: z__default.ZodLiteral<"CARDANO_LIKE_STAKING_DELEGATE">;
2057
+ currency: z__default.ZodString;
2058
+ maxFee: z__default.ZodNullable<z__default.ZodString>;
2059
+ feeStrategy: z__default.ZodObject<{
2060
+ type: z__default.ZodEnum<["SLOW", "NORMAL", "FAST"]>;
2061
+ }, "strip", z__default.ZodTypeAny, {
2062
+ type: "NORMAL" | "SLOW" | "FAST";
2063
+ }, {
2064
+ type: "NORMAL" | "SLOW" | "FAST";
2065
+ }>;
2066
+ stakePoolId: z__default.ZodString;
2067
+ }, "strip", z__default.ZodTypeAny, {
2068
+ type: "CARDANO_LIKE_STAKING_DELEGATE";
2069
+ currency: string;
2070
+ maxFee: string | null;
2071
+ feeStrategy: {
2072
+ type: "NORMAL" | "SLOW" | "FAST";
2073
+ };
2074
+ stakePoolId: string;
2075
+ }, {
2076
+ type: "CARDANO_LIKE_STAKING_DELEGATE";
2077
+ currency: string;
2078
+ maxFee: string | null;
2079
+ feeStrategy: {
2080
+ type: "NORMAL" | "SLOW" | "FAST";
2081
+ };
2082
+ stakePoolId: string;
2083
+ }>, z__default.ZodObject<{
2084
+ type: z__default.ZodLiteral<"CARDANO_LIKE_STAKING_DEREGISTER">;
2085
+ currency: z__default.ZodString;
2086
+ maxFee: z__default.ZodNullable<z__default.ZodString>;
2087
+ feeStrategy: z__default.ZodObject<{
2088
+ type: z__default.ZodEnum<["SLOW", "NORMAL", "FAST"]>;
2089
+ }, "strip", z__default.ZodTypeAny, {
2090
+ type: "NORMAL" | "SLOW" | "FAST";
2091
+ }, {
2092
+ type: "NORMAL" | "SLOW" | "FAST";
2093
+ }>;
2094
+ amount: z__default.ZodString;
2095
+ }, "strip", z__default.ZodTypeAny, {
2096
+ type: "CARDANO_LIKE_STAKING_DEREGISTER";
2097
+ currency: string;
2098
+ amount: string;
2099
+ maxFee: string | null;
2100
+ feeStrategy: {
2101
+ type: "NORMAL" | "SLOW" | "FAST";
2102
+ };
2103
+ }, {
2104
+ type: "CARDANO_LIKE_STAKING_DEREGISTER";
2105
+ currency: string;
2106
+ amount: string;
2107
+ maxFee: string | null;
2108
+ feeStrategy: {
2109
+ type: "NORMAL" | "SLOW" | "FAST";
2110
+ };
2111
+ }>, z__default.ZodObject<{
2112
+ type: z__default.ZodLiteral<"CARDANO_LIKE_STAKING_REGISTER">;
2113
+ currency: z__default.ZodString;
2114
+ maxFee: z__default.ZodNullable<z__default.ZodString>;
2115
+ feeStrategy: z__default.ZodObject<{
2116
+ type: z__default.ZodEnum<["SLOW", "NORMAL", "FAST"]>;
2117
+ }, "strip", z__default.ZodTypeAny, {
2118
+ type: "NORMAL" | "SLOW" | "FAST";
2119
+ }, {
2120
+ type: "NORMAL" | "SLOW" | "FAST";
2121
+ }>;
2122
+ amount: z__default.ZodString;
2123
+ }, "strip", z__default.ZodTypeAny, {
2124
+ type: "CARDANO_LIKE_STAKING_REGISTER";
2125
+ currency: string;
2126
+ amount: string;
2127
+ maxFee: string | null;
2128
+ feeStrategy: {
2129
+ type: "NORMAL" | "SLOW" | "FAST";
2130
+ };
2131
+ }, {
2132
+ type: "CARDANO_LIKE_STAKING_REGISTER";
2133
+ currency: string;
2134
+ amount: string;
2135
+ maxFee: string | null;
2136
+ feeStrategy: {
2137
+ type: "NORMAL" | "SLOW" | "FAST";
2138
+ };
2139
+ }>, z__default.ZodObject<{
2140
+ type: z__default.ZodLiteral<"CARDANO_LIKE_STAKING_WITHDRAW">;
2141
+ currency: z__default.ZodString;
2142
+ maxFee: z__default.ZodNullable<z__default.ZodString>;
2143
+ feeStrategy: z__default.ZodObject<{
2144
+ type: z__default.ZodEnum<["SLOW", "NORMAL", "FAST"]>;
2145
+ }, "strip", z__default.ZodTypeAny, {
2146
+ type: "NORMAL" | "SLOW" | "FAST";
2147
+ }, {
2148
+ type: "NORMAL" | "SLOW" | "FAST";
2149
+ }>;
2150
+ amount: z__default.ZodString;
2151
+ }, "strip", z__default.ZodTypeAny, {
2152
+ type: "CARDANO_LIKE_STAKING_WITHDRAW";
2153
+ currency: string;
2154
+ amount: string;
2155
+ maxFee: string | null;
2156
+ feeStrategy: {
2157
+ type: "NORMAL" | "SLOW" | "FAST";
2158
+ };
2159
+ }, {
2160
+ type: "CARDANO_LIKE_STAKING_WITHDRAW";
2161
+ currency: string;
2162
+ amount: string;
2163
+ maxFee: string | null;
2164
+ feeStrategy: {
2165
+ type: "NORMAL" | "SLOW" | "FAST";
2166
+ };
2167
+ }>, z__default.ZodObject<{
2168
+ amount: z__default.ZodString;
2169
+ currency: z__default.ZodString;
2170
+ maxFee: z__default.ZodNullable<z__default.ZodString>;
2171
+ } & {
2172
+ type: z__default.ZodLiteral<"ETHEREUM_LIKE_DEPLOY_CONTRACT">;
2173
+ recipient: z__default.ZodLiteral<"0x0000000000000000000000000000000000000000">;
2174
+ contractData: z__default.ZodEffects<z__default.ZodString, string, string>;
2175
+ feeStrategy: z__default.ZodUnion<[z__default.ZodObject<{
2176
+ type: z__default.ZodEnum<["SLOW", "NORMAL", "FAST", "CUSTOM"]>;
2177
+ } & {
2178
+ gasPrice: z__default.ZodString;
2179
+ gasLimit: z__default.ZodString;
2180
+ }, "strip", z__default.ZodTypeAny, {
2181
+ type: "NORMAL" | "SLOW" | "FAST" | "CUSTOM";
2182
+ gasPrice: string;
2183
+ gasLimit: string;
2184
+ }, {
2185
+ type: "NORMAL" | "SLOW" | "FAST" | "CUSTOM";
2186
+ gasPrice: string;
2187
+ gasLimit: string;
2188
+ }>, z__default.ZodObject<{
2189
+ type: z__default.ZodEnum<["SLOW", "NORMAL", "FAST", "CUSTOM"]>;
2190
+ } & {
2191
+ maxPriorityFeePerGas: z__default.ZodString;
2192
+ maxFeePerGas: z__default.ZodString;
2193
+ gasLimit: z__default.ZodString;
2194
+ }, "strip", z__default.ZodTypeAny, {
2195
+ type: "NORMAL" | "SLOW" | "FAST" | "CUSTOM";
2196
+ gasLimit: string;
2197
+ maxPriorityFeePerGas: string;
2198
+ maxFeePerGas: string;
2199
+ }, {
2200
+ type: "NORMAL" | "SLOW" | "FAST" | "CUSTOM";
2201
+ gasLimit: string;
2202
+ maxPriorityFeePerGas: string;
2203
+ maxFeePerGas: string;
2204
+ }>]>;
2205
+ }, "strip", z__default.ZodTypeAny, {
2206
+ type: "ETHEREUM_LIKE_DEPLOY_CONTRACT";
2207
+ currency: string;
2208
+ amount: string;
2209
+ maxFee: string | null;
2210
+ recipient: "0x0000000000000000000000000000000000000000";
2211
+ feeStrategy: {
2212
+ type: "NORMAL" | "SLOW" | "FAST" | "CUSTOM";
2213
+ gasPrice: string;
2214
+ gasLimit: string;
2215
+ } | {
2216
+ type: "NORMAL" | "SLOW" | "FAST" | "CUSTOM";
2217
+ gasLimit: string;
2218
+ maxPriorityFeePerGas: string;
2219
+ maxFeePerGas: string;
2220
+ };
2221
+ contractData: string;
2222
+ }, {
2223
+ type: "ETHEREUM_LIKE_DEPLOY_CONTRACT";
2224
+ currency: string;
2225
+ amount: string;
2226
+ maxFee: string | null;
2227
+ recipient: "0x0000000000000000000000000000000000000000";
2228
+ feeStrategy: {
2229
+ type: "NORMAL" | "SLOW" | "FAST" | "CUSTOM";
2230
+ gasPrice: string;
2231
+ gasLimit: string;
2232
+ } | {
2233
+ type: "NORMAL" | "SLOW" | "FAST" | "CUSTOM";
2234
+ gasLimit: string;
2235
+ maxPriorityFeePerGas: string;
2236
+ maxFeePerGas: string;
2237
+ };
2238
+ contractData: string;
2239
+ }>, z__default.ZodObject<{
2240
+ amount: z__default.ZodString;
2241
+ currency: z__default.ZodString;
2242
+ maxFee: z__default.ZodNullable<z__default.ZodString>;
2243
+ recipient: z__default.ZodString;
2244
+ } & {
2245
+ type: z__default.ZodLiteral<"ETHEREUM_LIKE_EXECUTE_CONTRACT">;
2246
+ contractData: z__default.ZodEffects<z__default.ZodString, string, string>;
2247
+ feeStrategy: z__default.ZodUnion<[z__default.ZodObject<{
2248
+ type: z__default.ZodEnum<["SLOW", "NORMAL", "FAST", "CUSTOM"]>;
2249
+ } & {
2250
+ gasPrice: z__default.ZodString;
2251
+ gasLimit: z__default.ZodString;
2252
+ }, "strip", z__default.ZodTypeAny, {
2253
+ type: "NORMAL" | "SLOW" | "FAST" | "CUSTOM";
2254
+ gasPrice: string;
2255
+ gasLimit: string;
2256
+ }, {
2257
+ type: "NORMAL" | "SLOW" | "FAST" | "CUSTOM";
2258
+ gasPrice: string;
2259
+ gasLimit: string;
2260
+ }>, z__default.ZodObject<{
2261
+ type: z__default.ZodEnum<["SLOW", "NORMAL", "FAST", "CUSTOM"]>;
2262
+ } & {
2263
+ maxPriorityFeePerGas: z__default.ZodString;
2264
+ maxFeePerGas: z__default.ZodString;
2265
+ gasLimit: z__default.ZodString;
2266
+ }, "strip", z__default.ZodTypeAny, {
2267
+ type: "NORMAL" | "SLOW" | "FAST" | "CUSTOM";
2268
+ gasLimit: string;
2269
+ maxPriorityFeePerGas: string;
2270
+ maxFeePerGas: string;
2271
+ }, {
2272
+ type: "NORMAL" | "SLOW" | "FAST" | "CUSTOM";
2273
+ gasLimit: string;
2274
+ maxPriorityFeePerGas: string;
2275
+ maxFeePerGas: string;
2276
+ }>]>;
2277
+ }, "strip", z__default.ZodTypeAny, {
2278
+ type: "ETHEREUM_LIKE_EXECUTE_CONTRACT";
2279
+ currency: string;
2280
+ amount: string;
2281
+ maxFee: string | null;
2282
+ recipient: string;
2283
+ feeStrategy: {
2284
+ type: "NORMAL" | "SLOW" | "FAST" | "CUSTOM";
2285
+ gasPrice: string;
2286
+ gasLimit: string;
2287
+ } | {
2288
+ type: "NORMAL" | "SLOW" | "FAST" | "CUSTOM";
2289
+ gasLimit: string;
2290
+ maxPriorityFeePerGas: string;
2291
+ maxFeePerGas: string;
2292
+ };
2293
+ contractData: string;
2294
+ }, {
2295
+ type: "ETHEREUM_LIKE_EXECUTE_CONTRACT";
2296
+ currency: string;
2297
+ amount: string;
2298
+ maxFee: string | null;
2299
+ recipient: string;
2300
+ feeStrategy: {
2301
+ type: "NORMAL" | "SLOW" | "FAST" | "CUSTOM";
2302
+ gasPrice: string;
2303
+ gasLimit: string;
2304
+ } | {
2305
+ type: "NORMAL" | "SLOW" | "FAST" | "CUSTOM";
2306
+ gasLimit: string;
2307
+ maxPriorityFeePerGas: string;
2308
+ maxFeePerGas: string;
2309
+ };
2310
+ contractData: string;
2311
+ }>, z__default.ZodObject<{
2312
+ amount: z__default.ZodString;
2313
+ currency: z__default.ZodString;
2314
+ maxFee: z__default.ZodNullable<z__default.ZodString>;
2315
+ recipient: z__default.ZodString;
2316
+ } & {
2317
+ type: z__default.ZodLiteral<"ETHEREUM_LIKE_SEND">;
2318
+ feeStrategy: z__default.ZodUnion<[z__default.ZodObject<{
2319
+ type: z__default.ZodEnum<["SLOW", "NORMAL", "FAST", "CUSTOM"]>;
2320
+ } & {
2321
+ gasPrice: z__default.ZodString;
2322
+ gasLimit: z__default.ZodString;
2323
+ }, "strip", z__default.ZodTypeAny, {
2324
+ type: "NORMAL" | "SLOW" | "FAST" | "CUSTOM";
2325
+ gasPrice: string;
2326
+ gasLimit: string;
2327
+ }, {
2328
+ type: "NORMAL" | "SLOW" | "FAST" | "CUSTOM";
2329
+ gasPrice: string;
2330
+ gasLimit: string;
2331
+ }>, z__default.ZodObject<{
2332
+ type: z__default.ZodEnum<["SLOW", "NORMAL", "FAST", "CUSTOM"]>;
2333
+ } & {
2334
+ maxPriorityFeePerGas: z__default.ZodString;
2335
+ maxFeePerGas: z__default.ZodString;
2336
+ gasLimit: z__default.ZodString;
2337
+ }, "strip", z__default.ZodTypeAny, {
2338
+ type: "NORMAL" | "SLOW" | "FAST" | "CUSTOM";
2339
+ gasLimit: string;
2340
+ maxPriorityFeePerGas: string;
2341
+ maxFeePerGas: string;
2342
+ }, {
2343
+ type: "NORMAL" | "SLOW" | "FAST" | "CUSTOM";
2344
+ gasLimit: string;
2345
+ maxPriorityFeePerGas: string;
2346
+ maxFeePerGas: string;
2347
+ }>]>;
2348
+ }, "strip", z__default.ZodTypeAny, {
2349
+ type: "ETHEREUM_LIKE_SEND";
2350
+ currency: string;
2351
+ amount: string;
2352
+ maxFee: string | null;
2353
+ recipient: string;
2354
+ feeStrategy: {
2355
+ type: "NORMAL" | "SLOW" | "FAST" | "CUSTOM";
2356
+ gasPrice: string;
2357
+ gasLimit: string;
2358
+ } | {
2359
+ type: "NORMAL" | "SLOW" | "FAST" | "CUSTOM";
2360
+ gasLimit: string;
2361
+ maxPriorityFeePerGas: string;
2362
+ maxFeePerGas: string;
2363
+ };
2364
+ }, {
2365
+ type: "ETHEREUM_LIKE_SEND";
2366
+ currency: string;
2367
+ amount: string;
2368
+ maxFee: string | null;
2369
+ recipient: string;
2370
+ feeStrategy: {
2371
+ type: "NORMAL" | "SLOW" | "FAST" | "CUSTOM";
2372
+ gasPrice: string;
2373
+ gasLimit: string;
2374
+ } | {
2375
+ type: "NORMAL" | "SLOW" | "FAST" | "CUSTOM";
2376
+ gasLimit: string;
2377
+ maxPriorityFeePerGas: string;
2378
+ maxFeePerGas: string;
2379
+ };
2380
+ }>, z__default.ZodObject<{
2381
+ type: z__default.ZodLiteral<"GENERIC_TRANSACTION">;
2382
+ currency: z__default.ZodString;
2383
+ rawTx: z__default.ZodString;
2384
+ }, "strip", z__default.ZodTypeAny, {
2385
+ type: "GENERIC_TRANSACTION";
2386
+ currency: string;
2387
+ rawTx: string;
2388
+ }, {
2389
+ type: "GENERIC_TRANSACTION";
2390
+ currency: string;
2391
+ rawTx: string;
2392
+ }>, z__default.ZodObject<{
2393
+ type: z__default.ZodLiteral<"POLKADOT_LIKE_ADDPROXY">;
2394
+ currency: z__default.ZodString;
2395
+ kind: z__default.ZodLiteral<"Staking">;
2396
+ proxy: z__default.ZodString;
2397
+ }, "strip", z__default.ZodTypeAny, {
2398
+ type: "POLKADOT_LIKE_ADDPROXY";
2399
+ proxy: string;
2400
+ currency: string;
2401
+ kind: "Staking";
2402
+ }, {
2403
+ type: "POLKADOT_LIKE_ADDPROXY";
2404
+ proxy: string;
2405
+ currency: string;
2406
+ kind: "Staking";
2407
+ }>, z__default.ZodObject<{
2408
+ type: z__default.ZodLiteral<"POLKADOT_LIKE_ANONYMOUSPROXY">;
2409
+ currency: z__default.ZodString;
2410
+ }, "strip", z__default.ZodTypeAny, {
2411
+ type: "POLKADOT_LIKE_ANONYMOUSPROXY";
2412
+ currency: string;
2413
+ }, {
2414
+ type: "POLKADOT_LIKE_ANONYMOUSPROXY";
2415
+ currency: string;
2416
+ }>, z__default.ZodObject<{
2417
+ type: z__default.ZodLiteral<"POLKADOT_LIKE_BOND">;
2418
+ currency: z__default.ZodString;
2419
+ payee: z__default.ZodEnum<["Staked", "Stash"]>;
2420
+ amount: z__default.ZodString;
2421
+ }, "strip", z__default.ZodTypeAny, {
2422
+ type: "POLKADOT_LIKE_BOND";
2423
+ currency: string;
2424
+ amount: string;
2425
+ payee: "Staked" | "Stash";
2426
+ }, {
2427
+ type: "POLKADOT_LIKE_BOND";
2428
+ currency: string;
2429
+ amount: string;
2430
+ payee: "Staked" | "Stash";
2431
+ }>, z__default.ZodObject<{
2432
+ type: z__default.ZodLiteral<"POLKADOT_LIKE_BONDEXTRA">;
2433
+ currency: z__default.ZodString;
2434
+ amount: z__default.ZodString;
2435
+ }, "strip", z__default.ZodTypeAny, {
2436
+ type: "POLKADOT_LIKE_BONDEXTRA";
2437
+ currency: string;
2438
+ amount: string;
2439
+ }, {
2440
+ type: "POLKADOT_LIKE_BONDEXTRA";
2441
+ currency: string;
2442
+ amount: string;
2443
+ }>, z__default.ZodObject<{
2444
+ type: z__default.ZodLiteral<"POLKADOT_LIKE_CHILL">;
2445
+ currency: z__default.ZodString;
2446
+ }, "strip", z__default.ZodTypeAny, {
2447
+ type: "POLKADOT_LIKE_CHILL";
2448
+ currency: string;
2449
+ }, {
2450
+ type: "POLKADOT_LIKE_CHILL";
2451
+ currency: string;
2452
+ }>, z__default.ZodObject<{
2453
+ type: z__default.ZodLiteral<"POLKADOT_LIKE_KILLANONYMOUS">;
2454
+ currency: z__default.ZodString;
2455
+ }, "strip", z__default.ZodTypeAny, {
2456
+ type: "POLKADOT_LIKE_KILLANONYMOUS";
2457
+ currency: string;
2458
+ }, {
2459
+ type: "POLKADOT_LIKE_KILLANONYMOUS";
2460
+ currency: string;
2461
+ }>, z__default.ZodObject<{
2462
+ type: z__default.ZodLiteral<"POLKADOT_LIKE_REBOND">;
2463
+ currency: z__default.ZodString;
2464
+ amount: z__default.ZodString;
2465
+ }, "strip", z__default.ZodTypeAny, {
2466
+ type: "POLKADOT_LIKE_REBOND";
2467
+ currency: string;
2468
+ amount: string;
2469
+ }, {
2470
+ type: "POLKADOT_LIKE_REBOND";
2471
+ currency: string;
2472
+ amount: string;
2473
+ }>, z__default.ZodObject<{
2474
+ type: z__default.ZodLiteral<"POLKADOT_LIKE_REMOVEPROXY">;
2475
+ currency: z__default.ZodString;
2476
+ kind: z__default.ZodLiteral<"Staking">;
2477
+ proxy: z__default.ZodString;
2478
+ }, "strip", z__default.ZodTypeAny, {
2479
+ type: "POLKADOT_LIKE_REMOVEPROXY";
2480
+ proxy: string;
2481
+ currency: string;
2482
+ kind: "Staking";
2483
+ }, {
2484
+ type: "POLKADOT_LIKE_REMOVEPROXY";
2485
+ proxy: string;
2486
+ currency: string;
2487
+ kind: "Staking";
2488
+ }>, z__default.ZodObject<{
2489
+ amount: z__default.ZodString;
2490
+ currency: z__default.ZodString;
2491
+ maxFee: z__default.ZodNullable<z__default.ZodString>;
2492
+ recipient: z__default.ZodString;
2493
+ } & {
2494
+ type: z__default.ZodLiteral<"POLKADOT_LIKE_SEND">;
2495
+ }, "strip", z__default.ZodTypeAny, {
2496
+ type: "POLKADOT_LIKE_SEND";
2497
+ currency: string;
2498
+ amount: string;
2499
+ maxFee: string | null;
2500
+ recipient: string;
2501
+ }, {
2502
+ type: "POLKADOT_LIKE_SEND";
2503
+ currency: string;
2504
+ amount: string;
2505
+ maxFee: string | null;
2506
+ recipient: string;
2507
+ }>, z__default.ZodObject<{
2508
+ type: z__default.ZodLiteral<"POLKADOT_LIKE_SETPAYEE">;
2509
+ currency: z__default.ZodString;
2510
+ payee: z__default.ZodEnum<["Staked", "Stash"]>;
2511
+ }, "strip", z__default.ZodTypeAny, {
2512
+ type: "POLKADOT_LIKE_SETPAYEE";
2513
+ currency: string;
2514
+ payee: "Staked" | "Stash";
2515
+ }, {
2516
+ type: "POLKADOT_LIKE_SETPAYEE";
2517
+ currency: string;
2518
+ payee: "Staked" | "Stash";
2519
+ }>, z__default.ZodObject<{
2520
+ type: z__default.ZodLiteral<"POLKADOT_LIKE_UNBOND">;
2521
+ currency: z__default.ZodString;
2522
+ amount: z__default.ZodString;
2523
+ }, "strip", z__default.ZodTypeAny, {
2524
+ type: "POLKADOT_LIKE_UNBOND";
2525
+ currency: string;
2526
+ amount: string;
2527
+ }, {
2528
+ type: "POLKADOT_LIKE_UNBOND";
2529
+ currency: string;
2530
+ amount: string;
2531
+ }>, z__default.ZodObject<{
2532
+ type: z__default.ZodLiteral<"POLKADOT_LIKE_WITHDRAWUNBONDED">;
2533
+ currency: z__default.ZodString;
2534
+ }, "strip", z__default.ZodTypeAny, {
2535
+ type: "POLKADOT_LIKE_WITHDRAWUNBONDED";
2536
+ currency: string;
2537
+ }, {
2538
+ type: "POLKADOT_LIKE_WITHDRAWUNBONDED";
2539
+ currency: string;
2540
+ }>, z__default.ZodObject<{
2541
+ amount: z__default.ZodString;
2542
+ currency: z__default.ZodString;
2543
+ maxFee: z__default.ZodNullable<z__default.ZodString>;
2544
+ recipient: z__default.ZodString;
2545
+ } & {
2546
+ type: z__default.ZodLiteral<"RIPPLE_LIKE_SEND">;
2547
+ destinationTag: z__default.ZodNullable<z__default.ZodString>;
2548
+ feeStrategy: z__default.ZodObject<{
2549
+ type: z__default.ZodEnum<["SLOW", "NORMAL", "FAST", "CUSTOM"]>;
2550
+ }, "strip", z__default.ZodTypeAny, {
2551
+ type: "NORMAL" | "SLOW" | "FAST" | "CUSTOM";
2552
+ }, {
2553
+ type: "NORMAL" | "SLOW" | "FAST" | "CUSTOM";
2554
+ }>;
2555
+ }, "strip", z__default.ZodTypeAny, {
2556
+ type: "RIPPLE_LIKE_SEND";
2557
+ currency: string;
2558
+ amount: string;
2559
+ maxFee: string | null;
2560
+ recipient: string;
2561
+ feeStrategy: {
2562
+ type: "NORMAL" | "SLOW" | "FAST" | "CUSTOM";
2563
+ };
2564
+ destinationTag: string | null;
2565
+ }, {
2566
+ type: "RIPPLE_LIKE_SEND";
2567
+ currency: string;
2568
+ amount: string;
2569
+ maxFee: string | null;
2570
+ recipient: string;
2571
+ feeStrategy: {
2572
+ type: "NORMAL" | "SLOW" | "FAST" | "CUSTOM";
2573
+ };
2574
+ destinationTag: string | null;
2575
+ }>, z__default.ZodObject<{
2576
+ amount: z__default.ZodString;
2577
+ currency: z__default.ZodString;
2578
+ maxFee: z__default.ZodNullable<z__default.ZodString>;
2579
+ } & {
2580
+ type: z__default.ZodLiteral<"SOLANA_LIKE_CREATE_DELEGATE_STAKE">;
2581
+ recipient: z__default.ZodString;
2582
+ feeStrategy: z__default.ZodObject<{
2583
+ type: z__default.ZodEnum<["SLOW", "NORMAL", "FAST"]>;
2584
+ }, "strip", z__default.ZodTypeAny, {
2585
+ type: "NORMAL" | "SLOW" | "FAST";
2586
+ }, {
2587
+ type: "NORMAL" | "SLOW" | "FAST";
2588
+ }>;
2589
+ }, "strip", z__default.ZodTypeAny, {
2590
+ type: "SOLANA_LIKE_CREATE_DELEGATE_STAKE";
2591
+ currency: string;
2592
+ amount: string;
2593
+ maxFee: string | null;
2594
+ recipient: string;
2595
+ feeStrategy: {
2596
+ type: "NORMAL" | "SLOW" | "FAST";
2597
+ };
2598
+ }, {
2599
+ type: "SOLANA_LIKE_CREATE_DELEGATE_STAKE";
2600
+ currency: string;
2601
+ amount: string;
2602
+ maxFee: string | null;
2603
+ recipient: string;
2604
+ feeStrategy: {
2605
+ type: "NORMAL" | "SLOW" | "FAST";
2606
+ };
2607
+ }>, z__default.ZodObject<{
2608
+ type: z__default.ZodLiteral<"SOLANA_LIKE_DEACTIVATE_STAKE">;
2609
+ currency: z__default.ZodString;
2610
+ maxFee: z__default.ZodNullable<z__default.ZodString>;
2611
+ stakeAccount: z__default.ZodString;
2612
+ feeStrategy: z__default.ZodObject<{
2613
+ type: z__default.ZodEnum<["SLOW", "NORMAL", "FAST"]>;
2614
+ }, "strip", z__default.ZodTypeAny, {
2615
+ type: "NORMAL" | "SLOW" | "FAST";
2616
+ }, {
2617
+ type: "NORMAL" | "SLOW" | "FAST";
2618
+ }>;
2619
+ }, "strip", z__default.ZodTypeAny, {
2620
+ type: "SOLANA_LIKE_DEACTIVATE_STAKE";
2621
+ currency: string;
2622
+ maxFee: string | null;
2623
+ feeStrategy: {
2624
+ type: "NORMAL" | "SLOW" | "FAST";
2625
+ };
2626
+ stakeAccount: string;
2627
+ }, {
2628
+ type: "SOLANA_LIKE_DEACTIVATE_STAKE";
2629
+ currency: string;
2630
+ maxFee: string | null;
2631
+ feeStrategy: {
2632
+ type: "NORMAL" | "SLOW" | "FAST";
2633
+ };
2634
+ stakeAccount: string;
2635
+ }>, z__default.ZodObject<{
2636
+ type: z__default.ZodLiteral<"SOLANA_LIKE_DELEGATE_STAKE">;
2637
+ currency: z__default.ZodString;
2638
+ maxFee: z__default.ZodNullable<z__default.ZodString>;
2639
+ recipient: z__default.ZodString;
2640
+ stakeAccount: z__default.ZodString;
2641
+ feeStrategy: z__default.ZodObject<{
2642
+ type: z__default.ZodEnum<["SLOW", "NORMAL", "FAST"]>;
2643
+ }, "strip", z__default.ZodTypeAny, {
2644
+ type: "NORMAL" | "SLOW" | "FAST";
2645
+ }, {
2646
+ type: "NORMAL" | "SLOW" | "FAST";
2647
+ }>;
2648
+ }, "strip", z__default.ZodTypeAny, {
2649
+ type: "SOLANA_LIKE_DELEGATE_STAKE";
2650
+ currency: string;
2651
+ maxFee: string | null;
2652
+ recipient: string;
2653
+ feeStrategy: {
2654
+ type: "NORMAL" | "SLOW" | "FAST";
2655
+ };
2656
+ stakeAccount: string;
2657
+ }, {
2658
+ type: "SOLANA_LIKE_DELEGATE_STAKE";
2659
+ currency: string;
2660
+ maxFee: string | null;
2661
+ recipient: string;
2662
+ feeStrategy: {
2663
+ type: "NORMAL" | "SLOW" | "FAST";
2664
+ };
2665
+ stakeAccount: string;
2666
+ }>, z__default.ZodObject<{
2667
+ type: z__default.ZodLiteral<"SOLANA_LIKE_MERGE_STAKE">;
2668
+ currency: z__default.ZodString;
2669
+ maxFee: z__default.ZodNullable<z__default.ZodString>;
2670
+ mergeSrcAccount: z__default.ZodString;
2671
+ mergeDstAccount: z__default.ZodString;
2672
+ feeStrategy: z__default.ZodObject<{
2673
+ type: z__default.ZodEnum<["SLOW", "NORMAL", "FAST"]>;
2674
+ }, "strip", z__default.ZodTypeAny, {
2675
+ type: "NORMAL" | "SLOW" | "FAST";
2676
+ }, {
2677
+ type: "NORMAL" | "SLOW" | "FAST";
2678
+ }>;
2679
+ }, "strip", z__default.ZodTypeAny, {
2680
+ type: "SOLANA_LIKE_MERGE_STAKE";
2681
+ currency: string;
2682
+ maxFee: string | null;
2683
+ feeStrategy: {
2684
+ type: "NORMAL" | "SLOW" | "FAST";
2685
+ };
2686
+ mergeSrcAccount: string;
2687
+ mergeDstAccount: string;
2688
+ }, {
2689
+ type: "SOLANA_LIKE_MERGE_STAKE";
2690
+ currency: string;
2691
+ maxFee: string | null;
2692
+ feeStrategy: {
2693
+ type: "NORMAL" | "SLOW" | "FAST";
2694
+ };
2695
+ mergeSrcAccount: string;
2696
+ mergeDstAccount: string;
2697
+ }>, z__default.ZodObject<{
2698
+ amount: z__default.ZodString;
2699
+ currency: z__default.ZodString;
2700
+ maxFee: z__default.ZodNullable<z__default.ZodString>;
2701
+ recipient: z__default.ZodString;
2702
+ } & {
2703
+ type: z__default.ZodLiteral<"SOLANA_LIKE_SEND">;
2704
+ feeStrategy: z__default.ZodObject<{
2705
+ type: z__default.ZodEnum<["SLOW", "NORMAL", "FAST"]>;
2706
+ }, "strip", z__default.ZodTypeAny, {
2707
+ type: "NORMAL" | "SLOW" | "FAST";
2708
+ }, {
2709
+ type: "NORMAL" | "SLOW" | "FAST";
2710
+ }>;
2711
+ }, "strip", z__default.ZodTypeAny, {
2712
+ type: "SOLANA_LIKE_SEND";
2713
+ currency: string;
2714
+ amount: string;
2715
+ maxFee: string | null;
2716
+ recipient: string;
2717
+ feeStrategy: {
2718
+ type: "NORMAL" | "SLOW" | "FAST";
2719
+ };
2720
+ }, {
2721
+ type: "SOLANA_LIKE_SEND";
2722
+ currency: string;
2723
+ amount: string;
2724
+ maxFee: string | null;
2725
+ recipient: string;
2726
+ feeStrategy: {
2727
+ type: "NORMAL" | "SLOW" | "FAST";
2728
+ };
2729
+ }>, z__default.ZodObject<{
2730
+ type: z__default.ZodLiteral<"SOLANA_LIKE_SPLIT_DEACTIVATE_STAKE">;
2731
+ amount: z__default.ZodString;
2732
+ currency: z__default.ZodString;
2733
+ maxFee: z__default.ZodNullable<z__default.ZodString>;
2734
+ stakeAccount: z__default.ZodString;
2735
+ feeStrategy: z__default.ZodObject<{
2736
+ type: z__default.ZodEnum<["SLOW", "NORMAL", "FAST"]>;
2737
+ }, "strip", z__default.ZodTypeAny, {
2738
+ type: "NORMAL" | "SLOW" | "FAST";
2739
+ }, {
2740
+ type: "NORMAL" | "SLOW" | "FAST";
2741
+ }>;
2742
+ }, "strip", z__default.ZodTypeAny, {
2743
+ type: "SOLANA_LIKE_SPLIT_DEACTIVATE_STAKE";
2744
+ currency: string;
2745
+ amount: string;
2746
+ maxFee: string | null;
2747
+ feeStrategy: {
2748
+ type: "NORMAL" | "SLOW" | "FAST";
2749
+ };
2750
+ stakeAccount: string;
2751
+ }, {
2752
+ type: "SOLANA_LIKE_SPLIT_DEACTIVATE_STAKE";
2753
+ currency: string;
2754
+ amount: string;
2755
+ maxFee: string | null;
2756
+ feeStrategy: {
2757
+ type: "NORMAL" | "SLOW" | "FAST";
2758
+ };
2759
+ stakeAccount: string;
2760
+ }>, z__default.ZodObject<{
2761
+ type: z__default.ZodLiteral<"SOLANA_LIKE_SPLIT_STAKE">;
2762
+ amount: z__default.ZodString;
2763
+ currency: z__default.ZodString;
2764
+ maxFee: z__default.ZodNullable<z__default.ZodString>;
2765
+ stakeAccount: z__default.ZodString;
2766
+ feeStrategy: z__default.ZodObject<{
2767
+ type: z__default.ZodEnum<["SLOW", "NORMAL", "FAST"]>;
2768
+ }, "strip", z__default.ZodTypeAny, {
2769
+ type: "NORMAL" | "SLOW" | "FAST";
2770
+ }, {
2771
+ type: "NORMAL" | "SLOW" | "FAST";
2772
+ }>;
2773
+ }, "strip", z__default.ZodTypeAny, {
2774
+ type: "SOLANA_LIKE_SPLIT_STAKE";
2775
+ currency: string;
2776
+ amount: string;
2777
+ maxFee: string | null;
2778
+ feeStrategy: {
2779
+ type: "NORMAL" | "SLOW" | "FAST";
2780
+ };
2781
+ stakeAccount: string;
2782
+ }, {
2783
+ type: "SOLANA_LIKE_SPLIT_STAKE";
2784
+ currency: string;
2785
+ amount: string;
2786
+ maxFee: string | null;
2787
+ feeStrategy: {
2788
+ type: "NORMAL" | "SLOW" | "FAST";
2789
+ };
2790
+ stakeAccount: string;
2791
+ }>, z__default.ZodObject<{
2792
+ type: z__default.ZodLiteral<"SOLANA_LIKE_WITHDRAW_STAKE">;
2793
+ amount: z__default.ZodString;
2794
+ currency: z__default.ZodString;
2795
+ maxFee: z__default.ZodNullable<z__default.ZodString>;
2796
+ stakeAccount: z__default.ZodString;
2797
+ feeStrategy: z__default.ZodObject<{
2798
+ type: z__default.ZodEnum<["SLOW", "NORMAL", "FAST"]>;
2799
+ }, "strip", z__default.ZodTypeAny, {
2800
+ type: "NORMAL" | "SLOW" | "FAST";
2801
+ }, {
2802
+ type: "NORMAL" | "SLOW" | "FAST";
2803
+ }>;
2804
+ }, "strip", z__default.ZodTypeAny, {
2805
+ type: "SOLANA_LIKE_WITHDRAW_STAKE";
2806
+ currency: string;
2807
+ amount: string;
2808
+ maxFee: string | null;
2809
+ feeStrategy: {
2810
+ type: "NORMAL" | "SLOW" | "FAST";
2811
+ };
2812
+ stakeAccount: string;
2813
+ }, {
2814
+ type: "SOLANA_LIKE_WITHDRAW_STAKE";
2815
+ currency: string;
2816
+ amount: string;
2817
+ maxFee: string | null;
2818
+ feeStrategy: {
2819
+ type: "NORMAL" | "SLOW" | "FAST";
2820
+ };
2821
+ stakeAccount: string;
2822
+ }>, z__default.ZodObject<{
2823
+ amount: z__default.ZodString;
2824
+ currency: z__default.ZodString;
2825
+ maxFee: z__default.ZodNullable<z__default.ZodString>;
2826
+ recipient: z__default.ZodString;
2827
+ } & {
2828
+ type: z__default.ZodLiteral<"SOLANA_LIKE_SEND_TOKEN">;
2829
+ feeStrategy: z__default.ZodObject<{
2830
+ type: z__default.ZodEnum<["SLOW", "NORMAL", "FAST"]>;
2831
+ }, "strip", z__default.ZodTypeAny, {
2832
+ type: "NORMAL" | "SLOW" | "FAST";
2833
+ }, {
2834
+ type: "NORMAL" | "SLOW" | "FAST";
2835
+ }>;
2836
+ }, "strip", z__default.ZodTypeAny, {
2837
+ type: "SOLANA_LIKE_SEND_TOKEN";
2838
+ currency: string;
2839
+ amount: string;
2840
+ maxFee: string | null;
2841
+ recipient: string;
2842
+ feeStrategy: {
2843
+ type: "NORMAL" | "SLOW" | "FAST";
2844
+ };
2845
+ }, {
2846
+ type: "SOLANA_LIKE_SEND_TOKEN";
2847
+ currency: string;
2848
+ amount: string;
2849
+ maxFee: string | null;
2850
+ recipient: string;
2851
+ feeStrategy: {
2852
+ type: "NORMAL" | "SLOW" | "FAST";
2853
+ };
2854
+ }>, z__default.ZodObject<{
2855
+ amount: z__default.ZodString;
2856
+ currency: z__default.ZodString;
2857
+ maxFee: z__default.ZodNullable<z__default.ZodString>;
2858
+ recipient: z__default.ZodString;
2859
+ } & {
2860
+ type: z__default.ZodLiteral<"SOLANA_LIKE_FUND_TOKEN">;
2861
+ feeStrategy: z__default.ZodObject<{
2862
+ type: z__default.ZodEnum<["SLOW", "NORMAL", "FAST"]>;
2863
+ }, "strip", z__default.ZodTypeAny, {
2864
+ type: "NORMAL" | "SLOW" | "FAST";
2865
+ }, {
2866
+ type: "NORMAL" | "SLOW" | "FAST";
2867
+ }>;
2868
+ }, "strip", z__default.ZodTypeAny, {
2869
+ type: "SOLANA_LIKE_FUND_TOKEN";
2870
+ currency: string;
2871
+ amount: string;
2872
+ maxFee: string | null;
2873
+ recipient: string;
2874
+ feeStrategy: {
2875
+ type: "NORMAL" | "SLOW" | "FAST";
2876
+ };
2877
+ }, {
2878
+ type: "SOLANA_LIKE_FUND_TOKEN";
2879
+ currency: string;
2880
+ amount: string;
2881
+ maxFee: string | null;
2882
+ recipient: string;
2883
+ feeStrategy: {
2884
+ type: "NORMAL" | "SLOW" | "FAST";
2885
+ };
2886
+ }>, z__default.ZodObject<{
2887
+ amount: z__default.ZodString;
2888
+ currency: z__default.ZodString;
2889
+ maxFee: z__default.ZodNullable<z__default.ZodString>;
2890
+ recipient: z__default.ZodString;
2891
+ } & {
2892
+ type: z__default.ZodLiteral<"STELLAR_LIKE_SEND">;
2893
+ memo: z__default.ZodNullable<z__default.ZodUnion<[z__default.ZodObject<{
2894
+ MEMO_TEXT: z__default.ZodString;
2895
+ }, "strip", z__default.ZodTypeAny, {
2896
+ MEMO_TEXT: string;
2897
+ }, {
2898
+ MEMO_TEXT: string;
2899
+ }>, z__default.ZodObject<{
2900
+ MEMO_ID: z__default.ZodString;
2901
+ }, "strip", z__default.ZodTypeAny, {
2902
+ MEMO_ID: string;
2903
+ }, {
2904
+ MEMO_ID: string;
2905
+ }>, z__default.ZodObject<{
2906
+ MEMO_HASH: z__default.ZodString;
2907
+ }, "strip", z__default.ZodTypeAny, {
2908
+ MEMO_HASH: string;
2909
+ }, {
2910
+ MEMO_HASH: string;
2911
+ }>, z__default.ZodObject<{
2912
+ MEMO_RETURN: z__default.ZodString;
2913
+ }, "strip", z__default.ZodTypeAny, {
2914
+ MEMO_RETURN: string;
2915
+ }, {
2916
+ MEMO_RETURN: string;
2917
+ }>]>>;
2918
+ feeStrategy: z__default.ZodObject<{
2919
+ type: z__default.ZodEnum<["SLOW", "NORMAL", "FAST"]>;
2920
+ }, "strip", z__default.ZodTypeAny, {
2921
+ type: "NORMAL" | "SLOW" | "FAST";
2922
+ }, {
2923
+ type: "NORMAL" | "SLOW" | "FAST";
2924
+ }>;
2925
+ }, "strip", z__default.ZodTypeAny, {
2926
+ type: "STELLAR_LIKE_SEND";
2927
+ currency: string;
2928
+ amount: string;
2929
+ maxFee: string | null;
2930
+ recipient: string;
2931
+ feeStrategy: {
2932
+ type: "NORMAL" | "SLOW" | "FAST";
2933
+ };
2934
+ memo: {
2935
+ MEMO_TEXT: string;
2936
+ } | {
2937
+ MEMO_ID: string;
2938
+ } | {
2939
+ MEMO_HASH: string;
2940
+ } | {
2941
+ MEMO_RETURN: string;
2942
+ } | null;
2943
+ }, {
2944
+ type: "STELLAR_LIKE_SEND";
2945
+ currency: string;
2946
+ amount: string;
2947
+ maxFee: string | null;
2948
+ recipient: string;
2949
+ feeStrategy: {
2950
+ type: "NORMAL" | "SLOW" | "FAST";
2951
+ };
2952
+ memo: {
2953
+ MEMO_TEXT: string;
2954
+ } | {
2955
+ MEMO_ID: string;
2956
+ } | {
2957
+ MEMO_HASH: string;
2958
+ } | {
2959
+ MEMO_RETURN: string;
2960
+ } | null;
2961
+ }>, z__default.ZodObject<{
2962
+ amount: z__default.ZodString;
2963
+ currency: z__default.ZodString;
2964
+ maxFee: z__default.ZodNullable<z__default.ZodString>;
2965
+ recipient: z__default.ZodString;
2966
+ } & {
2967
+ type: z__default.ZodLiteral<"TEZOS_LIKE_DELEGATE">;
2968
+ feeStrategy: z__default.ZodObject<{
2969
+ type: z__default.ZodEnum<["SLOW", "NORMAL", "FAST", "CUSTOM"]>;
2970
+ } & {
2971
+ gasLimit: z__default.ZodString;
2972
+ storageLimit: z__default.ZodNullable<z__default.ZodString>;
2973
+ }, "strip", z__default.ZodTypeAny, {
2974
+ type: "NORMAL" | "SLOW" | "FAST" | "CUSTOM";
2975
+ gasLimit: string;
2976
+ storageLimit: string | null;
2977
+ }, {
2978
+ type: "NORMAL" | "SLOW" | "FAST" | "CUSTOM";
2979
+ gasLimit: string;
2980
+ storageLimit: string | null;
2981
+ }>;
2982
+ }, "strip", z__default.ZodTypeAny, {
2983
+ type: "TEZOS_LIKE_DELEGATE";
2984
+ currency: string;
2985
+ amount: string;
2986
+ maxFee: string | null;
2987
+ recipient: string;
2988
+ feeStrategy: {
2989
+ type: "NORMAL" | "SLOW" | "FAST" | "CUSTOM";
2990
+ gasLimit: string;
2991
+ storageLimit: string | null;
2992
+ };
2993
+ }, {
2994
+ type: "TEZOS_LIKE_DELEGATE";
2995
+ currency: string;
2996
+ amount: string;
2997
+ maxFee: string | null;
2998
+ recipient: string;
2999
+ feeStrategy: {
3000
+ type: "NORMAL" | "SLOW" | "FAST" | "CUSTOM";
3001
+ gasLimit: string;
3002
+ storageLimit: string | null;
3003
+ };
3004
+ }>, z__default.ZodObject<{
3005
+ amount: z__default.ZodString;
3006
+ currency: z__default.ZodString;
3007
+ maxFee: z__default.ZodNullable<z__default.ZodString>;
3008
+ recipient: z__default.ZodString;
3009
+ } & {
3010
+ type: z__default.ZodLiteral<"TEZOS_LIKE_SEND">;
3011
+ feeStrategy: z__default.ZodObject<{
3012
+ type: z__default.ZodEnum<["SLOW", "NORMAL", "FAST", "CUSTOM"]>;
3013
+ } & {
3014
+ gasLimit: z__default.ZodString;
3015
+ storageLimit: z__default.ZodNullable<z__default.ZodString>;
3016
+ }, "strip", z__default.ZodTypeAny, {
3017
+ type: "NORMAL" | "SLOW" | "FAST" | "CUSTOM";
3018
+ gasLimit: string;
3019
+ storageLimit: string | null;
3020
+ }, {
3021
+ type: "NORMAL" | "SLOW" | "FAST" | "CUSTOM";
3022
+ gasLimit: string;
3023
+ storageLimit: string | null;
3024
+ }>;
3025
+ }, "strip", z__default.ZodTypeAny, {
3026
+ type: "TEZOS_LIKE_SEND";
3027
+ currency: string;
3028
+ amount: string;
3029
+ maxFee: string | null;
3030
+ recipient: string;
3031
+ feeStrategy: {
3032
+ type: "NORMAL" | "SLOW" | "FAST" | "CUSTOM";
3033
+ gasLimit: string;
3034
+ storageLimit: string | null;
3035
+ };
3036
+ }, {
3037
+ type: "TEZOS_LIKE_SEND";
3038
+ currency: string;
3039
+ amount: string;
3040
+ maxFee: string | null;
3041
+ recipient: string;
3042
+ feeStrategy: {
3043
+ type: "NORMAL" | "SLOW" | "FAST" | "CUSTOM";
3044
+ gasLimit: string;
3045
+ storageLimit: string | null;
3046
+ };
3047
+ }>, z__default.ZodObject<{
3048
+ amount: z__default.ZodString;
3049
+ currency: z__default.ZodString;
3050
+ maxFee: z__default.ZodNullable<z__default.ZodString>;
3051
+ recipient: z__default.ZodString;
3052
+ } & {
3053
+ type: z__default.ZodLiteral<"TEZOS_LIKE_UNDELEGATE">;
3054
+ feeStrategy: z__default.ZodObject<{
3055
+ type: z__default.ZodEnum<["SLOW", "NORMAL", "FAST", "CUSTOM"]>;
3056
+ } & {
3057
+ gasLimit: z__default.ZodString;
3058
+ storageLimit: z__default.ZodNullable<z__default.ZodString>;
3059
+ }, "strip", z__default.ZodTypeAny, {
3060
+ type: "NORMAL" | "SLOW" | "FAST" | "CUSTOM";
3061
+ gasLimit: string;
3062
+ storageLimit: string | null;
3063
+ }, {
3064
+ type: "NORMAL" | "SLOW" | "FAST" | "CUSTOM";
3065
+ gasLimit: string;
3066
+ storageLimit: string | null;
3067
+ }>;
3068
+ }, "strip", z__default.ZodTypeAny, {
3069
+ type: "TEZOS_LIKE_UNDELEGATE";
3070
+ currency: string;
3071
+ amount: string;
3072
+ maxFee: string | null;
3073
+ recipient: string;
3074
+ feeStrategy: {
3075
+ type: "NORMAL" | "SLOW" | "FAST" | "CUSTOM";
3076
+ gasLimit: string;
3077
+ storageLimit: string | null;
3078
+ };
3079
+ }, {
3080
+ type: "TEZOS_LIKE_UNDELEGATE";
3081
+ currency: string;
3082
+ amount: string;
3083
+ maxFee: string | null;
3084
+ recipient: string;
3085
+ feeStrategy: {
3086
+ type: "NORMAL" | "SLOW" | "FAST" | "CUSTOM";
3087
+ gasLimit: string;
3088
+ storageLimit: string | null;
3089
+ };
3090
+ }>]>;
3091
+ }, "strip", z__default.ZodTypeAny, {
3092
+ accountId: string;
3093
+ transaction: {
3094
+ type: "BITCOIN_LIKE_SEND";
3095
+ currency: string;
3096
+ amount: string;
3097
+ maxFee: string | null;
3098
+ recipient: string;
3099
+ feeStrategy: {
3100
+ type: "NORMAL" | "SLOW" | "FAST" | "CUSTOM";
3101
+ feePerByte?: string | null | undefined;
3102
+ };
3103
+ } | {
3104
+ type: "ETHEREUM_LIKE_DEPLOY_CONTRACT";
3105
+ currency: string;
3106
+ amount: string;
3107
+ maxFee: string | null;
3108
+ recipient: "0x0000000000000000000000000000000000000000";
3109
+ feeStrategy: {
3110
+ type: "NORMAL" | "SLOW" | "FAST" | "CUSTOM";
3111
+ gasPrice: string;
3112
+ gasLimit: string;
3113
+ } | {
3114
+ type: "NORMAL" | "SLOW" | "FAST" | "CUSTOM";
3115
+ gasLimit: string;
3116
+ maxPriorityFeePerGas: string;
3117
+ maxFeePerGas: string;
3118
+ };
3119
+ contractData: string;
3120
+ } | {
3121
+ type: "ETHEREUM_LIKE_EXECUTE_CONTRACT";
3122
+ currency: string;
3123
+ amount: string;
3124
+ maxFee: string | null;
3125
+ recipient: string;
3126
+ feeStrategy: {
3127
+ type: "NORMAL" | "SLOW" | "FAST" | "CUSTOM";
3128
+ gasPrice: string;
3129
+ gasLimit: string;
3130
+ } | {
3131
+ type: "NORMAL" | "SLOW" | "FAST" | "CUSTOM";
3132
+ gasLimit: string;
3133
+ maxPriorityFeePerGas: string;
3134
+ maxFeePerGas: string;
3135
+ };
3136
+ contractData: string;
3137
+ } | {
3138
+ type: "ETHEREUM_LIKE_SEND";
3139
+ currency: string;
3140
+ amount: string;
3141
+ maxFee: string | null;
3142
+ recipient: string;
3143
+ feeStrategy: {
3144
+ type: "NORMAL" | "SLOW" | "FAST" | "CUSTOM";
3145
+ gasPrice: string;
3146
+ gasLimit: string;
3147
+ } | {
3148
+ type: "NORMAL" | "SLOW" | "FAST" | "CUSTOM";
3149
+ gasLimit: string;
3150
+ maxPriorityFeePerGas: string;
3151
+ maxFeePerGas: string;
3152
+ };
3153
+ } | {
3154
+ type: "TEZOS_LIKE_DELEGATE";
3155
+ currency: string;
3156
+ amount: string;
3157
+ maxFee: string | null;
3158
+ recipient: string;
3159
+ feeStrategy: {
3160
+ type: "NORMAL" | "SLOW" | "FAST" | "CUSTOM";
3161
+ gasLimit: string;
3162
+ storageLimit: string | null;
3163
+ };
3164
+ } | {
3165
+ type: "TEZOS_LIKE_SEND";
3166
+ currency: string;
3167
+ amount: string;
3168
+ maxFee: string | null;
3169
+ recipient: string;
3170
+ feeStrategy: {
3171
+ type: "NORMAL" | "SLOW" | "FAST" | "CUSTOM";
3172
+ gasLimit: string;
3173
+ storageLimit: string | null;
3174
+ };
3175
+ } | {
3176
+ type: "TEZOS_LIKE_UNDELEGATE";
3177
+ currency: string;
3178
+ amount: string;
3179
+ maxFee: string | null;
3180
+ recipient: string;
3181
+ feeStrategy: {
3182
+ type: "NORMAL" | "SLOW" | "FAST" | "CUSTOM";
3183
+ gasLimit: string;
3184
+ storageLimit: string | null;
3185
+ };
3186
+ } | {
3187
+ type: "POLKADOT_LIKE_ADDPROXY";
3188
+ proxy: string;
3189
+ currency: string;
3190
+ kind: "Staking";
3191
+ } | {
3192
+ type: "POLKADOT_LIKE_ANONYMOUSPROXY";
3193
+ currency: string;
3194
+ } | {
3195
+ type: "POLKADOT_LIKE_BOND";
3196
+ currency: string;
3197
+ amount: string;
3198
+ payee: "Staked" | "Stash";
3199
+ } | {
3200
+ type: "POLKADOT_LIKE_BONDEXTRA";
3201
+ currency: string;
3202
+ amount: string;
3203
+ } | {
3204
+ type: "POLKADOT_LIKE_CHILL";
3205
+ currency: string;
3206
+ } | {
3207
+ type: "POLKADOT_LIKE_KILLANONYMOUS";
3208
+ currency: string;
3209
+ } | {
3210
+ type: "POLKADOT_LIKE_REBOND";
3211
+ currency: string;
3212
+ amount: string;
3213
+ } | {
3214
+ type: "POLKADOT_LIKE_REMOVEPROXY";
3215
+ proxy: string;
3216
+ currency: string;
3217
+ kind: "Staking";
3218
+ } | {
3219
+ type: "POLKADOT_LIKE_SEND";
3220
+ currency: string;
3221
+ amount: string;
3222
+ maxFee: string | null;
3223
+ recipient: string;
3224
+ } | {
3225
+ type: "POLKADOT_LIKE_SETPAYEE";
3226
+ currency: string;
3227
+ payee: "Staked" | "Stash";
3228
+ } | {
3229
+ type: "POLKADOT_LIKE_UNBOND";
3230
+ currency: string;
3231
+ amount: string;
3232
+ } | {
3233
+ type: "POLKADOT_LIKE_WITHDRAWUNBONDED";
3234
+ currency: string;
3235
+ } | {
3236
+ type: "RIPPLE_LIKE_SEND";
3237
+ currency: string;
3238
+ amount: string;
3239
+ maxFee: string | null;
3240
+ recipient: string;
3241
+ feeStrategy: {
3242
+ type: "NORMAL" | "SLOW" | "FAST" | "CUSTOM";
3243
+ };
3244
+ destinationTag: string | null;
3245
+ } | {
3246
+ type: "STELLAR_LIKE_SEND";
3247
+ currency: string;
3248
+ amount: string;
3249
+ maxFee: string | null;
3250
+ recipient: string;
3251
+ feeStrategy: {
3252
+ type: "NORMAL" | "SLOW" | "FAST";
3253
+ };
3254
+ memo: {
3255
+ MEMO_TEXT: string;
3256
+ } | {
3257
+ MEMO_ID: string;
3258
+ } | {
3259
+ MEMO_HASH: string;
3260
+ } | {
3261
+ MEMO_RETURN: string;
3262
+ } | null;
3263
+ } | {
3264
+ type: "SOLANA_LIKE_CREATE_DELEGATE_STAKE";
3265
+ currency: string;
3266
+ amount: string;
3267
+ maxFee: string | null;
3268
+ recipient: string;
3269
+ feeStrategy: {
3270
+ type: "NORMAL" | "SLOW" | "FAST";
3271
+ };
3272
+ } | {
3273
+ type: "SOLANA_LIKE_DEACTIVATE_STAKE";
3274
+ currency: string;
3275
+ maxFee: string | null;
3276
+ feeStrategy: {
3277
+ type: "NORMAL" | "SLOW" | "FAST";
3278
+ };
3279
+ stakeAccount: string;
3280
+ } | {
3281
+ type: "SOLANA_LIKE_DELEGATE_STAKE";
3282
+ currency: string;
3283
+ maxFee: string | null;
3284
+ recipient: string;
3285
+ feeStrategy: {
3286
+ type: "NORMAL" | "SLOW" | "FAST";
3287
+ };
3288
+ stakeAccount: string;
3289
+ } | {
3290
+ type: "SOLANA_LIKE_MERGE_STAKE";
3291
+ currency: string;
3292
+ maxFee: string | null;
3293
+ feeStrategy: {
3294
+ type: "NORMAL" | "SLOW" | "FAST";
3295
+ };
3296
+ mergeSrcAccount: string;
3297
+ mergeDstAccount: string;
3298
+ } | {
3299
+ type: "SOLANA_LIKE_SEND";
3300
+ currency: string;
3301
+ amount: string;
3302
+ maxFee: string | null;
3303
+ recipient: string;
3304
+ feeStrategy: {
3305
+ type: "NORMAL" | "SLOW" | "FAST";
3306
+ };
3307
+ } | {
3308
+ type: "SOLANA_LIKE_SPLIT_DEACTIVATE_STAKE";
3309
+ currency: string;
3310
+ amount: string;
3311
+ maxFee: string | null;
3312
+ feeStrategy: {
3313
+ type: "NORMAL" | "SLOW" | "FAST";
3314
+ };
3315
+ stakeAccount: string;
3316
+ } | {
3317
+ type: "SOLANA_LIKE_SPLIT_STAKE";
3318
+ currency: string;
3319
+ amount: string;
3320
+ maxFee: string | null;
3321
+ feeStrategy: {
3322
+ type: "NORMAL" | "SLOW" | "FAST";
3323
+ };
3324
+ stakeAccount: string;
3325
+ } | {
3326
+ type: "SOLANA_LIKE_WITHDRAW_STAKE";
3327
+ currency: string;
3328
+ amount: string;
3329
+ maxFee: string | null;
3330
+ feeStrategy: {
3331
+ type: "NORMAL" | "SLOW" | "FAST";
3332
+ };
3333
+ stakeAccount: string;
3334
+ } | {
3335
+ type: "SOLANA_LIKE_SEND_TOKEN";
3336
+ currency: string;
3337
+ amount: string;
3338
+ maxFee: string | null;
3339
+ recipient: string;
3340
+ feeStrategy: {
3341
+ type: "NORMAL" | "SLOW" | "FAST";
3342
+ };
3343
+ } | {
3344
+ type: "SOLANA_LIKE_FUND_TOKEN";
3345
+ currency: string;
3346
+ amount: string;
3347
+ maxFee: string | null;
3348
+ recipient: string;
3349
+ feeStrategy: {
3350
+ type: "NORMAL" | "SLOW" | "FAST";
3351
+ };
3352
+ } | {
3353
+ type: "CARDANO_LIKE_SEND";
3354
+ currency: string;
3355
+ amount: string;
3356
+ maxFee: string | null;
3357
+ recipient: string;
3358
+ feeStrategy: {
3359
+ type: "NORMAL" | "SLOW" | "FAST";
3360
+ };
3361
+ } | {
3362
+ type: "CARDANO_LIKE_STAKING_DELEGATE";
3363
+ currency: string;
3364
+ maxFee: string | null;
3365
+ feeStrategy: {
3366
+ type: "NORMAL" | "SLOW" | "FAST";
3367
+ };
3368
+ stakePoolId: string;
3369
+ } | {
3370
+ type: "CARDANO_LIKE_STAKING_DEREGISTER";
3371
+ currency: string;
3372
+ amount: string;
3373
+ maxFee: string | null;
3374
+ feeStrategy: {
3375
+ type: "NORMAL" | "SLOW" | "FAST";
3376
+ };
3377
+ } | {
3378
+ type: "CARDANO_LIKE_STAKING_REGISTER";
3379
+ currency: string;
3380
+ amount: string;
3381
+ maxFee: string | null;
3382
+ feeStrategy: {
3383
+ type: "NORMAL" | "SLOW" | "FAST";
3384
+ };
3385
+ } | {
3386
+ type: "CARDANO_LIKE_STAKING_WITHDRAW";
3387
+ currency: string;
3388
+ amount: string;
3389
+ maxFee: string | null;
3390
+ feeStrategy: {
3391
+ type: "NORMAL" | "SLOW" | "FAST";
3392
+ };
3393
+ } | {
3394
+ type: "GENERIC_TRANSACTION";
3395
+ currency: string;
3396
+ rawTx: string;
3397
+ };
3398
+ }, {
3399
+ accountId: string;
3400
+ transaction: {
3401
+ type: "BITCOIN_LIKE_SEND";
3402
+ currency: string;
3403
+ amount: string;
3404
+ maxFee: string | null;
3405
+ recipient: string;
3406
+ feeStrategy: {
3407
+ type: "NORMAL" | "SLOW" | "FAST" | "CUSTOM";
3408
+ feePerByte?: string | null | undefined;
3409
+ };
3410
+ } | {
3411
+ type: "ETHEREUM_LIKE_DEPLOY_CONTRACT";
3412
+ currency: string;
3413
+ amount: string;
3414
+ maxFee: string | null;
3415
+ recipient: "0x0000000000000000000000000000000000000000";
3416
+ feeStrategy: {
3417
+ type: "NORMAL" | "SLOW" | "FAST" | "CUSTOM";
3418
+ gasPrice: string;
3419
+ gasLimit: string;
3420
+ } | {
3421
+ type: "NORMAL" | "SLOW" | "FAST" | "CUSTOM";
3422
+ gasLimit: string;
3423
+ maxPriorityFeePerGas: string;
3424
+ maxFeePerGas: string;
3425
+ };
3426
+ contractData: string;
3427
+ } | {
3428
+ type: "ETHEREUM_LIKE_EXECUTE_CONTRACT";
3429
+ currency: string;
3430
+ amount: string;
3431
+ maxFee: string | null;
3432
+ recipient: string;
3433
+ feeStrategy: {
3434
+ type: "NORMAL" | "SLOW" | "FAST" | "CUSTOM";
3435
+ gasPrice: string;
3436
+ gasLimit: string;
3437
+ } | {
3438
+ type: "NORMAL" | "SLOW" | "FAST" | "CUSTOM";
3439
+ gasLimit: string;
3440
+ maxPriorityFeePerGas: string;
3441
+ maxFeePerGas: string;
3442
+ };
3443
+ contractData: string;
3444
+ } | {
3445
+ type: "ETHEREUM_LIKE_SEND";
3446
+ currency: string;
3447
+ amount: string;
3448
+ maxFee: string | null;
3449
+ recipient: string;
3450
+ feeStrategy: {
3451
+ type: "NORMAL" | "SLOW" | "FAST" | "CUSTOM";
3452
+ gasPrice: string;
3453
+ gasLimit: string;
3454
+ } | {
3455
+ type: "NORMAL" | "SLOW" | "FAST" | "CUSTOM";
3456
+ gasLimit: string;
3457
+ maxPriorityFeePerGas: string;
3458
+ maxFeePerGas: string;
3459
+ };
3460
+ } | {
3461
+ type: "TEZOS_LIKE_DELEGATE";
3462
+ currency: string;
3463
+ amount: string;
3464
+ maxFee: string | null;
3465
+ recipient: string;
3466
+ feeStrategy: {
3467
+ type: "NORMAL" | "SLOW" | "FAST" | "CUSTOM";
3468
+ gasLimit: string;
3469
+ storageLimit: string | null;
3470
+ };
3471
+ } | {
3472
+ type: "TEZOS_LIKE_SEND";
3473
+ currency: string;
3474
+ amount: string;
3475
+ maxFee: string | null;
3476
+ recipient: string;
3477
+ feeStrategy: {
3478
+ type: "NORMAL" | "SLOW" | "FAST" | "CUSTOM";
3479
+ gasLimit: string;
3480
+ storageLimit: string | null;
3481
+ };
3482
+ } | {
3483
+ type: "TEZOS_LIKE_UNDELEGATE";
3484
+ currency: string;
3485
+ amount: string;
3486
+ maxFee: string | null;
3487
+ recipient: string;
3488
+ feeStrategy: {
3489
+ type: "NORMAL" | "SLOW" | "FAST" | "CUSTOM";
3490
+ gasLimit: string;
3491
+ storageLimit: string | null;
3492
+ };
3493
+ } | {
3494
+ type: "POLKADOT_LIKE_ADDPROXY";
3495
+ proxy: string;
3496
+ currency: string;
3497
+ kind: "Staking";
3498
+ } | {
3499
+ type: "POLKADOT_LIKE_ANONYMOUSPROXY";
3500
+ currency: string;
3501
+ } | {
3502
+ type: "POLKADOT_LIKE_BOND";
3503
+ currency: string;
3504
+ amount: string;
3505
+ payee: "Staked" | "Stash";
3506
+ } | {
3507
+ type: "POLKADOT_LIKE_BONDEXTRA";
3508
+ currency: string;
3509
+ amount: string;
3510
+ } | {
3511
+ type: "POLKADOT_LIKE_CHILL";
3512
+ currency: string;
3513
+ } | {
3514
+ type: "POLKADOT_LIKE_KILLANONYMOUS";
3515
+ currency: string;
3516
+ } | {
3517
+ type: "POLKADOT_LIKE_REBOND";
3518
+ currency: string;
3519
+ amount: string;
3520
+ } | {
3521
+ type: "POLKADOT_LIKE_REMOVEPROXY";
3522
+ proxy: string;
3523
+ currency: string;
3524
+ kind: "Staking";
3525
+ } | {
3526
+ type: "POLKADOT_LIKE_SEND";
3527
+ currency: string;
3528
+ amount: string;
3529
+ maxFee: string | null;
3530
+ recipient: string;
3531
+ } | {
3532
+ type: "POLKADOT_LIKE_SETPAYEE";
3533
+ currency: string;
3534
+ payee: "Staked" | "Stash";
3535
+ } | {
3536
+ type: "POLKADOT_LIKE_UNBOND";
3537
+ currency: string;
3538
+ amount: string;
3539
+ } | {
3540
+ type: "POLKADOT_LIKE_WITHDRAWUNBONDED";
3541
+ currency: string;
3542
+ } | {
3543
+ type: "RIPPLE_LIKE_SEND";
3544
+ currency: string;
3545
+ amount: string;
3546
+ maxFee: string | null;
3547
+ recipient: string;
3548
+ feeStrategy: {
3549
+ type: "NORMAL" | "SLOW" | "FAST" | "CUSTOM";
3550
+ };
3551
+ destinationTag: string | null;
3552
+ } | {
3553
+ type: "STELLAR_LIKE_SEND";
3554
+ currency: string;
3555
+ amount: string;
3556
+ maxFee: string | null;
3557
+ recipient: string;
3558
+ feeStrategy: {
3559
+ type: "NORMAL" | "SLOW" | "FAST";
3560
+ };
3561
+ memo: {
3562
+ MEMO_TEXT: string;
3563
+ } | {
3564
+ MEMO_ID: string;
3565
+ } | {
3566
+ MEMO_HASH: string;
3567
+ } | {
3568
+ MEMO_RETURN: string;
3569
+ } | null;
3570
+ } | {
3571
+ type: "SOLANA_LIKE_CREATE_DELEGATE_STAKE";
3572
+ currency: string;
3573
+ amount: string;
3574
+ maxFee: string | null;
3575
+ recipient: string;
3576
+ feeStrategy: {
3577
+ type: "NORMAL" | "SLOW" | "FAST";
3578
+ };
3579
+ } | {
3580
+ type: "SOLANA_LIKE_DEACTIVATE_STAKE";
3581
+ currency: string;
3582
+ maxFee: string | null;
3583
+ feeStrategy: {
3584
+ type: "NORMAL" | "SLOW" | "FAST";
3585
+ };
3586
+ stakeAccount: string;
3587
+ } | {
3588
+ type: "SOLANA_LIKE_DELEGATE_STAKE";
3589
+ currency: string;
3590
+ maxFee: string | null;
3591
+ recipient: string;
3592
+ feeStrategy: {
3593
+ type: "NORMAL" | "SLOW" | "FAST";
3594
+ };
3595
+ stakeAccount: string;
3596
+ } | {
3597
+ type: "SOLANA_LIKE_MERGE_STAKE";
3598
+ currency: string;
3599
+ maxFee: string | null;
3600
+ feeStrategy: {
3601
+ type: "NORMAL" | "SLOW" | "FAST";
3602
+ };
3603
+ mergeSrcAccount: string;
3604
+ mergeDstAccount: string;
3605
+ } | {
3606
+ type: "SOLANA_LIKE_SEND";
3607
+ currency: string;
3608
+ amount: string;
3609
+ maxFee: string | null;
3610
+ recipient: string;
3611
+ feeStrategy: {
3612
+ type: "NORMAL" | "SLOW" | "FAST";
3613
+ };
3614
+ } | {
3615
+ type: "SOLANA_LIKE_SPLIT_DEACTIVATE_STAKE";
3616
+ currency: string;
3617
+ amount: string;
3618
+ maxFee: string | null;
3619
+ feeStrategy: {
3620
+ type: "NORMAL" | "SLOW" | "FAST";
3621
+ };
3622
+ stakeAccount: string;
3623
+ } | {
3624
+ type: "SOLANA_LIKE_SPLIT_STAKE";
3625
+ currency: string;
3626
+ amount: string;
3627
+ maxFee: string | null;
3628
+ feeStrategy: {
3629
+ type: "NORMAL" | "SLOW" | "FAST";
3630
+ };
3631
+ stakeAccount: string;
3632
+ } | {
3633
+ type: "SOLANA_LIKE_WITHDRAW_STAKE";
3634
+ currency: string;
3635
+ amount: string;
3636
+ maxFee: string | null;
3637
+ feeStrategy: {
3638
+ type: "NORMAL" | "SLOW" | "FAST";
3639
+ };
3640
+ stakeAccount: string;
3641
+ } | {
3642
+ type: "SOLANA_LIKE_SEND_TOKEN";
3643
+ currency: string;
3644
+ amount: string;
3645
+ maxFee: string | null;
3646
+ recipient: string;
3647
+ feeStrategy: {
3648
+ type: "NORMAL" | "SLOW" | "FAST";
3649
+ };
3650
+ } | {
3651
+ type: "SOLANA_LIKE_FUND_TOKEN";
3652
+ currency: string;
3653
+ amount: string;
3654
+ maxFee: string | null;
3655
+ recipient: string;
3656
+ feeStrategy: {
3657
+ type: "NORMAL" | "SLOW" | "FAST";
3658
+ };
3659
+ } | {
3660
+ type: "CARDANO_LIKE_SEND";
3661
+ currency: string;
3662
+ amount: string;
3663
+ maxFee: string | null;
3664
+ recipient: string;
3665
+ feeStrategy: {
3666
+ type: "NORMAL" | "SLOW" | "FAST";
3667
+ };
3668
+ } | {
3669
+ type: "CARDANO_LIKE_STAKING_DELEGATE";
3670
+ currency: string;
3671
+ maxFee: string | null;
3672
+ feeStrategy: {
3673
+ type: "NORMAL" | "SLOW" | "FAST";
3674
+ };
3675
+ stakePoolId: string;
3676
+ } | {
3677
+ type: "CARDANO_LIKE_STAKING_DEREGISTER";
3678
+ currency: string;
3679
+ amount: string;
3680
+ maxFee: string | null;
3681
+ feeStrategy: {
3682
+ type: "NORMAL" | "SLOW" | "FAST";
3683
+ };
3684
+ } | {
3685
+ type: "CARDANO_LIKE_STAKING_REGISTER";
3686
+ currency: string;
3687
+ amount: string;
3688
+ maxFee: string | null;
3689
+ feeStrategy: {
3690
+ type: "NORMAL" | "SLOW" | "FAST";
3691
+ };
3692
+ } | {
3693
+ type: "CARDANO_LIKE_STAKING_WITHDRAW";
3694
+ currency: string;
3695
+ amount: string;
3696
+ maxFee: string | null;
3697
+ feeStrategy: {
3698
+ type: "NORMAL" | "SLOW" | "FAST";
3699
+ };
3700
+ } | {
3701
+ type: "GENERIC_TRANSACTION";
3702
+ currency: string;
3703
+ rawTx: string;
3704
+ };
3705
+ }>;
3706
+ type CreateTransactionRequestData = z__default.infer<typeof zCreateTransactionRequestData>;
3707
+
3708
+ declare const zCreateSciConfigRequestData: z__default.ZodObject<{
3709
+ account: z__default.ZodString;
3710
+ config: z__default.ZodObject<{
3711
+ dapps: z__default.ZodNullable<z__default.ZodArray<z__default.ZodString, "many">>;
3712
+ customContractCallEnabled: z__default.ZodBoolean;
3713
+ }, "strip", z__default.ZodTypeAny, {
3714
+ dapps: string[] | null;
3715
+ customContractCallEnabled: boolean;
3716
+ }, {
3717
+ dapps: string[] | null;
3718
+ customContractCallEnabled: boolean;
3719
+ }>;
3720
+ }, "strip", z__default.ZodTypeAny, {
3721
+ config: {
3722
+ dapps: string[] | null;
3723
+ customContractCallEnabled: boolean;
3724
+ };
3725
+ account: string;
3726
+ }, {
3727
+ config: {
3728
+ dapps: string[] | null;
3729
+ customContractCallEnabled: boolean;
3730
+ };
3731
+ account: string;
3732
+ }>;
3733
+ type CreateSciConfigRequestData = z__default.infer<typeof zCreateSciConfigRequestData>;
3734
+ declare const zEditSciConfigRequestData: z__default.ZodObject<{
3735
+ config: z__default.ZodObject<{
3736
+ dapps: z__default.ZodNullable<z__default.ZodArray<z__default.ZodString, "many">>;
3737
+ customContractCallEnabled: z__default.ZodBoolean;
3738
+ }, "strip", z__default.ZodTypeAny, {
3739
+ dapps: string[] | null;
3740
+ customContractCallEnabled: boolean;
3741
+ }, {
3742
+ dapps: string[] | null;
3743
+ customContractCallEnabled: boolean;
3744
+ }>;
3745
+ }, "strip", z__default.ZodTypeAny, {
3746
+ config: {
3747
+ dapps: string[] | null;
3748
+ customContractCallEnabled: boolean;
3749
+ };
3750
+ }, {
3751
+ config: {
3752
+ dapps: string[] | null;
3753
+ customContractCallEnabled: boolean;
3754
+ };
3755
+ }>;
3756
+ type EditSciConfigRequestData = z__default.infer<typeof zEditSciConfigRequestData>;
3757
+
3758
+ declare const zCreateApiKeyRequestData: z__default.ZodObject<{
3759
+ name: z__default.ZodString;
3760
+ entities: z__default.ZodArray<z__default.ZodString, "many">;
3761
+ scopes: z__default.ZodObject<{}, "strip", z__default.ZodTypeAny, {}, {}>;
3762
+ }, "strip", z__default.ZodTypeAny, {
3763
+ name: string;
3764
+ entities: string[];
3765
+ scopes: {};
3766
+ }, {
3767
+ name: string;
3768
+ entities: string[];
3769
+ scopes: {};
3770
+ }>;
3771
+ type CreateApiKeyRequestData = z__default.infer<typeof zCreateApiKeyRequestData>;
3772
+ declare const zEditApiKeyRequestData: z__default.ZodObject<{
3773
+ name: z__default.ZodString;
3774
+ entities: z__default.ZodArray<z__default.ZodString, "many">;
3775
+ scopes: z__default.ZodObject<{}, "strip", z__default.ZodTypeAny, {}, {}>;
3776
+ }, "strip", z__default.ZodTypeAny, {
3777
+ name: string;
3778
+ entities: string[];
3779
+ scopes: {};
3780
+ }, {
3781
+ name: string;
3782
+ entities: string[];
3783
+ scopes: {};
3784
+ }>;
3785
+ type EditApiKeyRequestData = z__default.infer<typeof zEditApiKeyRequestData>;
3786
+
3787
+ declare const zCreateEntityRequestData: z__default.ZodObject<{
3788
+ name: z__default.ZodString;
3789
+ accounts: z__default.ZodArray<z__default.ZodString, "many">;
3790
+ }, "strip", z__default.ZodTypeAny, {
3791
+ name: string;
3792
+ accounts: string[];
3793
+ }, {
3794
+ name: string;
3795
+ accounts: string[];
3796
+ }>;
3797
+ type CreateEntityRequestData = z__default.infer<typeof zCreateEntityRequestData>;
3798
+ declare const zEditEntityRequestData: z__default.ZodObject<{
3799
+ name: z__default.ZodString;
3800
+ accounts: z__default.ZodArray<z__default.ZodString, "many">;
3801
+ }, "strip", z__default.ZodTypeAny, {
3802
+ name: string;
3803
+ accounts: string[];
3804
+ }, {
3805
+ name: string;
3806
+ accounts: string[];
3807
+ }>;
3808
+ type EditEntityRequestData = z__default.infer<typeof zEditEntityRequestData>;
3809
+
3810
+ declare const zWorkspaceRuleRequestData: z__default.ZodObject<{
3811
+ permission: z__default.ZodNativeEnum<Pick<{
3812
+ ROOT: "ROOT";
3813
+ CREATE_ACCOUNT_WITH_POLICY: "CREATE_ACCOUNT_WITH_POLICY";
3814
+ }, "CREATE_ACCOUNT_WITH_POLICY">>;
3815
+ reviewConfig: z__default.ZodArray<z__default.ZodObject<{
3816
+ quorum: z__default.ZodNumber;
3817
+ userIds: z__default.ZodArray<z__default.ZodString, "many">;
3818
+ }, "strip", z__default.ZodTypeAny, {
3819
+ quorum: number;
3820
+ userIds: string[];
3821
+ }, {
3822
+ quorum: number;
3823
+ userIds: string[];
3824
+ }>, "many">;
3825
+ }, "strip", z__default.ZodTypeAny, {
3826
+ permission: "CREATE_ACCOUNT_WITH_POLICY";
3827
+ reviewConfig: {
3828
+ quorum: number;
3829
+ userIds: string[];
3830
+ }[];
3831
+ }, {
3832
+ permission: "CREATE_ACCOUNT_WITH_POLICY";
3833
+ reviewConfig: {
3834
+ quorum: number;
3835
+ userIds: string[];
3836
+ }[];
3837
+ }>;
3838
+ type WorkspaceRuleRequestData = z__default.infer<typeof zWorkspaceRuleRequestData>;
3839
+
3840
+ declare const zCreateAdminRequestData: z__default.ZodObject<{
3841
+ name: z__default.ZodString;
3842
+ deviceUserId: z__default.ZodString;
3843
+ registration: z__default.ZodOptional<z__default.ZodDiscriminatedUnion<"subState", [z__default.ZodObject<{
3844
+ subState: z__default.ZodLiteral<"PENDING">;
3845
+ deviceData: z__default.ZodObject<{
3846
+ name: z__default.ZodString;
3847
+ psdModel: z__default.ZodNativeEnum<{
3848
+ BLUE: "BLUE";
3849
+ STAX: "STAX";
3850
+ }>;
3851
+ pubKey: z__default.ZodString;
3852
+ confidentialityKey: z__default.ZodString;
3853
+ psdEphemeralKey: z__default.ZodString;
3854
+ psdEphemeralKeyAttestation: z__default.ZodObject<{
3855
+ codeHash: z__default.ZodString;
3856
+ attestationPub: z__default.ZodString;
3857
+ certificate: z__default.ZodString;
3858
+ signature: z__default.ZodString;
3859
+ }, "strip", z__default.ZodTypeAny, {
3860
+ signature: string;
3861
+ codeHash: string;
3862
+ attestationPub: string;
3863
+ certificate: string;
3864
+ }, {
3865
+ signature: string;
3866
+ codeHash: string;
3867
+ attestationPub: string;
3868
+ certificate: string;
3869
+ }>;
3870
+ }, "strip", z__default.ZodTypeAny, {
3871
+ name: string;
3872
+ pubKey: string;
3873
+ psdModel: "BLUE" | "STAX";
3874
+ confidentialityKey: string;
3875
+ psdEphemeralKey: string;
3876
+ psdEphemeralKeyAttestation: {
3877
+ signature: string;
3878
+ codeHash: string;
3879
+ attestationPub: string;
3880
+ certificate: string;
3881
+ };
3882
+ }, {
3883
+ name: string;
3884
+ pubKey: string;
3885
+ psdModel: "BLUE" | "STAX";
3886
+ confidentialityKey: string;
3887
+ psdEphemeralKey: string;
3888
+ psdEphemeralKeyAttestation: {
3889
+ signature: string;
3890
+ codeHash: string;
3891
+ attestationPub: string;
3892
+ certificate: string;
3893
+ };
3894
+ }>;
3895
+ challenge: z__default.ZodObject<{
3896
+ challenge: z__default.ZodString;
3897
+ ephemeralPublicKey: z__default.ZodString;
3898
+ ephemeralPublicKeyAttestation: z__default.ZodObject<{
3899
+ codeHash: z__default.ZodString;
3900
+ attestationPub: z__default.ZodString;
3901
+ certificate: z__default.ZodString;
3902
+ signature: z__default.ZodString;
3903
+ }, "strip", z__default.ZodTypeAny, {
3904
+ signature: string;
3905
+ codeHash: string;
3906
+ attestationPub: string;
3907
+ certificate: string;
3908
+ }, {
3909
+ signature: string;
3910
+ codeHash: string;
3911
+ attestationPub: string;
3912
+ certificate: string;
3913
+ }>;
3914
+ handshake: z__default.ZodString;
3915
+ handshakeAttestation: z__default.ZodObject<{
3916
+ codeHash: z__default.ZodString;
3917
+ attestationPub: z__default.ZodString;
3918
+ certificate: z__default.ZodString;
3919
+ signature: z__default.ZodString;
3920
+ }, "strip", z__default.ZodTypeAny, {
3921
+ signature: string;
3922
+ codeHash: string;
3923
+ attestationPub: string;
3924
+ certificate: string;
3925
+ }, {
3926
+ signature: string;
3927
+ codeHash: string;
3928
+ attestationPub: string;
3929
+ certificate: string;
3930
+ }>;
3931
+ u2fRegisterData: z__default.ZodString;
3932
+ ciphertext: z__default.ZodString;
3933
+ requestId: z__default.ZodString;
3934
+ }, "strip", z__default.ZodTypeAny, {
3935
+ requestId: string;
3936
+ challenge: string;
3937
+ handshake: string;
3938
+ handshakeAttestation: {
3939
+ signature: string;
3940
+ codeHash: string;
3941
+ attestationPub: string;
3942
+ certificate: string;
3943
+ };
3944
+ ephemeralPublicKey: string;
3945
+ ephemeralPublicKeyAttestation: {
3946
+ signature: string;
3947
+ codeHash: string;
3948
+ attestationPub: string;
3949
+ certificate: string;
3950
+ };
3951
+ u2fRegisterData: string;
3952
+ ciphertext: string;
3953
+ }, {
3954
+ requestId: string;
3955
+ challenge: string;
3956
+ handshake: string;
3957
+ handshakeAttestation: {
3958
+ signature: string;
3959
+ codeHash: string;
3960
+ attestationPub: string;
3961
+ certificate: string;
3962
+ };
3963
+ ephemeralPublicKey: string;
3964
+ ephemeralPublicKeyAttestation: {
3965
+ signature: string;
3966
+ codeHash: string;
3967
+ attestationPub: string;
3968
+ certificate: string;
3969
+ };
3970
+ u2fRegisterData: string;
3971
+ ciphertext: string;
3972
+ }>;
3973
+ }, "strip", z__default.ZodTypeAny, {
3974
+ challenge: {
3975
+ requestId: string;
3976
+ challenge: string;
3977
+ handshake: string;
3978
+ handshakeAttestation: {
3979
+ signature: string;
3980
+ codeHash: string;
3981
+ attestationPub: string;
3982
+ certificate: string;
3983
+ };
3984
+ ephemeralPublicKey: string;
3985
+ ephemeralPublicKeyAttestation: {
3986
+ signature: string;
3987
+ codeHash: string;
3988
+ attestationPub: string;
3989
+ certificate: string;
3990
+ };
3991
+ u2fRegisterData: string;
3992
+ ciphertext: string;
3993
+ };
3994
+ subState: "PENDING";
3995
+ deviceData: {
3996
+ name: string;
3997
+ pubKey: string;
3998
+ psdModel: "BLUE" | "STAX";
3999
+ confidentialityKey: string;
4000
+ psdEphemeralKey: string;
4001
+ psdEphemeralKeyAttestation: {
4002
+ signature: string;
4003
+ codeHash: string;
4004
+ attestationPub: string;
4005
+ certificate: string;
4006
+ };
4007
+ };
4008
+ }, {
4009
+ challenge: {
4010
+ requestId: string;
4011
+ challenge: string;
4012
+ handshake: string;
4013
+ handshakeAttestation: {
4014
+ signature: string;
4015
+ codeHash: string;
4016
+ attestationPub: string;
4017
+ certificate: string;
4018
+ };
4019
+ ephemeralPublicKey: string;
4020
+ ephemeralPublicKeyAttestation: {
4021
+ signature: string;
4022
+ codeHash: string;
4023
+ attestationPub: string;
4024
+ certificate: string;
4025
+ };
4026
+ u2fRegisterData: string;
4027
+ ciphertext: string;
4028
+ };
4029
+ subState: "PENDING";
4030
+ deviceData: {
4031
+ name: string;
4032
+ pubKey: string;
4033
+ psdModel: "BLUE" | "STAX";
4034
+ confidentialityKey: string;
4035
+ psdEphemeralKey: string;
4036
+ psdEphemeralKeyAttestation: {
4037
+ signature: string;
4038
+ codeHash: string;
4039
+ attestationPub: string;
4040
+ certificate: string;
4041
+ };
4042
+ };
4043
+ }>, z__default.ZodObject<{
4044
+ subState: z__default.ZodLiteral<"COMPLETED">;
4045
+ pubKey: z__default.ZodString;
4046
+ u2fKeyHandle: z__default.ZodString;
4047
+ u2fPubKey: z__default.ZodString;
4048
+ }, "strip", z__default.ZodTypeAny, {
4049
+ pubKey: string;
4050
+ u2fKeyHandle: string;
4051
+ u2fPubKey: string;
4052
+ subState: "COMPLETED";
4053
+ }, {
4054
+ pubKey: string;
4055
+ u2fKeyHandle: string;
4056
+ u2fPubKey: string;
4057
+ subState: "COMPLETED";
4058
+ }>]>>;
4059
+ } & {
4060
+ deviceType: z__default.ZodLiteral<"PSD">;
4061
+ }, "strip", z__default.ZodTypeAny, {
4062
+ name: string;
4063
+ deviceType: "PSD";
4064
+ deviceUserId: string;
4065
+ registration?: {
4066
+ challenge: {
4067
+ requestId: string;
4068
+ challenge: string;
4069
+ handshake: string;
4070
+ handshakeAttestation: {
4071
+ signature: string;
4072
+ codeHash: string;
4073
+ attestationPub: string;
4074
+ certificate: string;
4075
+ };
4076
+ ephemeralPublicKey: string;
4077
+ ephemeralPublicKeyAttestation: {
4078
+ signature: string;
4079
+ codeHash: string;
4080
+ attestationPub: string;
4081
+ certificate: string;
4082
+ };
4083
+ u2fRegisterData: string;
4084
+ ciphertext: string;
4085
+ };
4086
+ subState: "PENDING";
4087
+ deviceData: {
4088
+ name: string;
4089
+ pubKey: string;
4090
+ psdModel: "BLUE" | "STAX";
4091
+ confidentialityKey: string;
4092
+ psdEphemeralKey: string;
4093
+ psdEphemeralKeyAttestation: {
4094
+ signature: string;
4095
+ codeHash: string;
4096
+ attestationPub: string;
4097
+ certificate: string;
4098
+ };
4099
+ };
4100
+ } | {
4101
+ pubKey: string;
4102
+ u2fKeyHandle: string;
4103
+ u2fPubKey: string;
4104
+ subState: "COMPLETED";
4105
+ } | undefined;
4106
+ }, {
4107
+ name: string;
4108
+ deviceType: "PSD";
4109
+ deviceUserId: string;
4110
+ registration?: {
4111
+ challenge: {
4112
+ requestId: string;
4113
+ challenge: string;
4114
+ handshake: string;
4115
+ handshakeAttestation: {
4116
+ signature: string;
4117
+ codeHash: string;
4118
+ attestationPub: string;
4119
+ certificate: string;
4120
+ };
4121
+ ephemeralPublicKey: string;
4122
+ ephemeralPublicKeyAttestation: {
4123
+ signature: string;
4124
+ codeHash: string;
4125
+ attestationPub: string;
4126
+ certificate: string;
4127
+ };
4128
+ u2fRegisterData: string;
4129
+ ciphertext: string;
4130
+ };
4131
+ subState: "PENDING";
4132
+ deviceData: {
4133
+ name: string;
4134
+ pubKey: string;
4135
+ psdModel: "BLUE" | "STAX";
4136
+ confidentialityKey: string;
4137
+ psdEphemeralKey: string;
4138
+ psdEphemeralKeyAttestation: {
4139
+ signature: string;
4140
+ codeHash: string;
4141
+ attestationPub: string;
4142
+ certificate: string;
4143
+ };
4144
+ };
4145
+ } | {
4146
+ pubKey: string;
4147
+ u2fKeyHandle: string;
4148
+ u2fPubKey: string;
4149
+ subState: "COMPLETED";
4150
+ } | undefined;
4151
+ }>;
4152
+ type CreateAdminRequestData = z__default.infer<typeof zCreateAdminRequestData>;
4153
+ declare const zCreateOperatorRequestData: z__default.ZodObject<{
4154
+ name: z__default.ZodString;
4155
+ deviceType: z__default.ZodEnum<["PSD", "SOFT_PSD"]>;
4156
+ deviceUserId: z__default.ZodString;
4157
+ registration: z__default.ZodOptional<z__default.ZodDiscriminatedUnion<"subState", [z__default.ZodObject<{
4158
+ subState: z__default.ZodLiteral<"PENDING">;
4159
+ deviceData: z__default.ZodObject<{
4160
+ name: z__default.ZodString;
4161
+ psdModel: z__default.ZodNativeEnum<{
4162
+ BLUE: "BLUE";
4163
+ STAX: "STAX";
4164
+ }>;
4165
+ pubKey: z__default.ZodString;
4166
+ confidentialityKey: z__default.ZodString;
4167
+ psdEphemeralKey: z__default.ZodString;
4168
+ psdEphemeralKeyAttestation: z__default.ZodObject<{
4169
+ codeHash: z__default.ZodString;
4170
+ attestationPub: z__default.ZodString;
4171
+ certificate: z__default.ZodString;
4172
+ signature: z__default.ZodString;
4173
+ }, "strip", z__default.ZodTypeAny, {
4174
+ signature: string;
4175
+ codeHash: string;
4176
+ attestationPub: string;
4177
+ certificate: string;
4178
+ }, {
4179
+ signature: string;
4180
+ codeHash: string;
4181
+ attestationPub: string;
4182
+ certificate: string;
4183
+ }>;
4184
+ }, "strip", z__default.ZodTypeAny, {
4185
+ name: string;
4186
+ pubKey: string;
4187
+ psdModel: "BLUE" | "STAX";
4188
+ confidentialityKey: string;
4189
+ psdEphemeralKey: string;
4190
+ psdEphemeralKeyAttestation: {
4191
+ signature: string;
4192
+ codeHash: string;
4193
+ attestationPub: string;
4194
+ certificate: string;
4195
+ };
4196
+ }, {
4197
+ name: string;
4198
+ pubKey: string;
4199
+ psdModel: "BLUE" | "STAX";
4200
+ confidentialityKey: string;
4201
+ psdEphemeralKey: string;
4202
+ psdEphemeralKeyAttestation: {
4203
+ signature: string;
4204
+ codeHash: string;
4205
+ attestationPub: string;
4206
+ certificate: string;
4207
+ };
4208
+ }>;
4209
+ challenge: z__default.ZodObject<{
4210
+ challenge: z__default.ZodString;
4211
+ ephemeralPublicKey: z__default.ZodString;
4212
+ ephemeralPublicKeyAttestation: z__default.ZodObject<{
4213
+ codeHash: z__default.ZodString;
4214
+ attestationPub: z__default.ZodString;
4215
+ certificate: z__default.ZodString;
4216
+ signature: z__default.ZodString;
4217
+ }, "strip", z__default.ZodTypeAny, {
4218
+ signature: string;
4219
+ codeHash: string;
4220
+ attestationPub: string;
4221
+ certificate: string;
4222
+ }, {
4223
+ signature: string;
4224
+ codeHash: string;
4225
+ attestationPub: string;
4226
+ certificate: string;
4227
+ }>;
4228
+ handshake: z__default.ZodString;
4229
+ handshakeAttestation: z__default.ZodObject<{
4230
+ codeHash: z__default.ZodString;
4231
+ attestationPub: z__default.ZodString;
4232
+ certificate: z__default.ZodString;
4233
+ signature: z__default.ZodString;
4234
+ }, "strip", z__default.ZodTypeAny, {
4235
+ signature: string;
4236
+ codeHash: string;
4237
+ attestationPub: string;
4238
+ certificate: string;
4239
+ }, {
4240
+ signature: string;
4241
+ codeHash: string;
4242
+ attestationPub: string;
4243
+ certificate: string;
4244
+ }>;
4245
+ u2fRegisterData: z__default.ZodString;
4246
+ ciphertext: z__default.ZodString;
4247
+ requestId: z__default.ZodString;
4248
+ }, "strip", z__default.ZodTypeAny, {
4249
+ requestId: string;
4250
+ challenge: string;
4251
+ handshake: string;
4252
+ handshakeAttestation: {
4253
+ signature: string;
4254
+ codeHash: string;
4255
+ attestationPub: string;
4256
+ certificate: string;
4257
+ };
4258
+ ephemeralPublicKey: string;
4259
+ ephemeralPublicKeyAttestation: {
4260
+ signature: string;
4261
+ codeHash: string;
4262
+ attestationPub: string;
4263
+ certificate: string;
4264
+ };
4265
+ u2fRegisterData: string;
4266
+ ciphertext: string;
4267
+ }, {
4268
+ requestId: string;
4269
+ challenge: string;
4270
+ handshake: string;
4271
+ handshakeAttestation: {
4272
+ signature: string;
4273
+ codeHash: string;
4274
+ attestationPub: string;
4275
+ certificate: string;
4276
+ };
4277
+ ephemeralPublicKey: string;
4278
+ ephemeralPublicKeyAttestation: {
4279
+ signature: string;
4280
+ codeHash: string;
4281
+ attestationPub: string;
4282
+ certificate: string;
4283
+ };
4284
+ u2fRegisterData: string;
4285
+ ciphertext: string;
4286
+ }>;
4287
+ }, "strip", z__default.ZodTypeAny, {
4288
+ challenge: {
4289
+ requestId: string;
4290
+ challenge: string;
4291
+ handshake: string;
4292
+ handshakeAttestation: {
4293
+ signature: string;
4294
+ codeHash: string;
4295
+ attestationPub: string;
4296
+ certificate: string;
4297
+ };
4298
+ ephemeralPublicKey: string;
4299
+ ephemeralPublicKeyAttestation: {
4300
+ signature: string;
4301
+ codeHash: string;
4302
+ attestationPub: string;
4303
+ certificate: string;
4304
+ };
4305
+ u2fRegisterData: string;
4306
+ ciphertext: string;
4307
+ };
4308
+ subState: "PENDING";
4309
+ deviceData: {
4310
+ name: string;
4311
+ pubKey: string;
4312
+ psdModel: "BLUE" | "STAX";
4313
+ confidentialityKey: string;
4314
+ psdEphemeralKey: string;
4315
+ psdEphemeralKeyAttestation: {
4316
+ signature: string;
4317
+ codeHash: string;
4318
+ attestationPub: string;
4319
+ certificate: string;
4320
+ };
4321
+ };
4322
+ }, {
4323
+ challenge: {
4324
+ requestId: string;
4325
+ challenge: string;
4326
+ handshake: string;
4327
+ handshakeAttestation: {
4328
+ signature: string;
4329
+ codeHash: string;
4330
+ attestationPub: string;
4331
+ certificate: string;
4332
+ };
4333
+ ephemeralPublicKey: string;
4334
+ ephemeralPublicKeyAttestation: {
4335
+ signature: string;
4336
+ codeHash: string;
4337
+ attestationPub: string;
4338
+ certificate: string;
4339
+ };
4340
+ u2fRegisterData: string;
4341
+ ciphertext: string;
4342
+ };
4343
+ subState: "PENDING";
4344
+ deviceData: {
4345
+ name: string;
4346
+ pubKey: string;
4347
+ psdModel: "BLUE" | "STAX";
4348
+ confidentialityKey: string;
4349
+ psdEphemeralKey: string;
4350
+ psdEphemeralKeyAttestation: {
4351
+ signature: string;
4352
+ codeHash: string;
4353
+ attestationPub: string;
4354
+ certificate: string;
4355
+ };
4356
+ };
4357
+ }>, z__default.ZodObject<{
4358
+ subState: z__default.ZodLiteral<"COMPLETED">;
4359
+ pubKey: z__default.ZodString;
4360
+ u2fKeyHandle: z__default.ZodString;
4361
+ u2fPubKey: z__default.ZodString;
4362
+ }, "strip", z__default.ZodTypeAny, {
4363
+ pubKey: string;
4364
+ u2fKeyHandle: string;
4365
+ u2fPubKey: string;
4366
+ subState: "COMPLETED";
4367
+ }, {
4368
+ pubKey: string;
4369
+ u2fKeyHandle: string;
4370
+ u2fPubKey: string;
4371
+ subState: "COMPLETED";
4372
+ }>]>>;
4373
+ }, "strip", z__default.ZodTypeAny, {
4374
+ name: string;
4375
+ deviceType: "PSD" | "SOFT_PSD";
4376
+ deviceUserId: string;
4377
+ registration?: {
4378
+ challenge: {
4379
+ requestId: string;
4380
+ challenge: string;
4381
+ handshake: string;
4382
+ handshakeAttestation: {
4383
+ signature: string;
4384
+ codeHash: string;
4385
+ attestationPub: string;
4386
+ certificate: string;
4387
+ };
4388
+ ephemeralPublicKey: string;
4389
+ ephemeralPublicKeyAttestation: {
4390
+ signature: string;
4391
+ codeHash: string;
4392
+ attestationPub: string;
4393
+ certificate: string;
4394
+ };
4395
+ u2fRegisterData: string;
4396
+ ciphertext: string;
4397
+ };
4398
+ subState: "PENDING";
4399
+ deviceData: {
4400
+ name: string;
4401
+ pubKey: string;
4402
+ psdModel: "BLUE" | "STAX";
4403
+ confidentialityKey: string;
4404
+ psdEphemeralKey: string;
4405
+ psdEphemeralKeyAttestation: {
4406
+ signature: string;
4407
+ codeHash: string;
4408
+ attestationPub: string;
4409
+ certificate: string;
4410
+ };
4411
+ };
4412
+ } | {
4413
+ pubKey: string;
4414
+ u2fKeyHandle: string;
4415
+ u2fPubKey: string;
4416
+ subState: "COMPLETED";
4417
+ } | undefined;
4418
+ }, {
4419
+ name: string;
4420
+ deviceType: "PSD" | "SOFT_PSD";
4421
+ deviceUserId: string;
4422
+ registration?: {
4423
+ challenge: {
4424
+ requestId: string;
4425
+ challenge: string;
4426
+ handshake: string;
4427
+ handshakeAttestation: {
4428
+ signature: string;
4429
+ codeHash: string;
4430
+ attestationPub: string;
4431
+ certificate: string;
4432
+ };
4433
+ ephemeralPublicKey: string;
4434
+ ephemeralPublicKeyAttestation: {
4435
+ signature: string;
4436
+ codeHash: string;
4437
+ attestationPub: string;
4438
+ certificate: string;
4439
+ };
4440
+ u2fRegisterData: string;
4441
+ ciphertext: string;
4442
+ };
4443
+ subState: "PENDING";
4444
+ deviceData: {
4445
+ name: string;
4446
+ pubKey: string;
4447
+ psdModel: "BLUE" | "STAX";
4448
+ confidentialityKey: string;
4449
+ psdEphemeralKey: string;
4450
+ psdEphemeralKeyAttestation: {
4451
+ signature: string;
4452
+ codeHash: string;
4453
+ attestationPub: string;
4454
+ certificate: string;
4455
+ };
4456
+ };
4457
+ } | {
4458
+ pubKey: string;
4459
+ u2fKeyHandle: string;
4460
+ u2fPubKey: string;
4461
+ subState: "COMPLETED";
4462
+ } | undefined;
4463
+ }>;
4464
+ type CreateOperatorRequestData = z__default.infer<typeof zCreateOperatorRequestData>;
4465
+ declare const zCreateApiUserRequestData: z__default.ZodObject<{
4466
+ name: z__default.ZodString;
4467
+ publicKey: z__default.ZodString;
4468
+ }, "strip", z__default.ZodTypeAny, {
4469
+ name: string;
4470
+ publicKey: string;
4471
+ }, {
4472
+ name: string;
4473
+ publicKey: string;
4474
+ }>;
4475
+ type CreateApiUserRequestData = z__default.infer<typeof zCreateApiUserRequestData>;
4476
+ declare const zCreateApiUserAccessRequestData: z__default.ZodObject<{
4477
+ name: z__default.ZodString;
4478
+ }, "strip", z__default.ZodTypeAny, {
4479
+ name: string;
4480
+ }, {
4481
+ name: string;
4482
+ }>;
4483
+ type CreateApiUserAccessRequestData = z__default.infer<typeof zCreateApiUserAccessRequestData>;
4484
+
4485
+ declare const zCreateWhitelistRequestData: z__default.ZodObject<{
4486
+ name: z__default.ZodString;
4487
+ description: z__default.ZodNullable<z__default.ZodString>;
4488
+ addresses: z__default.ZodArray<z__default.ZodObject<{
4489
+ name: z__default.ZodString;
4490
+ currency: z__default.ZodString;
4491
+ address: z__default.ZodString;
4492
+ destinationTags: z__default.ZodOptional<z__default.ZodArray<z__default.ZodString, "many">>;
4493
+ }, "strip", z__default.ZodTypeAny, {
4494
+ name: string;
4495
+ currency: string;
4496
+ address: string;
4497
+ destinationTags?: string[] | undefined;
4498
+ }, {
4499
+ name: string;
4500
+ currency: string;
4501
+ address: string;
4502
+ destinationTags?: string[] | undefined;
4503
+ }>, "many">;
4504
+ type: z__default.ZodNativeEnum<{
4505
+ TRANSACTION: "TRANSACTION";
4506
+ SMART_CONTRACT: "SMART_CONTRACT";
4507
+ }>;
4508
+ }, "strip", z__default.ZodTypeAny, {
4509
+ type: "TRANSACTION" | "SMART_CONTRACT";
4510
+ name: string;
4511
+ description: string | null;
4512
+ addresses: {
4513
+ name: string;
4514
+ currency: string;
4515
+ address: string;
4516
+ destinationTags?: string[] | undefined;
4517
+ }[];
4518
+ }, {
4519
+ type: "TRANSACTION" | "SMART_CONTRACT";
4520
+ name: string;
4521
+ description: string | null;
4522
+ addresses: {
4523
+ name: string;
4524
+ currency: string;
4525
+ address: string;
4526
+ destinationTags?: string[] | undefined;
4527
+ }[];
4528
+ }>;
4529
+ type CreateWhitelistRequestData = z__default.infer<typeof zCreateWhitelistRequestData>;
4530
+ declare const zEditWhitelistRequestData: z__default.ZodObject<{
4531
+ name: z__default.ZodString;
4532
+ addresses: z__default.ZodArray<z__default.ZodObject<{
4533
+ name: z__default.ZodString;
4534
+ currency: z__default.ZodString;
4535
+ address: z__default.ZodString;
4536
+ destinationTags: z__default.ZodOptional<z__default.ZodArray<z__default.ZodString, "many">>;
4537
+ }, "strip", z__default.ZodTypeAny, {
4538
+ name: string;
4539
+ currency: string;
4540
+ address: string;
4541
+ destinationTags?: string[] | undefined;
4542
+ }, {
4543
+ name: string;
4544
+ currency: string;
4545
+ address: string;
4546
+ destinationTags?: string[] | undefined;
4547
+ }>, "many">;
4548
+ }, "strip", z__default.ZodTypeAny, {
4549
+ name: string;
4550
+ addresses: {
4551
+ name: string;
4552
+ currency: string;
4553
+ address: string;
4554
+ destinationTags?: string[] | undefined;
4555
+ }[];
4556
+ }, {
4557
+ name: string;
4558
+ addresses: {
4559
+ name: string;
4560
+ currency: string;
4561
+ address: string;
4562
+ destinationTags?: string[] | undefined;
4563
+ }[];
4564
+ }>;
4565
+ type EditWhitelistRequestData = z__default.infer<typeof zEditWhitelistRequestData>;
4566
+
4567
+ declare const zUpdateQuorumRequestData: z__default.ZodObject<{
4568
+ quorum: z__default.ZodNumber;
4569
+ }, "strip", z__default.ZodTypeAny, {
4570
+ quorum: number;
4571
+ }, {
4572
+ quorum: number;
4573
+ }>;
4574
+ type UpdateQuorumRequestData = z__default.infer<typeof zUpdateQuorumRequestData>;
4575
+
4576
+ type RequestDataTypes = {
4577
+ [RequestType.UPDATE_QUORUM]: UpdateQuorumRequestData;
4578
+ [RequestType.CREATE_ADMIN]: CreateAdminRequestData;
4579
+ [RequestType.CREATE_OPERATOR]: CreateOperatorRequestData;
4580
+ [RequestType.CREATE_API_USER]: CreateApiUserRequestData;
4581
+ [RequestType.CREATE_API_USER_ACCESS]: CreateApiUserAccessRequestData;
4582
+ [RequestType.REVOKE_USER]: Record<string, never>;
4583
+ [RequestType.CREATE_WORKSPACE_RULE]: WorkspaceRuleRequestData;
4584
+ [RequestType.EDIT_WORKSPACE_RULE]: WorkspaceRuleRequestData;
4585
+ [RequestType.CREATE_GROUP]: CreateGroupRequestData;
4586
+ [RequestType.EDIT_GROUP]: EditGroupRequestData;
4587
+ [RequestType.REVOKE_GROUP]: Record<string, never>;
4588
+ [RequestType.CREATE_API_KEY]: CreateApiKeyRequestData;
4589
+ [RequestType.EDIT_API_KEY]: EditApiKeyRequestData;
4590
+ [RequestType.REVOKE_API_KEY]: Record<string, never>;
4591
+ [RequestType.CREATE_WHITELIST]: CreateWhitelistRequestData;
4592
+ [RequestType.EDIT_WHITELIST]: EditWhitelistRequestData;
4593
+ [RequestType.CREATE_ENTITY]: CreateEntityRequestData;
4594
+ [RequestType.EDIT_ENTITY]: EditEntityRequestData;
4595
+ [RequestType.REVOKE_ENTITY]: Record<string, never>;
4596
+ [RequestType.CREATE_ACCOUNT]: CreateAccountRequestData;
4597
+ [RequestType.EDIT_ACCOUNT]: EditAccountRequestData;
4598
+ [RequestType.EDIT_TOKEN_RULE]: EditTokenRuleRequestData;
4599
+ [RequestType.CREATE_TRANSACTION]: CreateTransactionRequestData;
4600
+ [RequestType.CREATE_SCICONFIG]: CreateSciConfigRequestData;
4601
+ [RequestType.EDIT_SCICONFIG]: EditSciConfigRequestData;
4602
+ [RequestType.CREATE_POLICY]: CreatePolicyRequestData;
4603
+ [RequestType.EDIT_POLICY]: EditPolicyRequestData;
4604
+ [RequestType.ADJUST_PLEDGE]: AdjustPledgeRequestData;
4605
+ [RequestType.CREATE_SETTLEMENT]: CreateSettlementRequestData;
4606
+ [RequestType.FORCE_UNPLEDGE]: ForceUnpledgeRequestData;
4607
+ [RequestType.TRADELINK_WITHDRAW]: TradelinkWithdrawRequestData;
4608
+ };
4609
+ /**
4610
+ * A more strict subtype of `VaultRequest`: The `data` field should be a `Prisma.JsonValue`
4611
+ * (in this case, a `Prisma.JsonObject`) __AND__ also of type `D`.
4612
+ */
4613
+ type RequestWith<D> = VaultRequest & {
4614
+ data: D;
4615
+ };
4616
+ type VaultRequestOpts<T extends keyof RequestDataTypes> = {
4617
+ type: T;
4618
+ data: RequestDataTypes[T];
4619
+ } & Partial<Omit<VaultRequest, "type" | "data">>;
4620
+ declare const genVaultRequest: <T extends keyof RequestDataTypes>(opts: VaultRequestOpts<T>) => RequestWith<RequestDataTypes[T]>;
4621
+ declare const genVaultRequestReview: (opts?: Partial<VaultRequestReview & {
4622
+ challenge: UserChallenge;
4623
+ }>) => VaultRequestReview;
4624
+
4625
+ declare function genVaultRequestResponse<T extends keyof RequestDataTypes>(opts: Parameters<typeof genVaultRequest<T>>[0], reviews?: VaultRequestReview[]): VaultRequestResponse;
4626
+ declare function genAccountResponse(overrides?: Partial<Account>): AccountResponse;
4627
+
4628
+ export { genAccountResponse, genVaultRequestResponse, genVaultRequestReview };