@proton/wrap-constants 0.2.70 → 0.2.72

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,1816 +0,0 @@
1
- import * as z from 'zod';
2
- export declare const createAbstractAuthParser: (contract: string, action: string, data: z.ZodRawShape) => z.ZodObject<{
3
- signer: z.ZodObject<{
4
- actor: z.ZodString;
5
- permission: z.ZodString;
6
- }, "strip", z.ZodTypeAny, {
7
- actor: string;
8
- permission: string;
9
- }, {
10
- actor: string;
11
- permission: string;
12
- }>;
13
- signatures: z.ZodArray<z.ZodString, "many">;
14
- transaction: z.ZodObject<z.extendShape<{
15
- expiration: z.ZodString;
16
- ref_block_num: z.ZodNumber;
17
- ref_block_prefix: z.ZodNumber;
18
- max_net_usage_words: z.ZodNumber;
19
- max_cpu_usage_ms: z.ZodNumber;
20
- delay_sec: z.ZodNumber;
21
- context_free_actions: z.ZodArray<z.ZodObject<{
22
- account: z.ZodString;
23
- name: z.ZodString;
24
- authorization: z.ZodArray<z.ZodObject<{
25
- actor: z.ZodString;
26
- permission: z.ZodString;
27
- }, "strip", z.ZodTypeAny, {
28
- actor: string;
29
- permission: string;
30
- }, {
31
- actor: string;
32
- permission: string;
33
- }>, "many">;
34
- data: z.ZodAny;
35
- hex_data: z.ZodOptional<z.ZodString>;
36
- }, "strip", z.ZodTypeAny, {
37
- data?: any;
38
- hex_data?: string | undefined;
39
- account: string;
40
- name: string;
41
- authorization: {
42
- actor: string;
43
- permission: string;
44
- }[];
45
- }, {
46
- data?: any;
47
- hex_data?: string | undefined;
48
- account: string;
49
- name: string;
50
- authorization: {
51
- actor: string;
52
- permission: string;
53
- }[];
54
- }>, "many">;
55
- transaction_extensions: z.ZodArray<z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodNumber, z.ZodString]>, "many">>, "many">;
56
- }, {
57
- actions: z.ZodArray<z.ZodUnion<[z.ZodObject<{
58
- account: z.ZodString | z.ZodLiteral<string>;
59
- name: z.ZodLiteral<string>;
60
- data: z.ZodObject<z.ZodRawShape, "strip", z.ZodTypeAny, {
61
- [x: string]: any;
62
- }, {
63
- [x: string]: any;
64
- }>;
65
- authorization: z.ZodArray<z.ZodObject<{
66
- actor: z.ZodString;
67
- permission: z.ZodString;
68
- }, "strip", z.ZodTypeAny, {
69
- actor: string;
70
- permission: string;
71
- }, {
72
- actor: string;
73
- permission: string;
74
- }>, "many">;
75
- }, "strip", z.ZodTypeAny, {
76
- account: string;
77
- data: {
78
- [x: string]: any;
79
- };
80
- name: string;
81
- authorization: {
82
- actor: string;
83
- permission: string;
84
- }[];
85
- }, {
86
- account: string;
87
- data: {
88
- [x: string]: any;
89
- };
90
- name: string;
91
- authorization: {
92
- actor: string;
93
- permission: string;
94
- }[];
95
- }>, z.ZodObject<{
96
- account: z.ZodLiteral<"webauthn">;
97
- name: z.ZodLiteral<"exec">;
98
- data: z.ZodObject<{
99
- account: z.ZodString;
100
- key: z.ZodObject<{
101
- key: z.ZodArray<z.ZodUnion<[z.ZodString, z.ZodObject<{
102
- modulus: z.ZodString;
103
- exponent: z.ZodString;
104
- }, "strip", z.ZodTypeAny, {
105
- modulus: string;
106
- exponent: string;
107
- }, {
108
- modulus: string;
109
- exponent: string;
110
- }>]>, "many">;
111
- user_presence: z.ZodNumber;
112
- rpid: z.ZodString;
113
- }, "strip", z.ZodTypeAny, {
114
- key: (string | {
115
- modulus: string;
116
- exponent: string;
117
- })[];
118
- user_presence: number;
119
- rpid: string;
120
- }, {
121
- key: (string | {
122
- modulus: string;
123
- exponent: string;
124
- })[];
125
- user_presence: number;
126
- rpid: string;
127
- }>;
128
- nonce: z.ZodNumber;
129
- permissions: z.ZodArray<z.ZodObject<{
130
- actor: z.ZodString;
131
- permission: z.ZodString;
132
- }, "strip", z.ZodTypeAny, {
133
- actor: string;
134
- permission: string;
135
- }, {
136
- actor: string;
137
- permission: string;
138
- }>, "many">;
139
- signature: z.ZodObject<{
140
- auth_data: z.ZodString;
141
- client_json: z.ZodString;
142
- signature: z.ZodString;
143
- }, "strip", z.ZodTypeAny, {
144
- signature: string;
145
- auth_data: string;
146
- client_json: string;
147
- }, {
148
- signature: string;
149
- auth_data: string;
150
- client_json: string;
151
- }>;
152
- trx: z.ZodObject<z.extendShape<{
153
- expiration: z.ZodString;
154
- ref_block_num: z.ZodNumber;
155
- ref_block_prefix: z.ZodNumber;
156
- max_net_usage_words: z.ZodNumber;
157
- max_cpu_usage_ms: z.ZodNumber;
158
- delay_sec: z.ZodNumber;
159
- context_free_actions: z.ZodArray<z.ZodObject<{
160
- account: z.ZodString;
161
- name: z.ZodString;
162
- authorization: z.ZodArray<z.ZodObject<{
163
- actor: z.ZodString;
164
- permission: z.ZodString;
165
- }, "strip", z.ZodTypeAny, {
166
- actor: string;
167
- permission: string;
168
- }, {
169
- actor: string;
170
- permission: string;
171
- }>, "many">;
172
- data: z.ZodAny;
173
- hex_data: z.ZodOptional<z.ZodString>;
174
- }, "strip", z.ZodTypeAny, {
175
- data?: any;
176
- hex_data?: string | undefined;
177
- account: string;
178
- name: string;
179
- authorization: {
180
- actor: string;
181
- permission: string;
182
- }[];
183
- }, {
184
- data?: any;
185
- hex_data?: string | undefined;
186
- account: string;
187
- name: string;
188
- authorization: {
189
- actor: string;
190
- permission: string;
191
- }[];
192
- }>, "many">;
193
- transaction_extensions: z.ZodArray<z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodNumber, z.ZodString]>, "many">>, "many">;
194
- }, {
195
- actions: z.ZodArray<z.ZodObject<{
196
- account: z.ZodString | z.ZodLiteral<string>;
197
- name: z.ZodLiteral<string>;
198
- data: z.ZodUnion<[z.ZodString, z.ZodObject<z.ZodRawShape, "strip", z.ZodTypeAny, {
199
- [x: string]: any;
200
- }, {
201
- [x: string]: any;
202
- }>]>;
203
- authorization: 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
- }, "strip", z.ZodTypeAny, {
214
- account: string;
215
- data: string | {
216
- [x: string]: any;
217
- };
218
- name: string;
219
- authorization: {
220
- actor: string;
221
- permission: string;
222
- }[];
223
- }, {
224
- account: string;
225
- data: string | {
226
- [x: string]: any;
227
- };
228
- name: string;
229
- authorization: {
230
- actor: string;
231
- permission: string;
232
- }[];
233
- }>, "many">;
234
- }>, "strip", z.ZodTypeAny, {
235
- expiration: string;
236
- ref_block_num: number;
237
- ref_block_prefix: number;
238
- max_net_usage_words: number;
239
- max_cpu_usage_ms: number;
240
- delay_sec: number;
241
- context_free_actions: {
242
- data?: any;
243
- hex_data?: string | undefined;
244
- account: string;
245
- name: string;
246
- authorization: {
247
- actor: string;
248
- permission: string;
249
- }[];
250
- }[];
251
- transaction_extensions: ((string | number)[] | undefined)[];
252
- actions: {
253
- account: string;
254
- data: string | {
255
- [x: string]: any;
256
- };
257
- name: string;
258
- authorization: {
259
- actor: string;
260
- permission: string;
261
- }[];
262
- }[];
263
- }, {
264
- expiration: string;
265
- ref_block_num: number;
266
- ref_block_prefix: number;
267
- max_net_usage_words: number;
268
- max_cpu_usage_ms: number;
269
- delay_sec: number;
270
- context_free_actions: {
271
- data?: any;
272
- hex_data?: string | undefined;
273
- account: string;
274
- name: string;
275
- authorization: {
276
- actor: string;
277
- permission: string;
278
- }[];
279
- }[];
280
- transaction_extensions: ((string | number)[] | undefined)[];
281
- actions: {
282
- account: string;
283
- data: string | {
284
- [x: string]: any;
285
- };
286
- name: string;
287
- authorization: {
288
- actor: string;
289
- permission: string;
290
- }[];
291
- }[];
292
- }>;
293
- }, "strip", z.ZodTypeAny, {
294
- account: string;
295
- key: {
296
- key: (string | {
297
- modulus: string;
298
- exponent: string;
299
- })[];
300
- user_presence: number;
301
- rpid: string;
302
- };
303
- nonce: number;
304
- permissions: {
305
- actor: string;
306
- permission: string;
307
- }[];
308
- signature: {
309
- signature: string;
310
- auth_data: string;
311
- client_json: string;
312
- };
313
- trx: {
314
- expiration: string;
315
- ref_block_num: number;
316
- ref_block_prefix: number;
317
- max_net_usage_words: number;
318
- max_cpu_usage_ms: number;
319
- delay_sec: number;
320
- context_free_actions: {
321
- data?: any;
322
- hex_data?: string | undefined;
323
- account: string;
324
- name: string;
325
- authorization: {
326
- actor: string;
327
- permission: string;
328
- }[];
329
- }[];
330
- transaction_extensions: ((string | number)[] | undefined)[];
331
- actions: {
332
- account: string;
333
- data: string | {
334
- [x: string]: any;
335
- };
336
- name: string;
337
- authorization: {
338
- actor: string;
339
- permission: string;
340
- }[];
341
- }[];
342
- };
343
- }, {
344
- account: string;
345
- key: {
346
- key: (string | {
347
- modulus: string;
348
- exponent: string;
349
- })[];
350
- user_presence: number;
351
- rpid: string;
352
- };
353
- nonce: number;
354
- permissions: {
355
- actor: string;
356
- permission: string;
357
- }[];
358
- signature: {
359
- signature: string;
360
- auth_data: string;
361
- client_json: string;
362
- };
363
- trx: {
364
- expiration: string;
365
- ref_block_num: number;
366
- ref_block_prefix: number;
367
- max_net_usage_words: number;
368
- max_cpu_usage_ms: number;
369
- delay_sec: number;
370
- context_free_actions: {
371
- data?: any;
372
- hex_data?: string | undefined;
373
- account: string;
374
- name: string;
375
- authorization: {
376
- actor: string;
377
- permission: string;
378
- }[];
379
- }[];
380
- transaction_extensions: ((string | number)[] | undefined)[];
381
- actions: {
382
- account: string;
383
- data: string | {
384
- [x: string]: any;
385
- };
386
- name: string;
387
- authorization: {
388
- actor: string;
389
- permission: string;
390
- }[];
391
- }[];
392
- };
393
- }>;
394
- authorization: z.ZodArray<z.ZodObject<{
395
- actor: z.ZodString;
396
- permission: z.ZodString;
397
- }, "strip", z.ZodTypeAny, {
398
- actor: string;
399
- permission: string;
400
- }, {
401
- actor: string;
402
- permission: string;
403
- }>, "many">;
404
- }, "strip", z.ZodTypeAny, {
405
- account: "webauthn";
406
- data: {
407
- account: string;
408
- key: {
409
- key: (string | {
410
- modulus: string;
411
- exponent: string;
412
- })[];
413
- user_presence: number;
414
- rpid: string;
415
- };
416
- nonce: number;
417
- permissions: {
418
- actor: string;
419
- permission: string;
420
- }[];
421
- signature: {
422
- signature: string;
423
- auth_data: string;
424
- client_json: string;
425
- };
426
- trx: {
427
- expiration: string;
428
- ref_block_num: number;
429
- ref_block_prefix: number;
430
- max_net_usage_words: number;
431
- max_cpu_usage_ms: number;
432
- delay_sec: number;
433
- context_free_actions: {
434
- data?: any;
435
- hex_data?: string | undefined;
436
- account: string;
437
- name: string;
438
- authorization: {
439
- actor: string;
440
- permission: string;
441
- }[];
442
- }[];
443
- transaction_extensions: ((string | number)[] | undefined)[];
444
- actions: {
445
- account: string;
446
- data: string | {
447
- [x: string]: any;
448
- };
449
- name: string;
450
- authorization: {
451
- actor: string;
452
- permission: string;
453
- }[];
454
- }[];
455
- };
456
- };
457
- name: "exec";
458
- authorization: {
459
- actor: string;
460
- permission: string;
461
- }[];
462
- }, {
463
- account: "webauthn";
464
- data: {
465
- account: string;
466
- key: {
467
- key: (string | {
468
- modulus: string;
469
- exponent: string;
470
- })[];
471
- user_presence: number;
472
- rpid: string;
473
- };
474
- nonce: number;
475
- permissions: {
476
- actor: string;
477
- permission: string;
478
- }[];
479
- signature: {
480
- signature: string;
481
- auth_data: string;
482
- client_json: string;
483
- };
484
- trx: {
485
- expiration: string;
486
- ref_block_num: number;
487
- ref_block_prefix: number;
488
- max_net_usage_words: number;
489
- max_cpu_usage_ms: number;
490
- delay_sec: number;
491
- context_free_actions: {
492
- data?: any;
493
- hex_data?: string | undefined;
494
- account: string;
495
- name: string;
496
- authorization: {
497
- actor: string;
498
- permission: string;
499
- }[];
500
- }[];
501
- transaction_extensions: ((string | number)[] | undefined)[];
502
- actions: {
503
- account: string;
504
- data: string | {
505
- [x: string]: any;
506
- };
507
- name: string;
508
- authorization: {
509
- actor: string;
510
- permission: string;
511
- }[];
512
- }[];
513
- };
514
- };
515
- name: "exec";
516
- authorization: {
517
- actor: string;
518
- permission: string;
519
- }[];
520
- }>]>, "many">;
521
- }>, "strip", z.ZodTypeAny, {
522
- expiration: string;
523
- ref_block_num: number;
524
- ref_block_prefix: number;
525
- max_net_usage_words: number;
526
- max_cpu_usage_ms: number;
527
- delay_sec: number;
528
- context_free_actions: {
529
- data?: any;
530
- hex_data?: string | undefined;
531
- account: string;
532
- name: string;
533
- authorization: {
534
- actor: string;
535
- permission: string;
536
- }[];
537
- }[];
538
- transaction_extensions: ((string | number)[] | undefined)[];
539
- actions: ({
540
- account: string;
541
- data: {
542
- [x: string]: any;
543
- };
544
- name: string;
545
- authorization: {
546
- actor: string;
547
- permission: string;
548
- }[];
549
- } | {
550
- account: "webauthn";
551
- data: {
552
- account: string;
553
- key: {
554
- key: (string | {
555
- modulus: string;
556
- exponent: string;
557
- })[];
558
- user_presence: number;
559
- rpid: string;
560
- };
561
- nonce: number;
562
- permissions: {
563
- actor: string;
564
- permission: string;
565
- }[];
566
- signature: {
567
- signature: string;
568
- auth_data: string;
569
- client_json: string;
570
- };
571
- trx: {
572
- expiration: string;
573
- ref_block_num: number;
574
- ref_block_prefix: number;
575
- max_net_usage_words: number;
576
- max_cpu_usage_ms: number;
577
- delay_sec: number;
578
- context_free_actions: {
579
- data?: any;
580
- hex_data?: string | undefined;
581
- account: string;
582
- name: string;
583
- authorization: {
584
- actor: string;
585
- permission: string;
586
- }[];
587
- }[];
588
- transaction_extensions: ((string | number)[] | undefined)[];
589
- actions: {
590
- account: string;
591
- data: string | {
592
- [x: string]: any;
593
- };
594
- name: string;
595
- authorization: {
596
- actor: string;
597
- permission: string;
598
- }[];
599
- }[];
600
- };
601
- };
602
- name: "exec";
603
- authorization: {
604
- actor: string;
605
- permission: string;
606
- }[];
607
- })[];
608
- }, {
609
- expiration: string;
610
- ref_block_num: number;
611
- ref_block_prefix: number;
612
- max_net_usage_words: number;
613
- max_cpu_usage_ms: number;
614
- delay_sec: number;
615
- context_free_actions: {
616
- data?: any;
617
- hex_data?: string | undefined;
618
- account: string;
619
- name: string;
620
- authorization: {
621
- actor: string;
622
- permission: string;
623
- }[];
624
- }[];
625
- transaction_extensions: ((string | number)[] | undefined)[];
626
- actions: ({
627
- account: string;
628
- data: {
629
- [x: string]: any;
630
- };
631
- name: string;
632
- authorization: {
633
- actor: string;
634
- permission: string;
635
- }[];
636
- } | {
637
- account: "webauthn";
638
- data: {
639
- account: string;
640
- key: {
641
- key: (string | {
642
- modulus: string;
643
- exponent: string;
644
- })[];
645
- user_presence: number;
646
- rpid: string;
647
- };
648
- nonce: number;
649
- permissions: {
650
- actor: string;
651
- permission: string;
652
- }[];
653
- signature: {
654
- signature: string;
655
- auth_data: string;
656
- client_json: string;
657
- };
658
- trx: {
659
- expiration: string;
660
- ref_block_num: number;
661
- ref_block_prefix: number;
662
- max_net_usage_words: number;
663
- max_cpu_usage_ms: number;
664
- delay_sec: number;
665
- context_free_actions: {
666
- data?: any;
667
- hex_data?: string | undefined;
668
- account: string;
669
- name: string;
670
- authorization: {
671
- actor: string;
672
- permission: string;
673
- }[];
674
- }[];
675
- transaction_extensions: ((string | number)[] | undefined)[];
676
- actions: {
677
- account: string;
678
- data: string | {
679
- [x: string]: any;
680
- };
681
- name: string;
682
- authorization: {
683
- actor: string;
684
- permission: string;
685
- }[];
686
- }[];
687
- };
688
- };
689
- name: "exec";
690
- authorization: {
691
- actor: string;
692
- permission: string;
693
- }[];
694
- })[];
695
- }>;
696
- }, "strip", z.ZodTypeAny, {
697
- signer: {
698
- actor: string;
699
- permission: string;
700
- };
701
- signatures: string[];
702
- transaction: {
703
- expiration: string;
704
- ref_block_num: number;
705
- ref_block_prefix: number;
706
- max_net_usage_words: number;
707
- max_cpu_usage_ms: number;
708
- delay_sec: number;
709
- context_free_actions: {
710
- data?: any;
711
- hex_data?: string | undefined;
712
- account: string;
713
- name: string;
714
- authorization: {
715
- actor: string;
716
- permission: string;
717
- }[];
718
- }[];
719
- transaction_extensions: ((string | number)[] | undefined)[];
720
- actions: ({
721
- account: string;
722
- data: {
723
- [x: string]: any;
724
- };
725
- name: string;
726
- authorization: {
727
- actor: string;
728
- permission: string;
729
- }[];
730
- } | {
731
- account: "webauthn";
732
- data: {
733
- account: string;
734
- key: {
735
- key: (string | {
736
- modulus: string;
737
- exponent: string;
738
- })[];
739
- user_presence: number;
740
- rpid: string;
741
- };
742
- nonce: number;
743
- permissions: {
744
- actor: string;
745
- permission: string;
746
- }[];
747
- signature: {
748
- signature: string;
749
- auth_data: string;
750
- client_json: string;
751
- };
752
- trx: {
753
- expiration: string;
754
- ref_block_num: number;
755
- ref_block_prefix: number;
756
- max_net_usage_words: number;
757
- max_cpu_usage_ms: number;
758
- delay_sec: number;
759
- context_free_actions: {
760
- data?: any;
761
- hex_data?: string | undefined;
762
- account: string;
763
- name: string;
764
- authorization: {
765
- actor: string;
766
- permission: string;
767
- }[];
768
- }[];
769
- transaction_extensions: ((string | number)[] | undefined)[];
770
- actions: {
771
- account: string;
772
- data: string | {
773
- [x: string]: any;
774
- };
775
- name: string;
776
- authorization: {
777
- actor: string;
778
- permission: string;
779
- }[];
780
- }[];
781
- };
782
- };
783
- name: "exec";
784
- authorization: {
785
- actor: string;
786
- permission: string;
787
- }[];
788
- })[];
789
- };
790
- }, {
791
- signer: {
792
- actor: string;
793
- permission: string;
794
- };
795
- signatures: string[];
796
- transaction: {
797
- expiration: string;
798
- ref_block_num: number;
799
- ref_block_prefix: number;
800
- max_net_usage_words: number;
801
- max_cpu_usage_ms: number;
802
- delay_sec: number;
803
- context_free_actions: {
804
- data?: any;
805
- hex_data?: string | undefined;
806
- account: string;
807
- name: string;
808
- authorization: {
809
- actor: string;
810
- permission: string;
811
- }[];
812
- }[];
813
- transaction_extensions: ((string | number)[] | undefined)[];
814
- actions: ({
815
- account: string;
816
- data: {
817
- [x: string]: any;
818
- };
819
- name: string;
820
- authorization: {
821
- actor: string;
822
- permission: string;
823
- }[];
824
- } | {
825
- account: "webauthn";
826
- data: {
827
- account: string;
828
- key: {
829
- key: (string | {
830
- modulus: string;
831
- exponent: string;
832
- })[];
833
- user_presence: number;
834
- rpid: string;
835
- };
836
- nonce: number;
837
- permissions: {
838
- actor: string;
839
- permission: string;
840
- }[];
841
- signature: {
842
- signature: string;
843
- auth_data: string;
844
- client_json: string;
845
- };
846
- trx: {
847
- expiration: string;
848
- ref_block_num: number;
849
- ref_block_prefix: number;
850
- max_net_usage_words: number;
851
- max_cpu_usage_ms: number;
852
- delay_sec: number;
853
- context_free_actions: {
854
- data?: any;
855
- hex_data?: string | undefined;
856
- account: string;
857
- name: string;
858
- authorization: {
859
- actor: string;
860
- permission: string;
861
- }[];
862
- }[];
863
- transaction_extensions: ((string | number)[] | undefined)[];
864
- actions: {
865
- account: string;
866
- data: string | {
867
- [x: string]: any;
868
- };
869
- name: string;
870
- authorization: {
871
- actor: string;
872
- permission: string;
873
- }[];
874
- }[];
875
- };
876
- };
877
- name: "exec";
878
- authorization: {
879
- actor: string;
880
- permission: string;
881
- }[];
882
- })[];
883
- };
884
- }>;
885
- declare const generateAuthActionsBaseParser: z.ZodObject<{
886
- account: z.ZodString | z.ZodLiteral<string>;
887
- name: z.ZodLiteral<string>;
888
- data: z.ZodObject<{
889
- time: z.ZodString;
890
- protonAccount: z.ZodString;
891
- }, "strip", z.ZodTypeAny, {
892
- time: string;
893
- protonAccount: string;
894
- }, {
895
- time: string;
896
- protonAccount: string;
897
- }>;
898
- authorization: z.ZodArray<z.ZodObject<{
899
- actor: z.ZodString;
900
- permission: z.ZodString;
901
- }, "strip", z.ZodTypeAny, {
902
- actor: string;
903
- permission: string;
904
- }, {
905
- actor: string;
906
- permission: string;
907
- }>, "many">;
908
- }, "strip", z.ZodTypeAny, {
909
- account: string;
910
- data: {
911
- time: string;
912
- protonAccount: string;
913
- };
914
- name: string;
915
- authorization: {
916
- actor: string;
917
- permission: string;
918
- }[];
919
- }, {
920
- account: string;
921
- data: {
922
- time: string;
923
- protonAccount: string;
924
- };
925
- name: string;
926
- authorization: {
927
- actor: string;
928
- permission: string;
929
- }[];
930
- }>;
931
- export declare type GenerateAuthBaseAction = z.infer<typeof generateAuthActionsBaseParser>;
932
- export declare const generateAuthParser: z.ZodObject<{
933
- signer: z.ZodObject<{
934
- actor: z.ZodString;
935
- permission: z.ZodString;
936
- }, "strip", z.ZodTypeAny, {
937
- actor: string;
938
- permission: string;
939
- }, {
940
- actor: string;
941
- permission: string;
942
- }>;
943
- signatures: z.ZodArray<z.ZodString, "many">;
944
- transaction: z.ZodObject<z.extendShape<{
945
- expiration: z.ZodString;
946
- ref_block_num: z.ZodNumber;
947
- ref_block_prefix: z.ZodNumber;
948
- max_net_usage_words: z.ZodNumber;
949
- max_cpu_usage_ms: z.ZodNumber;
950
- delay_sec: z.ZodNumber;
951
- context_free_actions: z.ZodArray<z.ZodObject<{
952
- account: z.ZodString;
953
- name: z.ZodString;
954
- authorization: z.ZodArray<z.ZodObject<{
955
- actor: z.ZodString;
956
- permission: z.ZodString;
957
- }, "strip", z.ZodTypeAny, {
958
- actor: string;
959
- permission: string;
960
- }, {
961
- actor: string;
962
- permission: string;
963
- }>, "many">;
964
- data: z.ZodAny;
965
- hex_data: z.ZodOptional<z.ZodString>;
966
- }, "strip", z.ZodTypeAny, {
967
- data?: any;
968
- hex_data?: string | undefined;
969
- account: string;
970
- name: string;
971
- authorization: {
972
- actor: string;
973
- permission: string;
974
- }[];
975
- }, {
976
- data?: any;
977
- hex_data?: string | undefined;
978
- account: string;
979
- name: string;
980
- authorization: {
981
- actor: string;
982
- permission: string;
983
- }[];
984
- }>, "many">;
985
- transaction_extensions: z.ZodArray<z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodNumber, z.ZodString]>, "many">>, "many">;
986
- }, {
987
- actions: z.ZodArray<z.ZodUnion<[z.ZodObject<{
988
- account: z.ZodString | z.ZodLiteral<string>;
989
- name: z.ZodLiteral<string>;
990
- data: z.ZodObject<z.ZodRawShape, "strip", z.ZodTypeAny, {
991
- [x: string]: any;
992
- }, {
993
- [x: string]: any;
994
- }>;
995
- authorization: z.ZodArray<z.ZodObject<{
996
- actor: z.ZodString;
997
- permission: z.ZodString;
998
- }, "strip", z.ZodTypeAny, {
999
- actor: string;
1000
- permission: string;
1001
- }, {
1002
- actor: string;
1003
- permission: string;
1004
- }>, "many">;
1005
- }, "strip", z.ZodTypeAny, {
1006
- account: string;
1007
- data: {
1008
- [x: string]: any;
1009
- };
1010
- name: string;
1011
- authorization: {
1012
- actor: string;
1013
- permission: string;
1014
- }[];
1015
- }, {
1016
- account: string;
1017
- data: {
1018
- [x: string]: any;
1019
- };
1020
- name: string;
1021
- authorization: {
1022
- actor: string;
1023
- permission: string;
1024
- }[];
1025
- }>, z.ZodObject<{
1026
- account: z.ZodLiteral<"webauthn">;
1027
- name: z.ZodLiteral<"exec">;
1028
- data: z.ZodObject<{
1029
- account: z.ZodString;
1030
- key: z.ZodObject<{
1031
- key: z.ZodArray<z.ZodUnion<[z.ZodString, z.ZodObject<{
1032
- modulus: z.ZodString;
1033
- exponent: z.ZodString;
1034
- }, "strip", z.ZodTypeAny, {
1035
- modulus: string;
1036
- exponent: string;
1037
- }, {
1038
- modulus: string;
1039
- exponent: string;
1040
- }>]>, "many">;
1041
- user_presence: z.ZodNumber;
1042
- rpid: z.ZodString;
1043
- }, "strip", z.ZodTypeAny, {
1044
- key: (string | {
1045
- modulus: string;
1046
- exponent: string;
1047
- })[];
1048
- user_presence: number;
1049
- rpid: string;
1050
- }, {
1051
- key: (string | {
1052
- modulus: string;
1053
- exponent: string;
1054
- })[];
1055
- user_presence: number;
1056
- rpid: string;
1057
- }>;
1058
- nonce: z.ZodNumber;
1059
- permissions: z.ZodArray<z.ZodObject<{
1060
- actor: z.ZodString;
1061
- permission: z.ZodString;
1062
- }, "strip", z.ZodTypeAny, {
1063
- actor: string;
1064
- permission: string;
1065
- }, {
1066
- actor: string;
1067
- permission: string;
1068
- }>, "many">;
1069
- signature: z.ZodObject<{
1070
- auth_data: z.ZodString;
1071
- client_json: z.ZodString;
1072
- signature: z.ZodString;
1073
- }, "strip", z.ZodTypeAny, {
1074
- signature: string;
1075
- auth_data: string;
1076
- client_json: string;
1077
- }, {
1078
- signature: string;
1079
- auth_data: string;
1080
- client_json: string;
1081
- }>;
1082
- trx: z.ZodObject<z.extendShape<{
1083
- expiration: z.ZodString;
1084
- ref_block_num: z.ZodNumber;
1085
- ref_block_prefix: z.ZodNumber;
1086
- max_net_usage_words: z.ZodNumber;
1087
- max_cpu_usage_ms: z.ZodNumber;
1088
- delay_sec: z.ZodNumber;
1089
- context_free_actions: z.ZodArray<z.ZodObject<{
1090
- account: z.ZodString;
1091
- name: z.ZodString;
1092
- authorization: z.ZodArray<z.ZodObject<{
1093
- actor: z.ZodString;
1094
- permission: z.ZodString;
1095
- }, "strip", z.ZodTypeAny, {
1096
- actor: string;
1097
- permission: string;
1098
- }, {
1099
- actor: string;
1100
- permission: string;
1101
- }>, "many">;
1102
- data: z.ZodAny;
1103
- hex_data: z.ZodOptional<z.ZodString>;
1104
- }, "strip", z.ZodTypeAny, {
1105
- data?: any;
1106
- hex_data?: string | undefined;
1107
- account: string;
1108
- name: string;
1109
- authorization: {
1110
- actor: string;
1111
- permission: string;
1112
- }[];
1113
- }, {
1114
- data?: any;
1115
- hex_data?: string | undefined;
1116
- account: string;
1117
- name: string;
1118
- authorization: {
1119
- actor: string;
1120
- permission: string;
1121
- }[];
1122
- }>, "many">;
1123
- transaction_extensions: z.ZodArray<z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodNumber, z.ZodString]>, "many">>, "many">;
1124
- }, {
1125
- actions: z.ZodArray<z.ZodObject<{
1126
- account: z.ZodString | z.ZodLiteral<string>;
1127
- name: z.ZodLiteral<string>;
1128
- data: z.ZodUnion<[z.ZodString, z.ZodObject<z.ZodRawShape, "strip", z.ZodTypeAny, {
1129
- [x: string]: any;
1130
- }, {
1131
- [x: string]: any;
1132
- }>]>;
1133
- authorization: z.ZodArray<z.ZodObject<{
1134
- actor: z.ZodString;
1135
- permission: z.ZodString;
1136
- }, "strip", z.ZodTypeAny, {
1137
- actor: string;
1138
- permission: string;
1139
- }, {
1140
- actor: string;
1141
- permission: string;
1142
- }>, "many">;
1143
- }, "strip", z.ZodTypeAny, {
1144
- account: string;
1145
- data: string | {
1146
- [x: string]: any;
1147
- };
1148
- name: string;
1149
- authorization: {
1150
- actor: string;
1151
- permission: string;
1152
- }[];
1153
- }, {
1154
- account: string;
1155
- data: string | {
1156
- [x: string]: any;
1157
- };
1158
- name: string;
1159
- authorization: {
1160
- actor: string;
1161
- permission: string;
1162
- }[];
1163
- }>, "many">;
1164
- }>, "strip", z.ZodTypeAny, {
1165
- expiration: string;
1166
- ref_block_num: number;
1167
- ref_block_prefix: number;
1168
- max_net_usage_words: number;
1169
- max_cpu_usage_ms: number;
1170
- delay_sec: number;
1171
- context_free_actions: {
1172
- data?: any;
1173
- hex_data?: string | undefined;
1174
- account: string;
1175
- name: string;
1176
- authorization: {
1177
- actor: string;
1178
- permission: string;
1179
- }[];
1180
- }[];
1181
- transaction_extensions: ((string | number)[] | undefined)[];
1182
- actions: {
1183
- account: string;
1184
- data: string | {
1185
- [x: string]: any;
1186
- };
1187
- name: string;
1188
- authorization: {
1189
- actor: string;
1190
- permission: string;
1191
- }[];
1192
- }[];
1193
- }, {
1194
- expiration: string;
1195
- ref_block_num: number;
1196
- ref_block_prefix: number;
1197
- max_net_usage_words: number;
1198
- max_cpu_usage_ms: number;
1199
- delay_sec: number;
1200
- context_free_actions: {
1201
- data?: any;
1202
- hex_data?: string | undefined;
1203
- account: string;
1204
- name: string;
1205
- authorization: {
1206
- actor: string;
1207
- permission: string;
1208
- }[];
1209
- }[];
1210
- transaction_extensions: ((string | number)[] | undefined)[];
1211
- actions: {
1212
- account: string;
1213
- data: string | {
1214
- [x: string]: any;
1215
- };
1216
- name: string;
1217
- authorization: {
1218
- actor: string;
1219
- permission: string;
1220
- }[];
1221
- }[];
1222
- }>;
1223
- }, "strip", z.ZodTypeAny, {
1224
- account: string;
1225
- key: {
1226
- key: (string | {
1227
- modulus: string;
1228
- exponent: string;
1229
- })[];
1230
- user_presence: number;
1231
- rpid: string;
1232
- };
1233
- nonce: number;
1234
- permissions: {
1235
- actor: string;
1236
- permission: string;
1237
- }[];
1238
- signature: {
1239
- signature: string;
1240
- auth_data: string;
1241
- client_json: string;
1242
- };
1243
- trx: {
1244
- expiration: string;
1245
- ref_block_num: number;
1246
- ref_block_prefix: number;
1247
- max_net_usage_words: number;
1248
- max_cpu_usage_ms: number;
1249
- delay_sec: number;
1250
- context_free_actions: {
1251
- data?: any;
1252
- hex_data?: string | undefined;
1253
- account: string;
1254
- name: string;
1255
- authorization: {
1256
- actor: string;
1257
- permission: string;
1258
- }[];
1259
- }[];
1260
- transaction_extensions: ((string | number)[] | undefined)[];
1261
- actions: {
1262
- account: string;
1263
- data: string | {
1264
- [x: string]: any;
1265
- };
1266
- name: string;
1267
- authorization: {
1268
- actor: string;
1269
- permission: string;
1270
- }[];
1271
- }[];
1272
- };
1273
- }, {
1274
- account: string;
1275
- key: {
1276
- key: (string | {
1277
- modulus: string;
1278
- exponent: string;
1279
- })[];
1280
- user_presence: number;
1281
- rpid: string;
1282
- };
1283
- nonce: number;
1284
- permissions: {
1285
- actor: string;
1286
- permission: string;
1287
- }[];
1288
- signature: {
1289
- signature: string;
1290
- auth_data: string;
1291
- client_json: string;
1292
- };
1293
- trx: {
1294
- expiration: string;
1295
- ref_block_num: number;
1296
- ref_block_prefix: number;
1297
- max_net_usage_words: number;
1298
- max_cpu_usage_ms: number;
1299
- delay_sec: number;
1300
- context_free_actions: {
1301
- data?: any;
1302
- hex_data?: string | undefined;
1303
- account: string;
1304
- name: string;
1305
- authorization: {
1306
- actor: string;
1307
- permission: string;
1308
- }[];
1309
- }[];
1310
- transaction_extensions: ((string | number)[] | undefined)[];
1311
- actions: {
1312
- account: string;
1313
- data: string | {
1314
- [x: string]: any;
1315
- };
1316
- name: string;
1317
- authorization: {
1318
- actor: string;
1319
- permission: string;
1320
- }[];
1321
- }[];
1322
- };
1323
- }>;
1324
- authorization: z.ZodArray<z.ZodObject<{
1325
- actor: z.ZodString;
1326
- permission: z.ZodString;
1327
- }, "strip", z.ZodTypeAny, {
1328
- actor: string;
1329
- permission: string;
1330
- }, {
1331
- actor: string;
1332
- permission: string;
1333
- }>, "many">;
1334
- }, "strip", z.ZodTypeAny, {
1335
- account: "webauthn";
1336
- data: {
1337
- account: string;
1338
- key: {
1339
- key: (string | {
1340
- modulus: string;
1341
- exponent: string;
1342
- })[];
1343
- user_presence: number;
1344
- rpid: string;
1345
- };
1346
- nonce: number;
1347
- permissions: {
1348
- actor: string;
1349
- permission: string;
1350
- }[];
1351
- signature: {
1352
- signature: string;
1353
- auth_data: string;
1354
- client_json: string;
1355
- };
1356
- trx: {
1357
- expiration: string;
1358
- ref_block_num: number;
1359
- ref_block_prefix: number;
1360
- max_net_usage_words: number;
1361
- max_cpu_usage_ms: number;
1362
- delay_sec: number;
1363
- context_free_actions: {
1364
- data?: any;
1365
- hex_data?: string | undefined;
1366
- account: string;
1367
- name: string;
1368
- authorization: {
1369
- actor: string;
1370
- permission: string;
1371
- }[];
1372
- }[];
1373
- transaction_extensions: ((string | number)[] | undefined)[];
1374
- actions: {
1375
- account: string;
1376
- data: string | {
1377
- [x: string]: any;
1378
- };
1379
- name: string;
1380
- authorization: {
1381
- actor: string;
1382
- permission: string;
1383
- }[];
1384
- }[];
1385
- };
1386
- };
1387
- name: "exec";
1388
- authorization: {
1389
- actor: string;
1390
- permission: string;
1391
- }[];
1392
- }, {
1393
- account: "webauthn";
1394
- data: {
1395
- account: string;
1396
- key: {
1397
- key: (string | {
1398
- modulus: string;
1399
- exponent: string;
1400
- })[];
1401
- user_presence: number;
1402
- rpid: string;
1403
- };
1404
- nonce: number;
1405
- permissions: {
1406
- actor: string;
1407
- permission: string;
1408
- }[];
1409
- signature: {
1410
- signature: string;
1411
- auth_data: string;
1412
- client_json: string;
1413
- };
1414
- trx: {
1415
- expiration: string;
1416
- ref_block_num: number;
1417
- ref_block_prefix: number;
1418
- max_net_usage_words: number;
1419
- max_cpu_usage_ms: number;
1420
- delay_sec: number;
1421
- context_free_actions: {
1422
- data?: any;
1423
- hex_data?: string | undefined;
1424
- account: string;
1425
- name: string;
1426
- authorization: {
1427
- actor: string;
1428
- permission: string;
1429
- }[];
1430
- }[];
1431
- transaction_extensions: ((string | number)[] | undefined)[];
1432
- actions: {
1433
- account: string;
1434
- data: string | {
1435
- [x: string]: any;
1436
- };
1437
- name: string;
1438
- authorization: {
1439
- actor: string;
1440
- permission: string;
1441
- }[];
1442
- }[];
1443
- };
1444
- };
1445
- name: "exec";
1446
- authorization: {
1447
- actor: string;
1448
- permission: string;
1449
- }[];
1450
- }>]>, "many">;
1451
- }>, "strip", z.ZodTypeAny, {
1452
- expiration: string;
1453
- ref_block_num: number;
1454
- ref_block_prefix: number;
1455
- max_net_usage_words: number;
1456
- max_cpu_usage_ms: number;
1457
- delay_sec: number;
1458
- context_free_actions: {
1459
- data?: any;
1460
- hex_data?: string | undefined;
1461
- account: string;
1462
- name: string;
1463
- authorization: {
1464
- actor: string;
1465
- permission: string;
1466
- }[];
1467
- }[];
1468
- transaction_extensions: ((string | number)[] | undefined)[];
1469
- actions: ({
1470
- account: string;
1471
- data: {
1472
- [x: string]: any;
1473
- };
1474
- name: string;
1475
- authorization: {
1476
- actor: string;
1477
- permission: string;
1478
- }[];
1479
- } | {
1480
- account: "webauthn";
1481
- data: {
1482
- account: string;
1483
- key: {
1484
- key: (string | {
1485
- modulus: string;
1486
- exponent: string;
1487
- })[];
1488
- user_presence: number;
1489
- rpid: string;
1490
- };
1491
- nonce: number;
1492
- permissions: {
1493
- actor: string;
1494
- permission: string;
1495
- }[];
1496
- signature: {
1497
- signature: string;
1498
- auth_data: string;
1499
- client_json: string;
1500
- };
1501
- trx: {
1502
- expiration: string;
1503
- ref_block_num: number;
1504
- ref_block_prefix: number;
1505
- max_net_usage_words: number;
1506
- max_cpu_usage_ms: number;
1507
- delay_sec: number;
1508
- context_free_actions: {
1509
- data?: any;
1510
- hex_data?: string | undefined;
1511
- account: string;
1512
- name: string;
1513
- authorization: {
1514
- actor: string;
1515
- permission: string;
1516
- }[];
1517
- }[];
1518
- transaction_extensions: ((string | number)[] | undefined)[];
1519
- actions: {
1520
- account: string;
1521
- data: string | {
1522
- [x: string]: any;
1523
- };
1524
- name: string;
1525
- authorization: {
1526
- actor: string;
1527
- permission: string;
1528
- }[];
1529
- }[];
1530
- };
1531
- };
1532
- name: "exec";
1533
- authorization: {
1534
- actor: string;
1535
- permission: string;
1536
- }[];
1537
- })[];
1538
- }, {
1539
- expiration: string;
1540
- ref_block_num: number;
1541
- ref_block_prefix: number;
1542
- max_net_usage_words: number;
1543
- max_cpu_usage_ms: number;
1544
- delay_sec: number;
1545
- context_free_actions: {
1546
- data?: any;
1547
- hex_data?: string | undefined;
1548
- account: string;
1549
- name: string;
1550
- authorization: {
1551
- actor: string;
1552
- permission: string;
1553
- }[];
1554
- }[];
1555
- transaction_extensions: ((string | number)[] | undefined)[];
1556
- actions: ({
1557
- account: string;
1558
- data: {
1559
- [x: string]: any;
1560
- };
1561
- name: string;
1562
- authorization: {
1563
- actor: string;
1564
- permission: string;
1565
- }[];
1566
- } | {
1567
- account: "webauthn";
1568
- data: {
1569
- account: string;
1570
- key: {
1571
- key: (string | {
1572
- modulus: string;
1573
- exponent: string;
1574
- })[];
1575
- user_presence: number;
1576
- rpid: string;
1577
- };
1578
- nonce: number;
1579
- permissions: {
1580
- actor: string;
1581
- permission: string;
1582
- }[];
1583
- signature: {
1584
- signature: string;
1585
- auth_data: string;
1586
- client_json: string;
1587
- };
1588
- trx: {
1589
- expiration: string;
1590
- ref_block_num: number;
1591
- ref_block_prefix: number;
1592
- max_net_usage_words: number;
1593
- max_cpu_usage_ms: number;
1594
- delay_sec: number;
1595
- context_free_actions: {
1596
- data?: any;
1597
- hex_data?: string | undefined;
1598
- account: string;
1599
- name: string;
1600
- authorization: {
1601
- actor: string;
1602
- permission: string;
1603
- }[];
1604
- }[];
1605
- transaction_extensions: ((string | number)[] | undefined)[];
1606
- actions: {
1607
- account: string;
1608
- data: string | {
1609
- [x: string]: any;
1610
- };
1611
- name: string;
1612
- authorization: {
1613
- actor: string;
1614
- permission: string;
1615
- }[];
1616
- }[];
1617
- };
1618
- };
1619
- name: "exec";
1620
- authorization: {
1621
- actor: string;
1622
- permission: string;
1623
- }[];
1624
- })[];
1625
- }>;
1626
- }, "strip", z.ZodTypeAny, {
1627
- signer: {
1628
- actor: string;
1629
- permission: string;
1630
- };
1631
- signatures: string[];
1632
- transaction: {
1633
- expiration: string;
1634
- ref_block_num: number;
1635
- ref_block_prefix: number;
1636
- max_net_usage_words: number;
1637
- max_cpu_usage_ms: number;
1638
- delay_sec: number;
1639
- context_free_actions: {
1640
- data?: any;
1641
- hex_data?: string | undefined;
1642
- account: string;
1643
- name: string;
1644
- authorization: {
1645
- actor: string;
1646
- permission: string;
1647
- }[];
1648
- }[];
1649
- transaction_extensions: ((string | number)[] | undefined)[];
1650
- actions: ({
1651
- account: string;
1652
- data: {
1653
- [x: string]: any;
1654
- };
1655
- name: string;
1656
- authorization: {
1657
- actor: string;
1658
- permission: string;
1659
- }[];
1660
- } | {
1661
- account: "webauthn";
1662
- data: {
1663
- account: string;
1664
- key: {
1665
- key: (string | {
1666
- modulus: string;
1667
- exponent: string;
1668
- })[];
1669
- user_presence: number;
1670
- rpid: string;
1671
- };
1672
- nonce: number;
1673
- permissions: {
1674
- actor: string;
1675
- permission: string;
1676
- }[];
1677
- signature: {
1678
- signature: string;
1679
- auth_data: string;
1680
- client_json: string;
1681
- };
1682
- trx: {
1683
- expiration: string;
1684
- ref_block_num: number;
1685
- ref_block_prefix: number;
1686
- max_net_usage_words: number;
1687
- max_cpu_usage_ms: number;
1688
- delay_sec: number;
1689
- context_free_actions: {
1690
- data?: any;
1691
- hex_data?: string | undefined;
1692
- account: string;
1693
- name: string;
1694
- authorization: {
1695
- actor: string;
1696
- permission: string;
1697
- }[];
1698
- }[];
1699
- transaction_extensions: ((string | number)[] | undefined)[];
1700
- actions: {
1701
- account: string;
1702
- data: string | {
1703
- [x: string]: any;
1704
- };
1705
- name: string;
1706
- authorization: {
1707
- actor: string;
1708
- permission: string;
1709
- }[];
1710
- }[];
1711
- };
1712
- };
1713
- name: "exec";
1714
- authorization: {
1715
- actor: string;
1716
- permission: string;
1717
- }[];
1718
- })[];
1719
- };
1720
- }, {
1721
- signer: {
1722
- actor: string;
1723
- permission: string;
1724
- };
1725
- signatures: string[];
1726
- transaction: {
1727
- expiration: string;
1728
- ref_block_num: number;
1729
- ref_block_prefix: number;
1730
- max_net_usage_words: number;
1731
- max_cpu_usage_ms: number;
1732
- delay_sec: number;
1733
- context_free_actions: {
1734
- data?: any;
1735
- hex_data?: string | undefined;
1736
- account: string;
1737
- name: string;
1738
- authorization: {
1739
- actor: string;
1740
- permission: string;
1741
- }[];
1742
- }[];
1743
- transaction_extensions: ((string | number)[] | undefined)[];
1744
- actions: ({
1745
- account: string;
1746
- data: {
1747
- [x: string]: any;
1748
- };
1749
- name: string;
1750
- authorization: {
1751
- actor: string;
1752
- permission: string;
1753
- }[];
1754
- } | {
1755
- account: "webauthn";
1756
- data: {
1757
- account: string;
1758
- key: {
1759
- key: (string | {
1760
- modulus: string;
1761
- exponent: string;
1762
- })[];
1763
- user_presence: number;
1764
- rpid: string;
1765
- };
1766
- nonce: number;
1767
- permissions: {
1768
- actor: string;
1769
- permission: string;
1770
- }[];
1771
- signature: {
1772
- signature: string;
1773
- auth_data: string;
1774
- client_json: string;
1775
- };
1776
- trx: {
1777
- expiration: string;
1778
- ref_block_num: number;
1779
- ref_block_prefix: number;
1780
- max_net_usage_words: number;
1781
- max_cpu_usage_ms: number;
1782
- delay_sec: number;
1783
- context_free_actions: {
1784
- data?: any;
1785
- hex_data?: string | undefined;
1786
- account: string;
1787
- name: string;
1788
- authorization: {
1789
- actor: string;
1790
- permission: string;
1791
- }[];
1792
- }[];
1793
- transaction_extensions: ((string | number)[] | undefined)[];
1794
- actions: {
1795
- account: string;
1796
- data: string | {
1797
- [x: string]: any;
1798
- };
1799
- name: string;
1800
- authorization: {
1801
- actor: string;
1802
- permission: string;
1803
- }[];
1804
- }[];
1805
- };
1806
- };
1807
- name: "exec";
1808
- authorization: {
1809
- actor: string;
1810
- permission: string;
1811
- }[];
1812
- })[];
1813
- };
1814
- }>;
1815
- export declare type GenerateAuth = z.infer<typeof generateAuthParser>;
1816
- export {};