@learncard/types 5.9.2 → 5.11.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.
@@ -1,257 +1,51 @@
1
1
  import { z } from 'zod';
2
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
- }>;
3
+ checks: z.ZodArray<z.ZodString>;
4
+ warnings: z.ZodArray<z.ZodString>;
5
+ errors: z.ZodArray<z.ZodString>;
6
+ }, z.core.$strip>;
15
7
  export type VerificationCheck = z.infer<typeof VerificationCheckValidator>;
16
- export declare const VerificationStatusValidator: z.ZodEnum<["Success", "Failed", "Error"]>;
8
+ export declare const VerificationStatusValidator: z.ZodEnum<{
9
+ Failed: "Failed";
10
+ Success: "Success";
11
+ Error: "Error";
12
+ }>;
17
13
  export type VerificationStatus = z.infer<typeof VerificationStatusValidator>;
18
- export declare const VerificationStatusEnum: z.Values<["Success", "Failed", "Error"]>;
14
+ export declare const VerificationStatusEnum: {
15
+ Failed: "Failed";
16
+ Success: "Success";
17
+ Error: "Error";
18
+ };
19
19
  export declare const VerificationItemValidator: z.ZodObject<{
20
20
  check: z.ZodString;
21
- status: z.ZodEnum<["Success", "Failed", "Error"]>;
21
+ status: z.ZodEnum<{
22
+ Failed: "Failed";
23
+ Success: "Success";
24
+ Error: "Error";
25
+ }>;
22
26
  message: z.ZodOptional<z.ZodString>;
23
27
  details: z.ZodOptional<z.ZodString>;
24
- }, "strip", z.ZodTypeAny, {
25
- status: "Failed" | "Success" | "Error";
26
- check: string;
27
- message?: string | undefined;
28
- details?: string | undefined;
29
- }, {
30
- status: "Failed" | "Success" | "Error";
31
- check: string;
32
- message?: string | undefined;
33
- details?: string | undefined;
34
- }>;
28
+ }, z.core.$strip>;
35
29
  export type VerificationItem = z.infer<typeof VerificationItemValidator>;
36
30
  export declare const CredentialInfoValidator: z.ZodObject<{
37
31
  title: z.ZodOptional<z.ZodString>;
38
32
  createdAt: z.ZodOptional<z.ZodString>;
39
33
  issuer: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodObject<{
40
34
  id: z.ZodOptional<z.ZodString>;
41
- type: z.ZodUnion<[z.ZodString, z.ZodOptional<z.ZodArray<z.ZodString, "atleastone">>]>;
42
- name: z.ZodOptional<z.ZodString>;
43
- url: z.ZodOptional<z.ZodString>;
44
- phone: z.ZodOptional<z.ZodString>;
45
- description: z.ZodOptional<z.ZodString>;
46
- endorsement: z.ZodOptional<z.ZodArray<z.ZodAny, "many">>;
47
- image: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodObject<{
48
- id: z.ZodString;
49
- type: z.ZodString;
50
- caption: z.ZodOptional<z.ZodString>;
51
- }, "strip", z.ZodTypeAny, {
52
- type: string;
53
- id: string;
54
- caption?: string | undefined;
55
- }, {
56
- type: string;
57
- id: string;
58
- caption?: string | undefined;
59
- }>]>>;
60
- email: z.ZodOptional<z.ZodString>;
61
- address: z.ZodOptional<z.ZodObject<{
62
- type: z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "atleastone">]>;
63
- addressCountry: z.ZodOptional<z.ZodString>;
64
- addressCountryCode: z.ZodOptional<z.ZodString>;
65
- addressRegion: z.ZodOptional<z.ZodString>;
66
- addressLocality: z.ZodOptional<z.ZodString>;
67
- streetAddress: z.ZodOptional<z.ZodString>;
68
- postOfficeBoxNumber: z.ZodOptional<z.ZodString>;
69
- postalCode: z.ZodOptional<z.ZodString>;
70
- geo: z.ZodOptional<z.ZodObject<{
71
- type: z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "atleastone">]>;
72
- latitude: z.ZodNumber;
73
- longitude: z.ZodNumber;
74
- }, "strip", z.ZodTypeAny, {
75
- type: string | [string, ...string[]];
76
- latitude: number;
77
- longitude: number;
78
- }, {
79
- type: string | [string, ...string[]];
80
- latitude: number;
81
- longitude: number;
82
- }>>;
83
- }, "strip", z.ZodTypeAny, {
84
- type: string | [string, ...string[]];
85
- addressCountry?: string | undefined;
86
- addressCountryCode?: string | undefined;
87
- addressRegion?: string | undefined;
88
- addressLocality?: string | undefined;
89
- streetAddress?: string | undefined;
90
- postOfficeBoxNumber?: string | undefined;
91
- postalCode?: string | undefined;
92
- geo?: {
93
- type: string | [string, ...string[]];
94
- latitude: number;
95
- longitude: number;
96
- } | undefined;
97
- }, {
98
- type: string | [string, ...string[]];
99
- addressCountry?: string | undefined;
100
- addressCountryCode?: string | undefined;
101
- addressRegion?: string | undefined;
102
- addressLocality?: string | undefined;
103
- streetAddress?: string | undefined;
104
- postOfficeBoxNumber?: string | undefined;
105
- postalCode?: string | undefined;
106
- geo?: {
107
- type: string | [string, ...string[]];
108
- latitude: number;
109
- longitude: number;
110
- } | undefined;
111
- }>>;
112
- otherIdentifier: z.ZodOptional<z.ZodArray<z.ZodObject<{
113
- type: z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "atleastone">]>;
114
- identifier: z.ZodString;
115
- 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]>;
116
- }, "strip", z.ZodTypeAny, {
117
- type: string | [string, ...string[]];
118
- identifier: string;
119
- identifierType: string;
120
- }, {
121
- type: string | [string, ...string[]];
122
- identifier: string;
123
- identifierType: string;
124
- }>, "many">>;
125
- official: z.ZodOptional<z.ZodString>;
126
- parentOrg: z.ZodOptional<z.ZodAny>;
127
- familyName: z.ZodOptional<z.ZodString>;
128
- givenName: z.ZodOptional<z.ZodString>;
129
- additionalName: z.ZodOptional<z.ZodString>;
130
- patronymicName: z.ZodOptional<z.ZodString>;
131
- honorificPrefix: z.ZodOptional<z.ZodString>;
132
- honorificSuffix: z.ZodOptional<z.ZodString>;
133
- familyNamePrefix: z.ZodOptional<z.ZodString>;
134
- dateOfBirth: z.ZodOptional<z.ZodString>;
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;
150
- caption?: string | undefined;
151
- }, {
152
- type: string;
153
- id: string;
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[]];
181
- addressCountry?: string | undefined;
182
- addressCountryCode?: string | undefined;
183
- addressRegion?: string | undefined;
184
- addressLocality?: string | undefined;
185
- streetAddress?: string | undefined;
186
- postOfficeBoxNumber?: string | undefined;
187
- postalCode?: string | undefined;
188
- geo?: {
189
- type: string | [string, ...string[]];
190
- latitude: number;
191
- longitude: number;
192
- } | undefined;
193
- }, {
194
- type: string | [string, ...string[]];
195
- addressCountry?: string | undefined;
196
- addressCountryCode?: string | undefined;
197
- addressRegion?: string | undefined;
198
- addressLocality?: string | undefined;
199
- streetAddress?: string | undefined;
200
- postOfficeBoxNumber?: string | undefined;
201
- postalCode?: string | undefined;
202
- geo?: {
203
- type: string | [string, ...string[]];
204
- latitude: number;
205
- longitude: number;
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, {
213
- type: string | [string, ...string[]];
214
- identifier: string;
215
- identifierType: string;
216
- }, {
217
- type: string | [string, ...string[]];
218
- identifier: string;
219
- identifierType: string;
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<{
232
- id: z.ZodOptional<z.ZodString>;
233
- type: z.ZodUnion<[z.ZodString, z.ZodOptional<z.ZodArray<z.ZodString, "atleastone">>]>;
35
+ type: z.ZodUnion<[z.ZodString, z.ZodOptional<z.ZodArray<z.ZodString>>]>;
234
36
  name: z.ZodOptional<z.ZodString>;
235
37
  url: z.ZodOptional<z.ZodString>;
236
38
  phone: z.ZodOptional<z.ZodString>;
237
39
  description: z.ZodOptional<z.ZodString>;
238
- endorsement: z.ZodOptional<z.ZodArray<z.ZodAny, "many">>;
40
+ endorsement: z.ZodOptional<z.ZodArray<z.ZodAny>>;
239
41
  image: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodObject<{
240
42
  id: z.ZodString;
241
43
  type: z.ZodString;
242
44
  caption: z.ZodOptional<z.ZodString>;
243
- }, "strip", z.ZodTypeAny, {
244
- type: string;
245
- id: string;
246
- caption?: string | undefined;
247
- }, {
248
- type: string;
249
- id: string;
250
- caption?: string | undefined;
251
- }>]>>;
45
+ }, z.core.$strip>]>>;
252
46
  email: z.ZodOptional<z.ZodString>;
253
47
  address: z.ZodOptional<z.ZodObject<{
254
- type: z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "atleastone">]>;
48
+ type: z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString>]>;
255
49
  addressCountry: z.ZodOptional<z.ZodString>;
256
50
  addressCountryCode: z.ZodOptional<z.ZodString>;
257
51
  addressRegion: z.ZodOptional<z.ZodString>;
@@ -260,60 +54,35 @@ export declare const CredentialInfoValidator: z.ZodObject<{
260
54
  postOfficeBoxNumber: z.ZodOptional<z.ZodString>;
261
55
  postalCode: z.ZodOptional<z.ZodString>;
262
56
  geo: z.ZodOptional<z.ZodObject<{
263
- type: z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "atleastone">]>;
57
+ type: z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString>]>;
264
58
  latitude: z.ZodNumber;
265
59
  longitude: z.ZodNumber;
266
- }, "strip", z.ZodTypeAny, {
267
- type: string | [string, ...string[]];
268
- latitude: number;
269
- longitude: number;
270
- }, {
271
- type: string | [string, ...string[]];
272
- latitude: number;
273
- longitude: number;
274
- }>>;
275
- }, "strip", z.ZodTypeAny, {
276
- type: string | [string, ...string[]];
277
- addressCountry?: string | undefined;
278
- addressCountryCode?: string | undefined;
279
- addressRegion?: string | undefined;
280
- addressLocality?: string | undefined;
281
- streetAddress?: string | undefined;
282
- postOfficeBoxNumber?: string | undefined;
283
- postalCode?: string | undefined;
284
- geo?: {
285
- type: string | [string, ...string[]];
286
- latitude: number;
287
- longitude: number;
288
- } | undefined;
289
- }, {
290
- type: string | [string, ...string[]];
291
- addressCountry?: string | undefined;
292
- addressCountryCode?: string | undefined;
293
- addressRegion?: string | undefined;
294
- addressLocality?: string | undefined;
295
- streetAddress?: string | undefined;
296
- postOfficeBoxNumber?: string | undefined;
297
- postalCode?: string | undefined;
298
- geo?: {
299
- type: string | [string, ...string[]];
300
- latitude: number;
301
- longitude: number;
302
- } | undefined;
303
- }>>;
60
+ }, z.core.$strip>>;
61
+ }, z.core.$strip>>;
304
62
  otherIdentifier: z.ZodOptional<z.ZodArray<z.ZodObject<{
305
- type: z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "atleastone">]>;
63
+ type: z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString>]>;
306
64
  identifier: z.ZodString;
307
- 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]>;
308
- }, "strip", z.ZodTypeAny, {
309
- type: string | [string, ...string[]];
310
- identifier: string;
311
- identifierType: string;
312
- }, {
313
- type: string | [string, ...string[]];
314
- identifier: string;
315
- identifierType: string;
316
- }>, "many">>;
65
+ identifierType: z.ZodUnion<[z.ZodEnum<{
66
+ sourcedId: "sourcedId";
67
+ systemId: "systemId";
68
+ productId: "productId";
69
+ userName: "userName";
70
+ accountId: "accountId";
71
+ emailAddress: "emailAddress";
72
+ nationalIdentityNumber: "nationalIdentityNumber";
73
+ isbn: "isbn";
74
+ issn: "issn";
75
+ lisSourcedId: "lisSourcedId";
76
+ oneRosterSourcedId: "oneRosterSourcedId";
77
+ sisSourcedId: "sisSourcedId";
78
+ ltiContextId: "ltiContextId";
79
+ ltiDeploymentId: "ltiDeploymentId";
80
+ ltiToolId: "ltiToolId";
81
+ ltiPlatformId: "ltiPlatformId";
82
+ ltiUserId: "ltiUserId";
83
+ identifier: "identifier";
84
+ }>, z.ZodString]>;
85
+ }, z.core.$strip>>>;
317
86
  official: z.ZodOptional<z.ZodString>;
318
87
  parentOrg: z.ZodOptional<z.ZodAny>;
319
88
  familyName: z.ZodOptional<z.ZodString>;
@@ -324,31 +93,23 @@ export declare const CredentialInfoValidator: z.ZodObject<{
324
93
  honorificSuffix: z.ZodOptional<z.ZodString>;
325
94
  familyNamePrefix: z.ZodOptional<z.ZodString>;
326
95
  dateOfBirth: z.ZodOptional<z.ZodString>;
327
- }, z.ZodAny, "strip">>]>>;
96
+ }, z.core.$catchall<z.ZodAny>>]>>;
328
97
  issuee: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodObject<{
329
98
  id: z.ZodOptional<z.ZodString>;
330
- type: z.ZodUnion<[z.ZodString, z.ZodOptional<z.ZodArray<z.ZodString, "atleastone">>]>;
99
+ type: z.ZodUnion<[z.ZodString, z.ZodOptional<z.ZodArray<z.ZodString>>]>;
331
100
  name: z.ZodOptional<z.ZodString>;
332
101
  url: z.ZodOptional<z.ZodString>;
333
102
  phone: z.ZodOptional<z.ZodString>;
334
103
  description: z.ZodOptional<z.ZodString>;
335
- endorsement: z.ZodOptional<z.ZodArray<z.ZodAny, "many">>;
104
+ endorsement: z.ZodOptional<z.ZodArray<z.ZodAny>>;
336
105
  image: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodObject<{
337
106
  id: z.ZodString;
338
107
  type: z.ZodString;
339
108
  caption: z.ZodOptional<z.ZodString>;
340
- }, "strip", z.ZodTypeAny, {
341
- type: string;
342
- id: string;
343
- caption?: string | undefined;
344
- }, {
345
- type: string;
346
- id: string;
347
- caption?: string | undefined;
348
- }>]>>;
109
+ }, z.core.$strip>]>>;
349
110
  email: z.ZodOptional<z.ZodString>;
350
111
  address: z.ZodOptional<z.ZodObject<{
351
- type: z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "atleastone">]>;
112
+ type: z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString>]>;
352
113
  addressCountry: z.ZodOptional<z.ZodString>;
353
114
  addressCountryCode: z.ZodOptional<z.ZodString>;
354
115
  addressRegion: z.ZodOptional<z.ZodString>;
@@ -357,60 +118,35 @@ export declare const CredentialInfoValidator: z.ZodObject<{
357
118
  postOfficeBoxNumber: z.ZodOptional<z.ZodString>;
358
119
  postalCode: z.ZodOptional<z.ZodString>;
359
120
  geo: z.ZodOptional<z.ZodObject<{
360
- type: z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "atleastone">]>;
121
+ type: z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString>]>;
361
122
  latitude: z.ZodNumber;
362
123
  longitude: z.ZodNumber;
363
- }, "strip", z.ZodTypeAny, {
364
- type: string | [string, ...string[]];
365
- latitude: number;
366
- longitude: number;
367
- }, {
368
- type: string | [string, ...string[]];
369
- latitude: number;
370
- longitude: number;
371
- }>>;
372
- }, "strip", z.ZodTypeAny, {
373
- type: string | [string, ...string[]];
374
- addressCountry?: string | undefined;
375
- addressCountryCode?: string | undefined;
376
- addressRegion?: string | undefined;
377
- addressLocality?: string | undefined;
378
- streetAddress?: string | undefined;
379
- postOfficeBoxNumber?: string | undefined;
380
- postalCode?: string | undefined;
381
- geo?: {
382
- type: string | [string, ...string[]];
383
- latitude: number;
384
- longitude: number;
385
- } | undefined;
386
- }, {
387
- type: string | [string, ...string[]];
388
- addressCountry?: string | undefined;
389
- addressCountryCode?: string | undefined;
390
- addressRegion?: string | undefined;
391
- addressLocality?: string | undefined;
392
- streetAddress?: string | undefined;
393
- postOfficeBoxNumber?: string | undefined;
394
- postalCode?: string | undefined;
395
- geo?: {
396
- type: string | [string, ...string[]];
397
- latitude: number;
398
- longitude: number;
399
- } | undefined;
400
- }>>;
124
+ }, z.core.$strip>>;
125
+ }, z.core.$strip>>;
401
126
  otherIdentifier: z.ZodOptional<z.ZodArray<z.ZodObject<{
402
- type: z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "atleastone">]>;
127
+ type: z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString>]>;
403
128
  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, {
406
- type: string | [string, ...string[]];
407
- identifier: string;
408
- identifierType: string;
409
- }, {
410
- type: string | [string, ...string[]];
411
- identifier: string;
412
- identifierType: string;
413
- }>, "many">>;
129
+ identifierType: z.ZodUnion<[z.ZodEnum<{
130
+ sourcedId: "sourcedId";
131
+ systemId: "systemId";
132
+ productId: "productId";
133
+ userName: "userName";
134
+ accountId: "accountId";
135
+ emailAddress: "emailAddress";
136
+ nationalIdentityNumber: "nationalIdentityNumber";
137
+ isbn: "isbn";
138
+ issn: "issn";
139
+ lisSourcedId: "lisSourcedId";
140
+ oneRosterSourcedId: "oneRosterSourcedId";
141
+ sisSourcedId: "sisSourcedId";
142
+ ltiContextId: "ltiContextId";
143
+ ltiDeploymentId: "ltiDeploymentId";
144
+ ltiToolId: "ltiToolId";
145
+ ltiPlatformId: "ltiPlatformId";
146
+ ltiUserId: "ltiUserId";
147
+ identifier: "identifier";
148
+ }>, z.ZodString]>;
149
+ }, z.core.$strip>>>;
414
150
  official: z.ZodOptional<z.ZodString>;
415
151
  parentOrg: z.ZodOptional<z.ZodAny>;
416
152
  familyName: z.ZodOptional<z.ZodString>;
@@ -421,607 +157,11 @@ export declare const CredentialInfoValidator: z.ZodObject<{
421
157
  honorificSuffix: z.ZodOptional<z.ZodString>;
422
158
  familyNamePrefix: z.ZodOptional<z.ZodString>;
423
159
  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;
439
- caption?: string | undefined;
440
- }, {
441
- type: string;
442
- id: string;
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, {
460
- type: string | [string, ...string[]];
461
- latitude: number;
462
- longitude: number;
463
- }, {
464
- type: string | [string, ...string[]];
465
- latitude: number;
466
- longitude: number;
467
- }>>;
468
- }, "strip", z.ZodTypeAny, {
469
- type: string | [string, ...string[]];
470
- addressCountry?: string | undefined;
471
- addressCountryCode?: string | undefined;
472
- addressRegion?: string | undefined;
473
- addressLocality?: string | undefined;
474
- streetAddress?: string | undefined;
475
- postOfficeBoxNumber?: string | undefined;
476
- postalCode?: string | undefined;
477
- geo?: {
478
- type: string | [string, ...string[]];
479
- latitude: number;
480
- longitude: number;
481
- } | undefined;
482
- }, {
483
- type: string | [string, ...string[]];
484
- addressCountry?: string | undefined;
485
- addressCountryCode?: string | undefined;
486
- addressRegion?: string | undefined;
487
- addressLocality?: string | undefined;
488
- streetAddress?: string | undefined;
489
- postOfficeBoxNumber?: string | undefined;
490
- postalCode?: string | undefined;
491
- geo?: {
492
- type: string | [string, ...string[]];
493
- latitude: number;
494
- longitude: number;
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, {
502
- type: string | [string, ...string[]];
503
- identifier: string;
504
- identifierType: string;
505
- }, {
506
- type: string | [string, ...string[]];
507
- identifier: string;
508
- identifierType: string;
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">>]>>;
160
+ }, z.core.$catchall<z.ZodAny>>]>>;
617
161
  credentialSubject: z.ZodOptional<z.ZodObject<{
618
162
  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
- }>;
163
+ }, z.core.$catchall<z.ZodAny>>>;
164
+ }, z.core.$strip>;
1025
165
  export type CredentialInfo = z.infer<typeof CredentialInfoValidator>;
1026
166
  export type CredentialRecord<Metadata extends Record<string, any> = Record<never, never>> = {
1027
167
  id: string;
@@ -1031,11 +171,5 @@ export type CredentialRecord<Metadata extends Record<string, any> = Record<never
1031
171
  export declare const CredentialRecordValidator: z.ZodObject<{
1032
172
  id: z.ZodString;
1033
173
  uri: z.ZodString;
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">>;
174
+ }, z.core.$catchall<z.ZodAny>>;
1041
175
  //# sourceMappingURL=learncard.d.ts.map