@learncard/types 2.0.0 → 2.1.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.
- package/README.md +6 -12
- package/dist/index.d.ts +3 -0
- package/dist/learncard.d.ts +611 -0
- package/dist/obv3.d.ts +18386 -0
- package/dist/types.cjs.development.js +359 -7
- package/dist/types.cjs.development.js.map +3 -3
- package/dist/types.cjs.production.min.js +1 -1
- package/dist/types.cjs.production.min.js.map +3 -3
- package/dist/types.esm.js +358 -8
- package/dist/types.esm.js.map +3 -3
- package/dist/vc.d.ts +2758 -0
- package/package.json +10 -7
- package/dist/types.d.ts +0 -75
package/README.md
CHANGED
@@ -1,27 +1,21 @@
|
|
1
|
-
#
|
1
|
+
# @learncard/types
|
2
2
|
|
3
3
|
> Shared types for learn card
|
4
4
|
|
5
|
-
[](https://www.npmjs.com/package/@learncard/types)
|
6
|
+
[](https://www.npmjs.com/package/@learncard/types)
|
7
|
+
[](https://www.npmjs.com/package/@learncard/types)
|
8
8
|
|
9
9
|
## Install
|
10
10
|
|
11
11
|
```bash
|
12
|
-
|
13
|
-
```
|
14
|
-
|
15
|
-
Or
|
16
|
-
|
17
|
-
```bash
|
18
|
-
yarn add learn-card-types
|
12
|
+
pnpm install @learncard/types
|
19
13
|
```
|
20
14
|
|
21
15
|
## Usage
|
22
16
|
|
23
17
|
```js
|
24
|
-
import {
|
18
|
+
import { VC } from "@learncard/types";
|
25
19
|
```
|
26
20
|
|
27
21
|
## License
|
package/dist/index.d.ts
ADDED
@@ -0,0 +1,611 @@
|
|
1
|
+
import { z } from 'zod';
|
2
|
+
export declare const VerificationStatusValidator: z.ZodEnum<["Success", "Failed", "Error"]>;
|
3
|
+
export declare type VerificationStatus = z.infer<typeof VerificationStatusValidator>;
|
4
|
+
export declare const VerificationStatusEnum: {
|
5
|
+
Failed: "Failed";
|
6
|
+
Success: "Success";
|
7
|
+
Error: "Error";
|
8
|
+
};
|
9
|
+
export declare const VerificationItemValidator: z.ZodObject<{
|
10
|
+
check: z.ZodString;
|
11
|
+
status: z.ZodEnum<["Success", "Failed", "Error"]>;
|
12
|
+
message: z.ZodOptional<z.ZodString>;
|
13
|
+
details: z.ZodOptional<z.ZodString>;
|
14
|
+
}, "strip", z.ZodTypeAny, {
|
15
|
+
message?: string | undefined;
|
16
|
+
details?: string | undefined;
|
17
|
+
status: "Failed" | "Success" | "Error";
|
18
|
+
check: string;
|
19
|
+
}, {
|
20
|
+
message?: string | undefined;
|
21
|
+
details?: string | undefined;
|
22
|
+
status: "Failed" | "Success" | "Error";
|
23
|
+
check: string;
|
24
|
+
}>;
|
25
|
+
export declare type VerificationItem = z.infer<typeof VerificationItemValidator>;
|
26
|
+
export declare const CredentialInfoValidator: z.ZodObject<{
|
27
|
+
title: z.ZodOptional<z.ZodString>;
|
28
|
+
createdAt: z.ZodOptional<z.ZodString>;
|
29
|
+
issuer: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodObject<{
|
30
|
+
id: z.ZodOptional<z.ZodString>;
|
31
|
+
type: z.ZodArray<z.ZodString, "atleastone">;
|
32
|
+
name: z.ZodOptional<z.ZodString>;
|
33
|
+
url: z.ZodOptional<z.ZodString>;
|
34
|
+
phone: z.ZodOptional<z.ZodString>;
|
35
|
+
description: z.ZodOptional<z.ZodString>;
|
36
|
+
endorsement: z.ZodOptional<z.ZodArray<z.ZodAny, "many">>;
|
37
|
+
image: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodObject<{
|
38
|
+
id: z.ZodString;
|
39
|
+
type: z.ZodString;
|
40
|
+
caption: z.ZodOptional<z.ZodString>;
|
41
|
+
}, "strip", z.ZodTypeAny, {
|
42
|
+
caption?: string | undefined;
|
43
|
+
type: string;
|
44
|
+
id: string;
|
45
|
+
}, {
|
46
|
+
caption?: string | undefined;
|
47
|
+
type: string;
|
48
|
+
id: string;
|
49
|
+
}>]>>;
|
50
|
+
email: z.ZodOptional<z.ZodString>;
|
51
|
+
address: z.ZodOptional<z.ZodObject<{
|
52
|
+
type: z.ZodArray<z.ZodString, "atleastone">;
|
53
|
+
addressCountry: z.ZodOptional<z.ZodString>;
|
54
|
+
addressCountryCode: z.ZodOptional<z.ZodString>;
|
55
|
+
addressRegion: z.ZodOptional<z.ZodString>;
|
56
|
+
addressLocality: z.ZodOptional<z.ZodString>;
|
57
|
+
streetAddress: z.ZodOptional<z.ZodString>;
|
58
|
+
postOfficeBoxNumber: z.ZodOptional<z.ZodString>;
|
59
|
+
postalCode: z.ZodOptional<z.ZodString>;
|
60
|
+
geo: z.ZodOptional<z.ZodObject<{
|
61
|
+
type: z.ZodArray<z.ZodString, "atleastone">;
|
62
|
+
latitude: z.ZodNumber;
|
63
|
+
longitude: z.ZodNumber;
|
64
|
+
}, "strip", z.ZodTypeAny, {
|
65
|
+
type: [string, ...string[]];
|
66
|
+
latitude: number;
|
67
|
+
longitude: number;
|
68
|
+
}, {
|
69
|
+
type: [string, ...string[]];
|
70
|
+
latitude: number;
|
71
|
+
longitude: number;
|
72
|
+
}>>;
|
73
|
+
}, "strip", z.ZodTypeAny, {
|
74
|
+
addressCountry?: string | undefined;
|
75
|
+
addressCountryCode?: string | undefined;
|
76
|
+
addressRegion?: string | undefined;
|
77
|
+
addressLocality?: string | undefined;
|
78
|
+
streetAddress?: string | undefined;
|
79
|
+
postOfficeBoxNumber?: string | undefined;
|
80
|
+
postalCode?: string | undefined;
|
81
|
+
geo?: {
|
82
|
+
type: [string, ...string[]];
|
83
|
+
latitude: number;
|
84
|
+
longitude: number;
|
85
|
+
} | undefined;
|
86
|
+
type: [string, ...string[]];
|
87
|
+
}, {
|
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
|
+
otherIdentifier: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
103
|
+
type: z.ZodArray<z.ZodString, "atleastone">;
|
104
|
+
identifier: z.ZodString;
|
105
|
+
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]>;
|
106
|
+
}, "strip", z.ZodTypeAny, {
|
107
|
+
type: [string, ...string[]];
|
108
|
+
identifier: string;
|
109
|
+
identifierType: string;
|
110
|
+
}, {
|
111
|
+
type: [string, ...string[]];
|
112
|
+
identifier: string;
|
113
|
+
identifierType: string;
|
114
|
+
}>, "many">>;
|
115
|
+
official: z.ZodOptional<z.ZodString>;
|
116
|
+
parentOrg: z.ZodOptional<z.ZodAny>;
|
117
|
+
familyName: z.ZodOptional<z.ZodString>;
|
118
|
+
givenName: z.ZodOptional<z.ZodString>;
|
119
|
+
additionalName: z.ZodOptional<z.ZodString>;
|
120
|
+
patronymicName: z.ZodOptional<z.ZodString>;
|
121
|
+
honorificPrefix: z.ZodOptional<z.ZodString>;
|
122
|
+
honorificSuffix: z.ZodOptional<z.ZodString>;
|
123
|
+
familyNamePrefix: z.ZodOptional<z.ZodString>;
|
124
|
+
dateOfBirth: z.ZodOptional<z.ZodString>;
|
125
|
+
}, "strip", z.ZodAny, {
|
126
|
+
[x: string]: any;
|
127
|
+
id?: string | undefined;
|
128
|
+
name?: string | undefined;
|
129
|
+
url?: string | undefined;
|
130
|
+
phone?: string | undefined;
|
131
|
+
description?: string | undefined;
|
132
|
+
endorsement?: any[] | undefined;
|
133
|
+
image?: string | {
|
134
|
+
caption?: string | undefined;
|
135
|
+
type: string;
|
136
|
+
id: string;
|
137
|
+
} | undefined;
|
138
|
+
email?: string | undefined;
|
139
|
+
address?: {
|
140
|
+
addressCountry?: string | undefined;
|
141
|
+
addressCountryCode?: string | undefined;
|
142
|
+
addressRegion?: string | undefined;
|
143
|
+
addressLocality?: string | undefined;
|
144
|
+
streetAddress?: string | undefined;
|
145
|
+
postOfficeBoxNumber?: string | undefined;
|
146
|
+
postalCode?: string | undefined;
|
147
|
+
geo?: {
|
148
|
+
type: [string, ...string[]];
|
149
|
+
latitude: number;
|
150
|
+
longitude: number;
|
151
|
+
} | undefined;
|
152
|
+
type: [string, ...string[]];
|
153
|
+
} | undefined;
|
154
|
+
otherIdentifier?: {
|
155
|
+
type: [string, ...string[]];
|
156
|
+
identifier: string;
|
157
|
+
identifierType: string;
|
158
|
+
}[] | undefined;
|
159
|
+
official?: string | undefined;
|
160
|
+
parentOrg?: any;
|
161
|
+
familyName?: string | undefined;
|
162
|
+
givenName?: string | undefined;
|
163
|
+
additionalName?: string | undefined;
|
164
|
+
patronymicName?: string | undefined;
|
165
|
+
honorificPrefix?: string | undefined;
|
166
|
+
honorificSuffix?: string | undefined;
|
167
|
+
familyNamePrefix?: string | undefined;
|
168
|
+
dateOfBirth?: string | undefined;
|
169
|
+
type: [string, ...string[]];
|
170
|
+
}, {
|
171
|
+
[x: string]: any;
|
172
|
+
id?: string | undefined;
|
173
|
+
name?: string | undefined;
|
174
|
+
url?: string | undefined;
|
175
|
+
phone?: string | undefined;
|
176
|
+
description?: string | undefined;
|
177
|
+
endorsement?: any[] | undefined;
|
178
|
+
image?: string | {
|
179
|
+
caption?: string | undefined;
|
180
|
+
type: string;
|
181
|
+
id: string;
|
182
|
+
} | undefined;
|
183
|
+
email?: string | undefined;
|
184
|
+
address?: {
|
185
|
+
addressCountry?: string | undefined;
|
186
|
+
addressCountryCode?: string | undefined;
|
187
|
+
addressRegion?: string | undefined;
|
188
|
+
addressLocality?: string | undefined;
|
189
|
+
streetAddress?: string | undefined;
|
190
|
+
postOfficeBoxNumber?: string | undefined;
|
191
|
+
postalCode?: string | undefined;
|
192
|
+
geo?: {
|
193
|
+
type: [string, ...string[]];
|
194
|
+
latitude: number;
|
195
|
+
longitude: number;
|
196
|
+
} | undefined;
|
197
|
+
type: [string, ...string[]];
|
198
|
+
} | undefined;
|
199
|
+
otherIdentifier?: {
|
200
|
+
type: [string, ...string[]];
|
201
|
+
identifier: string;
|
202
|
+
identifierType: string;
|
203
|
+
}[] | undefined;
|
204
|
+
official?: string | undefined;
|
205
|
+
parentOrg?: any;
|
206
|
+
familyName?: string | undefined;
|
207
|
+
givenName?: string | undefined;
|
208
|
+
additionalName?: string | undefined;
|
209
|
+
patronymicName?: string | undefined;
|
210
|
+
honorificPrefix?: string | undefined;
|
211
|
+
honorificSuffix?: string | undefined;
|
212
|
+
familyNamePrefix?: string | undefined;
|
213
|
+
dateOfBirth?: string | undefined;
|
214
|
+
type: [string, ...string[]];
|
215
|
+
}>]>>;
|
216
|
+
issuee: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodObject<{
|
217
|
+
id: z.ZodOptional<z.ZodString>;
|
218
|
+
type: z.ZodArray<z.ZodString, "atleastone">;
|
219
|
+
name: z.ZodOptional<z.ZodString>;
|
220
|
+
url: z.ZodOptional<z.ZodString>;
|
221
|
+
phone: z.ZodOptional<z.ZodString>;
|
222
|
+
description: z.ZodOptional<z.ZodString>;
|
223
|
+
endorsement: z.ZodOptional<z.ZodArray<z.ZodAny, "many">>;
|
224
|
+
image: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodObject<{
|
225
|
+
id: z.ZodString;
|
226
|
+
type: z.ZodString;
|
227
|
+
caption: z.ZodOptional<z.ZodString>;
|
228
|
+
}, "strip", z.ZodTypeAny, {
|
229
|
+
caption?: string | undefined;
|
230
|
+
type: string;
|
231
|
+
id: string;
|
232
|
+
}, {
|
233
|
+
caption?: string | undefined;
|
234
|
+
type: string;
|
235
|
+
id: string;
|
236
|
+
}>]>>;
|
237
|
+
email: z.ZodOptional<z.ZodString>;
|
238
|
+
address: z.ZodOptional<z.ZodObject<{
|
239
|
+
type: z.ZodArray<z.ZodString, "atleastone">;
|
240
|
+
addressCountry: z.ZodOptional<z.ZodString>;
|
241
|
+
addressCountryCode: z.ZodOptional<z.ZodString>;
|
242
|
+
addressRegion: z.ZodOptional<z.ZodString>;
|
243
|
+
addressLocality: z.ZodOptional<z.ZodString>;
|
244
|
+
streetAddress: z.ZodOptional<z.ZodString>;
|
245
|
+
postOfficeBoxNumber: z.ZodOptional<z.ZodString>;
|
246
|
+
postalCode: z.ZodOptional<z.ZodString>;
|
247
|
+
geo: z.ZodOptional<z.ZodObject<{
|
248
|
+
type: z.ZodArray<z.ZodString, "atleastone">;
|
249
|
+
latitude: z.ZodNumber;
|
250
|
+
longitude: z.ZodNumber;
|
251
|
+
}, "strip", z.ZodTypeAny, {
|
252
|
+
type: [string, ...string[]];
|
253
|
+
latitude: number;
|
254
|
+
longitude: number;
|
255
|
+
}, {
|
256
|
+
type: [string, ...string[]];
|
257
|
+
latitude: number;
|
258
|
+
longitude: number;
|
259
|
+
}>>;
|
260
|
+
}, "strip", z.ZodTypeAny, {
|
261
|
+
addressCountry?: string | undefined;
|
262
|
+
addressCountryCode?: string | undefined;
|
263
|
+
addressRegion?: string | undefined;
|
264
|
+
addressLocality?: string | undefined;
|
265
|
+
streetAddress?: string | undefined;
|
266
|
+
postOfficeBoxNumber?: string | undefined;
|
267
|
+
postalCode?: string | undefined;
|
268
|
+
geo?: {
|
269
|
+
type: [string, ...string[]];
|
270
|
+
latitude: number;
|
271
|
+
longitude: number;
|
272
|
+
} | undefined;
|
273
|
+
type: [string, ...string[]];
|
274
|
+
}, {
|
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
|
+
otherIdentifier: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
290
|
+
type: z.ZodArray<z.ZodString, "atleastone">;
|
291
|
+
identifier: z.ZodString;
|
292
|
+
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]>;
|
293
|
+
}, "strip", z.ZodTypeAny, {
|
294
|
+
type: [string, ...string[]];
|
295
|
+
identifier: string;
|
296
|
+
identifierType: string;
|
297
|
+
}, {
|
298
|
+
type: [string, ...string[]];
|
299
|
+
identifier: string;
|
300
|
+
identifierType: string;
|
301
|
+
}>, "many">>;
|
302
|
+
official: z.ZodOptional<z.ZodString>;
|
303
|
+
parentOrg: z.ZodOptional<z.ZodAny>;
|
304
|
+
familyName: z.ZodOptional<z.ZodString>;
|
305
|
+
givenName: z.ZodOptional<z.ZodString>;
|
306
|
+
additionalName: z.ZodOptional<z.ZodString>;
|
307
|
+
patronymicName: z.ZodOptional<z.ZodString>;
|
308
|
+
honorificPrefix: z.ZodOptional<z.ZodString>;
|
309
|
+
honorificSuffix: z.ZodOptional<z.ZodString>;
|
310
|
+
familyNamePrefix: z.ZodOptional<z.ZodString>;
|
311
|
+
dateOfBirth: z.ZodOptional<z.ZodString>;
|
312
|
+
}, "strip", z.ZodAny, {
|
313
|
+
[x: string]: any;
|
314
|
+
id?: string | undefined;
|
315
|
+
name?: string | undefined;
|
316
|
+
url?: string | undefined;
|
317
|
+
phone?: string | undefined;
|
318
|
+
description?: string | undefined;
|
319
|
+
endorsement?: any[] | undefined;
|
320
|
+
image?: string | {
|
321
|
+
caption?: string | undefined;
|
322
|
+
type: string;
|
323
|
+
id: string;
|
324
|
+
} | undefined;
|
325
|
+
email?: string | undefined;
|
326
|
+
address?: {
|
327
|
+
addressCountry?: string | undefined;
|
328
|
+
addressCountryCode?: string | undefined;
|
329
|
+
addressRegion?: string | undefined;
|
330
|
+
addressLocality?: string | undefined;
|
331
|
+
streetAddress?: string | undefined;
|
332
|
+
postOfficeBoxNumber?: string | undefined;
|
333
|
+
postalCode?: string | undefined;
|
334
|
+
geo?: {
|
335
|
+
type: [string, ...string[]];
|
336
|
+
latitude: number;
|
337
|
+
longitude: number;
|
338
|
+
} | undefined;
|
339
|
+
type: [string, ...string[]];
|
340
|
+
} | undefined;
|
341
|
+
otherIdentifier?: {
|
342
|
+
type: [string, ...string[]];
|
343
|
+
identifier: string;
|
344
|
+
identifierType: string;
|
345
|
+
}[] | undefined;
|
346
|
+
official?: string | undefined;
|
347
|
+
parentOrg?: any;
|
348
|
+
familyName?: string | undefined;
|
349
|
+
givenName?: string | undefined;
|
350
|
+
additionalName?: string | undefined;
|
351
|
+
patronymicName?: string | undefined;
|
352
|
+
honorificPrefix?: string | undefined;
|
353
|
+
honorificSuffix?: string | undefined;
|
354
|
+
familyNamePrefix?: string | undefined;
|
355
|
+
dateOfBirth?: string | undefined;
|
356
|
+
type: [string, ...string[]];
|
357
|
+
}, {
|
358
|
+
[x: string]: any;
|
359
|
+
id?: string | undefined;
|
360
|
+
name?: string | undefined;
|
361
|
+
url?: string | undefined;
|
362
|
+
phone?: string | undefined;
|
363
|
+
description?: string | undefined;
|
364
|
+
endorsement?: any[] | undefined;
|
365
|
+
image?: string | {
|
366
|
+
caption?: string | undefined;
|
367
|
+
type: string;
|
368
|
+
id: string;
|
369
|
+
} | undefined;
|
370
|
+
email?: string | undefined;
|
371
|
+
address?: {
|
372
|
+
addressCountry?: string | undefined;
|
373
|
+
addressCountryCode?: string | undefined;
|
374
|
+
addressRegion?: string | undefined;
|
375
|
+
addressLocality?: string | undefined;
|
376
|
+
streetAddress?: string | undefined;
|
377
|
+
postOfficeBoxNumber?: string | undefined;
|
378
|
+
postalCode?: string | undefined;
|
379
|
+
geo?: {
|
380
|
+
type: [string, ...string[]];
|
381
|
+
latitude: number;
|
382
|
+
longitude: number;
|
383
|
+
} | undefined;
|
384
|
+
type: [string, ...string[]];
|
385
|
+
} | undefined;
|
386
|
+
otherIdentifier?: {
|
387
|
+
type: [string, ...string[]];
|
388
|
+
identifier: string;
|
389
|
+
identifierType: string;
|
390
|
+
}[] | undefined;
|
391
|
+
official?: string | undefined;
|
392
|
+
parentOrg?: any;
|
393
|
+
familyName?: string | undefined;
|
394
|
+
givenName?: string | undefined;
|
395
|
+
additionalName?: string | undefined;
|
396
|
+
patronymicName?: string | undefined;
|
397
|
+
honorificPrefix?: string | undefined;
|
398
|
+
honorificSuffix?: string | undefined;
|
399
|
+
familyNamePrefix?: string | undefined;
|
400
|
+
dateOfBirth?: string | undefined;
|
401
|
+
type: [string, ...string[]];
|
402
|
+
}>]>>;
|
403
|
+
credentialSubject: z.ZodOptional<z.ZodObject<{
|
404
|
+
id: z.ZodOptional<z.ZodString>;
|
405
|
+
}, "strip", z.ZodAny, {
|
406
|
+
[x: string]: any;
|
407
|
+
id?: string | undefined;
|
408
|
+
}, {
|
409
|
+
[x: string]: any;
|
410
|
+
id?: string | undefined;
|
411
|
+
}>>;
|
412
|
+
}, "strip", z.ZodTypeAny, {
|
413
|
+
issuer?: string | {
|
414
|
+
[x: string]: any;
|
415
|
+
id?: string | undefined;
|
416
|
+
name?: string | undefined;
|
417
|
+
url?: string | undefined;
|
418
|
+
phone?: string | undefined;
|
419
|
+
description?: string | undefined;
|
420
|
+
endorsement?: any[] | undefined;
|
421
|
+
image?: string | {
|
422
|
+
caption?: string | undefined;
|
423
|
+
type: string;
|
424
|
+
id: string;
|
425
|
+
} | undefined;
|
426
|
+
email?: string | undefined;
|
427
|
+
address?: {
|
428
|
+
addressCountry?: string | undefined;
|
429
|
+
addressCountryCode?: string | undefined;
|
430
|
+
addressRegion?: string | undefined;
|
431
|
+
addressLocality?: string | undefined;
|
432
|
+
streetAddress?: string | undefined;
|
433
|
+
postOfficeBoxNumber?: string | undefined;
|
434
|
+
postalCode?: string | undefined;
|
435
|
+
geo?: {
|
436
|
+
type: [string, ...string[]];
|
437
|
+
latitude: number;
|
438
|
+
longitude: number;
|
439
|
+
} | undefined;
|
440
|
+
type: [string, ...string[]];
|
441
|
+
} | undefined;
|
442
|
+
otherIdentifier?: {
|
443
|
+
type: [string, ...string[]];
|
444
|
+
identifier: string;
|
445
|
+
identifierType: string;
|
446
|
+
}[] | undefined;
|
447
|
+
official?: string | undefined;
|
448
|
+
parentOrg?: any;
|
449
|
+
familyName?: string | undefined;
|
450
|
+
givenName?: string | undefined;
|
451
|
+
additionalName?: string | undefined;
|
452
|
+
patronymicName?: string | undefined;
|
453
|
+
honorificPrefix?: string | undefined;
|
454
|
+
honorificSuffix?: string | undefined;
|
455
|
+
familyNamePrefix?: string | undefined;
|
456
|
+
dateOfBirth?: string | undefined;
|
457
|
+
type: [string, ...string[]];
|
458
|
+
} | undefined;
|
459
|
+
credentialSubject?: {
|
460
|
+
[x: string]: any;
|
461
|
+
id?: string | undefined;
|
462
|
+
} | undefined;
|
463
|
+
title?: string | undefined;
|
464
|
+
createdAt?: string | undefined;
|
465
|
+
issuee?: string | {
|
466
|
+
[x: string]: any;
|
467
|
+
id?: string | undefined;
|
468
|
+
name?: string | undefined;
|
469
|
+
url?: string | undefined;
|
470
|
+
phone?: string | undefined;
|
471
|
+
description?: string | undefined;
|
472
|
+
endorsement?: any[] | undefined;
|
473
|
+
image?: string | {
|
474
|
+
caption?: string | undefined;
|
475
|
+
type: string;
|
476
|
+
id: string;
|
477
|
+
} | undefined;
|
478
|
+
email?: string | undefined;
|
479
|
+
address?: {
|
480
|
+
addressCountry?: string | undefined;
|
481
|
+
addressCountryCode?: string | undefined;
|
482
|
+
addressRegion?: string | undefined;
|
483
|
+
addressLocality?: string | undefined;
|
484
|
+
streetAddress?: string | undefined;
|
485
|
+
postOfficeBoxNumber?: string | undefined;
|
486
|
+
postalCode?: string | undefined;
|
487
|
+
geo?: {
|
488
|
+
type: [string, ...string[]];
|
489
|
+
latitude: number;
|
490
|
+
longitude: number;
|
491
|
+
} | undefined;
|
492
|
+
type: [string, ...string[]];
|
493
|
+
} | undefined;
|
494
|
+
otherIdentifier?: {
|
495
|
+
type: [string, ...string[]];
|
496
|
+
identifier: string;
|
497
|
+
identifierType: string;
|
498
|
+
}[] | undefined;
|
499
|
+
official?: string | undefined;
|
500
|
+
parentOrg?: any;
|
501
|
+
familyName?: string | undefined;
|
502
|
+
givenName?: string | undefined;
|
503
|
+
additionalName?: string | undefined;
|
504
|
+
patronymicName?: string | undefined;
|
505
|
+
honorificPrefix?: string | undefined;
|
506
|
+
honorificSuffix?: string | undefined;
|
507
|
+
familyNamePrefix?: string | undefined;
|
508
|
+
dateOfBirth?: string | undefined;
|
509
|
+
type: [string, ...string[]];
|
510
|
+
} | undefined;
|
511
|
+
}, {
|
512
|
+
issuer?: string | {
|
513
|
+
[x: string]: any;
|
514
|
+
id?: string | undefined;
|
515
|
+
name?: string | undefined;
|
516
|
+
url?: string | undefined;
|
517
|
+
phone?: string | undefined;
|
518
|
+
description?: string | undefined;
|
519
|
+
endorsement?: any[] | undefined;
|
520
|
+
image?: string | {
|
521
|
+
caption?: string | undefined;
|
522
|
+
type: string;
|
523
|
+
id: string;
|
524
|
+
} | undefined;
|
525
|
+
email?: string | undefined;
|
526
|
+
address?: {
|
527
|
+
addressCountry?: string | undefined;
|
528
|
+
addressCountryCode?: string | undefined;
|
529
|
+
addressRegion?: string | undefined;
|
530
|
+
addressLocality?: string | undefined;
|
531
|
+
streetAddress?: string | undefined;
|
532
|
+
postOfficeBoxNumber?: string | undefined;
|
533
|
+
postalCode?: string | undefined;
|
534
|
+
geo?: {
|
535
|
+
type: [string, ...string[]];
|
536
|
+
latitude: number;
|
537
|
+
longitude: number;
|
538
|
+
} | undefined;
|
539
|
+
type: [string, ...string[]];
|
540
|
+
} | undefined;
|
541
|
+
otherIdentifier?: {
|
542
|
+
type: [string, ...string[]];
|
543
|
+
identifier: string;
|
544
|
+
identifierType: string;
|
545
|
+
}[] | undefined;
|
546
|
+
official?: string | undefined;
|
547
|
+
parentOrg?: any;
|
548
|
+
familyName?: string | undefined;
|
549
|
+
givenName?: string | undefined;
|
550
|
+
additionalName?: string | undefined;
|
551
|
+
patronymicName?: string | undefined;
|
552
|
+
honorificPrefix?: string | undefined;
|
553
|
+
honorificSuffix?: string | undefined;
|
554
|
+
familyNamePrefix?: string | undefined;
|
555
|
+
dateOfBirth?: string | undefined;
|
556
|
+
type: [string, ...string[]];
|
557
|
+
} | undefined;
|
558
|
+
credentialSubject?: {
|
559
|
+
[x: string]: any;
|
560
|
+
id?: string | undefined;
|
561
|
+
} | undefined;
|
562
|
+
title?: string | undefined;
|
563
|
+
createdAt?: string | undefined;
|
564
|
+
issuee?: string | {
|
565
|
+
[x: string]: any;
|
566
|
+
id?: string | undefined;
|
567
|
+
name?: string | undefined;
|
568
|
+
url?: string | undefined;
|
569
|
+
phone?: string | undefined;
|
570
|
+
description?: string | undefined;
|
571
|
+
endorsement?: any[] | undefined;
|
572
|
+
image?: string | {
|
573
|
+
caption?: string | undefined;
|
574
|
+
type: string;
|
575
|
+
id: string;
|
576
|
+
} | undefined;
|
577
|
+
email?: string | undefined;
|
578
|
+
address?: {
|
579
|
+
addressCountry?: string | undefined;
|
580
|
+
addressCountryCode?: string | undefined;
|
581
|
+
addressRegion?: string | undefined;
|
582
|
+
addressLocality?: string | undefined;
|
583
|
+
streetAddress?: string | undefined;
|
584
|
+
postOfficeBoxNumber?: string | undefined;
|
585
|
+
postalCode?: string | undefined;
|
586
|
+
geo?: {
|
587
|
+
type: [string, ...string[]];
|
588
|
+
latitude: number;
|
589
|
+
longitude: number;
|
590
|
+
} | undefined;
|
591
|
+
type: [string, ...string[]];
|
592
|
+
} | undefined;
|
593
|
+
otherIdentifier?: {
|
594
|
+
type: [string, ...string[]];
|
595
|
+
identifier: string;
|
596
|
+
identifierType: string;
|
597
|
+
}[] | undefined;
|
598
|
+
official?: string | undefined;
|
599
|
+
parentOrg?: any;
|
600
|
+
familyName?: string | undefined;
|
601
|
+
givenName?: string | undefined;
|
602
|
+
additionalName?: string | undefined;
|
603
|
+
patronymicName?: string | undefined;
|
604
|
+
honorificPrefix?: string | undefined;
|
605
|
+
honorificSuffix?: string | undefined;
|
606
|
+
familyNamePrefix?: string | undefined;
|
607
|
+
dateOfBirth?: string | undefined;
|
608
|
+
type: [string, ...string[]];
|
609
|
+
} | undefined;
|
610
|
+
}>;
|
611
|
+
export declare type CredentialInfo = z.infer<typeof CredentialInfoValidator>;
|