@learncard/types 5.6.9 → 5.6.11

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.
package/dist/vc.d.ts CHANGED
@@ -333,18 +333,44 @@ export declare const CredentialSchemaValidator: z.ZodObject<{
333
333
  }>;
334
334
  export type CredentialSchema = z.infer<typeof CredentialSchemaValidator>;
335
335
  export declare const RefreshServiceValidator: z.ZodObject<{
336
- id: z.ZodString;
336
+ id: z.ZodOptional<z.ZodString>;
337
337
  type: z.ZodString;
338
338
  }, "strip", z.ZodAny, {
339
339
  [x: string]: any;
340
+ id?: string | undefined;
340
341
  type: string;
341
- id: string;
342
342
  }, {
343
343
  [x: string]: any;
344
+ id?: string | undefined;
344
345
  type: string;
345
- id: string;
346
346
  }>;
347
347
  export type RefreshService = z.infer<typeof RefreshServiceValidator>;
348
+ export declare const TermsOfUseValidator: z.ZodObject<{
349
+ type: z.ZodString;
350
+ id: z.ZodOptional<z.ZodString>;
351
+ }, "strip", z.ZodAny, {
352
+ [x: string]: any;
353
+ id?: string | undefined;
354
+ type: string;
355
+ }, {
356
+ [x: string]: any;
357
+ id?: string | undefined;
358
+ type: string;
359
+ }>;
360
+ export type TermsOfUse = z.infer<typeof TermsOfUseValidator>;
361
+ export declare const VC2EvidenceValidator: z.ZodObject<{
362
+ type: z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "atleastone">]>;
363
+ id: z.ZodOptional<z.ZodString>;
364
+ }, "strip", z.ZodAny, {
365
+ [x: string]: any;
366
+ id?: string | undefined;
367
+ type: string | [string, ...string[]];
368
+ }, {
369
+ [x: string]: any;
370
+ id?: string | undefined;
371
+ type: string | [string, ...string[]];
372
+ }>;
373
+ export type VC2Evidence = z.infer<typeof VC2EvidenceValidator>;
348
374
  export declare const UnsignedVCValidator: z.ZodObject<{
349
375
  '@context': z.ZodArray<z.ZodUnion<[z.ZodString, z.ZodRecord<z.ZodString, z.ZodAny>]>, "many">;
350
376
  id: z.ZodOptional<z.ZodString>;
@@ -536,8 +562,6 @@ export declare const UnsignedVCValidator: z.ZodObject<{
536
562
  familyNamePrefix?: string | undefined;
537
563
  dateOfBirth?: string | undefined;
538
564
  }>]>;
539
- issuanceDate: z.ZodString;
540
- expirationDate: z.ZodOptional<z.ZodString>;
541
565
  credentialSubject: z.ZodUnion<[z.ZodObject<{
542
566
  id: z.ZodOptional<z.ZodString>;
543
567
  }, "strip", z.ZodAny, {
@@ -555,9 +579,32 @@ export declare const UnsignedVCValidator: z.ZodObject<{
555
579
  [x: string]: any;
556
580
  id?: string | undefined;
557
581
  }>, "many">]>;
558
- credentialStatus: z.ZodOptional<z.ZodObject<{
582
+ refreshService: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
583
+ id: z.ZodOptional<z.ZodString>;
584
+ type: z.ZodString;
585
+ }, "strip", z.ZodAny, {
586
+ [x: string]: any;
587
+ id?: string | undefined;
588
+ type: string;
589
+ }, {
590
+ [x: string]: any;
591
+ id?: string | undefined;
592
+ type: string;
593
+ }>, z.ZodArray<z.ZodObject<{
594
+ id: z.ZodOptional<z.ZodString>;
559
595
  type: z.ZodString;
596
+ }, "strip", z.ZodAny, {
597
+ [x: string]: any;
598
+ id?: string | undefined;
599
+ type: string;
600
+ }, {
601
+ [x: string]: any;
602
+ id?: string | undefined;
603
+ type: string;
604
+ }>, "many">]>>;
605
+ credentialSchema: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
560
606
  id: z.ZodString;
607
+ type: z.ZodString;
561
608
  }, "strip", z.ZodAny, {
562
609
  [x: string]: any;
563
610
  type: string;
@@ -566,8 +613,7 @@ export declare const UnsignedVCValidator: z.ZodObject<{
566
613
  [x: string]: any;
567
614
  type: string;
568
615
  id: string;
569
- }>>;
570
- credentialSchema: z.ZodOptional<z.ZodArray<z.ZodObject<{
616
+ }>, z.ZodArray<z.ZodObject<{
571
617
  id: z.ZodString;
572
618
  type: z.ZodString;
573
619
  }, "strip", z.ZodAny, {
@@ -578,10 +624,50 @@ export declare const UnsignedVCValidator: z.ZodObject<{
578
624
  [x: string]: any;
579
625
  type: string;
580
626
  id: string;
581
- }>, "many">>;
582
- refreshService: z.ZodOptional<z.ZodObject<{
627
+ }>, "many">]>>;
628
+ issuanceDate: z.ZodOptional<z.ZodString>;
629
+ expirationDate: z.ZodOptional<z.ZodString>;
630
+ credentialStatus: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
631
+ type: z.ZodString;
632
+ id: z.ZodString;
633
+ }, "strip", z.ZodAny, {
634
+ [x: string]: any;
635
+ type: string;
636
+ id: string;
637
+ }, {
638
+ [x: string]: any;
639
+ type: string;
640
+ id: string;
641
+ }>, z.ZodArray<z.ZodObject<{
642
+ type: z.ZodString;
643
+ id: z.ZodString;
644
+ }, "strip", z.ZodAny, {
645
+ [x: string]: any;
646
+ type: string;
647
+ id: string;
648
+ }, {
649
+ [x: string]: any;
650
+ type: string;
651
+ id: string;
652
+ }>, "many">]>>;
653
+ name: z.ZodOptional<z.ZodString>;
654
+ description: z.ZodOptional<z.ZodString>;
655
+ validFrom: z.ZodOptional<z.ZodString>;
656
+ validUntil: z.ZodOptional<z.ZodString>;
657
+ status: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
658
+ type: z.ZodString;
583
659
  id: z.ZodString;
660
+ }, "strip", z.ZodAny, {
661
+ [x: string]: any;
662
+ type: string;
663
+ id: string;
664
+ }, {
665
+ [x: string]: any;
666
+ type: string;
667
+ id: string;
668
+ }>, z.ZodArray<z.ZodObject<{
584
669
  type: z.ZodString;
670
+ id: z.ZodString;
585
671
  }, "strip", z.ZodAny, {
586
672
  [x: string]: any;
587
673
  type: string;
@@ -590,26 +676,116 @@ export declare const UnsignedVCValidator: z.ZodObject<{
590
676
  [x: string]: any;
591
677
  type: string;
592
678
  id: string;
593
- }>>;
679
+ }>, "many">]>>;
680
+ termsOfUse: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
681
+ type: z.ZodString;
682
+ id: z.ZodOptional<z.ZodString>;
683
+ }, "strip", z.ZodAny, {
684
+ [x: string]: any;
685
+ id?: string | undefined;
686
+ type: string;
687
+ }, {
688
+ [x: string]: any;
689
+ id?: string | undefined;
690
+ type: string;
691
+ }>, z.ZodArray<z.ZodObject<{
692
+ type: z.ZodString;
693
+ id: z.ZodOptional<z.ZodString>;
694
+ }, "strip", z.ZodAny, {
695
+ [x: string]: any;
696
+ id?: string | undefined;
697
+ type: string;
698
+ }, {
699
+ [x: string]: any;
700
+ id?: string | undefined;
701
+ type: string;
702
+ }>, "many">]>>;
703
+ evidence: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
704
+ type: z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "atleastone">]>;
705
+ id: z.ZodOptional<z.ZodString>;
706
+ }, "strip", z.ZodAny, {
707
+ [x: string]: any;
708
+ id?: string | undefined;
709
+ type: string | [string, ...string[]];
710
+ }, {
711
+ [x: string]: any;
712
+ id?: string | undefined;
713
+ type: string | [string, ...string[]];
714
+ }>, z.ZodArray<z.ZodObject<{
715
+ type: z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "atleastone">]>;
716
+ id: z.ZodOptional<z.ZodString>;
717
+ }, "strip", z.ZodAny, {
718
+ [x: string]: any;
719
+ id?: string | undefined;
720
+ type: string | [string, ...string[]];
721
+ }, {
722
+ [x: string]: any;
723
+ id?: string | undefined;
724
+ type: string | [string, ...string[]];
725
+ }>, "many">]>>;
594
726
  }, "strip", z.ZodAny, {
595
727
  [x: string]: any;
728
+ status?: {
729
+ [x: string]: any;
730
+ type: string;
731
+ id: string;
732
+ } | {
733
+ [x: string]: any;
734
+ type: string;
735
+ id: string;
736
+ }[] | undefined;
596
737
  id?: string | undefined;
738
+ name?: string | undefined;
739
+ description?: string | undefined;
740
+ refreshService?: {
741
+ [x: string]: any;
742
+ id?: string | undefined;
743
+ type: string;
744
+ } | {
745
+ [x: string]: any;
746
+ id?: string | undefined;
747
+ type: string;
748
+ }[] | undefined;
749
+ credentialSchema?: {
750
+ [x: string]: any;
751
+ type: string;
752
+ id: string;
753
+ } | {
754
+ [x: string]: any;
755
+ type: string;
756
+ id: string;
757
+ }[] | undefined;
758
+ issuanceDate?: string | undefined;
597
759
  expirationDate?: string | undefined;
598
760
  credentialStatus?: {
599
761
  [x: string]: any;
600
762
  type: string;
601
763
  id: string;
602
- } | undefined;
603
- credentialSchema?: {
764
+ } | {
604
765
  [x: string]: any;
605
766
  type: string;
606
767
  id: string;
607
768
  }[] | undefined;
608
- refreshService?: {
769
+ validFrom?: string | undefined;
770
+ validUntil?: string | undefined;
771
+ termsOfUse?: {
609
772
  [x: string]: any;
773
+ id?: string | undefined;
610
774
  type: string;
611
- id: string;
612
- } | undefined;
775
+ } | {
776
+ [x: string]: any;
777
+ id?: string | undefined;
778
+ type: string;
779
+ }[] | undefined;
780
+ evidence?: {
781
+ [x: string]: any;
782
+ id?: string | undefined;
783
+ type: string | [string, ...string[]];
784
+ } | {
785
+ [x: string]: any;
786
+ id?: string | undefined;
787
+ type: string | [string, ...string[]];
788
+ }[] | undefined;
613
789
  type: [string, ...string[]];
614
790
  '@context': (string | Record<string, any>)[];
615
791
  issuer: string | {
@@ -658,7 +834,6 @@ export declare const UnsignedVCValidator: z.ZodObject<{
658
834
  familyNamePrefix?: string | undefined;
659
835
  dateOfBirth?: string | undefined;
660
836
  };
661
- issuanceDate: string;
662
837
  credentialSubject: {
663
838
  [x: string]: any;
664
839
  id?: string | undefined;
@@ -668,23 +843,67 @@ export declare const UnsignedVCValidator: z.ZodObject<{
668
843
  }[];
669
844
  }, {
670
845
  [x: string]: any;
846
+ status?: {
847
+ [x: string]: any;
848
+ type: string;
849
+ id: string;
850
+ } | {
851
+ [x: string]: any;
852
+ type: string;
853
+ id: string;
854
+ }[] | undefined;
671
855
  id?: string | undefined;
856
+ name?: string | undefined;
857
+ description?: string | undefined;
858
+ refreshService?: {
859
+ [x: string]: any;
860
+ id?: string | undefined;
861
+ type: string;
862
+ } | {
863
+ [x: string]: any;
864
+ id?: string | undefined;
865
+ type: string;
866
+ }[] | undefined;
867
+ credentialSchema?: {
868
+ [x: string]: any;
869
+ type: string;
870
+ id: string;
871
+ } | {
872
+ [x: string]: any;
873
+ type: string;
874
+ id: string;
875
+ }[] | undefined;
876
+ issuanceDate?: string | undefined;
672
877
  expirationDate?: string | undefined;
673
878
  credentialStatus?: {
674
879
  [x: string]: any;
675
880
  type: string;
676
881
  id: string;
677
- } | undefined;
678
- credentialSchema?: {
882
+ } | {
679
883
  [x: string]: any;
680
884
  type: string;
681
885
  id: string;
682
886
  }[] | undefined;
683
- refreshService?: {
887
+ validFrom?: string | undefined;
888
+ validUntil?: string | undefined;
889
+ termsOfUse?: {
684
890
  [x: string]: any;
891
+ id?: string | undefined;
685
892
  type: string;
686
- id: string;
687
- } | undefined;
893
+ } | {
894
+ [x: string]: any;
895
+ id?: string | undefined;
896
+ type: string;
897
+ }[] | undefined;
898
+ evidence?: {
899
+ [x: string]: any;
900
+ id?: string | undefined;
901
+ type: string | [string, ...string[]];
902
+ } | {
903
+ [x: string]: any;
904
+ id?: string | undefined;
905
+ type: string | [string, ...string[]];
906
+ }[] | undefined;
688
907
  type: [string, ...string[]];
689
908
  '@context': (string | Record<string, any>)[];
690
909
  issuer: string | {
@@ -733,7 +952,6 @@ export declare const UnsignedVCValidator: z.ZodObject<{
733
952
  familyNamePrefix?: string | undefined;
734
953
  dateOfBirth?: string | undefined;
735
954
  };
736
- issuanceDate: string;
737
955
  credentialSubject: {
738
956
  [x: string]: any;
739
957
  id?: string | undefined;
@@ -965,8 +1183,6 @@ export declare const VCValidator: z.ZodObject<z.extendShape<{
965
1183
  familyNamePrefix?: string | undefined;
966
1184
  dateOfBirth?: string | undefined;
967
1185
  }>]>;
968
- issuanceDate: z.ZodString;
969
- expirationDate: z.ZodOptional<z.ZodString>;
970
1186
  credentialSubject: z.ZodUnion<[z.ZodObject<{
971
1187
  id: z.ZodOptional<z.ZodString>;
972
1188
  }, "strip", z.ZodAny, {
@@ -984,19 +1200,30 @@ export declare const VCValidator: z.ZodObject<z.extendShape<{
984
1200
  [x: string]: any;
985
1201
  id?: string | undefined;
986
1202
  }>, "many">]>;
987
- credentialStatus: z.ZodOptional<z.ZodObject<{
1203
+ refreshService: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
1204
+ id: z.ZodOptional<z.ZodString>;
988
1205
  type: z.ZodString;
989
- id: z.ZodString;
990
1206
  }, "strip", z.ZodAny, {
991
1207
  [x: string]: any;
1208
+ id?: string | undefined;
992
1209
  type: string;
993
- id: string;
994
1210
  }, {
995
1211
  [x: string]: any;
1212
+ id?: string | undefined;
996
1213
  type: string;
997
- id: string;
998
- }>>;
999
- credentialSchema: z.ZodOptional<z.ZodArray<z.ZodObject<{
1214
+ }>, z.ZodArray<z.ZodObject<{
1215
+ id: z.ZodOptional<z.ZodString>;
1216
+ type: z.ZodString;
1217
+ }, "strip", z.ZodAny, {
1218
+ [x: string]: any;
1219
+ id?: string | undefined;
1220
+ type: string;
1221
+ }, {
1222
+ [x: string]: any;
1223
+ id?: string | undefined;
1224
+ type: string;
1225
+ }>, "many">]>>;
1226
+ credentialSchema: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
1000
1227
  id: z.ZodString;
1001
1228
  type: z.ZodString;
1002
1229
  }, "strip", z.ZodAny, {
@@ -1007,8 +1234,7 @@ export declare const VCValidator: z.ZodObject<z.extendShape<{
1007
1234
  [x: string]: any;
1008
1235
  type: string;
1009
1236
  id: string;
1010
- }>, "many">>;
1011
- refreshService: z.ZodOptional<z.ZodObject<{
1237
+ }>, z.ZodArray<z.ZodObject<{
1012
1238
  id: z.ZodString;
1013
1239
  type: z.ZodString;
1014
1240
  }, "strip", z.ZodAny, {
@@ -1019,7 +1245,105 @@ export declare const VCValidator: z.ZodObject<z.extendShape<{
1019
1245
  [x: string]: any;
1020
1246
  type: string;
1021
1247
  id: string;
1022
- }>>;
1248
+ }>, "many">]>>;
1249
+ issuanceDate: z.ZodOptional<z.ZodString>;
1250
+ expirationDate: z.ZodOptional<z.ZodString>;
1251
+ credentialStatus: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
1252
+ type: z.ZodString;
1253
+ id: z.ZodString;
1254
+ }, "strip", z.ZodAny, {
1255
+ [x: string]: any;
1256
+ type: string;
1257
+ id: string;
1258
+ }, {
1259
+ [x: string]: any;
1260
+ type: string;
1261
+ id: string;
1262
+ }>, z.ZodArray<z.ZodObject<{
1263
+ type: z.ZodString;
1264
+ id: z.ZodString;
1265
+ }, "strip", z.ZodAny, {
1266
+ [x: string]: any;
1267
+ type: string;
1268
+ id: string;
1269
+ }, {
1270
+ [x: string]: any;
1271
+ type: string;
1272
+ id: string;
1273
+ }>, "many">]>>;
1274
+ name: z.ZodOptional<z.ZodString>;
1275
+ description: z.ZodOptional<z.ZodString>;
1276
+ validFrom: z.ZodOptional<z.ZodString>;
1277
+ validUntil: z.ZodOptional<z.ZodString>;
1278
+ status: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
1279
+ type: z.ZodString;
1280
+ id: z.ZodString;
1281
+ }, "strip", z.ZodAny, {
1282
+ [x: string]: any;
1283
+ type: string;
1284
+ id: string;
1285
+ }, {
1286
+ [x: string]: any;
1287
+ type: string;
1288
+ id: string;
1289
+ }>, z.ZodArray<z.ZodObject<{
1290
+ type: z.ZodString;
1291
+ id: z.ZodString;
1292
+ }, "strip", z.ZodAny, {
1293
+ [x: string]: any;
1294
+ type: string;
1295
+ id: string;
1296
+ }, {
1297
+ [x: string]: any;
1298
+ type: string;
1299
+ id: string;
1300
+ }>, "many">]>>;
1301
+ termsOfUse: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
1302
+ type: z.ZodString;
1303
+ id: z.ZodOptional<z.ZodString>;
1304
+ }, "strip", z.ZodAny, {
1305
+ [x: string]: any;
1306
+ id?: string | undefined;
1307
+ type: string;
1308
+ }, {
1309
+ [x: string]: any;
1310
+ id?: string | undefined;
1311
+ type: string;
1312
+ }>, z.ZodArray<z.ZodObject<{
1313
+ type: z.ZodString;
1314
+ id: z.ZodOptional<z.ZodString>;
1315
+ }, "strip", z.ZodAny, {
1316
+ [x: string]: any;
1317
+ id?: string | undefined;
1318
+ type: string;
1319
+ }, {
1320
+ [x: string]: any;
1321
+ id?: string | undefined;
1322
+ type: string;
1323
+ }>, "many">]>>;
1324
+ evidence: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
1325
+ type: z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "atleastone">]>;
1326
+ id: z.ZodOptional<z.ZodString>;
1327
+ }, "strip", z.ZodAny, {
1328
+ [x: string]: any;
1329
+ id?: string | undefined;
1330
+ type: string | [string, ...string[]];
1331
+ }, {
1332
+ [x: string]: any;
1333
+ id?: string | undefined;
1334
+ type: string | [string, ...string[]];
1335
+ }>, z.ZodArray<z.ZodObject<{
1336
+ type: z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "atleastone">]>;
1337
+ id: z.ZodOptional<z.ZodString>;
1338
+ }, "strip", z.ZodAny, {
1339
+ [x: string]: any;
1340
+ id?: string | undefined;
1341
+ type: string | [string, ...string[]];
1342
+ }, {
1343
+ [x: string]: any;
1344
+ id?: string | undefined;
1345
+ type: string | [string, ...string[]];
1346
+ }>, "many">]>>;
1023
1347
  }, {
1024
1348
  proof: z.ZodUnion<[z.ZodObject<{
1025
1349
  type: z.ZodString;
@@ -1082,23 +1406,67 @@ export declare const VCValidator: z.ZodObject<z.extendShape<{
1082
1406
  }>, "many">]>;
1083
1407
  }>, "strip", z.ZodAny, {
1084
1408
  [x: string]: any;
1409
+ status?: {
1410
+ [x: string]: any;
1411
+ type: string;
1412
+ id: string;
1413
+ } | {
1414
+ [x: string]: any;
1415
+ type: string;
1416
+ id: string;
1417
+ }[] | undefined;
1085
1418
  id?: string | undefined;
1419
+ name?: string | undefined;
1420
+ description?: string | undefined;
1421
+ refreshService?: {
1422
+ [x: string]: any;
1423
+ id?: string | undefined;
1424
+ type: string;
1425
+ } | {
1426
+ [x: string]: any;
1427
+ id?: string | undefined;
1428
+ type: string;
1429
+ }[] | undefined;
1430
+ credentialSchema?: {
1431
+ [x: string]: any;
1432
+ type: string;
1433
+ id: string;
1434
+ } | {
1435
+ [x: string]: any;
1436
+ type: string;
1437
+ id: string;
1438
+ }[] | undefined;
1439
+ issuanceDate?: string | undefined;
1086
1440
  expirationDate?: string | undefined;
1087
1441
  credentialStatus?: {
1088
1442
  [x: string]: any;
1089
1443
  type: string;
1090
1444
  id: string;
1091
- } | undefined;
1092
- credentialSchema?: {
1445
+ } | {
1093
1446
  [x: string]: any;
1094
1447
  type: string;
1095
1448
  id: string;
1096
1449
  }[] | undefined;
1097
- refreshService?: {
1450
+ validFrom?: string | undefined;
1451
+ validUntil?: string | undefined;
1452
+ termsOfUse?: {
1098
1453
  [x: string]: any;
1454
+ id?: string | undefined;
1099
1455
  type: string;
1100
- id: string;
1101
- } | undefined;
1456
+ } | {
1457
+ [x: string]: any;
1458
+ id?: string | undefined;
1459
+ type: string;
1460
+ }[] | undefined;
1461
+ evidence?: {
1462
+ [x: string]: any;
1463
+ id?: string | undefined;
1464
+ type: string | [string, ...string[]];
1465
+ } | {
1466
+ [x: string]: any;
1467
+ id?: string | undefined;
1468
+ type: string | [string, ...string[]];
1469
+ }[] | undefined;
1102
1470
  type: [string, ...string[]];
1103
1471
  '@context': (string | Record<string, any>)[];
1104
1472
  issuer: string | {
@@ -1147,7 +1515,6 @@ export declare const VCValidator: z.ZodObject<z.extendShape<{
1147
1515
  familyNamePrefix?: string | undefined;
1148
1516
  dateOfBirth?: string | undefined;
1149
1517
  };
1150
- issuanceDate: string;
1151
1518
  credentialSubject: {
1152
1519
  [x: string]: any;
1153
1520
  id?: string | undefined;
@@ -1178,23 +1545,67 @@ export declare const VCValidator: z.ZodObject<z.extendShape<{
1178
1545
  }[];
1179
1546
  }, {
1180
1547
  [x: string]: any;
1548
+ status?: {
1549
+ [x: string]: any;
1550
+ type: string;
1551
+ id: string;
1552
+ } | {
1553
+ [x: string]: any;
1554
+ type: string;
1555
+ id: string;
1556
+ }[] | undefined;
1181
1557
  id?: string | undefined;
1558
+ name?: string | undefined;
1559
+ description?: string | undefined;
1560
+ refreshService?: {
1561
+ [x: string]: any;
1562
+ id?: string | undefined;
1563
+ type: string;
1564
+ } | {
1565
+ [x: string]: any;
1566
+ id?: string | undefined;
1567
+ type: string;
1568
+ }[] | undefined;
1569
+ credentialSchema?: {
1570
+ [x: string]: any;
1571
+ type: string;
1572
+ id: string;
1573
+ } | {
1574
+ [x: string]: any;
1575
+ type: string;
1576
+ id: string;
1577
+ }[] | undefined;
1578
+ issuanceDate?: string | undefined;
1182
1579
  expirationDate?: string | undefined;
1183
1580
  credentialStatus?: {
1184
1581
  [x: string]: any;
1185
1582
  type: string;
1186
1583
  id: string;
1187
- } | undefined;
1188
- credentialSchema?: {
1584
+ } | {
1189
1585
  [x: string]: any;
1190
1586
  type: string;
1191
1587
  id: string;
1192
1588
  }[] | undefined;
1193
- refreshService?: {
1589
+ validFrom?: string | undefined;
1590
+ validUntil?: string | undefined;
1591
+ termsOfUse?: {
1194
1592
  [x: string]: any;
1593
+ id?: string | undefined;
1195
1594
  type: string;
1196
- id: string;
1197
- } | undefined;
1595
+ } | {
1596
+ [x: string]: any;
1597
+ id?: string | undefined;
1598
+ type: string;
1599
+ }[] | undefined;
1600
+ evidence?: {
1601
+ [x: string]: any;
1602
+ id?: string | undefined;
1603
+ type: string | [string, ...string[]];
1604
+ } | {
1605
+ [x: string]: any;
1606
+ id?: string | undefined;
1607
+ type: string | [string, ...string[]];
1608
+ }[] | undefined;
1198
1609
  type: [string, ...string[]];
1199
1610
  '@context': (string | Record<string, any>)[];
1200
1611
  issuer: string | {
@@ -1243,7 +1654,6 @@ export declare const VCValidator: z.ZodObject<z.extendShape<{
1243
1654
  familyNamePrefix?: string | undefined;
1244
1655
  dateOfBirth?: string | undefined;
1245
1656
  };
1246
- issuanceDate: string;
1247
1657
  credentialSubject: {
1248
1658
  [x: string]: any;
1249
1659
  id?: string | undefined;
@@ -1469,8 +1879,6 @@ export declare const UnsignedVPValidator: z.ZodObject<{
1469
1879
  familyNamePrefix?: string | undefined;
1470
1880
  dateOfBirth?: string | undefined;
1471
1881
  }>]>;
1472
- issuanceDate: z.ZodString;
1473
- expirationDate: z.ZodOptional<z.ZodString>;
1474
1882
  credentialSubject: z.ZodUnion<[z.ZodObject<{
1475
1883
  id: z.ZodOptional<z.ZodString>;
1476
1884
  }, "strip", z.ZodAny, {
@@ -1488,9 +1896,32 @@ export declare const UnsignedVPValidator: z.ZodObject<{
1488
1896
  [x: string]: any;
1489
1897
  id?: string | undefined;
1490
1898
  }>, "many">]>;
1491
- credentialStatus: z.ZodOptional<z.ZodObject<{
1899
+ refreshService: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
1900
+ id: z.ZodOptional<z.ZodString>;
1901
+ type: z.ZodString;
1902
+ }, "strip", z.ZodAny, {
1903
+ [x: string]: any;
1904
+ id?: string | undefined;
1905
+ type: string;
1906
+ }, {
1907
+ [x: string]: any;
1908
+ id?: string | undefined;
1909
+ type: string;
1910
+ }>, z.ZodArray<z.ZodObject<{
1911
+ id: z.ZodOptional<z.ZodString>;
1492
1912
  type: z.ZodString;
1913
+ }, "strip", z.ZodAny, {
1914
+ [x: string]: any;
1915
+ id?: string | undefined;
1916
+ type: string;
1917
+ }, {
1918
+ [x: string]: any;
1919
+ id?: string | undefined;
1920
+ type: string;
1921
+ }>, "many">]>>;
1922
+ credentialSchema: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
1493
1923
  id: z.ZodString;
1924
+ type: z.ZodString;
1494
1925
  }, "strip", z.ZodAny, {
1495
1926
  [x: string]: any;
1496
1927
  type: string;
@@ -1499,8 +1930,7 @@ export declare const UnsignedVPValidator: z.ZodObject<{
1499
1930
  [x: string]: any;
1500
1931
  type: string;
1501
1932
  id: string;
1502
- }>>;
1503
- credentialSchema: z.ZodOptional<z.ZodArray<z.ZodObject<{
1933
+ }>, z.ZodArray<z.ZodObject<{
1504
1934
  id: z.ZodString;
1505
1935
  type: z.ZodString;
1506
1936
  }, "strip", z.ZodAny, {
@@ -1511,10 +1941,23 @@ export declare const UnsignedVPValidator: z.ZodObject<{
1511
1941
  [x: string]: any;
1512
1942
  type: string;
1513
1943
  id: string;
1514
- }>, "many">>;
1515
- refreshService: z.ZodOptional<z.ZodObject<{
1944
+ }>, "many">]>>;
1945
+ issuanceDate: z.ZodOptional<z.ZodString>;
1946
+ expirationDate: z.ZodOptional<z.ZodString>;
1947
+ credentialStatus: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
1948
+ type: z.ZodString;
1516
1949
  id: z.ZodString;
1950
+ }, "strip", z.ZodAny, {
1951
+ [x: string]: any;
1952
+ type: string;
1953
+ id: string;
1954
+ }, {
1955
+ [x: string]: any;
1956
+ type: string;
1957
+ id: string;
1958
+ }>, z.ZodArray<z.ZodObject<{
1517
1959
  type: z.ZodString;
1960
+ id: z.ZodString;
1518
1961
  }, "strip", z.ZodAny, {
1519
1962
  [x: string]: any;
1520
1963
  type: string;
@@ -1523,7 +1966,80 @@ export declare const UnsignedVPValidator: z.ZodObject<{
1523
1966
  [x: string]: any;
1524
1967
  type: string;
1525
1968
  id: string;
1526
- }>>;
1969
+ }>, "many">]>>;
1970
+ name: z.ZodOptional<z.ZodString>;
1971
+ description: z.ZodOptional<z.ZodString>;
1972
+ validFrom: z.ZodOptional<z.ZodString>;
1973
+ validUntil: z.ZodOptional<z.ZodString>;
1974
+ status: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
1975
+ type: z.ZodString;
1976
+ id: z.ZodString;
1977
+ }, "strip", z.ZodAny, {
1978
+ [x: string]: any;
1979
+ type: string;
1980
+ id: string;
1981
+ }, {
1982
+ [x: string]: any;
1983
+ type: string;
1984
+ id: string;
1985
+ }>, z.ZodArray<z.ZodObject<{
1986
+ type: z.ZodString;
1987
+ id: z.ZodString;
1988
+ }, "strip", z.ZodAny, {
1989
+ [x: string]: any;
1990
+ type: string;
1991
+ id: string;
1992
+ }, {
1993
+ [x: string]: any;
1994
+ type: string;
1995
+ id: string;
1996
+ }>, "many">]>>;
1997
+ termsOfUse: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
1998
+ type: z.ZodString;
1999
+ id: z.ZodOptional<z.ZodString>;
2000
+ }, "strip", z.ZodAny, {
2001
+ [x: string]: any;
2002
+ id?: string | undefined;
2003
+ type: string;
2004
+ }, {
2005
+ [x: string]: any;
2006
+ id?: string | undefined;
2007
+ type: string;
2008
+ }>, z.ZodArray<z.ZodObject<{
2009
+ type: z.ZodString;
2010
+ id: z.ZodOptional<z.ZodString>;
2011
+ }, "strip", z.ZodAny, {
2012
+ [x: string]: any;
2013
+ id?: string | undefined;
2014
+ type: string;
2015
+ }, {
2016
+ [x: string]: any;
2017
+ id?: string | undefined;
2018
+ type: string;
2019
+ }>, "many">]>>;
2020
+ evidence: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
2021
+ type: z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "atleastone">]>;
2022
+ id: z.ZodOptional<z.ZodString>;
2023
+ }, "strip", z.ZodAny, {
2024
+ [x: string]: any;
2025
+ id?: string | undefined;
2026
+ type: string | [string, ...string[]];
2027
+ }, {
2028
+ [x: string]: any;
2029
+ id?: string | undefined;
2030
+ type: string | [string, ...string[]];
2031
+ }>, z.ZodArray<z.ZodObject<{
2032
+ type: z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "atleastone">]>;
2033
+ id: z.ZodOptional<z.ZodString>;
2034
+ }, "strip", z.ZodAny, {
2035
+ [x: string]: any;
2036
+ id?: string | undefined;
2037
+ type: string | [string, ...string[]];
2038
+ }, {
2039
+ [x: string]: any;
2040
+ id?: string | undefined;
2041
+ type: string | [string, ...string[]];
2042
+ }>, "many">]>>;
1527
2043
  }, {
1528
2044
  proof: z.ZodUnion<[z.ZodObject<{
1529
2045
  type: z.ZodString;
@@ -1586,23 +2102,67 @@ export declare const UnsignedVPValidator: z.ZodObject<{
1586
2102
  }>, "many">]>;
1587
2103
  }>, "strip", z.ZodAny, {
1588
2104
  [x: string]: any;
2105
+ status?: {
2106
+ [x: string]: any;
2107
+ type: string;
2108
+ id: string;
2109
+ } | {
2110
+ [x: string]: any;
2111
+ type: string;
2112
+ id: string;
2113
+ }[] | undefined;
1589
2114
  id?: string | undefined;
2115
+ name?: string | undefined;
2116
+ description?: string | undefined;
2117
+ refreshService?: {
2118
+ [x: string]: any;
2119
+ id?: string | undefined;
2120
+ type: string;
2121
+ } | {
2122
+ [x: string]: any;
2123
+ id?: string | undefined;
2124
+ type: string;
2125
+ }[] | undefined;
2126
+ credentialSchema?: {
2127
+ [x: string]: any;
2128
+ type: string;
2129
+ id: string;
2130
+ } | {
2131
+ [x: string]: any;
2132
+ type: string;
2133
+ id: string;
2134
+ }[] | undefined;
2135
+ issuanceDate?: string | undefined;
1590
2136
  expirationDate?: string | undefined;
1591
2137
  credentialStatus?: {
1592
2138
  [x: string]: any;
1593
2139
  type: string;
1594
2140
  id: string;
1595
- } | undefined;
1596
- credentialSchema?: {
2141
+ } | {
1597
2142
  [x: string]: any;
1598
2143
  type: string;
1599
2144
  id: string;
1600
2145
  }[] | undefined;
1601
- refreshService?: {
2146
+ validFrom?: string | undefined;
2147
+ validUntil?: string | undefined;
2148
+ termsOfUse?: {
2149
+ [x: string]: any;
2150
+ id?: string | undefined;
2151
+ type: string;
2152
+ } | {
1602
2153
  [x: string]: any;
2154
+ id?: string | undefined;
1603
2155
  type: string;
1604
- id: string;
1605
- } | undefined;
2156
+ }[] | undefined;
2157
+ evidence?: {
2158
+ [x: string]: any;
2159
+ id?: string | undefined;
2160
+ type: string | [string, ...string[]];
2161
+ } | {
2162
+ [x: string]: any;
2163
+ id?: string | undefined;
2164
+ type: string | [string, ...string[]];
2165
+ }[] | undefined;
1606
2166
  type: [string, ...string[]];
1607
2167
  '@context': (string | Record<string, any>)[];
1608
2168
  issuer: string | {
@@ -1651,7 +2211,6 @@ export declare const UnsignedVPValidator: z.ZodObject<{
1651
2211
  familyNamePrefix?: string | undefined;
1652
2212
  dateOfBirth?: string | undefined;
1653
2213
  };
1654
- issuanceDate: string;
1655
2214
  credentialSubject: {
1656
2215
  [x: string]: any;
1657
2216
  id?: string | undefined;
@@ -1682,23 +2241,67 @@ export declare const UnsignedVPValidator: z.ZodObject<{
1682
2241
  }[];
1683
2242
  }, {
1684
2243
  [x: string]: any;
2244
+ status?: {
2245
+ [x: string]: any;
2246
+ type: string;
2247
+ id: string;
2248
+ } | {
2249
+ [x: string]: any;
2250
+ type: string;
2251
+ id: string;
2252
+ }[] | undefined;
1685
2253
  id?: string | undefined;
2254
+ name?: string | undefined;
2255
+ description?: string | undefined;
2256
+ refreshService?: {
2257
+ [x: string]: any;
2258
+ id?: string | undefined;
2259
+ type: string;
2260
+ } | {
2261
+ [x: string]: any;
2262
+ id?: string | undefined;
2263
+ type: string;
2264
+ }[] | undefined;
2265
+ credentialSchema?: {
2266
+ [x: string]: any;
2267
+ type: string;
2268
+ id: string;
2269
+ } | {
2270
+ [x: string]: any;
2271
+ type: string;
2272
+ id: string;
2273
+ }[] | undefined;
2274
+ issuanceDate?: string | undefined;
1686
2275
  expirationDate?: string | undefined;
1687
2276
  credentialStatus?: {
1688
2277
  [x: string]: any;
1689
2278
  type: string;
1690
- id: string;
1691
- } | undefined;
1692
- credentialSchema?: {
2279
+ id: string;
2280
+ } | {
1693
2281
  [x: string]: any;
1694
2282
  type: string;
1695
2283
  id: string;
1696
2284
  }[] | undefined;
1697
- refreshService?: {
2285
+ validFrom?: string | undefined;
2286
+ validUntil?: string | undefined;
2287
+ termsOfUse?: {
1698
2288
  [x: string]: any;
2289
+ id?: string | undefined;
1699
2290
  type: string;
1700
- id: string;
1701
- } | undefined;
2291
+ } | {
2292
+ [x: string]: any;
2293
+ id?: string | undefined;
2294
+ type: string;
2295
+ }[] | undefined;
2296
+ evidence?: {
2297
+ [x: string]: any;
2298
+ id?: string | undefined;
2299
+ type: string | [string, ...string[]];
2300
+ } | {
2301
+ [x: string]: any;
2302
+ id?: string | undefined;
2303
+ type: string | [string, ...string[]];
2304
+ }[] | undefined;
1702
2305
  type: [string, ...string[]];
1703
2306
  '@context': (string | Record<string, any>)[];
1704
2307
  issuer: string | {
@@ -1747,7 +2350,6 @@ export declare const UnsignedVPValidator: z.ZodObject<{
1747
2350
  familyNamePrefix?: string | undefined;
1748
2351
  dateOfBirth?: string | undefined;
1749
2352
  };
1750
- issuanceDate: string;
1751
2353
  credentialSubject: {
1752
2354
  [x: string]: any;
1753
2355
  id?: string | undefined;
@@ -1967,8 +2569,6 @@ export declare const UnsignedVPValidator: z.ZodObject<{
1967
2569
  familyNamePrefix?: string | undefined;
1968
2570
  dateOfBirth?: string | undefined;
1969
2571
  }>]>;
1970
- issuanceDate: z.ZodString;
1971
- expirationDate: z.ZodOptional<z.ZodString>;
1972
2572
  credentialSubject: z.ZodUnion<[z.ZodObject<{
1973
2573
  id: z.ZodOptional<z.ZodString>;
1974
2574
  }, "strip", z.ZodAny, {
@@ -1986,9 +2586,32 @@ export declare const UnsignedVPValidator: z.ZodObject<{
1986
2586
  [x: string]: any;
1987
2587
  id?: string | undefined;
1988
2588
  }>, "many">]>;
1989
- credentialStatus: z.ZodOptional<z.ZodObject<{
2589
+ refreshService: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
2590
+ id: z.ZodOptional<z.ZodString>;
2591
+ type: z.ZodString;
2592
+ }, "strip", z.ZodAny, {
2593
+ [x: string]: any;
2594
+ id?: string | undefined;
2595
+ type: string;
2596
+ }, {
2597
+ [x: string]: any;
2598
+ id?: string | undefined;
2599
+ type: string;
2600
+ }>, z.ZodArray<z.ZodObject<{
2601
+ id: z.ZodOptional<z.ZodString>;
1990
2602
  type: z.ZodString;
2603
+ }, "strip", z.ZodAny, {
2604
+ [x: string]: any;
2605
+ id?: string | undefined;
2606
+ type: string;
2607
+ }, {
2608
+ [x: string]: any;
2609
+ id?: string | undefined;
2610
+ type: string;
2611
+ }>, "many">]>>;
2612
+ credentialSchema: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
1991
2613
  id: z.ZodString;
2614
+ type: z.ZodString;
1992
2615
  }, "strip", z.ZodAny, {
1993
2616
  [x: string]: any;
1994
2617
  type: string;
@@ -1997,8 +2620,7 @@ export declare const UnsignedVPValidator: z.ZodObject<{
1997
2620
  [x: string]: any;
1998
2621
  type: string;
1999
2622
  id: string;
2000
- }>>;
2001
- credentialSchema: z.ZodOptional<z.ZodArray<z.ZodObject<{
2623
+ }>, z.ZodArray<z.ZodObject<{
2002
2624
  id: z.ZodString;
2003
2625
  type: z.ZodString;
2004
2626
  }, "strip", z.ZodAny, {
@@ -2009,10 +2631,23 @@ export declare const UnsignedVPValidator: z.ZodObject<{
2009
2631
  [x: string]: any;
2010
2632
  type: string;
2011
2633
  id: string;
2012
- }>, "many">>;
2013
- refreshService: z.ZodOptional<z.ZodObject<{
2634
+ }>, "many">]>>;
2635
+ issuanceDate: z.ZodOptional<z.ZodString>;
2636
+ expirationDate: z.ZodOptional<z.ZodString>;
2637
+ credentialStatus: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
2638
+ type: z.ZodString;
2014
2639
  id: z.ZodString;
2640
+ }, "strip", z.ZodAny, {
2641
+ [x: string]: any;
2642
+ type: string;
2643
+ id: string;
2644
+ }, {
2645
+ [x: string]: any;
2646
+ type: string;
2647
+ id: string;
2648
+ }>, z.ZodArray<z.ZodObject<{
2015
2649
  type: z.ZodString;
2650
+ id: z.ZodString;
2016
2651
  }, "strip", z.ZodAny, {
2017
2652
  [x: string]: any;
2018
2653
  type: string;
@@ -2021,7 +2656,80 @@ export declare const UnsignedVPValidator: z.ZodObject<{
2021
2656
  [x: string]: any;
2022
2657
  type: string;
2023
2658
  id: string;
2024
- }>>;
2659
+ }>, "many">]>>;
2660
+ name: z.ZodOptional<z.ZodString>;
2661
+ description: z.ZodOptional<z.ZodString>;
2662
+ validFrom: z.ZodOptional<z.ZodString>;
2663
+ validUntil: z.ZodOptional<z.ZodString>;
2664
+ status: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
2665
+ type: z.ZodString;
2666
+ id: z.ZodString;
2667
+ }, "strip", z.ZodAny, {
2668
+ [x: string]: any;
2669
+ type: string;
2670
+ id: string;
2671
+ }, {
2672
+ [x: string]: any;
2673
+ type: string;
2674
+ id: string;
2675
+ }>, z.ZodArray<z.ZodObject<{
2676
+ type: z.ZodString;
2677
+ id: z.ZodString;
2678
+ }, "strip", z.ZodAny, {
2679
+ [x: string]: any;
2680
+ type: string;
2681
+ id: string;
2682
+ }, {
2683
+ [x: string]: any;
2684
+ type: string;
2685
+ id: string;
2686
+ }>, "many">]>>;
2687
+ termsOfUse: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
2688
+ type: z.ZodString;
2689
+ id: z.ZodOptional<z.ZodString>;
2690
+ }, "strip", z.ZodAny, {
2691
+ [x: string]: any;
2692
+ id?: string | undefined;
2693
+ type: string;
2694
+ }, {
2695
+ [x: string]: any;
2696
+ id?: string | undefined;
2697
+ type: string;
2698
+ }>, z.ZodArray<z.ZodObject<{
2699
+ type: z.ZodString;
2700
+ id: z.ZodOptional<z.ZodString>;
2701
+ }, "strip", z.ZodAny, {
2702
+ [x: string]: any;
2703
+ id?: string | undefined;
2704
+ type: string;
2705
+ }, {
2706
+ [x: string]: any;
2707
+ id?: string | undefined;
2708
+ type: string;
2709
+ }>, "many">]>>;
2710
+ evidence: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
2711
+ type: z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "atleastone">]>;
2712
+ id: z.ZodOptional<z.ZodString>;
2713
+ }, "strip", z.ZodAny, {
2714
+ [x: string]: any;
2715
+ id?: string | undefined;
2716
+ type: string | [string, ...string[]];
2717
+ }, {
2718
+ [x: string]: any;
2719
+ id?: string | undefined;
2720
+ type: string | [string, ...string[]];
2721
+ }>, z.ZodArray<z.ZodObject<{
2722
+ type: z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "atleastone">]>;
2723
+ id: z.ZodOptional<z.ZodString>;
2724
+ }, "strip", z.ZodAny, {
2725
+ [x: string]: any;
2726
+ id?: string | undefined;
2727
+ type: string | [string, ...string[]];
2728
+ }, {
2729
+ [x: string]: any;
2730
+ id?: string | undefined;
2731
+ type: string | [string, ...string[]];
2732
+ }>, "many">]>>;
2025
2733
  }, {
2026
2734
  proof: z.ZodUnion<[z.ZodObject<{
2027
2735
  type: z.ZodString;
@@ -2084,23 +2792,67 @@ export declare const UnsignedVPValidator: z.ZodObject<{
2084
2792
  }>, "many">]>;
2085
2793
  }>, "strip", z.ZodAny, {
2086
2794
  [x: string]: any;
2795
+ status?: {
2796
+ [x: string]: any;
2797
+ type: string;
2798
+ id: string;
2799
+ } | {
2800
+ [x: string]: any;
2801
+ type: string;
2802
+ id: string;
2803
+ }[] | undefined;
2087
2804
  id?: string | undefined;
2805
+ name?: string | undefined;
2806
+ description?: string | undefined;
2807
+ refreshService?: {
2808
+ [x: string]: any;
2809
+ id?: string | undefined;
2810
+ type: string;
2811
+ } | {
2812
+ [x: string]: any;
2813
+ id?: string | undefined;
2814
+ type: string;
2815
+ }[] | undefined;
2816
+ credentialSchema?: {
2817
+ [x: string]: any;
2818
+ type: string;
2819
+ id: string;
2820
+ } | {
2821
+ [x: string]: any;
2822
+ type: string;
2823
+ id: string;
2824
+ }[] | undefined;
2825
+ issuanceDate?: string | undefined;
2088
2826
  expirationDate?: string | undefined;
2089
2827
  credentialStatus?: {
2090
2828
  [x: string]: any;
2091
2829
  type: string;
2092
2830
  id: string;
2093
- } | undefined;
2094
- credentialSchema?: {
2831
+ } | {
2095
2832
  [x: string]: any;
2096
2833
  type: string;
2097
2834
  id: string;
2098
2835
  }[] | undefined;
2099
- refreshService?: {
2836
+ validFrom?: string | undefined;
2837
+ validUntil?: string | undefined;
2838
+ termsOfUse?: {
2100
2839
  [x: string]: any;
2840
+ id?: string | undefined;
2101
2841
  type: string;
2102
- id: string;
2103
- } | undefined;
2842
+ } | {
2843
+ [x: string]: any;
2844
+ id?: string | undefined;
2845
+ type: string;
2846
+ }[] | undefined;
2847
+ evidence?: {
2848
+ [x: string]: any;
2849
+ id?: string | undefined;
2850
+ type: string | [string, ...string[]];
2851
+ } | {
2852
+ [x: string]: any;
2853
+ id?: string | undefined;
2854
+ type: string | [string, ...string[]];
2855
+ }[] | undefined;
2104
2856
  type: [string, ...string[]];
2105
2857
  '@context': (string | Record<string, any>)[];
2106
2858
  issuer: string | {
@@ -2149,7 +2901,6 @@ export declare const UnsignedVPValidator: z.ZodObject<{
2149
2901
  familyNamePrefix?: string | undefined;
2150
2902
  dateOfBirth?: string | undefined;
2151
2903
  };
2152
- issuanceDate: string;
2153
2904
  credentialSubject: {
2154
2905
  [x: string]: any;
2155
2906
  id?: string | undefined;
@@ -2180,23 +2931,67 @@ export declare const UnsignedVPValidator: z.ZodObject<{
2180
2931
  }[];
2181
2932
  }, {
2182
2933
  [x: string]: any;
2934
+ status?: {
2935
+ [x: string]: any;
2936
+ type: string;
2937
+ id: string;
2938
+ } | {
2939
+ [x: string]: any;
2940
+ type: string;
2941
+ id: string;
2942
+ }[] | undefined;
2183
2943
  id?: string | undefined;
2944
+ name?: string | undefined;
2945
+ description?: string | undefined;
2946
+ refreshService?: {
2947
+ [x: string]: any;
2948
+ id?: string | undefined;
2949
+ type: string;
2950
+ } | {
2951
+ [x: string]: any;
2952
+ id?: string | undefined;
2953
+ type: string;
2954
+ }[] | undefined;
2955
+ credentialSchema?: {
2956
+ [x: string]: any;
2957
+ type: string;
2958
+ id: string;
2959
+ } | {
2960
+ [x: string]: any;
2961
+ type: string;
2962
+ id: string;
2963
+ }[] | undefined;
2964
+ issuanceDate?: string | undefined;
2184
2965
  expirationDate?: string | undefined;
2185
2966
  credentialStatus?: {
2186
2967
  [x: string]: any;
2187
2968
  type: string;
2188
2969
  id: string;
2189
- } | undefined;
2190
- credentialSchema?: {
2970
+ } | {
2191
2971
  [x: string]: any;
2192
2972
  type: string;
2193
2973
  id: string;
2194
2974
  }[] | undefined;
2195
- refreshService?: {
2975
+ validFrom?: string | undefined;
2976
+ validUntil?: string | undefined;
2977
+ termsOfUse?: {
2196
2978
  [x: string]: any;
2979
+ id?: string | undefined;
2197
2980
  type: string;
2198
- id: string;
2199
- } | undefined;
2981
+ } | {
2982
+ [x: string]: any;
2983
+ id?: string | undefined;
2984
+ type: string;
2985
+ }[] | undefined;
2986
+ evidence?: {
2987
+ [x: string]: any;
2988
+ id?: string | undefined;
2989
+ type: string | [string, ...string[]];
2990
+ } | {
2991
+ [x: string]: any;
2992
+ id?: string | undefined;
2993
+ type: string | [string, ...string[]];
2994
+ }[] | undefined;
2200
2995
  type: [string, ...string[]];
2201
2996
  '@context': (string | Record<string, any>)[];
2202
2997
  issuer: string | {
@@ -2245,7 +3040,6 @@ export declare const UnsignedVPValidator: z.ZodObject<{
2245
3040
  familyNamePrefix?: string | undefined;
2246
3041
  dateOfBirth?: string | undefined;
2247
3042
  };
2248
- issuanceDate: string;
2249
3043
  credentialSubject: {
2250
3044
  [x: string]: any;
2251
3045
  id?: string | undefined;
@@ -2281,23 +3075,67 @@ export declare const UnsignedVPValidator: z.ZodObject<{
2281
3075
  id?: string | undefined;
2282
3076
  verifiableCredential?: {
2283
3077
  [x: string]: any;
3078
+ status?: {
3079
+ [x: string]: any;
3080
+ type: string;
3081
+ id: string;
3082
+ } | {
3083
+ [x: string]: any;
3084
+ type: string;
3085
+ id: string;
3086
+ }[] | undefined;
2284
3087
  id?: string | undefined;
3088
+ name?: string | undefined;
3089
+ description?: string | undefined;
3090
+ refreshService?: {
3091
+ [x: string]: any;
3092
+ id?: string | undefined;
3093
+ type: string;
3094
+ } | {
3095
+ [x: string]: any;
3096
+ id?: string | undefined;
3097
+ type: string;
3098
+ }[] | undefined;
3099
+ credentialSchema?: {
3100
+ [x: string]: any;
3101
+ type: string;
3102
+ id: string;
3103
+ } | {
3104
+ [x: string]: any;
3105
+ type: string;
3106
+ id: string;
3107
+ }[] | undefined;
3108
+ issuanceDate?: string | undefined;
2285
3109
  expirationDate?: string | undefined;
2286
3110
  credentialStatus?: {
2287
3111
  [x: string]: any;
2288
3112
  type: string;
2289
3113
  id: string;
2290
- } | undefined;
2291
- credentialSchema?: {
3114
+ } | {
3115
+ [x: string]: any;
3116
+ type: string;
3117
+ id: string;
3118
+ }[] | undefined;
3119
+ validFrom?: string | undefined;
3120
+ validUntil?: string | undefined;
3121
+ termsOfUse?: {
3122
+ [x: string]: any;
3123
+ id?: string | undefined;
3124
+ type: string;
3125
+ } | {
2292
3126
  [x: string]: any;
3127
+ id?: string | undefined;
2293
3128
  type: string;
2294
- id: string;
2295
3129
  }[] | undefined;
2296
- refreshService?: {
3130
+ evidence?: {
2297
3131
  [x: string]: any;
2298
- type: string;
2299
- id: string;
2300
- } | undefined;
3132
+ id?: string | undefined;
3133
+ type: string | [string, ...string[]];
3134
+ } | {
3135
+ [x: string]: any;
3136
+ id?: string | undefined;
3137
+ type: string | [string, ...string[]];
3138
+ }[] | undefined;
2301
3139
  type: [string, ...string[]];
2302
3140
  '@context': (string | Record<string, any>)[];
2303
3141
  issuer: string | {
@@ -2346,7 +3184,6 @@ export declare const UnsignedVPValidator: z.ZodObject<{
2346
3184
  familyNamePrefix?: string | undefined;
2347
3185
  dateOfBirth?: string | undefined;
2348
3186
  };
2349
- issuanceDate: string;
2350
3187
  credentialSubject: {
2351
3188
  [x: string]: any;
2352
3189
  id?: string | undefined;
@@ -2377,23 +3214,67 @@ export declare const UnsignedVPValidator: z.ZodObject<{
2377
3214
  }[];
2378
3215
  } | {
2379
3216
  [x: string]: any;
3217
+ status?: {
3218
+ [x: string]: any;
3219
+ type: string;
3220
+ id: string;
3221
+ } | {
3222
+ [x: string]: any;
3223
+ type: string;
3224
+ id: string;
3225
+ }[] | undefined;
2380
3226
  id?: string | undefined;
3227
+ name?: string | undefined;
3228
+ description?: string | undefined;
3229
+ refreshService?: {
3230
+ [x: string]: any;
3231
+ id?: string | undefined;
3232
+ type: string;
3233
+ } | {
3234
+ [x: string]: any;
3235
+ id?: string | undefined;
3236
+ type: string;
3237
+ }[] | undefined;
3238
+ credentialSchema?: {
3239
+ [x: string]: any;
3240
+ type: string;
3241
+ id: string;
3242
+ } | {
3243
+ [x: string]: any;
3244
+ type: string;
3245
+ id: string;
3246
+ }[] | undefined;
3247
+ issuanceDate?: string | undefined;
2381
3248
  expirationDate?: string | undefined;
2382
3249
  credentialStatus?: {
2383
3250
  [x: string]: any;
2384
3251
  type: string;
2385
3252
  id: string;
2386
- } | undefined;
2387
- credentialSchema?: {
3253
+ } | {
2388
3254
  [x: string]: any;
2389
3255
  type: string;
2390
3256
  id: string;
2391
3257
  }[] | undefined;
2392
- refreshService?: {
3258
+ validFrom?: string | undefined;
3259
+ validUntil?: string | undefined;
3260
+ termsOfUse?: {
2393
3261
  [x: string]: any;
3262
+ id?: string | undefined;
2394
3263
  type: string;
2395
- id: string;
2396
- } | undefined;
3264
+ } | {
3265
+ [x: string]: any;
3266
+ id?: string | undefined;
3267
+ type: string;
3268
+ }[] | undefined;
3269
+ evidence?: {
3270
+ [x: string]: any;
3271
+ id?: string | undefined;
3272
+ type: string | [string, ...string[]];
3273
+ } | {
3274
+ [x: string]: any;
3275
+ id?: string | undefined;
3276
+ type: string | [string, ...string[]];
3277
+ }[] | undefined;
2397
3278
  type: [string, ...string[]];
2398
3279
  '@context': (string | Record<string, any>)[];
2399
3280
  issuer: string | {
@@ -2442,7 +3323,6 @@ export declare const UnsignedVPValidator: z.ZodObject<{
2442
3323
  familyNamePrefix?: string | undefined;
2443
3324
  dateOfBirth?: string | undefined;
2444
3325
  };
2445
- issuanceDate: string;
2446
3326
  credentialSubject: {
2447
3327
  [x: string]: any;
2448
3328
  id?: string | undefined;
@@ -2480,23 +3360,67 @@ export declare const UnsignedVPValidator: z.ZodObject<{
2480
3360
  id?: string | undefined;
2481
3361
  verifiableCredential?: {
2482
3362
  [x: string]: any;
3363
+ status?: {
3364
+ [x: string]: any;
3365
+ type: string;
3366
+ id: string;
3367
+ } | {
3368
+ [x: string]: any;
3369
+ type: string;
3370
+ id: string;
3371
+ }[] | undefined;
2483
3372
  id?: string | undefined;
3373
+ name?: string | undefined;
3374
+ description?: string | undefined;
3375
+ refreshService?: {
3376
+ [x: string]: any;
3377
+ id?: string | undefined;
3378
+ type: string;
3379
+ } | {
3380
+ [x: string]: any;
3381
+ id?: string | undefined;
3382
+ type: string;
3383
+ }[] | undefined;
3384
+ credentialSchema?: {
3385
+ [x: string]: any;
3386
+ type: string;
3387
+ id: string;
3388
+ } | {
3389
+ [x: string]: any;
3390
+ type: string;
3391
+ id: string;
3392
+ }[] | undefined;
3393
+ issuanceDate?: string | undefined;
2484
3394
  expirationDate?: string | undefined;
2485
3395
  credentialStatus?: {
2486
3396
  [x: string]: any;
2487
3397
  type: string;
2488
3398
  id: string;
2489
- } | undefined;
2490
- credentialSchema?: {
3399
+ } | {
2491
3400
  [x: string]: any;
2492
3401
  type: string;
2493
3402
  id: string;
2494
3403
  }[] | undefined;
2495
- refreshService?: {
3404
+ validFrom?: string | undefined;
3405
+ validUntil?: string | undefined;
3406
+ termsOfUse?: {
2496
3407
  [x: string]: any;
3408
+ id?: string | undefined;
2497
3409
  type: string;
2498
- id: string;
2499
- } | undefined;
3410
+ } | {
3411
+ [x: string]: any;
3412
+ id?: string | undefined;
3413
+ type: string;
3414
+ }[] | undefined;
3415
+ evidence?: {
3416
+ [x: string]: any;
3417
+ id?: string | undefined;
3418
+ type: string | [string, ...string[]];
3419
+ } | {
3420
+ [x: string]: any;
3421
+ id?: string | undefined;
3422
+ type: string | [string, ...string[]];
3423
+ }[] | undefined;
2500
3424
  type: [string, ...string[]];
2501
3425
  '@context': (string | Record<string, any>)[];
2502
3426
  issuer: string | {
@@ -2545,7 +3469,6 @@ export declare const UnsignedVPValidator: z.ZodObject<{
2545
3469
  familyNamePrefix?: string | undefined;
2546
3470
  dateOfBirth?: string | undefined;
2547
3471
  };
2548
- issuanceDate: string;
2549
3472
  credentialSubject: {
2550
3473
  [x: string]: any;
2551
3474
  id?: string | undefined;
@@ -2576,23 +3499,67 @@ export declare const UnsignedVPValidator: z.ZodObject<{
2576
3499
  }[];
2577
3500
  } | {
2578
3501
  [x: string]: any;
3502
+ status?: {
3503
+ [x: string]: any;
3504
+ type: string;
3505
+ id: string;
3506
+ } | {
3507
+ [x: string]: any;
3508
+ type: string;
3509
+ id: string;
3510
+ }[] | undefined;
2579
3511
  id?: string | undefined;
3512
+ name?: string | undefined;
3513
+ description?: string | undefined;
3514
+ refreshService?: {
3515
+ [x: string]: any;
3516
+ id?: string | undefined;
3517
+ type: string;
3518
+ } | {
3519
+ [x: string]: any;
3520
+ id?: string | undefined;
3521
+ type: string;
3522
+ }[] | undefined;
3523
+ credentialSchema?: {
3524
+ [x: string]: any;
3525
+ type: string;
3526
+ id: string;
3527
+ } | {
3528
+ [x: string]: any;
3529
+ type: string;
3530
+ id: string;
3531
+ }[] | undefined;
3532
+ issuanceDate?: string | undefined;
2580
3533
  expirationDate?: string | undefined;
2581
3534
  credentialStatus?: {
2582
3535
  [x: string]: any;
2583
3536
  type: string;
2584
3537
  id: string;
2585
- } | undefined;
2586
- credentialSchema?: {
3538
+ } | {
2587
3539
  [x: string]: any;
2588
3540
  type: string;
2589
3541
  id: string;
2590
3542
  }[] | undefined;
2591
- refreshService?: {
3543
+ validFrom?: string | undefined;
3544
+ validUntil?: string | undefined;
3545
+ termsOfUse?: {
2592
3546
  [x: string]: any;
3547
+ id?: string | undefined;
2593
3548
  type: string;
2594
- id: string;
2595
- } | undefined;
3549
+ } | {
3550
+ [x: string]: any;
3551
+ id?: string | undefined;
3552
+ type: string;
3553
+ }[] | undefined;
3554
+ evidence?: {
3555
+ [x: string]: any;
3556
+ id?: string | undefined;
3557
+ type: string | [string, ...string[]];
3558
+ } | {
3559
+ [x: string]: any;
3560
+ id?: string | undefined;
3561
+ type: string | [string, ...string[]];
3562
+ }[] | undefined;
2596
3563
  type: [string, ...string[]];
2597
3564
  '@context': (string | Record<string, any>)[];
2598
3565
  issuer: string | {
@@ -2641,7 +3608,6 @@ export declare const UnsignedVPValidator: z.ZodObject<{
2641
3608
  familyNamePrefix?: string | undefined;
2642
3609
  dateOfBirth?: string | undefined;
2643
3610
  };
2644
- issuanceDate: string;
2645
3611
  credentialSubject: {
2646
3612
  [x: string]: any;
2647
3613
  id?: string | undefined;
@@ -2871,8 +3837,6 @@ export declare const VPValidator: z.ZodObject<z.extendShape<{
2871
3837
  familyNamePrefix?: string | undefined;
2872
3838
  dateOfBirth?: string | undefined;
2873
3839
  }>]>;
2874
- issuanceDate: z.ZodString;
2875
- expirationDate: z.ZodOptional<z.ZodString>;
2876
3840
  credentialSubject: z.ZodUnion<[z.ZodObject<{
2877
3841
  id: z.ZodOptional<z.ZodString>;
2878
3842
  }, "strip", z.ZodAny, {
@@ -2890,9 +3854,32 @@ export declare const VPValidator: z.ZodObject<z.extendShape<{
2890
3854
  [x: string]: any;
2891
3855
  id?: string | undefined;
2892
3856
  }>, "many">]>;
2893
- credentialStatus: z.ZodOptional<z.ZodObject<{
3857
+ refreshService: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
3858
+ id: z.ZodOptional<z.ZodString>;
2894
3859
  type: z.ZodString;
3860
+ }, "strip", z.ZodAny, {
3861
+ [x: string]: any;
3862
+ id?: string | undefined;
3863
+ type: string;
3864
+ }, {
3865
+ [x: string]: any;
3866
+ id?: string | undefined;
3867
+ type: string;
3868
+ }>, z.ZodArray<z.ZodObject<{
3869
+ id: z.ZodOptional<z.ZodString>;
3870
+ type: z.ZodString;
3871
+ }, "strip", z.ZodAny, {
3872
+ [x: string]: any;
3873
+ id?: string | undefined;
3874
+ type: string;
3875
+ }, {
3876
+ [x: string]: any;
3877
+ id?: string | undefined;
3878
+ type: string;
3879
+ }>, "many">]>>;
3880
+ credentialSchema: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
2895
3881
  id: z.ZodString;
3882
+ type: z.ZodString;
2896
3883
  }, "strip", z.ZodAny, {
2897
3884
  [x: string]: any;
2898
3885
  type: string;
@@ -2901,31 +3888,116 @@ export declare const VPValidator: z.ZodObject<z.extendShape<{
2901
3888
  [x: string]: any;
2902
3889
  type: string;
2903
3890
  id: string;
2904
- }>>;
2905
- credentialSchema: z.ZodOptional<z.ZodArray<z.ZodObject<{
3891
+ }>, z.ZodArray<z.ZodObject<{
3892
+ id: z.ZodString;
3893
+ type: z.ZodString;
3894
+ }, "strip", z.ZodAny, {
3895
+ [x: string]: any;
3896
+ type: string;
3897
+ id: string;
3898
+ }, {
3899
+ [x: string]: any;
3900
+ type: string;
3901
+ id: string;
3902
+ }>, "many">]>>;
3903
+ issuanceDate: z.ZodOptional<z.ZodString>;
3904
+ expirationDate: z.ZodOptional<z.ZodString>;
3905
+ credentialStatus: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
3906
+ type: z.ZodString;
3907
+ id: z.ZodString;
3908
+ }, "strip", z.ZodAny, {
3909
+ [x: string]: any;
3910
+ type: string;
3911
+ id: string;
3912
+ }, {
3913
+ [x: string]: any;
3914
+ type: string;
3915
+ id: string;
3916
+ }>, z.ZodArray<z.ZodObject<{
3917
+ type: z.ZodString;
3918
+ id: z.ZodString;
3919
+ }, "strip", z.ZodAny, {
3920
+ [x: string]: any;
3921
+ type: string;
3922
+ id: string;
3923
+ }, {
3924
+ [x: string]: any;
3925
+ type: string;
3926
+ id: string;
3927
+ }>, "many">]>>;
3928
+ name: z.ZodOptional<z.ZodString>;
3929
+ description: z.ZodOptional<z.ZodString>;
3930
+ validFrom: z.ZodOptional<z.ZodString>;
3931
+ validUntil: z.ZodOptional<z.ZodString>;
3932
+ status: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
3933
+ type: z.ZodString;
2906
3934
  id: z.ZodString;
3935
+ }, "strip", z.ZodAny, {
3936
+ [x: string]: any;
3937
+ type: string;
3938
+ id: string;
3939
+ }, {
3940
+ [x: string]: any;
3941
+ type: string;
3942
+ id: string;
3943
+ }>, z.ZodArray<z.ZodObject<{
2907
3944
  type: z.ZodString;
3945
+ id: z.ZodString;
2908
3946
  }, "strip", z.ZodAny, {
2909
3947
  [x: string]: any;
2910
3948
  type: string;
2911
3949
  id: string;
2912
3950
  }, {
2913
3951
  [x: string]: any;
2914
- type: string;
2915
- id: string;
2916
- }>, "many">>;
2917
- refreshService: z.ZodOptional<z.ZodObject<{
2918
- id: z.ZodString;
2919
- type: z.ZodString;
3952
+ type: string;
3953
+ id: string;
3954
+ }>, "many">]>>;
3955
+ termsOfUse: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
3956
+ type: z.ZodString;
3957
+ id: z.ZodOptional<z.ZodString>;
3958
+ }, "strip", z.ZodAny, {
3959
+ [x: string]: any;
3960
+ id?: string | undefined;
3961
+ type: string;
3962
+ }, {
3963
+ [x: string]: any;
3964
+ id?: string | undefined;
3965
+ type: string;
3966
+ }>, z.ZodArray<z.ZodObject<{
3967
+ type: z.ZodString;
3968
+ id: z.ZodOptional<z.ZodString>;
3969
+ }, "strip", z.ZodAny, {
3970
+ [x: string]: any;
3971
+ id?: string | undefined;
3972
+ type: string;
3973
+ }, {
3974
+ [x: string]: any;
3975
+ id?: string | undefined;
3976
+ type: string;
3977
+ }>, "many">]>>;
3978
+ evidence: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
3979
+ type: z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "atleastone">]>;
3980
+ id: z.ZodOptional<z.ZodString>;
3981
+ }, "strip", z.ZodAny, {
3982
+ [x: string]: any;
3983
+ id?: string | undefined;
3984
+ type: string | [string, ...string[]];
3985
+ }, {
3986
+ [x: string]: any;
3987
+ id?: string | undefined;
3988
+ type: string | [string, ...string[]];
3989
+ }>, z.ZodArray<z.ZodObject<{
3990
+ type: z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "atleastone">]>;
3991
+ id: z.ZodOptional<z.ZodString>;
2920
3992
  }, "strip", z.ZodAny, {
2921
3993
  [x: string]: any;
2922
- type: string;
2923
- id: string;
3994
+ id?: string | undefined;
3995
+ type: string | [string, ...string[]];
2924
3996
  }, {
2925
3997
  [x: string]: any;
2926
- type: string;
2927
- id: string;
2928
- }>>;
3998
+ id?: string | undefined;
3999
+ type: string | [string, ...string[]];
4000
+ }>, "many">]>>;
2929
4001
  }, {
2930
4002
  proof: z.ZodUnion<[z.ZodObject<{
2931
4003
  type: z.ZodString;
@@ -2988,23 +4060,67 @@ export declare const VPValidator: z.ZodObject<z.extendShape<{
2988
4060
  }>, "many">]>;
2989
4061
  }>, "strip", z.ZodAny, {
2990
4062
  [x: string]: any;
4063
+ status?: {
4064
+ [x: string]: any;
4065
+ type: string;
4066
+ id: string;
4067
+ } | {
4068
+ [x: string]: any;
4069
+ type: string;
4070
+ id: string;
4071
+ }[] | undefined;
2991
4072
  id?: string | undefined;
4073
+ name?: string | undefined;
4074
+ description?: string | undefined;
4075
+ refreshService?: {
4076
+ [x: string]: any;
4077
+ id?: string | undefined;
4078
+ type: string;
4079
+ } | {
4080
+ [x: string]: any;
4081
+ id?: string | undefined;
4082
+ type: string;
4083
+ }[] | undefined;
4084
+ credentialSchema?: {
4085
+ [x: string]: any;
4086
+ type: string;
4087
+ id: string;
4088
+ } | {
4089
+ [x: string]: any;
4090
+ type: string;
4091
+ id: string;
4092
+ }[] | undefined;
4093
+ issuanceDate?: string | undefined;
2992
4094
  expirationDate?: string | undefined;
2993
4095
  credentialStatus?: {
2994
4096
  [x: string]: any;
2995
4097
  type: string;
2996
4098
  id: string;
2997
- } | undefined;
2998
- credentialSchema?: {
4099
+ } | {
2999
4100
  [x: string]: any;
3000
4101
  type: string;
3001
4102
  id: string;
3002
4103
  }[] | undefined;
3003
- refreshService?: {
4104
+ validFrom?: string | undefined;
4105
+ validUntil?: string | undefined;
4106
+ termsOfUse?: {
3004
4107
  [x: string]: any;
4108
+ id?: string | undefined;
3005
4109
  type: string;
3006
- id: string;
3007
- } | undefined;
4110
+ } | {
4111
+ [x: string]: any;
4112
+ id?: string | undefined;
4113
+ type: string;
4114
+ }[] | undefined;
4115
+ evidence?: {
4116
+ [x: string]: any;
4117
+ id?: string | undefined;
4118
+ type: string | [string, ...string[]];
4119
+ } | {
4120
+ [x: string]: any;
4121
+ id?: string | undefined;
4122
+ type: string | [string, ...string[]];
4123
+ }[] | undefined;
3008
4124
  type: [string, ...string[]];
3009
4125
  '@context': (string | Record<string, any>)[];
3010
4126
  issuer: string | {
@@ -3053,7 +4169,6 @@ export declare const VPValidator: z.ZodObject<z.extendShape<{
3053
4169
  familyNamePrefix?: string | undefined;
3054
4170
  dateOfBirth?: string | undefined;
3055
4171
  };
3056
- issuanceDate: string;
3057
4172
  credentialSubject: {
3058
4173
  [x: string]: any;
3059
4174
  id?: string | undefined;
@@ -3084,23 +4199,67 @@ export declare const VPValidator: z.ZodObject<z.extendShape<{
3084
4199
  }[];
3085
4200
  }, {
3086
4201
  [x: string]: any;
4202
+ status?: {
4203
+ [x: string]: any;
4204
+ type: string;
4205
+ id: string;
4206
+ } | {
4207
+ [x: string]: any;
4208
+ type: string;
4209
+ id: string;
4210
+ }[] | undefined;
3087
4211
  id?: string | undefined;
4212
+ name?: string | undefined;
4213
+ description?: string | undefined;
4214
+ refreshService?: {
4215
+ [x: string]: any;
4216
+ id?: string | undefined;
4217
+ type: string;
4218
+ } | {
4219
+ [x: string]: any;
4220
+ id?: string | undefined;
4221
+ type: string;
4222
+ }[] | undefined;
4223
+ credentialSchema?: {
4224
+ [x: string]: any;
4225
+ type: string;
4226
+ id: string;
4227
+ } | {
4228
+ [x: string]: any;
4229
+ type: string;
4230
+ id: string;
4231
+ }[] | undefined;
4232
+ issuanceDate?: string | undefined;
3088
4233
  expirationDate?: string | undefined;
3089
4234
  credentialStatus?: {
3090
4235
  [x: string]: any;
3091
4236
  type: string;
3092
4237
  id: string;
3093
- } | undefined;
3094
- credentialSchema?: {
4238
+ } | {
3095
4239
  [x: string]: any;
3096
4240
  type: string;
3097
4241
  id: string;
3098
4242
  }[] | undefined;
3099
- refreshService?: {
4243
+ validFrom?: string | undefined;
4244
+ validUntil?: string | undefined;
4245
+ termsOfUse?: {
3100
4246
  [x: string]: any;
4247
+ id?: string | undefined;
3101
4248
  type: string;
3102
- id: string;
3103
- } | undefined;
4249
+ } | {
4250
+ [x: string]: any;
4251
+ id?: string | undefined;
4252
+ type: string;
4253
+ }[] | undefined;
4254
+ evidence?: {
4255
+ [x: string]: any;
4256
+ id?: string | undefined;
4257
+ type: string | [string, ...string[]];
4258
+ } | {
4259
+ [x: string]: any;
4260
+ id?: string | undefined;
4261
+ type: string | [string, ...string[]];
4262
+ }[] | undefined;
3104
4263
  type: [string, ...string[]];
3105
4264
  '@context': (string | Record<string, any>)[];
3106
4265
  issuer: string | {
@@ -3149,7 +4308,6 @@ export declare const VPValidator: z.ZodObject<z.extendShape<{
3149
4308
  familyNamePrefix?: string | undefined;
3150
4309
  dateOfBirth?: string | undefined;
3151
4310
  };
3152
- issuanceDate: string;
3153
4311
  credentialSubject: {
3154
4312
  [x: string]: any;
3155
4313
  id?: string | undefined;
@@ -3369,8 +4527,6 @@ export declare const VPValidator: z.ZodObject<z.extendShape<{
3369
4527
  familyNamePrefix?: string | undefined;
3370
4528
  dateOfBirth?: string | undefined;
3371
4529
  }>]>;
3372
- issuanceDate: z.ZodString;
3373
- expirationDate: z.ZodOptional<z.ZodString>;
3374
4530
  credentialSubject: z.ZodUnion<[z.ZodObject<{
3375
4531
  id: z.ZodOptional<z.ZodString>;
3376
4532
  }, "strip", z.ZodAny, {
@@ -3388,9 +4544,32 @@ export declare const VPValidator: z.ZodObject<z.extendShape<{
3388
4544
  [x: string]: any;
3389
4545
  id?: string | undefined;
3390
4546
  }>, "many">]>;
3391
- credentialStatus: z.ZodOptional<z.ZodObject<{
4547
+ refreshService: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
4548
+ id: z.ZodOptional<z.ZodString>;
4549
+ type: z.ZodString;
4550
+ }, "strip", z.ZodAny, {
4551
+ [x: string]: any;
4552
+ id?: string | undefined;
4553
+ type: string;
4554
+ }, {
4555
+ [x: string]: any;
4556
+ id?: string | undefined;
4557
+ type: string;
4558
+ }>, z.ZodArray<z.ZodObject<{
4559
+ id: z.ZodOptional<z.ZodString>;
3392
4560
  type: z.ZodString;
4561
+ }, "strip", z.ZodAny, {
4562
+ [x: string]: any;
4563
+ id?: string | undefined;
4564
+ type: string;
4565
+ }, {
4566
+ [x: string]: any;
4567
+ id?: string | undefined;
4568
+ type: string;
4569
+ }>, "many">]>>;
4570
+ credentialSchema: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
3393
4571
  id: z.ZodString;
4572
+ type: z.ZodString;
3394
4573
  }, "strip", z.ZodAny, {
3395
4574
  [x: string]: any;
3396
4575
  type: string;
@@ -3399,8 +4578,7 @@ export declare const VPValidator: z.ZodObject<z.extendShape<{
3399
4578
  [x: string]: any;
3400
4579
  type: string;
3401
4580
  id: string;
3402
- }>>;
3403
- credentialSchema: z.ZodOptional<z.ZodArray<z.ZodObject<{
4581
+ }>, z.ZodArray<z.ZodObject<{
3404
4582
  id: z.ZodString;
3405
4583
  type: z.ZodString;
3406
4584
  }, "strip", z.ZodAny, {
@@ -3411,10 +4589,23 @@ export declare const VPValidator: z.ZodObject<z.extendShape<{
3411
4589
  [x: string]: any;
3412
4590
  type: string;
3413
4591
  id: string;
3414
- }>, "many">>;
3415
- refreshService: z.ZodOptional<z.ZodObject<{
4592
+ }>, "many">]>>;
4593
+ issuanceDate: z.ZodOptional<z.ZodString>;
4594
+ expirationDate: z.ZodOptional<z.ZodString>;
4595
+ credentialStatus: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
4596
+ type: z.ZodString;
3416
4597
  id: z.ZodString;
4598
+ }, "strip", z.ZodAny, {
4599
+ [x: string]: any;
4600
+ type: string;
4601
+ id: string;
4602
+ }, {
4603
+ [x: string]: any;
4604
+ type: string;
4605
+ id: string;
4606
+ }>, z.ZodArray<z.ZodObject<{
3417
4607
  type: z.ZodString;
4608
+ id: z.ZodString;
3418
4609
  }, "strip", z.ZodAny, {
3419
4610
  [x: string]: any;
3420
4611
  type: string;
@@ -3423,7 +4614,80 @@ export declare const VPValidator: z.ZodObject<z.extendShape<{
3423
4614
  [x: string]: any;
3424
4615
  type: string;
3425
4616
  id: string;
3426
- }>>;
4617
+ }>, "many">]>>;
4618
+ name: z.ZodOptional<z.ZodString>;
4619
+ description: z.ZodOptional<z.ZodString>;
4620
+ validFrom: z.ZodOptional<z.ZodString>;
4621
+ validUntil: z.ZodOptional<z.ZodString>;
4622
+ status: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
4623
+ type: z.ZodString;
4624
+ id: z.ZodString;
4625
+ }, "strip", z.ZodAny, {
4626
+ [x: string]: any;
4627
+ type: string;
4628
+ id: string;
4629
+ }, {
4630
+ [x: string]: any;
4631
+ type: string;
4632
+ id: string;
4633
+ }>, z.ZodArray<z.ZodObject<{
4634
+ type: z.ZodString;
4635
+ id: z.ZodString;
4636
+ }, "strip", z.ZodAny, {
4637
+ [x: string]: any;
4638
+ type: string;
4639
+ id: string;
4640
+ }, {
4641
+ [x: string]: any;
4642
+ type: string;
4643
+ id: string;
4644
+ }>, "many">]>>;
4645
+ termsOfUse: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
4646
+ type: z.ZodString;
4647
+ id: z.ZodOptional<z.ZodString>;
4648
+ }, "strip", z.ZodAny, {
4649
+ [x: string]: any;
4650
+ id?: string | undefined;
4651
+ type: string;
4652
+ }, {
4653
+ [x: string]: any;
4654
+ id?: string | undefined;
4655
+ type: string;
4656
+ }>, z.ZodArray<z.ZodObject<{
4657
+ type: z.ZodString;
4658
+ id: z.ZodOptional<z.ZodString>;
4659
+ }, "strip", z.ZodAny, {
4660
+ [x: string]: any;
4661
+ id?: string | undefined;
4662
+ type: string;
4663
+ }, {
4664
+ [x: string]: any;
4665
+ id?: string | undefined;
4666
+ type: string;
4667
+ }>, "many">]>>;
4668
+ evidence: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
4669
+ type: z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "atleastone">]>;
4670
+ id: z.ZodOptional<z.ZodString>;
4671
+ }, "strip", z.ZodAny, {
4672
+ [x: string]: any;
4673
+ id?: string | undefined;
4674
+ type: string | [string, ...string[]];
4675
+ }, {
4676
+ [x: string]: any;
4677
+ id?: string | undefined;
4678
+ type: string | [string, ...string[]];
4679
+ }>, z.ZodArray<z.ZodObject<{
4680
+ type: z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "atleastone">]>;
4681
+ id: z.ZodOptional<z.ZodString>;
4682
+ }, "strip", z.ZodAny, {
4683
+ [x: string]: any;
4684
+ id?: string | undefined;
4685
+ type: string | [string, ...string[]];
4686
+ }, {
4687
+ [x: string]: any;
4688
+ id?: string | undefined;
4689
+ type: string | [string, ...string[]];
4690
+ }>, "many">]>>;
3427
4691
  }, {
3428
4692
  proof: z.ZodUnion<[z.ZodObject<{
3429
4693
  type: z.ZodString;
@@ -3486,23 +4750,67 @@ export declare const VPValidator: z.ZodObject<z.extendShape<{
3486
4750
  }>, "many">]>;
3487
4751
  }>, "strip", z.ZodAny, {
3488
4752
  [x: string]: any;
4753
+ status?: {
4754
+ [x: string]: any;
4755
+ type: string;
4756
+ id: string;
4757
+ } | {
4758
+ [x: string]: any;
4759
+ type: string;
4760
+ id: string;
4761
+ }[] | undefined;
3489
4762
  id?: string | undefined;
4763
+ name?: string | undefined;
4764
+ description?: string | undefined;
4765
+ refreshService?: {
4766
+ [x: string]: any;
4767
+ id?: string | undefined;
4768
+ type: string;
4769
+ } | {
4770
+ [x: string]: any;
4771
+ id?: string | undefined;
4772
+ type: string;
4773
+ }[] | undefined;
4774
+ credentialSchema?: {
4775
+ [x: string]: any;
4776
+ type: string;
4777
+ id: string;
4778
+ } | {
4779
+ [x: string]: any;
4780
+ type: string;
4781
+ id: string;
4782
+ }[] | undefined;
4783
+ issuanceDate?: string | undefined;
3490
4784
  expirationDate?: string | undefined;
3491
4785
  credentialStatus?: {
3492
4786
  [x: string]: any;
3493
4787
  type: string;
3494
4788
  id: string;
3495
- } | undefined;
3496
- credentialSchema?: {
4789
+ } | {
4790
+ [x: string]: any;
4791
+ type: string;
4792
+ id: string;
4793
+ }[] | undefined;
4794
+ validFrom?: string | undefined;
4795
+ validUntil?: string | undefined;
4796
+ termsOfUse?: {
4797
+ [x: string]: any;
4798
+ id?: string | undefined;
4799
+ type: string;
4800
+ } | {
3497
4801
  [x: string]: any;
4802
+ id?: string | undefined;
3498
4803
  type: string;
3499
- id: string;
3500
4804
  }[] | undefined;
3501
- refreshService?: {
4805
+ evidence?: {
3502
4806
  [x: string]: any;
3503
- type: string;
3504
- id: string;
3505
- } | undefined;
4807
+ id?: string | undefined;
4808
+ type: string | [string, ...string[]];
4809
+ } | {
4810
+ [x: string]: any;
4811
+ id?: string | undefined;
4812
+ type: string | [string, ...string[]];
4813
+ }[] | undefined;
3506
4814
  type: [string, ...string[]];
3507
4815
  '@context': (string | Record<string, any>)[];
3508
4816
  issuer: string | {
@@ -3551,7 +4859,6 @@ export declare const VPValidator: z.ZodObject<z.extendShape<{
3551
4859
  familyNamePrefix?: string | undefined;
3552
4860
  dateOfBirth?: string | undefined;
3553
4861
  };
3554
- issuanceDate: string;
3555
4862
  credentialSubject: {
3556
4863
  [x: string]: any;
3557
4864
  id?: string | undefined;
@@ -3582,23 +4889,67 @@ export declare const VPValidator: z.ZodObject<z.extendShape<{
3582
4889
  }[];
3583
4890
  }, {
3584
4891
  [x: string]: any;
4892
+ status?: {
4893
+ [x: string]: any;
4894
+ type: string;
4895
+ id: string;
4896
+ } | {
4897
+ [x: string]: any;
4898
+ type: string;
4899
+ id: string;
4900
+ }[] | undefined;
3585
4901
  id?: string | undefined;
4902
+ name?: string | undefined;
4903
+ description?: string | undefined;
4904
+ refreshService?: {
4905
+ [x: string]: any;
4906
+ id?: string | undefined;
4907
+ type: string;
4908
+ } | {
4909
+ [x: string]: any;
4910
+ id?: string | undefined;
4911
+ type: string;
4912
+ }[] | undefined;
4913
+ credentialSchema?: {
4914
+ [x: string]: any;
4915
+ type: string;
4916
+ id: string;
4917
+ } | {
4918
+ [x: string]: any;
4919
+ type: string;
4920
+ id: string;
4921
+ }[] | undefined;
4922
+ issuanceDate?: string | undefined;
3586
4923
  expirationDate?: string | undefined;
3587
4924
  credentialStatus?: {
3588
4925
  [x: string]: any;
3589
4926
  type: string;
3590
4927
  id: string;
3591
- } | undefined;
3592
- credentialSchema?: {
4928
+ } | {
3593
4929
  [x: string]: any;
3594
4930
  type: string;
3595
4931
  id: string;
3596
4932
  }[] | undefined;
3597
- refreshService?: {
4933
+ validFrom?: string | undefined;
4934
+ validUntil?: string | undefined;
4935
+ termsOfUse?: {
3598
4936
  [x: string]: any;
4937
+ id?: string | undefined;
3599
4938
  type: string;
3600
- id: string;
3601
- } | undefined;
4939
+ } | {
4940
+ [x: string]: any;
4941
+ id?: string | undefined;
4942
+ type: string;
4943
+ }[] | undefined;
4944
+ evidence?: {
4945
+ [x: string]: any;
4946
+ id?: string | undefined;
4947
+ type: string | [string, ...string[]];
4948
+ } | {
4949
+ [x: string]: any;
4950
+ id?: string | undefined;
4951
+ type: string | [string, ...string[]];
4952
+ }[] | undefined;
3602
4953
  type: [string, ...string[]];
3603
4954
  '@context': (string | Record<string, any>)[];
3604
4955
  issuer: string | {
@@ -3647,7 +4998,6 @@ export declare const VPValidator: z.ZodObject<z.extendShape<{
3647
4998
  familyNamePrefix?: string | undefined;
3648
4999
  dateOfBirth?: string | undefined;
3649
5000
  };
3650
- issuanceDate: string;
3651
5001
  credentialSubject: {
3652
5002
  [x: string]: any;
3653
5003
  id?: string | undefined;
@@ -3743,23 +5093,67 @@ export declare const VPValidator: z.ZodObject<z.extendShape<{
3743
5093
  id?: string | undefined;
3744
5094
  verifiableCredential?: {
3745
5095
  [x: string]: any;
5096
+ status?: {
5097
+ [x: string]: any;
5098
+ type: string;
5099
+ id: string;
5100
+ } | {
5101
+ [x: string]: any;
5102
+ type: string;
5103
+ id: string;
5104
+ }[] | undefined;
3746
5105
  id?: string | undefined;
5106
+ name?: string | undefined;
5107
+ description?: string | undefined;
5108
+ refreshService?: {
5109
+ [x: string]: any;
5110
+ id?: string | undefined;
5111
+ type: string;
5112
+ } | {
5113
+ [x: string]: any;
5114
+ id?: string | undefined;
5115
+ type: string;
5116
+ }[] | undefined;
5117
+ credentialSchema?: {
5118
+ [x: string]: any;
5119
+ type: string;
5120
+ id: string;
5121
+ } | {
5122
+ [x: string]: any;
5123
+ type: string;
5124
+ id: string;
5125
+ }[] | undefined;
5126
+ issuanceDate?: string | undefined;
3747
5127
  expirationDate?: string | undefined;
3748
5128
  credentialStatus?: {
3749
5129
  [x: string]: any;
3750
5130
  type: string;
3751
5131
  id: string;
3752
- } | undefined;
3753
- credentialSchema?: {
5132
+ } | {
3754
5133
  [x: string]: any;
3755
5134
  type: string;
3756
5135
  id: string;
3757
5136
  }[] | undefined;
3758
- refreshService?: {
5137
+ validFrom?: string | undefined;
5138
+ validUntil?: string | undefined;
5139
+ termsOfUse?: {
3759
5140
  [x: string]: any;
5141
+ id?: string | undefined;
3760
5142
  type: string;
3761
- id: string;
3762
- } | undefined;
5143
+ } | {
5144
+ [x: string]: any;
5145
+ id?: string | undefined;
5146
+ type: string;
5147
+ }[] | undefined;
5148
+ evidence?: {
5149
+ [x: string]: any;
5150
+ id?: string | undefined;
5151
+ type: string | [string, ...string[]];
5152
+ } | {
5153
+ [x: string]: any;
5154
+ id?: string | undefined;
5155
+ type: string | [string, ...string[]];
5156
+ }[] | undefined;
3763
5157
  type: [string, ...string[]];
3764
5158
  '@context': (string | Record<string, any>)[];
3765
5159
  issuer: string | {
@@ -3808,7 +5202,6 @@ export declare const VPValidator: z.ZodObject<z.extendShape<{
3808
5202
  familyNamePrefix?: string | undefined;
3809
5203
  dateOfBirth?: string | undefined;
3810
5204
  };
3811
- issuanceDate: string;
3812
5205
  credentialSubject: {
3813
5206
  [x: string]: any;
3814
5207
  id?: string | undefined;
@@ -3839,23 +5232,67 @@ export declare const VPValidator: z.ZodObject<z.extendShape<{
3839
5232
  }[];
3840
5233
  } | {
3841
5234
  [x: string]: any;
5235
+ status?: {
5236
+ [x: string]: any;
5237
+ type: string;
5238
+ id: string;
5239
+ } | {
5240
+ [x: string]: any;
5241
+ type: string;
5242
+ id: string;
5243
+ }[] | undefined;
3842
5244
  id?: string | undefined;
5245
+ name?: string | undefined;
5246
+ description?: string | undefined;
5247
+ refreshService?: {
5248
+ [x: string]: any;
5249
+ id?: string | undefined;
5250
+ type: string;
5251
+ } | {
5252
+ [x: string]: any;
5253
+ id?: string | undefined;
5254
+ type: string;
5255
+ }[] | undefined;
5256
+ credentialSchema?: {
5257
+ [x: string]: any;
5258
+ type: string;
5259
+ id: string;
5260
+ } | {
5261
+ [x: string]: any;
5262
+ type: string;
5263
+ id: string;
5264
+ }[] | undefined;
5265
+ issuanceDate?: string | undefined;
3843
5266
  expirationDate?: string | undefined;
3844
5267
  credentialStatus?: {
3845
5268
  [x: string]: any;
3846
5269
  type: string;
3847
5270
  id: string;
3848
- } | undefined;
3849
- credentialSchema?: {
5271
+ } | {
3850
5272
  [x: string]: any;
3851
5273
  type: string;
3852
5274
  id: string;
3853
5275
  }[] | undefined;
3854
- refreshService?: {
5276
+ validFrom?: string | undefined;
5277
+ validUntil?: string | undefined;
5278
+ termsOfUse?: {
3855
5279
  [x: string]: any;
5280
+ id?: string | undefined;
3856
5281
  type: string;
3857
- id: string;
3858
- } | undefined;
5282
+ } | {
5283
+ [x: string]: any;
5284
+ id?: string | undefined;
5285
+ type: string;
5286
+ }[] | undefined;
5287
+ evidence?: {
5288
+ [x: string]: any;
5289
+ id?: string | undefined;
5290
+ type: string | [string, ...string[]];
5291
+ } | {
5292
+ [x: string]: any;
5293
+ id?: string | undefined;
5294
+ type: string | [string, ...string[]];
5295
+ }[] | undefined;
3859
5296
  type: [string, ...string[]];
3860
5297
  '@context': (string | Record<string, any>)[];
3861
5298
  issuer: string | {
@@ -3904,7 +5341,6 @@ export declare const VPValidator: z.ZodObject<z.extendShape<{
3904
5341
  familyNamePrefix?: string | undefined;
3905
5342
  dateOfBirth?: string | undefined;
3906
5343
  };
3907
- issuanceDate: string;
3908
5344
  credentialSubject: {
3909
5345
  [x: string]: any;
3910
5346
  id?: string | undefined;
@@ -3963,23 +5399,67 @@ export declare const VPValidator: z.ZodObject<z.extendShape<{
3963
5399
  id?: string | undefined;
3964
5400
  verifiableCredential?: {
3965
5401
  [x: string]: any;
5402
+ status?: {
5403
+ [x: string]: any;
5404
+ type: string;
5405
+ id: string;
5406
+ } | {
5407
+ [x: string]: any;
5408
+ type: string;
5409
+ id: string;
5410
+ }[] | undefined;
3966
5411
  id?: string | undefined;
5412
+ name?: string | undefined;
5413
+ description?: string | undefined;
5414
+ refreshService?: {
5415
+ [x: string]: any;
5416
+ id?: string | undefined;
5417
+ type: string;
5418
+ } | {
5419
+ [x: string]: any;
5420
+ id?: string | undefined;
5421
+ type: string;
5422
+ }[] | undefined;
5423
+ credentialSchema?: {
5424
+ [x: string]: any;
5425
+ type: string;
5426
+ id: string;
5427
+ } | {
5428
+ [x: string]: any;
5429
+ type: string;
5430
+ id: string;
5431
+ }[] | undefined;
5432
+ issuanceDate?: string | undefined;
3967
5433
  expirationDate?: string | undefined;
3968
5434
  credentialStatus?: {
3969
5435
  [x: string]: any;
3970
5436
  type: string;
3971
5437
  id: string;
3972
- } | undefined;
3973
- credentialSchema?: {
5438
+ } | {
3974
5439
  [x: string]: any;
3975
5440
  type: string;
3976
5441
  id: string;
3977
5442
  }[] | undefined;
3978
- refreshService?: {
5443
+ validFrom?: string | undefined;
5444
+ validUntil?: string | undefined;
5445
+ termsOfUse?: {
3979
5446
  [x: string]: any;
5447
+ id?: string | undefined;
3980
5448
  type: string;
3981
- id: string;
3982
- } | undefined;
5449
+ } | {
5450
+ [x: string]: any;
5451
+ id?: string | undefined;
5452
+ type: string;
5453
+ }[] | undefined;
5454
+ evidence?: {
5455
+ [x: string]: any;
5456
+ id?: string | undefined;
5457
+ type: string | [string, ...string[]];
5458
+ } | {
5459
+ [x: string]: any;
5460
+ id?: string | undefined;
5461
+ type: string | [string, ...string[]];
5462
+ }[] | undefined;
3983
5463
  type: [string, ...string[]];
3984
5464
  '@context': (string | Record<string, any>)[];
3985
5465
  issuer: string | {
@@ -4028,7 +5508,6 @@ export declare const VPValidator: z.ZodObject<z.extendShape<{
4028
5508
  familyNamePrefix?: string | undefined;
4029
5509
  dateOfBirth?: string | undefined;
4030
5510
  };
4031
- issuanceDate: string;
4032
5511
  credentialSubject: {
4033
5512
  [x: string]: any;
4034
5513
  id?: string | undefined;
@@ -4059,23 +5538,67 @@ export declare const VPValidator: z.ZodObject<z.extendShape<{
4059
5538
  }[];
4060
5539
  } | {
4061
5540
  [x: string]: any;
5541
+ status?: {
5542
+ [x: string]: any;
5543
+ type: string;
5544
+ id: string;
5545
+ } | {
5546
+ [x: string]: any;
5547
+ type: string;
5548
+ id: string;
5549
+ }[] | undefined;
4062
5550
  id?: string | undefined;
5551
+ name?: string | undefined;
5552
+ description?: string | undefined;
5553
+ refreshService?: {
5554
+ [x: string]: any;
5555
+ id?: string | undefined;
5556
+ type: string;
5557
+ } | {
5558
+ [x: string]: any;
5559
+ id?: string | undefined;
5560
+ type: string;
5561
+ }[] | undefined;
5562
+ credentialSchema?: {
5563
+ [x: string]: any;
5564
+ type: string;
5565
+ id: string;
5566
+ } | {
5567
+ [x: string]: any;
5568
+ type: string;
5569
+ id: string;
5570
+ }[] | undefined;
5571
+ issuanceDate?: string | undefined;
4063
5572
  expirationDate?: string | undefined;
4064
5573
  credentialStatus?: {
4065
5574
  [x: string]: any;
4066
5575
  type: string;
4067
5576
  id: string;
4068
- } | undefined;
4069
- credentialSchema?: {
5577
+ } | {
4070
5578
  [x: string]: any;
4071
5579
  type: string;
4072
5580
  id: string;
4073
5581
  }[] | undefined;
4074
- refreshService?: {
5582
+ validFrom?: string | undefined;
5583
+ validUntil?: string | undefined;
5584
+ termsOfUse?: {
4075
5585
  [x: string]: any;
5586
+ id?: string | undefined;
4076
5587
  type: string;
4077
- id: string;
4078
- } | undefined;
5588
+ } | {
5589
+ [x: string]: any;
5590
+ id?: string | undefined;
5591
+ type: string;
5592
+ }[] | undefined;
5593
+ evidence?: {
5594
+ [x: string]: any;
5595
+ id?: string | undefined;
5596
+ type: string | [string, ...string[]];
5597
+ } | {
5598
+ [x: string]: any;
5599
+ id?: string | undefined;
5600
+ type: string | [string, ...string[]];
5601
+ }[] | undefined;
4079
5602
  type: [string, ...string[]];
4080
5603
  '@context': (string | Record<string, any>)[];
4081
5604
  issuer: string | {
@@ -4124,7 +5647,6 @@ export declare const VPValidator: z.ZodObject<z.extendShape<{
4124
5647
  familyNamePrefix?: string | undefined;
4125
5648
  dateOfBirth?: string | undefined;
4126
5649
  };
4127
- issuanceDate: string;
4128
5650
  credentialSubject: {
4129
5651
  [x: string]: any;
4130
5652
  id?: string | undefined;