@proton/wrap-constants 0.2.182 → 0.2.184

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.
@@ -1,1053 +0,0 @@
1
- import * as z from 'zod';
2
- declare const withdrawBodyBaseAction: z.ZodObject<{
3
- account: z.ZodString | z.ZodLiteral<string>;
4
- name: z.ZodLiteral<string>;
5
- data: z.ZodObject<{
6
- from: z.ZodEffects<z.ZodString, string, string>;
7
- to: z.ZodLiteral<"proton.wrap">;
8
- quantity: z.ZodString;
9
- memo: z.ZodString;
10
- }, "strip", z.ZodTypeAny, {
11
- from: string;
12
- to: "proton.wrap";
13
- quantity: string;
14
- memo: string;
15
- }, {
16
- from: string;
17
- to: "proton.wrap";
18
- quantity: string;
19
- memo: string;
20
- }>;
21
- authorization: z.ZodArray<z.ZodObject<{
22
- actor: z.ZodString;
23
- permission: z.ZodString;
24
- }, "strip", z.ZodTypeAny, {
25
- actor: string;
26
- permission: string;
27
- }, {
28
- actor: string;
29
- permission: string;
30
- }>, "many">;
31
- }, "strip", z.ZodTypeAny, {
32
- account: string;
33
- data: {
34
- from: string;
35
- to: "proton.wrap";
36
- quantity: string;
37
- memo: string;
38
- };
39
- name: string;
40
- authorization: {
41
- actor: string;
42
- permission: string;
43
- }[];
44
- }, {
45
- account: string;
46
- data: {
47
- from: string;
48
- to: "proton.wrap";
49
- quantity: string;
50
- memo: string;
51
- };
52
- name: string;
53
- authorization: {
54
- actor: string;
55
- permission: string;
56
- }[];
57
- }>;
58
- export declare type WithdrawBodyBaseAction = z.infer<typeof withdrawBodyBaseAction>;
59
- export declare const withdrawBodyParser: z.ZodObject<{
60
- signer: z.ZodObject<{
61
- actor: z.ZodString;
62
- permission: z.ZodString;
63
- }, "strip", z.ZodTypeAny, {
64
- actor: string;
65
- permission: string;
66
- }, {
67
- actor: string;
68
- permission: string;
69
- }>;
70
- signatures: z.ZodArray<z.ZodString, "many">;
71
- transaction: z.ZodObject<z.extendShape<{
72
- expiration: z.ZodString;
73
- ref_block_num: z.ZodNumber;
74
- ref_block_prefix: z.ZodNumber;
75
- max_net_usage_words: z.ZodNumber;
76
- max_cpu_usage_ms: z.ZodNumber;
77
- delay_sec: z.ZodNumber;
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
- }, {
114
- actions: z.ZodArray<z.ZodUnion<[z.ZodObject<{
115
- account: z.ZodString | z.ZodLiteral<string>;
116
- name: z.ZodLiteral<string>;
117
- data: z.ZodObject<{
118
- from: z.ZodEffects<z.ZodString, string, string>;
119
- to: z.ZodLiteral<"proton.wrap">;
120
- quantity: z.ZodString;
121
- memo: z.ZodString;
122
- }, "strip", z.ZodTypeAny, {
123
- from: string;
124
- to: "proton.wrap";
125
- quantity: string;
126
- memo: string;
127
- }, {
128
- from: string;
129
- to: "proton.wrap";
130
- quantity: string;
131
- memo: string;
132
- }>;
133
- authorization: z.ZodArray<z.ZodObject<{
134
- actor: z.ZodString;
135
- permission: z.ZodString;
136
- }, "strip", z.ZodTypeAny, {
137
- actor: string;
138
- permission: string;
139
- }, {
140
- actor: string;
141
- permission: string;
142
- }>, "many">;
143
- }, "strip", z.ZodTypeAny, {
144
- account: string;
145
- data: {
146
- from: string;
147
- to: "proton.wrap";
148
- quantity: string;
149
- memo: string;
150
- };
151
- name: string;
152
- authorization: {
153
- actor: string;
154
- permission: string;
155
- }[];
156
- }, {
157
- account: string;
158
- data: {
159
- from: string;
160
- to: "proton.wrap";
161
- quantity: string;
162
- memo: string;
163
- };
164
- name: string;
165
- authorization: {
166
- actor: string;
167
- permission: string;
168
- }[];
169
- }>, z.ZodObject<{
170
- account: z.ZodLiteral<"webauthn">;
171
- name: z.ZodLiteral<"exec">;
172
- data: z.ZodObject<{
173
- account: z.ZodString;
174
- key: z.ZodObject<{
175
- key: z.ZodArray<z.ZodUnion<[z.ZodString, z.ZodObject<{
176
- modulus: z.ZodString;
177
- exponent: z.ZodString;
178
- }, "strip", z.ZodTypeAny, {
179
- modulus: string;
180
- exponent: string;
181
- }, {
182
- modulus: string;
183
- exponent: string;
184
- }>]>, "many">;
185
- user_presence: z.ZodNumber;
186
- rpid: z.ZodString;
187
- }, "strip", z.ZodTypeAny, {
188
- key: (string | {
189
- modulus: string;
190
- exponent: string;
191
- })[];
192
- user_presence: number;
193
- rpid: string;
194
- }, {
195
- key: (string | {
196
- modulus: string;
197
- exponent: string;
198
- })[];
199
- user_presence: number;
200
- rpid: string;
201
- }>;
202
- nonce: z.ZodNumber;
203
- permissions: z.ZodArray<z.ZodObject<{
204
- actor: z.ZodString;
205
- permission: z.ZodString;
206
- }, "strip", z.ZodTypeAny, {
207
- actor: string;
208
- permission: string;
209
- }, {
210
- actor: string;
211
- permission: string;
212
- }>, "many">;
213
- signature: z.ZodObject<{
214
- auth_data: z.ZodString;
215
- client_json: z.ZodString;
216
- signature: z.ZodString;
217
- }, "strip", z.ZodTypeAny, {
218
- signature: string;
219
- auth_data: string;
220
- client_json: string;
221
- }, {
222
- signature: string;
223
- auth_data: string;
224
- client_json: string;
225
- }>;
226
- trx: z.ZodObject<z.extendShape<{
227
- expiration: z.ZodString;
228
- ref_block_num: z.ZodNumber;
229
- ref_block_prefix: z.ZodNumber;
230
- max_net_usage_words: z.ZodNumber;
231
- max_cpu_usage_ms: z.ZodNumber;
232
- delay_sec: z.ZodNumber;
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
- }, {
269
- actions: z.ZodArray<z.ZodObject<{
270
- account: z.ZodString | z.ZodLiteral<string>;
271
- name: z.ZodLiteral<string>;
272
- data: z.ZodUnion<[z.ZodString, z.ZodObject<{
273
- from: z.ZodEffects<z.ZodString, string, string>;
274
- to: z.ZodLiteral<"proton.wrap">;
275
- quantity: z.ZodString;
276
- memo: z.ZodString;
277
- }, "strip", z.ZodTypeAny, {
278
- from: string;
279
- to: "proton.wrap";
280
- quantity: string;
281
- memo: string;
282
- }, {
283
- from: string;
284
- to: "proton.wrap";
285
- quantity: string;
286
- memo: string;
287
- }>]>;
288
- authorization: z.ZodArray<z.ZodObject<{
289
- actor: z.ZodString;
290
- permission: z.ZodString;
291
- }, "strip", z.ZodTypeAny, {
292
- actor: string;
293
- permission: string;
294
- }, {
295
- actor: string;
296
- permission: string;
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: {
548
- account: string;
549
- data: string | {
550
- from: string;
551
- to: "proton.wrap";
552
- quantity: string;
553
- memo: string;
554
- };
555
- name: string;
556
- authorization: {
557
- actor: string;
558
- permission: string;
559
- }[];
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: {
591
- expiration: string;
592
- ref_block_num: number;
593
- ref_block_prefix: number;
594
- max_net_usage_words: number;
595
- max_cpu_usage_ms: number;
596
- delay_sec: number;
597
- context_free_actions: {
598
- data?: any;
599
- hex_data?: string | undefined;
600
- account: string;
601
- name: string;
602
- authorization: {
603
- actor: string;
604
- permission: string;
605
- }[];
606
- }[];
607
- transaction_extensions: ((string | number)[] | undefined)[];
608
- actions: {
609
- account: string;
610
- data: string | {
611
- from: string;
612
- to: "proton.wrap";
613
- quantity: string;
614
- memo: string;
615
- };
616
- name: string;
617
- authorization: {
618
- actor: string;
619
- permission: string;
620
- }[];
621
- }[];
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: {
664
- account: string;
665
- key: {
666
- key: (string | {
667
- modulus: string;
668
- exponent: string;
669
- })[];
670
- user_presence: number;
671
- rpid: string;
672
- };
673
- nonce: number;
674
- permissions: {
675
- actor: string;
676
- permission: string;
677
- }[];
678
- signature: {
679
- signature: string;
680
- auth_data: string;
681
- client_json: string;
682
- };
683
- trx: {
684
- expiration: string;
685
- ref_block_num: number;
686
- ref_block_prefix: number;
687
- max_net_usage_words: number;
688
- max_cpu_usage_ms: number;
689
- delay_sec: number;
690
- context_free_actions: {
691
- data?: any;
692
- hex_data?: string | undefined;
693
- account: string;
694
- name: string;
695
- authorization: {
696
- actor: string;
697
- permission: string;
698
- }[];
699
- }[];
700
- transaction_extensions: ((string | number)[] | undefined)[];
701
- actions: {
702
- account: string;
703
- data: string | {
704
- from: string;
705
- to: "proton.wrap";
706
- quantity: string;
707
- memo: string;
708
- };
709
- name: string;
710
- authorization: {
711
- actor: string;
712
- permission: string;
713
- }[];
714
- }[];
715
- };
716
- };
717
- name: "exec";
718
- authorization: {
719
- actor: string;
720
- permission: string;
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
- } | {
755
- account: "webauthn";
756
- data: {
757
- account: string;
758
- key: {
759
- key: (string | {
760
- modulus: string;
761
- exponent: string;
762
- })[];
763
- user_presence: number;
764
- rpid: string;
765
- };
766
- nonce: number;
767
- permissions: {
768
- actor: string;
769
- permission: string;
770
- }[];
771
- signature: {
772
- signature: string;
773
- auth_data: string;
774
- client_json: string;
775
- };
776
- trx: {
777
- expiration: string;
778
- ref_block_num: number;
779
- ref_block_prefix: number;
780
- max_net_usage_words: number;
781
- max_cpu_usage_ms: number;
782
- delay_sec: number;
783
- context_free_actions: {
784
- data?: any;
785
- hex_data?: string | undefined;
786
- account: string;
787
- name: string;
788
- authorization: {
789
- actor: string;
790
- permission: string;
791
- }[];
792
- }[];
793
- transaction_extensions: ((string | number)[] | undefined)[];
794
- actions: {
795
- account: string;
796
- data: string | {
797
- from: string;
798
- to: "proton.wrap";
799
- quantity: string;
800
- memo: string;
801
- };
802
- name: string;
803
- authorization: {
804
- actor: string;
805
- permission: string;
806
- }[];
807
- }[];
808
- };
809
- };
810
- name: "exec";
811
- authorization: {
812
- actor: string;
813
- permission: string;
814
- }[];
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: {
827
- expiration: string;
828
- ref_block_num: number;
829
- ref_block_prefix: number;
830
- max_net_usage_words: number;
831
- max_cpu_usage_ms: number;
832
- delay_sec: number;
833
- context_free_actions: {
834
- data?: any;
835
- hex_data?: string | undefined;
836
- account: string;
837
- name: string;
838
- authorization: {
839
- actor: string;
840
- permission: string;
841
- }[];
842
- }[];
843
- transaction_extensions: ((string | number)[] | undefined)[];
844
- actions: ({
845
- account: string;
846
- data: {
847
- from: string;
848
- to: "proton.wrap";
849
- quantity: string;
850
- memo: string;
851
- };
852
- name: string;
853
- authorization: {
854
- actor: string;
855
- permission: string;
856
- }[];
857
- } | {
858
- account: "webauthn";
859
- data: {
860
- account: string;
861
- key: {
862
- key: (string | {
863
- modulus: string;
864
- exponent: string;
865
- })[];
866
- user_presence: number;
867
- rpid: string;
868
- };
869
- nonce: number;
870
- permissions: {
871
- actor: string;
872
- permission: string;
873
- }[];
874
- signature: {
875
- signature: string;
876
- auth_data: string;
877
- client_json: string;
878
- };
879
- trx: {
880
- expiration: string;
881
- ref_block_num: number;
882
- ref_block_prefix: number;
883
- max_net_usage_words: number;
884
- max_cpu_usage_ms: number;
885
- delay_sec: number;
886
- context_free_actions: {
887
- data?: any;
888
- hex_data?: string | undefined;
889
- account: string;
890
- name: string;
891
- authorization: {
892
- actor: string;
893
- permission: string;
894
- }[];
895
- }[];
896
- transaction_extensions: ((string | number)[] | undefined)[];
897
- actions: {
898
- account: string;
899
- data: string | {
900
- from: string;
901
- to: "proton.wrap";
902
- quantity: string;
903
- memo: string;
904
- };
905
- name: string;
906
- authorization: {
907
- actor: string;
908
- permission: string;
909
- }[];
910
- }[];
911
- };
912
- };
913
- name: "exec";
914
- authorization: {
915
- actor: string;
916
- permission: string;
917
- }[];
918
- })[];
919
- };
920
- quoteId: string;
921
- }, {
922
- provider?: string | undefined;
923
- signer: {
924
- actor: string;
925
- permission: string;
926
- };
927
- signatures: string[];
928
- transaction: {
929
- expiration: string;
930
- ref_block_num: number;
931
- ref_block_prefix: number;
932
- max_net_usage_words: number;
933
- max_cpu_usage_ms: number;
934
- delay_sec: number;
935
- context_free_actions: {
936
- data?: any;
937
- hex_data?: string | undefined;
938
- account: string;
939
- name: string;
940
- authorization: {
941
- actor: string;
942
- permission: string;
943
- }[];
944
- }[];
945
- transaction_extensions: ((string | number)[] | undefined)[];
946
- actions: ({
947
- account: string;
948
- data: {
949
- from: string;
950
- to: "proton.wrap";
951
- quantity: string;
952
- memo: string;
953
- };
954
- name: string;
955
- authorization: {
956
- actor: string;
957
- permission: string;
958
- }[];
959
- } | {
960
- account: "webauthn";
961
- data: {
962
- account: string;
963
- key: {
964
- key: (string | {
965
- modulus: string;
966
- exponent: string;
967
- })[];
968
- user_presence: number;
969
- rpid: string;
970
- };
971
- nonce: number;
972
- permissions: {
973
- actor: string;
974
- permission: string;
975
- }[];
976
- signature: {
977
- signature: string;
978
- auth_data: string;
979
- client_json: string;
980
- };
981
- trx: {
982
- expiration: string;
983
- ref_block_num: number;
984
- ref_block_prefix: number;
985
- max_net_usage_words: number;
986
- max_cpu_usage_ms: number;
987
- delay_sec: number;
988
- context_free_actions: {
989
- data?: any;
990
- hex_data?: string | undefined;
991
- account: string;
992
- name: string;
993
- authorization: {
994
- actor: string;
995
- permission: string;
996
- }[];
997
- }[];
998
- transaction_extensions: ((string | number)[] | undefined)[];
999
- actions: {
1000
- account: string;
1001
- data: string | {
1002
- from: string;
1003
- to: "proton.wrap";
1004
- quantity: string;
1005
- memo: string;
1006
- };
1007
- name: string;
1008
- authorization: {
1009
- actor: string;
1010
- permission: string;
1011
- }[];
1012
- }[];
1013
- };
1014
- };
1015
- name: "exec";
1016
- authorization: {
1017
- actor: string;
1018
- permission: string;
1019
- }[];
1020
- })[];
1021
- };
1022
- quoteId: string;
1023
- }>;
1024
- export declare type WithdrawBody = z.infer<typeof withdrawBodyParser>;
1025
- export declare const withdrawMetalResponseParser: z.ZodObject<{
1026
- success: z.ZodBoolean;
1027
- id: z.ZodString;
1028
- }, "strip", z.ZodTypeAny, {
1029
- success: boolean;
1030
- id: string;
1031
- }, {
1032
- success: boolean;
1033
- id: string;
1034
- }>;
1035
- export declare type WithdrawMetalResponse = z.infer<typeof withdrawMetalResponseParser>;
1036
- export declare const withdrawalFeeQuoteParser: z.ZodObject<{
1037
- quoteId: z.ZodString;
1038
- estimatedFee: z.ZodString;
1039
- currency: z.ZodString;
1040
- network: z.ZodString;
1041
- }, "strip", z.ZodTypeAny, {
1042
- quoteId: string;
1043
- estimatedFee: string;
1044
- currency: string;
1045
- network: string;
1046
- }, {
1047
- quoteId: string;
1048
- estimatedFee: string;
1049
- currency: string;
1050
- network: string;
1051
- }>;
1052
- export declare type WithdrawalFeeQuote = z.infer<typeof withdrawalFeeQuoteParser>;
1053
- export {};