@learncard/types 2.0.1 → 2.1.2

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/README.md CHANGED
@@ -1,11 +1,15 @@
1
+ [<img src="https://user-images.githubusercontent.com/2185016/176284693-4ca14052-d067-4ea5-b170-c6cd2594ee23.png" width="400"/>](image.png)
1
2
  # @learncard/types
2
-
3
- > Shared types for learn card
4
-
5
3
  [![npm version](https://img.shields.io/npm/v/@learncard/types)](https://www.npmjs.com/package/@learncard/types)
6
4
  [![npm downloads](https://img.shields.io/npm/dw/@learncard/types)](https://www.npmjs.com/package/@learncard/types)
7
5
  [![vulnerabilities](https://img.shields.io/snyk/vulnerabilities/npm/@learncard/types)](https://www.npmjs.com/package/@learncard/types)
8
6
 
7
+ Shared types for learn card
8
+
9
+ ## Documentation
10
+ All LearnCard documentation can be found at:
11
+ https://app.gitbook.com/o/6uDv1QDlxaaZC7i8EaGb/s/FXvEJ9j3Vf3FW5Nc557n/
12
+
9
13
  ## Install
10
14
 
11
15
  ```bash
@@ -18,8 +22,18 @@ pnpm install @learncard/types
18
22
  import { VC } from "@learncard/types";
19
23
  ```
20
24
 
25
+
26
+ ## Contributing
27
+ Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.
28
+
29
+ Please make sure to update tests as appropriate.
30
+
31
+ ## Who is Learning Economy Foundation?
32
+
33
+ **[Learning Economy Foundation (LEF)](https://www.learningeconomy.io)** is a 501(c)(3) non-profit organization leveraging global standards and web3 protocols to bring quality skills and equal opportunity to every human on earth, and address the persistent inequities that exist around the globe in education and employment. We help you build the future of education and work with:
34
+
35
+
21
36
  ## License
22
37
 
23
- MIT © [Taylor Beeston <beeston.taylor@gmail.com>](https://github.com/TaylorBeeston)
38
+ MIT © [Learning Economy Foundation](https://github.com/Learning-Economy-Foundation)
24
39
 
25
- [Created with aqu 🌊](https://github.com/ArtiomTr/aqu#readme)
@@ -0,0 +1,3 @@
1
+ export * from './vc';
2
+ export * from './obv3';
3
+ export * from './learncard';
@@ -0,0 +1,625 @@
1
+ import { z } from 'zod';
2
+ export declare const VerificationCheckValidator: z.ZodObject<{
3
+ checks: z.ZodArray<z.ZodString, "many">;
4
+ warnings: z.ZodArray<z.ZodString, "many">;
5
+ errors: z.ZodArray<z.ZodString, "many">;
6
+ }, "strip", z.ZodTypeAny, {
7
+ checks: string[];
8
+ warnings: string[];
9
+ errors: string[];
10
+ }, {
11
+ checks: string[];
12
+ warnings: string[];
13
+ errors: string[];
14
+ }>;
15
+ export declare type VerificationCheck = z.infer<typeof VerificationCheckValidator>;
16
+ export declare const VerificationStatusValidator: z.ZodEnum<["Success", "Failed", "Error"]>;
17
+ export declare type VerificationStatus = z.infer<typeof VerificationStatusValidator>;
18
+ export declare const VerificationStatusEnum: {
19
+ Failed: "Failed";
20
+ Success: "Success";
21
+ Error: "Error";
22
+ };
23
+ export declare const VerificationItemValidator: z.ZodObject<{
24
+ check: z.ZodString;
25
+ status: z.ZodEnum<["Success", "Failed", "Error"]>;
26
+ message: z.ZodOptional<z.ZodString>;
27
+ details: z.ZodOptional<z.ZodString>;
28
+ }, "strip", z.ZodTypeAny, {
29
+ message?: string | undefined;
30
+ details?: string | undefined;
31
+ status: "Failed" | "Success" | "Error";
32
+ check: string;
33
+ }, {
34
+ message?: string | undefined;
35
+ details?: string | undefined;
36
+ status: "Failed" | "Success" | "Error";
37
+ check: string;
38
+ }>;
39
+ export declare type VerificationItem = z.infer<typeof VerificationItemValidator>;
40
+ export declare const CredentialInfoValidator: z.ZodObject<{
41
+ title: z.ZodOptional<z.ZodString>;
42
+ createdAt: z.ZodOptional<z.ZodString>;
43
+ issuer: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodObject<{
44
+ id: z.ZodOptional<z.ZodString>;
45
+ type: z.ZodOptional<z.ZodArray<z.ZodString, "atleastone">>;
46
+ name: z.ZodOptional<z.ZodString>;
47
+ url: z.ZodOptional<z.ZodString>;
48
+ phone: z.ZodOptional<z.ZodString>;
49
+ description: z.ZodOptional<z.ZodString>;
50
+ endorsement: z.ZodOptional<z.ZodArray<z.ZodAny, "many">>;
51
+ image: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodObject<{
52
+ id: z.ZodString;
53
+ type: z.ZodString;
54
+ caption: z.ZodOptional<z.ZodString>;
55
+ }, "strip", z.ZodTypeAny, {
56
+ caption?: string | undefined;
57
+ type: string;
58
+ id: string;
59
+ }, {
60
+ caption?: string | undefined;
61
+ type: string;
62
+ id: string;
63
+ }>]>>;
64
+ email: z.ZodOptional<z.ZodString>;
65
+ address: z.ZodOptional<z.ZodObject<{
66
+ type: z.ZodArray<z.ZodString, "atleastone">;
67
+ addressCountry: z.ZodOptional<z.ZodString>;
68
+ addressCountryCode: z.ZodOptional<z.ZodString>;
69
+ addressRegion: z.ZodOptional<z.ZodString>;
70
+ addressLocality: z.ZodOptional<z.ZodString>;
71
+ streetAddress: z.ZodOptional<z.ZodString>;
72
+ postOfficeBoxNumber: z.ZodOptional<z.ZodString>;
73
+ postalCode: z.ZodOptional<z.ZodString>;
74
+ geo: z.ZodOptional<z.ZodObject<{
75
+ type: z.ZodArray<z.ZodString, "atleastone">;
76
+ latitude: z.ZodNumber;
77
+ longitude: z.ZodNumber;
78
+ }, "strip", z.ZodTypeAny, {
79
+ type: [string, ...string[]];
80
+ latitude: number;
81
+ longitude: number;
82
+ }, {
83
+ type: [string, ...string[]];
84
+ latitude: number;
85
+ longitude: number;
86
+ }>>;
87
+ }, "strip", z.ZodTypeAny, {
88
+ addressCountry?: string | undefined;
89
+ addressCountryCode?: string | undefined;
90
+ addressRegion?: string | undefined;
91
+ addressLocality?: string | undefined;
92
+ streetAddress?: string | undefined;
93
+ postOfficeBoxNumber?: string | undefined;
94
+ postalCode?: string | undefined;
95
+ geo?: {
96
+ type: [string, ...string[]];
97
+ latitude: number;
98
+ longitude: number;
99
+ } | undefined;
100
+ type: [string, ...string[]];
101
+ }, {
102
+ addressCountry?: string | undefined;
103
+ addressCountryCode?: string | undefined;
104
+ addressRegion?: string | undefined;
105
+ addressLocality?: string | undefined;
106
+ streetAddress?: string | undefined;
107
+ postOfficeBoxNumber?: string | undefined;
108
+ postalCode?: string | undefined;
109
+ geo?: {
110
+ type: [string, ...string[]];
111
+ latitude: number;
112
+ longitude: number;
113
+ } | undefined;
114
+ type: [string, ...string[]];
115
+ }>>;
116
+ otherIdentifier: z.ZodOptional<z.ZodArray<z.ZodObject<{
117
+ type: z.ZodArray<z.ZodString, "atleastone">;
118
+ identifier: z.ZodString;
119
+ identifierType: z.ZodUnion<[z.ZodEnum<["sourcedId", "systemId", "productId", "userName", "accountId", "emailAddress", "nationalIdentityNumber", "isbn", "issn", "lisSourcedId", "oneRosterSourcedId", "sisSourcedId", "ltiContextId", "ltiDeploymentId", "ltiToolId", "ltiPlatformId", "ltiUserId", "identifier"]>, z.ZodString]>;
120
+ }, "strip", z.ZodTypeAny, {
121
+ type: [string, ...string[]];
122
+ identifier: string;
123
+ identifierType: string;
124
+ }, {
125
+ type: [string, ...string[]];
126
+ identifier: string;
127
+ identifierType: string;
128
+ }>, "many">>;
129
+ official: z.ZodOptional<z.ZodString>;
130
+ parentOrg: z.ZodOptional<z.ZodAny>;
131
+ familyName: z.ZodOptional<z.ZodString>;
132
+ givenName: z.ZodOptional<z.ZodString>;
133
+ additionalName: z.ZodOptional<z.ZodString>;
134
+ patronymicName: z.ZodOptional<z.ZodString>;
135
+ honorificPrefix: z.ZodOptional<z.ZodString>;
136
+ honorificSuffix: z.ZodOptional<z.ZodString>;
137
+ familyNamePrefix: z.ZodOptional<z.ZodString>;
138
+ dateOfBirth: z.ZodOptional<z.ZodString>;
139
+ }, "strip", z.ZodAny, {
140
+ [x: string]: any;
141
+ type?: [string, ...string[]] | undefined;
142
+ id?: string | undefined;
143
+ name?: string | undefined;
144
+ url?: string | undefined;
145
+ phone?: string | undefined;
146
+ description?: string | undefined;
147
+ endorsement?: any[] | undefined;
148
+ image?: string | {
149
+ caption?: string | undefined;
150
+ type: string;
151
+ id: string;
152
+ } | undefined;
153
+ email?: string | undefined;
154
+ address?: {
155
+ addressCountry?: string | undefined;
156
+ addressCountryCode?: string | undefined;
157
+ addressRegion?: string | undefined;
158
+ addressLocality?: string | undefined;
159
+ streetAddress?: string | undefined;
160
+ postOfficeBoxNumber?: string | undefined;
161
+ postalCode?: string | undefined;
162
+ geo?: {
163
+ type: [string, ...string[]];
164
+ latitude: number;
165
+ longitude: number;
166
+ } | undefined;
167
+ type: [string, ...string[]];
168
+ } | undefined;
169
+ otherIdentifier?: {
170
+ type: [string, ...string[]];
171
+ identifier: string;
172
+ identifierType: string;
173
+ }[] | undefined;
174
+ official?: string | undefined;
175
+ parentOrg?: any;
176
+ familyName?: string | undefined;
177
+ givenName?: string | undefined;
178
+ additionalName?: string | undefined;
179
+ patronymicName?: string | undefined;
180
+ honorificPrefix?: string | undefined;
181
+ honorificSuffix?: string | undefined;
182
+ familyNamePrefix?: string | undefined;
183
+ dateOfBirth?: string | undefined;
184
+ }, {
185
+ [x: string]: any;
186
+ type?: [string, ...string[]] | undefined;
187
+ id?: string | undefined;
188
+ name?: string | undefined;
189
+ url?: string | undefined;
190
+ phone?: string | undefined;
191
+ description?: string | undefined;
192
+ endorsement?: any[] | undefined;
193
+ image?: string | {
194
+ caption?: string | undefined;
195
+ type: string;
196
+ id: string;
197
+ } | undefined;
198
+ email?: string | undefined;
199
+ address?: {
200
+ addressCountry?: string | undefined;
201
+ addressCountryCode?: string | undefined;
202
+ addressRegion?: string | undefined;
203
+ addressLocality?: string | undefined;
204
+ streetAddress?: string | undefined;
205
+ postOfficeBoxNumber?: string | undefined;
206
+ postalCode?: string | undefined;
207
+ geo?: {
208
+ type: [string, ...string[]];
209
+ latitude: number;
210
+ longitude: number;
211
+ } | undefined;
212
+ type: [string, ...string[]];
213
+ } | undefined;
214
+ otherIdentifier?: {
215
+ type: [string, ...string[]];
216
+ identifier: string;
217
+ identifierType: string;
218
+ }[] | undefined;
219
+ official?: string | undefined;
220
+ parentOrg?: any;
221
+ familyName?: string | undefined;
222
+ givenName?: string | undefined;
223
+ additionalName?: string | undefined;
224
+ patronymicName?: string | undefined;
225
+ honorificPrefix?: string | undefined;
226
+ honorificSuffix?: string | undefined;
227
+ familyNamePrefix?: string | undefined;
228
+ dateOfBirth?: string | undefined;
229
+ }>]>>;
230
+ issuee: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodObject<{
231
+ id: z.ZodOptional<z.ZodString>;
232
+ type: z.ZodOptional<z.ZodArray<z.ZodString, "atleastone">>;
233
+ name: z.ZodOptional<z.ZodString>;
234
+ url: z.ZodOptional<z.ZodString>;
235
+ phone: z.ZodOptional<z.ZodString>;
236
+ description: z.ZodOptional<z.ZodString>;
237
+ endorsement: z.ZodOptional<z.ZodArray<z.ZodAny, "many">>;
238
+ image: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodObject<{
239
+ id: z.ZodString;
240
+ type: z.ZodString;
241
+ caption: z.ZodOptional<z.ZodString>;
242
+ }, "strip", z.ZodTypeAny, {
243
+ caption?: string | undefined;
244
+ type: string;
245
+ id: string;
246
+ }, {
247
+ caption?: string | undefined;
248
+ type: string;
249
+ id: string;
250
+ }>]>>;
251
+ email: z.ZodOptional<z.ZodString>;
252
+ address: z.ZodOptional<z.ZodObject<{
253
+ type: z.ZodArray<z.ZodString, "atleastone">;
254
+ addressCountry: z.ZodOptional<z.ZodString>;
255
+ addressCountryCode: z.ZodOptional<z.ZodString>;
256
+ addressRegion: z.ZodOptional<z.ZodString>;
257
+ addressLocality: z.ZodOptional<z.ZodString>;
258
+ streetAddress: z.ZodOptional<z.ZodString>;
259
+ postOfficeBoxNumber: z.ZodOptional<z.ZodString>;
260
+ postalCode: z.ZodOptional<z.ZodString>;
261
+ geo: z.ZodOptional<z.ZodObject<{
262
+ type: z.ZodArray<z.ZodString, "atleastone">;
263
+ latitude: z.ZodNumber;
264
+ longitude: z.ZodNumber;
265
+ }, "strip", z.ZodTypeAny, {
266
+ type: [string, ...string[]];
267
+ latitude: number;
268
+ longitude: number;
269
+ }, {
270
+ type: [string, ...string[]];
271
+ latitude: number;
272
+ longitude: number;
273
+ }>>;
274
+ }, "strip", z.ZodTypeAny, {
275
+ addressCountry?: string | undefined;
276
+ addressCountryCode?: string | undefined;
277
+ addressRegion?: string | undefined;
278
+ addressLocality?: string | undefined;
279
+ streetAddress?: string | undefined;
280
+ postOfficeBoxNumber?: string | undefined;
281
+ postalCode?: string | undefined;
282
+ geo?: {
283
+ type: [string, ...string[]];
284
+ latitude: number;
285
+ longitude: number;
286
+ } | undefined;
287
+ type: [string, ...string[]];
288
+ }, {
289
+ addressCountry?: string | undefined;
290
+ addressCountryCode?: string | undefined;
291
+ addressRegion?: string | undefined;
292
+ addressLocality?: string | undefined;
293
+ streetAddress?: string | undefined;
294
+ postOfficeBoxNumber?: string | undefined;
295
+ postalCode?: string | undefined;
296
+ geo?: {
297
+ type: [string, ...string[]];
298
+ latitude: number;
299
+ longitude: number;
300
+ } | undefined;
301
+ type: [string, ...string[]];
302
+ }>>;
303
+ otherIdentifier: z.ZodOptional<z.ZodArray<z.ZodObject<{
304
+ type: z.ZodArray<z.ZodString, "atleastone">;
305
+ identifier: z.ZodString;
306
+ identifierType: z.ZodUnion<[z.ZodEnum<["sourcedId", "systemId", "productId", "userName", "accountId", "emailAddress", "nationalIdentityNumber", "isbn", "issn", "lisSourcedId", "oneRosterSourcedId", "sisSourcedId", "ltiContextId", "ltiDeploymentId", "ltiToolId", "ltiPlatformId", "ltiUserId", "identifier"]>, z.ZodString]>;
307
+ }, "strip", z.ZodTypeAny, {
308
+ type: [string, ...string[]];
309
+ identifier: string;
310
+ identifierType: string;
311
+ }, {
312
+ type: [string, ...string[]];
313
+ identifier: string;
314
+ identifierType: string;
315
+ }>, "many">>;
316
+ official: z.ZodOptional<z.ZodString>;
317
+ parentOrg: z.ZodOptional<z.ZodAny>;
318
+ familyName: z.ZodOptional<z.ZodString>;
319
+ givenName: z.ZodOptional<z.ZodString>;
320
+ additionalName: z.ZodOptional<z.ZodString>;
321
+ patronymicName: z.ZodOptional<z.ZodString>;
322
+ honorificPrefix: z.ZodOptional<z.ZodString>;
323
+ honorificSuffix: z.ZodOptional<z.ZodString>;
324
+ familyNamePrefix: z.ZodOptional<z.ZodString>;
325
+ dateOfBirth: z.ZodOptional<z.ZodString>;
326
+ }, "strip", z.ZodAny, {
327
+ [x: string]: any;
328
+ type?: [string, ...string[]] | undefined;
329
+ id?: string | undefined;
330
+ name?: string | undefined;
331
+ url?: string | undefined;
332
+ phone?: string | undefined;
333
+ description?: string | undefined;
334
+ endorsement?: any[] | undefined;
335
+ image?: string | {
336
+ caption?: string | undefined;
337
+ type: string;
338
+ id: string;
339
+ } | undefined;
340
+ email?: string | undefined;
341
+ address?: {
342
+ addressCountry?: string | undefined;
343
+ addressCountryCode?: string | undefined;
344
+ addressRegion?: string | undefined;
345
+ addressLocality?: string | undefined;
346
+ streetAddress?: string | undefined;
347
+ postOfficeBoxNumber?: string | undefined;
348
+ postalCode?: string | undefined;
349
+ geo?: {
350
+ type: [string, ...string[]];
351
+ latitude: number;
352
+ longitude: number;
353
+ } | undefined;
354
+ type: [string, ...string[]];
355
+ } | undefined;
356
+ otherIdentifier?: {
357
+ type: [string, ...string[]];
358
+ identifier: string;
359
+ identifierType: string;
360
+ }[] | undefined;
361
+ official?: string | undefined;
362
+ parentOrg?: any;
363
+ familyName?: string | undefined;
364
+ givenName?: string | undefined;
365
+ additionalName?: string | undefined;
366
+ patronymicName?: string | undefined;
367
+ honorificPrefix?: string | undefined;
368
+ honorificSuffix?: string | undefined;
369
+ familyNamePrefix?: string | undefined;
370
+ dateOfBirth?: string | undefined;
371
+ }, {
372
+ [x: string]: any;
373
+ type?: [string, ...string[]] | undefined;
374
+ id?: string | undefined;
375
+ name?: string | undefined;
376
+ url?: string | undefined;
377
+ phone?: string | undefined;
378
+ description?: string | undefined;
379
+ endorsement?: any[] | undefined;
380
+ image?: string | {
381
+ caption?: string | undefined;
382
+ type: string;
383
+ id: string;
384
+ } | undefined;
385
+ email?: string | undefined;
386
+ address?: {
387
+ addressCountry?: string | undefined;
388
+ addressCountryCode?: string | undefined;
389
+ addressRegion?: string | undefined;
390
+ addressLocality?: string | undefined;
391
+ streetAddress?: string | undefined;
392
+ postOfficeBoxNumber?: string | undefined;
393
+ postalCode?: string | undefined;
394
+ geo?: {
395
+ type: [string, ...string[]];
396
+ latitude: number;
397
+ longitude: number;
398
+ } | undefined;
399
+ type: [string, ...string[]];
400
+ } | undefined;
401
+ otherIdentifier?: {
402
+ type: [string, ...string[]];
403
+ identifier: string;
404
+ identifierType: string;
405
+ }[] | undefined;
406
+ official?: string | undefined;
407
+ parentOrg?: any;
408
+ familyName?: string | undefined;
409
+ givenName?: string | undefined;
410
+ additionalName?: string | undefined;
411
+ patronymicName?: string | undefined;
412
+ honorificPrefix?: string | undefined;
413
+ honorificSuffix?: string | undefined;
414
+ familyNamePrefix?: string | undefined;
415
+ dateOfBirth?: string | undefined;
416
+ }>]>>;
417
+ credentialSubject: z.ZodOptional<z.ZodObject<{
418
+ id: z.ZodOptional<z.ZodString>;
419
+ }, "strip", z.ZodAny, {
420
+ [x: string]: any;
421
+ id?: string | undefined;
422
+ }, {
423
+ [x: string]: any;
424
+ id?: string | undefined;
425
+ }>>;
426
+ }, "strip", z.ZodTypeAny, {
427
+ issuer?: string | {
428
+ [x: string]: any;
429
+ type?: [string, ...string[]] | undefined;
430
+ id?: string | undefined;
431
+ name?: string | undefined;
432
+ url?: string | undefined;
433
+ phone?: string | undefined;
434
+ description?: string | undefined;
435
+ endorsement?: any[] | undefined;
436
+ image?: string | {
437
+ caption?: string | undefined;
438
+ type: string;
439
+ id: string;
440
+ } | undefined;
441
+ email?: string | undefined;
442
+ address?: {
443
+ addressCountry?: string | undefined;
444
+ addressCountryCode?: string | undefined;
445
+ addressRegion?: string | undefined;
446
+ addressLocality?: string | undefined;
447
+ streetAddress?: string | undefined;
448
+ postOfficeBoxNumber?: string | undefined;
449
+ postalCode?: string | undefined;
450
+ geo?: {
451
+ type: [string, ...string[]];
452
+ latitude: number;
453
+ longitude: number;
454
+ } | undefined;
455
+ type: [string, ...string[]];
456
+ } | undefined;
457
+ otherIdentifier?: {
458
+ type: [string, ...string[]];
459
+ identifier: string;
460
+ identifierType: string;
461
+ }[] | undefined;
462
+ official?: string | undefined;
463
+ parentOrg?: any;
464
+ familyName?: string | undefined;
465
+ givenName?: string | undefined;
466
+ additionalName?: string | undefined;
467
+ patronymicName?: string | undefined;
468
+ honorificPrefix?: string | undefined;
469
+ honorificSuffix?: string | undefined;
470
+ familyNamePrefix?: string | undefined;
471
+ dateOfBirth?: string | undefined;
472
+ } | undefined;
473
+ credentialSubject?: {
474
+ [x: string]: any;
475
+ id?: string | undefined;
476
+ } | undefined;
477
+ title?: string | undefined;
478
+ createdAt?: string | undefined;
479
+ issuee?: string | {
480
+ [x: string]: any;
481
+ type?: [string, ...string[]] | undefined;
482
+ id?: string | undefined;
483
+ name?: string | undefined;
484
+ url?: string | undefined;
485
+ phone?: string | undefined;
486
+ description?: string | undefined;
487
+ endorsement?: any[] | undefined;
488
+ image?: string | {
489
+ caption?: string | undefined;
490
+ type: string;
491
+ id: string;
492
+ } | undefined;
493
+ email?: string | undefined;
494
+ address?: {
495
+ addressCountry?: string | undefined;
496
+ addressCountryCode?: string | undefined;
497
+ addressRegion?: string | undefined;
498
+ addressLocality?: string | undefined;
499
+ streetAddress?: string | undefined;
500
+ postOfficeBoxNumber?: string | undefined;
501
+ postalCode?: string | undefined;
502
+ geo?: {
503
+ type: [string, ...string[]];
504
+ latitude: number;
505
+ longitude: number;
506
+ } | undefined;
507
+ type: [string, ...string[]];
508
+ } | undefined;
509
+ otherIdentifier?: {
510
+ type: [string, ...string[]];
511
+ identifier: string;
512
+ identifierType: string;
513
+ }[] | undefined;
514
+ official?: string | undefined;
515
+ parentOrg?: any;
516
+ familyName?: string | undefined;
517
+ givenName?: string | undefined;
518
+ additionalName?: string | undefined;
519
+ patronymicName?: string | undefined;
520
+ honorificPrefix?: string | undefined;
521
+ honorificSuffix?: string | undefined;
522
+ familyNamePrefix?: string | undefined;
523
+ dateOfBirth?: string | undefined;
524
+ } | undefined;
525
+ }, {
526
+ issuer?: string | {
527
+ [x: string]: any;
528
+ type?: [string, ...string[]] | undefined;
529
+ id?: string | undefined;
530
+ name?: string | undefined;
531
+ url?: string | undefined;
532
+ phone?: string | undefined;
533
+ description?: string | undefined;
534
+ endorsement?: any[] | undefined;
535
+ image?: string | {
536
+ caption?: string | undefined;
537
+ type: string;
538
+ id: string;
539
+ } | undefined;
540
+ email?: string | undefined;
541
+ address?: {
542
+ addressCountry?: string | undefined;
543
+ addressCountryCode?: string | undefined;
544
+ addressRegion?: string | undefined;
545
+ addressLocality?: string | undefined;
546
+ streetAddress?: string | undefined;
547
+ postOfficeBoxNumber?: string | undefined;
548
+ postalCode?: string | undefined;
549
+ geo?: {
550
+ type: [string, ...string[]];
551
+ latitude: number;
552
+ longitude: number;
553
+ } | undefined;
554
+ type: [string, ...string[]];
555
+ } | undefined;
556
+ otherIdentifier?: {
557
+ type: [string, ...string[]];
558
+ identifier: string;
559
+ identifierType: string;
560
+ }[] | undefined;
561
+ official?: string | undefined;
562
+ parentOrg?: any;
563
+ familyName?: string | undefined;
564
+ givenName?: string | undefined;
565
+ additionalName?: string | undefined;
566
+ patronymicName?: string | undefined;
567
+ honorificPrefix?: string | undefined;
568
+ honorificSuffix?: string | undefined;
569
+ familyNamePrefix?: string | undefined;
570
+ dateOfBirth?: string | undefined;
571
+ } | undefined;
572
+ credentialSubject?: {
573
+ [x: string]: any;
574
+ id?: string | undefined;
575
+ } | undefined;
576
+ title?: string | undefined;
577
+ createdAt?: string | undefined;
578
+ issuee?: string | {
579
+ [x: string]: any;
580
+ type?: [string, ...string[]] | undefined;
581
+ id?: string | undefined;
582
+ name?: string | undefined;
583
+ url?: string | undefined;
584
+ phone?: string | undefined;
585
+ description?: string | undefined;
586
+ endorsement?: any[] | undefined;
587
+ image?: string | {
588
+ caption?: string | undefined;
589
+ type: string;
590
+ id: string;
591
+ } | undefined;
592
+ email?: string | undefined;
593
+ address?: {
594
+ addressCountry?: string | undefined;
595
+ addressCountryCode?: string | undefined;
596
+ addressRegion?: string | undefined;
597
+ addressLocality?: string | undefined;
598
+ streetAddress?: string | undefined;
599
+ postOfficeBoxNumber?: string | undefined;
600
+ postalCode?: string | undefined;
601
+ geo?: {
602
+ type: [string, ...string[]];
603
+ latitude: number;
604
+ longitude: number;
605
+ } | undefined;
606
+ type: [string, ...string[]];
607
+ } | undefined;
608
+ otherIdentifier?: {
609
+ type: [string, ...string[]];
610
+ identifier: string;
611
+ identifierType: string;
612
+ }[] | undefined;
613
+ official?: string | undefined;
614
+ parentOrg?: any;
615
+ familyName?: string | undefined;
616
+ givenName?: string | undefined;
617
+ additionalName?: string | undefined;
618
+ patronymicName?: string | undefined;
619
+ honorificPrefix?: string | undefined;
620
+ honorificSuffix?: string | undefined;
621
+ familyNamePrefix?: string | undefined;
622
+ dateOfBirth?: string | undefined;
623
+ } | undefined;
624
+ }>;
625
+ export declare type CredentialInfo = z.infer<typeof CredentialInfoValidator>;