@proton/wrap-constants 0.2.100 → 0.2.102

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