@learncard/types 5.6.13 → 5.7.0
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/crypto.d.ts +43 -43
- package/dist/did.d.ts +1823 -549
- package/dist/did.d.ts.map +1 -1
- package/dist/index.d.ts +1 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/lcn.d.ts +803 -805
- package/dist/lcn.d.ts.map +1 -1
- package/dist/learncard.d.ts +714 -312
- package/dist/learncard.d.ts.map +1 -1
- package/dist/learncloud.d.ts +2045 -491
- package/dist/learncloud.d.ts.map +1 -1
- package/dist/mongo.d.ts +4 -4
- package/dist/obv3.d.ts +40092 -10214
- package/dist/obv3.d.ts.map +1 -1
- package/dist/types.cjs.development.js +1411 -666
- package/dist/types.cjs.development.js.map +4 -4
- package/dist/types.cjs.production.min.js +1 -1
- package/dist/types.cjs.production.min.js.map +4 -4
- package/dist/types.esm.js +19 -16
- package/dist/types.esm.js.map +3 -3
- package/dist/vc.d.ts +19387 -4311
- package/dist/vc.d.ts.map +1 -1
- package/package.json +1 -1
package/dist/learncard.d.ts
CHANGED
@@ -22,15 +22,15 @@ export declare const VerificationItemValidator: z.ZodObject<{
|
|
22
22
|
message: z.ZodOptional<z.ZodString>;
|
23
23
|
details: z.ZodOptional<z.ZodString>;
|
24
24
|
}, "strip", z.ZodTypeAny, {
|
25
|
-
message?: string | undefined;
|
26
|
-
details?: string | undefined;
|
27
25
|
status: "Failed" | "Success" | "Error";
|
28
26
|
check: string;
|
29
|
-
}, {
|
30
27
|
message?: string | undefined;
|
31
28
|
details?: string | undefined;
|
29
|
+
}, {
|
32
30
|
status: "Failed" | "Success" | "Error";
|
33
31
|
check: string;
|
32
|
+
message?: string | undefined;
|
33
|
+
details?: string | undefined;
|
34
34
|
}>;
|
35
35
|
export type VerificationItem = z.infer<typeof VerificationItemValidator>;
|
36
36
|
export declare const CredentialInfoValidator: z.ZodObject<{
|
@@ -49,13 +49,13 @@ export declare const CredentialInfoValidator: z.ZodObject<{
|
|
49
49
|
type: z.ZodString;
|
50
50
|
caption: z.ZodOptional<z.ZodString>;
|
51
51
|
}, "strip", z.ZodTypeAny, {
|
52
|
-
caption?: string | undefined;
|
53
52
|
type: string;
|
54
53
|
id: string;
|
55
|
-
}, {
|
56
54
|
caption?: string | undefined;
|
55
|
+
}, {
|
57
56
|
type: string;
|
58
57
|
id: string;
|
58
|
+
caption?: string | undefined;
|
59
59
|
}>]>>;
|
60
60
|
email: z.ZodOptional<z.ZodString>;
|
61
61
|
address: z.ZodOptional<z.ZodObject<{
|
@@ -81,6 +81,7 @@ export declare const CredentialInfoValidator: z.ZodObject<{
|
|
81
81
|
longitude: number;
|
82
82
|
}>>;
|
83
83
|
}, "strip", z.ZodTypeAny, {
|
84
|
+
type: string | [string, ...string[]];
|
84
85
|
addressCountry?: string | undefined;
|
85
86
|
addressCountryCode?: string | undefined;
|
86
87
|
addressRegion?: string | undefined;
|
@@ -93,8 +94,8 @@ export declare const CredentialInfoValidator: z.ZodObject<{
|
|
93
94
|
latitude: number;
|
94
95
|
longitude: number;
|
95
96
|
} | undefined;
|
96
|
-
type: string | [string, ...string[]];
|
97
97
|
}, {
|
98
|
+
type: string | [string, ...string[]];
|
98
99
|
addressCountry?: string | undefined;
|
99
100
|
addressCountryCode?: string | undefined;
|
100
101
|
addressRegion?: string | undefined;
|
@@ -107,7 +108,6 @@ export declare const CredentialInfoValidator: z.ZodObject<{
|
|
107
108
|
latitude: number;
|
108
109
|
longitude: number;
|
109
110
|
} | undefined;
|
110
|
-
type: string | [string, ...string[]];
|
111
111
|
}>>;
|
112
112
|
otherIdentifier: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
113
113
|
type: z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "atleastone">]>;
|
@@ -132,22 +132,52 @@ export declare const CredentialInfoValidator: z.ZodObject<{
|
|
132
132
|
honorificSuffix: z.ZodOptional<z.ZodString>;
|
133
133
|
familyNamePrefix: z.ZodOptional<z.ZodString>;
|
134
134
|
dateOfBirth: z.ZodOptional<z.ZodString>;
|
135
|
-
}, "strip", z.ZodAny, {
|
136
|
-
|
137
|
-
type
|
138
|
-
|
139
|
-
|
140
|
-
|
141
|
-
|
142
|
-
|
143
|
-
|
144
|
-
|
135
|
+
}, "strip", z.ZodAny, z.objectOutputType<{
|
136
|
+
id: z.ZodOptional<z.ZodString>;
|
137
|
+
type: z.ZodUnion<[z.ZodString, z.ZodOptional<z.ZodArray<z.ZodString, "atleastone">>]>;
|
138
|
+
name: z.ZodOptional<z.ZodString>;
|
139
|
+
url: z.ZodOptional<z.ZodString>;
|
140
|
+
phone: z.ZodOptional<z.ZodString>;
|
141
|
+
description: z.ZodOptional<z.ZodString>;
|
142
|
+
endorsement: z.ZodOptional<z.ZodArray<z.ZodAny, "many">>;
|
143
|
+
image: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodObject<{
|
144
|
+
id: z.ZodString;
|
145
|
+
type: z.ZodString;
|
146
|
+
caption: z.ZodOptional<z.ZodString>;
|
147
|
+
}, "strip", z.ZodTypeAny, {
|
148
|
+
type: string;
|
149
|
+
id: string;
|
145
150
|
caption?: string | undefined;
|
151
|
+
}, {
|
146
152
|
type: string;
|
147
153
|
id: string;
|
148
|
-
|
149
|
-
|
150
|
-
|
154
|
+
caption?: string | undefined;
|
155
|
+
}>]>>;
|
156
|
+
email: z.ZodOptional<z.ZodString>;
|
157
|
+
address: z.ZodOptional<z.ZodObject<{
|
158
|
+
type: z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "atleastone">]>;
|
159
|
+
addressCountry: z.ZodOptional<z.ZodString>;
|
160
|
+
addressCountryCode: z.ZodOptional<z.ZodString>;
|
161
|
+
addressRegion: z.ZodOptional<z.ZodString>;
|
162
|
+
addressLocality: z.ZodOptional<z.ZodString>;
|
163
|
+
streetAddress: z.ZodOptional<z.ZodString>;
|
164
|
+
postOfficeBoxNumber: z.ZodOptional<z.ZodString>;
|
165
|
+
postalCode: z.ZodOptional<z.ZodString>;
|
166
|
+
geo: z.ZodOptional<z.ZodObject<{
|
167
|
+
type: z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "atleastone">]>;
|
168
|
+
latitude: z.ZodNumber;
|
169
|
+
longitude: z.ZodNumber;
|
170
|
+
}, "strip", z.ZodTypeAny, {
|
171
|
+
type: string | [string, ...string[]];
|
172
|
+
latitude: number;
|
173
|
+
longitude: number;
|
174
|
+
}, {
|
175
|
+
type: string | [string, ...string[]];
|
176
|
+
latitude: number;
|
177
|
+
longitude: number;
|
178
|
+
}>>;
|
179
|
+
}, "strip", z.ZodTypeAny, {
|
180
|
+
type: string | [string, ...string[]];
|
151
181
|
addressCountry?: string | undefined;
|
152
182
|
addressCountryCode?: string | undefined;
|
153
183
|
addressRegion?: string | undefined;
|
@@ -160,39 +190,8 @@ export declare const CredentialInfoValidator: z.ZodObject<{
|
|
160
190
|
latitude: number;
|
161
191
|
longitude: number;
|
162
192
|
} | undefined;
|
193
|
+
}, {
|
163
194
|
type: string | [string, ...string[]];
|
164
|
-
} | undefined;
|
165
|
-
otherIdentifier?: {
|
166
|
-
type: string | [string, ...string[]];
|
167
|
-
identifier: string;
|
168
|
-
identifierType: string;
|
169
|
-
}[] | undefined;
|
170
|
-
official?: string | undefined;
|
171
|
-
parentOrg?: any;
|
172
|
-
familyName?: string | undefined;
|
173
|
-
givenName?: string | undefined;
|
174
|
-
additionalName?: string | undefined;
|
175
|
-
patronymicName?: string | undefined;
|
176
|
-
honorificPrefix?: string | undefined;
|
177
|
-
honorificSuffix?: string | undefined;
|
178
|
-
familyNamePrefix?: string | undefined;
|
179
|
-
dateOfBirth?: string | undefined;
|
180
|
-
}, {
|
181
|
-
[x: string]: any;
|
182
|
-
type?: string | [string, ...string[]] | undefined;
|
183
|
-
id?: string | undefined;
|
184
|
-
name?: string | undefined;
|
185
|
-
url?: string | undefined;
|
186
|
-
phone?: string | undefined;
|
187
|
-
description?: string | undefined;
|
188
|
-
endorsement?: any[] | undefined;
|
189
|
-
image?: string | {
|
190
|
-
caption?: string | undefined;
|
191
|
-
type: string;
|
192
|
-
id: string;
|
193
|
-
} | undefined;
|
194
|
-
email?: string | undefined;
|
195
|
-
address?: {
|
196
195
|
addressCountry?: string | undefined;
|
197
196
|
addressCountryCode?: string | undefined;
|
198
197
|
addressRegion?: string | undefined;
|
@@ -205,25 +204,31 @@ export declare const CredentialInfoValidator: z.ZodObject<{
|
|
205
204
|
latitude: number;
|
206
205
|
longitude: number;
|
207
206
|
} | undefined;
|
207
|
+
}>>;
|
208
|
+
otherIdentifier: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
209
|
+
type: z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "atleastone">]>;
|
210
|
+
identifier: z.ZodString;
|
211
|
+
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]>;
|
212
|
+
}, "strip", z.ZodTypeAny, {
|
208
213
|
type: string | [string, ...string[]];
|
209
|
-
|
210
|
-
|
214
|
+
identifier: string;
|
215
|
+
identifierType: string;
|
216
|
+
}, {
|
211
217
|
type: string | [string, ...string[]];
|
212
218
|
identifier: string;
|
213
219
|
identifierType: string;
|
214
|
-
}
|
215
|
-
official
|
216
|
-
parentOrg
|
217
|
-
familyName
|
218
|
-
givenName
|
219
|
-
additionalName
|
220
|
-
patronymicName
|
221
|
-
honorificPrefix
|
222
|
-
honorificSuffix
|
223
|
-
familyNamePrefix
|
224
|
-
dateOfBirth
|
225
|
-
}
|
226
|
-
issuee: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodObject<{
|
220
|
+
}>, "many">>;
|
221
|
+
official: z.ZodOptional<z.ZodString>;
|
222
|
+
parentOrg: z.ZodOptional<z.ZodAny>;
|
223
|
+
familyName: z.ZodOptional<z.ZodString>;
|
224
|
+
givenName: z.ZodOptional<z.ZodString>;
|
225
|
+
additionalName: z.ZodOptional<z.ZodString>;
|
226
|
+
patronymicName: z.ZodOptional<z.ZodString>;
|
227
|
+
honorificPrefix: z.ZodOptional<z.ZodString>;
|
228
|
+
honorificSuffix: z.ZodOptional<z.ZodString>;
|
229
|
+
familyNamePrefix: z.ZodOptional<z.ZodString>;
|
230
|
+
dateOfBirth: z.ZodOptional<z.ZodString>;
|
231
|
+
}, z.ZodAny, "strip">, z.objectInputType<{
|
227
232
|
id: z.ZodOptional<z.ZodString>;
|
228
233
|
type: z.ZodUnion<[z.ZodString, z.ZodOptional<z.ZodArray<z.ZodString, "atleastone">>]>;
|
229
234
|
name: z.ZodOptional<z.ZodString>;
|
@@ -236,13 +241,13 @@ export declare const CredentialInfoValidator: z.ZodObject<{
|
|
236
241
|
type: z.ZodString;
|
237
242
|
caption: z.ZodOptional<z.ZodString>;
|
238
243
|
}, "strip", z.ZodTypeAny, {
|
239
|
-
caption?: string | undefined;
|
240
244
|
type: string;
|
241
245
|
id: string;
|
242
|
-
}, {
|
243
246
|
caption?: string | undefined;
|
247
|
+
}, {
|
244
248
|
type: string;
|
245
249
|
id: string;
|
250
|
+
caption?: string | undefined;
|
246
251
|
}>]>>;
|
247
252
|
email: z.ZodOptional<z.ZodString>;
|
248
253
|
address: z.ZodOptional<z.ZodObject<{
|
@@ -268,6 +273,7 @@ export declare const CredentialInfoValidator: z.ZodObject<{
|
|
268
273
|
longitude: number;
|
269
274
|
}>>;
|
270
275
|
}, "strip", z.ZodTypeAny, {
|
276
|
+
type: string | [string, ...string[]];
|
271
277
|
addressCountry?: string | undefined;
|
272
278
|
addressCountryCode?: string | undefined;
|
273
279
|
addressRegion?: string | undefined;
|
@@ -280,8 +286,8 @@ export declare const CredentialInfoValidator: z.ZodObject<{
|
|
280
286
|
latitude: number;
|
281
287
|
longitude: number;
|
282
288
|
} | undefined;
|
283
|
-
type: string | [string, ...string[]];
|
284
289
|
}, {
|
290
|
+
type: string | [string, ...string[]];
|
285
291
|
addressCountry?: string | undefined;
|
286
292
|
addressCountryCode?: string | undefined;
|
287
293
|
addressRegion?: string | undefined;
|
@@ -294,7 +300,6 @@ export declare const CredentialInfoValidator: z.ZodObject<{
|
|
294
300
|
latitude: number;
|
295
301
|
longitude: number;
|
296
302
|
} | undefined;
|
297
|
-
type: string | [string, ...string[]];
|
298
303
|
}>>;
|
299
304
|
otherIdentifier: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
300
305
|
type: z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "atleastone">]>;
|
@@ -319,67 +324,53 @@ export declare const CredentialInfoValidator: z.ZodObject<{
|
|
319
324
|
honorificSuffix: z.ZodOptional<z.ZodString>;
|
320
325
|
familyNamePrefix: z.ZodOptional<z.ZodString>;
|
321
326
|
dateOfBirth: z.ZodOptional<z.ZodString>;
|
322
|
-
},
|
323
|
-
|
324
|
-
|
325
|
-
|
326
|
-
name
|
327
|
-
url
|
328
|
-
phone
|
329
|
-
description
|
330
|
-
endorsement
|
331
|
-
image
|
327
|
+
}, z.ZodAny, "strip">>]>>;
|
328
|
+
issuee: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodObject<{
|
329
|
+
id: z.ZodOptional<z.ZodString>;
|
330
|
+
type: z.ZodUnion<[z.ZodString, z.ZodOptional<z.ZodArray<z.ZodString, "atleastone">>]>;
|
331
|
+
name: z.ZodOptional<z.ZodString>;
|
332
|
+
url: z.ZodOptional<z.ZodString>;
|
333
|
+
phone: z.ZodOptional<z.ZodString>;
|
334
|
+
description: z.ZodOptional<z.ZodString>;
|
335
|
+
endorsement: z.ZodOptional<z.ZodArray<z.ZodAny, "many">>;
|
336
|
+
image: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodObject<{
|
337
|
+
id: z.ZodString;
|
338
|
+
type: z.ZodString;
|
339
|
+
caption: z.ZodOptional<z.ZodString>;
|
340
|
+
}, "strip", z.ZodTypeAny, {
|
341
|
+
type: string;
|
342
|
+
id: string;
|
332
343
|
caption?: string | undefined;
|
344
|
+
}, {
|
333
345
|
type: string;
|
334
346
|
id: string;
|
335
|
-
|
336
|
-
|
337
|
-
|
338
|
-
|
339
|
-
|
340
|
-
|
341
|
-
|
342
|
-
|
343
|
-
|
344
|
-
|
345
|
-
|
347
|
+
caption?: string | undefined;
|
348
|
+
}>]>>;
|
349
|
+
email: z.ZodOptional<z.ZodString>;
|
350
|
+
address: z.ZodOptional<z.ZodObject<{
|
351
|
+
type: z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "atleastone">]>;
|
352
|
+
addressCountry: z.ZodOptional<z.ZodString>;
|
353
|
+
addressCountryCode: z.ZodOptional<z.ZodString>;
|
354
|
+
addressRegion: z.ZodOptional<z.ZodString>;
|
355
|
+
addressLocality: z.ZodOptional<z.ZodString>;
|
356
|
+
streetAddress: z.ZodOptional<z.ZodString>;
|
357
|
+
postOfficeBoxNumber: z.ZodOptional<z.ZodString>;
|
358
|
+
postalCode: z.ZodOptional<z.ZodString>;
|
359
|
+
geo: z.ZodOptional<z.ZodObject<{
|
360
|
+
type: z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "atleastone">]>;
|
361
|
+
latitude: z.ZodNumber;
|
362
|
+
longitude: z.ZodNumber;
|
363
|
+
}, "strip", z.ZodTypeAny, {
|
346
364
|
type: string | [string, ...string[]];
|
347
365
|
latitude: number;
|
348
366
|
longitude: number;
|
349
|
-
}
|
350
|
-
|
351
|
-
|
352
|
-
|
367
|
+
}, {
|
368
|
+
type: string | [string, ...string[]];
|
369
|
+
latitude: number;
|
370
|
+
longitude: number;
|
371
|
+
}>>;
|
372
|
+
}, "strip", z.ZodTypeAny, {
|
353
373
|
type: string | [string, ...string[]];
|
354
|
-
identifier: string;
|
355
|
-
identifierType: string;
|
356
|
-
}[] | undefined;
|
357
|
-
official?: string | undefined;
|
358
|
-
parentOrg?: any;
|
359
|
-
familyName?: string | undefined;
|
360
|
-
givenName?: string | undefined;
|
361
|
-
additionalName?: string | undefined;
|
362
|
-
patronymicName?: string | undefined;
|
363
|
-
honorificPrefix?: string | undefined;
|
364
|
-
honorificSuffix?: string | undefined;
|
365
|
-
familyNamePrefix?: string | undefined;
|
366
|
-
dateOfBirth?: string | undefined;
|
367
|
-
}, {
|
368
|
-
[x: string]: any;
|
369
|
-
type?: string | [string, ...string[]] | undefined;
|
370
|
-
id?: string | undefined;
|
371
|
-
name?: string | undefined;
|
372
|
-
url?: string | undefined;
|
373
|
-
phone?: string | undefined;
|
374
|
-
description?: string | undefined;
|
375
|
-
endorsement?: any[] | undefined;
|
376
|
-
image?: string | {
|
377
|
-
caption?: string | undefined;
|
378
|
-
type: string;
|
379
|
-
id: string;
|
380
|
-
} | undefined;
|
381
|
-
email?: string | undefined;
|
382
|
-
address?: {
|
383
374
|
addressCountry?: string | undefined;
|
384
375
|
addressCountryCode?: string | undefined;
|
385
376
|
addressRegion?: string | undefined;
|
@@ -392,50 +383,8 @@ export declare const CredentialInfoValidator: z.ZodObject<{
|
|
392
383
|
latitude: number;
|
393
384
|
longitude: number;
|
394
385
|
} | undefined;
|
386
|
+
}, {
|
395
387
|
type: string | [string, ...string[]];
|
396
|
-
} | undefined;
|
397
|
-
otherIdentifier?: {
|
398
|
-
type: string | [string, ...string[]];
|
399
|
-
identifier: string;
|
400
|
-
identifierType: string;
|
401
|
-
}[] | undefined;
|
402
|
-
official?: string | undefined;
|
403
|
-
parentOrg?: any;
|
404
|
-
familyName?: string | undefined;
|
405
|
-
givenName?: string | undefined;
|
406
|
-
additionalName?: string | undefined;
|
407
|
-
patronymicName?: string | undefined;
|
408
|
-
honorificPrefix?: string | undefined;
|
409
|
-
honorificSuffix?: string | undefined;
|
410
|
-
familyNamePrefix?: string | undefined;
|
411
|
-
dateOfBirth?: string | undefined;
|
412
|
-
}>]>>;
|
413
|
-
credentialSubject: z.ZodOptional<z.ZodObject<{
|
414
|
-
id: z.ZodOptional<z.ZodString>;
|
415
|
-
}, "strip", z.ZodAny, {
|
416
|
-
[x: string]: any;
|
417
|
-
id?: string | undefined;
|
418
|
-
}, {
|
419
|
-
[x: string]: any;
|
420
|
-
id?: string | undefined;
|
421
|
-
}>>;
|
422
|
-
}, "strip", z.ZodTypeAny, {
|
423
|
-
issuer?: string | {
|
424
|
-
[x: string]: any;
|
425
|
-
type?: string | [string, ...string[]] | undefined;
|
426
|
-
id?: string | undefined;
|
427
|
-
name?: string | undefined;
|
428
|
-
url?: string | undefined;
|
429
|
-
phone?: string | undefined;
|
430
|
-
description?: string | undefined;
|
431
|
-
endorsement?: any[] | undefined;
|
432
|
-
image?: string | {
|
433
|
-
caption?: string | undefined;
|
434
|
-
type: string;
|
435
|
-
id: string;
|
436
|
-
} | undefined;
|
437
|
-
email?: string | undefined;
|
438
|
-
address?: {
|
439
388
|
addressCountry?: string | undefined;
|
440
389
|
addressCountryCode?: string | undefined;
|
441
390
|
addressRegion?: string | undefined;
|
@@ -448,93 +397,76 @@ export declare const CredentialInfoValidator: z.ZodObject<{
|
|
448
397
|
latitude: number;
|
449
398
|
longitude: number;
|
450
399
|
} | undefined;
|
400
|
+
}>>;
|
401
|
+
otherIdentifier: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
402
|
+
type: z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "atleastone">]>;
|
403
|
+
identifier: z.ZodString;
|
404
|
+
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]>;
|
405
|
+
}, "strip", z.ZodTypeAny, {
|
451
406
|
type: string | [string, ...string[]];
|
452
|
-
|
453
|
-
|
407
|
+
identifier: string;
|
408
|
+
identifierType: string;
|
409
|
+
}, {
|
454
410
|
type: string | [string, ...string[]];
|
455
411
|
identifier: string;
|
456
412
|
identifierType: string;
|
457
|
-
}
|
458
|
-
official
|
459
|
-
parentOrg
|
460
|
-
familyName
|
461
|
-
givenName
|
462
|
-
additionalName
|
463
|
-
patronymicName
|
464
|
-
honorificPrefix
|
465
|
-
honorificSuffix
|
466
|
-
familyNamePrefix
|
467
|
-
dateOfBirth
|
468
|
-
}
|
469
|
-
|
470
|
-
|
471
|
-
|
472
|
-
|
473
|
-
|
474
|
-
|
475
|
-
|
476
|
-
|
477
|
-
|
478
|
-
|
479
|
-
|
480
|
-
|
481
|
-
|
482
|
-
|
483
|
-
endorsement?: any[] | undefined;
|
484
|
-
image?: string | {
|
413
|
+
}>, "many">>;
|
414
|
+
official: z.ZodOptional<z.ZodString>;
|
415
|
+
parentOrg: z.ZodOptional<z.ZodAny>;
|
416
|
+
familyName: z.ZodOptional<z.ZodString>;
|
417
|
+
givenName: z.ZodOptional<z.ZodString>;
|
418
|
+
additionalName: z.ZodOptional<z.ZodString>;
|
419
|
+
patronymicName: z.ZodOptional<z.ZodString>;
|
420
|
+
honorificPrefix: z.ZodOptional<z.ZodString>;
|
421
|
+
honorificSuffix: z.ZodOptional<z.ZodString>;
|
422
|
+
familyNamePrefix: z.ZodOptional<z.ZodString>;
|
423
|
+
dateOfBirth: z.ZodOptional<z.ZodString>;
|
424
|
+
}, "strip", z.ZodAny, z.objectOutputType<{
|
425
|
+
id: z.ZodOptional<z.ZodString>;
|
426
|
+
type: z.ZodUnion<[z.ZodString, z.ZodOptional<z.ZodArray<z.ZodString, "atleastone">>]>;
|
427
|
+
name: z.ZodOptional<z.ZodString>;
|
428
|
+
url: z.ZodOptional<z.ZodString>;
|
429
|
+
phone: z.ZodOptional<z.ZodString>;
|
430
|
+
description: z.ZodOptional<z.ZodString>;
|
431
|
+
endorsement: z.ZodOptional<z.ZodArray<z.ZodAny, "many">>;
|
432
|
+
image: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodObject<{
|
433
|
+
id: z.ZodString;
|
434
|
+
type: z.ZodString;
|
435
|
+
caption: z.ZodOptional<z.ZodString>;
|
436
|
+
}, "strip", z.ZodTypeAny, {
|
437
|
+
type: string;
|
438
|
+
id: string;
|
485
439
|
caption?: string | undefined;
|
440
|
+
}, {
|
486
441
|
type: string;
|
487
442
|
id: string;
|
488
|
-
|
489
|
-
|
490
|
-
|
491
|
-
|
492
|
-
|
493
|
-
|
494
|
-
|
495
|
-
|
496
|
-
|
497
|
-
|
498
|
-
|
443
|
+
caption?: string | undefined;
|
444
|
+
}>]>>;
|
445
|
+
email: z.ZodOptional<z.ZodString>;
|
446
|
+
address: z.ZodOptional<z.ZodObject<{
|
447
|
+
type: z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "atleastone">]>;
|
448
|
+
addressCountry: z.ZodOptional<z.ZodString>;
|
449
|
+
addressCountryCode: z.ZodOptional<z.ZodString>;
|
450
|
+
addressRegion: z.ZodOptional<z.ZodString>;
|
451
|
+
addressLocality: z.ZodOptional<z.ZodString>;
|
452
|
+
streetAddress: z.ZodOptional<z.ZodString>;
|
453
|
+
postOfficeBoxNumber: z.ZodOptional<z.ZodString>;
|
454
|
+
postalCode: z.ZodOptional<z.ZodString>;
|
455
|
+
geo: z.ZodOptional<z.ZodObject<{
|
456
|
+
type: z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "atleastone">]>;
|
457
|
+
latitude: z.ZodNumber;
|
458
|
+
longitude: z.ZodNumber;
|
459
|
+
}, "strip", z.ZodTypeAny, {
|
499
460
|
type: string | [string, ...string[]];
|
500
461
|
latitude: number;
|
501
462
|
longitude: number;
|
502
|
-
}
|
503
|
-
|
504
|
-
|
505
|
-
|
463
|
+
}, {
|
464
|
+
type: string | [string, ...string[]];
|
465
|
+
latitude: number;
|
466
|
+
longitude: number;
|
467
|
+
}>>;
|
468
|
+
}, "strip", z.ZodTypeAny, {
|
506
469
|
type: string | [string, ...string[]];
|
507
|
-
identifier: string;
|
508
|
-
identifierType: string;
|
509
|
-
}[] | undefined;
|
510
|
-
official?: string | undefined;
|
511
|
-
parentOrg?: any;
|
512
|
-
familyName?: string | undefined;
|
513
|
-
givenName?: string | undefined;
|
514
|
-
additionalName?: string | undefined;
|
515
|
-
patronymicName?: string | undefined;
|
516
|
-
honorificPrefix?: string | undefined;
|
517
|
-
honorificSuffix?: string | undefined;
|
518
|
-
familyNamePrefix?: string | undefined;
|
519
|
-
dateOfBirth?: string | undefined;
|
520
|
-
} | undefined;
|
521
|
-
}, {
|
522
|
-
issuer?: string | {
|
523
|
-
[x: string]: any;
|
524
|
-
type?: string | [string, ...string[]] | undefined;
|
525
|
-
id?: string | undefined;
|
526
|
-
name?: string | undefined;
|
527
|
-
url?: string | undefined;
|
528
|
-
phone?: string | undefined;
|
529
|
-
description?: string | undefined;
|
530
|
-
endorsement?: any[] | undefined;
|
531
|
-
image?: string | {
|
532
|
-
caption?: string | undefined;
|
533
|
-
type: string;
|
534
|
-
id: string;
|
535
|
-
} | undefined;
|
536
|
-
email?: string | undefined;
|
537
|
-
address?: {
|
538
470
|
addressCountry?: string | undefined;
|
539
471
|
addressCountryCode?: string | undefined;
|
540
472
|
addressRegion?: string | undefined;
|
@@ -547,46 +479,8 @@ export declare const CredentialInfoValidator: z.ZodObject<{
|
|
547
479
|
latitude: number;
|
548
480
|
longitude: number;
|
549
481
|
} | undefined;
|
482
|
+
}, {
|
550
483
|
type: string | [string, ...string[]];
|
551
|
-
} | undefined;
|
552
|
-
otherIdentifier?: {
|
553
|
-
type: string | [string, ...string[]];
|
554
|
-
identifier: string;
|
555
|
-
identifierType: string;
|
556
|
-
}[] | undefined;
|
557
|
-
official?: string | undefined;
|
558
|
-
parentOrg?: any;
|
559
|
-
familyName?: string | undefined;
|
560
|
-
givenName?: string | undefined;
|
561
|
-
additionalName?: string | undefined;
|
562
|
-
patronymicName?: string | undefined;
|
563
|
-
honorificPrefix?: string | undefined;
|
564
|
-
honorificSuffix?: string | undefined;
|
565
|
-
familyNamePrefix?: string | undefined;
|
566
|
-
dateOfBirth?: string | undefined;
|
567
|
-
} | undefined;
|
568
|
-
credentialSubject?: {
|
569
|
-
[x: string]: any;
|
570
|
-
id?: string | undefined;
|
571
|
-
} | undefined;
|
572
|
-
title?: string | undefined;
|
573
|
-
createdAt?: string | undefined;
|
574
|
-
issuee?: string | {
|
575
|
-
[x: string]: any;
|
576
|
-
type?: string | [string, ...string[]] | undefined;
|
577
|
-
id?: string | undefined;
|
578
|
-
name?: string | undefined;
|
579
|
-
url?: string | undefined;
|
580
|
-
phone?: string | undefined;
|
581
|
-
description?: string | undefined;
|
582
|
-
endorsement?: any[] | undefined;
|
583
|
-
image?: string | {
|
584
|
-
caption?: string | undefined;
|
585
|
-
type: string;
|
586
|
-
id: string;
|
587
|
-
} | undefined;
|
588
|
-
email?: string | undefined;
|
589
|
-
address?: {
|
590
484
|
addressCountry?: string | undefined;
|
591
485
|
addressCountryCode?: string | undefined;
|
592
486
|
addressRegion?: string | undefined;
|
@@ -599,41 +493,549 @@ export declare const CredentialInfoValidator: z.ZodObject<{
|
|
599
493
|
latitude: number;
|
600
494
|
longitude: number;
|
601
495
|
} | undefined;
|
496
|
+
}>>;
|
497
|
+
otherIdentifier: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
498
|
+
type: z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "atleastone">]>;
|
499
|
+
identifier: z.ZodString;
|
500
|
+
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]>;
|
501
|
+
}, "strip", z.ZodTypeAny, {
|
602
502
|
type: string | [string, ...string[]];
|
603
|
-
|
604
|
-
|
503
|
+
identifier: string;
|
504
|
+
identifierType: string;
|
505
|
+
}, {
|
605
506
|
type: string | [string, ...string[]];
|
606
507
|
identifier: string;
|
607
508
|
identifierType: string;
|
608
|
-
}
|
609
|
-
official
|
610
|
-
parentOrg
|
611
|
-
familyName
|
612
|
-
givenName
|
613
|
-
additionalName
|
614
|
-
patronymicName
|
615
|
-
honorificPrefix
|
616
|
-
honorificSuffix
|
617
|
-
familyNamePrefix
|
618
|
-
dateOfBirth
|
619
|
-
}
|
620
|
-
|
621
|
-
|
622
|
-
|
623
|
-
|
624
|
-
|
625
|
-
|
509
|
+
}>, "many">>;
|
510
|
+
official: z.ZodOptional<z.ZodString>;
|
511
|
+
parentOrg: z.ZodOptional<z.ZodAny>;
|
512
|
+
familyName: z.ZodOptional<z.ZodString>;
|
513
|
+
givenName: z.ZodOptional<z.ZodString>;
|
514
|
+
additionalName: z.ZodOptional<z.ZodString>;
|
515
|
+
patronymicName: z.ZodOptional<z.ZodString>;
|
516
|
+
honorificPrefix: z.ZodOptional<z.ZodString>;
|
517
|
+
honorificSuffix: z.ZodOptional<z.ZodString>;
|
518
|
+
familyNamePrefix: z.ZodOptional<z.ZodString>;
|
519
|
+
dateOfBirth: z.ZodOptional<z.ZodString>;
|
520
|
+
}, z.ZodAny, "strip">, z.objectInputType<{
|
521
|
+
id: z.ZodOptional<z.ZodString>;
|
522
|
+
type: z.ZodUnion<[z.ZodString, z.ZodOptional<z.ZodArray<z.ZodString, "atleastone">>]>;
|
523
|
+
name: z.ZodOptional<z.ZodString>;
|
524
|
+
url: z.ZodOptional<z.ZodString>;
|
525
|
+
phone: z.ZodOptional<z.ZodString>;
|
526
|
+
description: z.ZodOptional<z.ZodString>;
|
527
|
+
endorsement: z.ZodOptional<z.ZodArray<z.ZodAny, "many">>;
|
528
|
+
image: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodObject<{
|
529
|
+
id: z.ZodString;
|
530
|
+
type: z.ZodString;
|
531
|
+
caption: z.ZodOptional<z.ZodString>;
|
532
|
+
}, "strip", z.ZodTypeAny, {
|
533
|
+
type: string;
|
534
|
+
id: string;
|
535
|
+
caption?: string | undefined;
|
536
|
+
}, {
|
537
|
+
type: string;
|
538
|
+
id: string;
|
539
|
+
caption?: string | undefined;
|
540
|
+
}>]>>;
|
541
|
+
email: z.ZodOptional<z.ZodString>;
|
542
|
+
address: z.ZodOptional<z.ZodObject<{
|
543
|
+
type: z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "atleastone">]>;
|
544
|
+
addressCountry: z.ZodOptional<z.ZodString>;
|
545
|
+
addressCountryCode: z.ZodOptional<z.ZodString>;
|
546
|
+
addressRegion: z.ZodOptional<z.ZodString>;
|
547
|
+
addressLocality: z.ZodOptional<z.ZodString>;
|
548
|
+
streetAddress: z.ZodOptional<z.ZodString>;
|
549
|
+
postOfficeBoxNumber: z.ZodOptional<z.ZodString>;
|
550
|
+
postalCode: z.ZodOptional<z.ZodString>;
|
551
|
+
geo: z.ZodOptional<z.ZodObject<{
|
552
|
+
type: z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "atleastone">]>;
|
553
|
+
latitude: z.ZodNumber;
|
554
|
+
longitude: z.ZodNumber;
|
555
|
+
}, "strip", z.ZodTypeAny, {
|
556
|
+
type: string | [string, ...string[]];
|
557
|
+
latitude: number;
|
558
|
+
longitude: number;
|
559
|
+
}, {
|
560
|
+
type: string | [string, ...string[]];
|
561
|
+
latitude: number;
|
562
|
+
longitude: number;
|
563
|
+
}>>;
|
564
|
+
}, "strip", z.ZodTypeAny, {
|
565
|
+
type: string | [string, ...string[]];
|
566
|
+
addressCountry?: string | undefined;
|
567
|
+
addressCountryCode?: string | undefined;
|
568
|
+
addressRegion?: string | undefined;
|
569
|
+
addressLocality?: string | undefined;
|
570
|
+
streetAddress?: string | undefined;
|
571
|
+
postOfficeBoxNumber?: string | undefined;
|
572
|
+
postalCode?: string | undefined;
|
573
|
+
geo?: {
|
574
|
+
type: string | [string, ...string[]];
|
575
|
+
latitude: number;
|
576
|
+
longitude: number;
|
577
|
+
} | undefined;
|
578
|
+
}, {
|
579
|
+
type: string | [string, ...string[]];
|
580
|
+
addressCountry?: string | undefined;
|
581
|
+
addressCountryCode?: string | undefined;
|
582
|
+
addressRegion?: string | undefined;
|
583
|
+
addressLocality?: string | undefined;
|
584
|
+
streetAddress?: string | undefined;
|
585
|
+
postOfficeBoxNumber?: string | undefined;
|
586
|
+
postalCode?: string | undefined;
|
587
|
+
geo?: {
|
588
|
+
type: string | [string, ...string[]];
|
589
|
+
latitude: number;
|
590
|
+
longitude: number;
|
591
|
+
} | undefined;
|
592
|
+
}>>;
|
593
|
+
otherIdentifier: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
594
|
+
type: z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "atleastone">]>;
|
595
|
+
identifier: z.ZodString;
|
596
|
+
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]>;
|
597
|
+
}, "strip", z.ZodTypeAny, {
|
598
|
+
type: string | [string, ...string[]];
|
599
|
+
identifier: string;
|
600
|
+
identifierType: string;
|
601
|
+
}, {
|
602
|
+
type: string | [string, ...string[]];
|
603
|
+
identifier: string;
|
604
|
+
identifierType: string;
|
605
|
+
}>, "many">>;
|
606
|
+
official: z.ZodOptional<z.ZodString>;
|
607
|
+
parentOrg: z.ZodOptional<z.ZodAny>;
|
608
|
+
familyName: z.ZodOptional<z.ZodString>;
|
609
|
+
givenName: z.ZodOptional<z.ZodString>;
|
610
|
+
additionalName: z.ZodOptional<z.ZodString>;
|
611
|
+
patronymicName: z.ZodOptional<z.ZodString>;
|
612
|
+
honorificPrefix: z.ZodOptional<z.ZodString>;
|
613
|
+
honorificSuffix: z.ZodOptional<z.ZodString>;
|
614
|
+
familyNamePrefix: z.ZodOptional<z.ZodString>;
|
615
|
+
dateOfBirth: z.ZodOptional<z.ZodString>;
|
616
|
+
}, z.ZodAny, "strip">>]>>;
|
617
|
+
credentialSubject: z.ZodOptional<z.ZodObject<{
|
618
|
+
id: z.ZodOptional<z.ZodString>;
|
619
|
+
}, "strip", z.ZodAny, z.objectOutputType<{
|
620
|
+
id: z.ZodOptional<z.ZodString>;
|
621
|
+
}, z.ZodAny, "strip">, z.objectInputType<{
|
622
|
+
id: z.ZodOptional<z.ZodString>;
|
623
|
+
}, z.ZodAny, "strip">>>;
|
624
|
+
}, "strip", z.ZodTypeAny, {
|
625
|
+
issuer?: string | z.objectOutputType<{
|
626
|
+
id: z.ZodOptional<z.ZodString>;
|
627
|
+
type: z.ZodUnion<[z.ZodString, z.ZodOptional<z.ZodArray<z.ZodString, "atleastone">>]>;
|
628
|
+
name: z.ZodOptional<z.ZodString>;
|
629
|
+
url: z.ZodOptional<z.ZodString>;
|
630
|
+
phone: z.ZodOptional<z.ZodString>;
|
631
|
+
description: z.ZodOptional<z.ZodString>;
|
632
|
+
endorsement: z.ZodOptional<z.ZodArray<z.ZodAny, "many">>;
|
633
|
+
image: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodObject<{
|
634
|
+
id: z.ZodString;
|
635
|
+
type: z.ZodString;
|
636
|
+
caption: z.ZodOptional<z.ZodString>;
|
637
|
+
}, "strip", z.ZodTypeAny, {
|
638
|
+
type: string;
|
639
|
+
id: string;
|
640
|
+
caption?: string | undefined;
|
641
|
+
}, {
|
642
|
+
type: string;
|
643
|
+
id: string;
|
644
|
+
caption?: string | undefined;
|
645
|
+
}>]>>;
|
646
|
+
email: z.ZodOptional<z.ZodString>;
|
647
|
+
address: z.ZodOptional<z.ZodObject<{
|
648
|
+
type: z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "atleastone">]>;
|
649
|
+
addressCountry: z.ZodOptional<z.ZodString>;
|
650
|
+
addressCountryCode: z.ZodOptional<z.ZodString>;
|
651
|
+
addressRegion: z.ZodOptional<z.ZodString>;
|
652
|
+
addressLocality: z.ZodOptional<z.ZodString>;
|
653
|
+
streetAddress: z.ZodOptional<z.ZodString>;
|
654
|
+
postOfficeBoxNumber: z.ZodOptional<z.ZodString>;
|
655
|
+
postalCode: z.ZodOptional<z.ZodString>;
|
656
|
+
geo: z.ZodOptional<z.ZodObject<{
|
657
|
+
type: z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "atleastone">]>;
|
658
|
+
latitude: z.ZodNumber;
|
659
|
+
longitude: z.ZodNumber;
|
660
|
+
}, "strip", z.ZodTypeAny, {
|
661
|
+
type: string | [string, ...string[]];
|
662
|
+
latitude: number;
|
663
|
+
longitude: number;
|
664
|
+
}, {
|
665
|
+
type: string | [string, ...string[]];
|
666
|
+
latitude: number;
|
667
|
+
longitude: number;
|
668
|
+
}>>;
|
669
|
+
}, "strip", z.ZodTypeAny, {
|
670
|
+
type: string | [string, ...string[]];
|
671
|
+
addressCountry?: string | undefined;
|
672
|
+
addressCountryCode?: string | undefined;
|
673
|
+
addressRegion?: string | undefined;
|
674
|
+
addressLocality?: string | undefined;
|
675
|
+
streetAddress?: string | undefined;
|
676
|
+
postOfficeBoxNumber?: string | undefined;
|
677
|
+
postalCode?: string | undefined;
|
678
|
+
geo?: {
|
679
|
+
type: string | [string, ...string[]];
|
680
|
+
latitude: number;
|
681
|
+
longitude: number;
|
682
|
+
} | undefined;
|
683
|
+
}, {
|
684
|
+
type: string | [string, ...string[]];
|
685
|
+
addressCountry?: string | undefined;
|
686
|
+
addressCountryCode?: string | undefined;
|
687
|
+
addressRegion?: string | undefined;
|
688
|
+
addressLocality?: string | undefined;
|
689
|
+
streetAddress?: string | undefined;
|
690
|
+
postOfficeBoxNumber?: string | undefined;
|
691
|
+
postalCode?: string | undefined;
|
692
|
+
geo?: {
|
693
|
+
type: string | [string, ...string[]];
|
694
|
+
latitude: number;
|
695
|
+
longitude: number;
|
696
|
+
} | undefined;
|
697
|
+
}>>;
|
698
|
+
otherIdentifier: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
699
|
+
type: z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "atleastone">]>;
|
700
|
+
identifier: z.ZodString;
|
701
|
+
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]>;
|
702
|
+
}, "strip", z.ZodTypeAny, {
|
703
|
+
type: string | [string, ...string[]];
|
704
|
+
identifier: string;
|
705
|
+
identifierType: string;
|
706
|
+
}, {
|
707
|
+
type: string | [string, ...string[]];
|
708
|
+
identifier: string;
|
709
|
+
identifierType: string;
|
710
|
+
}>, "many">>;
|
711
|
+
official: z.ZodOptional<z.ZodString>;
|
712
|
+
parentOrg: z.ZodOptional<z.ZodAny>;
|
713
|
+
familyName: z.ZodOptional<z.ZodString>;
|
714
|
+
givenName: z.ZodOptional<z.ZodString>;
|
715
|
+
additionalName: z.ZodOptional<z.ZodString>;
|
716
|
+
patronymicName: z.ZodOptional<z.ZodString>;
|
717
|
+
honorificPrefix: z.ZodOptional<z.ZodString>;
|
718
|
+
honorificSuffix: z.ZodOptional<z.ZodString>;
|
719
|
+
familyNamePrefix: z.ZodOptional<z.ZodString>;
|
720
|
+
dateOfBirth: z.ZodOptional<z.ZodString>;
|
721
|
+
}, z.ZodAny, "strip"> | undefined;
|
722
|
+
credentialSubject?: z.objectOutputType<{
|
723
|
+
id: z.ZodOptional<z.ZodString>;
|
724
|
+
}, z.ZodAny, "strip"> | undefined;
|
725
|
+
title?: string | undefined;
|
726
|
+
createdAt?: string | undefined;
|
727
|
+
issuee?: string | z.objectOutputType<{
|
728
|
+
id: z.ZodOptional<z.ZodString>;
|
729
|
+
type: z.ZodUnion<[z.ZodString, z.ZodOptional<z.ZodArray<z.ZodString, "atleastone">>]>;
|
730
|
+
name: z.ZodOptional<z.ZodString>;
|
731
|
+
url: z.ZodOptional<z.ZodString>;
|
732
|
+
phone: z.ZodOptional<z.ZodString>;
|
733
|
+
description: z.ZodOptional<z.ZodString>;
|
734
|
+
endorsement: z.ZodOptional<z.ZodArray<z.ZodAny, "many">>;
|
735
|
+
image: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodObject<{
|
736
|
+
id: z.ZodString;
|
737
|
+
type: z.ZodString;
|
738
|
+
caption: z.ZodOptional<z.ZodString>;
|
739
|
+
}, "strip", z.ZodTypeAny, {
|
740
|
+
type: string;
|
741
|
+
id: string;
|
742
|
+
caption?: string | undefined;
|
743
|
+
}, {
|
744
|
+
type: string;
|
745
|
+
id: string;
|
746
|
+
caption?: string | undefined;
|
747
|
+
}>]>>;
|
748
|
+
email: z.ZodOptional<z.ZodString>;
|
749
|
+
address: z.ZodOptional<z.ZodObject<{
|
750
|
+
type: z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "atleastone">]>;
|
751
|
+
addressCountry: z.ZodOptional<z.ZodString>;
|
752
|
+
addressCountryCode: z.ZodOptional<z.ZodString>;
|
753
|
+
addressRegion: z.ZodOptional<z.ZodString>;
|
754
|
+
addressLocality: z.ZodOptional<z.ZodString>;
|
755
|
+
streetAddress: z.ZodOptional<z.ZodString>;
|
756
|
+
postOfficeBoxNumber: z.ZodOptional<z.ZodString>;
|
757
|
+
postalCode: z.ZodOptional<z.ZodString>;
|
758
|
+
geo: z.ZodOptional<z.ZodObject<{
|
759
|
+
type: z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "atleastone">]>;
|
760
|
+
latitude: z.ZodNumber;
|
761
|
+
longitude: z.ZodNumber;
|
762
|
+
}, "strip", z.ZodTypeAny, {
|
763
|
+
type: string | [string, ...string[]];
|
764
|
+
latitude: number;
|
765
|
+
longitude: number;
|
766
|
+
}, {
|
767
|
+
type: string | [string, ...string[]];
|
768
|
+
latitude: number;
|
769
|
+
longitude: number;
|
770
|
+
}>>;
|
771
|
+
}, "strip", z.ZodTypeAny, {
|
772
|
+
type: string | [string, ...string[]];
|
773
|
+
addressCountry?: string | undefined;
|
774
|
+
addressCountryCode?: string | undefined;
|
775
|
+
addressRegion?: string | undefined;
|
776
|
+
addressLocality?: string | undefined;
|
777
|
+
streetAddress?: string | undefined;
|
778
|
+
postOfficeBoxNumber?: string | undefined;
|
779
|
+
postalCode?: string | undefined;
|
780
|
+
geo?: {
|
781
|
+
type: string | [string, ...string[]];
|
782
|
+
latitude: number;
|
783
|
+
longitude: number;
|
784
|
+
} | undefined;
|
785
|
+
}, {
|
786
|
+
type: string | [string, ...string[]];
|
787
|
+
addressCountry?: string | undefined;
|
788
|
+
addressCountryCode?: string | undefined;
|
789
|
+
addressRegion?: string | undefined;
|
790
|
+
addressLocality?: string | undefined;
|
791
|
+
streetAddress?: string | undefined;
|
792
|
+
postOfficeBoxNumber?: string | undefined;
|
793
|
+
postalCode?: string | undefined;
|
794
|
+
geo?: {
|
795
|
+
type: string | [string, ...string[]];
|
796
|
+
latitude: number;
|
797
|
+
longitude: number;
|
798
|
+
} | undefined;
|
799
|
+
}>>;
|
800
|
+
otherIdentifier: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
801
|
+
type: z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "atleastone">]>;
|
802
|
+
identifier: z.ZodString;
|
803
|
+
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]>;
|
804
|
+
}, "strip", z.ZodTypeAny, {
|
805
|
+
type: string | [string, ...string[]];
|
806
|
+
identifier: string;
|
807
|
+
identifierType: string;
|
808
|
+
}, {
|
809
|
+
type: string | [string, ...string[]];
|
810
|
+
identifier: string;
|
811
|
+
identifierType: string;
|
812
|
+
}>, "many">>;
|
813
|
+
official: z.ZodOptional<z.ZodString>;
|
814
|
+
parentOrg: z.ZodOptional<z.ZodAny>;
|
815
|
+
familyName: z.ZodOptional<z.ZodString>;
|
816
|
+
givenName: z.ZodOptional<z.ZodString>;
|
817
|
+
additionalName: z.ZodOptional<z.ZodString>;
|
818
|
+
patronymicName: z.ZodOptional<z.ZodString>;
|
819
|
+
honorificPrefix: z.ZodOptional<z.ZodString>;
|
820
|
+
honorificSuffix: z.ZodOptional<z.ZodString>;
|
821
|
+
familyNamePrefix: z.ZodOptional<z.ZodString>;
|
822
|
+
dateOfBirth: z.ZodOptional<z.ZodString>;
|
823
|
+
}, z.ZodAny, "strip"> | undefined;
|
824
|
+
}, {
|
825
|
+
issuer?: string | z.objectInputType<{
|
826
|
+
id: z.ZodOptional<z.ZodString>;
|
827
|
+
type: z.ZodUnion<[z.ZodString, z.ZodOptional<z.ZodArray<z.ZodString, "atleastone">>]>;
|
828
|
+
name: z.ZodOptional<z.ZodString>;
|
829
|
+
url: z.ZodOptional<z.ZodString>;
|
830
|
+
phone: z.ZodOptional<z.ZodString>;
|
831
|
+
description: z.ZodOptional<z.ZodString>;
|
832
|
+
endorsement: z.ZodOptional<z.ZodArray<z.ZodAny, "many">>;
|
833
|
+
image: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodObject<{
|
834
|
+
id: z.ZodString;
|
835
|
+
type: z.ZodString;
|
836
|
+
caption: z.ZodOptional<z.ZodString>;
|
837
|
+
}, "strip", z.ZodTypeAny, {
|
838
|
+
type: string;
|
839
|
+
id: string;
|
840
|
+
caption?: string | undefined;
|
841
|
+
}, {
|
842
|
+
type: string;
|
843
|
+
id: string;
|
844
|
+
caption?: string | undefined;
|
845
|
+
}>]>>;
|
846
|
+
email: z.ZodOptional<z.ZodString>;
|
847
|
+
address: z.ZodOptional<z.ZodObject<{
|
848
|
+
type: z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "atleastone">]>;
|
849
|
+
addressCountry: z.ZodOptional<z.ZodString>;
|
850
|
+
addressCountryCode: z.ZodOptional<z.ZodString>;
|
851
|
+
addressRegion: z.ZodOptional<z.ZodString>;
|
852
|
+
addressLocality: z.ZodOptional<z.ZodString>;
|
853
|
+
streetAddress: z.ZodOptional<z.ZodString>;
|
854
|
+
postOfficeBoxNumber: z.ZodOptional<z.ZodString>;
|
855
|
+
postalCode: z.ZodOptional<z.ZodString>;
|
856
|
+
geo: z.ZodOptional<z.ZodObject<{
|
857
|
+
type: z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "atleastone">]>;
|
858
|
+
latitude: z.ZodNumber;
|
859
|
+
longitude: z.ZodNumber;
|
860
|
+
}, "strip", z.ZodTypeAny, {
|
861
|
+
type: string | [string, ...string[]];
|
862
|
+
latitude: number;
|
863
|
+
longitude: number;
|
864
|
+
}, {
|
865
|
+
type: string | [string, ...string[]];
|
866
|
+
latitude: number;
|
867
|
+
longitude: number;
|
868
|
+
}>>;
|
869
|
+
}, "strip", z.ZodTypeAny, {
|
870
|
+
type: string | [string, ...string[]];
|
871
|
+
addressCountry?: string | undefined;
|
872
|
+
addressCountryCode?: string | undefined;
|
873
|
+
addressRegion?: string | undefined;
|
874
|
+
addressLocality?: string | undefined;
|
875
|
+
streetAddress?: string | undefined;
|
876
|
+
postOfficeBoxNumber?: string | undefined;
|
877
|
+
postalCode?: string | undefined;
|
878
|
+
geo?: {
|
879
|
+
type: string | [string, ...string[]];
|
880
|
+
latitude: number;
|
881
|
+
longitude: number;
|
882
|
+
} | undefined;
|
883
|
+
}, {
|
884
|
+
type: string | [string, ...string[]];
|
885
|
+
addressCountry?: string | undefined;
|
886
|
+
addressCountryCode?: string | undefined;
|
887
|
+
addressRegion?: string | undefined;
|
888
|
+
addressLocality?: string | undefined;
|
889
|
+
streetAddress?: string | undefined;
|
890
|
+
postOfficeBoxNumber?: string | undefined;
|
891
|
+
postalCode?: string | undefined;
|
892
|
+
geo?: {
|
893
|
+
type: string | [string, ...string[]];
|
894
|
+
latitude: number;
|
895
|
+
longitude: number;
|
896
|
+
} | undefined;
|
897
|
+
}>>;
|
898
|
+
otherIdentifier: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
899
|
+
type: z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "atleastone">]>;
|
900
|
+
identifier: z.ZodString;
|
901
|
+
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]>;
|
902
|
+
}, "strip", z.ZodTypeAny, {
|
903
|
+
type: string | [string, ...string[]];
|
904
|
+
identifier: string;
|
905
|
+
identifierType: string;
|
906
|
+
}, {
|
907
|
+
type: string | [string, ...string[]];
|
908
|
+
identifier: string;
|
909
|
+
identifierType: string;
|
910
|
+
}>, "many">>;
|
911
|
+
official: z.ZodOptional<z.ZodString>;
|
912
|
+
parentOrg: z.ZodOptional<z.ZodAny>;
|
913
|
+
familyName: z.ZodOptional<z.ZodString>;
|
914
|
+
givenName: z.ZodOptional<z.ZodString>;
|
915
|
+
additionalName: z.ZodOptional<z.ZodString>;
|
916
|
+
patronymicName: z.ZodOptional<z.ZodString>;
|
917
|
+
honorificPrefix: z.ZodOptional<z.ZodString>;
|
918
|
+
honorificSuffix: z.ZodOptional<z.ZodString>;
|
919
|
+
familyNamePrefix: z.ZodOptional<z.ZodString>;
|
920
|
+
dateOfBirth: z.ZodOptional<z.ZodString>;
|
921
|
+
}, z.ZodAny, "strip"> | undefined;
|
922
|
+
credentialSubject?: z.objectInputType<{
|
923
|
+
id: z.ZodOptional<z.ZodString>;
|
924
|
+
}, z.ZodAny, "strip"> | undefined;
|
925
|
+
title?: string | undefined;
|
926
|
+
createdAt?: string | undefined;
|
927
|
+
issuee?: string | z.objectInputType<{
|
928
|
+
id: z.ZodOptional<z.ZodString>;
|
929
|
+
type: z.ZodUnion<[z.ZodString, z.ZodOptional<z.ZodArray<z.ZodString, "atleastone">>]>;
|
930
|
+
name: z.ZodOptional<z.ZodString>;
|
931
|
+
url: z.ZodOptional<z.ZodString>;
|
932
|
+
phone: z.ZodOptional<z.ZodString>;
|
933
|
+
description: z.ZodOptional<z.ZodString>;
|
934
|
+
endorsement: z.ZodOptional<z.ZodArray<z.ZodAny, "many">>;
|
935
|
+
image: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodObject<{
|
936
|
+
id: z.ZodString;
|
937
|
+
type: z.ZodString;
|
938
|
+
caption: z.ZodOptional<z.ZodString>;
|
939
|
+
}, "strip", z.ZodTypeAny, {
|
940
|
+
type: string;
|
941
|
+
id: string;
|
942
|
+
caption?: string | undefined;
|
943
|
+
}, {
|
944
|
+
type: string;
|
945
|
+
id: string;
|
946
|
+
caption?: string | undefined;
|
947
|
+
}>]>>;
|
948
|
+
email: z.ZodOptional<z.ZodString>;
|
949
|
+
address: z.ZodOptional<z.ZodObject<{
|
950
|
+
type: z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "atleastone">]>;
|
951
|
+
addressCountry: z.ZodOptional<z.ZodString>;
|
952
|
+
addressCountryCode: z.ZodOptional<z.ZodString>;
|
953
|
+
addressRegion: z.ZodOptional<z.ZodString>;
|
954
|
+
addressLocality: z.ZodOptional<z.ZodString>;
|
955
|
+
streetAddress: z.ZodOptional<z.ZodString>;
|
956
|
+
postOfficeBoxNumber: z.ZodOptional<z.ZodString>;
|
957
|
+
postalCode: z.ZodOptional<z.ZodString>;
|
958
|
+
geo: z.ZodOptional<z.ZodObject<{
|
959
|
+
type: z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "atleastone">]>;
|
960
|
+
latitude: z.ZodNumber;
|
961
|
+
longitude: z.ZodNumber;
|
962
|
+
}, "strip", z.ZodTypeAny, {
|
963
|
+
type: string | [string, ...string[]];
|
964
|
+
latitude: number;
|
965
|
+
longitude: number;
|
966
|
+
}, {
|
967
|
+
type: string | [string, ...string[]];
|
968
|
+
latitude: number;
|
969
|
+
longitude: number;
|
970
|
+
}>>;
|
971
|
+
}, "strip", z.ZodTypeAny, {
|
972
|
+
type: string | [string, ...string[]];
|
973
|
+
addressCountry?: string | undefined;
|
974
|
+
addressCountryCode?: string | undefined;
|
975
|
+
addressRegion?: string | undefined;
|
976
|
+
addressLocality?: string | undefined;
|
977
|
+
streetAddress?: string | undefined;
|
978
|
+
postOfficeBoxNumber?: string | undefined;
|
979
|
+
postalCode?: string | undefined;
|
980
|
+
geo?: {
|
981
|
+
type: string | [string, ...string[]];
|
982
|
+
latitude: number;
|
983
|
+
longitude: number;
|
984
|
+
} | undefined;
|
985
|
+
}, {
|
986
|
+
type: string | [string, ...string[]];
|
987
|
+
addressCountry?: string | undefined;
|
988
|
+
addressCountryCode?: string | undefined;
|
989
|
+
addressRegion?: string | undefined;
|
990
|
+
addressLocality?: string | undefined;
|
991
|
+
streetAddress?: string | undefined;
|
992
|
+
postOfficeBoxNumber?: string | undefined;
|
993
|
+
postalCode?: string | undefined;
|
994
|
+
geo?: {
|
995
|
+
type: string | [string, ...string[]];
|
996
|
+
latitude: number;
|
997
|
+
longitude: number;
|
998
|
+
} | undefined;
|
999
|
+
}>>;
|
1000
|
+
otherIdentifier: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
1001
|
+
type: z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "atleastone">]>;
|
1002
|
+
identifier: z.ZodString;
|
1003
|
+
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]>;
|
1004
|
+
}, "strip", z.ZodTypeAny, {
|
1005
|
+
type: string | [string, ...string[]];
|
1006
|
+
identifier: string;
|
1007
|
+
identifierType: string;
|
1008
|
+
}, {
|
1009
|
+
type: string | [string, ...string[]];
|
1010
|
+
identifier: string;
|
1011
|
+
identifierType: string;
|
1012
|
+
}>, "many">>;
|
1013
|
+
official: z.ZodOptional<z.ZodString>;
|
1014
|
+
parentOrg: z.ZodOptional<z.ZodAny>;
|
1015
|
+
familyName: z.ZodOptional<z.ZodString>;
|
1016
|
+
givenName: z.ZodOptional<z.ZodString>;
|
1017
|
+
additionalName: z.ZodOptional<z.ZodString>;
|
1018
|
+
patronymicName: z.ZodOptional<z.ZodString>;
|
1019
|
+
honorificPrefix: z.ZodOptional<z.ZodString>;
|
1020
|
+
honorificSuffix: z.ZodOptional<z.ZodString>;
|
1021
|
+
familyNamePrefix: z.ZodOptional<z.ZodString>;
|
1022
|
+
dateOfBirth: z.ZodOptional<z.ZodString>;
|
1023
|
+
}, z.ZodAny, "strip"> | undefined;
|
1024
|
+
}>;
|
1025
|
+
export type CredentialInfo = z.infer<typeof CredentialInfoValidator>;
|
1026
|
+
export type CredentialRecord<Metadata extends Record<string, any> = Record<never, never>> = {
|
1027
|
+
id: string;
|
1028
|
+
uri: string;
|
1029
|
+
[key: string]: any;
|
626
1030
|
} & Metadata;
|
627
1031
|
export declare const CredentialRecordValidator: z.ZodObject<{
|
628
1032
|
id: z.ZodString;
|
629
1033
|
uri: z.ZodString;
|
630
|
-
}, "strip", z.ZodAny, {
|
631
|
-
|
632
|
-
|
633
|
-
|
634
|
-
|
635
|
-
|
636
|
-
|
637
|
-
uri: string;
|
638
|
-
}>;
|
1034
|
+
}, "strip", z.ZodAny, z.objectOutputType<{
|
1035
|
+
id: z.ZodString;
|
1036
|
+
uri: z.ZodString;
|
1037
|
+
}, z.ZodAny, "strip">, z.objectInputType<{
|
1038
|
+
id: z.ZodString;
|
1039
|
+
uri: z.ZodString;
|
1040
|
+
}, z.ZodAny, "strip">>;
|
639
1041
|
//# sourceMappingURL=learncard.d.ts.map
|