@learncard/types 5.18.0 → 5.18.1

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.
@@ -13,7 +13,7 @@ export declare const BitstringStatusListEntryValidator: z.ZodObject<{
13
13
  revocation: "revocation";
14
14
  suspension: "suspension";
15
15
  }>;
16
- statusListIndex: z.ZodString;
16
+ statusListIndex: z.ZodUnion<[z.ZodString, z.ZodNumber]>;
17
17
  statusListCredential: z.ZodString;
18
18
  }, z.core.$strip>;
19
19
  export type BitstringStatusListEntry = z.infer<typeof BitstringStatusListEntryValidator>;
@@ -23,7 +23,7 @@ export declare const AllocatedBitstringStatusListEntryValidator: z.ZodObject<{
23
23
  revocation: "revocation";
24
24
  suspension: "suspension";
25
25
  }>;
26
- statusListIndex: z.ZodString;
26
+ statusListIndex: z.ZodUnion<[z.ZodString, z.ZodNumber]>;
27
27
  statusListCredential: z.ZodString;
28
28
  id: z.ZodString;
29
29
  }, z.core.$strip>;
package/dist/clr.d.ts CHANGED
@@ -241,10 +241,10 @@ export declare const ClrSubjectValidator: z.ZodObject<{
241
241
  expirationDate: z.ZodOptional<z.ZodString>;
242
242
  credentialStatus: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
243
243
  type: z.ZodString;
244
- id: z.ZodString;
244
+ id: z.ZodOptional<z.ZodString>;
245
245
  }, z.core.$catchall<z.ZodAny>>, z.ZodArray<z.ZodObject<{
246
246
  type: z.ZodString;
247
- id: z.ZodString;
247
+ id: z.ZodOptional<z.ZodString>;
248
248
  }, z.core.$catchall<z.ZodAny>>>]>>;
249
249
  name: z.ZodOptional<z.ZodString>;
250
250
  description: z.ZodOptional<z.ZodString>;
@@ -252,10 +252,10 @@ export declare const ClrSubjectValidator: z.ZodObject<{
252
252
  validUntil: z.ZodOptional<z.ZodString>;
253
253
  status: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
254
254
  type: z.ZodString;
255
- id: z.ZodString;
255
+ id: z.ZodOptional<z.ZodString>;
256
256
  }, z.core.$catchall<z.ZodAny>>, z.ZodArray<z.ZodObject<{
257
257
  type: z.ZodString;
258
- id: z.ZodString;
258
+ id: z.ZodOptional<z.ZodString>;
259
259
  }, z.core.$catchall<z.ZodAny>>>]>>;
260
260
  termsOfUse: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
261
261
  type: z.ZodString;
@@ -536,19 +536,19 @@ export declare const UnsignedClrCredentialValidator: z.ZodObject<{
536
536
  expirationDate: z.ZodOptional<z.ZodString>;
537
537
  credentialStatus: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
538
538
  type: z.ZodString;
539
- id: z.ZodString;
539
+ id: z.ZodOptional<z.ZodString>;
540
540
  }, z.core.$catchall<z.ZodAny>>, z.ZodArray<z.ZodObject<{
541
541
  type: z.ZodString;
542
- id: z.ZodString;
542
+ id: z.ZodOptional<z.ZodString>;
543
543
  }, z.core.$catchall<z.ZodAny>>>]>>;
544
544
  validFrom: z.ZodOptional<z.ZodString>;
545
545
  validUntil: z.ZodOptional<z.ZodString>;
546
546
  status: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
547
547
  type: z.ZodString;
548
- id: z.ZodString;
548
+ id: z.ZodOptional<z.ZodString>;
549
549
  }, z.core.$catchall<z.ZodAny>>, z.ZodArray<z.ZodObject<{
550
550
  type: z.ZodString;
551
- id: z.ZodString;
551
+ id: z.ZodOptional<z.ZodString>;
552
552
  }, z.core.$catchall<z.ZodAny>>>]>>;
553
553
  termsOfUse: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
554
554
  type: z.ZodString;
@@ -685,10 +685,10 @@ export declare const UnsignedClrCredentialValidator: z.ZodObject<{
685
685
  expirationDate: z.ZodOptional<z.ZodString>;
686
686
  credentialStatus: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
687
687
  type: z.ZodString;
688
- id: z.ZodString;
688
+ id: z.ZodOptional<z.ZodString>;
689
689
  }, z.core.$catchall<z.ZodAny>>, z.ZodArray<z.ZodObject<{
690
690
  type: z.ZodString;
691
- id: z.ZodString;
691
+ id: z.ZodOptional<z.ZodString>;
692
692
  }, z.core.$catchall<z.ZodAny>>>]>>;
693
693
  name: z.ZodOptional<z.ZodString>;
694
694
  description: z.ZodOptional<z.ZodString>;
@@ -696,10 +696,10 @@ export declare const UnsignedClrCredentialValidator: z.ZodObject<{
696
696
  validUntil: z.ZodOptional<z.ZodString>;
697
697
  status: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
698
698
  type: z.ZodString;
699
- id: z.ZodString;
699
+ id: z.ZodOptional<z.ZodString>;
700
700
  }, z.core.$catchall<z.ZodAny>>, z.ZodArray<z.ZodObject<{
701
701
  type: z.ZodString;
702
- id: z.ZodString;
702
+ id: z.ZodOptional<z.ZodString>;
703
703
  }, z.core.$catchall<z.ZodAny>>>]>>;
704
704
  termsOfUse: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
705
705
  type: z.ZodString;
@@ -856,19 +856,19 @@ export declare const ClrCredentialValidator: z.ZodObject<{
856
856
  expirationDate: z.ZodOptional<z.ZodString>;
857
857
  credentialStatus: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
858
858
  type: z.ZodString;
859
- id: z.ZodString;
859
+ id: z.ZodOptional<z.ZodString>;
860
860
  }, z.core.$catchall<z.ZodAny>>, z.ZodArray<z.ZodObject<{
861
861
  type: z.ZodString;
862
- id: z.ZodString;
862
+ id: z.ZodOptional<z.ZodString>;
863
863
  }, z.core.$catchall<z.ZodAny>>>]>>;
864
864
  validFrom: z.ZodOptional<z.ZodString>;
865
865
  validUntil: z.ZodOptional<z.ZodString>;
866
866
  status: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
867
867
  type: z.ZodString;
868
- id: z.ZodString;
868
+ id: z.ZodOptional<z.ZodString>;
869
869
  }, z.core.$catchall<z.ZodAny>>, z.ZodArray<z.ZodObject<{
870
870
  type: z.ZodString;
871
- id: z.ZodString;
871
+ id: z.ZodOptional<z.ZodString>;
872
872
  }, z.core.$catchall<z.ZodAny>>>]>>;
873
873
  termsOfUse: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
874
874
  type: z.ZodString;
@@ -1005,10 +1005,10 @@ export declare const ClrCredentialValidator: z.ZodObject<{
1005
1005
  expirationDate: z.ZodOptional<z.ZodString>;
1006
1006
  credentialStatus: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
1007
1007
  type: z.ZodString;
1008
- id: z.ZodString;
1008
+ id: z.ZodOptional<z.ZodString>;
1009
1009
  }, z.core.$catchall<z.ZodAny>>, z.ZodArray<z.ZodObject<{
1010
1010
  type: z.ZodString;
1011
- id: z.ZodString;
1011
+ id: z.ZodOptional<z.ZodString>;
1012
1012
  }, z.core.$catchall<z.ZodAny>>>]>>;
1013
1013
  name: z.ZodOptional<z.ZodString>;
1014
1014
  description: z.ZodOptional<z.ZodString>;
@@ -1016,10 +1016,10 @@ export declare const ClrCredentialValidator: z.ZodObject<{
1016
1016
  validUntil: z.ZodOptional<z.ZodString>;
1017
1017
  status: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
1018
1018
  type: z.ZodString;
1019
- id: z.ZodString;
1019
+ id: z.ZodOptional<z.ZodString>;
1020
1020
  }, z.core.$catchall<z.ZodAny>>, z.ZodArray<z.ZodObject<{
1021
1021
  type: z.ZodString;
1022
- id: z.ZodString;
1022
+ id: z.ZodOptional<z.ZodString>;
1023
1023
  }, z.core.$catchall<z.ZodAny>>>]>>;
1024
1024
  termsOfUse: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
1025
1025
  type: z.ZodString;
package/dist/lcn.d.ts CHANGED
@@ -1978,10 +1978,10 @@ export declare const SendBoostInputValidator: z.ZodObject<{
1978
1978
  expirationDate: z.ZodOptional<z.ZodString>;
1979
1979
  credentialStatus: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
1980
1980
  type: z.ZodString;
1981
- id: z.ZodString;
1981
+ id: z.ZodOptional<z.ZodString>;
1982
1982
  }, z.core.$catchall<z.ZodAny>>, z.ZodArray<z.ZodObject<{
1983
1983
  type: z.ZodString;
1984
- id: z.ZodString;
1984
+ id: z.ZodOptional<z.ZodString>;
1985
1985
  }, z.core.$catchall<z.ZodAny>>>]>>;
1986
1986
  name: z.ZodOptional<z.ZodString>;
1987
1987
  description: z.ZodOptional<z.ZodString>;
@@ -1989,10 +1989,10 @@ export declare const SendBoostInputValidator: z.ZodObject<{
1989
1989
  validUntil: z.ZodOptional<z.ZodString>;
1990
1990
  status: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
1991
1991
  type: z.ZodString;
1992
- id: z.ZodString;
1992
+ id: z.ZodOptional<z.ZodString>;
1993
1993
  }, z.core.$catchall<z.ZodAny>>, z.ZodArray<z.ZodObject<{
1994
1994
  type: z.ZodString;
1995
- id: z.ZodString;
1995
+ id: z.ZodOptional<z.ZodString>;
1996
1996
  }, z.core.$catchall<z.ZodAny>>>]>>;
1997
1997
  termsOfUse: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
1998
1998
  type: z.ZodString;
@@ -2145,10 +2145,10 @@ export declare const SendBoostInputValidator: z.ZodObject<{
2145
2145
  expirationDate: z.ZodOptional<z.ZodString>;
2146
2146
  credentialStatus: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
2147
2147
  type: z.ZodString;
2148
- id: z.ZodString;
2148
+ id: z.ZodOptional<z.ZodString>;
2149
2149
  }, z.core.$catchall<z.ZodAny>>, z.ZodArray<z.ZodObject<{
2150
2150
  type: z.ZodString;
2151
- id: z.ZodString;
2151
+ id: z.ZodOptional<z.ZodString>;
2152
2152
  }, z.core.$catchall<z.ZodAny>>>]>>;
2153
2153
  name: z.ZodOptional<z.ZodString>;
2154
2154
  description: z.ZodOptional<z.ZodString>;
@@ -2156,10 +2156,10 @@ export declare const SendBoostInputValidator: z.ZodObject<{
2156
2156
  validUntil: z.ZodOptional<z.ZodString>;
2157
2157
  status: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
2158
2158
  type: z.ZodString;
2159
- id: z.ZodString;
2159
+ id: z.ZodOptional<z.ZodString>;
2160
2160
  }, z.core.$catchall<z.ZodAny>>, z.ZodArray<z.ZodObject<{
2161
2161
  type: z.ZodString;
2162
- id: z.ZodString;
2162
+ id: z.ZodOptional<z.ZodString>;
2163
2163
  }, z.core.$catchall<z.ZodAny>>>]>>;
2164
2164
  termsOfUse: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
2165
2165
  type: z.ZodString;
@@ -2315,10 +2315,10 @@ export declare const SendBoostInputValidator: z.ZodObject<{
2315
2315
  expirationDate: z.ZodOptional<z.ZodString>;
2316
2316
  credentialStatus: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
2317
2317
  type: z.ZodString;
2318
- id: z.ZodString;
2318
+ id: z.ZodOptional<z.ZodString>;
2319
2319
  }, z.core.$catchall<z.ZodAny>>, z.ZodArray<z.ZodObject<{
2320
2320
  type: z.ZodString;
2321
- id: z.ZodString;
2321
+ id: z.ZodOptional<z.ZodString>;
2322
2322
  }, z.core.$catchall<z.ZodAny>>>]>>;
2323
2323
  name: z.ZodOptional<z.ZodString>;
2324
2324
  description: z.ZodOptional<z.ZodString>;
@@ -2326,10 +2326,10 @@ export declare const SendBoostInputValidator: z.ZodObject<{
2326
2326
  validUntil: z.ZodOptional<z.ZodString>;
2327
2327
  status: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
2328
2328
  type: z.ZodString;
2329
- id: z.ZodString;
2329
+ id: z.ZodOptional<z.ZodString>;
2330
2330
  }, z.core.$catchall<z.ZodAny>>, z.ZodArray<z.ZodObject<{
2331
2331
  type: z.ZodString;
2332
- id: z.ZodString;
2332
+ id: z.ZodOptional<z.ZodString>;
2333
2333
  }, z.core.$catchall<z.ZodAny>>>]>>;
2334
2334
  termsOfUse: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
2335
2335
  type: z.ZodString;
@@ -2571,10 +2571,10 @@ export declare const SendInputValidator: z.ZodDiscriminatedUnion<[z.ZodObject<{
2571
2571
  expirationDate: z.ZodOptional<z.ZodString>;
2572
2572
  credentialStatus: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
2573
2573
  type: z.ZodString;
2574
- id: z.ZodString;
2574
+ id: z.ZodOptional<z.ZodString>;
2575
2575
  }, z.core.$catchall<z.ZodAny>>, z.ZodArray<z.ZodObject<{
2576
2576
  type: z.ZodString;
2577
- id: z.ZodString;
2577
+ id: z.ZodOptional<z.ZodString>;
2578
2578
  }, z.core.$catchall<z.ZodAny>>>]>>;
2579
2579
  name: z.ZodOptional<z.ZodString>;
2580
2580
  description: z.ZodOptional<z.ZodString>;
@@ -2582,10 +2582,10 @@ export declare const SendInputValidator: z.ZodDiscriminatedUnion<[z.ZodObject<{
2582
2582
  validUntil: z.ZodOptional<z.ZodString>;
2583
2583
  status: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
2584
2584
  type: z.ZodString;
2585
- id: z.ZodString;
2585
+ id: z.ZodOptional<z.ZodString>;
2586
2586
  }, z.core.$catchall<z.ZodAny>>, z.ZodArray<z.ZodObject<{
2587
2587
  type: z.ZodString;
2588
- id: z.ZodString;
2588
+ id: z.ZodOptional<z.ZodString>;
2589
2589
  }, z.core.$catchall<z.ZodAny>>>]>>;
2590
2590
  termsOfUse: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
2591
2591
  type: z.ZodString;
@@ -2738,10 +2738,10 @@ export declare const SendInputValidator: z.ZodDiscriminatedUnion<[z.ZodObject<{
2738
2738
  expirationDate: z.ZodOptional<z.ZodString>;
2739
2739
  credentialStatus: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
2740
2740
  type: z.ZodString;
2741
- id: z.ZodString;
2741
+ id: z.ZodOptional<z.ZodString>;
2742
2742
  }, z.core.$catchall<z.ZodAny>>, z.ZodArray<z.ZodObject<{
2743
2743
  type: z.ZodString;
2744
- id: z.ZodString;
2744
+ id: z.ZodOptional<z.ZodString>;
2745
2745
  }, z.core.$catchall<z.ZodAny>>>]>>;
2746
2746
  name: z.ZodOptional<z.ZodString>;
2747
2747
  description: z.ZodOptional<z.ZodString>;
@@ -2749,10 +2749,10 @@ export declare const SendInputValidator: z.ZodDiscriminatedUnion<[z.ZodObject<{
2749
2749
  validUntil: z.ZodOptional<z.ZodString>;
2750
2750
  status: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
2751
2751
  type: z.ZodString;
2752
- id: z.ZodString;
2752
+ id: z.ZodOptional<z.ZodString>;
2753
2753
  }, z.core.$catchall<z.ZodAny>>, z.ZodArray<z.ZodObject<{
2754
2754
  type: z.ZodString;
2755
- id: z.ZodString;
2755
+ id: z.ZodOptional<z.ZodString>;
2756
2756
  }, z.core.$catchall<z.ZodAny>>>]>>;
2757
2757
  termsOfUse: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
2758
2758
  type: z.ZodString;
@@ -2908,10 +2908,10 @@ export declare const SendInputValidator: z.ZodDiscriminatedUnion<[z.ZodObject<{
2908
2908
  expirationDate: z.ZodOptional<z.ZodString>;
2909
2909
  credentialStatus: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
2910
2910
  type: z.ZodString;
2911
- id: z.ZodString;
2911
+ id: z.ZodOptional<z.ZodString>;
2912
2912
  }, z.core.$catchall<z.ZodAny>>, z.ZodArray<z.ZodObject<{
2913
2913
  type: z.ZodString;
2914
- id: z.ZodString;
2914
+ id: z.ZodOptional<z.ZodString>;
2915
2915
  }, z.core.$catchall<z.ZodAny>>>]>>;
2916
2916
  name: z.ZodOptional<z.ZodString>;
2917
2917
  description: z.ZodOptional<z.ZodString>;
@@ -2919,10 +2919,10 @@ export declare const SendInputValidator: z.ZodDiscriminatedUnion<[z.ZodObject<{
2919
2919
  validUntil: z.ZodOptional<z.ZodString>;
2920
2920
  status: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
2921
2921
  type: z.ZodString;
2922
- id: z.ZodString;
2922
+ id: z.ZodOptional<z.ZodString>;
2923
2923
  }, z.core.$catchall<z.ZodAny>>, z.ZodArray<z.ZodObject<{
2924
2924
  type: z.ZodString;
2925
- id: z.ZodString;
2925
+ id: z.ZodOptional<z.ZodString>;
2926
2926
  }, z.core.$catchall<z.ZodAny>>>]>>;
2927
2927
  termsOfUse: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
2928
2928
  type: z.ZodString;
@@ -5093,10 +5093,10 @@ export declare const IssueInboxCredentialValidator: z.ZodObject<{
5093
5093
  expirationDate: z.ZodOptional<z.ZodString>;
5094
5094
  credentialStatus: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
5095
5095
  type: z.ZodString;
5096
- id: z.ZodString;
5096
+ id: z.ZodOptional<z.ZodString>;
5097
5097
  }, z.core.$catchall<z.ZodAny>>, z.ZodArray<z.ZodObject<{
5098
5098
  type: z.ZodString;
5099
- id: z.ZodString;
5099
+ id: z.ZodOptional<z.ZodString>;
5100
5100
  }, z.core.$catchall<z.ZodAny>>>]>>;
5101
5101
  name: z.ZodOptional<z.ZodString>;
5102
5102
  description: z.ZodOptional<z.ZodString>;
@@ -5104,10 +5104,10 @@ export declare const IssueInboxCredentialValidator: z.ZodObject<{
5104
5104
  validUntil: z.ZodOptional<z.ZodString>;
5105
5105
  status: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
5106
5106
  type: z.ZodString;
5107
- id: z.ZodString;
5107
+ id: z.ZodOptional<z.ZodString>;
5108
5108
  }, z.core.$catchall<z.ZodAny>>, z.ZodArray<z.ZodObject<{
5109
5109
  type: z.ZodString;
5110
- id: z.ZodString;
5110
+ id: z.ZodOptional<z.ZodString>;
5111
5111
  }, z.core.$catchall<z.ZodAny>>>]>>;
5112
5112
  termsOfUse: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
5113
5113
  type: z.ZodString;
@@ -5264,10 +5264,10 @@ export declare const IssueInboxCredentialValidator: z.ZodObject<{
5264
5264
  expirationDate: z.ZodOptional<z.ZodString>;
5265
5265
  credentialStatus: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
5266
5266
  type: z.ZodString;
5267
- id: z.ZodString;
5267
+ id: z.ZodOptional<z.ZodString>;
5268
5268
  }, z.core.$catchall<z.ZodAny>>, z.ZodArray<z.ZodObject<{
5269
5269
  type: z.ZodString;
5270
- id: z.ZodString;
5270
+ id: z.ZodOptional<z.ZodString>;
5271
5271
  }, z.core.$catchall<z.ZodAny>>>]>>;
5272
5272
  name: z.ZodOptional<z.ZodString>;
5273
5273
  description: z.ZodOptional<z.ZodString>;
@@ -5275,10 +5275,10 @@ export declare const IssueInboxCredentialValidator: z.ZodObject<{
5275
5275
  validUntil: z.ZodOptional<z.ZodString>;
5276
5276
  status: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
5277
5277
  type: z.ZodString;
5278
- id: z.ZodString;
5278
+ id: z.ZodOptional<z.ZodString>;
5279
5279
  }, z.core.$catchall<z.ZodAny>>, z.ZodArray<z.ZodObject<{
5280
5280
  type: z.ZodString;
5281
- id: z.ZodString;
5281
+ id: z.ZodOptional<z.ZodString>;
5282
5282
  }, z.core.$catchall<z.ZodAny>>>]>>;
5283
5283
  termsOfUse: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
5284
5284
  type: z.ZodString;
@@ -5431,10 +5431,10 @@ export declare const IssueInboxCredentialValidator: z.ZodObject<{
5431
5431
  expirationDate: z.ZodOptional<z.ZodString>;
5432
5432
  credentialStatus: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
5433
5433
  type: z.ZodString;
5434
- id: z.ZodString;
5434
+ id: z.ZodOptional<z.ZodString>;
5435
5435
  }, z.core.$catchall<z.ZodAny>>, z.ZodArray<z.ZodObject<{
5436
5436
  type: z.ZodString;
5437
- id: z.ZodString;
5437
+ id: z.ZodOptional<z.ZodString>;
5438
5438
  }, z.core.$catchall<z.ZodAny>>>]>>;
5439
5439
  name: z.ZodOptional<z.ZodString>;
5440
5440
  description: z.ZodOptional<z.ZodString>;
@@ -5442,10 +5442,10 @@ export declare const IssueInboxCredentialValidator: z.ZodObject<{
5442
5442
  validUntil: z.ZodOptional<z.ZodString>;
5443
5443
  status: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
5444
5444
  type: z.ZodString;
5445
- id: z.ZodString;
5445
+ id: z.ZodOptional<z.ZodString>;
5446
5446
  }, z.core.$catchall<z.ZodAny>>, z.ZodArray<z.ZodObject<{
5447
5447
  type: z.ZodString;
5448
- id: z.ZodString;
5448
+ id: z.ZodOptional<z.ZodString>;
5449
5449
  }, z.core.$catchall<z.ZodAny>>>]>>;
5450
5450
  termsOfUse: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
5451
5451
  type: z.ZodString;
@@ -5619,10 +5619,10 @@ export declare const IssueInboxCredentialValidator: z.ZodObject<{
5619
5619
  expirationDate: z.ZodOptional<z.ZodString>;
5620
5620
  credentialStatus: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
5621
5621
  type: z.ZodString;
5622
- id: z.ZodString;
5622
+ id: z.ZodOptional<z.ZodString>;
5623
5623
  }, z.core.$catchall<z.ZodAny>>, z.ZodArray<z.ZodObject<{
5624
5624
  type: z.ZodString;
5625
- id: z.ZodString;
5625
+ id: z.ZodOptional<z.ZodString>;
5626
5626
  }, z.core.$catchall<z.ZodAny>>>]>>;
5627
5627
  name: z.ZodOptional<z.ZodString>;
5628
5628
  description: z.ZodOptional<z.ZodString>;
@@ -5630,10 +5630,10 @@ export declare const IssueInboxCredentialValidator: z.ZodObject<{
5630
5630
  validUntil: z.ZodOptional<z.ZodString>;
5631
5631
  status: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
5632
5632
  type: z.ZodString;
5633
- id: z.ZodString;
5633
+ id: z.ZodOptional<z.ZodString>;
5634
5634
  }, z.core.$catchall<z.ZodAny>>, z.ZodArray<z.ZodObject<{
5635
5635
  type: z.ZodString;
5636
- id: z.ZodString;
5636
+ id: z.ZodOptional<z.ZodString>;
5637
5637
  }, z.core.$catchall<z.ZodAny>>>]>>;
5638
5638
  termsOfUse: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
5639
5639
  type: z.ZodString;
@@ -5826,10 +5826,10 @@ export declare const ClaimInboxCredentialValidator: z.ZodObject<{
5826
5826
  expirationDate: z.ZodOptional<z.ZodString>;
5827
5827
  credentialStatus: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
5828
5828
  type: z.ZodString;
5829
- id: z.ZodString;
5829
+ id: z.ZodOptional<z.ZodString>;
5830
5830
  }, z.core.$catchall<z.ZodAny>>, z.ZodArray<z.ZodObject<{
5831
5831
  type: z.ZodString;
5832
- id: z.ZodString;
5832
+ id: z.ZodOptional<z.ZodString>;
5833
5833
  }, z.core.$catchall<z.ZodAny>>>]>>;
5834
5834
  name: z.ZodOptional<z.ZodString>;
5835
5835
  description: z.ZodOptional<z.ZodString>;
@@ -5837,10 +5837,10 @@ export declare const ClaimInboxCredentialValidator: z.ZodObject<{
5837
5837
  validUntil: z.ZodOptional<z.ZodString>;
5838
5838
  status: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
5839
5839
  type: z.ZodString;
5840
- id: z.ZodString;
5840
+ id: z.ZodOptional<z.ZodString>;
5841
5841
  }, z.core.$catchall<z.ZodAny>>, z.ZodArray<z.ZodObject<{
5842
5842
  type: z.ZodString;
5843
- id: z.ZodString;
5843
+ id: z.ZodOptional<z.ZodString>;
5844
5844
  }, z.core.$catchall<z.ZodAny>>>]>>;
5845
5845
  termsOfUse: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
5846
5846
  type: z.ZodString;
@@ -5997,10 +5997,10 @@ export declare const ClaimInboxCredentialValidator: z.ZodObject<{
5997
5997
  expirationDate: z.ZodOptional<z.ZodString>;
5998
5998
  credentialStatus: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
5999
5999
  type: z.ZodString;
6000
- id: z.ZodString;
6000
+ id: z.ZodOptional<z.ZodString>;
6001
6001
  }, z.core.$catchall<z.ZodAny>>, z.ZodArray<z.ZodObject<{
6002
6002
  type: z.ZodString;
6003
- id: z.ZodString;
6003
+ id: z.ZodOptional<z.ZodString>;
6004
6004
  }, z.core.$catchall<z.ZodAny>>>]>>;
6005
6005
  name: z.ZodOptional<z.ZodString>;
6006
6006
  description: z.ZodOptional<z.ZodString>;
@@ -6008,10 +6008,10 @@ export declare const ClaimInboxCredentialValidator: z.ZodObject<{
6008
6008
  validUntil: z.ZodOptional<z.ZodString>;
6009
6009
  status: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
6010
6010
  type: z.ZodString;
6011
- id: z.ZodString;
6011
+ id: z.ZodOptional<z.ZodString>;
6012
6012
  }, z.core.$catchall<z.ZodAny>>, z.ZodArray<z.ZodObject<{
6013
6013
  type: z.ZodString;
6014
- id: z.ZodString;
6014
+ id: z.ZodOptional<z.ZodString>;
6015
6015
  }, z.core.$catchall<z.ZodAny>>>]>>;
6016
6016
  termsOfUse: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
6017
6017
  type: z.ZodString;
@@ -6164,10 +6164,10 @@ export declare const ClaimInboxCredentialValidator: z.ZodObject<{
6164
6164
  expirationDate: z.ZodOptional<z.ZodString>;
6165
6165
  credentialStatus: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
6166
6166
  type: z.ZodString;
6167
- id: z.ZodString;
6167
+ id: z.ZodOptional<z.ZodString>;
6168
6168
  }, z.core.$catchall<z.ZodAny>>, z.ZodArray<z.ZodObject<{
6169
6169
  type: z.ZodString;
6170
- id: z.ZodString;
6170
+ id: z.ZodOptional<z.ZodString>;
6171
6171
  }, z.core.$catchall<z.ZodAny>>>]>>;
6172
6172
  name: z.ZodOptional<z.ZodString>;
6173
6173
  description: z.ZodOptional<z.ZodString>;
@@ -6175,10 +6175,10 @@ export declare const ClaimInboxCredentialValidator: z.ZodObject<{
6175
6175
  validUntil: z.ZodOptional<z.ZodString>;
6176
6176
  status: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
6177
6177
  type: z.ZodString;
6178
- id: z.ZodString;
6178
+ id: z.ZodOptional<z.ZodString>;
6179
6179
  }, z.core.$catchall<z.ZodAny>>, z.ZodArray<z.ZodObject<{
6180
6180
  type: z.ZodString;
6181
- id: z.ZodString;
6181
+ id: z.ZodOptional<z.ZodString>;
6182
6182
  }, z.core.$catchall<z.ZodAny>>>]>>;
6183
6183
  termsOfUse: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
6184
6184
  type: z.ZodString;
@@ -6352,10 +6352,10 @@ export declare const ClaimInboxCredentialValidator: z.ZodObject<{
6352
6352
  expirationDate: z.ZodOptional<z.ZodString>;
6353
6353
  credentialStatus: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
6354
6354
  type: z.ZodString;
6355
- id: z.ZodString;
6355
+ id: z.ZodOptional<z.ZodString>;
6356
6356
  }, z.core.$catchall<z.ZodAny>>, z.ZodArray<z.ZodObject<{
6357
6357
  type: z.ZodString;
6358
- id: z.ZodString;
6358
+ id: z.ZodOptional<z.ZodString>;
6359
6359
  }, z.core.$catchall<z.ZodAny>>>]>>;
6360
6360
  name: z.ZodOptional<z.ZodString>;
6361
6361
  description: z.ZodOptional<z.ZodString>;
@@ -6363,10 +6363,10 @@ export declare const ClaimInboxCredentialValidator: z.ZodObject<{
6363
6363
  validUntil: z.ZodOptional<z.ZodString>;
6364
6364
  status: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
6365
6365
  type: z.ZodString;
6366
- id: z.ZodString;
6366
+ id: z.ZodOptional<z.ZodString>;
6367
6367
  }, z.core.$catchall<z.ZodAny>>, z.ZodArray<z.ZodObject<{
6368
6368
  type: z.ZodString;
6369
- id: z.ZodString;
6369
+ id: z.ZodOptional<z.ZodString>;
6370
6370
  }, z.core.$catchall<z.ZodAny>>>]>>;
6371
6371
  termsOfUse: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
6372
6372
  type: z.ZodString;
@@ -1 +1 @@
1
- {"version":3,"file":"learncard.d.ts","sourceRoot":"","sources":["../src/learncard.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,QAAQ,CAAC;AAE3B,OAAO,EAA6B,KAAK,gBAAgB,EAAE,MAAM,qBAAqB,CAAC;AAEvF;;;;;;;;;;;;;;;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