@proton/wrap-constants 0.0.48 → 0.0.51

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.
@@ -3,12 +3,15 @@ declare const withdrawBodyBaseAction: z.ZodObject<{
3
3
  account: z.ZodString | z.ZodLiteral<string>;
4
4
  name: z.ZodLiteral<string>;
5
5
  data: z.ZodObject<{
6
- from: z.ZodString;
6
+ from: z.ZodEffects<z.ZodString, string, string>;
7
7
  to: z.ZodLiteral<"proton.wrap">;
8
8
  quantity: z.ZodString;
9
9
  memo: z.ZodString;
10
- }, {
11
- strict: true;
10
+ }, "strip", z.ZodTypeAny, {
11
+ from: string;
12
+ to: "proton.wrap";
13
+ quantity: string;
14
+ memo: string;
12
15
  }, {
13
16
  from: string;
14
17
  to: "proton.wrap";
@@ -18,23 +21,35 @@ declare const withdrawBodyBaseAction: z.ZodObject<{
18
21
  authorization: z.ZodArray<z.ZodObject<{
19
22
  actor: z.ZodString;
20
23
  permission: z.ZodString;
21
- }, {
22
- strict: true;
24
+ }, "strip", z.ZodTypeAny, {
25
+ actor: string;
26
+ permission: string;
23
27
  }, {
24
28
  actor: string;
25
29
  permission: string;
26
- }>>;
27
- }, {
28
- strict: true;
29
- }, {
30
+ }>, "many">;
31
+ }, "strip", z.ZodTypeAny, {
30
32
  account: string;
33
+ data: {
34
+ from: string;
35
+ to: "proton.wrap";
36
+ quantity: string;
37
+ memo: string;
38
+ };
31
39
  name: string;
40
+ authorization: {
41
+ actor: string;
42
+ permission: string;
43
+ }[];
44
+ }, {
45
+ account: string;
32
46
  data: {
33
47
  from: string;
34
48
  to: "proton.wrap";
35
49
  quantity: string;
36
50
  memo: string;
37
51
  };
52
+ name: string;
38
53
  authorization: {
39
54
  actor: string;
40
55
  permission: string;
@@ -45,33 +60,70 @@ export declare const withdrawBodyParser: z.ZodObject<{
45
60
  signer: z.ZodObject<{
46
61
  actor: z.ZodString;
47
62
  permission: z.ZodString;
48
- }, {
49
- strict: true;
63
+ }, "strip", z.ZodTypeAny, {
64
+ actor: string;
65
+ permission: string;
50
66
  }, {
51
67
  actor: string;
52
68
  permission: string;
53
69
  }>;
54
- signatures: z.ZodArray<z.ZodString>;
55
- transaction: z.ZodObject<{
70
+ signatures: z.ZodArray<z.ZodString, "many">;
71
+ transaction: z.ZodObject<z.extendShape<{
56
72
  expiration: z.ZodString;
57
73
  ref_block_num: z.ZodNumber;
58
74
  ref_block_prefix: z.ZodNumber;
59
75
  max_net_usage_words: z.ZodNumber;
60
76
  max_cpu_usage_ms: z.ZodNumber;
61
77
  delay_sec: z.ZodNumber;
62
- context_free_actions: z.ZodArray<z.ZodAny>;
63
- transaction_extensions: z.ZodArray<z.ZodAny>;
64
- } & {
78
+ context_free_actions: z.ZodArray<z.ZodObject<{
79
+ account: z.ZodString;
80
+ name: z.ZodString;
81
+ authorization: z.ZodArray<z.ZodObject<{
82
+ actor: z.ZodString;
83
+ permission: z.ZodString;
84
+ }, "strip", z.ZodTypeAny, {
85
+ actor: string;
86
+ permission: string;
87
+ }, {
88
+ actor: string;
89
+ permission: string;
90
+ }>, "many">;
91
+ data: z.ZodAny;
92
+ hex_data: z.ZodOptional<z.ZodString>;
93
+ }, "strip", z.ZodTypeAny, {
94
+ data?: any;
95
+ hex_data?: string | undefined;
96
+ account: string;
97
+ name: string;
98
+ authorization: {
99
+ actor: string;
100
+ permission: string;
101
+ }[];
102
+ }, {
103
+ data?: any;
104
+ hex_data?: string | undefined;
105
+ account: string;
106
+ name: string;
107
+ authorization: {
108
+ actor: string;
109
+ permission: string;
110
+ }[];
111
+ }>, "many">;
112
+ transaction_extensions: z.ZodArray<z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodNumber, z.ZodString]>, "many">>, "many">;
113
+ }, {
65
114
  actions: z.ZodArray<z.ZodUnion<[z.ZodObject<{
66
115
  account: z.ZodString | z.ZodLiteral<string>;
67
116
  name: z.ZodLiteral<string>;
68
117
  data: z.ZodObject<{
69
- from: z.ZodString;
118
+ from: z.ZodEffects<z.ZodString, string, string>;
70
119
  to: z.ZodLiteral<"proton.wrap">;
71
120
  quantity: z.ZodString;
72
121
  memo: z.ZodString;
73
- }, {
74
- strict: true;
122
+ }, "strip", z.ZodTypeAny, {
123
+ from: string;
124
+ to: "proton.wrap";
125
+ quantity: string;
126
+ memo: string;
75
127
  }, {
76
128
  from: string;
77
129
  to: "proton.wrap";
@@ -81,23 +133,35 @@ export declare const withdrawBodyParser: z.ZodObject<{
81
133
  authorization: z.ZodArray<z.ZodObject<{
82
134
  actor: z.ZodString;
83
135
  permission: z.ZodString;
84
- }, {
85
- strict: true;
136
+ }, "strip", z.ZodTypeAny, {
137
+ actor: string;
138
+ permission: string;
86
139
  }, {
87
140
  actor: string;
88
141
  permission: string;
89
- }>>;
90
- }, {
91
- strict: true;
92
- }, {
142
+ }>, "many">;
143
+ }, "strip", z.ZodTypeAny, {
93
144
  account: string;
145
+ data: {
146
+ from: string;
147
+ to: "proton.wrap";
148
+ quantity: string;
149
+ memo: string;
150
+ };
94
151
  name: string;
152
+ authorization: {
153
+ actor: string;
154
+ permission: string;
155
+ }[];
156
+ }, {
157
+ account: string;
95
158
  data: {
96
159
  from: string;
97
160
  to: "proton.wrap";
98
161
  quantity: string;
99
162
  memo: string;
100
163
  };
164
+ name: string;
101
165
  authorization: {
102
166
  actor: string;
103
167
  permission: string;
@@ -111,16 +175,22 @@ export declare const withdrawBodyParser: z.ZodObject<{
111
175
  key: z.ZodArray<z.ZodUnion<[z.ZodString, z.ZodObject<{
112
176
  modulus: z.ZodString;
113
177
  exponent: z.ZodString;
114
- }, {
115
- strict: true;
178
+ }, "strip", z.ZodTypeAny, {
179
+ modulus: string;
180
+ exponent: string;
116
181
  }, {
117
182
  modulus: string;
118
183
  exponent: string;
119
- }>]>>;
184
+ }>]>, "many">;
120
185
  user_presence: z.ZodNumber;
121
186
  rpid: z.ZodString;
122
- }, {
123
- strict: true;
187
+ }, "strip", z.ZodTypeAny, {
188
+ key: (string | {
189
+ modulus: string;
190
+ exponent: string;
191
+ })[];
192
+ user_presence: number;
193
+ rpid: string;
124
194
  }, {
125
195
  key: (string | {
126
196
  modulus: string;
@@ -133,43 +203,82 @@ export declare const withdrawBodyParser: z.ZodObject<{
133
203
  permissions: z.ZodArray<z.ZodObject<{
134
204
  actor: z.ZodString;
135
205
  permission: z.ZodString;
136
- }, {
137
- strict: true;
206
+ }, "strip", z.ZodTypeAny, {
207
+ actor: string;
208
+ permission: string;
138
209
  }, {
139
210
  actor: string;
140
211
  permission: string;
141
- }>>;
212
+ }>, "many">;
142
213
  signature: z.ZodObject<{
143
214
  auth_data: z.ZodString;
144
215
  client_json: z.ZodString;
145
216
  signature: z.ZodString;
146
- }, {
147
- strict: true;
148
- }, {
217
+ }, "strip", z.ZodTypeAny, {
218
+ signature: string;
149
219
  auth_data: string;
150
220
  client_json: string;
221
+ }, {
151
222
  signature: string;
223
+ auth_data: string;
224
+ client_json: string;
152
225
  }>;
153
- trx: z.ZodObject<{
226
+ trx: z.ZodObject<z.extendShape<{
154
227
  expiration: z.ZodString;
155
228
  ref_block_num: z.ZodNumber;
156
229
  ref_block_prefix: z.ZodNumber;
157
230
  max_net_usage_words: z.ZodNumber;
158
231
  max_cpu_usage_ms: z.ZodNumber;
159
232
  delay_sec: z.ZodNumber;
160
- context_free_actions: z.ZodArray<z.ZodAny>;
161
- transaction_extensions: z.ZodArray<z.ZodAny>;
162
- } & {
233
+ context_free_actions: z.ZodArray<z.ZodObject<{
234
+ account: z.ZodString;
235
+ name: z.ZodString;
236
+ authorization: z.ZodArray<z.ZodObject<{
237
+ actor: z.ZodString;
238
+ permission: z.ZodString;
239
+ }, "strip", z.ZodTypeAny, {
240
+ actor: string;
241
+ permission: string;
242
+ }, {
243
+ actor: string;
244
+ permission: string;
245
+ }>, "many">;
246
+ data: z.ZodAny;
247
+ hex_data: z.ZodOptional<z.ZodString>;
248
+ }, "strip", z.ZodTypeAny, {
249
+ data?: any;
250
+ hex_data?: string | undefined;
251
+ account: string;
252
+ name: string;
253
+ authorization: {
254
+ actor: string;
255
+ permission: string;
256
+ }[];
257
+ }, {
258
+ data?: any;
259
+ hex_data?: string | undefined;
260
+ account: string;
261
+ name: string;
262
+ authorization: {
263
+ actor: string;
264
+ permission: string;
265
+ }[];
266
+ }>, "many">;
267
+ transaction_extensions: z.ZodArray<z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodNumber, z.ZodString]>, "many">>, "many">;
268
+ }, {
163
269
  actions: z.ZodArray<z.ZodObject<{
164
270
  account: z.ZodString | z.ZodLiteral<string>;
165
271
  name: z.ZodLiteral<string>;
166
272
  data: z.ZodUnion<[z.ZodString, z.ZodObject<{
167
- from: z.ZodString;
273
+ from: z.ZodEffects<z.ZodString, string, string>;
168
274
  to: z.ZodLiteral<"proton.wrap">;
169
275
  quantity: z.ZodString;
170
276
  memo: z.ZodString;
171
- }, {
172
- strict: true;
277
+ }, "strip", z.ZodTypeAny, {
278
+ from: string;
279
+ to: "proton.wrap";
280
+ quantity: string;
281
+ memo: string;
173
282
  }, {
174
283
  from: string;
175
284
  to: "proton.wrap";
@@ -179,59 +288,379 @@ export declare const withdrawBodyParser: z.ZodObject<{
179
288
  authorization: z.ZodArray<z.ZodObject<{
180
289
  actor: z.ZodString;
181
290
  permission: z.ZodString;
291
+ }, "strip", z.ZodTypeAny, {
292
+ actor: string;
293
+ permission: string;
182
294
  }, {
183
- strict: true;
184
- }, {
185
295
  actor: string;
186
296
  permission: string;
187
- }>>;
188
- }, {
189
- strict: true;
190
- }, {
297
+ }>, "many">;
298
+ }, "strip", z.ZodTypeAny, {
299
+ account: string;
300
+ data: string | {
301
+ from: string;
302
+ to: "proton.wrap";
303
+ quantity: string;
304
+ memo: string;
305
+ };
306
+ name: string;
307
+ authorization: {
308
+ actor: string;
309
+ permission: string;
310
+ }[];
311
+ }, {
312
+ account: string;
313
+ data: string | {
314
+ from: string;
315
+ to: "proton.wrap";
316
+ quantity: string;
317
+ memo: string;
318
+ };
319
+ name: string;
320
+ authorization: {
321
+ actor: string;
322
+ permission: string;
323
+ }[];
324
+ }>, "many">;
325
+ }>, "strip", z.ZodTypeAny, {
326
+ expiration: string;
327
+ ref_block_num: number;
328
+ ref_block_prefix: number;
329
+ max_net_usage_words: number;
330
+ max_cpu_usage_ms: number;
331
+ delay_sec: number;
332
+ context_free_actions: {
333
+ data?: any;
334
+ hex_data?: string | undefined;
335
+ account: string;
336
+ name: string;
337
+ authorization: {
338
+ actor: string;
339
+ permission: string;
340
+ }[];
341
+ }[];
342
+ transaction_extensions: ((string | number)[] | undefined)[];
343
+ actions: {
344
+ account: string;
345
+ data: string | {
346
+ from: string;
347
+ to: "proton.wrap";
348
+ quantity: string;
349
+ memo: string;
350
+ };
351
+ name: string;
352
+ authorization: {
353
+ actor: string;
354
+ permission: string;
355
+ }[];
356
+ }[];
357
+ }, {
358
+ expiration: string;
359
+ ref_block_num: number;
360
+ ref_block_prefix: number;
361
+ max_net_usage_words: number;
362
+ max_cpu_usage_ms: number;
363
+ delay_sec: number;
364
+ context_free_actions: {
365
+ data?: any;
366
+ hex_data?: string | undefined;
367
+ account: string;
368
+ name: string;
369
+ authorization: {
370
+ actor: string;
371
+ permission: string;
372
+ }[];
373
+ }[];
374
+ transaction_extensions: ((string | number)[] | undefined)[];
375
+ actions: {
376
+ account: string;
377
+ data: string | {
378
+ from: string;
379
+ to: "proton.wrap";
380
+ quantity: string;
381
+ memo: string;
382
+ };
383
+ name: string;
384
+ authorization: {
385
+ actor: string;
386
+ permission: string;
387
+ }[];
388
+ }[];
389
+ }>;
390
+ }, "strip", z.ZodTypeAny, {
391
+ account: string;
392
+ key: {
393
+ key: (string | {
394
+ modulus: string;
395
+ exponent: string;
396
+ })[];
397
+ user_presence: number;
398
+ rpid: string;
399
+ };
400
+ nonce: number;
401
+ permissions: {
402
+ actor: string;
403
+ permission: string;
404
+ }[];
405
+ signature: {
406
+ signature: string;
407
+ auth_data: string;
408
+ client_json: string;
409
+ };
410
+ trx: {
411
+ expiration: string;
412
+ ref_block_num: number;
413
+ ref_block_prefix: number;
414
+ max_net_usage_words: number;
415
+ max_cpu_usage_ms: number;
416
+ delay_sec: number;
417
+ context_free_actions: {
418
+ data?: any;
419
+ hex_data?: string | undefined;
420
+ account: string;
421
+ name: string;
422
+ authorization: {
423
+ actor: string;
424
+ permission: string;
425
+ }[];
426
+ }[];
427
+ transaction_extensions: ((string | number)[] | undefined)[];
428
+ actions: {
429
+ account: string;
430
+ data: string | {
431
+ from: string;
432
+ to: "proton.wrap";
433
+ quantity: string;
434
+ memo: string;
435
+ };
436
+ name: string;
437
+ authorization: {
438
+ actor: string;
439
+ permission: string;
440
+ }[];
441
+ }[];
442
+ };
443
+ }, {
444
+ account: string;
445
+ key: {
446
+ key: (string | {
447
+ modulus: string;
448
+ exponent: string;
449
+ })[];
450
+ user_presence: number;
451
+ rpid: string;
452
+ };
453
+ nonce: number;
454
+ permissions: {
455
+ actor: string;
456
+ permission: string;
457
+ }[];
458
+ signature: {
459
+ signature: string;
460
+ auth_data: string;
461
+ client_json: string;
462
+ };
463
+ trx: {
464
+ expiration: string;
465
+ ref_block_num: number;
466
+ ref_block_prefix: number;
467
+ max_net_usage_words: number;
468
+ max_cpu_usage_ms: number;
469
+ delay_sec: number;
470
+ context_free_actions: {
471
+ data?: any;
472
+ hex_data?: string | undefined;
473
+ account: string;
474
+ name: string;
475
+ authorization: {
476
+ actor: string;
477
+ permission: string;
478
+ }[];
479
+ }[];
480
+ transaction_extensions: ((string | number)[] | undefined)[];
481
+ actions: {
482
+ account: string;
483
+ data: string | {
484
+ from: string;
485
+ to: "proton.wrap";
486
+ quantity: string;
487
+ memo: string;
488
+ };
489
+ name: string;
490
+ authorization: {
491
+ actor: string;
492
+ permission: string;
493
+ }[];
494
+ }[];
495
+ };
496
+ }>;
497
+ authorization: z.ZodArray<z.ZodObject<{
498
+ actor: z.ZodString;
499
+ permission: z.ZodString;
500
+ }, "strip", z.ZodTypeAny, {
501
+ actor: string;
502
+ permission: string;
503
+ }, {
504
+ actor: string;
505
+ permission: string;
506
+ }>, "many">;
507
+ }, "strip", z.ZodTypeAny, {
508
+ account: "webauthn";
509
+ data: {
510
+ account: string;
511
+ key: {
512
+ key: (string | {
513
+ modulus: string;
514
+ exponent: string;
515
+ })[];
516
+ user_presence: number;
517
+ rpid: string;
518
+ };
519
+ nonce: number;
520
+ permissions: {
521
+ actor: string;
522
+ permission: string;
523
+ }[];
524
+ signature: {
525
+ signature: string;
526
+ auth_data: string;
527
+ client_json: string;
528
+ };
529
+ trx: {
530
+ expiration: string;
531
+ ref_block_num: number;
532
+ ref_block_prefix: number;
533
+ max_net_usage_words: number;
534
+ max_cpu_usage_ms: number;
535
+ delay_sec: number;
536
+ context_free_actions: {
537
+ data?: any;
538
+ hex_data?: string | undefined;
539
+ account: string;
540
+ name: string;
541
+ authorization: {
542
+ actor: string;
543
+ permission: string;
544
+ }[];
545
+ }[];
546
+ transaction_extensions: ((string | number)[] | undefined)[];
547
+ actions: {
191
548
  account: string;
192
- name: string;
193
549
  data: string | {
194
550
  from: string;
195
551
  to: "proton.wrap";
196
552
  quantity: string;
197
553
  memo: string;
198
554
  };
555
+ name: string;
199
556
  authorization: {
200
557
  actor: string;
201
558
  permission: string;
202
559
  }[];
203
- }>>;
204
- }, import("zod/lib/src/helpers/objectUtil").objectUtil.MergeObjectParams<{
205
- strict: true;
206
- }, {
207
- strict: true;
208
- }>, {
560
+ }[];
561
+ };
562
+ };
563
+ name: "exec";
564
+ authorization: {
565
+ actor: string;
566
+ permission: string;
567
+ }[];
568
+ }, {
569
+ account: "webauthn";
570
+ data: {
571
+ account: string;
572
+ key: {
573
+ key: (string | {
574
+ modulus: string;
575
+ exponent: string;
576
+ })[];
577
+ user_presence: number;
578
+ rpid: string;
579
+ };
580
+ nonce: number;
581
+ permissions: {
582
+ actor: string;
583
+ permission: string;
584
+ }[];
585
+ signature: {
586
+ signature: string;
587
+ auth_data: string;
588
+ client_json: string;
589
+ };
590
+ trx: {
209
591
  expiration: string;
210
592
  ref_block_num: number;
211
593
  ref_block_prefix: number;
212
594
  max_net_usage_words: number;
213
595
  max_cpu_usage_ms: number;
214
596
  delay_sec: number;
215
- context_free_actions: any[];
216
- transaction_extensions: any[];
217
- actions: {
597
+ context_free_actions: {
598
+ data?: any;
599
+ hex_data?: string | undefined;
218
600
  account: string;
219
601
  name: string;
602
+ authorization: {
603
+ actor: string;
604
+ permission: string;
605
+ }[];
606
+ }[];
607
+ transaction_extensions: ((string | number)[] | undefined)[];
608
+ actions: {
609
+ account: string;
220
610
  data: string | {
221
611
  from: string;
222
612
  to: "proton.wrap";
223
613
  quantity: string;
224
614
  memo: string;
225
615
  };
616
+ name: string;
226
617
  authorization: {
227
618
  actor: string;
228
619
  permission: string;
229
620
  }[];
230
621
  }[];
231
- }>;
232
- }, {
233
- strict: true;
234
- }, {
622
+ };
623
+ };
624
+ name: "exec";
625
+ authorization: {
626
+ actor: string;
627
+ permission: string;
628
+ }[];
629
+ }>]>, "many">;
630
+ }>, "strip", z.ZodTypeAny, {
631
+ expiration: string;
632
+ ref_block_num: number;
633
+ ref_block_prefix: number;
634
+ max_net_usage_words: number;
635
+ max_cpu_usage_ms: number;
636
+ delay_sec: number;
637
+ context_free_actions: {
638
+ data?: any;
639
+ hex_data?: string | undefined;
640
+ account: string;
641
+ name: string;
642
+ authorization: {
643
+ actor: string;
644
+ permission: string;
645
+ }[];
646
+ }[];
647
+ transaction_extensions: ((string | number)[] | undefined)[];
648
+ actions: ({
649
+ account: string;
650
+ data: {
651
+ from: string;
652
+ to: "proton.wrap";
653
+ quantity: string;
654
+ memo: string;
655
+ };
656
+ name: string;
657
+ authorization: {
658
+ actor: string;
659
+ permission: string;
660
+ }[];
661
+ } | {
662
+ account: "webauthn";
663
+ data: {
235
664
  account: string;
236
665
  key: {
237
666
  key: (string | {
@@ -241,16 +670,16 @@ export declare const withdrawBodyParser: z.ZodObject<{
241
670
  user_presence: number;
242
671
  rpid: string;
243
672
  };
244
- signature: {
245
- auth_data: string;
246
- client_json: string;
247
- signature: string;
248
- };
249
673
  nonce: number;
250
674
  permissions: {
251
675
  actor: string;
252
676
  permission: string;
253
677
  }[];
678
+ signature: {
679
+ signature: string;
680
+ auth_data: string;
681
+ client_json: string;
682
+ };
254
683
  trx: {
255
684
  expiration: string;
256
685
  ref_block_num: number;
@@ -258,38 +687,72 @@ export declare const withdrawBodyParser: z.ZodObject<{
258
687
  max_net_usage_words: number;
259
688
  max_cpu_usage_ms: number;
260
689
  delay_sec: number;
261
- context_free_actions: any[];
262
- transaction_extensions: any[];
263
- actions: {
690
+ context_free_actions: {
691
+ data?: any;
692
+ hex_data?: string | undefined;
264
693
  account: string;
265
694
  name: string;
695
+ authorization: {
696
+ actor: string;
697
+ permission: string;
698
+ }[];
699
+ }[];
700
+ transaction_extensions: ((string | number)[] | undefined)[];
701
+ actions: {
702
+ account: string;
266
703
  data: string | {
267
704
  from: string;
268
705
  to: "proton.wrap";
269
706
  quantity: string;
270
707
  memo: string;
271
708
  };
709
+ name: string;
272
710
  authorization: {
273
711
  actor: string;
274
712
  permission: string;
275
713
  }[];
276
714
  }[];
277
715
  };
278
- }>;
279
- authorization: z.ZodArray<z.ZodObject<{
280
- actor: z.ZodString;
281
- permission: z.ZodString;
282
- }, {
283
- strict: true;
284
- }, {
716
+ };
717
+ name: "exec";
718
+ authorization: {
285
719
  actor: string;
286
720
  permission: string;
287
- }>>;
288
- }, {
289
- strict: true;
290
- }, {
721
+ }[];
722
+ })[];
723
+ }, {
724
+ expiration: string;
725
+ ref_block_num: number;
726
+ ref_block_prefix: number;
727
+ max_net_usage_words: number;
728
+ max_cpu_usage_ms: number;
729
+ delay_sec: number;
730
+ context_free_actions: {
731
+ data?: any;
732
+ hex_data?: string | undefined;
733
+ account: string;
734
+ name: string;
735
+ authorization: {
736
+ actor: string;
737
+ permission: string;
738
+ }[];
739
+ }[];
740
+ transaction_extensions: ((string | number)[] | undefined)[];
741
+ actions: ({
742
+ account: string;
743
+ data: {
744
+ from: string;
745
+ to: "proton.wrap";
746
+ quantity: string;
747
+ memo: string;
748
+ };
749
+ name: string;
750
+ authorization: {
751
+ actor: string;
752
+ permission: string;
753
+ }[];
754
+ } | {
291
755
  account: "webauthn";
292
- name: "exec";
293
756
  data: {
294
757
  account: string;
295
758
  key: {
@@ -300,16 +763,16 @@ export declare const withdrawBodyParser: z.ZodObject<{
300
763
  user_presence: number;
301
764
  rpid: string;
302
765
  };
303
- signature: {
304
- auth_data: string;
305
- client_json: string;
306
- signature: string;
307
- };
308
766
  nonce: number;
309
767
  permissions: {
310
768
  actor: string;
311
769
  permission: string;
312
770
  }[];
771
+ signature: {
772
+ signature: string;
773
+ auth_data: string;
774
+ client_json: string;
775
+ };
313
776
  trx: {
314
777
  expiration: string;
315
778
  ref_block_num: number;
@@ -317,17 +780,26 @@ export declare const withdrawBodyParser: z.ZodObject<{
317
780
  max_net_usage_words: number;
318
781
  max_cpu_usage_ms: number;
319
782
  delay_sec: number;
320
- context_free_actions: any[];
321
- transaction_extensions: any[];
322
- actions: {
783
+ context_free_actions: {
784
+ data?: any;
785
+ hex_data?: string | undefined;
323
786
  account: string;
324
787
  name: string;
788
+ authorization: {
789
+ actor: string;
790
+ permission: string;
791
+ }[];
792
+ }[];
793
+ transaction_extensions: ((string | number)[] | undefined)[];
794
+ actions: {
795
+ account: string;
325
796
  data: string | {
326
797
  from: string;
327
798
  to: "proton.wrap";
328
799
  quantity: string;
329
800
  memo: string;
330
801
  };
802
+ name: string;
331
803
  authorization: {
332
804
  actor: string;
333
805
  permission: string;
@@ -335,40 +807,55 @@ export declare const withdrawBodyParser: z.ZodObject<{
335
807
  }[];
336
808
  };
337
809
  };
810
+ name: "exec";
338
811
  authorization: {
339
812
  actor: string;
340
813
  permission: string;
341
814
  }[];
342
- }>]>>;
343
- }, import("zod/lib/src/helpers/objectUtil").objectUtil.MergeObjectParams<{
344
- strict: true;
345
- }, {
346
- strict: true;
347
- }>, {
815
+ })[];
816
+ }>;
817
+ quoteId: z.ZodString;
818
+ provider: z.ZodOptional<z.ZodString>;
819
+ }, "strip", z.ZodTypeAny, {
820
+ provider?: string | undefined;
821
+ signer: {
822
+ actor: string;
823
+ permission: string;
824
+ };
825
+ signatures: string[];
826
+ transaction: {
348
827
  expiration: string;
349
828
  ref_block_num: number;
350
829
  ref_block_prefix: number;
351
830
  max_net_usage_words: number;
352
831
  max_cpu_usage_ms: number;
353
832
  delay_sec: number;
354
- context_free_actions: any[];
355
- transaction_extensions: any[];
356
- actions: ({
833
+ context_free_actions: {
834
+ data?: any;
835
+ hex_data?: string | undefined;
357
836
  account: string;
358
837
  name: string;
838
+ authorization: {
839
+ actor: string;
840
+ permission: string;
841
+ }[];
842
+ }[];
843
+ transaction_extensions: ((string | number)[] | undefined)[];
844
+ actions: ({
845
+ account: string;
359
846
  data: {
360
847
  from: string;
361
848
  to: "proton.wrap";
362
849
  quantity: string;
363
850
  memo: string;
364
851
  };
852
+ name: string;
365
853
  authorization: {
366
854
  actor: string;
367
855
  permission: string;
368
856
  }[];
369
857
  } | {
370
858
  account: "webauthn";
371
- name: "exec";
372
859
  data: {
373
860
  account: string;
374
861
  key: {
@@ -379,16 +866,16 @@ export declare const withdrawBodyParser: z.ZodObject<{
379
866
  user_presence: number;
380
867
  rpid: string;
381
868
  };
382
- signature: {
383
- auth_data: string;
384
- client_json: string;
385
- signature: string;
386
- };
387
869
  nonce: number;
388
870
  permissions: {
389
871
  actor: string;
390
872
  permission: string;
391
873
  }[];
874
+ signature: {
875
+ signature: string;
876
+ auth_data: string;
877
+ client_json: string;
878
+ };
392
879
  trx: {
393
880
  expiration: string;
394
881
  ref_block_num: number;
@@ -396,17 +883,26 @@ export declare const withdrawBodyParser: z.ZodObject<{
396
883
  max_net_usage_words: number;
397
884
  max_cpu_usage_ms: number;
398
885
  delay_sec: number;
399
- context_free_actions: any[];
400
- transaction_extensions: any[];
401
- actions: {
886
+ context_free_actions: {
887
+ data?: any;
888
+ hex_data?: string | undefined;
402
889
  account: string;
403
890
  name: string;
891
+ authorization: {
892
+ actor: string;
893
+ permission: string;
894
+ }[];
895
+ }[];
896
+ transaction_extensions: ((string | number)[] | undefined)[];
897
+ actions: {
898
+ account: string;
404
899
  data: string | {
405
900
  from: string;
406
901
  to: "proton.wrap";
407
902
  quantity: string;
408
903
  memo: string;
409
904
  };
905
+ name: string;
410
906
  authorization: {
411
907
  actor: string;
412
908
  permission: string;
@@ -414,16 +910,14 @@ export declare const withdrawBodyParser: z.ZodObject<{
414
910
  }[];
415
911
  };
416
912
  };
913
+ name: "exec";
417
914
  authorization: {
418
915
  actor: string;
419
916
  permission: string;
420
917
  }[];
421
918
  })[];
422
- }>;
423
- quoteId: z.ZodString;
424
- provider: z.ZodUnion<[z.ZodString, z.ZodUndefined]>;
425
- }, {
426
- strict: true;
919
+ };
920
+ quoteId: string;
427
921
  }, {
428
922
  provider?: string | undefined;
429
923
  signer: {
@@ -438,24 +932,32 @@ export declare const withdrawBodyParser: z.ZodObject<{
438
932
  max_net_usage_words: number;
439
933
  max_cpu_usage_ms: number;
440
934
  delay_sec: number;
441
- context_free_actions: any[];
442
- transaction_extensions: any[];
443
- actions: ({
935
+ context_free_actions: {
936
+ data?: any;
937
+ hex_data?: string | undefined;
444
938
  account: string;
445
939
  name: string;
940
+ authorization: {
941
+ actor: string;
942
+ permission: string;
943
+ }[];
944
+ }[];
945
+ transaction_extensions: ((string | number)[] | undefined)[];
946
+ actions: ({
947
+ account: string;
446
948
  data: {
447
949
  from: string;
448
950
  to: "proton.wrap";
449
951
  quantity: string;
450
952
  memo: string;
451
953
  };
954
+ name: string;
452
955
  authorization: {
453
956
  actor: string;
454
957
  permission: string;
455
958
  }[];
456
959
  } | {
457
960
  account: "webauthn";
458
- name: "exec";
459
961
  data: {
460
962
  account: string;
461
963
  key: {
@@ -466,16 +968,16 @@ export declare const withdrawBodyParser: z.ZodObject<{
466
968
  user_presence: number;
467
969
  rpid: string;
468
970
  };
469
- signature: {
470
- auth_data: string;
471
- client_json: string;
472
- signature: string;
473
- };
474
971
  nonce: number;
475
972
  permissions: {
476
973
  actor: string;
477
974
  permission: string;
478
975
  }[];
976
+ signature: {
977
+ signature: string;
978
+ auth_data: string;
979
+ client_json: string;
980
+ };
479
981
  trx: {
480
982
  expiration: string;
481
983
  ref_block_num: number;
@@ -483,17 +985,26 @@ export declare const withdrawBodyParser: z.ZodObject<{
483
985
  max_net_usage_words: number;
484
986
  max_cpu_usage_ms: number;
485
987
  delay_sec: number;
486
- context_free_actions: any[];
487
- transaction_extensions: any[];
488
- actions: {
988
+ context_free_actions: {
989
+ data?: any;
990
+ hex_data?: string | undefined;
489
991
  account: string;
490
992
  name: string;
993
+ authorization: {
994
+ actor: string;
995
+ permission: string;
996
+ }[];
997
+ }[];
998
+ transaction_extensions: ((string | number)[] | undefined)[];
999
+ actions: {
1000
+ account: string;
491
1001
  data: string | {
492
1002
  from: string;
493
1003
  to: "proton.wrap";
494
1004
  quantity: string;
495
1005
  memo: string;
496
1006
  };
1007
+ name: string;
497
1008
  authorization: {
498
1009
  actor: string;
499
1010
  permission: string;
@@ -501,6 +1012,7 @@ export declare const withdrawBodyParser: z.ZodObject<{
501
1012
  }[];
502
1013
  };
503
1014
  };
1015
+ name: "exec";
504
1016
  authorization: {
505
1017
  actor: string;
506
1018
  permission: string;
@@ -513,8 +1025,9 @@ export declare type WithdrawBody = z.infer<typeof withdrawBodyParser>;
513
1025
  export declare const withdrawMetalResponseParser: z.ZodObject<{
514
1026
  success: z.ZodBoolean;
515
1027
  id: z.ZodString;
516
- }, {
517
- strict: true;
1028
+ }, "strip", z.ZodTypeAny, {
1029
+ success: boolean;
1030
+ id: string;
518
1031
  }, {
519
1032
  success: boolean;
520
1033
  id: string;
@@ -525,8 +1038,11 @@ export declare const withdrawalFeeQuoteParser: z.ZodObject<{
525
1038
  estimatedFee: z.ZodString;
526
1039
  currency: z.ZodString;
527
1040
  network: z.ZodString;
528
- }, {
529
- strict: true;
1041
+ }, "strip", z.ZodTypeAny, {
1042
+ quoteId: string;
1043
+ estimatedFee: string;
1044
+ currency: string;
1045
+ network: string;
530
1046
  }, {
531
1047
  quoteId: string;
532
1048
  estimatedFee: string;