@learncard/types 5.4.0 → 5.5.0

Sign up to get free protection for your applications and to get access to all the features.
package/dist/lcn.d.ts CHANGED
@@ -2,6 +2,7 @@ import { z } from 'zod';
2
2
  export declare const LCNProfileValidator: z.ZodObject<{
3
3
  profileId: z.ZodString;
4
4
  displayName: z.ZodDefault<z.ZodString>;
5
+ bio: z.ZodDefault<z.ZodString>;
5
6
  did: z.ZodString;
6
7
  email: z.ZodOptional<z.ZodString>;
7
8
  image: z.ZodOptional<z.ZodString>;
@@ -14,11 +15,13 @@ export declare const LCNProfileValidator: z.ZodObject<{
14
15
  notificationsWebhook?: string | undefined;
15
16
  profileId: string;
16
17
  displayName: string;
18
+ bio: string;
17
19
  did: string;
18
20
  }, {
19
21
  image?: string | undefined;
20
22
  email?: string | undefined;
21
23
  displayName?: string | undefined;
24
+ bio?: string | undefined;
22
25
  isServiceProfile?: boolean | undefined;
23
26
  notificationsWebhook?: string | undefined;
24
27
  profileId: string;
@@ -32,6 +35,7 @@ export declare const PaginatedLCNProfilesValidator: z.ZodObject<z.extendShape<{
32
35
  records: z.ZodArray<z.ZodObject<{
33
36
  profileId: z.ZodString;
34
37
  displayName: z.ZodDefault<z.ZodString>;
38
+ bio: z.ZodDefault<z.ZodString>;
35
39
  did: z.ZodString;
36
40
  email: z.ZodOptional<z.ZodString>;
37
41
  image: z.ZodOptional<z.ZodString>;
@@ -44,11 +48,13 @@ export declare const PaginatedLCNProfilesValidator: z.ZodObject<z.extendShape<{
44
48
  notificationsWebhook?: string | undefined;
45
49
  profileId: string;
46
50
  displayName: string;
51
+ bio: string;
47
52
  did: string;
48
53
  }, {
49
54
  image?: string | undefined;
50
55
  email?: string | undefined;
51
56
  displayName?: string | undefined;
57
+ bio?: string | undefined;
52
58
  isServiceProfile?: boolean | undefined;
53
59
  notificationsWebhook?: string | undefined;
54
60
  profileId: string;
@@ -64,6 +70,7 @@ export declare const PaginatedLCNProfilesValidator: z.ZodObject<z.extendShape<{
64
70
  notificationsWebhook?: string | undefined;
65
71
  profileId: string;
66
72
  displayName: string;
73
+ bio: string;
67
74
  did: string;
68
75
  }[];
69
76
  }, {
@@ -73,6 +80,7 @@ export declare const PaginatedLCNProfilesValidator: z.ZodObject<z.extendShape<{
73
80
  image?: string | undefined;
74
81
  email?: string | undefined;
75
82
  displayName?: string | undefined;
83
+ bio?: string | undefined;
76
84
  isServiceProfile?: boolean | undefined;
77
85
  notificationsWebhook?: string | undefined;
78
86
  profileId: string;
@@ -131,6 +139,7 @@ export declare const BoostRecipientValidator: z.ZodObject<{
131
139
  to: z.ZodObject<{
132
140
  profileId: z.ZodString;
133
141
  displayName: z.ZodDefault<z.ZodString>;
142
+ bio: z.ZodDefault<z.ZodString>;
134
143
  did: z.ZodString;
135
144
  email: z.ZodOptional<z.ZodString>;
136
145
  image: z.ZodOptional<z.ZodString>;
@@ -143,11 +152,13 @@ export declare const BoostRecipientValidator: z.ZodObject<{
143
152
  notificationsWebhook?: string | undefined;
144
153
  profileId: string;
145
154
  displayName: string;
155
+ bio: string;
146
156
  did: string;
147
157
  }, {
148
158
  image?: string | undefined;
149
159
  email?: string | undefined;
150
160
  displayName?: string | undefined;
161
+ bio?: string | undefined;
151
162
  isServiceProfile?: boolean | undefined;
152
163
  notificationsWebhook?: string | undefined;
153
164
  profileId: string;
@@ -164,6 +175,7 @@ export declare const BoostRecipientValidator: z.ZodObject<{
164
175
  notificationsWebhook?: string | undefined;
165
176
  profileId: string;
166
177
  displayName: string;
178
+ bio: string;
167
179
  did: string;
168
180
  };
169
181
  from: string;
@@ -173,6 +185,7 @@ export declare const BoostRecipientValidator: z.ZodObject<{
173
185
  image?: string | undefined;
174
186
  email?: string | undefined;
175
187
  displayName?: string | undefined;
188
+ bio?: string | undefined;
176
189
  isServiceProfile?: boolean | undefined;
177
190
  notificationsWebhook?: string | undefined;
178
191
  profileId: string;
@@ -210,6 +223,7 @@ export declare const LCNNotificationValidator: z.ZodObject<{
210
223
  to: z.ZodIntersection<z.ZodObject<{
211
224
  profileId: z.ZodOptional<z.ZodString>;
212
225
  displayName: z.ZodOptional<z.ZodDefault<z.ZodString>>;
226
+ bio: z.ZodOptional<z.ZodDefault<z.ZodString>>;
213
227
  did: z.ZodOptional<z.ZodString>;
214
228
  email: z.ZodOptional<z.ZodOptional<z.ZodString>>;
215
229
  image: z.ZodOptional<z.ZodOptional<z.ZodString>>;
@@ -220,6 +234,7 @@ export declare const LCNNotificationValidator: z.ZodObject<{
220
234
  email?: string | undefined;
221
235
  profileId?: string | undefined;
222
236
  displayName?: string | undefined;
237
+ bio?: string | undefined;
223
238
  did?: string | undefined;
224
239
  isServiceProfile?: boolean | undefined;
225
240
  notificationsWebhook?: string | undefined;
@@ -228,6 +243,7 @@ export declare const LCNNotificationValidator: z.ZodObject<{
228
243
  email?: string | undefined;
229
244
  profileId?: string | undefined;
230
245
  displayName?: string | undefined;
246
+ bio?: string | undefined;
231
247
  did?: string | undefined;
232
248
  isServiceProfile?: boolean | undefined;
233
249
  notificationsWebhook?: string | undefined;
@@ -241,6 +257,7 @@ export declare const LCNNotificationValidator: z.ZodObject<{
241
257
  from: z.ZodIntersection<z.ZodObject<{
242
258
  profileId: z.ZodOptional<z.ZodString>;
243
259
  displayName: z.ZodOptional<z.ZodDefault<z.ZodString>>;
260
+ bio: z.ZodOptional<z.ZodDefault<z.ZodString>>;
244
261
  did: z.ZodOptional<z.ZodString>;
245
262
  email: z.ZodOptional<z.ZodOptional<z.ZodString>>;
246
263
  image: z.ZodOptional<z.ZodOptional<z.ZodString>>;
@@ -251,6 +268,7 @@ export declare const LCNNotificationValidator: z.ZodObject<{
251
268
  email?: string | undefined;
252
269
  profileId?: string | undefined;
253
270
  displayName?: string | undefined;
271
+ bio?: string | undefined;
254
272
  did?: string | undefined;
255
273
  isServiceProfile?: boolean | undefined;
256
274
  notificationsWebhook?: string | undefined;
@@ -259,6 +277,7 @@ export declare const LCNNotificationValidator: z.ZodObject<{
259
277
  email?: string | undefined;
260
278
  profileId?: string | undefined;
261
279
  displayName?: string | undefined;
280
+ bio?: string | undefined;
262
281
  did?: string | undefined;
263
282
  isServiceProfile?: boolean | undefined;
264
283
  notificationsWebhook?: string | undefined;
@@ -306,6 +325,7 @@ export declare const LCNNotificationValidator: z.ZodObject<{
306
325
  email?: string | undefined;
307
326
  profileId?: string | undefined;
308
327
  displayName?: string | undefined;
328
+ bio?: string | undefined;
309
329
  did?: string | undefined;
310
330
  isServiceProfile?: boolean | undefined;
311
331
  notificationsWebhook?: string | undefined;
@@ -317,6 +337,7 @@ export declare const LCNNotificationValidator: z.ZodObject<{
317
337
  email?: string | undefined;
318
338
  profileId?: string | undefined;
319
339
  displayName?: string | undefined;
340
+ bio?: string | undefined;
320
341
  did?: string | undefined;
321
342
  isServiceProfile?: boolean | undefined;
322
343
  notificationsWebhook?: string | undefined;
@@ -339,6 +360,7 @@ export declare const LCNNotificationValidator: z.ZodObject<{
339
360
  email?: string | undefined;
340
361
  profileId?: string | undefined;
341
362
  displayName?: string | undefined;
363
+ bio?: string | undefined;
342
364
  did?: string | undefined;
343
365
  isServiceProfile?: boolean | undefined;
344
366
  notificationsWebhook?: string | undefined;
@@ -350,6 +372,7 @@ export declare const LCNNotificationValidator: z.ZodObject<{
350
372
  email?: string | undefined;
351
373
  profileId?: string | undefined;
352
374
  displayName?: string | undefined;
375
+ bio?: string | undefined;
353
376
  did?: string | undefined;
354
377
  isServiceProfile?: boolean | undefined;
355
378
  notificationsWebhook?: string | undefined;
@@ -427,4 +450,2628 @@ export declare const LCNSigningAuthorityForUserValidator: z.ZodObject<{
427
450
  };
428
451
  }>;
429
452
  export type LCNSigningAuthorityForUserType = z.infer<typeof LCNSigningAuthorityForUserValidator>;
453
+ export declare const ConsentFlowTermsStatusValidator: z.ZodEnum<["live", "stale", "withdrawn"]>;
454
+ export type ConsentFlowTermsStatus = z.infer<typeof ConsentFlowTermsStatusValidator>;
455
+ export declare const ConsentFlowContractValidator: z.ZodObject<{
456
+ read: z.ZodDefault<z.ZodObject<{
457
+ anonymize: z.ZodOptional<z.ZodBoolean>;
458
+ credentials: z.ZodDefault<z.ZodObject<{
459
+ categories: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodObject<{
460
+ required: z.ZodBoolean;
461
+ }, "strip", z.ZodTypeAny, {
462
+ required: boolean;
463
+ }, {
464
+ required: boolean;
465
+ }>>>;
466
+ }, "strip", z.ZodTypeAny, {
467
+ categories: Record<string, {
468
+ required: boolean;
469
+ }>;
470
+ }, {
471
+ categories?: Record<string, {
472
+ required: boolean;
473
+ }> | undefined;
474
+ }>>;
475
+ personal: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodObject<{
476
+ required: z.ZodBoolean;
477
+ }, "strip", z.ZodTypeAny, {
478
+ required: boolean;
479
+ }, {
480
+ required: boolean;
481
+ }>>>;
482
+ }, "strip", z.ZodTypeAny, {
483
+ anonymize?: boolean | undefined;
484
+ credentials: {
485
+ categories: Record<string, {
486
+ required: boolean;
487
+ }>;
488
+ };
489
+ personal: Record<string, {
490
+ required: boolean;
491
+ }>;
492
+ }, {
493
+ anonymize?: boolean | undefined;
494
+ credentials?: {
495
+ categories?: Record<string, {
496
+ required: boolean;
497
+ }> | undefined;
498
+ } | undefined;
499
+ personal?: Record<string, {
500
+ required: boolean;
501
+ }> | undefined;
502
+ }>>;
503
+ write: z.ZodDefault<z.ZodObject<{
504
+ credentials: z.ZodDefault<z.ZodObject<{
505
+ categories: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodObject<{
506
+ required: z.ZodBoolean;
507
+ }, "strip", z.ZodTypeAny, {
508
+ required: boolean;
509
+ }, {
510
+ required: boolean;
511
+ }>>>;
512
+ }, "strip", z.ZodTypeAny, {
513
+ categories: Record<string, {
514
+ required: boolean;
515
+ }>;
516
+ }, {
517
+ categories?: Record<string, {
518
+ required: boolean;
519
+ }> | undefined;
520
+ }>>;
521
+ personal: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodObject<{
522
+ required: z.ZodBoolean;
523
+ }, "strip", z.ZodTypeAny, {
524
+ required: boolean;
525
+ }, {
526
+ required: boolean;
527
+ }>>>;
528
+ }, "strip", z.ZodTypeAny, {
529
+ credentials: {
530
+ categories: Record<string, {
531
+ required: boolean;
532
+ }>;
533
+ };
534
+ personal: Record<string, {
535
+ required: boolean;
536
+ }>;
537
+ }, {
538
+ credentials?: {
539
+ categories?: Record<string, {
540
+ required: boolean;
541
+ }> | undefined;
542
+ } | undefined;
543
+ personal?: Record<string, {
544
+ required: boolean;
545
+ }> | undefined;
546
+ }>>;
547
+ }, "strip", z.ZodTypeAny, {
548
+ read: {
549
+ anonymize?: boolean | undefined;
550
+ credentials: {
551
+ categories: Record<string, {
552
+ required: boolean;
553
+ }>;
554
+ };
555
+ personal: Record<string, {
556
+ required: boolean;
557
+ }>;
558
+ };
559
+ write: {
560
+ credentials: {
561
+ categories: Record<string, {
562
+ required: boolean;
563
+ }>;
564
+ };
565
+ personal: Record<string, {
566
+ required: boolean;
567
+ }>;
568
+ };
569
+ }, {
570
+ read?: {
571
+ anonymize?: boolean | undefined;
572
+ credentials?: {
573
+ categories?: Record<string, {
574
+ required: boolean;
575
+ }> | undefined;
576
+ } | undefined;
577
+ personal?: Record<string, {
578
+ required: boolean;
579
+ }> | undefined;
580
+ } | undefined;
581
+ write?: {
582
+ credentials?: {
583
+ categories?: Record<string, {
584
+ required: boolean;
585
+ }> | undefined;
586
+ } | undefined;
587
+ personal?: Record<string, {
588
+ required: boolean;
589
+ }> | undefined;
590
+ } | undefined;
591
+ }>;
592
+ export type ConsentFlowContract = z.infer<typeof ConsentFlowContractValidator>;
593
+ export type ConsentFlowContractInput = z.input<typeof ConsentFlowContractValidator>;
594
+ export declare const ConsentFlowContractDetailsValidator: z.ZodObject<{
595
+ contract: z.ZodObject<{
596
+ read: z.ZodDefault<z.ZodObject<{
597
+ anonymize: z.ZodOptional<z.ZodBoolean>;
598
+ credentials: z.ZodDefault<z.ZodObject<{
599
+ categories: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodObject<{
600
+ required: z.ZodBoolean;
601
+ }, "strip", z.ZodTypeAny, {
602
+ required: boolean;
603
+ }, {
604
+ required: boolean;
605
+ }>>>;
606
+ }, "strip", z.ZodTypeAny, {
607
+ categories: Record<string, {
608
+ required: boolean;
609
+ }>;
610
+ }, {
611
+ categories?: Record<string, {
612
+ required: boolean;
613
+ }> | undefined;
614
+ }>>;
615
+ personal: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodObject<{
616
+ required: z.ZodBoolean;
617
+ }, "strip", z.ZodTypeAny, {
618
+ required: boolean;
619
+ }, {
620
+ required: boolean;
621
+ }>>>;
622
+ }, "strip", z.ZodTypeAny, {
623
+ anonymize?: boolean | undefined;
624
+ credentials: {
625
+ categories: Record<string, {
626
+ required: boolean;
627
+ }>;
628
+ };
629
+ personal: Record<string, {
630
+ required: boolean;
631
+ }>;
632
+ }, {
633
+ anonymize?: boolean | undefined;
634
+ credentials?: {
635
+ categories?: Record<string, {
636
+ required: boolean;
637
+ }> | undefined;
638
+ } | undefined;
639
+ personal?: Record<string, {
640
+ required: boolean;
641
+ }> | undefined;
642
+ }>>;
643
+ write: z.ZodDefault<z.ZodObject<{
644
+ credentials: z.ZodDefault<z.ZodObject<{
645
+ categories: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodObject<{
646
+ required: z.ZodBoolean;
647
+ }, "strip", z.ZodTypeAny, {
648
+ required: boolean;
649
+ }, {
650
+ required: boolean;
651
+ }>>>;
652
+ }, "strip", z.ZodTypeAny, {
653
+ categories: Record<string, {
654
+ required: boolean;
655
+ }>;
656
+ }, {
657
+ categories?: Record<string, {
658
+ required: boolean;
659
+ }> | undefined;
660
+ }>>;
661
+ personal: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodObject<{
662
+ required: z.ZodBoolean;
663
+ }, "strip", z.ZodTypeAny, {
664
+ required: boolean;
665
+ }, {
666
+ required: boolean;
667
+ }>>>;
668
+ }, "strip", z.ZodTypeAny, {
669
+ credentials: {
670
+ categories: Record<string, {
671
+ required: boolean;
672
+ }>;
673
+ };
674
+ personal: Record<string, {
675
+ required: boolean;
676
+ }>;
677
+ }, {
678
+ credentials?: {
679
+ categories?: Record<string, {
680
+ required: boolean;
681
+ }> | undefined;
682
+ } | undefined;
683
+ personal?: Record<string, {
684
+ required: boolean;
685
+ }> | undefined;
686
+ }>>;
687
+ }, "strip", z.ZodTypeAny, {
688
+ read: {
689
+ anonymize?: boolean | undefined;
690
+ credentials: {
691
+ categories: Record<string, {
692
+ required: boolean;
693
+ }>;
694
+ };
695
+ personal: Record<string, {
696
+ required: boolean;
697
+ }>;
698
+ };
699
+ write: {
700
+ credentials: {
701
+ categories: Record<string, {
702
+ required: boolean;
703
+ }>;
704
+ };
705
+ personal: Record<string, {
706
+ required: boolean;
707
+ }>;
708
+ };
709
+ }, {
710
+ read?: {
711
+ anonymize?: boolean | undefined;
712
+ credentials?: {
713
+ categories?: Record<string, {
714
+ required: boolean;
715
+ }> | undefined;
716
+ } | undefined;
717
+ personal?: Record<string, {
718
+ required: boolean;
719
+ }> | undefined;
720
+ } | undefined;
721
+ write?: {
722
+ credentials?: {
723
+ categories?: Record<string, {
724
+ required: boolean;
725
+ }> | undefined;
726
+ } | undefined;
727
+ personal?: Record<string, {
728
+ required: boolean;
729
+ }> | undefined;
730
+ } | undefined;
731
+ }>;
732
+ owner: z.ZodObject<{
733
+ profileId: z.ZodString;
734
+ displayName: z.ZodDefault<z.ZodString>;
735
+ bio: z.ZodDefault<z.ZodString>;
736
+ did: z.ZodString;
737
+ email: z.ZodOptional<z.ZodString>;
738
+ image: z.ZodOptional<z.ZodString>;
739
+ isServiceProfile: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
740
+ notificationsWebhook: z.ZodOptional<z.ZodString>;
741
+ }, "strip", z.ZodTypeAny, {
742
+ image?: string | undefined;
743
+ email?: string | undefined;
744
+ isServiceProfile?: boolean | undefined;
745
+ notificationsWebhook?: string | undefined;
746
+ profileId: string;
747
+ displayName: string;
748
+ bio: string;
749
+ did: string;
750
+ }, {
751
+ image?: string | undefined;
752
+ email?: string | undefined;
753
+ displayName?: string | undefined;
754
+ bio?: string | undefined;
755
+ isServiceProfile?: boolean | undefined;
756
+ notificationsWebhook?: string | undefined;
757
+ profileId: string;
758
+ did: string;
759
+ }>;
760
+ name: z.ZodString;
761
+ subtitle: z.ZodOptional<z.ZodString>;
762
+ description: z.ZodOptional<z.ZodString>;
763
+ reasonForAccessing: z.ZodOptional<z.ZodString>;
764
+ image: z.ZodOptional<z.ZodString>;
765
+ uri: z.ZodString;
766
+ createdAt: z.ZodString;
767
+ updatedAt: z.ZodString;
768
+ expiresAt: z.ZodOptional<z.ZodString>;
769
+ }, "strip", z.ZodTypeAny, {
770
+ description?: string | undefined;
771
+ image?: string | undefined;
772
+ subtitle?: string | undefined;
773
+ reasonForAccessing?: string | undefined;
774
+ expiresAt?: string | undefined;
775
+ name: string;
776
+ createdAt: string;
777
+ uri: string;
778
+ contract: {
779
+ read: {
780
+ anonymize?: boolean | undefined;
781
+ credentials: {
782
+ categories: Record<string, {
783
+ required: boolean;
784
+ }>;
785
+ };
786
+ personal: Record<string, {
787
+ required: boolean;
788
+ }>;
789
+ };
790
+ write: {
791
+ credentials: {
792
+ categories: Record<string, {
793
+ required: boolean;
794
+ }>;
795
+ };
796
+ personal: Record<string, {
797
+ required: boolean;
798
+ }>;
799
+ };
800
+ };
801
+ owner: {
802
+ image?: string | undefined;
803
+ email?: string | undefined;
804
+ isServiceProfile?: boolean | undefined;
805
+ notificationsWebhook?: string | undefined;
806
+ profileId: string;
807
+ displayName: string;
808
+ bio: string;
809
+ did: string;
810
+ };
811
+ updatedAt: string;
812
+ }, {
813
+ description?: string | undefined;
814
+ image?: string | undefined;
815
+ subtitle?: string | undefined;
816
+ reasonForAccessing?: string | undefined;
817
+ expiresAt?: string | undefined;
818
+ name: string;
819
+ createdAt: string;
820
+ uri: string;
821
+ contract: {
822
+ read?: {
823
+ anonymize?: boolean | undefined;
824
+ credentials?: {
825
+ categories?: Record<string, {
826
+ required: boolean;
827
+ }> | undefined;
828
+ } | undefined;
829
+ personal?: Record<string, {
830
+ required: boolean;
831
+ }> | undefined;
832
+ } | undefined;
833
+ write?: {
834
+ credentials?: {
835
+ categories?: Record<string, {
836
+ required: boolean;
837
+ }> | undefined;
838
+ } | undefined;
839
+ personal?: Record<string, {
840
+ required: boolean;
841
+ }> | undefined;
842
+ } | undefined;
843
+ };
844
+ owner: {
845
+ image?: string | undefined;
846
+ email?: string | undefined;
847
+ displayName?: string | undefined;
848
+ bio?: string | undefined;
849
+ isServiceProfile?: boolean | undefined;
850
+ notificationsWebhook?: string | undefined;
851
+ profileId: string;
852
+ did: string;
853
+ };
854
+ updatedAt: string;
855
+ }>;
856
+ export type ConsentFlowContractDetails = z.infer<typeof ConsentFlowContractDetailsValidator>;
857
+ export type ConsentFlowContractDetailsInput = z.input<typeof ConsentFlowContractDetailsValidator>;
858
+ export declare const PaginatedConsentFlowContractsValidator: z.ZodObject<z.extendShape<{
859
+ cursor: z.ZodOptional<z.ZodString>;
860
+ hasMore: z.ZodBoolean;
861
+ }, {
862
+ records: z.ZodArray<z.ZodObject<Omit<{
863
+ contract: z.ZodObject<{
864
+ read: z.ZodDefault<z.ZodObject<{
865
+ anonymize: z.ZodOptional<z.ZodBoolean>;
866
+ credentials: z.ZodDefault<z.ZodObject<{
867
+ categories: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodObject<{
868
+ required: z.ZodBoolean;
869
+ }, "strip", z.ZodTypeAny, {
870
+ required: boolean;
871
+ }, {
872
+ required: boolean;
873
+ }>>>;
874
+ }, "strip", z.ZodTypeAny, {
875
+ categories: Record<string, {
876
+ required: boolean;
877
+ }>;
878
+ }, {
879
+ categories?: Record<string, {
880
+ required: boolean;
881
+ }> | undefined;
882
+ }>>;
883
+ personal: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodObject<{
884
+ required: z.ZodBoolean;
885
+ }, "strip", z.ZodTypeAny, {
886
+ required: boolean;
887
+ }, {
888
+ required: boolean;
889
+ }>>>;
890
+ }, "strip", z.ZodTypeAny, {
891
+ anonymize?: boolean | undefined;
892
+ credentials: {
893
+ categories: Record<string, {
894
+ required: boolean;
895
+ }>;
896
+ };
897
+ personal: Record<string, {
898
+ required: boolean;
899
+ }>;
900
+ }, {
901
+ anonymize?: boolean | undefined;
902
+ credentials?: {
903
+ categories?: Record<string, {
904
+ required: boolean;
905
+ }> | undefined;
906
+ } | undefined;
907
+ personal?: Record<string, {
908
+ required: boolean;
909
+ }> | undefined;
910
+ }>>;
911
+ write: z.ZodDefault<z.ZodObject<{
912
+ credentials: z.ZodDefault<z.ZodObject<{
913
+ categories: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodObject<{
914
+ required: z.ZodBoolean;
915
+ }, "strip", z.ZodTypeAny, {
916
+ required: boolean;
917
+ }, {
918
+ required: boolean;
919
+ }>>>;
920
+ }, "strip", z.ZodTypeAny, {
921
+ categories: Record<string, {
922
+ required: boolean;
923
+ }>;
924
+ }, {
925
+ categories?: Record<string, {
926
+ required: boolean;
927
+ }> | undefined;
928
+ }>>;
929
+ personal: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodObject<{
930
+ required: z.ZodBoolean;
931
+ }, "strip", z.ZodTypeAny, {
932
+ required: boolean;
933
+ }, {
934
+ required: boolean;
935
+ }>>>;
936
+ }, "strip", z.ZodTypeAny, {
937
+ credentials: {
938
+ categories: Record<string, {
939
+ required: boolean;
940
+ }>;
941
+ };
942
+ personal: Record<string, {
943
+ required: boolean;
944
+ }>;
945
+ }, {
946
+ credentials?: {
947
+ categories?: Record<string, {
948
+ required: boolean;
949
+ }> | undefined;
950
+ } | undefined;
951
+ personal?: Record<string, {
952
+ required: boolean;
953
+ }> | undefined;
954
+ }>>;
955
+ }, "strip", z.ZodTypeAny, {
956
+ read: {
957
+ anonymize?: boolean | undefined;
958
+ credentials: {
959
+ categories: Record<string, {
960
+ required: boolean;
961
+ }>;
962
+ };
963
+ personal: Record<string, {
964
+ required: boolean;
965
+ }>;
966
+ };
967
+ write: {
968
+ credentials: {
969
+ categories: Record<string, {
970
+ required: boolean;
971
+ }>;
972
+ };
973
+ personal: Record<string, {
974
+ required: boolean;
975
+ }>;
976
+ };
977
+ }, {
978
+ read?: {
979
+ anonymize?: boolean | undefined;
980
+ credentials?: {
981
+ categories?: Record<string, {
982
+ required: boolean;
983
+ }> | undefined;
984
+ } | undefined;
985
+ personal?: Record<string, {
986
+ required: boolean;
987
+ }> | undefined;
988
+ } | undefined;
989
+ write?: {
990
+ credentials?: {
991
+ categories?: Record<string, {
992
+ required: boolean;
993
+ }> | undefined;
994
+ } | undefined;
995
+ personal?: Record<string, {
996
+ required: boolean;
997
+ }> | undefined;
998
+ } | undefined;
999
+ }>;
1000
+ owner: z.ZodObject<{
1001
+ profileId: z.ZodString;
1002
+ displayName: z.ZodDefault<z.ZodString>;
1003
+ bio: z.ZodDefault<z.ZodString>;
1004
+ did: z.ZodString;
1005
+ email: z.ZodOptional<z.ZodString>;
1006
+ image: z.ZodOptional<z.ZodString>;
1007
+ isServiceProfile: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
1008
+ notificationsWebhook: z.ZodOptional<z.ZodString>;
1009
+ }, "strip", z.ZodTypeAny, {
1010
+ image?: string | undefined;
1011
+ email?: string | undefined;
1012
+ isServiceProfile?: boolean | undefined;
1013
+ notificationsWebhook?: string | undefined;
1014
+ profileId: string;
1015
+ displayName: string;
1016
+ bio: string;
1017
+ did: string;
1018
+ }, {
1019
+ image?: string | undefined;
1020
+ email?: string | undefined;
1021
+ displayName?: string | undefined;
1022
+ bio?: string | undefined;
1023
+ isServiceProfile?: boolean | undefined;
1024
+ notificationsWebhook?: string | undefined;
1025
+ profileId: string;
1026
+ did: string;
1027
+ }>;
1028
+ name: z.ZodString;
1029
+ subtitle: z.ZodOptional<z.ZodString>;
1030
+ description: z.ZodOptional<z.ZodString>;
1031
+ reasonForAccessing: z.ZodOptional<z.ZodString>;
1032
+ image: z.ZodOptional<z.ZodString>;
1033
+ uri: z.ZodString;
1034
+ createdAt: z.ZodString;
1035
+ updatedAt: z.ZodString;
1036
+ expiresAt: z.ZodOptional<z.ZodString>;
1037
+ }, "owner">, "strip", z.ZodTypeAny, {
1038
+ description?: string | undefined;
1039
+ image?: string | undefined;
1040
+ subtitle?: string | undefined;
1041
+ reasonForAccessing?: string | undefined;
1042
+ expiresAt?: string | undefined;
1043
+ name: string;
1044
+ createdAt: string;
1045
+ uri: string;
1046
+ contract: {
1047
+ read: {
1048
+ anonymize?: boolean | undefined;
1049
+ credentials: {
1050
+ categories: Record<string, {
1051
+ required: boolean;
1052
+ }>;
1053
+ };
1054
+ personal: Record<string, {
1055
+ required: boolean;
1056
+ }>;
1057
+ };
1058
+ write: {
1059
+ credentials: {
1060
+ categories: Record<string, {
1061
+ required: boolean;
1062
+ }>;
1063
+ };
1064
+ personal: Record<string, {
1065
+ required: boolean;
1066
+ }>;
1067
+ };
1068
+ };
1069
+ updatedAt: string;
1070
+ }, {
1071
+ description?: string | undefined;
1072
+ image?: string | undefined;
1073
+ subtitle?: string | undefined;
1074
+ reasonForAccessing?: string | undefined;
1075
+ expiresAt?: string | undefined;
1076
+ name: string;
1077
+ createdAt: string;
1078
+ uri: string;
1079
+ contract: {
1080
+ read?: {
1081
+ anonymize?: boolean | undefined;
1082
+ credentials?: {
1083
+ categories?: Record<string, {
1084
+ required: boolean;
1085
+ }> | undefined;
1086
+ } | undefined;
1087
+ personal?: Record<string, {
1088
+ required: boolean;
1089
+ }> | undefined;
1090
+ } | undefined;
1091
+ write?: {
1092
+ credentials?: {
1093
+ categories?: Record<string, {
1094
+ required: boolean;
1095
+ }> | undefined;
1096
+ } | undefined;
1097
+ personal?: Record<string, {
1098
+ required: boolean;
1099
+ }> | undefined;
1100
+ } | undefined;
1101
+ };
1102
+ updatedAt: string;
1103
+ }>, "many">;
1104
+ }>, "strip", z.ZodTypeAny, {
1105
+ cursor?: string | undefined;
1106
+ hasMore: boolean;
1107
+ records: {
1108
+ description?: string | undefined;
1109
+ image?: string | undefined;
1110
+ subtitle?: string | undefined;
1111
+ reasonForAccessing?: string | undefined;
1112
+ expiresAt?: string | undefined;
1113
+ name: string;
1114
+ createdAt: string;
1115
+ uri: string;
1116
+ contract: {
1117
+ read: {
1118
+ anonymize?: boolean | undefined;
1119
+ credentials: {
1120
+ categories: Record<string, {
1121
+ required: boolean;
1122
+ }>;
1123
+ };
1124
+ personal: Record<string, {
1125
+ required: boolean;
1126
+ }>;
1127
+ };
1128
+ write: {
1129
+ credentials: {
1130
+ categories: Record<string, {
1131
+ required: boolean;
1132
+ }>;
1133
+ };
1134
+ personal: Record<string, {
1135
+ required: boolean;
1136
+ }>;
1137
+ };
1138
+ };
1139
+ updatedAt: string;
1140
+ }[];
1141
+ }, {
1142
+ cursor?: string | undefined;
1143
+ hasMore: boolean;
1144
+ records: {
1145
+ description?: string | undefined;
1146
+ image?: string | undefined;
1147
+ subtitle?: string | undefined;
1148
+ reasonForAccessing?: string | undefined;
1149
+ expiresAt?: string | undefined;
1150
+ name: string;
1151
+ createdAt: string;
1152
+ uri: string;
1153
+ contract: {
1154
+ read?: {
1155
+ anonymize?: boolean | undefined;
1156
+ credentials?: {
1157
+ categories?: Record<string, {
1158
+ required: boolean;
1159
+ }> | undefined;
1160
+ } | undefined;
1161
+ personal?: Record<string, {
1162
+ required: boolean;
1163
+ }> | undefined;
1164
+ } | undefined;
1165
+ write?: {
1166
+ credentials?: {
1167
+ categories?: Record<string, {
1168
+ required: boolean;
1169
+ }> | undefined;
1170
+ } | undefined;
1171
+ personal?: Record<string, {
1172
+ required: boolean;
1173
+ }> | undefined;
1174
+ } | undefined;
1175
+ };
1176
+ updatedAt: string;
1177
+ }[];
1178
+ }>;
1179
+ export type PaginatedConsentFlowContracts = z.infer<typeof PaginatedConsentFlowContractsValidator>;
1180
+ export declare const ConsentFlowContractDataValidator: z.ZodObject<{
1181
+ credentials: z.ZodObject<{
1182
+ categories: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodArray<z.ZodString, "many">>>;
1183
+ }, "strip", z.ZodTypeAny, {
1184
+ categories: Record<string, string[]>;
1185
+ }, {
1186
+ categories?: Record<string, string[]> | undefined;
1187
+ }>;
1188
+ personal: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodString>>;
1189
+ date: z.ZodString;
1190
+ }, "strip", z.ZodTypeAny, {
1191
+ date: string;
1192
+ credentials: {
1193
+ categories: Record<string, string[]>;
1194
+ };
1195
+ personal: Record<string, string>;
1196
+ }, {
1197
+ personal?: Record<string, string> | undefined;
1198
+ date: string;
1199
+ credentials: {
1200
+ categories?: Record<string, string[]> | undefined;
1201
+ };
1202
+ }>;
1203
+ export type ConsentFlowContractData = z.infer<typeof ConsentFlowContractDataValidator>;
1204
+ export declare const PaginatedConsentFlowDataValidator: z.ZodObject<z.extendShape<{
1205
+ cursor: z.ZodOptional<z.ZodString>;
1206
+ hasMore: z.ZodBoolean;
1207
+ }, {
1208
+ records: z.ZodArray<z.ZodObject<{
1209
+ credentials: z.ZodObject<{
1210
+ categories: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodArray<z.ZodString, "many">>>;
1211
+ }, "strip", z.ZodTypeAny, {
1212
+ categories: Record<string, string[]>;
1213
+ }, {
1214
+ categories?: Record<string, string[]> | undefined;
1215
+ }>;
1216
+ personal: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodString>>;
1217
+ date: z.ZodString;
1218
+ }, "strip", z.ZodTypeAny, {
1219
+ date: string;
1220
+ credentials: {
1221
+ categories: Record<string, string[]>;
1222
+ };
1223
+ personal: Record<string, string>;
1224
+ }, {
1225
+ personal?: Record<string, string> | undefined;
1226
+ date: string;
1227
+ credentials: {
1228
+ categories?: Record<string, string[]> | undefined;
1229
+ };
1230
+ }>, "many">;
1231
+ }>, "strip", z.ZodTypeAny, {
1232
+ cursor?: string | undefined;
1233
+ hasMore: boolean;
1234
+ records: {
1235
+ date: string;
1236
+ credentials: {
1237
+ categories: Record<string, string[]>;
1238
+ };
1239
+ personal: Record<string, string>;
1240
+ }[];
1241
+ }, {
1242
+ cursor?: string | undefined;
1243
+ hasMore: boolean;
1244
+ records: {
1245
+ personal?: Record<string, string> | undefined;
1246
+ date: string;
1247
+ credentials: {
1248
+ categories?: Record<string, string[]> | undefined;
1249
+ };
1250
+ }[];
1251
+ }>;
1252
+ export type PaginatedConsentFlowData = z.infer<typeof PaginatedConsentFlowDataValidator>;
1253
+ export declare const ConsentFlowTermsValidator: z.ZodObject<{
1254
+ read: z.ZodDefault<z.ZodObject<{
1255
+ anonymize: z.ZodOptional<z.ZodBoolean>;
1256
+ credentials: z.ZodDefault<z.ZodObject<{
1257
+ shareAll: z.ZodOptional<z.ZodBoolean>;
1258
+ sharing: z.ZodOptional<z.ZodBoolean>;
1259
+ categories: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodObject<{
1260
+ sharing: z.ZodOptional<z.ZodBoolean>;
1261
+ shared: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1262
+ shareAll: z.ZodOptional<z.ZodBoolean>;
1263
+ }, "strip", z.ZodTypeAny, {
1264
+ shareAll?: boolean | undefined;
1265
+ sharing?: boolean | undefined;
1266
+ shared?: string[] | undefined;
1267
+ }, {
1268
+ shareAll?: boolean | undefined;
1269
+ sharing?: boolean | undefined;
1270
+ shared?: string[] | undefined;
1271
+ }>>>;
1272
+ }, "strip", z.ZodTypeAny, {
1273
+ shareAll?: boolean | undefined;
1274
+ sharing?: boolean | undefined;
1275
+ categories: Record<string, {
1276
+ shareAll?: boolean | undefined;
1277
+ sharing?: boolean | undefined;
1278
+ shared?: string[] | undefined;
1279
+ }>;
1280
+ }, {
1281
+ categories?: Record<string, {
1282
+ shareAll?: boolean | undefined;
1283
+ sharing?: boolean | undefined;
1284
+ shared?: string[] | undefined;
1285
+ }> | undefined;
1286
+ shareAll?: boolean | undefined;
1287
+ sharing?: boolean | undefined;
1288
+ }>>;
1289
+ personal: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodString>>;
1290
+ }, "strip", z.ZodTypeAny, {
1291
+ anonymize?: boolean | undefined;
1292
+ credentials: {
1293
+ shareAll?: boolean | undefined;
1294
+ sharing?: boolean | undefined;
1295
+ categories: Record<string, {
1296
+ shareAll?: boolean | undefined;
1297
+ sharing?: boolean | undefined;
1298
+ shared?: string[] | undefined;
1299
+ }>;
1300
+ };
1301
+ personal: Record<string, string>;
1302
+ }, {
1303
+ anonymize?: boolean | undefined;
1304
+ credentials?: {
1305
+ categories?: Record<string, {
1306
+ shareAll?: boolean | undefined;
1307
+ sharing?: boolean | undefined;
1308
+ shared?: string[] | undefined;
1309
+ }> | undefined;
1310
+ shareAll?: boolean | undefined;
1311
+ sharing?: boolean | undefined;
1312
+ } | undefined;
1313
+ personal?: Record<string, string> | undefined;
1314
+ }>>;
1315
+ write: z.ZodDefault<z.ZodObject<{
1316
+ credentials: z.ZodDefault<z.ZodObject<{
1317
+ categories: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodBoolean>>;
1318
+ }, "strip", z.ZodTypeAny, {
1319
+ categories: Record<string, boolean>;
1320
+ }, {
1321
+ categories?: Record<string, boolean> | undefined;
1322
+ }>>;
1323
+ personal: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodBoolean>>;
1324
+ }, "strip", z.ZodTypeAny, {
1325
+ credentials: {
1326
+ categories: Record<string, boolean>;
1327
+ };
1328
+ personal: Record<string, boolean>;
1329
+ }, {
1330
+ credentials?: {
1331
+ categories?: Record<string, boolean> | undefined;
1332
+ } | undefined;
1333
+ personal?: Record<string, boolean> | undefined;
1334
+ }>>;
1335
+ }, "strip", z.ZodTypeAny, {
1336
+ read: {
1337
+ anonymize?: boolean | undefined;
1338
+ credentials: {
1339
+ shareAll?: boolean | undefined;
1340
+ sharing?: boolean | undefined;
1341
+ categories: Record<string, {
1342
+ shareAll?: boolean | undefined;
1343
+ sharing?: boolean | undefined;
1344
+ shared?: string[] | undefined;
1345
+ }>;
1346
+ };
1347
+ personal: Record<string, string>;
1348
+ };
1349
+ write: {
1350
+ credentials: {
1351
+ categories: Record<string, boolean>;
1352
+ };
1353
+ personal: Record<string, boolean>;
1354
+ };
1355
+ }, {
1356
+ read?: {
1357
+ anonymize?: boolean | undefined;
1358
+ credentials?: {
1359
+ categories?: Record<string, {
1360
+ shareAll?: boolean | undefined;
1361
+ sharing?: boolean | undefined;
1362
+ shared?: string[] | undefined;
1363
+ }> | undefined;
1364
+ shareAll?: boolean | undefined;
1365
+ sharing?: boolean | undefined;
1366
+ } | undefined;
1367
+ personal?: Record<string, string> | undefined;
1368
+ } | undefined;
1369
+ write?: {
1370
+ credentials?: {
1371
+ categories?: Record<string, boolean> | undefined;
1372
+ } | undefined;
1373
+ personal?: Record<string, boolean> | undefined;
1374
+ } | undefined;
1375
+ }>;
1376
+ export type ConsentFlowTerms = z.infer<typeof ConsentFlowTermsValidator>;
1377
+ export type ConsentFlowTermsInput = z.input<typeof ConsentFlowTermsValidator>;
1378
+ export declare const PaginatedConsentFlowTermsValidator: z.ZodObject<z.extendShape<{
1379
+ cursor: z.ZodOptional<z.ZodString>;
1380
+ hasMore: z.ZodBoolean;
1381
+ }, {
1382
+ records: z.ZodArray<z.ZodObject<{
1383
+ expiresAt: z.ZodOptional<z.ZodString>;
1384
+ oneTime: z.ZodOptional<z.ZodBoolean>;
1385
+ terms: z.ZodObject<{
1386
+ read: z.ZodDefault<z.ZodObject<{
1387
+ anonymize: z.ZodOptional<z.ZodBoolean>;
1388
+ credentials: z.ZodDefault<z.ZodObject<{
1389
+ shareAll: z.ZodOptional<z.ZodBoolean>;
1390
+ sharing: z.ZodOptional<z.ZodBoolean>;
1391
+ categories: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodObject<{
1392
+ sharing: z.ZodOptional<z.ZodBoolean>;
1393
+ shared: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1394
+ shareAll: z.ZodOptional<z.ZodBoolean>;
1395
+ }, "strip", z.ZodTypeAny, {
1396
+ shareAll?: boolean | undefined;
1397
+ sharing?: boolean | undefined;
1398
+ shared?: string[] | undefined;
1399
+ }, {
1400
+ shareAll?: boolean | undefined;
1401
+ sharing?: boolean | undefined;
1402
+ shared?: string[] | undefined;
1403
+ }>>>;
1404
+ }, "strip", z.ZodTypeAny, {
1405
+ shareAll?: boolean | undefined;
1406
+ sharing?: boolean | undefined;
1407
+ categories: Record<string, {
1408
+ shareAll?: boolean | undefined;
1409
+ sharing?: boolean | undefined;
1410
+ shared?: string[] | undefined;
1411
+ }>;
1412
+ }, {
1413
+ categories?: Record<string, {
1414
+ shareAll?: boolean | undefined;
1415
+ sharing?: boolean | undefined;
1416
+ shared?: string[] | undefined;
1417
+ }> | undefined;
1418
+ shareAll?: boolean | undefined;
1419
+ sharing?: boolean | undefined;
1420
+ }>>;
1421
+ personal: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodString>>;
1422
+ }, "strip", z.ZodTypeAny, {
1423
+ anonymize?: boolean | undefined;
1424
+ credentials: {
1425
+ shareAll?: boolean | undefined;
1426
+ sharing?: boolean | undefined;
1427
+ categories: Record<string, {
1428
+ shareAll?: boolean | undefined;
1429
+ sharing?: boolean | undefined;
1430
+ shared?: string[] | undefined;
1431
+ }>;
1432
+ };
1433
+ personal: Record<string, string>;
1434
+ }, {
1435
+ anonymize?: boolean | undefined;
1436
+ credentials?: {
1437
+ categories?: Record<string, {
1438
+ shareAll?: boolean | undefined;
1439
+ sharing?: boolean | undefined;
1440
+ shared?: string[] | undefined;
1441
+ }> | undefined;
1442
+ shareAll?: boolean | undefined;
1443
+ sharing?: boolean | undefined;
1444
+ } | undefined;
1445
+ personal?: Record<string, string> | undefined;
1446
+ }>>;
1447
+ write: z.ZodDefault<z.ZodObject<{
1448
+ credentials: z.ZodDefault<z.ZodObject<{
1449
+ categories: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodBoolean>>;
1450
+ }, "strip", z.ZodTypeAny, {
1451
+ categories: Record<string, boolean>;
1452
+ }, {
1453
+ categories?: Record<string, boolean> | undefined;
1454
+ }>>;
1455
+ personal: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodBoolean>>;
1456
+ }, "strip", z.ZodTypeAny, {
1457
+ credentials: {
1458
+ categories: Record<string, boolean>;
1459
+ };
1460
+ personal: Record<string, boolean>;
1461
+ }, {
1462
+ credentials?: {
1463
+ categories?: Record<string, boolean> | undefined;
1464
+ } | undefined;
1465
+ personal?: Record<string, boolean> | undefined;
1466
+ }>>;
1467
+ }, "strip", z.ZodTypeAny, {
1468
+ read: {
1469
+ anonymize?: boolean | undefined;
1470
+ credentials: {
1471
+ shareAll?: boolean | undefined;
1472
+ sharing?: boolean | undefined;
1473
+ categories: Record<string, {
1474
+ shareAll?: boolean | undefined;
1475
+ sharing?: boolean | undefined;
1476
+ shared?: string[] | undefined;
1477
+ }>;
1478
+ };
1479
+ personal: Record<string, string>;
1480
+ };
1481
+ write: {
1482
+ credentials: {
1483
+ categories: Record<string, boolean>;
1484
+ };
1485
+ personal: Record<string, boolean>;
1486
+ };
1487
+ }, {
1488
+ read?: {
1489
+ anonymize?: boolean | undefined;
1490
+ credentials?: {
1491
+ categories?: Record<string, {
1492
+ shareAll?: boolean | undefined;
1493
+ sharing?: boolean | undefined;
1494
+ shared?: string[] | undefined;
1495
+ }> | undefined;
1496
+ shareAll?: boolean | undefined;
1497
+ sharing?: boolean | undefined;
1498
+ } | undefined;
1499
+ personal?: Record<string, string> | undefined;
1500
+ } | undefined;
1501
+ write?: {
1502
+ credentials?: {
1503
+ categories?: Record<string, boolean> | undefined;
1504
+ } | undefined;
1505
+ personal?: Record<string, boolean> | undefined;
1506
+ } | undefined;
1507
+ }>;
1508
+ contract: z.ZodObject<{
1509
+ contract: z.ZodObject<{
1510
+ read: z.ZodDefault<z.ZodObject<{
1511
+ anonymize: z.ZodOptional<z.ZodBoolean>;
1512
+ credentials: z.ZodDefault<z.ZodObject<{
1513
+ categories: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodObject<{
1514
+ required: z.ZodBoolean;
1515
+ }, "strip", z.ZodTypeAny, {
1516
+ required: boolean;
1517
+ }, {
1518
+ required: boolean;
1519
+ }>>>;
1520
+ }, "strip", z.ZodTypeAny, {
1521
+ categories: Record<string, {
1522
+ required: boolean;
1523
+ }>;
1524
+ }, {
1525
+ categories?: Record<string, {
1526
+ required: boolean;
1527
+ }> | undefined;
1528
+ }>>;
1529
+ personal: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodObject<{
1530
+ required: z.ZodBoolean;
1531
+ }, "strip", z.ZodTypeAny, {
1532
+ required: boolean;
1533
+ }, {
1534
+ required: boolean;
1535
+ }>>>;
1536
+ }, "strip", z.ZodTypeAny, {
1537
+ anonymize?: boolean | undefined;
1538
+ credentials: {
1539
+ categories: Record<string, {
1540
+ required: boolean;
1541
+ }>;
1542
+ };
1543
+ personal: Record<string, {
1544
+ required: boolean;
1545
+ }>;
1546
+ }, {
1547
+ anonymize?: boolean | undefined;
1548
+ credentials?: {
1549
+ categories?: Record<string, {
1550
+ required: boolean;
1551
+ }> | undefined;
1552
+ } | undefined;
1553
+ personal?: Record<string, {
1554
+ required: boolean;
1555
+ }> | undefined;
1556
+ }>>;
1557
+ write: z.ZodDefault<z.ZodObject<{
1558
+ credentials: z.ZodDefault<z.ZodObject<{
1559
+ categories: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodObject<{
1560
+ required: z.ZodBoolean;
1561
+ }, "strip", z.ZodTypeAny, {
1562
+ required: boolean;
1563
+ }, {
1564
+ required: boolean;
1565
+ }>>>;
1566
+ }, "strip", z.ZodTypeAny, {
1567
+ categories: Record<string, {
1568
+ required: boolean;
1569
+ }>;
1570
+ }, {
1571
+ categories?: Record<string, {
1572
+ required: boolean;
1573
+ }> | undefined;
1574
+ }>>;
1575
+ personal: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodObject<{
1576
+ required: z.ZodBoolean;
1577
+ }, "strip", z.ZodTypeAny, {
1578
+ required: boolean;
1579
+ }, {
1580
+ required: boolean;
1581
+ }>>>;
1582
+ }, "strip", z.ZodTypeAny, {
1583
+ credentials: {
1584
+ categories: Record<string, {
1585
+ required: boolean;
1586
+ }>;
1587
+ };
1588
+ personal: Record<string, {
1589
+ required: boolean;
1590
+ }>;
1591
+ }, {
1592
+ credentials?: {
1593
+ categories?: Record<string, {
1594
+ required: boolean;
1595
+ }> | undefined;
1596
+ } | undefined;
1597
+ personal?: Record<string, {
1598
+ required: boolean;
1599
+ }> | undefined;
1600
+ }>>;
1601
+ }, "strip", z.ZodTypeAny, {
1602
+ read: {
1603
+ anonymize?: boolean | undefined;
1604
+ credentials: {
1605
+ categories: Record<string, {
1606
+ required: boolean;
1607
+ }>;
1608
+ };
1609
+ personal: Record<string, {
1610
+ required: boolean;
1611
+ }>;
1612
+ };
1613
+ write: {
1614
+ credentials: {
1615
+ categories: Record<string, {
1616
+ required: boolean;
1617
+ }>;
1618
+ };
1619
+ personal: Record<string, {
1620
+ required: boolean;
1621
+ }>;
1622
+ };
1623
+ }, {
1624
+ read?: {
1625
+ anonymize?: boolean | undefined;
1626
+ credentials?: {
1627
+ categories?: Record<string, {
1628
+ required: boolean;
1629
+ }> | undefined;
1630
+ } | undefined;
1631
+ personal?: Record<string, {
1632
+ required: boolean;
1633
+ }> | undefined;
1634
+ } | undefined;
1635
+ write?: {
1636
+ credentials?: {
1637
+ categories?: Record<string, {
1638
+ required: boolean;
1639
+ }> | undefined;
1640
+ } | undefined;
1641
+ personal?: Record<string, {
1642
+ required: boolean;
1643
+ }> | undefined;
1644
+ } | undefined;
1645
+ }>;
1646
+ owner: z.ZodObject<{
1647
+ profileId: z.ZodString;
1648
+ displayName: z.ZodDefault<z.ZodString>;
1649
+ bio: z.ZodDefault<z.ZodString>;
1650
+ did: z.ZodString;
1651
+ email: z.ZodOptional<z.ZodString>;
1652
+ image: z.ZodOptional<z.ZodString>;
1653
+ isServiceProfile: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
1654
+ notificationsWebhook: z.ZodOptional<z.ZodString>;
1655
+ }, "strip", z.ZodTypeAny, {
1656
+ image?: string | undefined;
1657
+ email?: string | undefined;
1658
+ isServiceProfile?: boolean | undefined;
1659
+ notificationsWebhook?: string | undefined;
1660
+ profileId: string;
1661
+ displayName: string;
1662
+ bio: string;
1663
+ did: string;
1664
+ }, {
1665
+ image?: string | undefined;
1666
+ email?: string | undefined;
1667
+ displayName?: string | undefined;
1668
+ bio?: string | undefined;
1669
+ isServiceProfile?: boolean | undefined;
1670
+ notificationsWebhook?: string | undefined;
1671
+ profileId: string;
1672
+ did: string;
1673
+ }>;
1674
+ name: z.ZodString;
1675
+ subtitle: z.ZodOptional<z.ZodString>;
1676
+ description: z.ZodOptional<z.ZodString>;
1677
+ reasonForAccessing: z.ZodOptional<z.ZodString>;
1678
+ image: z.ZodOptional<z.ZodString>;
1679
+ uri: z.ZodString;
1680
+ createdAt: z.ZodString;
1681
+ updatedAt: z.ZodString;
1682
+ expiresAt: z.ZodOptional<z.ZodString>;
1683
+ }, "strip", z.ZodTypeAny, {
1684
+ description?: string | undefined;
1685
+ image?: string | undefined;
1686
+ subtitle?: string | undefined;
1687
+ reasonForAccessing?: string | undefined;
1688
+ expiresAt?: string | undefined;
1689
+ name: string;
1690
+ createdAt: string;
1691
+ uri: string;
1692
+ contract: {
1693
+ read: {
1694
+ anonymize?: boolean | undefined;
1695
+ credentials: {
1696
+ categories: Record<string, {
1697
+ required: boolean;
1698
+ }>;
1699
+ };
1700
+ personal: Record<string, {
1701
+ required: boolean;
1702
+ }>;
1703
+ };
1704
+ write: {
1705
+ credentials: {
1706
+ categories: Record<string, {
1707
+ required: boolean;
1708
+ }>;
1709
+ };
1710
+ personal: Record<string, {
1711
+ required: boolean;
1712
+ }>;
1713
+ };
1714
+ };
1715
+ owner: {
1716
+ image?: string | undefined;
1717
+ email?: string | undefined;
1718
+ isServiceProfile?: boolean | undefined;
1719
+ notificationsWebhook?: string | undefined;
1720
+ profileId: string;
1721
+ displayName: string;
1722
+ bio: string;
1723
+ did: string;
1724
+ };
1725
+ updatedAt: string;
1726
+ }, {
1727
+ description?: string | undefined;
1728
+ image?: string | undefined;
1729
+ subtitle?: string | undefined;
1730
+ reasonForAccessing?: string | undefined;
1731
+ expiresAt?: string | undefined;
1732
+ name: string;
1733
+ createdAt: string;
1734
+ uri: string;
1735
+ contract: {
1736
+ read?: {
1737
+ anonymize?: boolean | undefined;
1738
+ credentials?: {
1739
+ categories?: Record<string, {
1740
+ required: boolean;
1741
+ }> | undefined;
1742
+ } | undefined;
1743
+ personal?: Record<string, {
1744
+ required: boolean;
1745
+ }> | undefined;
1746
+ } | undefined;
1747
+ write?: {
1748
+ credentials?: {
1749
+ categories?: Record<string, {
1750
+ required: boolean;
1751
+ }> | undefined;
1752
+ } | undefined;
1753
+ personal?: Record<string, {
1754
+ required: boolean;
1755
+ }> | undefined;
1756
+ } | undefined;
1757
+ };
1758
+ owner: {
1759
+ image?: string | undefined;
1760
+ email?: string | undefined;
1761
+ displayName?: string | undefined;
1762
+ bio?: string | undefined;
1763
+ isServiceProfile?: boolean | undefined;
1764
+ notificationsWebhook?: string | undefined;
1765
+ profileId: string;
1766
+ did: string;
1767
+ };
1768
+ updatedAt: string;
1769
+ }>;
1770
+ uri: z.ZodString;
1771
+ consenter: z.ZodObject<{
1772
+ profileId: z.ZodString;
1773
+ displayName: z.ZodDefault<z.ZodString>;
1774
+ bio: z.ZodDefault<z.ZodString>;
1775
+ did: z.ZodString;
1776
+ email: z.ZodOptional<z.ZodString>;
1777
+ image: z.ZodOptional<z.ZodString>;
1778
+ isServiceProfile: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
1779
+ notificationsWebhook: z.ZodOptional<z.ZodString>;
1780
+ }, "strip", z.ZodTypeAny, {
1781
+ image?: string | undefined;
1782
+ email?: string | undefined;
1783
+ isServiceProfile?: boolean | undefined;
1784
+ notificationsWebhook?: string | undefined;
1785
+ profileId: string;
1786
+ displayName: string;
1787
+ bio: string;
1788
+ did: string;
1789
+ }, {
1790
+ image?: string | undefined;
1791
+ email?: string | undefined;
1792
+ displayName?: string | undefined;
1793
+ bio?: string | undefined;
1794
+ isServiceProfile?: boolean | undefined;
1795
+ notificationsWebhook?: string | undefined;
1796
+ profileId: string;
1797
+ did: string;
1798
+ }>;
1799
+ status: z.ZodEnum<["live", "stale", "withdrawn"]>;
1800
+ }, "strip", z.ZodTypeAny, {
1801
+ expiresAt?: string | undefined;
1802
+ oneTime?: boolean | undefined;
1803
+ status: "live" | "stale" | "withdrawn";
1804
+ uri: string;
1805
+ contract: {
1806
+ description?: string | undefined;
1807
+ image?: string | undefined;
1808
+ subtitle?: string | undefined;
1809
+ reasonForAccessing?: string | undefined;
1810
+ expiresAt?: string | undefined;
1811
+ name: string;
1812
+ createdAt: string;
1813
+ uri: string;
1814
+ contract: {
1815
+ read: {
1816
+ anonymize?: boolean | undefined;
1817
+ credentials: {
1818
+ categories: Record<string, {
1819
+ required: boolean;
1820
+ }>;
1821
+ };
1822
+ personal: Record<string, {
1823
+ required: boolean;
1824
+ }>;
1825
+ };
1826
+ write: {
1827
+ credentials: {
1828
+ categories: Record<string, {
1829
+ required: boolean;
1830
+ }>;
1831
+ };
1832
+ personal: Record<string, {
1833
+ required: boolean;
1834
+ }>;
1835
+ };
1836
+ };
1837
+ owner: {
1838
+ image?: string | undefined;
1839
+ email?: string | undefined;
1840
+ isServiceProfile?: boolean | undefined;
1841
+ notificationsWebhook?: string | undefined;
1842
+ profileId: string;
1843
+ displayName: string;
1844
+ bio: string;
1845
+ did: string;
1846
+ };
1847
+ updatedAt: string;
1848
+ };
1849
+ terms: {
1850
+ read: {
1851
+ anonymize?: boolean | undefined;
1852
+ credentials: {
1853
+ shareAll?: boolean | undefined;
1854
+ sharing?: boolean | undefined;
1855
+ categories: Record<string, {
1856
+ shareAll?: boolean | undefined;
1857
+ sharing?: boolean | undefined;
1858
+ shared?: string[] | undefined;
1859
+ }>;
1860
+ };
1861
+ personal: Record<string, string>;
1862
+ };
1863
+ write: {
1864
+ credentials: {
1865
+ categories: Record<string, boolean>;
1866
+ };
1867
+ personal: Record<string, boolean>;
1868
+ };
1869
+ };
1870
+ consenter: {
1871
+ image?: string | undefined;
1872
+ email?: string | undefined;
1873
+ isServiceProfile?: boolean | undefined;
1874
+ notificationsWebhook?: string | undefined;
1875
+ profileId: string;
1876
+ displayName: string;
1877
+ bio: string;
1878
+ did: string;
1879
+ };
1880
+ }, {
1881
+ expiresAt?: string | undefined;
1882
+ oneTime?: boolean | undefined;
1883
+ status: "live" | "stale" | "withdrawn";
1884
+ uri: string;
1885
+ contract: {
1886
+ description?: string | undefined;
1887
+ image?: string | undefined;
1888
+ subtitle?: string | undefined;
1889
+ reasonForAccessing?: string | undefined;
1890
+ expiresAt?: string | undefined;
1891
+ name: string;
1892
+ createdAt: string;
1893
+ uri: string;
1894
+ contract: {
1895
+ read?: {
1896
+ anonymize?: boolean | undefined;
1897
+ credentials?: {
1898
+ categories?: Record<string, {
1899
+ required: boolean;
1900
+ }> | undefined;
1901
+ } | undefined;
1902
+ personal?: Record<string, {
1903
+ required: boolean;
1904
+ }> | undefined;
1905
+ } | undefined;
1906
+ write?: {
1907
+ credentials?: {
1908
+ categories?: Record<string, {
1909
+ required: boolean;
1910
+ }> | undefined;
1911
+ } | undefined;
1912
+ personal?: Record<string, {
1913
+ required: boolean;
1914
+ }> | undefined;
1915
+ } | undefined;
1916
+ };
1917
+ owner: {
1918
+ image?: string | undefined;
1919
+ email?: string | undefined;
1920
+ displayName?: string | undefined;
1921
+ bio?: string | undefined;
1922
+ isServiceProfile?: boolean | undefined;
1923
+ notificationsWebhook?: string | undefined;
1924
+ profileId: string;
1925
+ did: string;
1926
+ };
1927
+ updatedAt: string;
1928
+ };
1929
+ terms: {
1930
+ read?: {
1931
+ anonymize?: boolean | undefined;
1932
+ credentials?: {
1933
+ categories?: Record<string, {
1934
+ shareAll?: boolean | undefined;
1935
+ sharing?: boolean | undefined;
1936
+ shared?: string[] | undefined;
1937
+ }> | undefined;
1938
+ shareAll?: boolean | undefined;
1939
+ sharing?: boolean | undefined;
1940
+ } | undefined;
1941
+ personal?: Record<string, string> | undefined;
1942
+ } | undefined;
1943
+ write?: {
1944
+ credentials?: {
1945
+ categories?: Record<string, boolean> | undefined;
1946
+ } | undefined;
1947
+ personal?: Record<string, boolean> | undefined;
1948
+ } | undefined;
1949
+ };
1950
+ consenter: {
1951
+ image?: string | undefined;
1952
+ email?: string | undefined;
1953
+ displayName?: string | undefined;
1954
+ bio?: string | undefined;
1955
+ isServiceProfile?: boolean | undefined;
1956
+ notificationsWebhook?: string | undefined;
1957
+ profileId: string;
1958
+ did: string;
1959
+ };
1960
+ }>, "many">;
1961
+ }>, "strip", z.ZodTypeAny, {
1962
+ cursor?: string | undefined;
1963
+ hasMore: boolean;
1964
+ records: {
1965
+ expiresAt?: string | undefined;
1966
+ oneTime?: boolean | undefined;
1967
+ status: "live" | "stale" | "withdrawn";
1968
+ uri: string;
1969
+ contract: {
1970
+ description?: string | undefined;
1971
+ image?: string | undefined;
1972
+ subtitle?: string | undefined;
1973
+ reasonForAccessing?: string | undefined;
1974
+ expiresAt?: string | undefined;
1975
+ name: string;
1976
+ createdAt: string;
1977
+ uri: string;
1978
+ contract: {
1979
+ read: {
1980
+ anonymize?: boolean | undefined;
1981
+ credentials: {
1982
+ categories: Record<string, {
1983
+ required: boolean;
1984
+ }>;
1985
+ };
1986
+ personal: Record<string, {
1987
+ required: boolean;
1988
+ }>;
1989
+ };
1990
+ write: {
1991
+ credentials: {
1992
+ categories: Record<string, {
1993
+ required: boolean;
1994
+ }>;
1995
+ };
1996
+ personal: Record<string, {
1997
+ required: boolean;
1998
+ }>;
1999
+ };
2000
+ };
2001
+ owner: {
2002
+ image?: string | undefined;
2003
+ email?: string | undefined;
2004
+ isServiceProfile?: boolean | undefined;
2005
+ notificationsWebhook?: string | undefined;
2006
+ profileId: string;
2007
+ displayName: string;
2008
+ bio: string;
2009
+ did: string;
2010
+ };
2011
+ updatedAt: string;
2012
+ };
2013
+ terms: {
2014
+ read: {
2015
+ anonymize?: boolean | undefined;
2016
+ credentials: {
2017
+ shareAll?: boolean | undefined;
2018
+ sharing?: boolean | undefined;
2019
+ categories: Record<string, {
2020
+ shareAll?: boolean | undefined;
2021
+ sharing?: boolean | undefined;
2022
+ shared?: string[] | undefined;
2023
+ }>;
2024
+ };
2025
+ personal: Record<string, string>;
2026
+ };
2027
+ write: {
2028
+ credentials: {
2029
+ categories: Record<string, boolean>;
2030
+ };
2031
+ personal: Record<string, boolean>;
2032
+ };
2033
+ };
2034
+ consenter: {
2035
+ image?: string | undefined;
2036
+ email?: string | undefined;
2037
+ isServiceProfile?: boolean | undefined;
2038
+ notificationsWebhook?: string | undefined;
2039
+ profileId: string;
2040
+ displayName: string;
2041
+ bio: string;
2042
+ did: string;
2043
+ };
2044
+ }[];
2045
+ }, {
2046
+ cursor?: string | undefined;
2047
+ hasMore: boolean;
2048
+ records: {
2049
+ expiresAt?: string | undefined;
2050
+ oneTime?: boolean | undefined;
2051
+ status: "live" | "stale" | "withdrawn";
2052
+ uri: string;
2053
+ contract: {
2054
+ description?: string | undefined;
2055
+ image?: string | undefined;
2056
+ subtitle?: string | undefined;
2057
+ reasonForAccessing?: string | undefined;
2058
+ expiresAt?: string | undefined;
2059
+ name: string;
2060
+ createdAt: string;
2061
+ uri: string;
2062
+ contract: {
2063
+ read?: {
2064
+ anonymize?: boolean | undefined;
2065
+ credentials?: {
2066
+ categories?: Record<string, {
2067
+ required: boolean;
2068
+ }> | undefined;
2069
+ } | undefined;
2070
+ personal?: Record<string, {
2071
+ required: boolean;
2072
+ }> | undefined;
2073
+ } | undefined;
2074
+ write?: {
2075
+ credentials?: {
2076
+ categories?: Record<string, {
2077
+ required: boolean;
2078
+ }> | undefined;
2079
+ } | undefined;
2080
+ personal?: Record<string, {
2081
+ required: boolean;
2082
+ }> | undefined;
2083
+ } | undefined;
2084
+ };
2085
+ owner: {
2086
+ image?: string | undefined;
2087
+ email?: string | undefined;
2088
+ displayName?: string | undefined;
2089
+ bio?: string | undefined;
2090
+ isServiceProfile?: boolean | undefined;
2091
+ notificationsWebhook?: string | undefined;
2092
+ profileId: string;
2093
+ did: string;
2094
+ };
2095
+ updatedAt: string;
2096
+ };
2097
+ terms: {
2098
+ read?: {
2099
+ anonymize?: boolean | undefined;
2100
+ credentials?: {
2101
+ categories?: Record<string, {
2102
+ shareAll?: boolean | undefined;
2103
+ sharing?: boolean | undefined;
2104
+ shared?: string[] | undefined;
2105
+ }> | undefined;
2106
+ shareAll?: boolean | undefined;
2107
+ sharing?: boolean | undefined;
2108
+ } | undefined;
2109
+ personal?: Record<string, string> | undefined;
2110
+ } | undefined;
2111
+ write?: {
2112
+ credentials?: {
2113
+ categories?: Record<string, boolean> | undefined;
2114
+ } | undefined;
2115
+ personal?: Record<string, boolean> | undefined;
2116
+ } | undefined;
2117
+ };
2118
+ consenter: {
2119
+ image?: string | undefined;
2120
+ email?: string | undefined;
2121
+ displayName?: string | undefined;
2122
+ bio?: string | undefined;
2123
+ isServiceProfile?: boolean | undefined;
2124
+ notificationsWebhook?: string | undefined;
2125
+ profileId: string;
2126
+ did: string;
2127
+ };
2128
+ }[];
2129
+ }>;
2130
+ export type PaginatedConsentFlowTerms = z.infer<typeof PaginatedConsentFlowTermsValidator>;
2131
+ export declare const ConsentFlowContractQueryValidator: z.ZodObject<{
2132
+ read: z.ZodOptional<z.ZodObject<{
2133
+ anonymize: z.ZodOptional<z.ZodBoolean>;
2134
+ credentials: z.ZodOptional<z.ZodObject<{
2135
+ categories: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
2136
+ required: z.ZodOptional<z.ZodBoolean>;
2137
+ }, "strip", z.ZodTypeAny, {
2138
+ required?: boolean | undefined;
2139
+ }, {
2140
+ required?: boolean | undefined;
2141
+ }>>>;
2142
+ }, "strip", z.ZodTypeAny, {
2143
+ categories?: Record<string, {
2144
+ required?: boolean | undefined;
2145
+ }> | undefined;
2146
+ }, {
2147
+ categories?: Record<string, {
2148
+ required?: boolean | undefined;
2149
+ }> | undefined;
2150
+ }>>;
2151
+ personal: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
2152
+ required: z.ZodOptional<z.ZodBoolean>;
2153
+ }, "strip", z.ZodTypeAny, {
2154
+ required?: boolean | undefined;
2155
+ }, {
2156
+ required?: boolean | undefined;
2157
+ }>>>;
2158
+ }, "strip", z.ZodTypeAny, {
2159
+ anonymize?: boolean | undefined;
2160
+ credentials?: {
2161
+ categories?: Record<string, {
2162
+ required?: boolean | undefined;
2163
+ }> | undefined;
2164
+ } | undefined;
2165
+ personal?: Record<string, {
2166
+ required?: boolean | undefined;
2167
+ }> | undefined;
2168
+ }, {
2169
+ anonymize?: boolean | undefined;
2170
+ credentials?: {
2171
+ categories?: Record<string, {
2172
+ required?: boolean | undefined;
2173
+ }> | undefined;
2174
+ } | undefined;
2175
+ personal?: Record<string, {
2176
+ required?: boolean | undefined;
2177
+ }> | undefined;
2178
+ }>>;
2179
+ write: z.ZodOptional<z.ZodObject<{
2180
+ credentials: z.ZodOptional<z.ZodObject<{
2181
+ categories: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
2182
+ required: z.ZodOptional<z.ZodBoolean>;
2183
+ }, "strip", z.ZodTypeAny, {
2184
+ required?: boolean | undefined;
2185
+ }, {
2186
+ required?: boolean | undefined;
2187
+ }>>>;
2188
+ }, "strip", z.ZodTypeAny, {
2189
+ categories?: Record<string, {
2190
+ required?: boolean | undefined;
2191
+ }> | undefined;
2192
+ }, {
2193
+ categories?: Record<string, {
2194
+ required?: boolean | undefined;
2195
+ }> | undefined;
2196
+ }>>;
2197
+ personal: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
2198
+ required: z.ZodOptional<z.ZodBoolean>;
2199
+ }, "strip", z.ZodTypeAny, {
2200
+ required?: boolean | undefined;
2201
+ }, {
2202
+ required?: boolean | undefined;
2203
+ }>>>;
2204
+ }, "strip", z.ZodTypeAny, {
2205
+ credentials?: {
2206
+ categories?: Record<string, {
2207
+ required?: boolean | undefined;
2208
+ }> | undefined;
2209
+ } | undefined;
2210
+ personal?: Record<string, {
2211
+ required?: boolean | undefined;
2212
+ }> | undefined;
2213
+ }, {
2214
+ credentials?: {
2215
+ categories?: Record<string, {
2216
+ required?: boolean | undefined;
2217
+ }> | undefined;
2218
+ } | undefined;
2219
+ personal?: Record<string, {
2220
+ required?: boolean | undefined;
2221
+ }> | undefined;
2222
+ }>>;
2223
+ }, "strip", z.ZodTypeAny, {
2224
+ read?: {
2225
+ anonymize?: boolean | undefined;
2226
+ credentials?: {
2227
+ categories?: Record<string, {
2228
+ required?: boolean | undefined;
2229
+ }> | undefined;
2230
+ } | undefined;
2231
+ personal?: Record<string, {
2232
+ required?: boolean | undefined;
2233
+ }> | undefined;
2234
+ } | undefined;
2235
+ write?: {
2236
+ credentials?: {
2237
+ categories?: Record<string, {
2238
+ required?: boolean | undefined;
2239
+ }> | undefined;
2240
+ } | undefined;
2241
+ personal?: Record<string, {
2242
+ required?: boolean | undefined;
2243
+ }> | undefined;
2244
+ } | undefined;
2245
+ }, {
2246
+ read?: {
2247
+ anonymize?: boolean | undefined;
2248
+ credentials?: {
2249
+ categories?: Record<string, {
2250
+ required?: boolean | undefined;
2251
+ }> | undefined;
2252
+ } | undefined;
2253
+ personal?: Record<string, {
2254
+ required?: boolean | undefined;
2255
+ }> | undefined;
2256
+ } | undefined;
2257
+ write?: {
2258
+ credentials?: {
2259
+ categories?: Record<string, {
2260
+ required?: boolean | undefined;
2261
+ }> | undefined;
2262
+ } | undefined;
2263
+ personal?: Record<string, {
2264
+ required?: boolean | undefined;
2265
+ }> | undefined;
2266
+ } | undefined;
2267
+ }>;
2268
+ export type ConsentFlowContractQuery = z.infer<typeof ConsentFlowContractQueryValidator>;
2269
+ export type ConsentFlowContractQueryInput = z.input<typeof ConsentFlowContractQueryValidator>;
2270
+ export declare const ConsentFlowTermsQueryValidator: z.ZodObject<{
2271
+ read: z.ZodOptional<z.ZodObject<{
2272
+ anonymize: z.ZodOptional<z.ZodBoolean>;
2273
+ credentials: z.ZodOptional<z.ZodObject<{
2274
+ shareAll: z.ZodOptional<z.ZodBoolean>;
2275
+ sharing: z.ZodOptional<z.ZodBoolean>;
2276
+ categories: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodOptional<z.ZodObject<{
2277
+ sharing: z.ZodOptional<z.ZodBoolean>;
2278
+ shared: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
2279
+ shareAll: z.ZodOptional<z.ZodBoolean>;
2280
+ }, "strip", z.ZodTypeAny, {
2281
+ shareAll?: boolean | undefined;
2282
+ sharing?: boolean | undefined;
2283
+ shared?: string[] | undefined;
2284
+ }, {
2285
+ shareAll?: boolean | undefined;
2286
+ sharing?: boolean | undefined;
2287
+ shared?: string[] | undefined;
2288
+ }>>>>;
2289
+ }, "strip", z.ZodTypeAny, {
2290
+ categories?: Record<string, {
2291
+ shareAll?: boolean | undefined;
2292
+ sharing?: boolean | undefined;
2293
+ shared?: string[] | undefined;
2294
+ } | undefined> | undefined;
2295
+ shareAll?: boolean | undefined;
2296
+ sharing?: boolean | undefined;
2297
+ }, {
2298
+ categories?: Record<string, {
2299
+ shareAll?: boolean | undefined;
2300
+ sharing?: boolean | undefined;
2301
+ shared?: string[] | undefined;
2302
+ } | undefined> | undefined;
2303
+ shareAll?: boolean | undefined;
2304
+ sharing?: boolean | undefined;
2305
+ }>>;
2306
+ personal: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
2307
+ }, "strip", z.ZodTypeAny, {
2308
+ anonymize?: boolean | undefined;
2309
+ credentials?: {
2310
+ categories?: Record<string, {
2311
+ shareAll?: boolean | undefined;
2312
+ sharing?: boolean | undefined;
2313
+ shared?: string[] | undefined;
2314
+ } | undefined> | undefined;
2315
+ shareAll?: boolean | undefined;
2316
+ sharing?: boolean | undefined;
2317
+ } | undefined;
2318
+ personal?: Record<string, string> | undefined;
2319
+ }, {
2320
+ anonymize?: boolean | undefined;
2321
+ credentials?: {
2322
+ categories?: Record<string, {
2323
+ shareAll?: boolean | undefined;
2324
+ sharing?: boolean | undefined;
2325
+ shared?: string[] | undefined;
2326
+ } | undefined> | undefined;
2327
+ shareAll?: boolean | undefined;
2328
+ sharing?: boolean | undefined;
2329
+ } | undefined;
2330
+ personal?: Record<string, string> | undefined;
2331
+ }>>;
2332
+ write: z.ZodOptional<z.ZodObject<{
2333
+ credentials: z.ZodOptional<z.ZodObject<{
2334
+ categories: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodBoolean>>;
2335
+ }, "strip", z.ZodTypeAny, {
2336
+ categories?: Record<string, boolean> | undefined;
2337
+ }, {
2338
+ categories?: Record<string, boolean> | undefined;
2339
+ }>>;
2340
+ personal: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodBoolean>>;
2341
+ }, "strip", z.ZodTypeAny, {
2342
+ credentials?: {
2343
+ categories?: Record<string, boolean> | undefined;
2344
+ } | undefined;
2345
+ personal?: Record<string, boolean> | undefined;
2346
+ }, {
2347
+ credentials?: {
2348
+ categories?: Record<string, boolean> | undefined;
2349
+ } | undefined;
2350
+ personal?: Record<string, boolean> | undefined;
2351
+ }>>;
2352
+ }, "strip", z.ZodTypeAny, {
2353
+ read?: {
2354
+ anonymize?: boolean | undefined;
2355
+ credentials?: {
2356
+ categories?: Record<string, {
2357
+ shareAll?: boolean | undefined;
2358
+ sharing?: boolean | undefined;
2359
+ shared?: string[] | undefined;
2360
+ } | undefined> | undefined;
2361
+ shareAll?: boolean | undefined;
2362
+ sharing?: boolean | undefined;
2363
+ } | undefined;
2364
+ personal?: Record<string, string> | undefined;
2365
+ } | undefined;
2366
+ write?: {
2367
+ credentials?: {
2368
+ categories?: Record<string, boolean> | undefined;
2369
+ } | undefined;
2370
+ personal?: Record<string, boolean> | undefined;
2371
+ } | undefined;
2372
+ }, {
2373
+ read?: {
2374
+ anonymize?: boolean | undefined;
2375
+ credentials?: {
2376
+ categories?: Record<string, {
2377
+ shareAll?: boolean | undefined;
2378
+ sharing?: boolean | undefined;
2379
+ shared?: string[] | undefined;
2380
+ } | undefined> | undefined;
2381
+ shareAll?: boolean | undefined;
2382
+ sharing?: boolean | undefined;
2383
+ } | undefined;
2384
+ personal?: Record<string, string> | undefined;
2385
+ } | undefined;
2386
+ write?: {
2387
+ credentials?: {
2388
+ categories?: Record<string, boolean> | undefined;
2389
+ } | undefined;
2390
+ personal?: Record<string, boolean> | undefined;
2391
+ } | undefined;
2392
+ }>;
2393
+ export type ConsentFlowTermsQuery = z.infer<typeof ConsentFlowTermsQueryValidator>;
2394
+ export type ConsentFlowTermsQueryInput = z.input<typeof ConsentFlowTermsQueryValidator>;
2395
+ export declare const ConsentFlowTransactionActionValidator: z.ZodEnum<["consent", "update", "sync", "withdraw"]>;
2396
+ export type ConsentFlowTransactionAction = z.infer<typeof ConsentFlowTransactionActionValidator>;
2397
+ export declare const ConsentFlowTransactionsQueryValidator: z.ZodObject<{
2398
+ terms: z.ZodOptional<z.ZodObject<{
2399
+ read: z.ZodOptional<z.ZodObject<{
2400
+ anonymize: z.ZodOptional<z.ZodBoolean>;
2401
+ credentials: z.ZodOptional<z.ZodObject<{
2402
+ shareAll: z.ZodOptional<z.ZodBoolean>;
2403
+ sharing: z.ZodOptional<z.ZodBoolean>;
2404
+ categories: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodOptional<z.ZodObject<{
2405
+ sharing: z.ZodOptional<z.ZodBoolean>;
2406
+ shared: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
2407
+ shareAll: z.ZodOptional<z.ZodBoolean>;
2408
+ }, "strip", z.ZodTypeAny, {
2409
+ shareAll?: boolean | undefined;
2410
+ sharing?: boolean | undefined;
2411
+ shared?: string[] | undefined;
2412
+ }, {
2413
+ shareAll?: boolean | undefined;
2414
+ sharing?: boolean | undefined;
2415
+ shared?: string[] | undefined;
2416
+ }>>>>;
2417
+ }, "strip", z.ZodTypeAny, {
2418
+ categories?: Record<string, {
2419
+ shareAll?: boolean | undefined;
2420
+ sharing?: boolean | undefined;
2421
+ shared?: string[] | undefined;
2422
+ } | undefined> | undefined;
2423
+ shareAll?: boolean | undefined;
2424
+ sharing?: boolean | undefined;
2425
+ }, {
2426
+ categories?: Record<string, {
2427
+ shareAll?: boolean | undefined;
2428
+ sharing?: boolean | undefined;
2429
+ shared?: string[] | undefined;
2430
+ } | undefined> | undefined;
2431
+ shareAll?: boolean | undefined;
2432
+ sharing?: boolean | undefined;
2433
+ }>>;
2434
+ personal: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
2435
+ }, "strip", z.ZodTypeAny, {
2436
+ anonymize?: boolean | undefined;
2437
+ credentials?: {
2438
+ categories?: Record<string, {
2439
+ shareAll?: boolean | undefined;
2440
+ sharing?: boolean | undefined;
2441
+ shared?: string[] | undefined;
2442
+ } | undefined> | undefined;
2443
+ shareAll?: boolean | undefined;
2444
+ sharing?: boolean | undefined;
2445
+ } | undefined;
2446
+ personal?: Record<string, string> | undefined;
2447
+ }, {
2448
+ anonymize?: boolean | undefined;
2449
+ credentials?: {
2450
+ categories?: Record<string, {
2451
+ shareAll?: boolean | undefined;
2452
+ sharing?: boolean | undefined;
2453
+ shared?: string[] | undefined;
2454
+ } | undefined> | undefined;
2455
+ shareAll?: boolean | undefined;
2456
+ sharing?: boolean | undefined;
2457
+ } | undefined;
2458
+ personal?: Record<string, string> | undefined;
2459
+ }>>;
2460
+ write: z.ZodOptional<z.ZodObject<{
2461
+ credentials: z.ZodOptional<z.ZodObject<{
2462
+ categories: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodBoolean>>;
2463
+ }, "strip", z.ZodTypeAny, {
2464
+ categories?: Record<string, boolean> | undefined;
2465
+ }, {
2466
+ categories?: Record<string, boolean> | undefined;
2467
+ }>>;
2468
+ personal: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodBoolean>>;
2469
+ }, "strip", z.ZodTypeAny, {
2470
+ credentials?: {
2471
+ categories?: Record<string, boolean> | undefined;
2472
+ } | undefined;
2473
+ personal?: Record<string, boolean> | undefined;
2474
+ }, {
2475
+ credentials?: {
2476
+ categories?: Record<string, boolean> | undefined;
2477
+ } | undefined;
2478
+ personal?: Record<string, boolean> | undefined;
2479
+ }>>;
2480
+ }, "strip", z.ZodTypeAny, {
2481
+ read?: {
2482
+ anonymize?: boolean | undefined;
2483
+ credentials?: {
2484
+ categories?: Record<string, {
2485
+ shareAll?: boolean | undefined;
2486
+ sharing?: boolean | undefined;
2487
+ shared?: string[] | undefined;
2488
+ } | undefined> | undefined;
2489
+ shareAll?: boolean | undefined;
2490
+ sharing?: boolean | undefined;
2491
+ } | undefined;
2492
+ personal?: Record<string, string> | undefined;
2493
+ } | undefined;
2494
+ write?: {
2495
+ credentials?: {
2496
+ categories?: Record<string, boolean> | undefined;
2497
+ } | undefined;
2498
+ personal?: Record<string, boolean> | undefined;
2499
+ } | undefined;
2500
+ }, {
2501
+ read?: {
2502
+ anonymize?: boolean | undefined;
2503
+ credentials?: {
2504
+ categories?: Record<string, {
2505
+ shareAll?: boolean | undefined;
2506
+ sharing?: boolean | undefined;
2507
+ shared?: string[] | undefined;
2508
+ } | undefined> | undefined;
2509
+ shareAll?: boolean | undefined;
2510
+ sharing?: boolean | undefined;
2511
+ } | undefined;
2512
+ personal?: Record<string, string> | undefined;
2513
+ } | undefined;
2514
+ write?: {
2515
+ credentials?: {
2516
+ categories?: Record<string, boolean> | undefined;
2517
+ } | undefined;
2518
+ personal?: Record<string, boolean> | undefined;
2519
+ } | undefined;
2520
+ }>>;
2521
+ action: z.ZodOptional<z.ZodUnion<[z.ZodEnum<["consent", "update", "sync", "withdraw"]>, z.ZodArray<z.ZodEnum<["consent", "update", "sync", "withdraw"]>, "many">]>>;
2522
+ date: z.ZodOptional<z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
2523
+ $gt: z.ZodString;
2524
+ }, "strip", z.ZodTypeAny, {
2525
+ $gt: string;
2526
+ }, {
2527
+ $gt: string;
2528
+ }>, z.ZodObject<{
2529
+ $lt: z.ZodString;
2530
+ }, "strip", z.ZodTypeAny, {
2531
+ $lt: string;
2532
+ }, {
2533
+ $lt: string;
2534
+ }>]>, z.ZodObject<{
2535
+ $eq: z.ZodString;
2536
+ }, "strip", z.ZodTypeAny, {
2537
+ $eq: string;
2538
+ }, {
2539
+ $eq: string;
2540
+ }>]>>;
2541
+ expiresAt: z.ZodOptional<z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
2542
+ $gt: z.ZodString;
2543
+ }, "strip", z.ZodTypeAny, {
2544
+ $gt: string;
2545
+ }, {
2546
+ $gt: string;
2547
+ }>, z.ZodObject<{
2548
+ $lt: z.ZodString;
2549
+ }, "strip", z.ZodTypeAny, {
2550
+ $lt: string;
2551
+ }, {
2552
+ $lt: string;
2553
+ }>]>, z.ZodObject<{
2554
+ $eq: z.ZodString;
2555
+ }, "strip", z.ZodTypeAny, {
2556
+ $eq: string;
2557
+ }, {
2558
+ $eq: string;
2559
+ }>]>>;
2560
+ oneTime: z.ZodOptional<z.ZodBoolean>;
2561
+ }, "strip", z.ZodTypeAny, {
2562
+ date?: {
2563
+ $gt: string;
2564
+ } | {
2565
+ $lt: string;
2566
+ } | {
2567
+ $eq: string;
2568
+ } | undefined;
2569
+ expiresAt?: {
2570
+ $gt: string;
2571
+ } | {
2572
+ $lt: string;
2573
+ } | {
2574
+ $eq: string;
2575
+ } | undefined;
2576
+ oneTime?: boolean | undefined;
2577
+ terms?: {
2578
+ read?: {
2579
+ anonymize?: boolean | undefined;
2580
+ credentials?: {
2581
+ categories?: Record<string, {
2582
+ shareAll?: boolean | undefined;
2583
+ sharing?: boolean | undefined;
2584
+ shared?: string[] | undefined;
2585
+ } | undefined> | undefined;
2586
+ shareAll?: boolean | undefined;
2587
+ sharing?: boolean | undefined;
2588
+ } | undefined;
2589
+ personal?: Record<string, string> | undefined;
2590
+ } | undefined;
2591
+ write?: {
2592
+ credentials?: {
2593
+ categories?: Record<string, boolean> | undefined;
2594
+ } | undefined;
2595
+ personal?: Record<string, boolean> | undefined;
2596
+ } | undefined;
2597
+ } | undefined;
2598
+ action?: "consent" | "update" | "sync" | "withdraw" | ("consent" | "update" | "sync" | "withdraw")[] | undefined;
2599
+ }, {
2600
+ date?: {
2601
+ $gt: string;
2602
+ } | {
2603
+ $lt: string;
2604
+ } | {
2605
+ $eq: string;
2606
+ } | undefined;
2607
+ expiresAt?: {
2608
+ $gt: string;
2609
+ } | {
2610
+ $lt: string;
2611
+ } | {
2612
+ $eq: string;
2613
+ } | undefined;
2614
+ oneTime?: boolean | undefined;
2615
+ terms?: {
2616
+ read?: {
2617
+ anonymize?: boolean | undefined;
2618
+ credentials?: {
2619
+ categories?: Record<string, {
2620
+ shareAll?: boolean | undefined;
2621
+ sharing?: boolean | undefined;
2622
+ shared?: string[] | undefined;
2623
+ } | undefined> | undefined;
2624
+ shareAll?: boolean | undefined;
2625
+ sharing?: boolean | undefined;
2626
+ } | undefined;
2627
+ personal?: Record<string, string> | undefined;
2628
+ } | undefined;
2629
+ write?: {
2630
+ credentials?: {
2631
+ categories?: Record<string, boolean> | undefined;
2632
+ } | undefined;
2633
+ personal?: Record<string, boolean> | undefined;
2634
+ } | undefined;
2635
+ } | undefined;
2636
+ action?: "consent" | "update" | "sync" | "withdraw" | ("consent" | "update" | "sync" | "withdraw")[] | undefined;
2637
+ }>;
2638
+ export type ConsentFlowTransactionsQuery = z.infer<typeof ConsentFlowTransactionsQueryValidator>;
2639
+ export type ConsentFlowTransactionsQueryInput = z.input<typeof ConsentFlowTransactionsQueryValidator>;
2640
+ export declare const ConsentFlowTransactionValidator: z.ZodObject<{
2641
+ expiresAt: z.ZodOptional<z.ZodString>;
2642
+ oneTime: z.ZodOptional<z.ZodBoolean>;
2643
+ terms: z.ZodOptional<z.ZodObject<{
2644
+ read: z.ZodDefault<z.ZodObject<{
2645
+ anonymize: z.ZodOptional<z.ZodBoolean>;
2646
+ credentials: z.ZodDefault<z.ZodObject<{
2647
+ shareAll: z.ZodOptional<z.ZodBoolean>;
2648
+ sharing: z.ZodOptional<z.ZodBoolean>;
2649
+ categories: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodObject<{
2650
+ sharing: z.ZodOptional<z.ZodBoolean>;
2651
+ shared: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
2652
+ shareAll: z.ZodOptional<z.ZodBoolean>;
2653
+ }, "strip", z.ZodTypeAny, {
2654
+ shareAll?: boolean | undefined;
2655
+ sharing?: boolean | undefined;
2656
+ shared?: string[] | undefined;
2657
+ }, {
2658
+ shareAll?: boolean | undefined;
2659
+ sharing?: boolean | undefined;
2660
+ shared?: string[] | undefined;
2661
+ }>>>;
2662
+ }, "strip", z.ZodTypeAny, {
2663
+ shareAll?: boolean | undefined;
2664
+ sharing?: boolean | undefined;
2665
+ categories: Record<string, {
2666
+ shareAll?: boolean | undefined;
2667
+ sharing?: boolean | undefined;
2668
+ shared?: string[] | undefined;
2669
+ }>;
2670
+ }, {
2671
+ categories?: Record<string, {
2672
+ shareAll?: boolean | undefined;
2673
+ sharing?: boolean | undefined;
2674
+ shared?: string[] | undefined;
2675
+ }> | undefined;
2676
+ shareAll?: boolean | undefined;
2677
+ sharing?: boolean | undefined;
2678
+ }>>;
2679
+ personal: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodString>>;
2680
+ }, "strip", z.ZodTypeAny, {
2681
+ anonymize?: boolean | undefined;
2682
+ credentials: {
2683
+ shareAll?: boolean | undefined;
2684
+ sharing?: boolean | undefined;
2685
+ categories: Record<string, {
2686
+ shareAll?: boolean | undefined;
2687
+ sharing?: boolean | undefined;
2688
+ shared?: string[] | undefined;
2689
+ }>;
2690
+ };
2691
+ personal: Record<string, string>;
2692
+ }, {
2693
+ anonymize?: boolean | undefined;
2694
+ credentials?: {
2695
+ categories?: Record<string, {
2696
+ shareAll?: boolean | undefined;
2697
+ sharing?: boolean | undefined;
2698
+ shared?: string[] | undefined;
2699
+ }> | undefined;
2700
+ shareAll?: boolean | undefined;
2701
+ sharing?: boolean | undefined;
2702
+ } | undefined;
2703
+ personal?: Record<string, string> | undefined;
2704
+ }>>;
2705
+ write: z.ZodDefault<z.ZodObject<{
2706
+ credentials: z.ZodDefault<z.ZodObject<{
2707
+ categories: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodBoolean>>;
2708
+ }, "strip", z.ZodTypeAny, {
2709
+ categories: Record<string, boolean>;
2710
+ }, {
2711
+ categories?: Record<string, boolean> | undefined;
2712
+ }>>;
2713
+ personal: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodBoolean>>;
2714
+ }, "strip", z.ZodTypeAny, {
2715
+ credentials: {
2716
+ categories: Record<string, boolean>;
2717
+ };
2718
+ personal: Record<string, boolean>;
2719
+ }, {
2720
+ credentials?: {
2721
+ categories?: Record<string, boolean> | undefined;
2722
+ } | undefined;
2723
+ personal?: Record<string, boolean> | undefined;
2724
+ }>>;
2725
+ }, "strip", z.ZodTypeAny, {
2726
+ read: {
2727
+ anonymize?: boolean | undefined;
2728
+ credentials: {
2729
+ shareAll?: boolean | undefined;
2730
+ sharing?: boolean | undefined;
2731
+ categories: Record<string, {
2732
+ shareAll?: boolean | undefined;
2733
+ sharing?: boolean | undefined;
2734
+ shared?: string[] | undefined;
2735
+ }>;
2736
+ };
2737
+ personal: Record<string, string>;
2738
+ };
2739
+ write: {
2740
+ credentials: {
2741
+ categories: Record<string, boolean>;
2742
+ };
2743
+ personal: Record<string, boolean>;
2744
+ };
2745
+ }, {
2746
+ read?: {
2747
+ anonymize?: boolean | undefined;
2748
+ credentials?: {
2749
+ categories?: Record<string, {
2750
+ shareAll?: boolean | undefined;
2751
+ sharing?: boolean | undefined;
2752
+ shared?: string[] | undefined;
2753
+ }> | undefined;
2754
+ shareAll?: boolean | undefined;
2755
+ sharing?: boolean | undefined;
2756
+ } | undefined;
2757
+ personal?: Record<string, string> | undefined;
2758
+ } | undefined;
2759
+ write?: {
2760
+ credentials?: {
2761
+ categories?: Record<string, boolean> | undefined;
2762
+ } | undefined;
2763
+ personal?: Record<string, boolean> | undefined;
2764
+ } | undefined;
2765
+ }>>;
2766
+ id: z.ZodString;
2767
+ action: z.ZodEnum<["consent", "update", "sync", "withdraw"]>;
2768
+ date: z.ZodString;
2769
+ }, "strip", z.ZodTypeAny, {
2770
+ expiresAt?: string | undefined;
2771
+ oneTime?: boolean | undefined;
2772
+ terms?: {
2773
+ read: {
2774
+ anonymize?: boolean | undefined;
2775
+ credentials: {
2776
+ shareAll?: boolean | undefined;
2777
+ sharing?: boolean | undefined;
2778
+ categories: Record<string, {
2779
+ shareAll?: boolean | undefined;
2780
+ sharing?: boolean | undefined;
2781
+ shared?: string[] | undefined;
2782
+ }>;
2783
+ };
2784
+ personal: Record<string, string>;
2785
+ };
2786
+ write: {
2787
+ credentials: {
2788
+ categories: Record<string, boolean>;
2789
+ };
2790
+ personal: Record<string, boolean>;
2791
+ };
2792
+ } | undefined;
2793
+ date: string;
2794
+ id: string;
2795
+ action: "consent" | "update" | "sync" | "withdraw";
2796
+ }, {
2797
+ expiresAt?: string | undefined;
2798
+ oneTime?: boolean | undefined;
2799
+ terms?: {
2800
+ read?: {
2801
+ anonymize?: boolean | undefined;
2802
+ credentials?: {
2803
+ categories?: Record<string, {
2804
+ shareAll?: boolean | undefined;
2805
+ sharing?: boolean | undefined;
2806
+ shared?: string[] | undefined;
2807
+ }> | undefined;
2808
+ shareAll?: boolean | undefined;
2809
+ sharing?: boolean | undefined;
2810
+ } | undefined;
2811
+ personal?: Record<string, string> | undefined;
2812
+ } | undefined;
2813
+ write?: {
2814
+ credentials?: {
2815
+ categories?: Record<string, boolean> | undefined;
2816
+ } | undefined;
2817
+ personal?: Record<string, boolean> | undefined;
2818
+ } | undefined;
2819
+ } | undefined;
2820
+ date: string;
2821
+ id: string;
2822
+ action: "consent" | "update" | "sync" | "withdraw";
2823
+ }>;
2824
+ export type ConsentFlowTransaction = z.infer<typeof ConsentFlowTransactionValidator>;
2825
+ export declare const PaginatedConsentFlowTransactionsValidator: z.ZodObject<z.extendShape<{
2826
+ cursor: z.ZodOptional<z.ZodString>;
2827
+ hasMore: z.ZodBoolean;
2828
+ }, {
2829
+ records: z.ZodArray<z.ZodObject<{
2830
+ expiresAt: z.ZodOptional<z.ZodString>;
2831
+ oneTime: z.ZodOptional<z.ZodBoolean>;
2832
+ terms: z.ZodOptional<z.ZodObject<{
2833
+ read: z.ZodDefault<z.ZodObject<{
2834
+ anonymize: z.ZodOptional<z.ZodBoolean>;
2835
+ credentials: z.ZodDefault<z.ZodObject<{
2836
+ shareAll: z.ZodOptional<z.ZodBoolean>;
2837
+ sharing: z.ZodOptional<z.ZodBoolean>;
2838
+ categories: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodObject<{
2839
+ sharing: z.ZodOptional<z.ZodBoolean>;
2840
+ shared: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
2841
+ shareAll: z.ZodOptional<z.ZodBoolean>;
2842
+ }, "strip", z.ZodTypeAny, {
2843
+ shareAll?: boolean | undefined;
2844
+ sharing?: boolean | undefined;
2845
+ shared?: string[] | undefined;
2846
+ }, {
2847
+ shareAll?: boolean | undefined;
2848
+ sharing?: boolean | undefined;
2849
+ shared?: string[] | undefined;
2850
+ }>>>;
2851
+ }, "strip", z.ZodTypeAny, {
2852
+ shareAll?: boolean | undefined;
2853
+ sharing?: boolean | undefined;
2854
+ categories: Record<string, {
2855
+ shareAll?: boolean | undefined;
2856
+ sharing?: boolean | undefined;
2857
+ shared?: string[] | undefined;
2858
+ }>;
2859
+ }, {
2860
+ categories?: Record<string, {
2861
+ shareAll?: boolean | undefined;
2862
+ sharing?: boolean | undefined;
2863
+ shared?: string[] | undefined;
2864
+ }> | undefined;
2865
+ shareAll?: boolean | undefined;
2866
+ sharing?: boolean | undefined;
2867
+ }>>;
2868
+ personal: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodString>>;
2869
+ }, "strip", z.ZodTypeAny, {
2870
+ anonymize?: boolean | undefined;
2871
+ credentials: {
2872
+ shareAll?: boolean | undefined;
2873
+ sharing?: boolean | undefined;
2874
+ categories: Record<string, {
2875
+ shareAll?: boolean | undefined;
2876
+ sharing?: boolean | undefined;
2877
+ shared?: string[] | undefined;
2878
+ }>;
2879
+ };
2880
+ personal: Record<string, string>;
2881
+ }, {
2882
+ anonymize?: boolean | undefined;
2883
+ credentials?: {
2884
+ categories?: Record<string, {
2885
+ shareAll?: boolean | undefined;
2886
+ sharing?: boolean | undefined;
2887
+ shared?: string[] | undefined;
2888
+ }> | undefined;
2889
+ shareAll?: boolean | undefined;
2890
+ sharing?: boolean | undefined;
2891
+ } | undefined;
2892
+ personal?: Record<string, string> | undefined;
2893
+ }>>;
2894
+ write: z.ZodDefault<z.ZodObject<{
2895
+ credentials: z.ZodDefault<z.ZodObject<{
2896
+ categories: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodBoolean>>;
2897
+ }, "strip", z.ZodTypeAny, {
2898
+ categories: Record<string, boolean>;
2899
+ }, {
2900
+ categories?: Record<string, boolean> | undefined;
2901
+ }>>;
2902
+ personal: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodBoolean>>;
2903
+ }, "strip", z.ZodTypeAny, {
2904
+ credentials: {
2905
+ categories: Record<string, boolean>;
2906
+ };
2907
+ personal: Record<string, boolean>;
2908
+ }, {
2909
+ credentials?: {
2910
+ categories?: Record<string, boolean> | undefined;
2911
+ } | undefined;
2912
+ personal?: Record<string, boolean> | undefined;
2913
+ }>>;
2914
+ }, "strip", z.ZodTypeAny, {
2915
+ read: {
2916
+ anonymize?: boolean | undefined;
2917
+ credentials: {
2918
+ shareAll?: boolean | undefined;
2919
+ sharing?: boolean | undefined;
2920
+ categories: Record<string, {
2921
+ shareAll?: boolean | undefined;
2922
+ sharing?: boolean | undefined;
2923
+ shared?: string[] | undefined;
2924
+ }>;
2925
+ };
2926
+ personal: Record<string, string>;
2927
+ };
2928
+ write: {
2929
+ credentials: {
2930
+ categories: Record<string, boolean>;
2931
+ };
2932
+ personal: Record<string, boolean>;
2933
+ };
2934
+ }, {
2935
+ read?: {
2936
+ anonymize?: boolean | undefined;
2937
+ credentials?: {
2938
+ categories?: Record<string, {
2939
+ shareAll?: boolean | undefined;
2940
+ sharing?: boolean | undefined;
2941
+ shared?: string[] | undefined;
2942
+ }> | undefined;
2943
+ shareAll?: boolean | undefined;
2944
+ sharing?: boolean | undefined;
2945
+ } | undefined;
2946
+ personal?: Record<string, string> | undefined;
2947
+ } | undefined;
2948
+ write?: {
2949
+ credentials?: {
2950
+ categories?: Record<string, boolean> | undefined;
2951
+ } | undefined;
2952
+ personal?: Record<string, boolean> | undefined;
2953
+ } | undefined;
2954
+ }>>;
2955
+ id: z.ZodString;
2956
+ action: z.ZodEnum<["consent", "update", "sync", "withdraw"]>;
2957
+ date: z.ZodString;
2958
+ }, "strip", z.ZodTypeAny, {
2959
+ expiresAt?: string | undefined;
2960
+ oneTime?: boolean | undefined;
2961
+ terms?: {
2962
+ read: {
2963
+ anonymize?: boolean | undefined;
2964
+ credentials: {
2965
+ shareAll?: boolean | undefined;
2966
+ sharing?: boolean | undefined;
2967
+ categories: Record<string, {
2968
+ shareAll?: boolean | undefined;
2969
+ sharing?: boolean | undefined;
2970
+ shared?: string[] | undefined;
2971
+ }>;
2972
+ };
2973
+ personal: Record<string, string>;
2974
+ };
2975
+ write: {
2976
+ credentials: {
2977
+ categories: Record<string, boolean>;
2978
+ };
2979
+ personal: Record<string, boolean>;
2980
+ };
2981
+ } | undefined;
2982
+ date: string;
2983
+ id: string;
2984
+ action: "consent" | "update" | "sync" | "withdraw";
2985
+ }, {
2986
+ expiresAt?: string | undefined;
2987
+ oneTime?: boolean | undefined;
2988
+ terms?: {
2989
+ read?: {
2990
+ anonymize?: boolean | undefined;
2991
+ credentials?: {
2992
+ categories?: Record<string, {
2993
+ shareAll?: boolean | undefined;
2994
+ sharing?: boolean | undefined;
2995
+ shared?: string[] | undefined;
2996
+ }> | undefined;
2997
+ shareAll?: boolean | undefined;
2998
+ sharing?: boolean | undefined;
2999
+ } | undefined;
3000
+ personal?: Record<string, string> | undefined;
3001
+ } | undefined;
3002
+ write?: {
3003
+ credentials?: {
3004
+ categories?: Record<string, boolean> | undefined;
3005
+ } | undefined;
3006
+ personal?: Record<string, boolean> | undefined;
3007
+ } | undefined;
3008
+ } | undefined;
3009
+ date: string;
3010
+ id: string;
3011
+ action: "consent" | "update" | "sync" | "withdraw";
3012
+ }>, "many">;
3013
+ }>, "strip", z.ZodTypeAny, {
3014
+ cursor?: string | undefined;
3015
+ hasMore: boolean;
3016
+ records: {
3017
+ expiresAt?: string | undefined;
3018
+ oneTime?: boolean | undefined;
3019
+ terms?: {
3020
+ read: {
3021
+ anonymize?: boolean | undefined;
3022
+ credentials: {
3023
+ shareAll?: boolean | undefined;
3024
+ sharing?: boolean | undefined;
3025
+ categories: Record<string, {
3026
+ shareAll?: boolean | undefined;
3027
+ sharing?: boolean | undefined;
3028
+ shared?: string[] | undefined;
3029
+ }>;
3030
+ };
3031
+ personal: Record<string, string>;
3032
+ };
3033
+ write: {
3034
+ credentials: {
3035
+ categories: Record<string, boolean>;
3036
+ };
3037
+ personal: Record<string, boolean>;
3038
+ };
3039
+ } | undefined;
3040
+ date: string;
3041
+ id: string;
3042
+ action: "consent" | "update" | "sync" | "withdraw";
3043
+ }[];
3044
+ }, {
3045
+ cursor?: string | undefined;
3046
+ hasMore: boolean;
3047
+ records: {
3048
+ expiresAt?: string | undefined;
3049
+ oneTime?: boolean | undefined;
3050
+ terms?: {
3051
+ read?: {
3052
+ anonymize?: boolean | undefined;
3053
+ credentials?: {
3054
+ categories?: Record<string, {
3055
+ shareAll?: boolean | undefined;
3056
+ sharing?: boolean | undefined;
3057
+ shared?: string[] | undefined;
3058
+ }> | undefined;
3059
+ shareAll?: boolean | undefined;
3060
+ sharing?: boolean | undefined;
3061
+ } | undefined;
3062
+ personal?: Record<string, string> | undefined;
3063
+ } | undefined;
3064
+ write?: {
3065
+ credentials?: {
3066
+ categories?: Record<string, boolean> | undefined;
3067
+ } | undefined;
3068
+ personal?: Record<string, boolean> | undefined;
3069
+ } | undefined;
3070
+ } | undefined;
3071
+ date: string;
3072
+ id: string;
3073
+ action: "consent" | "update" | "sync" | "withdraw";
3074
+ }[];
3075
+ }>;
3076
+ export type PaginatedConsentFlowTransactions = z.infer<typeof PaginatedConsentFlowTransactionsValidator>;
430
3077
  //# sourceMappingURL=lcn.d.ts.map