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