@learncard/types 5.6.10 → 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/obv3.d.ts CHANGED
@@ -249,8 +249,6 @@ export declare const EndorsementCredentialValidator: z.ZodObject<z.extendShape<{
249
249
  familyNamePrefix?: string | undefined;
250
250
  dateOfBirth?: string | undefined;
251
251
  }>]>;
252
- issuanceDate: z.ZodString;
253
- expirationDate: z.ZodOptional<z.ZodString>;
254
252
  credentialSubject: z.ZodUnion<[z.ZodObject<{
255
253
  id: z.ZodOptional<z.ZodString>;
256
254
  }, "strip", z.ZodAny, {
@@ -268,9 +266,32 @@ export declare const EndorsementCredentialValidator: z.ZodObject<z.extendShape<{
268
266
  [x: string]: any;
269
267
  id?: string | undefined;
270
268
  }>, "many">]>;
271
- credentialStatus: z.ZodOptional<z.ZodObject<{
269
+ refreshService: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
270
+ id: z.ZodOptional<z.ZodString>;
271
+ type: z.ZodString;
272
+ }, "strip", z.ZodAny, {
273
+ [x: string]: any;
274
+ id?: string | undefined;
275
+ type: string;
276
+ }, {
277
+ [x: string]: any;
278
+ id?: string | undefined;
279
+ type: string;
280
+ }>, z.ZodArray<z.ZodObject<{
281
+ id: z.ZodOptional<z.ZodString>;
272
282
  type: z.ZodString;
283
+ }, "strip", z.ZodAny, {
284
+ [x: string]: any;
285
+ id?: string | undefined;
286
+ type: string;
287
+ }, {
288
+ [x: string]: any;
289
+ id?: string | undefined;
290
+ type: string;
291
+ }>, "many">]>>;
292
+ credentialSchema: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
273
293
  id: z.ZodString;
294
+ type: z.ZodString;
274
295
  }, "strip", z.ZodAny, {
275
296
  [x: string]: any;
276
297
  type: string;
@@ -279,8 +300,7 @@ export declare const EndorsementCredentialValidator: z.ZodObject<z.extendShape<{
279
300
  [x: string]: any;
280
301
  type: string;
281
302
  id: string;
282
- }>>;
283
- credentialSchema: z.ZodOptional<z.ZodArray<z.ZodObject<{
303
+ }>, z.ZodArray<z.ZodObject<{
284
304
  id: z.ZodString;
285
305
  type: z.ZodString;
286
306
  }, "strip", z.ZodAny, {
@@ -291,10 +311,50 @@ export declare const EndorsementCredentialValidator: z.ZodObject<z.extendShape<{
291
311
  [x: string]: any;
292
312
  type: string;
293
313
  id: string;
294
- }>, "many">>;
295
- refreshService: z.ZodOptional<z.ZodObject<{
314
+ }>, "many">]>>;
315
+ issuanceDate: z.ZodOptional<z.ZodString>;
316
+ expirationDate: z.ZodOptional<z.ZodString>;
317
+ credentialStatus: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
318
+ type: z.ZodString;
319
+ id: z.ZodString;
320
+ }, "strip", z.ZodAny, {
321
+ [x: string]: any;
322
+ type: string;
323
+ id: string;
324
+ }, {
325
+ [x: string]: any;
326
+ type: string;
327
+ id: string;
328
+ }>, z.ZodArray<z.ZodObject<{
329
+ type: z.ZodString;
330
+ id: z.ZodString;
331
+ }, "strip", z.ZodAny, {
332
+ [x: string]: any;
333
+ type: string;
334
+ id: string;
335
+ }, {
336
+ [x: string]: any;
337
+ type: string;
338
+ id: string;
339
+ }>, "many">]>>;
340
+ name: z.ZodOptional<z.ZodString>;
341
+ description: z.ZodOptional<z.ZodString>;
342
+ validFrom: z.ZodOptional<z.ZodString>;
343
+ validUntil: z.ZodOptional<z.ZodString>;
344
+ status: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
345
+ type: z.ZodString;
296
346
  id: z.ZodString;
347
+ }, "strip", z.ZodAny, {
348
+ [x: string]: any;
349
+ type: string;
350
+ id: string;
351
+ }, {
352
+ [x: string]: any;
353
+ type: string;
354
+ id: string;
355
+ }>, z.ZodArray<z.ZodObject<{
297
356
  type: z.ZodString;
357
+ id: z.ZodString;
298
358
  }, "strip", z.ZodAny, {
299
359
  [x: string]: any;
300
360
  type: string;
@@ -303,7 +363,53 @@ export declare const EndorsementCredentialValidator: z.ZodObject<z.extendShape<{
303
363
  [x: string]: any;
304
364
  type: string;
305
365
  id: string;
306
- }>>;
366
+ }>, "many">]>>;
367
+ termsOfUse: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
368
+ type: z.ZodString;
369
+ id: z.ZodOptional<z.ZodString>;
370
+ }, "strip", z.ZodAny, {
371
+ [x: string]: any;
372
+ id?: string | undefined;
373
+ type: string;
374
+ }, {
375
+ [x: string]: any;
376
+ id?: string | undefined;
377
+ type: string;
378
+ }>, z.ZodArray<z.ZodObject<{
379
+ type: z.ZodString;
380
+ id: z.ZodOptional<z.ZodString>;
381
+ }, "strip", z.ZodAny, {
382
+ [x: string]: any;
383
+ id?: string | undefined;
384
+ type: string;
385
+ }, {
386
+ [x: string]: any;
387
+ id?: string | undefined;
388
+ type: string;
389
+ }>, "many">]>>;
390
+ evidence: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
391
+ type: z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "atleastone">]>;
392
+ id: z.ZodOptional<z.ZodString>;
393
+ }, "strip", z.ZodAny, {
394
+ [x: string]: any;
395
+ id?: string | undefined;
396
+ type: string | [string, ...string[]];
397
+ }, {
398
+ [x: string]: any;
399
+ id?: string | undefined;
400
+ type: string | [string, ...string[]];
401
+ }>, z.ZodArray<z.ZodObject<{
402
+ type: z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "atleastone">]>;
403
+ id: z.ZodOptional<z.ZodString>;
404
+ }, "strip", z.ZodAny, {
405
+ [x: string]: any;
406
+ id?: string | undefined;
407
+ type: string | [string, ...string[]];
408
+ }, {
409
+ [x: string]: any;
410
+ id?: string | undefined;
411
+ type: string | [string, ...string[]];
412
+ }>, "many">]>>;
307
413
  }, {
308
414
  credentialSubject: z.ZodObject<{
309
415
  id: z.ZodString;
@@ -379,23 +485,67 @@ export declare const EndorsementCredentialValidator: z.ZodObject<z.extendShape<{
379
485
  }>, "many">]>>;
380
486
  }>, "strip", z.ZodAny, {
381
487
  [x: string]: any;
488
+ status?: {
489
+ [x: string]: any;
490
+ type: string;
491
+ id: string;
492
+ } | {
493
+ [x: string]: any;
494
+ type: string;
495
+ id: string;
496
+ }[] | undefined;
382
497
  id?: string | undefined;
498
+ name?: string | undefined;
499
+ description?: string | undefined;
500
+ refreshService?: {
501
+ [x: string]: any;
502
+ id?: string | undefined;
503
+ type: string;
504
+ } | {
505
+ [x: string]: any;
506
+ id?: string | undefined;
507
+ type: string;
508
+ }[] | undefined;
509
+ credentialSchema?: {
510
+ [x: string]: any;
511
+ type: string;
512
+ id: string;
513
+ } | {
514
+ [x: string]: any;
515
+ type: string;
516
+ id: string;
517
+ }[] | undefined;
518
+ issuanceDate?: string | undefined;
383
519
  expirationDate?: string | undefined;
384
520
  credentialStatus?: {
385
521
  [x: string]: any;
386
522
  type: string;
387
523
  id: string;
388
- } | undefined;
389
- credentialSchema?: {
524
+ } | {
390
525
  [x: string]: any;
391
526
  type: string;
392
527
  id: string;
393
528
  }[] | undefined;
394
- refreshService?: {
529
+ validFrom?: string | undefined;
530
+ validUntil?: string | undefined;
531
+ termsOfUse?: {
395
532
  [x: string]: any;
533
+ id?: string | undefined;
396
534
  type: string;
397
- id: string;
398
- } | undefined;
535
+ } | {
536
+ [x: string]: any;
537
+ id?: string | undefined;
538
+ type: string;
539
+ }[] | undefined;
540
+ evidence?: {
541
+ [x: string]: any;
542
+ id?: string | undefined;
543
+ type: string | [string, ...string[]];
544
+ } | {
545
+ [x: string]: any;
546
+ id?: string | undefined;
547
+ type: string | [string, ...string[]];
548
+ }[] | undefined;
399
549
  proof?: {
400
550
  [x: string]: any;
401
551
  challenge?: string | undefined;
@@ -465,7 +615,6 @@ export declare const EndorsementCredentialValidator: z.ZodObject<z.extendShape<{
465
615
  familyNamePrefix?: string | undefined;
466
616
  dateOfBirth?: string | undefined;
467
617
  };
468
- issuanceDate: string;
469
618
  credentialSubject: {
470
619
  endorsementComment?: string | undefined;
471
620
  type: [string, ...string[]];
@@ -473,23 +622,67 @@ export declare const EndorsementCredentialValidator: z.ZodObject<z.extendShape<{
473
622
  };
474
623
  }, {
475
624
  [x: string]: any;
625
+ status?: {
626
+ [x: string]: any;
627
+ type: string;
628
+ id: string;
629
+ } | {
630
+ [x: string]: any;
631
+ type: string;
632
+ id: string;
633
+ }[] | undefined;
476
634
  id?: string | undefined;
635
+ name?: string | undefined;
636
+ description?: string | undefined;
637
+ refreshService?: {
638
+ [x: string]: any;
639
+ id?: string | undefined;
640
+ type: string;
641
+ } | {
642
+ [x: string]: any;
643
+ id?: string | undefined;
644
+ type: string;
645
+ }[] | undefined;
646
+ credentialSchema?: {
647
+ [x: string]: any;
648
+ type: string;
649
+ id: string;
650
+ } | {
651
+ [x: string]: any;
652
+ type: string;
653
+ id: string;
654
+ }[] | undefined;
655
+ issuanceDate?: string | undefined;
477
656
  expirationDate?: string | undefined;
478
657
  credentialStatus?: {
479
658
  [x: string]: any;
480
659
  type: string;
481
660
  id: string;
482
- } | undefined;
483
- credentialSchema?: {
661
+ } | {
484
662
  [x: string]: any;
485
663
  type: string;
486
664
  id: string;
487
665
  }[] | undefined;
488
- refreshService?: {
666
+ validFrom?: string | undefined;
667
+ validUntil?: string | undefined;
668
+ termsOfUse?: {
489
669
  [x: string]: any;
670
+ id?: string | undefined;
490
671
  type: string;
491
- id: string;
492
- } | undefined;
672
+ } | {
673
+ [x: string]: any;
674
+ id?: string | undefined;
675
+ type: string;
676
+ }[] | undefined;
677
+ evidence?: {
678
+ [x: string]: any;
679
+ id?: string | undefined;
680
+ type: string | [string, ...string[]];
681
+ } | {
682
+ [x: string]: any;
683
+ id?: string | undefined;
684
+ type: string | [string, ...string[]];
685
+ }[] | undefined;
493
686
  proof?: {
494
687
  [x: string]: any;
495
688
  challenge?: string | undefined;
@@ -559,7 +752,6 @@ export declare const EndorsementCredentialValidator: z.ZodObject<z.extendShape<{
559
752
  familyNamePrefix?: string | undefined;
560
753
  dateOfBirth?: string | undefined;
561
754
  };
562
- issuanceDate: string;
563
755
  credentialSubject: {
564
756
  endorsementComment?: string | undefined;
565
757
  type: [string, ...string[]];
@@ -1252,8 +1444,6 @@ export declare const AchievementValidator: z.ZodObject<{
1252
1444
  familyNamePrefix?: string | undefined;
1253
1445
  dateOfBirth?: string | undefined;
1254
1446
  }>]>;
1255
- issuanceDate: z.ZodString;
1256
- expirationDate: z.ZodOptional<z.ZodString>;
1257
1447
  credentialSubject: z.ZodUnion<[z.ZodObject<{
1258
1448
  id: z.ZodOptional<z.ZodString>;
1259
1449
  }, "strip", z.ZodAny, {
@@ -1271,9 +1461,32 @@ export declare const AchievementValidator: z.ZodObject<{
1271
1461
  [x: string]: any;
1272
1462
  id?: string | undefined;
1273
1463
  }>, "many">]>;
1274
- credentialStatus: z.ZodOptional<z.ZodObject<{
1464
+ refreshService: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
1465
+ id: z.ZodOptional<z.ZodString>;
1466
+ type: z.ZodString;
1467
+ }, "strip", z.ZodAny, {
1468
+ [x: string]: any;
1469
+ id?: string | undefined;
1470
+ type: string;
1471
+ }, {
1472
+ [x: string]: any;
1473
+ id?: string | undefined;
1474
+ type: string;
1475
+ }>, z.ZodArray<z.ZodObject<{
1476
+ id: z.ZodOptional<z.ZodString>;
1275
1477
  type: z.ZodString;
1478
+ }, "strip", z.ZodAny, {
1479
+ [x: string]: any;
1480
+ id?: string | undefined;
1481
+ type: string;
1482
+ }, {
1483
+ [x: string]: any;
1484
+ id?: string | undefined;
1485
+ type: string;
1486
+ }>, "many">]>>;
1487
+ credentialSchema: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
1276
1488
  id: z.ZodString;
1489
+ type: z.ZodString;
1277
1490
  }, "strip", z.ZodAny, {
1278
1491
  [x: string]: any;
1279
1492
  type: string;
@@ -1282,8 +1495,7 @@ export declare const AchievementValidator: z.ZodObject<{
1282
1495
  [x: string]: any;
1283
1496
  type: string;
1284
1497
  id: string;
1285
- }>>;
1286
- credentialSchema: z.ZodOptional<z.ZodArray<z.ZodObject<{
1498
+ }>, z.ZodArray<z.ZodObject<{
1287
1499
  id: z.ZodString;
1288
1500
  type: z.ZodString;
1289
1501
  }, "strip", z.ZodAny, {
@@ -1294,10 +1506,12 @@ export declare const AchievementValidator: z.ZodObject<{
1294
1506
  [x: string]: any;
1295
1507
  type: string;
1296
1508
  id: string;
1297
- }>, "many">>;
1298
- refreshService: z.ZodOptional<z.ZodObject<{
1299
- id: z.ZodString;
1509
+ }>, "many">]>>;
1510
+ issuanceDate: z.ZodOptional<z.ZodString>;
1511
+ expirationDate: z.ZodOptional<z.ZodString>;
1512
+ credentialStatus: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
1300
1513
  type: z.ZodString;
1514
+ id: z.ZodString;
1301
1515
  }, "strip", z.ZodAny, {
1302
1516
  [x: string]: any;
1303
1517
  type: string;
@@ -1306,22 +1520,106 @@ export declare const AchievementValidator: z.ZodObject<{
1306
1520
  [x: string]: any;
1307
1521
  type: string;
1308
1522
  id: string;
1309
- }>>;
1310
- }, {
1311
- credentialSubject: z.ZodObject<{
1523
+ }>, z.ZodArray<z.ZodObject<{
1524
+ type: z.ZodString;
1312
1525
  id: z.ZodString;
1313
- type: z.ZodArray<z.ZodString, "atleastone">;
1314
- endorsementComment: z.ZodOptional<z.ZodString>;
1315
- }, "strip", z.ZodTypeAny, {
1316
- endorsementComment?: string | undefined;
1317
- type: [string, ...string[]];
1526
+ }, "strip", z.ZodAny, {
1527
+ [x: string]: any;
1528
+ type: string;
1318
1529
  id: string;
1319
1530
  }, {
1320
- endorsementComment?: string | undefined;
1321
- type: [string, ...string[]];
1531
+ [x: string]: any;
1532
+ type: string;
1322
1533
  id: string;
1323
- }>;
1324
- proof: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
1534
+ }>, "many">]>>;
1535
+ name: z.ZodOptional<z.ZodString>;
1536
+ description: z.ZodOptional<z.ZodString>;
1537
+ validFrom: z.ZodOptional<z.ZodString>;
1538
+ validUntil: z.ZodOptional<z.ZodString>;
1539
+ status: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
1540
+ type: z.ZodString;
1541
+ id: z.ZodString;
1542
+ }, "strip", z.ZodAny, {
1543
+ [x: string]: any;
1544
+ type: string;
1545
+ id: string;
1546
+ }, {
1547
+ [x: string]: any;
1548
+ type: string;
1549
+ id: string;
1550
+ }>, z.ZodArray<z.ZodObject<{
1551
+ type: z.ZodString;
1552
+ id: z.ZodString;
1553
+ }, "strip", z.ZodAny, {
1554
+ [x: string]: any;
1555
+ type: string;
1556
+ id: string;
1557
+ }, {
1558
+ [x: string]: any;
1559
+ type: string;
1560
+ id: string;
1561
+ }>, "many">]>>;
1562
+ termsOfUse: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
1563
+ type: z.ZodString;
1564
+ id: z.ZodOptional<z.ZodString>;
1565
+ }, "strip", z.ZodAny, {
1566
+ [x: string]: any;
1567
+ id?: string | undefined;
1568
+ type: string;
1569
+ }, {
1570
+ [x: string]: any;
1571
+ id?: string | undefined;
1572
+ type: string;
1573
+ }>, z.ZodArray<z.ZodObject<{
1574
+ type: z.ZodString;
1575
+ id: z.ZodOptional<z.ZodString>;
1576
+ }, "strip", z.ZodAny, {
1577
+ [x: string]: any;
1578
+ id?: string | undefined;
1579
+ type: string;
1580
+ }, {
1581
+ [x: string]: any;
1582
+ id?: string | undefined;
1583
+ type: string;
1584
+ }>, "many">]>>;
1585
+ evidence: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
1586
+ type: z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "atleastone">]>;
1587
+ id: z.ZodOptional<z.ZodString>;
1588
+ }, "strip", z.ZodAny, {
1589
+ [x: string]: any;
1590
+ id?: string | undefined;
1591
+ type: string | [string, ...string[]];
1592
+ }, {
1593
+ [x: string]: any;
1594
+ id?: string | undefined;
1595
+ type: string | [string, ...string[]];
1596
+ }>, z.ZodArray<z.ZodObject<{
1597
+ type: z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "atleastone">]>;
1598
+ id: z.ZodOptional<z.ZodString>;
1599
+ }, "strip", z.ZodAny, {
1600
+ [x: string]: any;
1601
+ id?: string | undefined;
1602
+ type: string | [string, ...string[]];
1603
+ }, {
1604
+ [x: string]: any;
1605
+ id?: string | undefined;
1606
+ type: string | [string, ...string[]];
1607
+ }>, "many">]>>;
1608
+ }, {
1609
+ credentialSubject: z.ZodObject<{
1610
+ id: z.ZodString;
1611
+ type: z.ZodArray<z.ZodString, "atleastone">;
1612
+ endorsementComment: z.ZodOptional<z.ZodString>;
1613
+ }, "strip", z.ZodTypeAny, {
1614
+ endorsementComment?: string | undefined;
1615
+ type: [string, ...string[]];
1616
+ id: string;
1617
+ }, {
1618
+ endorsementComment?: string | undefined;
1619
+ type: [string, ...string[]];
1620
+ id: string;
1621
+ }>;
1622
+ proof: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
1325
1623
  type: z.ZodString;
1326
1624
  created: z.ZodString;
1327
1625
  challenge: z.ZodOptional<z.ZodString>;
@@ -1382,23 +1680,67 @@ export declare const AchievementValidator: z.ZodObject<{
1382
1680
  }>, "many">]>>;
1383
1681
  }>, "strip", z.ZodAny, {
1384
1682
  [x: string]: any;
1683
+ status?: {
1684
+ [x: string]: any;
1685
+ type: string;
1686
+ id: string;
1687
+ } | {
1688
+ [x: string]: any;
1689
+ type: string;
1690
+ id: string;
1691
+ }[] | undefined;
1385
1692
  id?: string | undefined;
1693
+ name?: string | undefined;
1694
+ description?: string | undefined;
1695
+ refreshService?: {
1696
+ [x: string]: any;
1697
+ id?: string | undefined;
1698
+ type: string;
1699
+ } | {
1700
+ [x: string]: any;
1701
+ id?: string | undefined;
1702
+ type: string;
1703
+ }[] | undefined;
1704
+ credentialSchema?: {
1705
+ [x: string]: any;
1706
+ type: string;
1707
+ id: string;
1708
+ } | {
1709
+ [x: string]: any;
1710
+ type: string;
1711
+ id: string;
1712
+ }[] | undefined;
1713
+ issuanceDate?: string | undefined;
1386
1714
  expirationDate?: string | undefined;
1387
1715
  credentialStatus?: {
1388
1716
  [x: string]: any;
1389
1717
  type: string;
1390
1718
  id: string;
1391
- } | undefined;
1392
- credentialSchema?: {
1719
+ } | {
1393
1720
  [x: string]: any;
1394
1721
  type: string;
1395
1722
  id: string;
1396
1723
  }[] | undefined;
1397
- refreshService?: {
1724
+ validFrom?: string | undefined;
1725
+ validUntil?: string | undefined;
1726
+ termsOfUse?: {
1398
1727
  [x: string]: any;
1728
+ id?: string | undefined;
1399
1729
  type: string;
1400
- id: string;
1401
- } | undefined;
1730
+ } | {
1731
+ [x: string]: any;
1732
+ id?: string | undefined;
1733
+ type: string;
1734
+ }[] | undefined;
1735
+ evidence?: {
1736
+ [x: string]: any;
1737
+ id?: string | undefined;
1738
+ type: string | [string, ...string[]];
1739
+ } | {
1740
+ [x: string]: any;
1741
+ id?: string | undefined;
1742
+ type: string | [string, ...string[]];
1743
+ }[] | undefined;
1402
1744
  proof?: {
1403
1745
  [x: string]: any;
1404
1746
  challenge?: string | undefined;
@@ -1468,7 +1810,6 @@ export declare const AchievementValidator: z.ZodObject<{
1468
1810
  familyNamePrefix?: string | undefined;
1469
1811
  dateOfBirth?: string | undefined;
1470
1812
  };
1471
- issuanceDate: string;
1472
1813
  credentialSubject: {
1473
1814
  endorsementComment?: string | undefined;
1474
1815
  type: [string, ...string[]];
@@ -1476,23 +1817,67 @@ export declare const AchievementValidator: z.ZodObject<{
1476
1817
  };
1477
1818
  }, {
1478
1819
  [x: string]: any;
1820
+ status?: {
1821
+ [x: string]: any;
1822
+ type: string;
1823
+ id: string;
1824
+ } | {
1825
+ [x: string]: any;
1826
+ type: string;
1827
+ id: string;
1828
+ }[] | undefined;
1479
1829
  id?: string | undefined;
1830
+ name?: string | undefined;
1831
+ description?: string | undefined;
1832
+ refreshService?: {
1833
+ [x: string]: any;
1834
+ id?: string | undefined;
1835
+ type: string;
1836
+ } | {
1837
+ [x: string]: any;
1838
+ id?: string | undefined;
1839
+ type: string;
1840
+ }[] | undefined;
1841
+ credentialSchema?: {
1842
+ [x: string]: any;
1843
+ type: string;
1844
+ id: string;
1845
+ } | {
1846
+ [x: string]: any;
1847
+ type: string;
1848
+ id: string;
1849
+ }[] | undefined;
1850
+ issuanceDate?: string | undefined;
1480
1851
  expirationDate?: string | undefined;
1481
1852
  credentialStatus?: {
1482
1853
  [x: string]: any;
1483
1854
  type: string;
1484
1855
  id: string;
1485
- } | undefined;
1486
- credentialSchema?: {
1856
+ } | {
1487
1857
  [x: string]: any;
1488
1858
  type: string;
1489
1859
  id: string;
1490
1860
  }[] | undefined;
1491
- refreshService?: {
1861
+ validFrom?: string | undefined;
1862
+ validUntil?: string | undefined;
1863
+ termsOfUse?: {
1492
1864
  [x: string]: any;
1865
+ id?: string | undefined;
1493
1866
  type: string;
1494
- id: string;
1495
- } | undefined;
1867
+ } | {
1868
+ [x: string]: any;
1869
+ id?: string | undefined;
1870
+ type: string;
1871
+ }[] | undefined;
1872
+ evidence?: {
1873
+ [x: string]: any;
1874
+ id?: string | undefined;
1875
+ type: string | [string, ...string[]];
1876
+ } | {
1877
+ [x: string]: any;
1878
+ id?: string | undefined;
1879
+ type: string | [string, ...string[]];
1880
+ }[] | undefined;
1496
1881
  proof?: {
1497
1882
  [x: string]: any;
1498
1883
  challenge?: string | undefined;
@@ -1562,7 +1947,6 @@ export declare const AchievementValidator: z.ZodObject<{
1562
1947
  familyNamePrefix?: string | undefined;
1563
1948
  dateOfBirth?: string | undefined;
1564
1949
  };
1565
- issuanceDate: string;
1566
1950
  credentialSubject: {
1567
1951
  endorsementComment?: string | undefined;
1568
1952
  type: [string, ...string[]];
@@ -1800,23 +2184,67 @@ export declare const AchievementValidator: z.ZodObject<{
1800
2184
  id?: string | undefined;
1801
2185
  endorsement?: {
1802
2186
  [x: string]: any;
2187
+ status?: {
2188
+ [x: string]: any;
2189
+ type: string;
2190
+ id: string;
2191
+ } | {
2192
+ [x: string]: any;
2193
+ type: string;
2194
+ id: string;
2195
+ }[] | undefined;
1803
2196
  id?: string | undefined;
2197
+ name?: string | undefined;
2198
+ description?: string | undefined;
2199
+ refreshService?: {
2200
+ [x: string]: any;
2201
+ id?: string | undefined;
2202
+ type: string;
2203
+ } | {
2204
+ [x: string]: any;
2205
+ id?: string | undefined;
2206
+ type: string;
2207
+ }[] | undefined;
2208
+ credentialSchema?: {
2209
+ [x: string]: any;
2210
+ type: string;
2211
+ id: string;
2212
+ } | {
2213
+ [x: string]: any;
2214
+ type: string;
2215
+ id: string;
2216
+ }[] | undefined;
2217
+ issuanceDate?: string | undefined;
1804
2218
  expirationDate?: string | undefined;
1805
2219
  credentialStatus?: {
1806
2220
  [x: string]: any;
1807
2221
  type: string;
1808
2222
  id: string;
1809
- } | undefined;
1810
- credentialSchema?: {
2223
+ } | {
1811
2224
  [x: string]: any;
1812
2225
  type: string;
1813
2226
  id: string;
1814
2227
  }[] | undefined;
1815
- refreshService?: {
2228
+ validFrom?: string | undefined;
2229
+ validUntil?: string | undefined;
2230
+ termsOfUse?: {
1816
2231
  [x: string]: any;
2232
+ id?: string | undefined;
1817
2233
  type: string;
1818
- id: string;
1819
- } | undefined;
2234
+ } | {
2235
+ [x: string]: any;
2236
+ id?: string | undefined;
2237
+ type: string;
2238
+ }[] | undefined;
2239
+ evidence?: {
2240
+ [x: string]: any;
2241
+ id?: string | undefined;
2242
+ type: string | [string, ...string[]];
2243
+ } | {
2244
+ [x: string]: any;
2245
+ id?: string | undefined;
2246
+ type: string | [string, ...string[]];
2247
+ }[] | undefined;
1820
2248
  proof?: {
1821
2249
  [x: string]: any;
1822
2250
  challenge?: string | undefined;
@@ -1886,7 +2314,6 @@ export declare const AchievementValidator: z.ZodObject<{
1886
2314
  familyNamePrefix?: string | undefined;
1887
2315
  dateOfBirth?: string | undefined;
1888
2316
  };
1889
- issuanceDate: string;
1890
2317
  credentialSubject: {
1891
2318
  endorsementComment?: string | undefined;
1892
2319
  type: [string, ...string[]];
@@ -2023,36 +2450,80 @@ export declare const AchievementValidator: z.ZodObject<{
2023
2450
  id?: string | undefined;
2024
2451
  endorsement?: {
2025
2452
  [x: string]: any;
2026
- id?: string | undefined;
2027
- expirationDate?: string | undefined;
2028
- credentialStatus?: {
2453
+ status?: {
2029
2454
  [x: string]: any;
2030
2455
  type: string;
2031
2456
  id: string;
2032
- } | undefined;
2033
- credentialSchema?: {
2457
+ } | {
2034
2458
  [x: string]: any;
2035
2459
  type: string;
2036
2460
  id: string;
2037
2461
  }[] | undefined;
2462
+ id?: string | undefined;
2463
+ name?: string | undefined;
2464
+ description?: string | undefined;
2038
2465
  refreshService?: {
2039
2466
  [x: string]: any;
2467
+ id?: string | undefined;
2040
2468
  type: string;
2041
- id: string;
2042
- } | undefined;
2043
- proof?: {
2469
+ } | {
2044
2470
  [x: string]: any;
2045
- challenge?: string | undefined;
2046
- domain?: string | undefined;
2047
- nonce?: string | undefined;
2048
- jws?: string | undefined;
2471
+ id?: string | undefined;
2049
2472
  type: string;
2050
- created: string;
2051
- proofPurpose: string;
2052
- verificationMethod: string;
2473
+ }[] | undefined;
2474
+ credentialSchema?: {
2475
+ [x: string]: any;
2476
+ type: string;
2477
+ id: string;
2053
2478
  } | {
2054
2479
  [x: string]: any;
2055
- challenge?: string | undefined;
2480
+ type: string;
2481
+ id: string;
2482
+ }[] | undefined;
2483
+ issuanceDate?: string | undefined;
2484
+ expirationDate?: string | undefined;
2485
+ credentialStatus?: {
2486
+ [x: string]: any;
2487
+ type: string;
2488
+ id: string;
2489
+ } | {
2490
+ [x: string]: any;
2491
+ type: string;
2492
+ id: string;
2493
+ }[] | undefined;
2494
+ validFrom?: string | undefined;
2495
+ validUntil?: string | undefined;
2496
+ termsOfUse?: {
2497
+ [x: string]: any;
2498
+ id?: string | undefined;
2499
+ type: string;
2500
+ } | {
2501
+ [x: string]: any;
2502
+ id?: string | undefined;
2503
+ type: string;
2504
+ }[] | undefined;
2505
+ evidence?: {
2506
+ [x: string]: any;
2507
+ id?: string | undefined;
2508
+ type: string | [string, ...string[]];
2509
+ } | {
2510
+ [x: string]: any;
2511
+ id?: string | undefined;
2512
+ type: string | [string, ...string[]];
2513
+ }[] | undefined;
2514
+ proof?: {
2515
+ [x: string]: any;
2516
+ challenge?: string | undefined;
2517
+ domain?: string | undefined;
2518
+ nonce?: string | undefined;
2519
+ jws?: string | undefined;
2520
+ type: string;
2521
+ created: string;
2522
+ proofPurpose: string;
2523
+ verificationMethod: string;
2524
+ } | {
2525
+ [x: string]: any;
2526
+ challenge?: string | undefined;
2056
2527
  domain?: string | undefined;
2057
2528
  nonce?: string | undefined;
2058
2529
  jws?: string | undefined;
@@ -2109,7 +2580,6 @@ export declare const AchievementValidator: z.ZodObject<{
2109
2580
  familyNamePrefix?: string | undefined;
2110
2581
  dateOfBirth?: string | undefined;
2111
2582
  };
2112
- issuanceDate: string;
2113
2583
  credentialSubject: {
2114
2584
  endorsementComment?: string | undefined;
2115
2585
  type: [string, ...string[]];
@@ -2756,8 +3226,6 @@ export declare const AchievementSubjectValidator: z.ZodObject<{
2756
3226
  familyNamePrefix?: string | undefined;
2757
3227
  dateOfBirth?: string | undefined;
2758
3228
  }>]>;
2759
- issuanceDate: z.ZodString;
2760
- expirationDate: z.ZodOptional<z.ZodString>;
2761
3229
  credentialSubject: z.ZodUnion<[z.ZodObject<{
2762
3230
  id: z.ZodOptional<z.ZodString>;
2763
3231
  }, "strip", z.ZodAny, {
@@ -2775,9 +3243,43 @@ export declare const AchievementSubjectValidator: z.ZodObject<{
2775
3243
  [x: string]: any;
2776
3244
  id?: string | undefined;
2777
3245
  }>, "many">]>;
2778
- credentialStatus: z.ZodOptional<z.ZodObject<{
3246
+ refreshService: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
3247
+ id: z.ZodOptional<z.ZodString>;
3248
+ type: z.ZodString;
3249
+ }, "strip", z.ZodAny, {
3250
+ [x: string]: any;
3251
+ id?: string | undefined;
3252
+ type: string;
3253
+ }, {
3254
+ [x: string]: any;
3255
+ id?: string | undefined;
3256
+ type: string;
3257
+ }>, z.ZodArray<z.ZodObject<{
3258
+ id: z.ZodOptional<z.ZodString>;
3259
+ type: z.ZodString;
3260
+ }, "strip", z.ZodAny, {
3261
+ [x: string]: any;
3262
+ id?: string | undefined;
3263
+ type: string;
3264
+ }, {
3265
+ [x: string]: any;
3266
+ id?: string | undefined;
3267
+ type: string;
3268
+ }>, "many">]>>;
3269
+ credentialSchema: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
3270
+ id: z.ZodString;
2779
3271
  type: z.ZodString;
3272
+ }, "strip", z.ZodAny, {
3273
+ [x: string]: any;
3274
+ type: string;
3275
+ id: string;
3276
+ }, {
3277
+ [x: string]: any;
3278
+ type: string;
3279
+ id: string;
3280
+ }>, z.ZodArray<z.ZodObject<{
2780
3281
  id: z.ZodString;
3282
+ type: z.ZodString;
2781
3283
  }, "strip", z.ZodAny, {
2782
3284
  [x: string]: any;
2783
3285
  type: string;
@@ -2786,10 +3288,23 @@ export declare const AchievementSubjectValidator: z.ZodObject<{
2786
3288
  [x: string]: any;
2787
3289
  type: string;
2788
3290
  id: string;
2789
- }>>;
2790
- credentialSchema: z.ZodOptional<z.ZodArray<z.ZodObject<{
3291
+ }>, "many">]>>;
3292
+ issuanceDate: z.ZodOptional<z.ZodString>;
3293
+ expirationDate: z.ZodOptional<z.ZodString>;
3294
+ credentialStatus: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
3295
+ type: z.ZodString;
2791
3296
  id: z.ZodString;
3297
+ }, "strip", z.ZodAny, {
3298
+ [x: string]: any;
3299
+ type: string;
3300
+ id: string;
3301
+ }, {
3302
+ [x: string]: any;
3303
+ type: string;
3304
+ id: string;
3305
+ }>, z.ZodArray<z.ZodObject<{
2792
3306
  type: z.ZodString;
3307
+ id: z.ZodString;
2793
3308
  }, "strip", z.ZodAny, {
2794
3309
  [x: string]: any;
2795
3310
  type: string;
@@ -2798,10 +3313,25 @@ export declare const AchievementSubjectValidator: z.ZodObject<{
2798
3313
  [x: string]: any;
2799
3314
  type: string;
2800
3315
  id: string;
2801
- }>, "many">>;
2802
- refreshService: z.ZodOptional<z.ZodObject<{
3316
+ }>, "many">]>>;
3317
+ name: z.ZodOptional<z.ZodString>;
3318
+ description: z.ZodOptional<z.ZodString>;
3319
+ validFrom: z.ZodOptional<z.ZodString>;
3320
+ validUntil: z.ZodOptional<z.ZodString>;
3321
+ status: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
3322
+ type: z.ZodString;
2803
3323
  id: z.ZodString;
3324
+ }, "strip", z.ZodAny, {
3325
+ [x: string]: any;
3326
+ type: string;
3327
+ id: string;
3328
+ }, {
3329
+ [x: string]: any;
3330
+ type: string;
3331
+ id: string;
3332
+ }>, z.ZodArray<z.ZodObject<{
2804
3333
  type: z.ZodString;
3334
+ id: z.ZodString;
2805
3335
  }, "strip", z.ZodAny, {
2806
3336
  [x: string]: any;
2807
3337
  type: string;
@@ -2810,7 +3340,53 @@ export declare const AchievementSubjectValidator: z.ZodObject<{
2810
3340
  [x: string]: any;
2811
3341
  type: string;
2812
3342
  id: string;
2813
- }>>;
3343
+ }>, "many">]>>;
3344
+ termsOfUse: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
3345
+ type: z.ZodString;
3346
+ id: z.ZodOptional<z.ZodString>;
3347
+ }, "strip", z.ZodAny, {
3348
+ [x: string]: any;
3349
+ id?: string | undefined;
3350
+ type: string;
3351
+ }, {
3352
+ [x: string]: any;
3353
+ id?: string | undefined;
3354
+ type: string;
3355
+ }>, z.ZodArray<z.ZodObject<{
3356
+ type: z.ZodString;
3357
+ id: z.ZodOptional<z.ZodString>;
3358
+ }, "strip", z.ZodAny, {
3359
+ [x: string]: any;
3360
+ id?: string | undefined;
3361
+ type: string;
3362
+ }, {
3363
+ [x: string]: any;
3364
+ id?: string | undefined;
3365
+ type: string;
3366
+ }>, "many">]>>;
3367
+ evidence: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
3368
+ type: z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "atleastone">]>;
3369
+ id: z.ZodOptional<z.ZodString>;
3370
+ }, "strip", z.ZodAny, {
3371
+ [x: string]: any;
3372
+ id?: string | undefined;
3373
+ type: string | [string, ...string[]];
3374
+ }, {
3375
+ [x: string]: any;
3376
+ id?: string | undefined;
3377
+ type: string | [string, ...string[]];
3378
+ }>, z.ZodArray<z.ZodObject<{
3379
+ type: z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "atleastone">]>;
3380
+ id: z.ZodOptional<z.ZodString>;
3381
+ }, "strip", z.ZodAny, {
3382
+ [x: string]: any;
3383
+ id?: string | undefined;
3384
+ type: string | [string, ...string[]];
3385
+ }, {
3386
+ [x: string]: any;
3387
+ id?: string | undefined;
3388
+ type: string | [string, ...string[]];
3389
+ }>, "many">]>>;
2814
3390
  }, {
2815
3391
  credentialSubject: z.ZodObject<{
2816
3392
  id: z.ZodString;
@@ -2886,23 +3462,67 @@ export declare const AchievementSubjectValidator: z.ZodObject<{
2886
3462
  }>, "many">]>>;
2887
3463
  }>, "strip", z.ZodAny, {
2888
3464
  [x: string]: any;
3465
+ status?: {
3466
+ [x: string]: any;
3467
+ type: string;
3468
+ id: string;
3469
+ } | {
3470
+ [x: string]: any;
3471
+ type: string;
3472
+ id: string;
3473
+ }[] | undefined;
2889
3474
  id?: string | undefined;
3475
+ name?: string | undefined;
3476
+ description?: string | undefined;
3477
+ refreshService?: {
3478
+ [x: string]: any;
3479
+ id?: string | undefined;
3480
+ type: string;
3481
+ } | {
3482
+ [x: string]: any;
3483
+ id?: string | undefined;
3484
+ type: string;
3485
+ }[] | undefined;
3486
+ credentialSchema?: {
3487
+ [x: string]: any;
3488
+ type: string;
3489
+ id: string;
3490
+ } | {
3491
+ [x: string]: any;
3492
+ type: string;
3493
+ id: string;
3494
+ }[] | undefined;
3495
+ issuanceDate?: string | undefined;
2890
3496
  expirationDate?: string | undefined;
2891
3497
  credentialStatus?: {
2892
3498
  [x: string]: any;
2893
3499
  type: string;
2894
3500
  id: string;
2895
- } | undefined;
2896
- credentialSchema?: {
3501
+ } | {
2897
3502
  [x: string]: any;
2898
3503
  type: string;
2899
3504
  id: string;
2900
3505
  }[] | undefined;
2901
- refreshService?: {
3506
+ validFrom?: string | undefined;
3507
+ validUntil?: string | undefined;
3508
+ termsOfUse?: {
3509
+ [x: string]: any;
3510
+ id?: string | undefined;
3511
+ type: string;
3512
+ } | {
2902
3513
  [x: string]: any;
3514
+ id?: string | undefined;
2903
3515
  type: string;
2904
- id: string;
2905
- } | undefined;
3516
+ }[] | undefined;
3517
+ evidence?: {
3518
+ [x: string]: any;
3519
+ id?: string | undefined;
3520
+ type: string | [string, ...string[]];
3521
+ } | {
3522
+ [x: string]: any;
3523
+ id?: string | undefined;
3524
+ type: string | [string, ...string[]];
3525
+ }[] | undefined;
2906
3526
  proof?: {
2907
3527
  [x: string]: any;
2908
3528
  challenge?: string | undefined;
@@ -2972,7 +3592,6 @@ export declare const AchievementSubjectValidator: z.ZodObject<{
2972
3592
  familyNamePrefix?: string | undefined;
2973
3593
  dateOfBirth?: string | undefined;
2974
3594
  };
2975
- issuanceDate: string;
2976
3595
  credentialSubject: {
2977
3596
  endorsementComment?: string | undefined;
2978
3597
  type: [string, ...string[]];
@@ -2980,23 +3599,67 @@ export declare const AchievementSubjectValidator: z.ZodObject<{
2980
3599
  };
2981
3600
  }, {
2982
3601
  [x: string]: any;
3602
+ status?: {
3603
+ [x: string]: any;
3604
+ type: string;
3605
+ id: string;
3606
+ } | {
3607
+ [x: string]: any;
3608
+ type: string;
3609
+ id: string;
3610
+ }[] | undefined;
2983
3611
  id?: string | undefined;
3612
+ name?: string | undefined;
3613
+ description?: string | undefined;
3614
+ refreshService?: {
3615
+ [x: string]: any;
3616
+ id?: string | undefined;
3617
+ type: string;
3618
+ } | {
3619
+ [x: string]: any;
3620
+ id?: string | undefined;
3621
+ type: string;
3622
+ }[] | undefined;
3623
+ credentialSchema?: {
3624
+ [x: string]: any;
3625
+ type: string;
3626
+ id: string;
3627
+ } | {
3628
+ [x: string]: any;
3629
+ type: string;
3630
+ id: string;
3631
+ }[] | undefined;
3632
+ issuanceDate?: string | undefined;
2984
3633
  expirationDate?: string | undefined;
2985
3634
  credentialStatus?: {
2986
3635
  [x: string]: any;
2987
3636
  type: string;
2988
3637
  id: string;
2989
- } | undefined;
2990
- credentialSchema?: {
3638
+ } | {
2991
3639
  [x: string]: any;
2992
3640
  type: string;
2993
3641
  id: string;
2994
3642
  }[] | undefined;
2995
- refreshService?: {
3643
+ validFrom?: string | undefined;
3644
+ validUntil?: string | undefined;
3645
+ termsOfUse?: {
3646
+ [x: string]: any;
3647
+ id?: string | undefined;
3648
+ type: string;
3649
+ } | {
2996
3650
  [x: string]: any;
3651
+ id?: string | undefined;
2997
3652
  type: string;
2998
- id: string;
2999
- } | undefined;
3653
+ }[] | undefined;
3654
+ evidence?: {
3655
+ [x: string]: any;
3656
+ id?: string | undefined;
3657
+ type: string | [string, ...string[]];
3658
+ } | {
3659
+ [x: string]: any;
3660
+ id?: string | undefined;
3661
+ type: string | [string, ...string[]];
3662
+ }[] | undefined;
3000
3663
  proof?: {
3001
3664
  [x: string]: any;
3002
3665
  challenge?: string | undefined;
@@ -3066,7 +3729,6 @@ export declare const AchievementSubjectValidator: z.ZodObject<{
3066
3729
  familyNamePrefix?: string | undefined;
3067
3730
  dateOfBirth?: string | undefined;
3068
3731
  };
3069
- issuanceDate: string;
3070
3732
  credentialSubject: {
3071
3733
  endorsementComment?: string | undefined;
3072
3734
  type: [string, ...string[]];
@@ -3304,23 +3966,67 @@ export declare const AchievementSubjectValidator: z.ZodObject<{
3304
3966
  id?: string | undefined;
3305
3967
  endorsement?: {
3306
3968
  [x: string]: any;
3307
- id?: string | undefined;
3308
- expirationDate?: string | undefined;
3309
- credentialStatus?: {
3969
+ status?: {
3310
3970
  [x: string]: any;
3311
3971
  type: string;
3312
3972
  id: string;
3313
- } | undefined;
3314
- credentialSchema?: {
3973
+ } | {
3315
3974
  [x: string]: any;
3316
3975
  type: string;
3317
3976
  id: string;
3318
3977
  }[] | undefined;
3978
+ id?: string | undefined;
3979
+ name?: string | undefined;
3980
+ description?: string | undefined;
3319
3981
  refreshService?: {
3982
+ [x: string]: any;
3983
+ id?: string | undefined;
3984
+ type: string;
3985
+ } | {
3986
+ [x: string]: any;
3987
+ id?: string | undefined;
3988
+ type: string;
3989
+ }[] | undefined;
3990
+ credentialSchema?: {
3320
3991
  [x: string]: any;
3321
3992
  type: string;
3322
3993
  id: string;
3323
- } | undefined;
3994
+ } | {
3995
+ [x: string]: any;
3996
+ type: string;
3997
+ id: string;
3998
+ }[] | undefined;
3999
+ issuanceDate?: string | undefined;
4000
+ expirationDate?: string | undefined;
4001
+ credentialStatus?: {
4002
+ [x: string]: any;
4003
+ type: string;
4004
+ id: string;
4005
+ } | {
4006
+ [x: string]: any;
4007
+ type: string;
4008
+ id: string;
4009
+ }[] | undefined;
4010
+ validFrom?: string | undefined;
4011
+ validUntil?: string | undefined;
4012
+ termsOfUse?: {
4013
+ [x: string]: any;
4014
+ id?: string | undefined;
4015
+ type: string;
4016
+ } | {
4017
+ [x: string]: any;
4018
+ id?: string | undefined;
4019
+ type: string;
4020
+ }[] | undefined;
4021
+ evidence?: {
4022
+ [x: string]: any;
4023
+ id?: string | undefined;
4024
+ type: string | [string, ...string[]];
4025
+ } | {
4026
+ [x: string]: any;
4027
+ id?: string | undefined;
4028
+ type: string | [string, ...string[]];
4029
+ }[] | undefined;
3324
4030
  proof?: {
3325
4031
  [x: string]: any;
3326
4032
  challenge?: string | undefined;
@@ -3390,7 +4096,6 @@ export declare const AchievementSubjectValidator: z.ZodObject<{
3390
4096
  familyNamePrefix?: string | undefined;
3391
4097
  dateOfBirth?: string | undefined;
3392
4098
  };
3393
- issuanceDate: string;
3394
4099
  credentialSubject: {
3395
4100
  endorsementComment?: string | undefined;
3396
4101
  type: [string, ...string[]];
@@ -3527,23 +4232,67 @@ export declare const AchievementSubjectValidator: z.ZodObject<{
3527
4232
  id?: string | undefined;
3528
4233
  endorsement?: {
3529
4234
  [x: string]: any;
4235
+ status?: {
4236
+ [x: string]: any;
4237
+ type: string;
4238
+ id: string;
4239
+ } | {
4240
+ [x: string]: any;
4241
+ type: string;
4242
+ id: string;
4243
+ }[] | undefined;
3530
4244
  id?: string | undefined;
4245
+ name?: string | undefined;
4246
+ description?: string | undefined;
4247
+ refreshService?: {
4248
+ [x: string]: any;
4249
+ id?: string | undefined;
4250
+ type: string;
4251
+ } | {
4252
+ [x: string]: any;
4253
+ id?: string | undefined;
4254
+ type: string;
4255
+ }[] | undefined;
4256
+ credentialSchema?: {
4257
+ [x: string]: any;
4258
+ type: string;
4259
+ id: string;
4260
+ } | {
4261
+ [x: string]: any;
4262
+ type: string;
4263
+ id: string;
4264
+ }[] | undefined;
4265
+ issuanceDate?: string | undefined;
3531
4266
  expirationDate?: string | undefined;
3532
4267
  credentialStatus?: {
3533
4268
  [x: string]: any;
3534
4269
  type: string;
3535
4270
  id: string;
3536
- } | undefined;
3537
- credentialSchema?: {
4271
+ } | {
3538
4272
  [x: string]: any;
3539
4273
  type: string;
3540
4274
  id: string;
3541
4275
  }[] | undefined;
3542
- refreshService?: {
4276
+ validFrom?: string | undefined;
4277
+ validUntil?: string | undefined;
4278
+ termsOfUse?: {
3543
4279
  [x: string]: any;
4280
+ id?: string | undefined;
3544
4281
  type: string;
3545
- id: string;
3546
- } | undefined;
4282
+ } | {
4283
+ [x: string]: any;
4284
+ id?: string | undefined;
4285
+ type: string;
4286
+ }[] | undefined;
4287
+ evidence?: {
4288
+ [x: string]: any;
4289
+ id?: string | undefined;
4290
+ type: string | [string, ...string[]];
4291
+ } | {
4292
+ [x: string]: any;
4293
+ id?: string | undefined;
4294
+ type: string | [string, ...string[]];
4295
+ }[] | undefined;
3547
4296
  proof?: {
3548
4297
  [x: string]: any;
3549
4298
  challenge?: string | undefined;
@@ -3613,7 +4362,6 @@ export declare const AchievementSubjectValidator: z.ZodObject<{
3613
4362
  familyNamePrefix?: string | undefined;
3614
4363
  dateOfBirth?: string | undefined;
3615
4364
  };
3616
- issuanceDate: string;
3617
4365
  credentialSubject: {
3618
4366
  endorsementComment?: string | undefined;
3619
4367
  type: [string, ...string[]];
@@ -4057,23 +4805,67 @@ export declare const AchievementSubjectValidator: z.ZodObject<{
4057
4805
  id?: string | undefined;
4058
4806
  endorsement?: {
4059
4807
  [x: string]: any;
4808
+ status?: {
4809
+ [x: string]: any;
4810
+ type: string;
4811
+ id: string;
4812
+ } | {
4813
+ [x: string]: any;
4814
+ type: string;
4815
+ id: string;
4816
+ }[] | undefined;
4060
4817
  id?: string | undefined;
4818
+ name?: string | undefined;
4819
+ description?: string | undefined;
4820
+ refreshService?: {
4821
+ [x: string]: any;
4822
+ id?: string | undefined;
4823
+ type: string;
4824
+ } | {
4825
+ [x: string]: any;
4826
+ id?: string | undefined;
4827
+ type: string;
4828
+ }[] | undefined;
4829
+ credentialSchema?: {
4830
+ [x: string]: any;
4831
+ type: string;
4832
+ id: string;
4833
+ } | {
4834
+ [x: string]: any;
4835
+ type: string;
4836
+ id: string;
4837
+ }[] | undefined;
4838
+ issuanceDate?: string | undefined;
4061
4839
  expirationDate?: string | undefined;
4062
4840
  credentialStatus?: {
4063
4841
  [x: string]: any;
4064
4842
  type: string;
4065
4843
  id: string;
4066
- } | undefined;
4067
- credentialSchema?: {
4844
+ } | {
4068
4845
  [x: string]: any;
4069
4846
  type: string;
4070
4847
  id: string;
4071
4848
  }[] | undefined;
4072
- refreshService?: {
4849
+ validFrom?: string | undefined;
4850
+ validUntil?: string | undefined;
4851
+ termsOfUse?: {
4073
4852
  [x: string]: any;
4853
+ id?: string | undefined;
4074
4854
  type: string;
4075
- id: string;
4076
- } | undefined;
4855
+ } | {
4856
+ [x: string]: any;
4857
+ id?: string | undefined;
4858
+ type: string;
4859
+ }[] | undefined;
4860
+ evidence?: {
4861
+ [x: string]: any;
4862
+ id?: string | undefined;
4863
+ type: string | [string, ...string[]];
4864
+ } | {
4865
+ [x: string]: any;
4866
+ id?: string | undefined;
4867
+ type: string | [string, ...string[]];
4868
+ }[] | undefined;
4077
4869
  proof?: {
4078
4870
  [x: string]: any;
4079
4871
  challenge?: string | undefined;
@@ -4143,7 +4935,6 @@ export declare const AchievementSubjectValidator: z.ZodObject<{
4143
4935
  familyNamePrefix?: string | undefined;
4144
4936
  dateOfBirth?: string | undefined;
4145
4937
  };
4146
- issuanceDate: string;
4147
4938
  credentialSubject: {
4148
4939
  endorsementComment?: string | undefined;
4149
4940
  type: [string, ...string[]];
@@ -4367,23 +5158,67 @@ export declare const AchievementSubjectValidator: z.ZodObject<{
4367
5158
  id?: string | undefined;
4368
5159
  endorsement?: {
4369
5160
  [x: string]: any;
5161
+ status?: {
5162
+ [x: string]: any;
5163
+ type: string;
5164
+ id: string;
5165
+ } | {
5166
+ [x: string]: any;
5167
+ type: string;
5168
+ id: string;
5169
+ }[] | undefined;
4370
5170
  id?: string | undefined;
5171
+ name?: string | undefined;
5172
+ description?: string | undefined;
5173
+ refreshService?: {
5174
+ [x: string]: any;
5175
+ id?: string | undefined;
5176
+ type: string;
5177
+ } | {
5178
+ [x: string]: any;
5179
+ id?: string | undefined;
5180
+ type: string;
5181
+ }[] | undefined;
5182
+ credentialSchema?: {
5183
+ [x: string]: any;
5184
+ type: string;
5185
+ id: string;
5186
+ } | {
5187
+ [x: string]: any;
5188
+ type: string;
5189
+ id: string;
5190
+ }[] | undefined;
5191
+ issuanceDate?: string | undefined;
4371
5192
  expirationDate?: string | undefined;
4372
5193
  credentialStatus?: {
4373
5194
  [x: string]: any;
4374
5195
  type: string;
4375
5196
  id: string;
4376
- } | undefined;
4377
- credentialSchema?: {
5197
+ } | {
4378
5198
  [x: string]: any;
4379
5199
  type: string;
4380
5200
  id: string;
4381
5201
  }[] | undefined;
4382
- refreshService?: {
5202
+ validFrom?: string | undefined;
5203
+ validUntil?: string | undefined;
5204
+ termsOfUse?: {
4383
5205
  [x: string]: any;
5206
+ id?: string | undefined;
4384
5207
  type: string;
4385
- id: string;
4386
- } | undefined;
5208
+ } | {
5209
+ [x: string]: any;
5210
+ id?: string | undefined;
5211
+ type: string;
5212
+ }[] | undefined;
5213
+ evidence?: {
5214
+ [x: string]: any;
5215
+ id?: string | undefined;
5216
+ type: string | [string, ...string[]];
5217
+ } | {
5218
+ [x: string]: any;
5219
+ id?: string | undefined;
5220
+ type: string | [string, ...string[]];
5221
+ }[] | undefined;
4387
5222
  proof?: {
4388
5223
  [x: string]: any;
4389
5224
  challenge?: string | undefined;
@@ -4453,7 +5288,6 @@ export declare const AchievementSubjectValidator: z.ZodObject<{
4453
5288
  familyNamePrefix?: string | undefined;
4454
5289
  dateOfBirth?: string | undefined;
4455
5290
  };
4456
- issuanceDate: string;
4457
5291
  credentialSubject: {
4458
5292
  endorsementComment?: string | undefined;
4459
5293
  type: [string, ...string[]];
@@ -4656,7 +5490,7 @@ export declare const AchievementSubjectValidator: z.ZodObject<{
4656
5490
  export type AchievementSubject = z.infer<typeof AchievementSubjectValidator>;
4657
5491
  export declare const EvidenceValidator: z.ZodObject<{
4658
5492
  id: z.ZodOptional<z.ZodString>;
4659
- type: z.ZodArray<z.ZodString, "atleastone">;
5493
+ type: z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "atleastone">]>;
4660
5494
  narrative: z.ZodOptional<z.ZodString>;
4661
5495
  name: z.ZodOptional<z.ZodString>;
4662
5496
  description: z.ZodOptional<z.ZodString>;
@@ -4670,7 +5504,7 @@ export declare const EvidenceValidator: z.ZodObject<{
4670
5504
  description?: string | undefined;
4671
5505
  genre?: string | undefined;
4672
5506
  audience?: string | undefined;
4673
- type: [string, ...string[]];
5507
+ type: string | [string, ...string[]];
4674
5508
  }, {
4675
5509
  [x: string]: any;
4676
5510
  narrative?: string | undefined;
@@ -4679,7 +5513,7 @@ export declare const EvidenceValidator: z.ZodObject<{
4679
5513
  description?: string | undefined;
4680
5514
  genre?: string | undefined;
4681
5515
  audience?: string | undefined;
4682
- type: [string, ...string[]];
5516
+ type: string | [string, ...string[]];
4683
5517
  }>;
4684
5518
  export type Evidence = z.infer<typeof EvidenceValidator>;
4685
5519
  export declare const UnsignedAchievementCredentialValidator: z.ZodObject<z.extendShape<{
@@ -4873,8 +5707,6 @@ export declare const UnsignedAchievementCredentialValidator: z.ZodObject<z.exten
4873
5707
  familyNamePrefix?: string | undefined;
4874
5708
  dateOfBirth?: string | undefined;
4875
5709
  }>]>;
4876
- issuanceDate: z.ZodString;
4877
- expirationDate: z.ZodOptional<z.ZodString>;
4878
5710
  credentialSubject: z.ZodUnion<[z.ZodObject<{
4879
5711
  id: z.ZodOptional<z.ZodString>;
4880
5712
  }, "strip", z.ZodAny, {
@@ -4892,9 +5724,32 @@ export declare const UnsignedAchievementCredentialValidator: z.ZodObject<z.exten
4892
5724
  [x: string]: any;
4893
5725
  id?: string | undefined;
4894
5726
  }>, "many">]>;
4895
- credentialStatus: z.ZodOptional<z.ZodObject<{
5727
+ refreshService: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
5728
+ id: z.ZodOptional<z.ZodString>;
5729
+ type: z.ZodString;
5730
+ }, "strip", z.ZodAny, {
5731
+ [x: string]: any;
5732
+ id?: string | undefined;
5733
+ type: string;
5734
+ }, {
5735
+ [x: string]: any;
5736
+ id?: string | undefined;
5737
+ type: string;
5738
+ }>, z.ZodArray<z.ZodObject<{
5739
+ id: z.ZodOptional<z.ZodString>;
4896
5740
  type: z.ZodString;
5741
+ }, "strip", z.ZodAny, {
5742
+ [x: string]: any;
5743
+ id?: string | undefined;
5744
+ type: string;
5745
+ }, {
5746
+ [x: string]: any;
5747
+ id?: string | undefined;
5748
+ type: string;
5749
+ }>, "many">]>>;
5750
+ credentialSchema: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
4897
5751
  id: z.ZodString;
5752
+ type: z.ZodString;
4898
5753
  }, "strip", z.ZodAny, {
4899
5754
  [x: string]: any;
4900
5755
  type: string;
@@ -4903,8 +5758,7 @@ export declare const UnsignedAchievementCredentialValidator: z.ZodObject<z.exten
4903
5758
  [x: string]: any;
4904
5759
  type: string;
4905
5760
  id: string;
4906
- }>>;
4907
- credentialSchema: z.ZodOptional<z.ZodArray<z.ZodObject<{
5761
+ }>, z.ZodArray<z.ZodObject<{
4908
5762
  id: z.ZodString;
4909
5763
  type: z.ZodString;
4910
5764
  }, "strip", z.ZodAny, {
@@ -4915,10 +5769,23 @@ export declare const UnsignedAchievementCredentialValidator: z.ZodObject<z.exten
4915
5769
  [x: string]: any;
4916
5770
  type: string;
4917
5771
  id: string;
4918
- }>, "many">>;
4919
- refreshService: z.ZodOptional<z.ZodObject<{
5772
+ }>, "many">]>>;
5773
+ issuanceDate: z.ZodOptional<z.ZodString>;
5774
+ expirationDate: z.ZodOptional<z.ZodString>;
5775
+ credentialStatus: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
5776
+ type: z.ZodString;
4920
5777
  id: z.ZodString;
5778
+ }, "strip", z.ZodAny, {
5779
+ [x: string]: any;
5780
+ type: string;
5781
+ id: string;
5782
+ }, {
5783
+ [x: string]: any;
5784
+ type: string;
5785
+ id: string;
5786
+ }>, z.ZodArray<z.ZodObject<{
4921
5787
  type: z.ZodString;
5788
+ id: z.ZodString;
4922
5789
  }, "strip", z.ZodAny, {
4923
5790
  [x: string]: any;
4924
5791
  type: string;
@@ -4927,28 +5794,101 @@ export declare const UnsignedAchievementCredentialValidator: z.ZodObject<z.exten
4927
5794
  [x: string]: any;
4928
5795
  type: string;
4929
5796
  id: string;
4930
- }>>;
4931
- }, {
5797
+ }>, "many">]>>;
4932
5798
  name: z.ZodOptional<z.ZodString>;
4933
5799
  description: z.ZodOptional<z.ZodString>;
4934
- image: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodObject<{
5800
+ validFrom: z.ZodOptional<z.ZodString>;
5801
+ validUntil: z.ZodOptional<z.ZodString>;
5802
+ status: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
5803
+ type: z.ZodString;
4935
5804
  id: z.ZodString;
5805
+ }, "strip", z.ZodAny, {
5806
+ [x: string]: any;
5807
+ type: string;
5808
+ id: string;
5809
+ }, {
5810
+ [x: string]: any;
5811
+ type: string;
5812
+ id: string;
5813
+ }>, z.ZodArray<z.ZodObject<{
4936
5814
  type: z.ZodString;
4937
- caption: z.ZodOptional<z.ZodString>;
4938
- }, "strip", z.ZodTypeAny, {
4939
- caption?: string | undefined;
5815
+ id: z.ZodString;
5816
+ }, "strip", z.ZodAny, {
5817
+ [x: string]: any;
4940
5818
  type: string;
4941
5819
  id: string;
4942
5820
  }, {
4943
- caption?: string | undefined;
5821
+ [x: string]: any;
4944
5822
  type: string;
4945
5823
  id: string;
4946
- }>]>>;
4947
- credentialSubject: z.ZodUnion<[typeof AchievementSubjectValidator, z.ZodArray<typeof AchievementSubjectValidator>]>;
4948
- endorsement: z.ZodOptional<z.ZodArray<z.ZodObject<{
4949
- '@context': z.ZodArray<z.ZodUnion<[z.ZodString, z.ZodRecord<z.ZodString, z.ZodAny>]>, "many">;
5824
+ }>, "many">]>>;
5825
+ termsOfUse: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
5826
+ type: z.ZodString;
4950
5827
  id: z.ZodOptional<z.ZodString>;
4951
- type: z.ZodArray<z.ZodString, "atleastone">;
5828
+ }, "strip", z.ZodAny, {
5829
+ [x: string]: any;
5830
+ id?: string | undefined;
5831
+ type: string;
5832
+ }, {
5833
+ [x: string]: any;
5834
+ id?: string | undefined;
5835
+ type: string;
5836
+ }>, z.ZodArray<z.ZodObject<{
5837
+ type: z.ZodString;
5838
+ id: z.ZodOptional<z.ZodString>;
5839
+ }, "strip", z.ZodAny, {
5840
+ [x: string]: any;
5841
+ id?: string | undefined;
5842
+ type: string;
5843
+ }, {
5844
+ [x: string]: any;
5845
+ id?: string | undefined;
5846
+ type: string;
5847
+ }>, "many">]>>;
5848
+ evidence: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
5849
+ type: z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "atleastone">]>;
5850
+ id: z.ZodOptional<z.ZodString>;
5851
+ }, "strip", z.ZodAny, {
5852
+ [x: string]: any;
5853
+ id?: string | undefined;
5854
+ type: string | [string, ...string[]];
5855
+ }, {
5856
+ [x: string]: any;
5857
+ id?: string | undefined;
5858
+ type: string | [string, ...string[]];
5859
+ }>, z.ZodArray<z.ZodObject<{
5860
+ type: z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "atleastone">]>;
5861
+ id: z.ZodOptional<z.ZodString>;
5862
+ }, "strip", z.ZodAny, {
5863
+ [x: string]: any;
5864
+ id?: string | undefined;
5865
+ type: string | [string, ...string[]];
5866
+ }, {
5867
+ [x: string]: any;
5868
+ id?: string | undefined;
5869
+ type: string | [string, ...string[]];
5870
+ }>, "many">]>>;
5871
+ }, {
5872
+ name: z.ZodOptional<z.ZodString>;
5873
+ description: z.ZodOptional<z.ZodString>;
5874
+ image: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodObject<{
5875
+ id: z.ZodString;
5876
+ type: z.ZodString;
5877
+ caption: z.ZodOptional<z.ZodString>;
5878
+ }, "strip", z.ZodTypeAny, {
5879
+ caption?: string | undefined;
5880
+ type: string;
5881
+ id: string;
5882
+ }, {
5883
+ caption?: string | undefined;
5884
+ type: string;
5885
+ id: string;
5886
+ }>]>>;
5887
+ credentialSubject: z.ZodUnion<[typeof AchievementSubjectValidator, z.ZodArray<typeof AchievementSubjectValidator>]>;
5888
+ endorsement: z.ZodOptional<z.ZodArray<z.ZodObject<{
5889
+ '@context': z.ZodArray<z.ZodUnion<[z.ZodString, z.ZodRecord<z.ZodString, z.ZodAny>]>, "many">;
5890
+ id: z.ZodOptional<z.ZodString>;
5891
+ type: z.ZodArray<z.ZodString, "atleastone">;
4952
5892
  issuer: z.ZodUnion<[z.ZodString, z.ZodObject<{
4953
5893
  id: z.ZodOptional<z.ZodString>;
4954
5894
  type: z.ZodUnion<[z.ZodString, z.ZodOptional<z.ZodArray<z.ZodString, "atleastone">>]>;
@@ -5136,8 +6076,6 @@ export declare const UnsignedAchievementCredentialValidator: z.ZodObject<z.exten
5136
6076
  familyNamePrefix?: string | undefined;
5137
6077
  dateOfBirth?: string | undefined;
5138
6078
  }>]>;
5139
- issuanceDate: z.ZodString;
5140
- expirationDate: z.ZodOptional<z.ZodString>;
5141
6079
  credentialSubject: z.ZodUnion<[z.ZodObject<{
5142
6080
  id: z.ZodOptional<z.ZodString>;
5143
6081
  }, "strip", z.ZodAny, {
@@ -5155,9 +6093,32 @@ export declare const UnsignedAchievementCredentialValidator: z.ZodObject<z.exten
5155
6093
  [x: string]: any;
5156
6094
  id?: string | undefined;
5157
6095
  }>, "many">]>;
5158
- credentialStatus: z.ZodOptional<z.ZodObject<{
6096
+ refreshService: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
6097
+ id: z.ZodOptional<z.ZodString>;
5159
6098
  type: z.ZodString;
6099
+ }, "strip", z.ZodAny, {
6100
+ [x: string]: any;
6101
+ id?: string | undefined;
6102
+ type: string;
6103
+ }, {
6104
+ [x: string]: any;
6105
+ id?: string | undefined;
6106
+ type: string;
6107
+ }>, z.ZodArray<z.ZodObject<{
6108
+ id: z.ZodOptional<z.ZodString>;
6109
+ type: z.ZodString;
6110
+ }, "strip", z.ZodAny, {
6111
+ [x: string]: any;
6112
+ id?: string | undefined;
6113
+ type: string;
6114
+ }, {
6115
+ [x: string]: any;
6116
+ id?: string | undefined;
6117
+ type: string;
6118
+ }>, "many">]>>;
6119
+ credentialSchema: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
5160
6120
  id: z.ZodString;
6121
+ type: z.ZodString;
5161
6122
  }, "strip", z.ZodAny, {
5162
6123
  [x: string]: any;
5163
6124
  type: string;
@@ -5166,8 +6127,7 @@ export declare const UnsignedAchievementCredentialValidator: z.ZodObject<z.exten
5166
6127
  [x: string]: any;
5167
6128
  type: string;
5168
6129
  id: string;
5169
- }>>;
5170
- credentialSchema: z.ZodOptional<z.ZodArray<z.ZodObject<{
6130
+ }>, z.ZodArray<z.ZodObject<{
5171
6131
  id: z.ZodString;
5172
6132
  type: z.ZodString;
5173
6133
  }, "strip", z.ZodAny, {
@@ -5178,10 +6138,23 @@ export declare const UnsignedAchievementCredentialValidator: z.ZodObject<z.exten
5178
6138
  [x: string]: any;
5179
6139
  type: string;
5180
6140
  id: string;
5181
- }>, "many">>;
5182
- refreshService: z.ZodOptional<z.ZodObject<{
6141
+ }>, "many">]>>;
6142
+ issuanceDate: z.ZodOptional<z.ZodString>;
6143
+ expirationDate: z.ZodOptional<z.ZodString>;
6144
+ credentialStatus: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
6145
+ type: z.ZodString;
5183
6146
  id: z.ZodString;
6147
+ }, "strip", z.ZodAny, {
6148
+ [x: string]: any;
6149
+ type: string;
6150
+ id: string;
6151
+ }, {
6152
+ [x: string]: any;
6153
+ type: string;
6154
+ id: string;
6155
+ }>, z.ZodArray<z.ZodObject<{
5184
6156
  type: z.ZodString;
6157
+ id: z.ZodString;
5185
6158
  }, "strip", z.ZodAny, {
5186
6159
  [x: string]: any;
5187
6160
  type: string;
@@ -5190,26 +6163,143 @@ export declare const UnsignedAchievementCredentialValidator: z.ZodObject<z.exten
5190
6163
  [x: string]: any;
5191
6164
  type: string;
5192
6165
  id: string;
5193
- }>>;
6166
+ }>, "many">]>>;
6167
+ name: z.ZodOptional<z.ZodString>;
6168
+ description: z.ZodOptional<z.ZodString>;
6169
+ validFrom: z.ZodOptional<z.ZodString>;
6170
+ validUntil: z.ZodOptional<z.ZodString>;
6171
+ status: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
6172
+ type: z.ZodString;
6173
+ id: z.ZodString;
6174
+ }, "strip", z.ZodAny, {
6175
+ [x: string]: any;
6176
+ type: string;
6177
+ id: string;
6178
+ }, {
6179
+ [x: string]: any;
6180
+ type: string;
6181
+ id: string;
6182
+ }>, z.ZodArray<z.ZodObject<{
6183
+ type: z.ZodString;
6184
+ id: z.ZodString;
6185
+ }, "strip", z.ZodAny, {
6186
+ [x: string]: any;
6187
+ type: string;
6188
+ id: string;
6189
+ }, {
6190
+ [x: string]: any;
6191
+ type: string;
6192
+ id: string;
6193
+ }>, "many">]>>;
6194
+ termsOfUse: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
6195
+ type: z.ZodString;
6196
+ id: z.ZodOptional<z.ZodString>;
6197
+ }, "strip", z.ZodAny, {
6198
+ [x: string]: any;
6199
+ id?: string | undefined;
6200
+ type: string;
6201
+ }, {
6202
+ [x: string]: any;
6203
+ id?: string | undefined;
6204
+ type: string;
6205
+ }>, z.ZodArray<z.ZodObject<{
6206
+ type: z.ZodString;
6207
+ id: z.ZodOptional<z.ZodString>;
6208
+ }, "strip", z.ZodAny, {
6209
+ [x: string]: any;
6210
+ id?: string | undefined;
6211
+ type: string;
6212
+ }, {
6213
+ [x: string]: any;
6214
+ id?: string | undefined;
6215
+ type: string;
6216
+ }>, "many">]>>;
6217
+ evidence: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
6218
+ type: z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "atleastone">]>;
6219
+ id: z.ZodOptional<z.ZodString>;
6220
+ }, "strip", z.ZodAny, {
6221
+ [x: string]: any;
6222
+ id?: string | undefined;
6223
+ type: string | [string, ...string[]];
6224
+ }, {
6225
+ [x: string]: any;
6226
+ id?: string | undefined;
6227
+ type: string | [string, ...string[]];
6228
+ }>, z.ZodArray<z.ZodObject<{
6229
+ type: z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "atleastone">]>;
6230
+ id: z.ZodOptional<z.ZodString>;
6231
+ }, "strip", z.ZodAny, {
6232
+ [x: string]: any;
6233
+ id?: string | undefined;
6234
+ type: string | [string, ...string[]];
6235
+ }, {
6236
+ [x: string]: any;
6237
+ id?: string | undefined;
6238
+ type: string | [string, ...string[]];
6239
+ }>, "many">]>>;
5194
6240
  }, "strip", z.ZodAny, {
5195
6241
  [x: string]: any;
6242
+ status?: {
6243
+ [x: string]: any;
6244
+ type: string;
6245
+ id: string;
6246
+ } | {
6247
+ [x: string]: any;
6248
+ type: string;
6249
+ id: string;
6250
+ }[] | undefined;
5196
6251
  id?: string | undefined;
6252
+ name?: string | undefined;
6253
+ description?: string | undefined;
6254
+ refreshService?: {
6255
+ [x: string]: any;
6256
+ id?: string | undefined;
6257
+ type: string;
6258
+ } | {
6259
+ [x: string]: any;
6260
+ id?: string | undefined;
6261
+ type: string;
6262
+ }[] | undefined;
6263
+ credentialSchema?: {
6264
+ [x: string]: any;
6265
+ type: string;
6266
+ id: string;
6267
+ } | {
6268
+ [x: string]: any;
6269
+ type: string;
6270
+ id: string;
6271
+ }[] | undefined;
6272
+ issuanceDate?: string | undefined;
5197
6273
  expirationDate?: string | undefined;
5198
6274
  credentialStatus?: {
5199
6275
  [x: string]: any;
5200
6276
  type: string;
5201
6277
  id: string;
5202
- } | undefined;
5203
- credentialSchema?: {
6278
+ } | {
5204
6279
  [x: string]: any;
5205
6280
  type: string;
5206
6281
  id: string;
5207
6282
  }[] | undefined;
5208
- refreshService?: {
6283
+ validFrom?: string | undefined;
6284
+ validUntil?: string | undefined;
6285
+ termsOfUse?: {
5209
6286
  [x: string]: any;
6287
+ id?: string | undefined;
5210
6288
  type: string;
5211
- id: string;
5212
- } | undefined;
6289
+ } | {
6290
+ [x: string]: any;
6291
+ id?: string | undefined;
6292
+ type: string;
6293
+ }[] | undefined;
6294
+ evidence?: {
6295
+ [x: string]: any;
6296
+ id?: string | undefined;
6297
+ type: string | [string, ...string[]];
6298
+ } | {
6299
+ [x: string]: any;
6300
+ id?: string | undefined;
6301
+ type: string | [string, ...string[]];
6302
+ }[] | undefined;
5213
6303
  type: [string, ...string[]];
5214
6304
  '@context': (string | Record<string, any>)[];
5215
6305
  issuer: string | {
@@ -5258,7 +6348,6 @@ export declare const UnsignedAchievementCredentialValidator: z.ZodObject<z.exten
5258
6348
  familyNamePrefix?: string | undefined;
5259
6349
  dateOfBirth?: string | undefined;
5260
6350
  };
5261
- issuanceDate: string;
5262
6351
  credentialSubject: {
5263
6352
  [x: string]: any;
5264
6353
  id?: string | undefined;
@@ -5268,23 +6357,67 @@ export declare const UnsignedAchievementCredentialValidator: z.ZodObject<z.exten
5268
6357
  }[];
5269
6358
  }, {
5270
6359
  [x: string]: any;
6360
+ status?: {
6361
+ [x: string]: any;
6362
+ type: string;
6363
+ id: string;
6364
+ } | {
6365
+ [x: string]: any;
6366
+ type: string;
6367
+ id: string;
6368
+ }[] | undefined;
5271
6369
  id?: string | undefined;
6370
+ name?: string | undefined;
6371
+ description?: string | undefined;
6372
+ refreshService?: {
6373
+ [x: string]: any;
6374
+ id?: string | undefined;
6375
+ type: string;
6376
+ } | {
6377
+ [x: string]: any;
6378
+ id?: string | undefined;
6379
+ type: string;
6380
+ }[] | undefined;
6381
+ credentialSchema?: {
6382
+ [x: string]: any;
6383
+ type: string;
6384
+ id: string;
6385
+ } | {
6386
+ [x: string]: any;
6387
+ type: string;
6388
+ id: string;
6389
+ }[] | undefined;
6390
+ issuanceDate?: string | undefined;
5272
6391
  expirationDate?: string | undefined;
5273
6392
  credentialStatus?: {
5274
6393
  [x: string]: any;
5275
6394
  type: string;
5276
6395
  id: string;
5277
- } | undefined;
5278
- credentialSchema?: {
6396
+ } | {
5279
6397
  [x: string]: any;
5280
6398
  type: string;
5281
6399
  id: string;
5282
6400
  }[] | undefined;
5283
- refreshService?: {
6401
+ validFrom?: string | undefined;
6402
+ validUntil?: string | undefined;
6403
+ termsOfUse?: {
5284
6404
  [x: string]: any;
6405
+ id?: string | undefined;
5285
6406
  type: string;
5286
- id: string;
5287
- } | undefined;
6407
+ } | {
6408
+ [x: string]: any;
6409
+ id?: string | undefined;
6410
+ type: string;
6411
+ }[] | undefined;
6412
+ evidence?: {
6413
+ [x: string]: any;
6414
+ id?: string | undefined;
6415
+ type: string | [string, ...string[]];
6416
+ } | {
6417
+ [x: string]: any;
6418
+ id?: string | undefined;
6419
+ type: string | [string, ...string[]];
6420
+ }[] | undefined;
5288
6421
  type: [string, ...string[]];
5289
6422
  '@context': (string | Record<string, any>)[];
5290
6423
  issuer: string | {
@@ -5333,7 +6466,6 @@ export declare const UnsignedAchievementCredentialValidator: z.ZodObject<z.exten
5333
6466
  familyNamePrefix?: string | undefined;
5334
6467
  dateOfBirth?: string | undefined;
5335
6468
  };
5336
- issuanceDate: string;
5337
6469
  credentialSubject: {
5338
6470
  [x: string]: any;
5339
6471
  id?: string | undefined;
@@ -5344,7 +6476,7 @@ export declare const UnsignedAchievementCredentialValidator: z.ZodObject<z.exten
5344
6476
  }>, "many">>;
5345
6477
  evidence: z.ZodOptional<z.ZodArray<z.ZodObject<{
5346
6478
  id: z.ZodOptional<z.ZodString>;
5347
- type: z.ZodArray<z.ZodString, "atleastone">;
6479
+ type: z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "atleastone">]>;
5348
6480
  narrative: z.ZodOptional<z.ZodString>;
5349
6481
  name: z.ZodOptional<z.ZodString>;
5350
6482
  description: z.ZodOptional<z.ZodString>;
@@ -5358,7 +6490,7 @@ export declare const UnsignedAchievementCredentialValidator: z.ZodObject<z.exten
5358
6490
  description?: string | undefined;
5359
6491
  genre?: string | undefined;
5360
6492
  audience?: string | undefined;
5361
- type: [string, ...string[]];
6493
+ type: string | [string, ...string[]];
5362
6494
  }, {
5363
6495
  [x: string]: any;
5364
6496
  narrative?: string | undefined;
@@ -5367,32 +6499,85 @@ export declare const UnsignedAchievementCredentialValidator: z.ZodObject<z.exten
5367
6499
  description?: string | undefined;
5368
6500
  genre?: string | undefined;
5369
6501
  audience?: string | undefined;
5370
- type: [string, ...string[]];
6502
+ type: string | [string, ...string[]];
5371
6503
  }>, "many">>;
5372
6504
  }>, "strip", z.ZodAny, {
5373
6505
  [x: string]: any;
6506
+ status?: {
6507
+ [x: string]: any;
6508
+ type: string;
6509
+ id: string;
6510
+ } | {
6511
+ [x: string]: any;
6512
+ type: string;
6513
+ id: string;
6514
+ }[] | undefined;
5374
6515
  id?: string | undefined;
5375
6516
  name?: string | undefined;
5376
6517
  description?: string | undefined;
5377
6518
  endorsement?: {
5378
6519
  [x: string]: any;
6520
+ status?: {
6521
+ [x: string]: any;
6522
+ type: string;
6523
+ id: string;
6524
+ } | {
6525
+ [x: string]: any;
6526
+ type: string;
6527
+ id: string;
6528
+ }[] | undefined;
5379
6529
  id?: string | undefined;
6530
+ name?: string | undefined;
6531
+ description?: string | undefined;
6532
+ refreshService?: {
6533
+ [x: string]: any;
6534
+ id?: string | undefined;
6535
+ type: string;
6536
+ } | {
6537
+ [x: string]: any;
6538
+ id?: string | undefined;
6539
+ type: string;
6540
+ }[] | undefined;
6541
+ credentialSchema?: {
6542
+ [x: string]: any;
6543
+ type: string;
6544
+ id: string;
6545
+ } | {
6546
+ [x: string]: any;
6547
+ type: string;
6548
+ id: string;
6549
+ }[] | undefined;
6550
+ issuanceDate?: string | undefined;
5380
6551
  expirationDate?: string | undefined;
5381
6552
  credentialStatus?: {
5382
6553
  [x: string]: any;
5383
6554
  type: string;
5384
6555
  id: string;
5385
- } | undefined;
5386
- credentialSchema?: {
6556
+ } | {
5387
6557
  [x: string]: any;
5388
6558
  type: string;
5389
6559
  id: string;
5390
6560
  }[] | undefined;
5391
- refreshService?: {
6561
+ validFrom?: string | undefined;
6562
+ validUntil?: string | undefined;
6563
+ termsOfUse?: {
5392
6564
  [x: string]: any;
6565
+ id?: string | undefined;
5393
6566
  type: string;
5394
- id: string;
5395
- } | undefined;
6567
+ } | {
6568
+ [x: string]: any;
6569
+ id?: string | undefined;
6570
+ type: string;
6571
+ }[] | undefined;
6572
+ evidence?: {
6573
+ [x: string]: any;
6574
+ id?: string | undefined;
6575
+ type: string | [string, ...string[]];
6576
+ } | {
6577
+ [x: string]: any;
6578
+ id?: string | undefined;
6579
+ type: string | [string, ...string[]];
6580
+ }[] | undefined;
5396
6581
  type: [string, ...string[]];
5397
6582
  '@context': (string | Record<string, any>)[];
5398
6583
  issuer: string | {
@@ -5441,7 +6626,6 @@ export declare const UnsignedAchievementCredentialValidator: z.ZodObject<z.exten
5441
6626
  familyNamePrefix?: string | undefined;
5442
6627
  dateOfBirth?: string | undefined;
5443
6628
  };
5444
- issuanceDate: string;
5445
6629
  credentialSubject: {
5446
6630
  [x: string]: any;
5447
6631
  id?: string | undefined;
@@ -5454,23 +6638,47 @@ export declare const UnsignedAchievementCredentialValidator: z.ZodObject<z.exten
5454
6638
  caption?: string | undefined;
5455
6639
  type: string;
5456
6640
  id: string;
5457
- } | undefined;
6641
+ } | undefined;
6642
+ refreshService?: {
6643
+ [x: string]: any;
6644
+ id?: string | undefined;
6645
+ type: string;
6646
+ } | {
6647
+ [x: string]: any;
6648
+ id?: string | undefined;
6649
+ type: string;
6650
+ }[] | undefined;
6651
+ credentialSchema?: {
6652
+ [x: string]: any;
6653
+ type: string;
6654
+ id: string;
6655
+ } | {
6656
+ [x: string]: any;
6657
+ type: string;
6658
+ id: string;
6659
+ }[] | undefined;
6660
+ issuanceDate?: string | undefined;
5458
6661
  expirationDate?: string | undefined;
5459
6662
  credentialStatus?: {
5460
6663
  [x: string]: any;
5461
6664
  type: string;
5462
6665
  id: string;
5463
- } | undefined;
5464
- credentialSchema?: {
6666
+ } | {
5465
6667
  [x: string]: any;
5466
6668
  type: string;
5467
6669
  id: string;
5468
6670
  }[] | undefined;
5469
- refreshService?: {
6671
+ validFrom?: string | undefined;
6672
+ validUntil?: string | undefined;
6673
+ termsOfUse?: {
5470
6674
  [x: string]: any;
6675
+ id?: string | undefined;
5471
6676
  type: string;
5472
- id: string;
5473
- } | undefined;
6677
+ } | {
6678
+ [x: string]: any;
6679
+ id?: string | undefined;
6680
+ type: string;
6681
+ }[] | undefined;
5474
6682
  evidence?: {
5475
6683
  [x: string]: any;
5476
6684
  narrative?: string | undefined;
@@ -5479,7 +6687,7 @@ export declare const UnsignedAchievementCredentialValidator: z.ZodObject<z.exten
5479
6687
  description?: string | undefined;
5480
6688
  genre?: string | undefined;
5481
6689
  audience?: string | undefined;
5482
- type: [string, ...string[]];
6690
+ type: string | [string, ...string[]];
5483
6691
  }[] | undefined;
5484
6692
  type: [string, ...string[]];
5485
6693
  '@context': (string | Record<string, any>)[];
@@ -5529,7 +6737,6 @@ export declare const UnsignedAchievementCredentialValidator: z.ZodObject<z.exten
5529
6737
  familyNamePrefix?: string | undefined;
5530
6738
  dateOfBirth?: string | undefined;
5531
6739
  };
5532
- issuanceDate: string;
5533
6740
  credentialSubject: {
5534
6741
  [x: string]: any;
5535
6742
  narrative?: string | undefined;
@@ -5555,23 +6762,67 @@ export declare const UnsignedAchievementCredentialValidator: z.ZodObject<z.exten
5555
6762
  id?: string | undefined;
5556
6763
  endorsement?: {
5557
6764
  [x: string]: any;
6765
+ status?: {
6766
+ [x: string]: any;
6767
+ type: string;
6768
+ id: string;
6769
+ } | {
6770
+ [x: string]: any;
6771
+ type: string;
6772
+ id: string;
6773
+ }[] | undefined;
5558
6774
  id?: string | undefined;
6775
+ name?: string | undefined;
6776
+ description?: string | undefined;
6777
+ refreshService?: {
6778
+ [x: string]: any;
6779
+ id?: string | undefined;
6780
+ type: string;
6781
+ } | {
6782
+ [x: string]: any;
6783
+ id?: string | undefined;
6784
+ type: string;
6785
+ }[] | undefined;
6786
+ credentialSchema?: {
6787
+ [x: string]: any;
6788
+ type: string;
6789
+ id: string;
6790
+ } | {
6791
+ [x: string]: any;
6792
+ type: string;
6793
+ id: string;
6794
+ }[] | undefined;
6795
+ issuanceDate?: string | undefined;
5559
6796
  expirationDate?: string | undefined;
5560
6797
  credentialStatus?: {
5561
6798
  [x: string]: any;
5562
6799
  type: string;
5563
6800
  id: string;
5564
- } | undefined;
5565
- credentialSchema?: {
6801
+ } | {
5566
6802
  [x: string]: any;
5567
6803
  type: string;
5568
6804
  id: string;
5569
6805
  }[] | undefined;
5570
- refreshService?: {
6806
+ validFrom?: string | undefined;
6807
+ validUntil?: string | undefined;
6808
+ termsOfUse?: {
5571
6809
  [x: string]: any;
6810
+ id?: string | undefined;
5572
6811
  type: string;
5573
- id: string;
5574
- } | undefined;
6812
+ } | {
6813
+ [x: string]: any;
6814
+ id?: string | undefined;
6815
+ type: string;
6816
+ }[] | undefined;
6817
+ evidence?: {
6818
+ [x: string]: any;
6819
+ id?: string | undefined;
6820
+ type: string | [string, ...string[]];
6821
+ } | {
6822
+ [x: string]: any;
6823
+ id?: string | undefined;
6824
+ type: string | [string, ...string[]];
6825
+ }[] | undefined;
5575
6826
  proof?: {
5576
6827
  [x: string]: any;
5577
6828
  challenge?: string | undefined;
@@ -5641,7 +6892,6 @@ export declare const UnsignedAchievementCredentialValidator: z.ZodObject<z.exten
5641
6892
  familyNamePrefix?: string | undefined;
5642
6893
  dateOfBirth?: string | undefined;
5643
6894
  };
5644
- issuanceDate: string;
5645
6895
  credentialSubject: {
5646
6896
  endorsementComment?: string | undefined;
5647
6897
  type: [string, ...string[]];
@@ -5865,23 +7115,67 @@ export declare const UnsignedAchievementCredentialValidator: z.ZodObject<z.exten
5865
7115
  id?: string | undefined;
5866
7116
  endorsement?: {
5867
7117
  [x: string]: any;
7118
+ status?: {
7119
+ [x: string]: any;
7120
+ type: string;
7121
+ id: string;
7122
+ } | {
7123
+ [x: string]: any;
7124
+ type: string;
7125
+ id: string;
7126
+ }[] | undefined;
5868
7127
  id?: string | undefined;
7128
+ name?: string | undefined;
7129
+ description?: string | undefined;
7130
+ refreshService?: {
7131
+ [x: string]: any;
7132
+ id?: string | undefined;
7133
+ type: string;
7134
+ } | {
7135
+ [x: string]: any;
7136
+ id?: string | undefined;
7137
+ type: string;
7138
+ }[] | undefined;
7139
+ credentialSchema?: {
7140
+ [x: string]: any;
7141
+ type: string;
7142
+ id: string;
7143
+ } | {
7144
+ [x: string]: any;
7145
+ type: string;
7146
+ id: string;
7147
+ }[] | undefined;
7148
+ issuanceDate?: string | undefined;
5869
7149
  expirationDate?: string | undefined;
5870
7150
  credentialStatus?: {
5871
7151
  [x: string]: any;
5872
7152
  type: string;
5873
7153
  id: string;
5874
- } | undefined;
5875
- credentialSchema?: {
7154
+ } | {
5876
7155
  [x: string]: any;
5877
7156
  type: string;
5878
7157
  id: string;
5879
7158
  }[] | undefined;
5880
- refreshService?: {
7159
+ validFrom?: string | undefined;
7160
+ validUntil?: string | undefined;
7161
+ termsOfUse?: {
5881
7162
  [x: string]: any;
7163
+ id?: string | undefined;
5882
7164
  type: string;
5883
- id: string;
5884
- } | undefined;
7165
+ } | {
7166
+ [x: string]: any;
7167
+ id?: string | undefined;
7168
+ type: string;
7169
+ }[] | undefined;
7170
+ evidence?: {
7171
+ [x: string]: any;
7172
+ id?: string | undefined;
7173
+ type: string | [string, ...string[]];
7174
+ } | {
7175
+ [x: string]: any;
7176
+ id?: string | undefined;
7177
+ type: string | [string, ...string[]];
7178
+ }[] | undefined;
5885
7179
  proof?: {
5886
7180
  [x: string]: any;
5887
7181
  challenge?: string | undefined;
@@ -5951,7 +7245,6 @@ export declare const UnsignedAchievementCredentialValidator: z.ZodObject<z.exten
5951
7245
  familyNamePrefix?: string | undefined;
5952
7246
  dateOfBirth?: string | undefined;
5953
7247
  };
5954
- issuanceDate: string;
5955
7248
  credentialSubject: {
5956
7249
  endorsementComment?: string | undefined;
5957
7250
  type: [string, ...string[]];
@@ -6153,28 +7446,81 @@ export declare const UnsignedAchievementCredentialValidator: z.ZodObject<z.exten
6153
7446
  }[];
6154
7447
  }, {
6155
7448
  [x: string]: any;
7449
+ status?: {
7450
+ [x: string]: any;
7451
+ type: string;
7452
+ id: string;
7453
+ } | {
7454
+ [x: string]: any;
7455
+ type: string;
7456
+ id: string;
7457
+ }[] | undefined;
6156
7458
  id?: string | undefined;
6157
7459
  name?: string | undefined;
6158
7460
  description?: string | undefined;
6159
7461
  endorsement?: {
6160
7462
  [x: string]: any;
7463
+ status?: {
7464
+ [x: string]: any;
7465
+ type: string;
7466
+ id: string;
7467
+ } | {
7468
+ [x: string]: any;
7469
+ type: string;
7470
+ id: string;
7471
+ }[] | undefined;
6161
7472
  id?: string | undefined;
7473
+ name?: string | undefined;
7474
+ description?: string | undefined;
7475
+ refreshService?: {
7476
+ [x: string]: any;
7477
+ id?: string | undefined;
7478
+ type: string;
7479
+ } | {
7480
+ [x: string]: any;
7481
+ id?: string | undefined;
7482
+ type: string;
7483
+ }[] | undefined;
7484
+ credentialSchema?: {
7485
+ [x: string]: any;
7486
+ type: string;
7487
+ id: string;
7488
+ } | {
7489
+ [x: string]: any;
7490
+ type: string;
7491
+ id: string;
7492
+ }[] | undefined;
7493
+ issuanceDate?: string | undefined;
6162
7494
  expirationDate?: string | undefined;
6163
7495
  credentialStatus?: {
6164
7496
  [x: string]: any;
6165
7497
  type: string;
6166
7498
  id: string;
6167
- } | undefined;
6168
- credentialSchema?: {
7499
+ } | {
6169
7500
  [x: string]: any;
6170
7501
  type: string;
6171
7502
  id: string;
6172
7503
  }[] | undefined;
6173
- refreshService?: {
7504
+ validFrom?: string | undefined;
7505
+ validUntil?: string | undefined;
7506
+ termsOfUse?: {
6174
7507
  [x: string]: any;
7508
+ id?: string | undefined;
6175
7509
  type: string;
6176
- id: string;
6177
- } | undefined;
7510
+ } | {
7511
+ [x: string]: any;
7512
+ id?: string | undefined;
7513
+ type: string;
7514
+ }[] | undefined;
7515
+ evidence?: {
7516
+ [x: string]: any;
7517
+ id?: string | undefined;
7518
+ type: string | [string, ...string[]];
7519
+ } | {
7520
+ [x: string]: any;
7521
+ id?: string | undefined;
7522
+ type: string | [string, ...string[]];
7523
+ }[] | undefined;
6178
7524
  type: [string, ...string[]];
6179
7525
  '@context': (string | Record<string, any>)[];
6180
7526
  issuer: string | {
@@ -6223,7 +7569,6 @@ export declare const UnsignedAchievementCredentialValidator: z.ZodObject<z.exten
6223
7569
  familyNamePrefix?: string | undefined;
6224
7570
  dateOfBirth?: string | undefined;
6225
7571
  };
6226
- issuanceDate: string;
6227
7572
  credentialSubject: {
6228
7573
  [x: string]: any;
6229
7574
  id?: string | undefined;
@@ -6237,22 +7582,46 @@ export declare const UnsignedAchievementCredentialValidator: z.ZodObject<z.exten
6237
7582
  type: string;
6238
7583
  id: string;
6239
7584
  } | undefined;
7585
+ refreshService?: {
7586
+ [x: string]: any;
7587
+ id?: string | undefined;
7588
+ type: string;
7589
+ } | {
7590
+ [x: string]: any;
7591
+ id?: string | undefined;
7592
+ type: string;
7593
+ }[] | undefined;
7594
+ credentialSchema?: {
7595
+ [x: string]: any;
7596
+ type: string;
7597
+ id: string;
7598
+ } | {
7599
+ [x: string]: any;
7600
+ type: string;
7601
+ id: string;
7602
+ }[] | undefined;
7603
+ issuanceDate?: string | undefined;
6240
7604
  expirationDate?: string | undefined;
6241
7605
  credentialStatus?: {
6242
7606
  [x: string]: any;
6243
7607
  type: string;
6244
7608
  id: string;
6245
- } | undefined;
6246
- credentialSchema?: {
7609
+ } | {
6247
7610
  [x: string]: any;
6248
7611
  type: string;
6249
7612
  id: string;
6250
7613
  }[] | undefined;
6251
- refreshService?: {
7614
+ validFrom?: string | undefined;
7615
+ validUntil?: string | undefined;
7616
+ termsOfUse?: {
6252
7617
  [x: string]: any;
7618
+ id?: string | undefined;
6253
7619
  type: string;
6254
- id: string;
6255
- } | undefined;
7620
+ } | {
7621
+ [x: string]: any;
7622
+ id?: string | undefined;
7623
+ type: string;
7624
+ }[] | undefined;
6256
7625
  evidence?: {
6257
7626
  [x: string]: any;
6258
7627
  narrative?: string | undefined;
@@ -6261,7 +7630,7 @@ export declare const UnsignedAchievementCredentialValidator: z.ZodObject<z.exten
6261
7630
  description?: string | undefined;
6262
7631
  genre?: string | undefined;
6263
7632
  audience?: string | undefined;
6264
- type: [string, ...string[]];
7633
+ type: string | [string, ...string[]];
6265
7634
  }[] | undefined;
6266
7635
  type: [string, ...string[]];
6267
7636
  '@context': (string | Record<string, any>)[];
@@ -6311,7 +7680,6 @@ export declare const UnsignedAchievementCredentialValidator: z.ZodObject<z.exten
6311
7680
  familyNamePrefix?: string | undefined;
6312
7681
  dateOfBirth?: string | undefined;
6313
7682
  };
6314
- issuanceDate: string;
6315
7683
  credentialSubject: {
6316
7684
  [x: string]: any;
6317
7685
  narrative?: string | undefined;
@@ -6337,23 +7705,67 @@ export declare const UnsignedAchievementCredentialValidator: z.ZodObject<z.exten
6337
7705
  id?: string | undefined;
6338
7706
  endorsement?: {
6339
7707
  [x: string]: any;
7708
+ status?: {
7709
+ [x: string]: any;
7710
+ type: string;
7711
+ id: string;
7712
+ } | {
7713
+ [x: string]: any;
7714
+ type: string;
7715
+ id: string;
7716
+ }[] | undefined;
6340
7717
  id?: string | undefined;
7718
+ name?: string | undefined;
7719
+ description?: string | undefined;
7720
+ refreshService?: {
7721
+ [x: string]: any;
7722
+ id?: string | undefined;
7723
+ type: string;
7724
+ } | {
7725
+ [x: string]: any;
7726
+ id?: string | undefined;
7727
+ type: string;
7728
+ }[] | undefined;
7729
+ credentialSchema?: {
7730
+ [x: string]: any;
7731
+ type: string;
7732
+ id: string;
7733
+ } | {
7734
+ [x: string]: any;
7735
+ type: string;
7736
+ id: string;
7737
+ }[] | undefined;
7738
+ issuanceDate?: string | undefined;
6341
7739
  expirationDate?: string | undefined;
6342
7740
  credentialStatus?: {
6343
7741
  [x: string]: any;
6344
7742
  type: string;
6345
7743
  id: string;
6346
- } | undefined;
6347
- credentialSchema?: {
7744
+ } | {
6348
7745
  [x: string]: any;
6349
7746
  type: string;
6350
7747
  id: string;
6351
7748
  }[] | undefined;
6352
- refreshService?: {
7749
+ validFrom?: string | undefined;
7750
+ validUntil?: string | undefined;
7751
+ termsOfUse?: {
6353
7752
  [x: string]: any;
7753
+ id?: string | undefined;
6354
7754
  type: string;
6355
- id: string;
6356
- } | undefined;
7755
+ } | {
7756
+ [x: string]: any;
7757
+ id?: string | undefined;
7758
+ type: string;
7759
+ }[] | undefined;
7760
+ evidence?: {
7761
+ [x: string]: any;
7762
+ id?: string | undefined;
7763
+ type: string | [string, ...string[]];
7764
+ } | {
7765
+ [x: string]: any;
7766
+ id?: string | undefined;
7767
+ type: string | [string, ...string[]];
7768
+ }[] | undefined;
6357
7769
  proof?: {
6358
7770
  [x: string]: any;
6359
7771
  challenge?: string | undefined;
@@ -6423,7 +7835,6 @@ export declare const UnsignedAchievementCredentialValidator: z.ZodObject<z.exten
6423
7835
  familyNamePrefix?: string | undefined;
6424
7836
  dateOfBirth?: string | undefined;
6425
7837
  };
6426
- issuanceDate: string;
6427
7838
  credentialSubject: {
6428
7839
  endorsementComment?: string | undefined;
6429
7840
  type: [string, ...string[]];
@@ -6647,23 +8058,67 @@ export declare const UnsignedAchievementCredentialValidator: z.ZodObject<z.exten
6647
8058
  id?: string | undefined;
6648
8059
  endorsement?: {
6649
8060
  [x: string]: any;
8061
+ status?: {
8062
+ [x: string]: any;
8063
+ type: string;
8064
+ id: string;
8065
+ } | {
8066
+ [x: string]: any;
8067
+ type: string;
8068
+ id: string;
8069
+ }[] | undefined;
6650
8070
  id?: string | undefined;
8071
+ name?: string | undefined;
8072
+ description?: string | undefined;
8073
+ refreshService?: {
8074
+ [x: string]: any;
8075
+ id?: string | undefined;
8076
+ type: string;
8077
+ } | {
8078
+ [x: string]: any;
8079
+ id?: string | undefined;
8080
+ type: string;
8081
+ }[] | undefined;
8082
+ credentialSchema?: {
8083
+ [x: string]: any;
8084
+ type: string;
8085
+ id: string;
8086
+ } | {
8087
+ [x: string]: any;
8088
+ type: string;
8089
+ id: string;
8090
+ }[] | undefined;
8091
+ issuanceDate?: string | undefined;
6651
8092
  expirationDate?: string | undefined;
6652
8093
  credentialStatus?: {
6653
8094
  [x: string]: any;
6654
8095
  type: string;
6655
8096
  id: string;
6656
- } | undefined;
6657
- credentialSchema?: {
8097
+ } | {
6658
8098
  [x: string]: any;
6659
8099
  type: string;
6660
8100
  id: string;
6661
8101
  }[] | undefined;
6662
- refreshService?: {
8102
+ validFrom?: string | undefined;
8103
+ validUntil?: string | undefined;
8104
+ termsOfUse?: {
6663
8105
  [x: string]: any;
8106
+ id?: string | undefined;
6664
8107
  type: string;
6665
- id: string;
6666
- } | undefined;
8108
+ } | {
8109
+ [x: string]: any;
8110
+ id?: string | undefined;
8111
+ type: string;
8112
+ }[] | undefined;
8113
+ evidence?: {
8114
+ [x: string]: any;
8115
+ id?: string | undefined;
8116
+ type: string | [string, ...string[]];
8117
+ } | {
8118
+ [x: string]: any;
8119
+ id?: string | undefined;
8120
+ type: string | [string, ...string[]];
8121
+ }[] | undefined;
6667
8122
  proof?: {
6668
8123
  [x: string]: any;
6669
8124
  challenge?: string | undefined;
@@ -6733,7 +8188,6 @@ export declare const UnsignedAchievementCredentialValidator: z.ZodObject<z.exten
6733
8188
  familyNamePrefix?: string | undefined;
6734
8189
  dateOfBirth?: string | undefined;
6735
8190
  };
6736
- issuanceDate: string;
6737
8191
  credentialSubject: {
6738
8192
  endorsementComment?: string | undefined;
6739
8193
  type: [string, ...string[]];
@@ -7126,8 +8580,6 @@ export declare const AchievementCredentialValidator: z.ZodObject<z.extendShape<z
7126
8580
  familyNamePrefix?: string | undefined;
7127
8581
  dateOfBirth?: string | undefined;
7128
8582
  }>]>;
7129
- issuanceDate: z.ZodString;
7130
- expirationDate: z.ZodOptional<z.ZodString>;
7131
8583
  credentialSubject: z.ZodUnion<[z.ZodObject<{
7132
8584
  id: z.ZodOptional<z.ZodString>;
7133
8585
  }, "strip", z.ZodAny, {
@@ -7145,9 +8597,43 @@ export declare const AchievementCredentialValidator: z.ZodObject<z.extendShape<z
7145
8597
  [x: string]: any;
7146
8598
  id?: string | undefined;
7147
8599
  }>, "many">]>;
7148
- credentialStatus: z.ZodOptional<z.ZodObject<{
8600
+ refreshService: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
8601
+ id: z.ZodOptional<z.ZodString>;
8602
+ type: z.ZodString;
8603
+ }, "strip", z.ZodAny, {
8604
+ [x: string]: any;
8605
+ id?: string | undefined;
8606
+ type: string;
8607
+ }, {
8608
+ [x: string]: any;
8609
+ id?: string | undefined;
8610
+ type: string;
8611
+ }>, z.ZodArray<z.ZodObject<{
8612
+ id: z.ZodOptional<z.ZodString>;
8613
+ type: z.ZodString;
8614
+ }, "strip", z.ZodAny, {
8615
+ [x: string]: any;
8616
+ id?: string | undefined;
8617
+ type: string;
8618
+ }, {
8619
+ [x: string]: any;
8620
+ id?: string | undefined;
8621
+ type: string;
8622
+ }>, "many">]>>;
8623
+ credentialSchema: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
8624
+ id: z.ZodString;
7149
8625
  type: z.ZodString;
8626
+ }, "strip", z.ZodAny, {
8627
+ [x: string]: any;
8628
+ type: string;
8629
+ id: string;
8630
+ }, {
8631
+ [x: string]: any;
8632
+ type: string;
8633
+ id: string;
8634
+ }>, z.ZodArray<z.ZodObject<{
7150
8635
  id: z.ZodString;
8636
+ type: z.ZodString;
7151
8637
  }, "strip", z.ZodAny, {
7152
8638
  [x: string]: any;
7153
8639
  type: string;
@@ -7156,10 +8642,23 @@ export declare const AchievementCredentialValidator: z.ZodObject<z.extendShape<z
7156
8642
  [x: string]: any;
7157
8643
  type: string;
7158
8644
  id: string;
7159
- }>>;
7160
- credentialSchema: z.ZodOptional<z.ZodArray<z.ZodObject<{
8645
+ }>, "many">]>>;
8646
+ issuanceDate: z.ZodOptional<z.ZodString>;
8647
+ expirationDate: z.ZodOptional<z.ZodString>;
8648
+ credentialStatus: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
8649
+ type: z.ZodString;
7161
8650
  id: z.ZodString;
8651
+ }, "strip", z.ZodAny, {
8652
+ [x: string]: any;
8653
+ type: string;
8654
+ id: string;
8655
+ }, {
8656
+ [x: string]: any;
8657
+ type: string;
8658
+ id: string;
8659
+ }>, z.ZodArray<z.ZodObject<{
7162
8660
  type: z.ZodString;
8661
+ id: z.ZodString;
7163
8662
  }, "strip", z.ZodAny, {
7164
8663
  [x: string]: any;
7165
8664
  type: string;
@@ -7168,10 +8667,25 @@ export declare const AchievementCredentialValidator: z.ZodObject<z.extendShape<z
7168
8667
  [x: string]: any;
7169
8668
  type: string;
7170
8669
  id: string;
7171
- }>, "many">>;
7172
- refreshService: z.ZodOptional<z.ZodObject<{
8670
+ }>, "many">]>>;
8671
+ name: z.ZodOptional<z.ZodString>;
8672
+ description: z.ZodOptional<z.ZodString>;
8673
+ validFrom: z.ZodOptional<z.ZodString>;
8674
+ validUntil: z.ZodOptional<z.ZodString>;
8675
+ status: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
8676
+ type: z.ZodString;
7173
8677
  id: z.ZodString;
8678
+ }, "strip", z.ZodAny, {
8679
+ [x: string]: any;
8680
+ type: string;
8681
+ id: string;
8682
+ }, {
8683
+ [x: string]: any;
8684
+ type: string;
8685
+ id: string;
8686
+ }>, z.ZodArray<z.ZodObject<{
7174
8687
  type: z.ZodString;
8688
+ id: z.ZodString;
7175
8689
  }, "strip", z.ZodAny, {
7176
8690
  [x: string]: any;
7177
8691
  type: string;
@@ -7180,7 +8694,53 @@ export declare const AchievementCredentialValidator: z.ZodObject<z.extendShape<z
7180
8694
  [x: string]: any;
7181
8695
  type: string;
7182
8696
  id: string;
7183
- }>>;
8697
+ }>, "many">]>>;
8698
+ termsOfUse: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
8699
+ type: z.ZodString;
8700
+ id: z.ZodOptional<z.ZodString>;
8701
+ }, "strip", z.ZodAny, {
8702
+ [x: string]: any;
8703
+ id?: string | undefined;
8704
+ type: string;
8705
+ }, {
8706
+ [x: string]: any;
8707
+ id?: string | undefined;
8708
+ type: string;
8709
+ }>, z.ZodArray<z.ZodObject<{
8710
+ type: z.ZodString;
8711
+ id: z.ZodOptional<z.ZodString>;
8712
+ }, "strip", z.ZodAny, {
8713
+ [x: string]: any;
8714
+ id?: string | undefined;
8715
+ type: string;
8716
+ }, {
8717
+ [x: string]: any;
8718
+ id?: string | undefined;
8719
+ type: string;
8720
+ }>, "many">]>>;
8721
+ evidence: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
8722
+ type: z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "atleastone">]>;
8723
+ id: z.ZodOptional<z.ZodString>;
8724
+ }, "strip", z.ZodAny, {
8725
+ [x: string]: any;
8726
+ id?: string | undefined;
8727
+ type: string | [string, ...string[]];
8728
+ }, {
8729
+ [x: string]: any;
8730
+ id?: string | undefined;
8731
+ type: string | [string, ...string[]];
8732
+ }>, z.ZodArray<z.ZodObject<{
8733
+ type: z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "atleastone">]>;
8734
+ id: z.ZodOptional<z.ZodString>;
8735
+ }, "strip", z.ZodAny, {
8736
+ [x: string]: any;
8737
+ id?: string | undefined;
8738
+ type: string | [string, ...string[]];
8739
+ }, {
8740
+ [x: string]: any;
8741
+ id?: string | undefined;
8742
+ type: string | [string, ...string[]];
8743
+ }>, "many">]>>;
7184
8744
  }, {
7185
8745
  name: z.ZodOptional<z.ZodString>;
7186
8746
  description: z.ZodOptional<z.ZodString>;
@@ -7389,8 +8949,6 @@ export declare const AchievementCredentialValidator: z.ZodObject<z.extendShape<z
7389
8949
  familyNamePrefix?: string | undefined;
7390
8950
  dateOfBirth?: string | undefined;
7391
8951
  }>]>;
7392
- issuanceDate: z.ZodString;
7393
- expirationDate: z.ZodOptional<z.ZodString>;
7394
8952
  credentialSubject: z.ZodUnion<[z.ZodObject<{
7395
8953
  id: z.ZodOptional<z.ZodString>;
7396
8954
  }, "strip", z.ZodAny, {
@@ -7407,62 +8965,214 @@ export declare const AchievementCredentialValidator: z.ZodObject<z.extendShape<z
7407
8965
  }, {
7408
8966
  [x: string]: any;
7409
8967
  id?: string | undefined;
7410
- }>, "many">]>;
7411
- credentialStatus: z.ZodOptional<z.ZodObject<{
7412
- type: z.ZodString;
7413
- id: z.ZodString;
8968
+ }>, "many">]>;
8969
+ refreshService: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
8970
+ id: z.ZodOptional<z.ZodString>;
8971
+ type: z.ZodString;
8972
+ }, "strip", z.ZodAny, {
8973
+ [x: string]: any;
8974
+ id?: string | undefined;
8975
+ type: string;
8976
+ }, {
8977
+ [x: string]: any;
8978
+ id?: string | undefined;
8979
+ type: string;
8980
+ }>, z.ZodArray<z.ZodObject<{
8981
+ id: z.ZodOptional<z.ZodString>;
8982
+ type: z.ZodString;
8983
+ }, "strip", z.ZodAny, {
8984
+ [x: string]: any;
8985
+ id?: string | undefined;
8986
+ type: string;
8987
+ }, {
8988
+ [x: string]: any;
8989
+ id?: string | undefined;
8990
+ type: string;
8991
+ }>, "many">]>>;
8992
+ credentialSchema: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
8993
+ id: z.ZodString;
8994
+ type: z.ZodString;
8995
+ }, "strip", z.ZodAny, {
8996
+ [x: string]: any;
8997
+ type: string;
8998
+ id: string;
8999
+ }, {
9000
+ [x: string]: any;
9001
+ type: string;
9002
+ id: string;
9003
+ }>, z.ZodArray<z.ZodObject<{
9004
+ id: z.ZodString;
9005
+ type: z.ZodString;
9006
+ }, "strip", z.ZodAny, {
9007
+ [x: string]: any;
9008
+ type: string;
9009
+ id: string;
9010
+ }, {
9011
+ [x: string]: any;
9012
+ type: string;
9013
+ id: string;
9014
+ }>, "many">]>>;
9015
+ issuanceDate: z.ZodOptional<z.ZodString>;
9016
+ expirationDate: z.ZodOptional<z.ZodString>;
9017
+ credentialStatus: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
9018
+ type: z.ZodString;
9019
+ id: z.ZodString;
9020
+ }, "strip", z.ZodAny, {
9021
+ [x: string]: any;
9022
+ type: string;
9023
+ id: string;
9024
+ }, {
9025
+ [x: string]: any;
9026
+ type: string;
9027
+ id: string;
9028
+ }>, z.ZodArray<z.ZodObject<{
9029
+ type: z.ZodString;
9030
+ id: z.ZodString;
9031
+ }, "strip", z.ZodAny, {
9032
+ [x: string]: any;
9033
+ type: string;
9034
+ id: string;
9035
+ }, {
9036
+ [x: string]: any;
9037
+ type: string;
9038
+ id: string;
9039
+ }>, "many">]>>;
9040
+ name: z.ZodOptional<z.ZodString>;
9041
+ description: z.ZodOptional<z.ZodString>;
9042
+ validFrom: z.ZodOptional<z.ZodString>;
9043
+ validUntil: z.ZodOptional<z.ZodString>;
9044
+ status: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
9045
+ type: z.ZodString;
9046
+ id: z.ZodString;
9047
+ }, "strip", z.ZodAny, {
9048
+ [x: string]: any;
9049
+ type: string;
9050
+ id: string;
9051
+ }, {
9052
+ [x: string]: any;
9053
+ type: string;
9054
+ id: string;
9055
+ }>, z.ZodArray<z.ZodObject<{
9056
+ type: z.ZodString;
9057
+ id: z.ZodString;
9058
+ }, "strip", z.ZodAny, {
9059
+ [x: string]: any;
9060
+ type: string;
9061
+ id: string;
9062
+ }, {
9063
+ [x: string]: any;
9064
+ type: string;
9065
+ id: string;
9066
+ }>, "many">]>>;
9067
+ termsOfUse: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
9068
+ type: z.ZodString;
9069
+ id: z.ZodOptional<z.ZodString>;
9070
+ }, "strip", z.ZodAny, {
9071
+ [x: string]: any;
9072
+ id?: string | undefined;
9073
+ type: string;
9074
+ }, {
9075
+ [x: string]: any;
9076
+ id?: string | undefined;
9077
+ type: string;
9078
+ }>, z.ZodArray<z.ZodObject<{
9079
+ type: z.ZodString;
9080
+ id: z.ZodOptional<z.ZodString>;
9081
+ }, "strip", z.ZodAny, {
9082
+ [x: string]: any;
9083
+ id?: string | undefined;
9084
+ type: string;
9085
+ }, {
9086
+ [x: string]: any;
9087
+ id?: string | undefined;
9088
+ type: string;
9089
+ }>, "many">]>>;
9090
+ evidence: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
9091
+ type: z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "atleastone">]>;
9092
+ id: z.ZodOptional<z.ZodString>;
7414
9093
  }, "strip", z.ZodAny, {
7415
9094
  [x: string]: any;
7416
- type: string;
7417
- id: string;
9095
+ id?: string | undefined;
9096
+ type: string | [string, ...string[]];
7418
9097
  }, {
7419
9098
  [x: string]: any;
7420
- type: string;
7421
- id: string;
7422
- }>>;
7423
- credentialSchema: z.ZodOptional<z.ZodArray<z.ZodObject<{
7424
- id: z.ZodString;
7425
- type: z.ZodString;
9099
+ id?: string | undefined;
9100
+ type: string | [string, ...string[]];
9101
+ }>, z.ZodArray<z.ZodObject<{
9102
+ type: z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "atleastone">]>;
9103
+ id: z.ZodOptional<z.ZodString>;
7426
9104
  }, "strip", z.ZodAny, {
9105
+ [x: string]: any;
9106
+ id?: string | undefined;
9107
+ type: string | [string, ...string[]];
9108
+ }, {
9109
+ [x: string]: any;
9110
+ id?: string | undefined;
9111
+ type: string | [string, ...string[]];
9112
+ }>, "many">]>>;
9113
+ }, "strip", z.ZodAny, {
9114
+ [x: string]: any;
9115
+ status?: {
7427
9116
  [x: string]: any;
7428
9117
  type: string;
7429
9118
  id: string;
7430
- }, {
9119
+ } | {
7431
9120
  [x: string]: any;
7432
9121
  type: string;
7433
9122
  id: string;
7434
- }>, "many">>;
7435
- refreshService: z.ZodOptional<z.ZodObject<{
7436
- id: z.ZodString;
7437
- type: z.ZodString;
7438
- }, "strip", z.ZodAny, {
9123
+ }[] | undefined;
9124
+ id?: string | undefined;
9125
+ name?: string | undefined;
9126
+ description?: string | undefined;
9127
+ refreshService?: {
9128
+ [x: string]: any;
9129
+ id?: string | undefined;
9130
+ type: string;
9131
+ } | {
9132
+ [x: string]: any;
9133
+ id?: string | undefined;
9134
+ type: string;
9135
+ }[] | undefined;
9136
+ credentialSchema?: {
7439
9137
  [x: string]: any;
7440
9138
  type: string;
7441
9139
  id: string;
7442
- }, {
9140
+ } | {
7443
9141
  [x: string]: any;
7444
9142
  type: string;
7445
9143
  id: string;
7446
- }>>;
7447
- }, "strip", z.ZodAny, {
7448
- [x: string]: any;
7449
- id?: string | undefined;
9144
+ }[] | undefined;
9145
+ issuanceDate?: string | undefined;
7450
9146
  expirationDate?: string | undefined;
7451
9147
  credentialStatus?: {
7452
9148
  [x: string]: any;
7453
9149
  type: string;
7454
9150
  id: string;
7455
- } | undefined;
7456
- credentialSchema?: {
9151
+ } | {
7457
9152
  [x: string]: any;
7458
9153
  type: string;
7459
9154
  id: string;
7460
9155
  }[] | undefined;
7461
- refreshService?: {
9156
+ validFrom?: string | undefined;
9157
+ validUntil?: string | undefined;
9158
+ termsOfUse?: {
7462
9159
  [x: string]: any;
9160
+ id?: string | undefined;
7463
9161
  type: string;
7464
- id: string;
7465
- } | undefined;
9162
+ } | {
9163
+ [x: string]: any;
9164
+ id?: string | undefined;
9165
+ type: string;
9166
+ }[] | undefined;
9167
+ evidence?: {
9168
+ [x: string]: any;
9169
+ id?: string | undefined;
9170
+ type: string | [string, ...string[]];
9171
+ } | {
9172
+ [x: string]: any;
9173
+ id?: string | undefined;
9174
+ type: string | [string, ...string[]];
9175
+ }[] | undefined;
7466
9176
  type: [string, ...string[]];
7467
9177
  '@context': (string | Record<string, any>)[];
7468
9178
  issuer: string | {
@@ -7511,7 +9221,6 @@ export declare const AchievementCredentialValidator: z.ZodObject<z.extendShape<z
7511
9221
  familyNamePrefix?: string | undefined;
7512
9222
  dateOfBirth?: string | undefined;
7513
9223
  };
7514
- issuanceDate: string;
7515
9224
  credentialSubject: {
7516
9225
  [x: string]: any;
7517
9226
  id?: string | undefined;
@@ -7521,23 +9230,67 @@ export declare const AchievementCredentialValidator: z.ZodObject<z.extendShape<z
7521
9230
  }[];
7522
9231
  }, {
7523
9232
  [x: string]: any;
9233
+ status?: {
9234
+ [x: string]: any;
9235
+ type: string;
9236
+ id: string;
9237
+ } | {
9238
+ [x: string]: any;
9239
+ type: string;
9240
+ id: string;
9241
+ }[] | undefined;
7524
9242
  id?: string | undefined;
9243
+ name?: string | undefined;
9244
+ description?: string | undefined;
9245
+ refreshService?: {
9246
+ [x: string]: any;
9247
+ id?: string | undefined;
9248
+ type: string;
9249
+ } | {
9250
+ [x: string]: any;
9251
+ id?: string | undefined;
9252
+ type: string;
9253
+ }[] | undefined;
9254
+ credentialSchema?: {
9255
+ [x: string]: any;
9256
+ type: string;
9257
+ id: string;
9258
+ } | {
9259
+ [x: string]: any;
9260
+ type: string;
9261
+ id: string;
9262
+ }[] | undefined;
9263
+ issuanceDate?: string | undefined;
7525
9264
  expirationDate?: string | undefined;
7526
9265
  credentialStatus?: {
7527
9266
  [x: string]: any;
7528
9267
  type: string;
7529
9268
  id: string;
7530
- } | undefined;
7531
- credentialSchema?: {
9269
+ } | {
7532
9270
  [x: string]: any;
7533
9271
  type: string;
7534
9272
  id: string;
7535
9273
  }[] | undefined;
7536
- refreshService?: {
9274
+ validFrom?: string | undefined;
9275
+ validUntil?: string | undefined;
9276
+ termsOfUse?: {
7537
9277
  [x: string]: any;
9278
+ id?: string | undefined;
7538
9279
  type: string;
7539
- id: string;
7540
- } | undefined;
9280
+ } | {
9281
+ [x: string]: any;
9282
+ id?: string | undefined;
9283
+ type: string;
9284
+ }[] | undefined;
9285
+ evidence?: {
9286
+ [x: string]: any;
9287
+ id?: string | undefined;
9288
+ type: string | [string, ...string[]];
9289
+ } | {
9290
+ [x: string]: any;
9291
+ id?: string | undefined;
9292
+ type: string | [string, ...string[]];
9293
+ }[] | undefined;
7541
9294
  type: [string, ...string[]];
7542
9295
  '@context': (string | Record<string, any>)[];
7543
9296
  issuer: string | {
@@ -7586,7 +9339,6 @@ export declare const AchievementCredentialValidator: z.ZodObject<z.extendShape<z
7586
9339
  familyNamePrefix?: string | undefined;
7587
9340
  dateOfBirth?: string | undefined;
7588
9341
  };
7589
- issuanceDate: string;
7590
9342
  credentialSubject: {
7591
9343
  [x: string]: any;
7592
9344
  id?: string | undefined;
@@ -7597,7 +9349,7 @@ export declare const AchievementCredentialValidator: z.ZodObject<z.extendShape<z
7597
9349
  }>, "many">>;
7598
9350
  evidence: z.ZodOptional<z.ZodArray<z.ZodObject<{
7599
9351
  id: z.ZodOptional<z.ZodString>;
7600
- type: z.ZodArray<z.ZodString, "atleastone">;
9352
+ type: z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "atleastone">]>;
7601
9353
  narrative: z.ZodOptional<z.ZodString>;
7602
9354
  name: z.ZodOptional<z.ZodString>;
7603
9355
  description: z.ZodOptional<z.ZodString>;
@@ -7611,7 +9363,7 @@ export declare const AchievementCredentialValidator: z.ZodObject<z.extendShape<z
7611
9363
  description?: string | undefined;
7612
9364
  genre?: string | undefined;
7613
9365
  audience?: string | undefined;
7614
- type: [string, ...string[]];
9366
+ type: string | [string, ...string[]];
7615
9367
  }, {
7616
9368
  [x: string]: any;
7617
9369
  narrative?: string | undefined;
@@ -7620,7 +9372,7 @@ export declare const AchievementCredentialValidator: z.ZodObject<z.extendShape<z
7620
9372
  description?: string | undefined;
7621
9373
  genre?: string | undefined;
7622
9374
  audience?: string | undefined;
7623
- type: [string, ...string[]];
9375
+ type: string | [string, ...string[]];
7624
9376
  }>, "many">>;
7625
9377
  }>, {
7626
9378
  proof: z.ZodUnion<[z.ZodObject<{
@@ -7684,28 +9436,81 @@ export declare const AchievementCredentialValidator: z.ZodObject<z.extendShape<z
7684
9436
  }>, "many">]>;
7685
9437
  }>, "strip", z.ZodAny, {
7686
9438
  [x: string]: any;
9439
+ status?: {
9440
+ [x: string]: any;
9441
+ type: string;
9442
+ id: string;
9443
+ } | {
9444
+ [x: string]: any;
9445
+ type: string;
9446
+ id: string;
9447
+ }[] | undefined;
7687
9448
  id?: string | undefined;
7688
9449
  name?: string | undefined;
7689
9450
  description?: string | undefined;
7690
9451
  endorsement?: {
7691
9452
  [x: string]: any;
9453
+ status?: {
9454
+ [x: string]: any;
9455
+ type: string;
9456
+ id: string;
9457
+ } | {
9458
+ [x: string]: any;
9459
+ type: string;
9460
+ id: string;
9461
+ }[] | undefined;
7692
9462
  id?: string | undefined;
9463
+ name?: string | undefined;
9464
+ description?: string | undefined;
9465
+ refreshService?: {
9466
+ [x: string]: any;
9467
+ id?: string | undefined;
9468
+ type: string;
9469
+ } | {
9470
+ [x: string]: any;
9471
+ id?: string | undefined;
9472
+ type: string;
9473
+ }[] | undefined;
9474
+ credentialSchema?: {
9475
+ [x: string]: any;
9476
+ type: string;
9477
+ id: string;
9478
+ } | {
9479
+ [x: string]: any;
9480
+ type: string;
9481
+ id: string;
9482
+ }[] | undefined;
9483
+ issuanceDate?: string | undefined;
7693
9484
  expirationDate?: string | undefined;
7694
9485
  credentialStatus?: {
7695
9486
  [x: string]: any;
7696
9487
  type: string;
7697
9488
  id: string;
7698
- } | undefined;
7699
- credentialSchema?: {
9489
+ } | {
7700
9490
  [x: string]: any;
7701
9491
  type: string;
7702
9492
  id: string;
7703
9493
  }[] | undefined;
7704
- refreshService?: {
9494
+ validFrom?: string | undefined;
9495
+ validUntil?: string | undefined;
9496
+ termsOfUse?: {
7705
9497
  [x: string]: any;
9498
+ id?: string | undefined;
7706
9499
  type: string;
7707
- id: string;
7708
- } | undefined;
9500
+ } | {
9501
+ [x: string]: any;
9502
+ id?: string | undefined;
9503
+ type: string;
9504
+ }[] | undefined;
9505
+ evidence?: {
9506
+ [x: string]: any;
9507
+ id?: string | undefined;
9508
+ type: string | [string, ...string[]];
9509
+ } | {
9510
+ [x: string]: any;
9511
+ id?: string | undefined;
9512
+ type: string | [string, ...string[]];
9513
+ }[] | undefined;
7709
9514
  type: [string, ...string[]];
7710
9515
  '@context': (string | Record<string, any>)[];
7711
9516
  issuer: string | {
@@ -7754,7 +9559,6 @@ export declare const AchievementCredentialValidator: z.ZodObject<z.extendShape<z
7754
9559
  familyNamePrefix?: string | undefined;
7755
9560
  dateOfBirth?: string | undefined;
7756
9561
  };
7757
- issuanceDate: string;
7758
9562
  credentialSubject: {
7759
9563
  [x: string]: any;
7760
9564
  id?: string | undefined;
@@ -7768,22 +9572,46 @@ export declare const AchievementCredentialValidator: z.ZodObject<z.extendShape<z
7768
9572
  type: string;
7769
9573
  id: string;
7770
9574
  } | undefined;
9575
+ refreshService?: {
9576
+ [x: string]: any;
9577
+ id?: string | undefined;
9578
+ type: string;
9579
+ } | {
9580
+ [x: string]: any;
9581
+ id?: string | undefined;
9582
+ type: string;
9583
+ }[] | undefined;
9584
+ credentialSchema?: {
9585
+ [x: string]: any;
9586
+ type: string;
9587
+ id: string;
9588
+ } | {
9589
+ [x: string]: any;
9590
+ type: string;
9591
+ id: string;
9592
+ }[] | undefined;
9593
+ issuanceDate?: string | undefined;
7771
9594
  expirationDate?: string | undefined;
7772
9595
  credentialStatus?: {
7773
9596
  [x: string]: any;
7774
9597
  type: string;
7775
9598
  id: string;
7776
- } | undefined;
7777
- credentialSchema?: {
9599
+ } | {
7778
9600
  [x: string]: any;
7779
9601
  type: string;
7780
9602
  id: string;
7781
9603
  }[] | undefined;
7782
- refreshService?: {
9604
+ validFrom?: string | undefined;
9605
+ validUntil?: string | undefined;
9606
+ termsOfUse?: {
7783
9607
  [x: string]: any;
9608
+ id?: string | undefined;
7784
9609
  type: string;
7785
- id: string;
7786
- } | undefined;
9610
+ } | {
9611
+ [x: string]: any;
9612
+ id?: string | undefined;
9613
+ type: string;
9614
+ }[] | undefined;
7787
9615
  evidence?: {
7788
9616
  [x: string]: any;
7789
9617
  narrative?: string | undefined;
@@ -7792,7 +9620,7 @@ export declare const AchievementCredentialValidator: z.ZodObject<z.extendShape<z
7792
9620
  description?: string | undefined;
7793
9621
  genre?: string | undefined;
7794
9622
  audience?: string | undefined;
7795
- type: [string, ...string[]];
9623
+ type: string | [string, ...string[]];
7796
9624
  }[] | undefined;
7797
9625
  type: [string, ...string[]];
7798
9626
  '@context': (string | Record<string, any>)[];
@@ -7842,7 +9670,6 @@ export declare const AchievementCredentialValidator: z.ZodObject<z.extendShape<z
7842
9670
  familyNamePrefix?: string | undefined;
7843
9671
  dateOfBirth?: string | undefined;
7844
9672
  };
7845
- issuanceDate: string;
7846
9673
  credentialSubject: {
7847
9674
  [x: string]: any;
7848
9675
  narrative?: string | undefined;
@@ -7868,23 +9695,67 @@ export declare const AchievementCredentialValidator: z.ZodObject<z.extendShape<z
7868
9695
  id?: string | undefined;
7869
9696
  endorsement?: {
7870
9697
  [x: string]: any;
9698
+ status?: {
9699
+ [x: string]: any;
9700
+ type: string;
9701
+ id: string;
9702
+ } | {
9703
+ [x: string]: any;
9704
+ type: string;
9705
+ id: string;
9706
+ }[] | undefined;
7871
9707
  id?: string | undefined;
9708
+ name?: string | undefined;
9709
+ description?: string | undefined;
9710
+ refreshService?: {
9711
+ [x: string]: any;
9712
+ id?: string | undefined;
9713
+ type: string;
9714
+ } | {
9715
+ [x: string]: any;
9716
+ id?: string | undefined;
9717
+ type: string;
9718
+ }[] | undefined;
9719
+ credentialSchema?: {
9720
+ [x: string]: any;
9721
+ type: string;
9722
+ id: string;
9723
+ } | {
9724
+ [x: string]: any;
9725
+ type: string;
9726
+ id: string;
9727
+ }[] | undefined;
9728
+ issuanceDate?: string | undefined;
7872
9729
  expirationDate?: string | undefined;
7873
9730
  credentialStatus?: {
7874
9731
  [x: string]: any;
7875
9732
  type: string;
7876
9733
  id: string;
7877
- } | undefined;
7878
- credentialSchema?: {
9734
+ } | {
7879
9735
  [x: string]: any;
7880
9736
  type: string;
7881
9737
  id: string;
7882
9738
  }[] | undefined;
7883
- refreshService?: {
9739
+ validFrom?: string | undefined;
9740
+ validUntil?: string | undefined;
9741
+ termsOfUse?: {
7884
9742
  [x: string]: any;
9743
+ id?: string | undefined;
7885
9744
  type: string;
7886
- id: string;
7887
- } | undefined;
9745
+ } | {
9746
+ [x: string]: any;
9747
+ id?: string | undefined;
9748
+ type: string;
9749
+ }[] | undefined;
9750
+ evidence?: {
9751
+ [x: string]: any;
9752
+ id?: string | undefined;
9753
+ type: string | [string, ...string[]];
9754
+ } | {
9755
+ [x: string]: any;
9756
+ id?: string | undefined;
9757
+ type: string | [string, ...string[]];
9758
+ }[] | undefined;
7888
9759
  proof?: {
7889
9760
  [x: string]: any;
7890
9761
  challenge?: string | undefined;
@@ -7954,7 +9825,6 @@ export declare const AchievementCredentialValidator: z.ZodObject<z.extendShape<z
7954
9825
  familyNamePrefix?: string | undefined;
7955
9826
  dateOfBirth?: string | undefined;
7956
9827
  };
7957
- issuanceDate: string;
7958
9828
  credentialSubject: {
7959
9829
  endorsementComment?: string | undefined;
7960
9830
  type: [string, ...string[]];
@@ -8178,23 +10048,67 @@ export declare const AchievementCredentialValidator: z.ZodObject<z.extendShape<z
8178
10048
  id?: string | undefined;
8179
10049
  endorsement?: {
8180
10050
  [x: string]: any;
10051
+ status?: {
10052
+ [x: string]: any;
10053
+ type: string;
10054
+ id: string;
10055
+ } | {
10056
+ [x: string]: any;
10057
+ type: string;
10058
+ id: string;
10059
+ }[] | undefined;
8181
10060
  id?: string | undefined;
10061
+ name?: string | undefined;
10062
+ description?: string | undefined;
10063
+ refreshService?: {
10064
+ [x: string]: any;
10065
+ id?: string | undefined;
10066
+ type: string;
10067
+ } | {
10068
+ [x: string]: any;
10069
+ id?: string | undefined;
10070
+ type: string;
10071
+ }[] | undefined;
10072
+ credentialSchema?: {
10073
+ [x: string]: any;
10074
+ type: string;
10075
+ id: string;
10076
+ } | {
10077
+ [x: string]: any;
10078
+ type: string;
10079
+ id: string;
10080
+ }[] | undefined;
10081
+ issuanceDate?: string | undefined;
8182
10082
  expirationDate?: string | undefined;
8183
10083
  credentialStatus?: {
8184
10084
  [x: string]: any;
8185
10085
  type: string;
8186
10086
  id: string;
8187
- } | undefined;
8188
- credentialSchema?: {
10087
+ } | {
8189
10088
  [x: string]: any;
8190
10089
  type: string;
8191
10090
  id: string;
8192
10091
  }[] | undefined;
8193
- refreshService?: {
10092
+ validFrom?: string | undefined;
10093
+ validUntil?: string | undefined;
10094
+ termsOfUse?: {
8194
10095
  [x: string]: any;
10096
+ id?: string | undefined;
8195
10097
  type: string;
8196
- id: string;
8197
- } | undefined;
10098
+ } | {
10099
+ [x: string]: any;
10100
+ id?: string | undefined;
10101
+ type: string;
10102
+ }[] | undefined;
10103
+ evidence?: {
10104
+ [x: string]: any;
10105
+ id?: string | undefined;
10106
+ type: string | [string, ...string[]];
10107
+ } | {
10108
+ [x: string]: any;
10109
+ id?: string | undefined;
10110
+ type: string | [string, ...string[]];
10111
+ }[] | undefined;
8198
10112
  proof?: {
8199
10113
  [x: string]: any;
8200
10114
  challenge?: string | undefined;
@@ -8264,7 +10178,6 @@ export declare const AchievementCredentialValidator: z.ZodObject<z.extendShape<z
8264
10178
  familyNamePrefix?: string | undefined;
8265
10179
  dateOfBirth?: string | undefined;
8266
10180
  };
8267
- issuanceDate: string;
8268
10181
  credentialSubject: {
8269
10182
  endorsementComment?: string | undefined;
8270
10183
  type: [string, ...string[]];
@@ -8487,28 +10400,81 @@ export declare const AchievementCredentialValidator: z.ZodObject<z.extendShape<z
8487
10400
  }[];
8488
10401
  }, {
8489
10402
  [x: string]: any;
10403
+ status?: {
10404
+ [x: string]: any;
10405
+ type: string;
10406
+ id: string;
10407
+ } | {
10408
+ [x: string]: any;
10409
+ type: string;
10410
+ id: string;
10411
+ }[] | undefined;
8490
10412
  id?: string | undefined;
8491
10413
  name?: string | undefined;
8492
10414
  description?: string | undefined;
8493
10415
  endorsement?: {
8494
10416
  [x: string]: any;
10417
+ status?: {
10418
+ [x: string]: any;
10419
+ type: string;
10420
+ id: string;
10421
+ } | {
10422
+ [x: string]: any;
10423
+ type: string;
10424
+ id: string;
10425
+ }[] | undefined;
8495
10426
  id?: string | undefined;
10427
+ name?: string | undefined;
10428
+ description?: string | undefined;
10429
+ refreshService?: {
10430
+ [x: string]: any;
10431
+ id?: string | undefined;
10432
+ type: string;
10433
+ } | {
10434
+ [x: string]: any;
10435
+ id?: string | undefined;
10436
+ type: string;
10437
+ }[] | undefined;
10438
+ credentialSchema?: {
10439
+ [x: string]: any;
10440
+ type: string;
10441
+ id: string;
10442
+ } | {
10443
+ [x: string]: any;
10444
+ type: string;
10445
+ id: string;
10446
+ }[] | undefined;
10447
+ issuanceDate?: string | undefined;
8496
10448
  expirationDate?: string | undefined;
8497
10449
  credentialStatus?: {
8498
10450
  [x: string]: any;
8499
10451
  type: string;
8500
10452
  id: string;
8501
- } | undefined;
8502
- credentialSchema?: {
10453
+ } | {
8503
10454
  [x: string]: any;
8504
10455
  type: string;
8505
10456
  id: string;
8506
10457
  }[] | undefined;
8507
- refreshService?: {
10458
+ validFrom?: string | undefined;
10459
+ validUntil?: string | undefined;
10460
+ termsOfUse?: {
8508
10461
  [x: string]: any;
10462
+ id?: string | undefined;
8509
10463
  type: string;
8510
- id: string;
8511
- } | undefined;
10464
+ } | {
10465
+ [x: string]: any;
10466
+ id?: string | undefined;
10467
+ type: string;
10468
+ }[] | undefined;
10469
+ evidence?: {
10470
+ [x: string]: any;
10471
+ id?: string | undefined;
10472
+ type: string | [string, ...string[]];
10473
+ } | {
10474
+ [x: string]: any;
10475
+ id?: string | undefined;
10476
+ type: string | [string, ...string[]];
10477
+ }[] | undefined;
8512
10478
  type: [string, ...string[]];
8513
10479
  '@context': (string | Record<string, any>)[];
8514
10480
  issuer: string | {
@@ -8557,7 +10523,6 @@ export declare const AchievementCredentialValidator: z.ZodObject<z.extendShape<z
8557
10523
  familyNamePrefix?: string | undefined;
8558
10524
  dateOfBirth?: string | undefined;
8559
10525
  };
8560
- issuanceDate: string;
8561
10526
  credentialSubject: {
8562
10527
  [x: string]: any;
8563
10528
  id?: string | undefined;
@@ -8571,22 +10536,46 @@ export declare const AchievementCredentialValidator: z.ZodObject<z.extendShape<z
8571
10536
  type: string;
8572
10537
  id: string;
8573
10538
  } | undefined;
10539
+ refreshService?: {
10540
+ [x: string]: any;
10541
+ id?: string | undefined;
10542
+ type: string;
10543
+ } | {
10544
+ [x: string]: any;
10545
+ id?: string | undefined;
10546
+ type: string;
10547
+ }[] | undefined;
10548
+ credentialSchema?: {
10549
+ [x: string]: any;
10550
+ type: string;
10551
+ id: string;
10552
+ } | {
10553
+ [x: string]: any;
10554
+ type: string;
10555
+ id: string;
10556
+ }[] | undefined;
10557
+ issuanceDate?: string | undefined;
8574
10558
  expirationDate?: string | undefined;
8575
10559
  credentialStatus?: {
8576
10560
  [x: string]: any;
8577
10561
  type: string;
8578
10562
  id: string;
8579
- } | undefined;
8580
- credentialSchema?: {
10563
+ } | {
8581
10564
  [x: string]: any;
8582
10565
  type: string;
8583
10566
  id: string;
8584
10567
  }[] | undefined;
8585
- refreshService?: {
10568
+ validFrom?: string | undefined;
10569
+ validUntil?: string | undefined;
10570
+ termsOfUse?: {
8586
10571
  [x: string]: any;
10572
+ id?: string | undefined;
8587
10573
  type: string;
8588
- id: string;
8589
- } | undefined;
10574
+ } | {
10575
+ [x: string]: any;
10576
+ id?: string | undefined;
10577
+ type: string;
10578
+ }[] | undefined;
8590
10579
  evidence?: {
8591
10580
  [x: string]: any;
8592
10581
  narrative?: string | undefined;
@@ -8595,7 +10584,7 @@ export declare const AchievementCredentialValidator: z.ZodObject<z.extendShape<z
8595
10584
  description?: string | undefined;
8596
10585
  genre?: string | undefined;
8597
10586
  audience?: string | undefined;
8598
- type: [string, ...string[]];
10587
+ type: string | [string, ...string[]];
8599
10588
  }[] | undefined;
8600
10589
  type: [string, ...string[]];
8601
10590
  '@context': (string | Record<string, any>)[];
@@ -8645,7 +10634,6 @@ export declare const AchievementCredentialValidator: z.ZodObject<z.extendShape<z
8645
10634
  familyNamePrefix?: string | undefined;
8646
10635
  dateOfBirth?: string | undefined;
8647
10636
  };
8648
- issuanceDate: string;
8649
10637
  credentialSubject: {
8650
10638
  [x: string]: any;
8651
10639
  narrative?: string | undefined;
@@ -8671,23 +10659,67 @@ export declare const AchievementCredentialValidator: z.ZodObject<z.extendShape<z
8671
10659
  id?: string | undefined;
8672
10660
  endorsement?: {
8673
10661
  [x: string]: any;
10662
+ status?: {
10663
+ [x: string]: any;
10664
+ type: string;
10665
+ id: string;
10666
+ } | {
10667
+ [x: string]: any;
10668
+ type: string;
10669
+ id: string;
10670
+ }[] | undefined;
8674
10671
  id?: string | undefined;
10672
+ name?: string | undefined;
10673
+ description?: string | undefined;
10674
+ refreshService?: {
10675
+ [x: string]: any;
10676
+ id?: string | undefined;
10677
+ type: string;
10678
+ } | {
10679
+ [x: string]: any;
10680
+ id?: string | undefined;
10681
+ type: string;
10682
+ }[] | undefined;
10683
+ credentialSchema?: {
10684
+ [x: string]: any;
10685
+ type: string;
10686
+ id: string;
10687
+ } | {
10688
+ [x: string]: any;
10689
+ type: string;
10690
+ id: string;
10691
+ }[] | undefined;
10692
+ issuanceDate?: string | undefined;
8675
10693
  expirationDate?: string | undefined;
8676
10694
  credentialStatus?: {
8677
10695
  [x: string]: any;
8678
10696
  type: string;
8679
10697
  id: string;
8680
- } | undefined;
8681
- credentialSchema?: {
10698
+ } | {
8682
10699
  [x: string]: any;
8683
10700
  type: string;
8684
10701
  id: string;
8685
10702
  }[] | undefined;
8686
- refreshService?: {
10703
+ validFrom?: string | undefined;
10704
+ validUntil?: string | undefined;
10705
+ termsOfUse?: {
8687
10706
  [x: string]: any;
10707
+ id?: string | undefined;
8688
10708
  type: string;
8689
- id: string;
8690
- } | undefined;
10709
+ } | {
10710
+ [x: string]: any;
10711
+ id?: string | undefined;
10712
+ type: string;
10713
+ }[] | undefined;
10714
+ evidence?: {
10715
+ [x: string]: any;
10716
+ id?: string | undefined;
10717
+ type: string | [string, ...string[]];
10718
+ } | {
10719
+ [x: string]: any;
10720
+ id?: string | undefined;
10721
+ type: string | [string, ...string[]];
10722
+ }[] | undefined;
8691
10723
  proof?: {
8692
10724
  [x: string]: any;
8693
10725
  challenge?: string | undefined;
@@ -8757,7 +10789,6 @@ export declare const AchievementCredentialValidator: z.ZodObject<z.extendShape<z
8757
10789
  familyNamePrefix?: string | undefined;
8758
10790
  dateOfBirth?: string | undefined;
8759
10791
  };
8760
- issuanceDate: string;
8761
10792
  credentialSubject: {
8762
10793
  endorsementComment?: string | undefined;
8763
10794
  type: [string, ...string[]];
@@ -8981,23 +11012,67 @@ export declare const AchievementCredentialValidator: z.ZodObject<z.extendShape<z
8981
11012
  id?: string | undefined;
8982
11013
  endorsement?: {
8983
11014
  [x: string]: any;
11015
+ status?: {
11016
+ [x: string]: any;
11017
+ type: string;
11018
+ id: string;
11019
+ } | {
11020
+ [x: string]: any;
11021
+ type: string;
11022
+ id: string;
11023
+ }[] | undefined;
8984
11024
  id?: string | undefined;
11025
+ name?: string | undefined;
11026
+ description?: string | undefined;
11027
+ refreshService?: {
11028
+ [x: string]: any;
11029
+ id?: string | undefined;
11030
+ type: string;
11031
+ } | {
11032
+ [x: string]: any;
11033
+ id?: string | undefined;
11034
+ type: string;
11035
+ }[] | undefined;
11036
+ credentialSchema?: {
11037
+ [x: string]: any;
11038
+ type: string;
11039
+ id: string;
11040
+ } | {
11041
+ [x: string]: any;
11042
+ type: string;
11043
+ id: string;
11044
+ }[] | undefined;
11045
+ issuanceDate?: string | undefined;
8985
11046
  expirationDate?: string | undefined;
8986
11047
  credentialStatus?: {
8987
11048
  [x: string]: any;
8988
11049
  type: string;
8989
11050
  id: string;
8990
- } | undefined;
8991
- credentialSchema?: {
11051
+ } | {
8992
11052
  [x: string]: any;
8993
11053
  type: string;
8994
11054
  id: string;
8995
11055
  }[] | undefined;
8996
- refreshService?: {
11056
+ validFrom?: string | undefined;
11057
+ validUntil?: string | undefined;
11058
+ termsOfUse?: {
8997
11059
  [x: string]: any;
11060
+ id?: string | undefined;
8998
11061
  type: string;
8999
- id: string;
9000
- } | undefined;
11062
+ } | {
11063
+ [x: string]: any;
11064
+ id?: string | undefined;
11065
+ type: string;
11066
+ }[] | undefined;
11067
+ evidence?: {
11068
+ [x: string]: any;
11069
+ id?: string | undefined;
11070
+ type: string | [string, ...string[]];
11071
+ } | {
11072
+ [x: string]: any;
11073
+ id?: string | undefined;
11074
+ type: string | [string, ...string[]];
11075
+ }[] | undefined;
9001
11076
  proof?: {
9002
11077
  [x: string]: any;
9003
11078
  challenge?: string | undefined;
@@ -9067,7 +11142,6 @@ export declare const AchievementCredentialValidator: z.ZodObject<z.extendShape<z
9067
11142
  familyNamePrefix?: string | undefined;
9068
11143
  dateOfBirth?: string | undefined;
9069
11144
  };
9070
- issuanceDate: string;
9071
11145
  credentialSubject: {
9072
11146
  endorsementComment?: string | undefined;
9073
11147
  type: [string, ...string[]];