@learncard/helpers 1.1.32 → 1.2.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/helpers.d.ts CHANGED
@@ -1,3655 +1,43 @@
1
1
  // Generated by dts-bundle-generator v6.13.0
2
2
 
3
3
  import { DataTransformer } from '@trpc/server';
4
+ import { Draft } from 'immer';
5
+ import { Dispatch, SetStateAction } from 'react';
6
+ import { DraftFunction, Updater } from 'use-immer';
4
7
 
5
8
  declare const UnsignedVCValidator: z.ZodObject<{
6
9
  "@context": z.ZodArray<z.ZodUnion<[
7
10
  z.ZodString,
8
11
  z.ZodRecord<z.ZodString, z.ZodAny>
9
- ]>, "many">;
10
- id: z.ZodOptional<z.ZodString>;
11
- type: z.ZodArray<z.ZodString, "atleastone">;
12
- issuer: z.ZodUnion<[
13
- z.ZodString,
14
- z.ZodObject<{
15
- id: z.ZodOptional<z.ZodString>;
16
- type: z.ZodUnion<[
17
- z.ZodString,
18
- z.ZodOptional<z.ZodArray<z.ZodString, "atleastone">>
19
- ]>;
20
- name: z.ZodOptional<z.ZodString>;
21
- url: z.ZodOptional<z.ZodString>;
22
- phone: z.ZodOptional<z.ZodString>;
23
- description: z.ZodOptional<z.ZodString>;
24
- endorsement: z.ZodOptional<z.ZodArray<z.ZodAny, "many">>;
25
- image: z.ZodOptional<z.ZodUnion<[
26
- z.ZodString,
27
- z.ZodObject<{
28
- id: z.ZodString;
29
- type: z.ZodString;
30
- caption: z.ZodOptional<z.ZodString>;
31
- }, "strip", z.ZodTypeAny, {
32
- type: string;
33
- id: string;
34
- caption?: string | undefined;
35
- }, {
36
- type: string;
37
- id: string;
38
- caption?: string | undefined;
39
- }>
40
- ]>>;
41
- email: z.ZodOptional<z.ZodString>;
42
- address: z.ZodOptional<z.ZodObject<{
43
- type: z.ZodUnion<[
44
- z.ZodString,
45
- z.ZodArray<z.ZodString, "atleastone">
46
- ]>;
47
- addressCountry: z.ZodOptional<z.ZodString>;
48
- addressCountryCode: z.ZodOptional<z.ZodString>;
49
- addressRegion: z.ZodOptional<z.ZodString>;
50
- addressLocality: z.ZodOptional<z.ZodString>;
51
- streetAddress: z.ZodOptional<z.ZodString>;
52
- postOfficeBoxNumber: z.ZodOptional<z.ZodString>;
53
- postalCode: z.ZodOptional<z.ZodString>;
54
- geo: z.ZodOptional<z.ZodObject<{
55
- type: z.ZodUnion<[
56
- z.ZodString,
57
- z.ZodArray<z.ZodString, "atleastone">
58
- ]>;
59
- latitude: z.ZodNumber;
60
- longitude: z.ZodNumber;
61
- }, "strip", z.ZodTypeAny, {
62
- type: string | [
63
- string,
64
- ...string[]
65
- ];
66
- latitude: number;
67
- longitude: number;
68
- }, {
69
- type: string | [
70
- string,
71
- ...string[]
72
- ];
73
- latitude: number;
74
- longitude: number;
75
- }>>;
76
- }, "strip", z.ZodTypeAny, {
77
- type: string | [
78
- string,
79
- ...string[]
80
- ];
81
- addressCountry?: string | undefined;
82
- addressCountryCode?: string | undefined;
83
- addressRegion?: string | undefined;
84
- addressLocality?: string | undefined;
85
- streetAddress?: string | undefined;
86
- postOfficeBoxNumber?: string | undefined;
87
- postalCode?: string | undefined;
88
- geo?: {
89
- type: string | [
90
- string,
91
- ...string[]
92
- ];
93
- latitude: number;
94
- longitude: number;
95
- } | undefined;
96
- }, {
97
- type: string | [
98
- string,
99
- ...string[]
100
- ];
101
- addressCountry?: string | undefined;
102
- addressCountryCode?: string | undefined;
103
- addressRegion?: string | undefined;
104
- addressLocality?: string | undefined;
105
- streetAddress?: string | undefined;
106
- postOfficeBoxNumber?: string | undefined;
107
- postalCode?: string | undefined;
108
- geo?: {
109
- type: string | [
110
- string,
111
- ...string[]
112
- ];
113
- latitude: number;
114
- longitude: number;
115
- } | undefined;
116
- }>>;
117
- otherIdentifier: z.ZodOptional<z.ZodArray<z.ZodObject<{
118
- type: z.ZodUnion<[
119
- z.ZodString,
120
- z.ZodArray<z.ZodString, "atleastone">
121
- ]>;
122
- identifier: z.ZodString;
123
- identifierType: z.ZodUnion<[
124
- z.ZodEnum<[
125
- "sourcedId",
126
- "systemId",
127
- "productId",
128
- "userName",
129
- "accountId",
130
- "emailAddress",
131
- "nationalIdentityNumber",
132
- "isbn",
133
- "issn",
134
- "lisSourcedId",
135
- "oneRosterSourcedId",
136
- "sisSourcedId",
137
- "ltiContextId",
138
- "ltiDeploymentId",
139
- "ltiToolId",
140
- "ltiPlatformId",
141
- "ltiUserId",
142
- "identifier"
143
- ]>,
144
- z.ZodString
145
- ]>;
146
- }, "strip", z.ZodTypeAny, {
147
- type: string | [
148
- string,
149
- ...string[]
150
- ];
151
- identifier: string;
152
- identifierType: string;
153
- }, {
154
- type: string | [
155
- string,
156
- ...string[]
157
- ];
158
- identifier: string;
159
- identifierType: string;
160
- }>, "many">>;
161
- official: z.ZodOptional<z.ZodString>;
162
- parentOrg: z.ZodOptional<z.ZodAny>;
163
- familyName: z.ZodOptional<z.ZodString>;
164
- givenName: z.ZodOptional<z.ZodString>;
165
- additionalName: z.ZodOptional<z.ZodString>;
166
- patronymicName: z.ZodOptional<z.ZodString>;
167
- honorificPrefix: z.ZodOptional<z.ZodString>;
168
- honorificSuffix: z.ZodOptional<z.ZodString>;
169
- familyNamePrefix: z.ZodOptional<z.ZodString>;
170
- dateOfBirth: z.ZodOptional<z.ZodString>;
171
- }, "strip", z.ZodAny, z.objectOutputType<{
172
- id: z.ZodOptional<z.ZodString>;
173
- type: z.ZodUnion<[
174
- z.ZodString,
175
- z.ZodOptional<z.ZodArray<z.ZodString, "atleastone">>
176
- ]>;
177
- name: z.ZodOptional<z.ZodString>;
178
- url: z.ZodOptional<z.ZodString>;
179
- phone: z.ZodOptional<z.ZodString>;
180
- description: z.ZodOptional<z.ZodString>;
181
- endorsement: z.ZodOptional<z.ZodArray<z.ZodAny, "many">>;
182
- image: z.ZodOptional<z.ZodUnion<[
183
- z.ZodString,
184
- z.ZodObject<{
185
- id: z.ZodString;
186
- type: z.ZodString;
187
- caption: z.ZodOptional<z.ZodString>;
188
- }, "strip", z.ZodTypeAny, {
189
- type: string;
190
- id: string;
191
- caption?: string | undefined;
192
- }, {
193
- type: string;
194
- id: string;
195
- caption?: string | undefined;
196
- }>
197
- ]>>;
198
- email: z.ZodOptional<z.ZodString>;
199
- address: z.ZodOptional<z.ZodObject<{
200
- type: z.ZodUnion<[
201
- z.ZodString,
202
- z.ZodArray<z.ZodString, "atleastone">
203
- ]>;
204
- addressCountry: z.ZodOptional<z.ZodString>;
205
- addressCountryCode: z.ZodOptional<z.ZodString>;
206
- addressRegion: z.ZodOptional<z.ZodString>;
207
- addressLocality: z.ZodOptional<z.ZodString>;
208
- streetAddress: z.ZodOptional<z.ZodString>;
209
- postOfficeBoxNumber: z.ZodOptional<z.ZodString>;
210
- postalCode: z.ZodOptional<z.ZodString>;
211
- geo: z.ZodOptional<z.ZodObject<{
212
- type: z.ZodUnion<[
213
- z.ZodString,
214
- z.ZodArray<z.ZodString, "atleastone">
215
- ]>;
216
- latitude: z.ZodNumber;
217
- longitude: z.ZodNumber;
218
- }, "strip", z.ZodTypeAny, {
219
- type: string | [
220
- string,
221
- ...string[]
222
- ];
223
- latitude: number;
224
- longitude: number;
225
- }, {
226
- type: string | [
227
- string,
228
- ...string[]
229
- ];
230
- latitude: number;
231
- longitude: number;
232
- }>>;
233
- }, "strip", z.ZodTypeAny, {
234
- type: string | [
235
- string,
236
- ...string[]
237
- ];
238
- addressCountry?: string | undefined;
239
- addressCountryCode?: string | undefined;
240
- addressRegion?: string | undefined;
241
- addressLocality?: string | undefined;
242
- streetAddress?: string | undefined;
243
- postOfficeBoxNumber?: string | undefined;
244
- postalCode?: string | undefined;
245
- geo?: {
246
- type: string | [
247
- string,
248
- ...string[]
249
- ];
250
- latitude: number;
251
- longitude: number;
252
- } | undefined;
253
- }, {
254
- type: string | [
255
- string,
256
- ...string[]
257
- ];
258
- addressCountry?: string | undefined;
259
- addressCountryCode?: string | undefined;
260
- addressRegion?: string | undefined;
261
- addressLocality?: string | undefined;
262
- streetAddress?: string | undefined;
263
- postOfficeBoxNumber?: string | undefined;
264
- postalCode?: string | undefined;
265
- geo?: {
266
- type: string | [
267
- string,
268
- ...string[]
269
- ];
270
- latitude: number;
271
- longitude: number;
272
- } | undefined;
273
- }>>;
274
- otherIdentifier: z.ZodOptional<z.ZodArray<z.ZodObject<{
275
- type: z.ZodUnion<[
276
- z.ZodString,
277
- z.ZodArray<z.ZodString, "atleastone">
278
- ]>;
279
- identifier: z.ZodString;
280
- identifierType: z.ZodUnion<[
281
- z.ZodEnum<[
282
- "sourcedId",
283
- "systemId",
284
- "productId",
285
- "userName",
286
- "accountId",
287
- "emailAddress",
288
- "nationalIdentityNumber",
289
- "isbn",
290
- "issn",
291
- "lisSourcedId",
292
- "oneRosterSourcedId",
293
- "sisSourcedId",
294
- "ltiContextId",
295
- "ltiDeploymentId",
296
- "ltiToolId",
297
- "ltiPlatformId",
298
- "ltiUserId",
299
- "identifier"
300
- ]>,
301
- z.ZodString
302
- ]>;
303
- }, "strip", z.ZodTypeAny, {
304
- type: string | [
305
- string,
306
- ...string[]
307
- ];
308
- identifier: string;
309
- identifierType: string;
310
- }, {
311
- type: string | [
312
- string,
313
- ...string[]
314
- ];
315
- identifier: string;
316
- identifierType: string;
317
- }>, "many">>;
318
- official: z.ZodOptional<z.ZodString>;
319
- parentOrg: z.ZodOptional<z.ZodAny>;
320
- familyName: z.ZodOptional<z.ZodString>;
321
- givenName: z.ZodOptional<z.ZodString>;
322
- additionalName: z.ZodOptional<z.ZodString>;
323
- patronymicName: z.ZodOptional<z.ZodString>;
324
- honorificPrefix: z.ZodOptional<z.ZodString>;
325
- honorificSuffix: z.ZodOptional<z.ZodString>;
326
- familyNamePrefix: z.ZodOptional<z.ZodString>;
327
- dateOfBirth: z.ZodOptional<z.ZodString>;
328
- }, z.ZodAny, "strip">, z.objectInputType<{
329
- id: z.ZodOptional<z.ZodString>;
330
- type: z.ZodUnion<[
331
- z.ZodString,
332
- z.ZodOptional<z.ZodArray<z.ZodString, "atleastone">>
333
- ]>;
334
- name: z.ZodOptional<z.ZodString>;
335
- url: z.ZodOptional<z.ZodString>;
336
- phone: z.ZodOptional<z.ZodString>;
337
- description: z.ZodOptional<z.ZodString>;
338
- endorsement: z.ZodOptional<z.ZodArray<z.ZodAny, "many">>;
339
- image: z.ZodOptional<z.ZodUnion<[
340
- z.ZodString,
341
- z.ZodObject<{
342
- id: z.ZodString;
343
- type: z.ZodString;
344
- caption: z.ZodOptional<z.ZodString>;
345
- }, "strip", z.ZodTypeAny, {
346
- type: string;
347
- id: string;
348
- caption?: string | undefined;
349
- }, {
350
- type: string;
351
- id: string;
352
- caption?: string | undefined;
353
- }>
354
- ]>>;
355
- email: z.ZodOptional<z.ZodString>;
356
- address: z.ZodOptional<z.ZodObject<{
357
- type: z.ZodUnion<[
358
- z.ZodString,
359
- z.ZodArray<z.ZodString, "atleastone">
360
- ]>;
361
- addressCountry: z.ZodOptional<z.ZodString>;
362
- addressCountryCode: z.ZodOptional<z.ZodString>;
363
- addressRegion: z.ZodOptional<z.ZodString>;
364
- addressLocality: z.ZodOptional<z.ZodString>;
365
- streetAddress: z.ZodOptional<z.ZodString>;
366
- postOfficeBoxNumber: z.ZodOptional<z.ZodString>;
367
- postalCode: z.ZodOptional<z.ZodString>;
368
- geo: z.ZodOptional<z.ZodObject<{
369
- type: z.ZodUnion<[
370
- z.ZodString,
371
- z.ZodArray<z.ZodString, "atleastone">
372
- ]>;
373
- latitude: z.ZodNumber;
374
- longitude: z.ZodNumber;
375
- }, "strip", z.ZodTypeAny, {
376
- type: string | [
377
- string,
378
- ...string[]
379
- ];
380
- latitude: number;
381
- longitude: number;
382
- }, {
383
- type: string | [
384
- string,
385
- ...string[]
386
- ];
387
- latitude: number;
388
- longitude: number;
389
- }>>;
390
- }, "strip", z.ZodTypeAny, {
391
- type: string | [
392
- string,
393
- ...string[]
394
- ];
395
- addressCountry?: string | undefined;
396
- addressCountryCode?: string | undefined;
397
- addressRegion?: string | undefined;
398
- addressLocality?: string | undefined;
399
- streetAddress?: string | undefined;
400
- postOfficeBoxNumber?: string | undefined;
401
- postalCode?: string | undefined;
402
- geo?: {
403
- type: string | [
404
- string,
405
- ...string[]
406
- ];
407
- latitude: number;
408
- longitude: number;
409
- } | undefined;
410
- }, {
411
- type: string | [
412
- string,
413
- ...string[]
414
- ];
415
- addressCountry?: string | undefined;
416
- addressCountryCode?: string | undefined;
417
- addressRegion?: string | undefined;
418
- addressLocality?: string | undefined;
419
- streetAddress?: string | undefined;
420
- postOfficeBoxNumber?: string | undefined;
421
- postalCode?: string | undefined;
422
- geo?: {
423
- type: string | [
424
- string,
425
- ...string[]
426
- ];
427
- latitude: number;
428
- longitude: number;
429
- } | undefined;
430
- }>>;
431
- otherIdentifier: z.ZodOptional<z.ZodArray<z.ZodObject<{
432
- type: z.ZodUnion<[
433
- z.ZodString,
434
- z.ZodArray<z.ZodString, "atleastone">
435
- ]>;
436
- identifier: z.ZodString;
437
- identifierType: z.ZodUnion<[
438
- z.ZodEnum<[
439
- "sourcedId",
440
- "systemId",
441
- "productId",
442
- "userName",
443
- "accountId",
444
- "emailAddress",
445
- "nationalIdentityNumber",
446
- "isbn",
447
- "issn",
448
- "lisSourcedId",
449
- "oneRosterSourcedId",
450
- "sisSourcedId",
451
- "ltiContextId",
452
- "ltiDeploymentId",
453
- "ltiToolId",
454
- "ltiPlatformId",
455
- "ltiUserId",
456
- "identifier"
457
- ]>,
458
- z.ZodString
459
- ]>;
460
- }, "strip", z.ZodTypeAny, {
461
- type: string | [
462
- string,
463
- ...string[]
464
- ];
465
- identifier: string;
466
- identifierType: string;
467
- }, {
468
- type: string | [
469
- string,
470
- ...string[]
471
- ];
472
- identifier: string;
473
- identifierType: string;
474
- }>, "many">>;
475
- official: z.ZodOptional<z.ZodString>;
476
- parentOrg: z.ZodOptional<z.ZodAny>;
477
- familyName: z.ZodOptional<z.ZodString>;
478
- givenName: z.ZodOptional<z.ZodString>;
479
- additionalName: z.ZodOptional<z.ZodString>;
480
- patronymicName: z.ZodOptional<z.ZodString>;
481
- honorificPrefix: z.ZodOptional<z.ZodString>;
482
- honorificSuffix: z.ZodOptional<z.ZodString>;
483
- familyNamePrefix: z.ZodOptional<z.ZodString>;
484
- dateOfBirth: z.ZodOptional<z.ZodString>;
485
- }, z.ZodAny, "strip">>
486
- ]>;
487
- credentialSubject: z.ZodUnion<[
488
- z.ZodObject<{
489
- id: z.ZodOptional<z.ZodString>;
490
- }, "strip", z.ZodAny, z.objectOutputType<{
491
- id: z.ZodOptional<z.ZodString>;
492
- }, z.ZodAny, "strip">, z.objectInputType<{
493
- id: z.ZodOptional<z.ZodString>;
494
- }, z.ZodAny, "strip">>,
495
- z.ZodArray<z.ZodObject<{
496
- id: z.ZodOptional<z.ZodString>;
497
- }, "strip", z.ZodAny, z.objectOutputType<{
498
- id: z.ZodOptional<z.ZodString>;
499
- }, z.ZodAny, "strip">, z.objectInputType<{
500
- id: z.ZodOptional<z.ZodString>;
501
- }, z.ZodAny, "strip">>, "many">
502
- ]>;
503
- refreshService: z.ZodOptional<z.ZodUnion<[
504
- z.ZodObject<{
505
- id: z.ZodOptional<z.ZodString>;
506
- type: z.ZodString;
507
- }, "strip", z.ZodAny, z.objectOutputType<{
508
- id: z.ZodOptional<z.ZodString>;
509
- type: z.ZodString;
510
- }, z.ZodAny, "strip">, z.objectInputType<{
511
- id: z.ZodOptional<z.ZodString>;
512
- type: z.ZodString;
513
- }, z.ZodAny, "strip">>,
514
- z.ZodArray<z.ZodObject<{
515
- id: z.ZodOptional<z.ZodString>;
516
- type: z.ZodString;
517
- }, "strip", z.ZodAny, z.objectOutputType<{
518
- id: z.ZodOptional<z.ZodString>;
519
- type: z.ZodString;
520
- }, z.ZodAny, "strip">, z.objectInputType<{
521
- id: z.ZodOptional<z.ZodString>;
522
- type: z.ZodString;
523
- }, z.ZodAny, "strip">>, "many">
524
- ]>>;
525
- credentialSchema: z.ZodOptional<z.ZodUnion<[
526
- z.ZodObject<{
527
- id: z.ZodString;
528
- type: z.ZodString;
529
- }, "strip", z.ZodAny, z.objectOutputType<{
530
- id: z.ZodString;
531
- type: z.ZodString;
532
- }, z.ZodAny, "strip">, z.objectInputType<{
533
- id: z.ZodString;
534
- type: z.ZodString;
535
- }, z.ZodAny, "strip">>,
536
- z.ZodArray<z.ZodObject<{
537
- id: z.ZodString;
538
- type: z.ZodString;
539
- }, "strip", z.ZodAny, z.objectOutputType<{
540
- id: z.ZodString;
541
- type: z.ZodString;
542
- }, z.ZodAny, "strip">, z.objectInputType<{
543
- id: z.ZodString;
544
- type: z.ZodString;
545
- }, z.ZodAny, "strip">>, "many">
546
- ]>>;
547
- issuanceDate: z.ZodOptional<z.ZodString>;
548
- expirationDate: z.ZodOptional<z.ZodString>;
549
- credentialStatus: z.ZodOptional<z.ZodUnion<[
550
- z.ZodObject<{
551
- type: z.ZodString;
552
- id: z.ZodString;
553
- }, "strip", z.ZodAny, z.objectOutputType<{
554
- type: z.ZodString;
555
- id: z.ZodString;
556
- }, z.ZodAny, "strip">, z.objectInputType<{
557
- type: z.ZodString;
558
- id: z.ZodString;
559
- }, z.ZodAny, "strip">>,
560
- z.ZodArray<z.ZodObject<{
561
- type: z.ZodString;
562
- id: z.ZodString;
563
- }, "strip", z.ZodAny, z.objectOutputType<{
564
- type: z.ZodString;
565
- id: z.ZodString;
566
- }, z.ZodAny, "strip">, z.objectInputType<{
567
- type: z.ZodString;
568
- id: z.ZodString;
569
- }, z.ZodAny, "strip">>, "many">
570
- ]>>;
571
- name: z.ZodOptional<z.ZodString>;
572
- description: z.ZodOptional<z.ZodString>;
573
- validFrom: z.ZodOptional<z.ZodString>;
574
- validUntil: z.ZodOptional<z.ZodString>;
575
- status: z.ZodOptional<z.ZodUnion<[
576
- z.ZodObject<{
577
- type: z.ZodString;
578
- id: z.ZodString;
579
- }, "strip", z.ZodAny, z.objectOutputType<{
580
- type: z.ZodString;
581
- id: z.ZodString;
582
- }, z.ZodAny, "strip">, z.objectInputType<{
583
- type: z.ZodString;
584
- id: z.ZodString;
585
- }, z.ZodAny, "strip">>,
586
- z.ZodArray<z.ZodObject<{
587
- type: z.ZodString;
588
- id: z.ZodString;
589
- }, "strip", z.ZodAny, z.objectOutputType<{
590
- type: z.ZodString;
591
- id: z.ZodString;
592
- }, z.ZodAny, "strip">, z.objectInputType<{
593
- type: z.ZodString;
594
- id: z.ZodString;
595
- }, z.ZodAny, "strip">>, "many">
596
- ]>>;
597
- termsOfUse: z.ZodOptional<z.ZodUnion<[
598
- z.ZodObject<{
599
- type: z.ZodString;
600
- id: z.ZodOptional<z.ZodString>;
601
- }, "strip", z.ZodAny, z.objectOutputType<{
602
- type: z.ZodString;
603
- id: z.ZodOptional<z.ZodString>;
604
- }, z.ZodAny, "strip">, z.objectInputType<{
605
- type: z.ZodString;
606
- id: z.ZodOptional<z.ZodString>;
607
- }, z.ZodAny, "strip">>,
608
- z.ZodArray<z.ZodObject<{
609
- type: z.ZodString;
610
- id: z.ZodOptional<z.ZodString>;
611
- }, "strip", z.ZodAny, z.objectOutputType<{
612
- type: z.ZodString;
613
- id: z.ZodOptional<z.ZodString>;
614
- }, z.ZodAny, "strip">, z.objectInputType<{
615
- type: z.ZodString;
616
- id: z.ZodOptional<z.ZodString>;
617
- }, z.ZodAny, "strip">>, "many">
618
- ]>>;
619
- evidence: z.ZodOptional<z.ZodUnion<[
620
- z.ZodObject<{
621
- id: z.ZodOptional<z.ZodString>;
622
- type: z.ZodArray<z.ZodString, "atleastone">;
623
- name: z.ZodOptional<z.ZodString>;
624
- narrative: z.ZodOptional<z.ZodString>;
625
- description: z.ZodOptional<z.ZodString>;
626
- genre: z.ZodOptional<z.ZodString>;
627
- audience: z.ZodOptional<z.ZodString>;
628
- }, "strip", z.ZodAny, z.objectOutputType<{
629
- id: z.ZodOptional<z.ZodString>;
630
- type: z.ZodArray<z.ZodString, "atleastone">;
631
- name: z.ZodOptional<z.ZodString>;
632
- narrative: z.ZodOptional<z.ZodString>;
633
- description: z.ZodOptional<z.ZodString>;
634
- genre: z.ZodOptional<z.ZodString>;
635
- audience: z.ZodOptional<z.ZodString>;
636
- }, z.ZodAny, "strip">, z.objectInputType<{
637
- id: z.ZodOptional<z.ZodString>;
638
- type: z.ZodArray<z.ZodString, "atleastone">;
639
- name: z.ZodOptional<z.ZodString>;
640
- narrative: z.ZodOptional<z.ZodString>;
641
- description: z.ZodOptional<z.ZodString>;
642
- genre: z.ZodOptional<z.ZodString>;
643
- audience: z.ZodOptional<z.ZodString>;
644
- }, z.ZodAny, "strip">>,
645
- z.ZodArray<z.ZodObject<{
646
- id: z.ZodOptional<z.ZodString>;
647
- type: z.ZodArray<z.ZodString, "atleastone">;
648
- name: z.ZodOptional<z.ZodString>;
649
- narrative: z.ZodOptional<z.ZodString>;
650
- description: z.ZodOptional<z.ZodString>;
651
- genre: z.ZodOptional<z.ZodString>;
652
- audience: z.ZodOptional<z.ZodString>;
653
- }, "strip", z.ZodAny, z.objectOutputType<{
654
- id: z.ZodOptional<z.ZodString>;
655
- type: z.ZodArray<z.ZodString, "atleastone">;
656
- name: z.ZodOptional<z.ZodString>;
657
- narrative: z.ZodOptional<z.ZodString>;
658
- description: z.ZodOptional<z.ZodString>;
659
- genre: z.ZodOptional<z.ZodString>;
660
- audience: z.ZodOptional<z.ZodString>;
661
- }, z.ZodAny, "strip">, z.objectInputType<{
662
- id: z.ZodOptional<z.ZodString>;
663
- type: z.ZodArray<z.ZodString, "atleastone">;
664
- name: z.ZodOptional<z.ZodString>;
665
- narrative: z.ZodOptional<z.ZodString>;
666
- description: z.ZodOptional<z.ZodString>;
667
- genre: z.ZodOptional<z.ZodString>;
668
- audience: z.ZodOptional<z.ZodString>;
669
- }, z.ZodAny, "strip">>, "many">
670
- ]>>;
671
- }, "strip", z.ZodAny, z.objectOutputType<{
672
- "@context": z.ZodArray<z.ZodUnion<[
673
- z.ZodString,
674
- z.ZodRecord<z.ZodString, z.ZodAny>
675
- ]>, "many">;
676
- id: z.ZodOptional<z.ZodString>;
677
- type: z.ZodArray<z.ZodString, "atleastone">;
678
- issuer: z.ZodUnion<[
679
- z.ZodString,
680
- z.ZodObject<{
681
- id: z.ZodOptional<z.ZodString>;
682
- type: z.ZodUnion<[
683
- z.ZodString,
684
- z.ZodOptional<z.ZodArray<z.ZodString, "atleastone">>
685
- ]>;
686
- name: z.ZodOptional<z.ZodString>;
687
- url: z.ZodOptional<z.ZodString>;
688
- phone: z.ZodOptional<z.ZodString>;
689
- description: z.ZodOptional<z.ZodString>;
690
- endorsement: z.ZodOptional<z.ZodArray<z.ZodAny, "many">>;
691
- image: z.ZodOptional<z.ZodUnion<[
692
- z.ZodString,
693
- z.ZodObject<{
694
- id: z.ZodString;
695
- type: z.ZodString;
696
- caption: z.ZodOptional<z.ZodString>;
697
- }, "strip", z.ZodTypeAny, {
698
- type: string;
699
- id: string;
700
- caption?: string | undefined;
701
- }, {
702
- type: string;
703
- id: string;
704
- caption?: string | undefined;
705
- }>
706
- ]>>;
707
- email: z.ZodOptional<z.ZodString>;
708
- address: z.ZodOptional<z.ZodObject<{
709
- type: z.ZodUnion<[
710
- z.ZodString,
711
- z.ZodArray<z.ZodString, "atleastone">
712
- ]>;
713
- addressCountry: z.ZodOptional<z.ZodString>;
714
- addressCountryCode: z.ZodOptional<z.ZodString>;
715
- addressRegion: z.ZodOptional<z.ZodString>;
716
- addressLocality: z.ZodOptional<z.ZodString>;
717
- streetAddress: z.ZodOptional<z.ZodString>;
718
- postOfficeBoxNumber: z.ZodOptional<z.ZodString>;
719
- postalCode: z.ZodOptional<z.ZodString>;
720
- geo: z.ZodOptional<z.ZodObject<{
721
- type: z.ZodUnion<[
722
- z.ZodString,
723
- z.ZodArray<z.ZodString, "atleastone">
724
- ]>;
725
- latitude: z.ZodNumber;
726
- longitude: z.ZodNumber;
727
- }, "strip", z.ZodTypeAny, {
728
- type: string | [
729
- string,
730
- ...string[]
731
- ];
732
- latitude: number;
733
- longitude: number;
734
- }, {
735
- type: string | [
736
- string,
737
- ...string[]
738
- ];
739
- latitude: number;
740
- longitude: number;
741
- }>>;
742
- }, "strip", z.ZodTypeAny, {
743
- type: string | [
744
- string,
745
- ...string[]
746
- ];
747
- addressCountry?: string | undefined;
748
- addressCountryCode?: string | undefined;
749
- addressRegion?: string | undefined;
750
- addressLocality?: string | undefined;
751
- streetAddress?: string | undefined;
752
- postOfficeBoxNumber?: string | undefined;
753
- postalCode?: string | undefined;
754
- geo?: {
755
- type: string | [
756
- string,
757
- ...string[]
758
- ];
759
- latitude: number;
760
- longitude: number;
761
- } | undefined;
762
- }, {
763
- type: string | [
764
- string,
765
- ...string[]
766
- ];
767
- addressCountry?: string | undefined;
768
- addressCountryCode?: string | undefined;
769
- addressRegion?: string | undefined;
770
- addressLocality?: string | undefined;
771
- streetAddress?: string | undefined;
772
- postOfficeBoxNumber?: string | undefined;
773
- postalCode?: string | undefined;
774
- geo?: {
775
- type: string | [
776
- string,
777
- ...string[]
778
- ];
779
- latitude: number;
780
- longitude: number;
781
- } | undefined;
782
- }>>;
783
- otherIdentifier: z.ZodOptional<z.ZodArray<z.ZodObject<{
784
- type: z.ZodUnion<[
785
- z.ZodString,
786
- z.ZodArray<z.ZodString, "atleastone">
787
- ]>;
788
- identifier: z.ZodString;
789
- identifierType: z.ZodUnion<[
790
- z.ZodEnum<[
791
- "sourcedId",
792
- "systemId",
793
- "productId",
794
- "userName",
795
- "accountId",
796
- "emailAddress",
797
- "nationalIdentityNumber",
798
- "isbn",
799
- "issn",
800
- "lisSourcedId",
801
- "oneRosterSourcedId",
802
- "sisSourcedId",
803
- "ltiContextId",
804
- "ltiDeploymentId",
805
- "ltiToolId",
806
- "ltiPlatformId",
807
- "ltiUserId",
808
- "identifier"
809
- ]>,
810
- z.ZodString
811
- ]>;
812
- }, "strip", z.ZodTypeAny, {
813
- type: string | [
814
- string,
815
- ...string[]
816
- ];
817
- identifier: string;
818
- identifierType: string;
819
- }, {
820
- type: string | [
821
- string,
822
- ...string[]
823
- ];
824
- identifier: string;
825
- identifierType: string;
826
- }>, "many">>;
827
- official: z.ZodOptional<z.ZodString>;
828
- parentOrg: z.ZodOptional<z.ZodAny>;
829
- familyName: z.ZodOptional<z.ZodString>;
830
- givenName: z.ZodOptional<z.ZodString>;
831
- additionalName: z.ZodOptional<z.ZodString>;
832
- patronymicName: z.ZodOptional<z.ZodString>;
833
- honorificPrefix: z.ZodOptional<z.ZodString>;
834
- honorificSuffix: z.ZodOptional<z.ZodString>;
835
- familyNamePrefix: z.ZodOptional<z.ZodString>;
836
- dateOfBirth: z.ZodOptional<z.ZodString>;
837
- }, "strip", z.ZodAny, z.objectOutputType<{
838
- id: z.ZodOptional<z.ZodString>;
839
- type: z.ZodUnion<[
840
- z.ZodString,
841
- z.ZodOptional<z.ZodArray<z.ZodString, "atleastone">>
842
- ]>;
843
- name: z.ZodOptional<z.ZodString>;
844
- url: z.ZodOptional<z.ZodString>;
845
- phone: z.ZodOptional<z.ZodString>;
846
- description: z.ZodOptional<z.ZodString>;
847
- endorsement: z.ZodOptional<z.ZodArray<z.ZodAny, "many">>;
848
- image: z.ZodOptional<z.ZodUnion<[
849
- z.ZodString,
850
- z.ZodObject<{
851
- id: z.ZodString;
852
- type: z.ZodString;
853
- caption: z.ZodOptional<z.ZodString>;
854
- }, "strip", z.ZodTypeAny, {
855
- type: string;
856
- id: string;
857
- caption?: string | undefined;
858
- }, {
859
- type: string;
860
- id: string;
861
- caption?: string | undefined;
862
- }>
863
- ]>>;
864
- email: z.ZodOptional<z.ZodString>;
865
- address: z.ZodOptional<z.ZodObject<{
866
- type: z.ZodUnion<[
867
- z.ZodString,
868
- z.ZodArray<z.ZodString, "atleastone">
869
- ]>;
870
- addressCountry: z.ZodOptional<z.ZodString>;
871
- addressCountryCode: z.ZodOptional<z.ZodString>;
872
- addressRegion: z.ZodOptional<z.ZodString>;
873
- addressLocality: z.ZodOptional<z.ZodString>;
874
- streetAddress: z.ZodOptional<z.ZodString>;
875
- postOfficeBoxNumber: z.ZodOptional<z.ZodString>;
876
- postalCode: z.ZodOptional<z.ZodString>;
877
- geo: z.ZodOptional<z.ZodObject<{
878
- type: z.ZodUnion<[
879
- z.ZodString,
880
- z.ZodArray<z.ZodString, "atleastone">
881
- ]>;
882
- latitude: z.ZodNumber;
883
- longitude: z.ZodNumber;
884
- }, "strip", z.ZodTypeAny, {
885
- type: string | [
886
- string,
887
- ...string[]
888
- ];
889
- latitude: number;
890
- longitude: number;
891
- }, {
892
- type: string | [
893
- string,
894
- ...string[]
895
- ];
896
- latitude: number;
897
- longitude: number;
898
- }>>;
899
- }, "strip", z.ZodTypeAny, {
900
- type: string | [
901
- string,
902
- ...string[]
903
- ];
904
- addressCountry?: string | undefined;
905
- addressCountryCode?: string | undefined;
906
- addressRegion?: string | undefined;
907
- addressLocality?: string | undefined;
908
- streetAddress?: string | undefined;
909
- postOfficeBoxNumber?: string | undefined;
910
- postalCode?: string | undefined;
911
- geo?: {
912
- type: string | [
913
- string,
914
- ...string[]
915
- ];
916
- latitude: number;
917
- longitude: number;
918
- } | undefined;
919
- }, {
920
- type: string | [
921
- string,
922
- ...string[]
923
- ];
924
- addressCountry?: string | undefined;
925
- addressCountryCode?: string | undefined;
926
- addressRegion?: string | undefined;
927
- addressLocality?: string | undefined;
928
- streetAddress?: string | undefined;
929
- postOfficeBoxNumber?: string | undefined;
930
- postalCode?: string | undefined;
931
- geo?: {
932
- type: string | [
933
- string,
934
- ...string[]
935
- ];
936
- latitude: number;
937
- longitude: number;
938
- } | undefined;
939
- }>>;
940
- otherIdentifier: z.ZodOptional<z.ZodArray<z.ZodObject<{
941
- type: z.ZodUnion<[
942
- z.ZodString,
943
- z.ZodArray<z.ZodString, "atleastone">
944
- ]>;
945
- identifier: z.ZodString;
946
- identifierType: z.ZodUnion<[
947
- z.ZodEnum<[
948
- "sourcedId",
949
- "systemId",
950
- "productId",
951
- "userName",
952
- "accountId",
953
- "emailAddress",
954
- "nationalIdentityNumber",
955
- "isbn",
956
- "issn",
957
- "lisSourcedId",
958
- "oneRosterSourcedId",
959
- "sisSourcedId",
960
- "ltiContextId",
961
- "ltiDeploymentId",
962
- "ltiToolId",
963
- "ltiPlatformId",
964
- "ltiUserId",
965
- "identifier"
966
- ]>,
967
- z.ZodString
968
- ]>;
969
- }, "strip", z.ZodTypeAny, {
970
- type: string | [
971
- string,
972
- ...string[]
973
- ];
974
- identifier: string;
975
- identifierType: string;
976
- }, {
977
- type: string | [
978
- string,
979
- ...string[]
980
- ];
981
- identifier: string;
982
- identifierType: string;
983
- }>, "many">>;
984
- official: z.ZodOptional<z.ZodString>;
985
- parentOrg: z.ZodOptional<z.ZodAny>;
986
- familyName: z.ZodOptional<z.ZodString>;
987
- givenName: z.ZodOptional<z.ZodString>;
988
- additionalName: z.ZodOptional<z.ZodString>;
989
- patronymicName: z.ZodOptional<z.ZodString>;
990
- honorificPrefix: z.ZodOptional<z.ZodString>;
991
- honorificSuffix: z.ZodOptional<z.ZodString>;
992
- familyNamePrefix: z.ZodOptional<z.ZodString>;
993
- dateOfBirth: z.ZodOptional<z.ZodString>;
994
- }, z.ZodAny, "strip">, z.objectInputType<{
995
- id: z.ZodOptional<z.ZodString>;
996
- type: z.ZodUnion<[
997
- z.ZodString,
998
- z.ZodOptional<z.ZodArray<z.ZodString, "atleastone">>
999
- ]>;
1000
- name: z.ZodOptional<z.ZodString>;
1001
- url: z.ZodOptional<z.ZodString>;
1002
- phone: z.ZodOptional<z.ZodString>;
1003
- description: z.ZodOptional<z.ZodString>;
1004
- endorsement: z.ZodOptional<z.ZodArray<z.ZodAny, "many">>;
1005
- image: z.ZodOptional<z.ZodUnion<[
1006
- z.ZodString,
1007
- z.ZodObject<{
1008
- id: z.ZodString;
1009
- type: z.ZodString;
1010
- caption: z.ZodOptional<z.ZodString>;
1011
- }, "strip", z.ZodTypeAny, {
1012
- type: string;
1013
- id: string;
1014
- caption?: string | undefined;
1015
- }, {
1016
- type: string;
1017
- id: string;
1018
- caption?: string | undefined;
1019
- }>
1020
- ]>>;
1021
- email: z.ZodOptional<z.ZodString>;
1022
- address: z.ZodOptional<z.ZodObject<{
1023
- type: z.ZodUnion<[
1024
- z.ZodString,
1025
- z.ZodArray<z.ZodString, "atleastone">
1026
- ]>;
1027
- addressCountry: z.ZodOptional<z.ZodString>;
1028
- addressCountryCode: z.ZodOptional<z.ZodString>;
1029
- addressRegion: z.ZodOptional<z.ZodString>;
1030
- addressLocality: z.ZodOptional<z.ZodString>;
1031
- streetAddress: z.ZodOptional<z.ZodString>;
1032
- postOfficeBoxNumber: z.ZodOptional<z.ZodString>;
1033
- postalCode: z.ZodOptional<z.ZodString>;
1034
- geo: z.ZodOptional<z.ZodObject<{
1035
- type: z.ZodUnion<[
1036
- z.ZodString,
1037
- z.ZodArray<z.ZodString, "atleastone">
1038
- ]>;
1039
- latitude: z.ZodNumber;
1040
- longitude: z.ZodNumber;
1041
- }, "strip", z.ZodTypeAny, {
1042
- type: string | [
1043
- string,
1044
- ...string[]
1045
- ];
1046
- latitude: number;
1047
- longitude: number;
1048
- }, {
1049
- type: string | [
1050
- string,
1051
- ...string[]
1052
- ];
1053
- latitude: number;
1054
- longitude: number;
1055
- }>>;
1056
- }, "strip", z.ZodTypeAny, {
1057
- type: string | [
1058
- string,
1059
- ...string[]
1060
- ];
1061
- addressCountry?: string | undefined;
1062
- addressCountryCode?: string | undefined;
1063
- addressRegion?: string | undefined;
1064
- addressLocality?: string | undefined;
1065
- streetAddress?: string | undefined;
1066
- postOfficeBoxNumber?: string | undefined;
1067
- postalCode?: string | undefined;
1068
- geo?: {
1069
- type: string | [
1070
- string,
1071
- ...string[]
1072
- ];
1073
- latitude: number;
1074
- longitude: number;
1075
- } | undefined;
1076
- }, {
1077
- type: string | [
1078
- string,
1079
- ...string[]
1080
- ];
1081
- addressCountry?: string | undefined;
1082
- addressCountryCode?: string | undefined;
1083
- addressRegion?: string | undefined;
1084
- addressLocality?: string | undefined;
1085
- streetAddress?: string | undefined;
1086
- postOfficeBoxNumber?: string | undefined;
1087
- postalCode?: string | undefined;
1088
- geo?: {
1089
- type: string | [
1090
- string,
1091
- ...string[]
1092
- ];
1093
- latitude: number;
1094
- longitude: number;
1095
- } | undefined;
1096
- }>>;
1097
- otherIdentifier: z.ZodOptional<z.ZodArray<z.ZodObject<{
1098
- type: z.ZodUnion<[
1099
- z.ZodString,
1100
- z.ZodArray<z.ZodString, "atleastone">
1101
- ]>;
1102
- identifier: z.ZodString;
1103
- identifierType: z.ZodUnion<[
1104
- z.ZodEnum<[
1105
- "sourcedId",
1106
- "systemId",
1107
- "productId",
1108
- "userName",
1109
- "accountId",
1110
- "emailAddress",
1111
- "nationalIdentityNumber",
1112
- "isbn",
1113
- "issn",
1114
- "lisSourcedId",
1115
- "oneRosterSourcedId",
1116
- "sisSourcedId",
1117
- "ltiContextId",
1118
- "ltiDeploymentId",
1119
- "ltiToolId",
1120
- "ltiPlatformId",
1121
- "ltiUserId",
1122
- "identifier"
1123
- ]>,
1124
- z.ZodString
1125
- ]>;
1126
- }, "strip", z.ZodTypeAny, {
1127
- type: string | [
1128
- string,
1129
- ...string[]
1130
- ];
1131
- identifier: string;
1132
- identifierType: string;
1133
- }, {
1134
- type: string | [
1135
- string,
1136
- ...string[]
1137
- ];
1138
- identifier: string;
1139
- identifierType: string;
1140
- }>, "many">>;
1141
- official: z.ZodOptional<z.ZodString>;
1142
- parentOrg: z.ZodOptional<z.ZodAny>;
1143
- familyName: z.ZodOptional<z.ZodString>;
1144
- givenName: z.ZodOptional<z.ZodString>;
1145
- additionalName: z.ZodOptional<z.ZodString>;
1146
- patronymicName: z.ZodOptional<z.ZodString>;
1147
- honorificPrefix: z.ZodOptional<z.ZodString>;
1148
- honorificSuffix: z.ZodOptional<z.ZodString>;
1149
- familyNamePrefix: z.ZodOptional<z.ZodString>;
1150
- dateOfBirth: z.ZodOptional<z.ZodString>;
1151
- }, z.ZodAny, "strip">>
1152
- ]>;
1153
- credentialSubject: z.ZodUnion<[
1154
- z.ZodObject<{
1155
- id: z.ZodOptional<z.ZodString>;
1156
- }, "strip", z.ZodAny, z.objectOutputType<{
1157
- id: z.ZodOptional<z.ZodString>;
1158
- }, z.ZodAny, "strip">, z.objectInputType<{
1159
- id: z.ZodOptional<z.ZodString>;
1160
- }, z.ZodAny, "strip">>,
1161
- z.ZodArray<z.ZodObject<{
1162
- id: z.ZodOptional<z.ZodString>;
1163
- }, "strip", z.ZodAny, z.objectOutputType<{
1164
- id: z.ZodOptional<z.ZodString>;
1165
- }, z.ZodAny, "strip">, z.objectInputType<{
1166
- id: z.ZodOptional<z.ZodString>;
1167
- }, z.ZodAny, "strip">>, "many">
1168
- ]>;
1169
- refreshService: z.ZodOptional<z.ZodUnion<[
1170
- z.ZodObject<{
1171
- id: z.ZodOptional<z.ZodString>;
1172
- type: z.ZodString;
1173
- }, "strip", z.ZodAny, z.objectOutputType<{
1174
- id: z.ZodOptional<z.ZodString>;
1175
- type: z.ZodString;
1176
- }, z.ZodAny, "strip">, z.objectInputType<{
1177
- id: z.ZodOptional<z.ZodString>;
1178
- type: z.ZodString;
1179
- }, z.ZodAny, "strip">>,
1180
- z.ZodArray<z.ZodObject<{
1181
- id: z.ZodOptional<z.ZodString>;
1182
- type: z.ZodString;
1183
- }, "strip", z.ZodAny, z.objectOutputType<{
1184
- id: z.ZodOptional<z.ZodString>;
1185
- type: z.ZodString;
1186
- }, z.ZodAny, "strip">, z.objectInputType<{
1187
- id: z.ZodOptional<z.ZodString>;
1188
- type: z.ZodString;
1189
- }, z.ZodAny, "strip">>, "many">
1190
- ]>>;
1191
- credentialSchema: z.ZodOptional<z.ZodUnion<[
1192
- z.ZodObject<{
1193
- id: z.ZodString;
1194
- type: z.ZodString;
1195
- }, "strip", z.ZodAny, z.objectOutputType<{
1196
- id: z.ZodString;
1197
- type: z.ZodString;
1198
- }, z.ZodAny, "strip">, z.objectInputType<{
1199
- id: z.ZodString;
1200
- type: z.ZodString;
1201
- }, z.ZodAny, "strip">>,
1202
- z.ZodArray<z.ZodObject<{
1203
- id: z.ZodString;
1204
- type: z.ZodString;
1205
- }, "strip", z.ZodAny, z.objectOutputType<{
1206
- id: z.ZodString;
1207
- type: z.ZodString;
1208
- }, z.ZodAny, "strip">, z.objectInputType<{
1209
- id: z.ZodString;
1210
- type: z.ZodString;
1211
- }, z.ZodAny, "strip">>, "many">
1212
- ]>>;
1213
- issuanceDate: z.ZodOptional<z.ZodString>;
1214
- expirationDate: z.ZodOptional<z.ZodString>;
1215
- credentialStatus: z.ZodOptional<z.ZodUnion<[
1216
- z.ZodObject<{
1217
- type: z.ZodString;
1218
- id: z.ZodString;
1219
- }, "strip", z.ZodAny, z.objectOutputType<{
1220
- type: z.ZodString;
1221
- id: z.ZodString;
1222
- }, z.ZodAny, "strip">, z.objectInputType<{
1223
- type: z.ZodString;
1224
- id: z.ZodString;
1225
- }, z.ZodAny, "strip">>,
1226
- z.ZodArray<z.ZodObject<{
1227
- type: z.ZodString;
1228
- id: z.ZodString;
1229
- }, "strip", z.ZodAny, z.objectOutputType<{
1230
- type: z.ZodString;
1231
- id: z.ZodString;
1232
- }, z.ZodAny, "strip">, z.objectInputType<{
1233
- type: z.ZodString;
1234
- id: z.ZodString;
1235
- }, z.ZodAny, "strip">>, "many">
1236
- ]>>;
1237
- name: z.ZodOptional<z.ZodString>;
1238
- description: z.ZodOptional<z.ZodString>;
1239
- validFrom: z.ZodOptional<z.ZodString>;
1240
- validUntil: z.ZodOptional<z.ZodString>;
1241
- status: z.ZodOptional<z.ZodUnion<[
1242
- z.ZodObject<{
1243
- type: z.ZodString;
1244
- id: z.ZodString;
1245
- }, "strip", z.ZodAny, z.objectOutputType<{
1246
- type: z.ZodString;
1247
- id: z.ZodString;
1248
- }, z.ZodAny, "strip">, z.objectInputType<{
1249
- type: z.ZodString;
1250
- id: z.ZodString;
1251
- }, z.ZodAny, "strip">>,
1252
- z.ZodArray<z.ZodObject<{
1253
- type: z.ZodString;
1254
- id: z.ZodString;
1255
- }, "strip", z.ZodAny, z.objectOutputType<{
1256
- type: z.ZodString;
1257
- id: z.ZodString;
1258
- }, z.ZodAny, "strip">, z.objectInputType<{
1259
- type: z.ZodString;
1260
- id: z.ZodString;
1261
- }, z.ZodAny, "strip">>, "many">
1262
- ]>>;
1263
- termsOfUse: z.ZodOptional<z.ZodUnion<[
1264
- z.ZodObject<{
1265
- type: z.ZodString;
1266
- id: z.ZodOptional<z.ZodString>;
1267
- }, "strip", z.ZodAny, z.objectOutputType<{
1268
- type: z.ZodString;
1269
- id: z.ZodOptional<z.ZodString>;
1270
- }, z.ZodAny, "strip">, z.objectInputType<{
1271
- type: z.ZodString;
1272
- id: z.ZodOptional<z.ZodString>;
1273
- }, z.ZodAny, "strip">>,
1274
- z.ZodArray<z.ZodObject<{
1275
- type: z.ZodString;
1276
- id: z.ZodOptional<z.ZodString>;
1277
- }, "strip", z.ZodAny, z.objectOutputType<{
1278
- type: z.ZodString;
1279
- id: z.ZodOptional<z.ZodString>;
1280
- }, z.ZodAny, "strip">, z.objectInputType<{
1281
- type: z.ZodString;
1282
- id: z.ZodOptional<z.ZodString>;
1283
- }, z.ZodAny, "strip">>, "many">
1284
- ]>>;
1285
- evidence: z.ZodOptional<z.ZodUnion<[
1286
- z.ZodObject<{
1287
- id: z.ZodOptional<z.ZodString>;
1288
- type: z.ZodArray<z.ZodString, "atleastone">;
1289
- name: z.ZodOptional<z.ZodString>;
1290
- narrative: z.ZodOptional<z.ZodString>;
1291
- description: z.ZodOptional<z.ZodString>;
1292
- genre: z.ZodOptional<z.ZodString>;
1293
- audience: z.ZodOptional<z.ZodString>;
1294
- }, "strip", z.ZodAny, z.objectOutputType<{
1295
- id: z.ZodOptional<z.ZodString>;
1296
- type: z.ZodArray<z.ZodString, "atleastone">;
1297
- name: z.ZodOptional<z.ZodString>;
1298
- narrative: z.ZodOptional<z.ZodString>;
1299
- description: z.ZodOptional<z.ZodString>;
1300
- genre: z.ZodOptional<z.ZodString>;
1301
- audience: z.ZodOptional<z.ZodString>;
1302
- }, z.ZodAny, "strip">, z.objectInputType<{
1303
- id: z.ZodOptional<z.ZodString>;
1304
- type: z.ZodArray<z.ZodString, "atleastone">;
1305
- name: z.ZodOptional<z.ZodString>;
1306
- narrative: z.ZodOptional<z.ZodString>;
1307
- description: z.ZodOptional<z.ZodString>;
1308
- genre: z.ZodOptional<z.ZodString>;
1309
- audience: z.ZodOptional<z.ZodString>;
1310
- }, z.ZodAny, "strip">>,
1311
- z.ZodArray<z.ZodObject<{
1312
- id: z.ZodOptional<z.ZodString>;
1313
- type: z.ZodArray<z.ZodString, "atleastone">;
1314
- name: z.ZodOptional<z.ZodString>;
1315
- narrative: z.ZodOptional<z.ZodString>;
1316
- description: z.ZodOptional<z.ZodString>;
1317
- genre: z.ZodOptional<z.ZodString>;
1318
- audience: z.ZodOptional<z.ZodString>;
1319
- }, "strip", z.ZodAny, z.objectOutputType<{
1320
- id: z.ZodOptional<z.ZodString>;
1321
- type: z.ZodArray<z.ZodString, "atleastone">;
1322
- name: z.ZodOptional<z.ZodString>;
1323
- narrative: z.ZodOptional<z.ZodString>;
1324
- description: z.ZodOptional<z.ZodString>;
1325
- genre: z.ZodOptional<z.ZodString>;
1326
- audience: z.ZodOptional<z.ZodString>;
1327
- }, z.ZodAny, "strip">, z.objectInputType<{
1328
- id: z.ZodOptional<z.ZodString>;
1329
- type: z.ZodArray<z.ZodString, "atleastone">;
1330
- name: z.ZodOptional<z.ZodString>;
1331
- narrative: z.ZodOptional<z.ZodString>;
1332
- description: z.ZodOptional<z.ZodString>;
1333
- genre: z.ZodOptional<z.ZodString>;
1334
- audience: z.ZodOptional<z.ZodString>;
1335
- }, z.ZodAny, "strip">>, "many">
1336
- ]>>;
1337
- }, z.ZodAny, "strip">, z.objectInputType<{
1338
- "@context": z.ZodArray<z.ZodUnion<[
1339
- z.ZodString,
1340
- z.ZodRecord<z.ZodString, z.ZodAny>
1341
- ]>, "many">;
1342
- id: z.ZodOptional<z.ZodString>;
1343
- type: z.ZodArray<z.ZodString, "atleastone">;
1344
- issuer: z.ZodUnion<[
1345
- z.ZodString,
1346
- z.ZodObject<{
1347
- id: z.ZodOptional<z.ZodString>;
1348
- type: z.ZodUnion<[
1349
- z.ZodString,
1350
- z.ZodOptional<z.ZodArray<z.ZodString, "atleastone">>
1351
- ]>;
1352
- name: z.ZodOptional<z.ZodString>;
1353
- url: z.ZodOptional<z.ZodString>;
1354
- phone: z.ZodOptional<z.ZodString>;
1355
- description: z.ZodOptional<z.ZodString>;
1356
- endorsement: z.ZodOptional<z.ZodArray<z.ZodAny, "many">>;
1357
- image: z.ZodOptional<z.ZodUnion<[
1358
- z.ZodString,
1359
- z.ZodObject<{
1360
- id: z.ZodString;
1361
- type: z.ZodString;
1362
- caption: z.ZodOptional<z.ZodString>;
1363
- }, "strip", z.ZodTypeAny, {
1364
- type: string;
1365
- id: string;
1366
- caption?: string | undefined;
1367
- }, {
1368
- type: string;
1369
- id: string;
1370
- caption?: string | undefined;
1371
- }>
1372
- ]>>;
1373
- email: z.ZodOptional<z.ZodString>;
1374
- address: z.ZodOptional<z.ZodObject<{
1375
- type: z.ZodUnion<[
1376
- z.ZodString,
1377
- z.ZodArray<z.ZodString, "atleastone">
1378
- ]>;
1379
- addressCountry: z.ZodOptional<z.ZodString>;
1380
- addressCountryCode: z.ZodOptional<z.ZodString>;
1381
- addressRegion: z.ZodOptional<z.ZodString>;
1382
- addressLocality: z.ZodOptional<z.ZodString>;
1383
- streetAddress: z.ZodOptional<z.ZodString>;
1384
- postOfficeBoxNumber: z.ZodOptional<z.ZodString>;
1385
- postalCode: z.ZodOptional<z.ZodString>;
1386
- geo: z.ZodOptional<z.ZodObject<{
1387
- type: z.ZodUnion<[
1388
- z.ZodString,
1389
- z.ZodArray<z.ZodString, "atleastone">
1390
- ]>;
1391
- latitude: z.ZodNumber;
1392
- longitude: z.ZodNumber;
1393
- }, "strip", z.ZodTypeAny, {
1394
- type: string | [
1395
- string,
1396
- ...string[]
1397
- ];
1398
- latitude: number;
1399
- longitude: number;
1400
- }, {
1401
- type: string | [
1402
- string,
1403
- ...string[]
1404
- ];
1405
- latitude: number;
1406
- longitude: number;
1407
- }>>;
1408
- }, "strip", z.ZodTypeAny, {
1409
- type: string | [
1410
- string,
1411
- ...string[]
1412
- ];
1413
- addressCountry?: string | undefined;
1414
- addressCountryCode?: string | undefined;
1415
- addressRegion?: string | undefined;
1416
- addressLocality?: string | undefined;
1417
- streetAddress?: string | undefined;
1418
- postOfficeBoxNumber?: string | undefined;
1419
- postalCode?: string | undefined;
1420
- geo?: {
1421
- type: string | [
1422
- string,
1423
- ...string[]
1424
- ];
1425
- latitude: number;
1426
- longitude: number;
1427
- } | undefined;
1428
- }, {
1429
- type: string | [
1430
- string,
1431
- ...string[]
1432
- ];
1433
- addressCountry?: string | undefined;
1434
- addressCountryCode?: string | undefined;
1435
- addressRegion?: string | undefined;
1436
- addressLocality?: string | undefined;
1437
- streetAddress?: string | undefined;
1438
- postOfficeBoxNumber?: string | undefined;
1439
- postalCode?: string | undefined;
1440
- geo?: {
1441
- type: string | [
1442
- string,
1443
- ...string[]
1444
- ];
1445
- latitude: number;
1446
- longitude: number;
1447
- } | undefined;
1448
- }>>;
1449
- otherIdentifier: z.ZodOptional<z.ZodArray<z.ZodObject<{
1450
- type: z.ZodUnion<[
1451
- z.ZodString,
1452
- z.ZodArray<z.ZodString, "atleastone">
1453
- ]>;
1454
- identifier: z.ZodString;
1455
- identifierType: z.ZodUnion<[
1456
- z.ZodEnum<[
1457
- "sourcedId",
1458
- "systemId",
1459
- "productId",
1460
- "userName",
1461
- "accountId",
1462
- "emailAddress",
1463
- "nationalIdentityNumber",
1464
- "isbn",
1465
- "issn",
1466
- "lisSourcedId",
1467
- "oneRosterSourcedId",
1468
- "sisSourcedId",
1469
- "ltiContextId",
1470
- "ltiDeploymentId",
1471
- "ltiToolId",
1472
- "ltiPlatformId",
1473
- "ltiUserId",
1474
- "identifier"
1475
- ]>,
1476
- z.ZodString
1477
- ]>;
1478
- }, "strip", z.ZodTypeAny, {
1479
- type: string | [
1480
- string,
1481
- ...string[]
1482
- ];
1483
- identifier: string;
1484
- identifierType: string;
1485
- }, {
1486
- type: string | [
1487
- string,
1488
- ...string[]
1489
- ];
1490
- identifier: string;
1491
- identifierType: string;
1492
- }>, "many">>;
1493
- official: z.ZodOptional<z.ZodString>;
1494
- parentOrg: z.ZodOptional<z.ZodAny>;
1495
- familyName: z.ZodOptional<z.ZodString>;
1496
- givenName: z.ZodOptional<z.ZodString>;
1497
- additionalName: z.ZodOptional<z.ZodString>;
1498
- patronymicName: z.ZodOptional<z.ZodString>;
1499
- honorificPrefix: z.ZodOptional<z.ZodString>;
1500
- honorificSuffix: z.ZodOptional<z.ZodString>;
1501
- familyNamePrefix: z.ZodOptional<z.ZodString>;
1502
- dateOfBirth: z.ZodOptional<z.ZodString>;
1503
- }, "strip", z.ZodAny, z.objectOutputType<{
1504
- id: z.ZodOptional<z.ZodString>;
1505
- type: z.ZodUnion<[
1506
- z.ZodString,
1507
- z.ZodOptional<z.ZodArray<z.ZodString, "atleastone">>
1508
- ]>;
1509
- name: z.ZodOptional<z.ZodString>;
1510
- url: z.ZodOptional<z.ZodString>;
1511
- phone: z.ZodOptional<z.ZodString>;
1512
- description: z.ZodOptional<z.ZodString>;
1513
- endorsement: z.ZodOptional<z.ZodArray<z.ZodAny, "many">>;
1514
- image: z.ZodOptional<z.ZodUnion<[
1515
- z.ZodString,
1516
- z.ZodObject<{
1517
- id: z.ZodString;
1518
- type: z.ZodString;
1519
- caption: z.ZodOptional<z.ZodString>;
1520
- }, "strip", z.ZodTypeAny, {
1521
- type: string;
1522
- id: string;
1523
- caption?: string | undefined;
1524
- }, {
1525
- type: string;
1526
- id: string;
1527
- caption?: string | undefined;
1528
- }>
1529
- ]>>;
1530
- email: z.ZodOptional<z.ZodString>;
1531
- address: z.ZodOptional<z.ZodObject<{
1532
- type: z.ZodUnion<[
1533
- z.ZodString,
1534
- z.ZodArray<z.ZodString, "atleastone">
1535
- ]>;
1536
- addressCountry: z.ZodOptional<z.ZodString>;
1537
- addressCountryCode: z.ZodOptional<z.ZodString>;
1538
- addressRegion: z.ZodOptional<z.ZodString>;
1539
- addressLocality: z.ZodOptional<z.ZodString>;
1540
- streetAddress: z.ZodOptional<z.ZodString>;
1541
- postOfficeBoxNumber: z.ZodOptional<z.ZodString>;
1542
- postalCode: z.ZodOptional<z.ZodString>;
1543
- geo: z.ZodOptional<z.ZodObject<{
1544
- type: z.ZodUnion<[
1545
- z.ZodString,
1546
- z.ZodArray<z.ZodString, "atleastone">
1547
- ]>;
1548
- latitude: z.ZodNumber;
1549
- longitude: z.ZodNumber;
1550
- }, "strip", z.ZodTypeAny, {
1551
- type: string | [
1552
- string,
1553
- ...string[]
1554
- ];
1555
- latitude: number;
1556
- longitude: number;
1557
- }, {
1558
- type: string | [
1559
- string,
1560
- ...string[]
1561
- ];
1562
- latitude: number;
1563
- longitude: number;
1564
- }>>;
1565
- }, "strip", z.ZodTypeAny, {
1566
- type: string | [
1567
- string,
1568
- ...string[]
1569
- ];
1570
- addressCountry?: string | undefined;
1571
- addressCountryCode?: string | undefined;
1572
- addressRegion?: string | undefined;
1573
- addressLocality?: string | undefined;
1574
- streetAddress?: string | undefined;
1575
- postOfficeBoxNumber?: string | undefined;
1576
- postalCode?: string | undefined;
1577
- geo?: {
1578
- type: string | [
1579
- string,
1580
- ...string[]
1581
- ];
1582
- latitude: number;
1583
- longitude: number;
1584
- } | undefined;
1585
- }, {
1586
- type: string | [
1587
- string,
1588
- ...string[]
1589
- ];
1590
- addressCountry?: string | undefined;
1591
- addressCountryCode?: string | undefined;
1592
- addressRegion?: string | undefined;
1593
- addressLocality?: string | undefined;
1594
- streetAddress?: string | undefined;
1595
- postOfficeBoxNumber?: string | undefined;
1596
- postalCode?: string | undefined;
1597
- geo?: {
1598
- type: string | [
1599
- string,
1600
- ...string[]
1601
- ];
1602
- latitude: number;
1603
- longitude: number;
1604
- } | undefined;
1605
- }>>;
1606
- otherIdentifier: z.ZodOptional<z.ZodArray<z.ZodObject<{
1607
- type: z.ZodUnion<[
1608
- z.ZodString,
1609
- z.ZodArray<z.ZodString, "atleastone">
1610
- ]>;
1611
- identifier: z.ZodString;
1612
- identifierType: z.ZodUnion<[
1613
- z.ZodEnum<[
1614
- "sourcedId",
1615
- "systemId",
1616
- "productId",
1617
- "userName",
1618
- "accountId",
1619
- "emailAddress",
1620
- "nationalIdentityNumber",
1621
- "isbn",
1622
- "issn",
1623
- "lisSourcedId",
1624
- "oneRosterSourcedId",
1625
- "sisSourcedId",
1626
- "ltiContextId",
1627
- "ltiDeploymentId",
1628
- "ltiToolId",
1629
- "ltiPlatformId",
1630
- "ltiUserId",
1631
- "identifier"
1632
- ]>,
1633
- z.ZodString
1634
- ]>;
1635
- }, "strip", z.ZodTypeAny, {
1636
- type: string | [
1637
- string,
1638
- ...string[]
1639
- ];
1640
- identifier: string;
1641
- identifierType: string;
1642
- }, {
1643
- type: string | [
1644
- string,
1645
- ...string[]
1646
- ];
1647
- identifier: string;
1648
- identifierType: string;
1649
- }>, "many">>;
1650
- official: z.ZodOptional<z.ZodString>;
1651
- parentOrg: z.ZodOptional<z.ZodAny>;
1652
- familyName: z.ZodOptional<z.ZodString>;
1653
- givenName: z.ZodOptional<z.ZodString>;
1654
- additionalName: z.ZodOptional<z.ZodString>;
1655
- patronymicName: z.ZodOptional<z.ZodString>;
1656
- honorificPrefix: z.ZodOptional<z.ZodString>;
1657
- honorificSuffix: z.ZodOptional<z.ZodString>;
1658
- familyNamePrefix: z.ZodOptional<z.ZodString>;
1659
- dateOfBirth: z.ZodOptional<z.ZodString>;
1660
- }, z.ZodAny, "strip">, z.objectInputType<{
1661
- id: z.ZodOptional<z.ZodString>;
1662
- type: z.ZodUnion<[
1663
- z.ZodString,
1664
- z.ZodOptional<z.ZodArray<z.ZodString, "atleastone">>
1665
- ]>;
1666
- name: z.ZodOptional<z.ZodString>;
1667
- url: z.ZodOptional<z.ZodString>;
1668
- phone: z.ZodOptional<z.ZodString>;
1669
- description: z.ZodOptional<z.ZodString>;
1670
- endorsement: z.ZodOptional<z.ZodArray<z.ZodAny, "many">>;
1671
- image: z.ZodOptional<z.ZodUnion<[
1672
- z.ZodString,
1673
- z.ZodObject<{
1674
- id: z.ZodString;
1675
- type: z.ZodString;
1676
- caption: z.ZodOptional<z.ZodString>;
1677
- }, "strip", z.ZodTypeAny, {
1678
- type: string;
1679
- id: string;
1680
- caption?: string | undefined;
1681
- }, {
1682
- type: string;
1683
- id: string;
1684
- caption?: string | undefined;
1685
- }>
1686
- ]>>;
1687
- email: z.ZodOptional<z.ZodString>;
1688
- address: z.ZodOptional<z.ZodObject<{
1689
- type: z.ZodUnion<[
1690
- z.ZodString,
1691
- z.ZodArray<z.ZodString, "atleastone">
1692
- ]>;
1693
- addressCountry: z.ZodOptional<z.ZodString>;
1694
- addressCountryCode: z.ZodOptional<z.ZodString>;
1695
- addressRegion: z.ZodOptional<z.ZodString>;
1696
- addressLocality: z.ZodOptional<z.ZodString>;
1697
- streetAddress: z.ZodOptional<z.ZodString>;
1698
- postOfficeBoxNumber: z.ZodOptional<z.ZodString>;
1699
- postalCode: z.ZodOptional<z.ZodString>;
1700
- geo: z.ZodOptional<z.ZodObject<{
1701
- type: z.ZodUnion<[
1702
- z.ZodString,
1703
- z.ZodArray<z.ZodString, "atleastone">
1704
- ]>;
1705
- latitude: z.ZodNumber;
1706
- longitude: z.ZodNumber;
1707
- }, "strip", z.ZodTypeAny, {
1708
- type: string | [
1709
- string,
1710
- ...string[]
1711
- ];
1712
- latitude: number;
1713
- longitude: number;
1714
- }, {
1715
- type: string | [
1716
- string,
1717
- ...string[]
1718
- ];
1719
- latitude: number;
1720
- longitude: number;
1721
- }>>;
1722
- }, "strip", z.ZodTypeAny, {
1723
- type: string | [
1724
- string,
1725
- ...string[]
1726
- ];
1727
- addressCountry?: string | undefined;
1728
- addressCountryCode?: string | undefined;
1729
- addressRegion?: string | undefined;
1730
- addressLocality?: string | undefined;
1731
- streetAddress?: string | undefined;
1732
- postOfficeBoxNumber?: string | undefined;
1733
- postalCode?: string | undefined;
1734
- geo?: {
1735
- type: string | [
1736
- string,
1737
- ...string[]
1738
- ];
1739
- latitude: number;
1740
- longitude: number;
1741
- } | undefined;
1742
- }, {
1743
- type: string | [
1744
- string,
1745
- ...string[]
1746
- ];
1747
- addressCountry?: string | undefined;
1748
- addressCountryCode?: string | undefined;
1749
- addressRegion?: string | undefined;
1750
- addressLocality?: string | undefined;
1751
- streetAddress?: string | undefined;
1752
- postOfficeBoxNumber?: string | undefined;
1753
- postalCode?: string | undefined;
1754
- geo?: {
1755
- type: string | [
1756
- string,
1757
- ...string[]
1758
- ];
1759
- latitude: number;
1760
- longitude: number;
1761
- } | undefined;
1762
- }>>;
1763
- otherIdentifier: z.ZodOptional<z.ZodArray<z.ZodObject<{
1764
- type: z.ZodUnion<[
1765
- z.ZodString,
1766
- z.ZodArray<z.ZodString, "atleastone">
1767
- ]>;
1768
- identifier: z.ZodString;
1769
- identifierType: z.ZodUnion<[
1770
- z.ZodEnum<[
1771
- "sourcedId",
1772
- "systemId",
1773
- "productId",
1774
- "userName",
1775
- "accountId",
1776
- "emailAddress",
1777
- "nationalIdentityNumber",
1778
- "isbn",
1779
- "issn",
1780
- "lisSourcedId",
1781
- "oneRosterSourcedId",
1782
- "sisSourcedId",
1783
- "ltiContextId",
1784
- "ltiDeploymentId",
1785
- "ltiToolId",
1786
- "ltiPlatformId",
1787
- "ltiUserId",
1788
- "identifier"
1789
- ]>,
1790
- z.ZodString
1791
- ]>;
1792
- }, "strip", z.ZodTypeAny, {
1793
- type: string | [
1794
- string,
1795
- ...string[]
1796
- ];
1797
- identifier: string;
1798
- identifierType: string;
1799
- }, {
1800
- type: string | [
1801
- string,
1802
- ...string[]
1803
- ];
1804
- identifier: string;
1805
- identifierType: string;
1806
- }>, "many">>;
1807
- official: z.ZodOptional<z.ZodString>;
1808
- parentOrg: z.ZodOptional<z.ZodAny>;
1809
- familyName: z.ZodOptional<z.ZodString>;
1810
- givenName: z.ZodOptional<z.ZodString>;
1811
- additionalName: z.ZodOptional<z.ZodString>;
1812
- patronymicName: z.ZodOptional<z.ZodString>;
1813
- honorificPrefix: z.ZodOptional<z.ZodString>;
1814
- honorificSuffix: z.ZodOptional<z.ZodString>;
1815
- familyNamePrefix: z.ZodOptional<z.ZodString>;
1816
- dateOfBirth: z.ZodOptional<z.ZodString>;
1817
- }, z.ZodAny, "strip">>
1818
- ]>;
1819
- credentialSubject: z.ZodUnion<[
1820
- z.ZodObject<{
1821
- id: z.ZodOptional<z.ZodString>;
1822
- }, "strip", z.ZodAny, z.objectOutputType<{
1823
- id: z.ZodOptional<z.ZodString>;
1824
- }, z.ZodAny, "strip">, z.objectInputType<{
1825
- id: z.ZodOptional<z.ZodString>;
1826
- }, z.ZodAny, "strip">>,
1827
- z.ZodArray<z.ZodObject<{
1828
- id: z.ZodOptional<z.ZodString>;
1829
- }, "strip", z.ZodAny, z.objectOutputType<{
1830
- id: z.ZodOptional<z.ZodString>;
1831
- }, z.ZodAny, "strip">, z.objectInputType<{
1832
- id: z.ZodOptional<z.ZodString>;
1833
- }, z.ZodAny, "strip">>, "many">
1834
- ]>;
1835
- refreshService: z.ZodOptional<z.ZodUnion<[
1836
- z.ZodObject<{
1837
- id: z.ZodOptional<z.ZodString>;
1838
- type: z.ZodString;
1839
- }, "strip", z.ZodAny, z.objectOutputType<{
1840
- id: z.ZodOptional<z.ZodString>;
1841
- type: z.ZodString;
1842
- }, z.ZodAny, "strip">, z.objectInputType<{
1843
- id: z.ZodOptional<z.ZodString>;
1844
- type: z.ZodString;
1845
- }, z.ZodAny, "strip">>,
1846
- z.ZodArray<z.ZodObject<{
1847
- id: z.ZodOptional<z.ZodString>;
1848
- type: z.ZodString;
1849
- }, "strip", z.ZodAny, z.objectOutputType<{
1850
- id: z.ZodOptional<z.ZodString>;
1851
- type: z.ZodString;
1852
- }, z.ZodAny, "strip">, z.objectInputType<{
1853
- id: z.ZodOptional<z.ZodString>;
1854
- type: z.ZodString;
1855
- }, z.ZodAny, "strip">>, "many">
1856
- ]>>;
1857
- credentialSchema: z.ZodOptional<z.ZodUnion<[
1858
- z.ZodObject<{
1859
- id: z.ZodString;
1860
- type: z.ZodString;
1861
- }, "strip", z.ZodAny, z.objectOutputType<{
1862
- id: z.ZodString;
1863
- type: z.ZodString;
1864
- }, z.ZodAny, "strip">, z.objectInputType<{
1865
- id: z.ZodString;
1866
- type: z.ZodString;
1867
- }, z.ZodAny, "strip">>,
1868
- z.ZodArray<z.ZodObject<{
1869
- id: z.ZodString;
1870
- type: z.ZodString;
1871
- }, "strip", z.ZodAny, z.objectOutputType<{
1872
- id: z.ZodString;
1873
- type: z.ZodString;
1874
- }, z.ZodAny, "strip">, z.objectInputType<{
1875
- id: z.ZodString;
1876
- type: z.ZodString;
1877
- }, z.ZodAny, "strip">>, "many">
1878
- ]>>;
1879
- issuanceDate: z.ZodOptional<z.ZodString>;
1880
- expirationDate: z.ZodOptional<z.ZodString>;
1881
- credentialStatus: z.ZodOptional<z.ZodUnion<[
1882
- z.ZodObject<{
1883
- type: z.ZodString;
1884
- id: z.ZodString;
1885
- }, "strip", z.ZodAny, z.objectOutputType<{
1886
- type: z.ZodString;
1887
- id: z.ZodString;
1888
- }, z.ZodAny, "strip">, z.objectInputType<{
1889
- type: z.ZodString;
1890
- id: z.ZodString;
1891
- }, z.ZodAny, "strip">>,
1892
- z.ZodArray<z.ZodObject<{
1893
- type: z.ZodString;
1894
- id: z.ZodString;
1895
- }, "strip", z.ZodAny, z.objectOutputType<{
1896
- type: z.ZodString;
1897
- id: z.ZodString;
1898
- }, z.ZodAny, "strip">, z.objectInputType<{
1899
- type: z.ZodString;
1900
- id: z.ZodString;
1901
- }, z.ZodAny, "strip">>, "many">
1902
- ]>>;
1903
- name: z.ZodOptional<z.ZodString>;
1904
- description: z.ZodOptional<z.ZodString>;
1905
- validFrom: z.ZodOptional<z.ZodString>;
1906
- validUntil: z.ZodOptional<z.ZodString>;
1907
- status: z.ZodOptional<z.ZodUnion<[
1908
- z.ZodObject<{
1909
- type: z.ZodString;
1910
- id: z.ZodString;
1911
- }, "strip", z.ZodAny, z.objectOutputType<{
1912
- type: z.ZodString;
1913
- id: z.ZodString;
1914
- }, z.ZodAny, "strip">, z.objectInputType<{
1915
- type: z.ZodString;
1916
- id: z.ZodString;
1917
- }, z.ZodAny, "strip">>,
1918
- z.ZodArray<z.ZodObject<{
1919
- type: z.ZodString;
1920
- id: z.ZodString;
1921
- }, "strip", z.ZodAny, z.objectOutputType<{
1922
- type: z.ZodString;
1923
- id: z.ZodString;
1924
- }, z.ZodAny, "strip">, z.objectInputType<{
1925
- type: z.ZodString;
1926
- id: z.ZodString;
1927
- }, z.ZodAny, "strip">>, "many">
1928
- ]>>;
1929
- termsOfUse: z.ZodOptional<z.ZodUnion<[
1930
- z.ZodObject<{
1931
- type: z.ZodString;
1932
- id: z.ZodOptional<z.ZodString>;
1933
- }, "strip", z.ZodAny, z.objectOutputType<{
1934
- type: z.ZodString;
1935
- id: z.ZodOptional<z.ZodString>;
1936
- }, z.ZodAny, "strip">, z.objectInputType<{
1937
- type: z.ZodString;
1938
- id: z.ZodOptional<z.ZodString>;
1939
- }, z.ZodAny, "strip">>,
1940
- z.ZodArray<z.ZodObject<{
1941
- type: z.ZodString;
1942
- id: z.ZodOptional<z.ZodString>;
1943
- }, "strip", z.ZodAny, z.objectOutputType<{
1944
- type: z.ZodString;
1945
- id: z.ZodOptional<z.ZodString>;
1946
- }, z.ZodAny, "strip">, z.objectInputType<{
1947
- type: z.ZodString;
1948
- id: z.ZodOptional<z.ZodString>;
1949
- }, z.ZodAny, "strip">>, "many">
1950
- ]>>;
1951
- evidence: z.ZodOptional<z.ZodUnion<[
1952
- z.ZodObject<{
1953
- id: z.ZodOptional<z.ZodString>;
1954
- type: z.ZodArray<z.ZodString, "atleastone">;
1955
- name: z.ZodOptional<z.ZodString>;
1956
- narrative: z.ZodOptional<z.ZodString>;
1957
- description: z.ZodOptional<z.ZodString>;
1958
- genre: z.ZodOptional<z.ZodString>;
1959
- audience: z.ZodOptional<z.ZodString>;
1960
- }, "strip", z.ZodAny, z.objectOutputType<{
1961
- id: z.ZodOptional<z.ZodString>;
1962
- type: z.ZodArray<z.ZodString, "atleastone">;
1963
- name: z.ZodOptional<z.ZodString>;
1964
- narrative: z.ZodOptional<z.ZodString>;
1965
- description: z.ZodOptional<z.ZodString>;
1966
- genre: z.ZodOptional<z.ZodString>;
1967
- audience: z.ZodOptional<z.ZodString>;
1968
- }, z.ZodAny, "strip">, z.objectInputType<{
1969
- id: z.ZodOptional<z.ZodString>;
1970
- type: z.ZodArray<z.ZodString, "atleastone">;
1971
- name: z.ZodOptional<z.ZodString>;
1972
- narrative: z.ZodOptional<z.ZodString>;
1973
- description: z.ZodOptional<z.ZodString>;
1974
- genre: z.ZodOptional<z.ZodString>;
1975
- audience: z.ZodOptional<z.ZodString>;
1976
- }, z.ZodAny, "strip">>,
1977
- z.ZodArray<z.ZodObject<{
1978
- id: z.ZodOptional<z.ZodString>;
1979
- type: z.ZodArray<z.ZodString, "atleastone">;
1980
- name: z.ZodOptional<z.ZodString>;
1981
- narrative: z.ZodOptional<z.ZodString>;
1982
- description: z.ZodOptional<z.ZodString>;
1983
- genre: z.ZodOptional<z.ZodString>;
1984
- audience: z.ZodOptional<z.ZodString>;
1985
- }, "strip", z.ZodAny, z.objectOutputType<{
1986
- id: z.ZodOptional<z.ZodString>;
1987
- type: z.ZodArray<z.ZodString, "atleastone">;
1988
- name: z.ZodOptional<z.ZodString>;
1989
- narrative: z.ZodOptional<z.ZodString>;
1990
- description: z.ZodOptional<z.ZodString>;
1991
- genre: z.ZodOptional<z.ZodString>;
1992
- audience: z.ZodOptional<z.ZodString>;
1993
- }, z.ZodAny, "strip">, z.objectInputType<{
1994
- id: z.ZodOptional<z.ZodString>;
1995
- type: z.ZodArray<z.ZodString, "atleastone">;
1996
- name: z.ZodOptional<z.ZodString>;
1997
- narrative: z.ZodOptional<z.ZodString>;
1998
- description: z.ZodOptional<z.ZodString>;
1999
- genre: z.ZodOptional<z.ZodString>;
2000
- audience: z.ZodOptional<z.ZodString>;
2001
- }, z.ZodAny, "strip">>, "many">
2002
- ]>>;
2003
- }, z.ZodAny, "strip">>;
2004
- export type UnsignedVC = z.infer<typeof UnsignedVCValidator>;
2005
- declare const VCValidator: z.ZodObject<z.objectUtil.extendShape<{
2006
- "@context": z.ZodArray<z.ZodUnion<[
2007
- z.ZodString,
2008
- z.ZodRecord<z.ZodString, z.ZodAny>
2009
- ]>, "many">;
2010
- id: z.ZodOptional<z.ZodString>;
2011
- type: z.ZodArray<z.ZodString, "atleastone">;
2012
- issuer: z.ZodUnion<[
2013
- z.ZodString,
2014
- z.ZodObject<{
2015
- id: z.ZodOptional<z.ZodString>;
2016
- type: z.ZodUnion<[
2017
- z.ZodString,
2018
- z.ZodOptional<z.ZodArray<z.ZodString, "atleastone">>
2019
- ]>;
2020
- name: z.ZodOptional<z.ZodString>;
2021
- url: z.ZodOptional<z.ZodString>;
2022
- phone: z.ZodOptional<z.ZodString>;
2023
- description: z.ZodOptional<z.ZodString>;
2024
- endorsement: z.ZodOptional<z.ZodArray<z.ZodAny, "many">>;
2025
- image: z.ZodOptional<z.ZodUnion<[
2026
- z.ZodString,
2027
- z.ZodObject<{
2028
- id: z.ZodString;
2029
- type: z.ZodString;
2030
- caption: z.ZodOptional<z.ZodString>;
2031
- }, "strip", z.ZodTypeAny, {
2032
- type: string;
2033
- id: string;
2034
- caption?: string | undefined;
2035
- }, {
2036
- type: string;
2037
- id: string;
2038
- caption?: string | undefined;
2039
- }>
2040
- ]>>;
2041
- email: z.ZodOptional<z.ZodString>;
2042
- address: z.ZodOptional<z.ZodObject<{
2043
- type: z.ZodUnion<[
2044
- z.ZodString,
2045
- z.ZodArray<z.ZodString, "atleastone">
2046
- ]>;
2047
- addressCountry: z.ZodOptional<z.ZodString>;
2048
- addressCountryCode: z.ZodOptional<z.ZodString>;
2049
- addressRegion: z.ZodOptional<z.ZodString>;
2050
- addressLocality: z.ZodOptional<z.ZodString>;
2051
- streetAddress: z.ZodOptional<z.ZodString>;
2052
- postOfficeBoxNumber: z.ZodOptional<z.ZodString>;
2053
- postalCode: z.ZodOptional<z.ZodString>;
2054
- geo: z.ZodOptional<z.ZodObject<{
2055
- type: z.ZodUnion<[
2056
- z.ZodString,
2057
- z.ZodArray<z.ZodString, "atleastone">
2058
- ]>;
2059
- latitude: z.ZodNumber;
2060
- longitude: z.ZodNumber;
2061
- }, "strip", z.ZodTypeAny, {
2062
- type: string | [
2063
- string,
2064
- ...string[]
2065
- ];
2066
- latitude: number;
2067
- longitude: number;
2068
- }, {
2069
- type: string | [
2070
- string,
2071
- ...string[]
2072
- ];
2073
- latitude: number;
2074
- longitude: number;
2075
- }>>;
2076
- }, "strip", z.ZodTypeAny, {
2077
- type: string | [
2078
- string,
2079
- ...string[]
2080
- ];
2081
- addressCountry?: string | undefined;
2082
- addressCountryCode?: string | undefined;
2083
- addressRegion?: string | undefined;
2084
- addressLocality?: string | undefined;
2085
- streetAddress?: string | undefined;
2086
- postOfficeBoxNumber?: string | undefined;
2087
- postalCode?: string | undefined;
2088
- geo?: {
2089
- type: string | [
2090
- string,
2091
- ...string[]
2092
- ];
2093
- latitude: number;
2094
- longitude: number;
2095
- } | undefined;
2096
- }, {
2097
- type: string | [
2098
- string,
2099
- ...string[]
2100
- ];
2101
- addressCountry?: string | undefined;
2102
- addressCountryCode?: string | undefined;
2103
- addressRegion?: string | undefined;
2104
- addressLocality?: string | undefined;
2105
- streetAddress?: string | undefined;
2106
- postOfficeBoxNumber?: string | undefined;
2107
- postalCode?: string | undefined;
2108
- geo?: {
2109
- type: string | [
2110
- string,
2111
- ...string[]
2112
- ];
2113
- latitude: number;
2114
- longitude: number;
2115
- } | undefined;
2116
- }>>;
2117
- otherIdentifier: z.ZodOptional<z.ZodArray<z.ZodObject<{
2118
- type: z.ZodUnion<[
2119
- z.ZodString,
2120
- z.ZodArray<z.ZodString, "atleastone">
2121
- ]>;
2122
- identifier: z.ZodString;
2123
- identifierType: z.ZodUnion<[
2124
- z.ZodEnum<[
2125
- "sourcedId",
2126
- "systemId",
2127
- "productId",
2128
- "userName",
2129
- "accountId",
2130
- "emailAddress",
2131
- "nationalIdentityNumber",
2132
- "isbn",
2133
- "issn",
2134
- "lisSourcedId",
2135
- "oneRosterSourcedId",
2136
- "sisSourcedId",
2137
- "ltiContextId",
2138
- "ltiDeploymentId",
2139
- "ltiToolId",
2140
- "ltiPlatformId",
2141
- "ltiUserId",
2142
- "identifier"
2143
- ]>,
2144
- z.ZodString
2145
- ]>;
2146
- }, "strip", z.ZodTypeAny, {
2147
- type: string | [
2148
- string,
2149
- ...string[]
2150
- ];
2151
- identifier: string;
2152
- identifierType: string;
2153
- }, {
2154
- type: string | [
2155
- string,
2156
- ...string[]
2157
- ];
2158
- identifier: string;
2159
- identifierType: string;
2160
- }>, "many">>;
2161
- official: z.ZodOptional<z.ZodString>;
2162
- parentOrg: z.ZodOptional<z.ZodAny>;
2163
- familyName: z.ZodOptional<z.ZodString>;
2164
- givenName: z.ZodOptional<z.ZodString>;
2165
- additionalName: z.ZodOptional<z.ZodString>;
2166
- patronymicName: z.ZodOptional<z.ZodString>;
2167
- honorificPrefix: z.ZodOptional<z.ZodString>;
2168
- honorificSuffix: z.ZodOptional<z.ZodString>;
2169
- familyNamePrefix: z.ZodOptional<z.ZodString>;
2170
- dateOfBirth: z.ZodOptional<z.ZodString>;
2171
- }, "strip", z.ZodAny, z.objectOutputType<{
2172
- id: z.ZodOptional<z.ZodString>;
2173
- type: z.ZodUnion<[
2174
- z.ZodString,
2175
- z.ZodOptional<z.ZodArray<z.ZodString, "atleastone">>
2176
- ]>;
2177
- name: z.ZodOptional<z.ZodString>;
2178
- url: z.ZodOptional<z.ZodString>;
2179
- phone: z.ZodOptional<z.ZodString>;
2180
- description: z.ZodOptional<z.ZodString>;
2181
- endorsement: z.ZodOptional<z.ZodArray<z.ZodAny, "many">>;
2182
- image: z.ZodOptional<z.ZodUnion<[
2183
- z.ZodString,
2184
- z.ZodObject<{
2185
- id: z.ZodString;
2186
- type: z.ZodString;
2187
- caption: z.ZodOptional<z.ZodString>;
2188
- }, "strip", z.ZodTypeAny, {
2189
- type: string;
2190
- id: string;
2191
- caption?: string | undefined;
2192
- }, {
2193
- type: string;
2194
- id: string;
2195
- caption?: string | undefined;
2196
- }>
2197
- ]>>;
2198
- email: z.ZodOptional<z.ZodString>;
2199
- address: z.ZodOptional<z.ZodObject<{
2200
- type: z.ZodUnion<[
2201
- z.ZodString,
2202
- z.ZodArray<z.ZodString, "atleastone">
2203
- ]>;
2204
- addressCountry: z.ZodOptional<z.ZodString>;
2205
- addressCountryCode: z.ZodOptional<z.ZodString>;
2206
- addressRegion: z.ZodOptional<z.ZodString>;
2207
- addressLocality: z.ZodOptional<z.ZodString>;
2208
- streetAddress: z.ZodOptional<z.ZodString>;
2209
- postOfficeBoxNumber: z.ZodOptional<z.ZodString>;
2210
- postalCode: z.ZodOptional<z.ZodString>;
2211
- geo: z.ZodOptional<z.ZodObject<{
2212
- type: z.ZodUnion<[
2213
- z.ZodString,
2214
- z.ZodArray<z.ZodString, "atleastone">
2215
- ]>;
2216
- latitude: z.ZodNumber;
2217
- longitude: z.ZodNumber;
2218
- }, "strip", z.ZodTypeAny, {
2219
- type: string | [
2220
- string,
2221
- ...string[]
2222
- ];
2223
- latitude: number;
2224
- longitude: number;
2225
- }, {
2226
- type: string | [
2227
- string,
2228
- ...string[]
2229
- ];
2230
- latitude: number;
2231
- longitude: number;
2232
- }>>;
2233
- }, "strip", z.ZodTypeAny, {
2234
- type: string | [
2235
- string,
2236
- ...string[]
2237
- ];
2238
- addressCountry?: string | undefined;
2239
- addressCountryCode?: string | undefined;
2240
- addressRegion?: string | undefined;
2241
- addressLocality?: string | undefined;
2242
- streetAddress?: string | undefined;
2243
- postOfficeBoxNumber?: string | undefined;
2244
- postalCode?: string | undefined;
2245
- geo?: {
2246
- type: string | [
2247
- string,
2248
- ...string[]
2249
- ];
2250
- latitude: number;
2251
- longitude: number;
2252
- } | undefined;
2253
- }, {
2254
- type: string | [
2255
- string,
2256
- ...string[]
2257
- ];
2258
- addressCountry?: string | undefined;
2259
- addressCountryCode?: string | undefined;
2260
- addressRegion?: string | undefined;
2261
- addressLocality?: string | undefined;
2262
- streetAddress?: string | undefined;
2263
- postOfficeBoxNumber?: string | undefined;
2264
- postalCode?: string | undefined;
2265
- geo?: {
2266
- type: string | [
2267
- string,
2268
- ...string[]
2269
- ];
2270
- latitude: number;
2271
- longitude: number;
2272
- } | undefined;
2273
- }>>;
2274
- otherIdentifier: z.ZodOptional<z.ZodArray<z.ZodObject<{
2275
- type: z.ZodUnion<[
2276
- z.ZodString,
2277
- z.ZodArray<z.ZodString, "atleastone">
2278
- ]>;
2279
- identifier: z.ZodString;
2280
- identifierType: z.ZodUnion<[
2281
- z.ZodEnum<[
2282
- "sourcedId",
2283
- "systemId",
2284
- "productId",
2285
- "userName",
2286
- "accountId",
2287
- "emailAddress",
2288
- "nationalIdentityNumber",
2289
- "isbn",
2290
- "issn",
2291
- "lisSourcedId",
2292
- "oneRosterSourcedId",
2293
- "sisSourcedId",
2294
- "ltiContextId",
2295
- "ltiDeploymentId",
2296
- "ltiToolId",
2297
- "ltiPlatformId",
2298
- "ltiUserId",
2299
- "identifier"
2300
- ]>,
2301
- z.ZodString
2302
- ]>;
2303
- }, "strip", z.ZodTypeAny, {
2304
- type: string | [
2305
- string,
2306
- ...string[]
2307
- ];
2308
- identifier: string;
2309
- identifierType: string;
2310
- }, {
2311
- type: string | [
2312
- string,
2313
- ...string[]
2314
- ];
2315
- identifier: string;
2316
- identifierType: string;
2317
- }>, "many">>;
2318
- official: z.ZodOptional<z.ZodString>;
2319
- parentOrg: z.ZodOptional<z.ZodAny>;
2320
- familyName: z.ZodOptional<z.ZodString>;
2321
- givenName: z.ZodOptional<z.ZodString>;
2322
- additionalName: z.ZodOptional<z.ZodString>;
2323
- patronymicName: z.ZodOptional<z.ZodString>;
2324
- honorificPrefix: z.ZodOptional<z.ZodString>;
2325
- honorificSuffix: z.ZodOptional<z.ZodString>;
2326
- familyNamePrefix: z.ZodOptional<z.ZodString>;
2327
- dateOfBirth: z.ZodOptional<z.ZodString>;
2328
- }, z.ZodAny, "strip">, z.objectInputType<{
2329
- id: z.ZodOptional<z.ZodString>;
2330
- type: z.ZodUnion<[
2331
- z.ZodString,
2332
- z.ZodOptional<z.ZodArray<z.ZodString, "atleastone">>
2333
- ]>;
2334
- name: z.ZodOptional<z.ZodString>;
2335
- url: z.ZodOptional<z.ZodString>;
2336
- phone: z.ZodOptional<z.ZodString>;
2337
- description: z.ZodOptional<z.ZodString>;
2338
- endorsement: z.ZodOptional<z.ZodArray<z.ZodAny, "many">>;
2339
- image: z.ZodOptional<z.ZodUnion<[
2340
- z.ZodString,
2341
- z.ZodObject<{
2342
- id: z.ZodString;
2343
- type: z.ZodString;
2344
- caption: z.ZodOptional<z.ZodString>;
2345
- }, "strip", z.ZodTypeAny, {
2346
- type: string;
2347
- id: string;
2348
- caption?: string | undefined;
2349
- }, {
2350
- type: string;
2351
- id: string;
2352
- caption?: string | undefined;
2353
- }>
2354
- ]>>;
2355
- email: z.ZodOptional<z.ZodString>;
2356
- address: z.ZodOptional<z.ZodObject<{
2357
- type: z.ZodUnion<[
2358
- z.ZodString,
2359
- z.ZodArray<z.ZodString, "atleastone">
2360
- ]>;
2361
- addressCountry: z.ZodOptional<z.ZodString>;
2362
- addressCountryCode: z.ZodOptional<z.ZodString>;
2363
- addressRegion: z.ZodOptional<z.ZodString>;
2364
- addressLocality: z.ZodOptional<z.ZodString>;
2365
- streetAddress: z.ZodOptional<z.ZodString>;
2366
- postOfficeBoxNumber: z.ZodOptional<z.ZodString>;
2367
- postalCode: z.ZodOptional<z.ZodString>;
2368
- geo: z.ZodOptional<z.ZodObject<{
2369
- type: z.ZodUnion<[
2370
- z.ZodString,
2371
- z.ZodArray<z.ZodString, "atleastone">
2372
- ]>;
2373
- latitude: z.ZodNumber;
2374
- longitude: z.ZodNumber;
2375
- }, "strip", z.ZodTypeAny, {
2376
- type: string | [
2377
- string,
2378
- ...string[]
2379
- ];
2380
- latitude: number;
2381
- longitude: number;
2382
- }, {
2383
- type: string | [
2384
- string,
2385
- ...string[]
2386
- ];
2387
- latitude: number;
2388
- longitude: number;
2389
- }>>;
2390
- }, "strip", z.ZodTypeAny, {
2391
- type: string | [
2392
- string,
2393
- ...string[]
2394
- ];
2395
- addressCountry?: string | undefined;
2396
- addressCountryCode?: string | undefined;
2397
- addressRegion?: string | undefined;
2398
- addressLocality?: string | undefined;
2399
- streetAddress?: string | undefined;
2400
- postOfficeBoxNumber?: string | undefined;
2401
- postalCode?: string | undefined;
2402
- geo?: {
2403
- type: string | [
2404
- string,
2405
- ...string[]
2406
- ];
2407
- latitude: number;
2408
- longitude: number;
2409
- } | undefined;
2410
- }, {
2411
- type: string | [
2412
- string,
2413
- ...string[]
2414
- ];
2415
- addressCountry?: string | undefined;
2416
- addressCountryCode?: string | undefined;
2417
- addressRegion?: string | undefined;
2418
- addressLocality?: string | undefined;
2419
- streetAddress?: string | undefined;
2420
- postOfficeBoxNumber?: string | undefined;
2421
- postalCode?: string | undefined;
2422
- geo?: {
2423
- type: string | [
2424
- string,
2425
- ...string[]
2426
- ];
2427
- latitude: number;
2428
- longitude: number;
2429
- } | undefined;
2430
- }>>;
2431
- otherIdentifier: z.ZodOptional<z.ZodArray<z.ZodObject<{
2432
- type: z.ZodUnion<[
2433
- z.ZodString,
2434
- z.ZodArray<z.ZodString, "atleastone">
2435
- ]>;
2436
- identifier: z.ZodString;
2437
- identifierType: z.ZodUnion<[
2438
- z.ZodEnum<[
2439
- "sourcedId",
2440
- "systemId",
2441
- "productId",
2442
- "userName",
2443
- "accountId",
2444
- "emailAddress",
2445
- "nationalIdentityNumber",
2446
- "isbn",
2447
- "issn",
2448
- "lisSourcedId",
2449
- "oneRosterSourcedId",
2450
- "sisSourcedId",
2451
- "ltiContextId",
2452
- "ltiDeploymentId",
2453
- "ltiToolId",
2454
- "ltiPlatformId",
2455
- "ltiUserId",
2456
- "identifier"
2457
- ]>,
2458
- z.ZodString
2459
- ]>;
2460
- }, "strip", z.ZodTypeAny, {
2461
- type: string | [
2462
- string,
2463
- ...string[]
2464
- ];
2465
- identifier: string;
2466
- identifierType: string;
2467
- }, {
2468
- type: string | [
2469
- string,
2470
- ...string[]
2471
- ];
2472
- identifier: string;
2473
- identifierType: string;
2474
- }>, "many">>;
2475
- official: z.ZodOptional<z.ZodString>;
2476
- parentOrg: z.ZodOptional<z.ZodAny>;
2477
- familyName: z.ZodOptional<z.ZodString>;
2478
- givenName: z.ZodOptional<z.ZodString>;
2479
- additionalName: z.ZodOptional<z.ZodString>;
2480
- patronymicName: z.ZodOptional<z.ZodString>;
2481
- honorificPrefix: z.ZodOptional<z.ZodString>;
2482
- honorificSuffix: z.ZodOptional<z.ZodString>;
2483
- familyNamePrefix: z.ZodOptional<z.ZodString>;
2484
- dateOfBirth: z.ZodOptional<z.ZodString>;
2485
- }, z.ZodAny, "strip">>
2486
- ]>;
2487
- credentialSubject: z.ZodUnion<[
2488
- z.ZodObject<{
2489
- id: z.ZodOptional<z.ZodString>;
2490
- }, "strip", z.ZodAny, z.objectOutputType<{
2491
- id: z.ZodOptional<z.ZodString>;
2492
- }, z.ZodAny, "strip">, z.objectInputType<{
2493
- id: z.ZodOptional<z.ZodString>;
2494
- }, z.ZodAny, "strip">>,
2495
- z.ZodArray<z.ZodObject<{
2496
- id: z.ZodOptional<z.ZodString>;
2497
- }, "strip", z.ZodAny, z.objectOutputType<{
2498
- id: z.ZodOptional<z.ZodString>;
2499
- }, z.ZodAny, "strip">, z.objectInputType<{
2500
- id: z.ZodOptional<z.ZodString>;
2501
- }, z.ZodAny, "strip">>, "many">
2502
- ]>;
2503
- refreshService: z.ZodOptional<z.ZodUnion<[
2504
- z.ZodObject<{
2505
- id: z.ZodOptional<z.ZodString>;
2506
- type: z.ZodString;
2507
- }, "strip", z.ZodAny, z.objectOutputType<{
2508
- id: z.ZodOptional<z.ZodString>;
2509
- type: z.ZodString;
2510
- }, z.ZodAny, "strip">, z.objectInputType<{
2511
- id: z.ZodOptional<z.ZodString>;
2512
- type: z.ZodString;
2513
- }, z.ZodAny, "strip">>,
2514
- z.ZodArray<z.ZodObject<{
2515
- id: z.ZodOptional<z.ZodString>;
2516
- type: z.ZodString;
2517
- }, "strip", z.ZodAny, z.objectOutputType<{
2518
- id: z.ZodOptional<z.ZodString>;
2519
- type: z.ZodString;
2520
- }, z.ZodAny, "strip">, z.objectInputType<{
2521
- id: z.ZodOptional<z.ZodString>;
2522
- type: z.ZodString;
2523
- }, z.ZodAny, "strip">>, "many">
2524
- ]>>;
2525
- credentialSchema: z.ZodOptional<z.ZodUnion<[
2526
- z.ZodObject<{
2527
- id: z.ZodString;
2528
- type: z.ZodString;
2529
- }, "strip", z.ZodAny, z.objectOutputType<{
2530
- id: z.ZodString;
2531
- type: z.ZodString;
2532
- }, z.ZodAny, "strip">, z.objectInputType<{
2533
- id: z.ZodString;
2534
- type: z.ZodString;
2535
- }, z.ZodAny, "strip">>,
2536
- z.ZodArray<z.ZodObject<{
2537
- id: z.ZodString;
2538
- type: z.ZodString;
2539
- }, "strip", z.ZodAny, z.objectOutputType<{
2540
- id: z.ZodString;
2541
- type: z.ZodString;
2542
- }, z.ZodAny, "strip">, z.objectInputType<{
2543
- id: z.ZodString;
2544
- type: z.ZodString;
2545
- }, z.ZodAny, "strip">>, "many">
2546
- ]>>;
2547
- issuanceDate: z.ZodOptional<z.ZodString>;
2548
- expirationDate: z.ZodOptional<z.ZodString>;
2549
- credentialStatus: z.ZodOptional<z.ZodUnion<[
2550
- z.ZodObject<{
2551
- type: z.ZodString;
2552
- id: z.ZodString;
2553
- }, "strip", z.ZodAny, z.objectOutputType<{
2554
- type: z.ZodString;
2555
- id: z.ZodString;
2556
- }, z.ZodAny, "strip">, z.objectInputType<{
2557
- type: z.ZodString;
2558
- id: z.ZodString;
2559
- }, z.ZodAny, "strip">>,
2560
- z.ZodArray<z.ZodObject<{
2561
- type: z.ZodString;
2562
- id: z.ZodString;
2563
- }, "strip", z.ZodAny, z.objectOutputType<{
2564
- type: z.ZodString;
2565
- id: z.ZodString;
2566
- }, z.ZodAny, "strip">, z.objectInputType<{
2567
- type: z.ZodString;
2568
- id: z.ZodString;
2569
- }, z.ZodAny, "strip">>, "many">
2570
- ]>>;
2571
- name: z.ZodOptional<z.ZodString>;
2572
- description: z.ZodOptional<z.ZodString>;
2573
- validFrom: z.ZodOptional<z.ZodString>;
2574
- validUntil: z.ZodOptional<z.ZodString>;
2575
- status: z.ZodOptional<z.ZodUnion<[
2576
- z.ZodObject<{
2577
- type: z.ZodString;
2578
- id: z.ZodString;
2579
- }, "strip", z.ZodAny, z.objectOutputType<{
2580
- type: z.ZodString;
2581
- id: z.ZodString;
2582
- }, z.ZodAny, "strip">, z.objectInputType<{
2583
- type: z.ZodString;
2584
- id: z.ZodString;
2585
- }, z.ZodAny, "strip">>,
2586
- z.ZodArray<z.ZodObject<{
2587
- type: z.ZodString;
2588
- id: z.ZodString;
2589
- }, "strip", z.ZodAny, z.objectOutputType<{
2590
- type: z.ZodString;
2591
- id: z.ZodString;
2592
- }, z.ZodAny, "strip">, z.objectInputType<{
2593
- type: z.ZodString;
2594
- id: z.ZodString;
2595
- }, z.ZodAny, "strip">>, "many">
2596
- ]>>;
2597
- termsOfUse: z.ZodOptional<z.ZodUnion<[
2598
- z.ZodObject<{
2599
- type: z.ZodString;
2600
- id: z.ZodOptional<z.ZodString>;
2601
- }, "strip", z.ZodAny, z.objectOutputType<{
2602
- type: z.ZodString;
2603
- id: z.ZodOptional<z.ZodString>;
2604
- }, z.ZodAny, "strip">, z.objectInputType<{
2605
- type: z.ZodString;
2606
- id: z.ZodOptional<z.ZodString>;
2607
- }, z.ZodAny, "strip">>,
2608
- z.ZodArray<z.ZodObject<{
2609
- type: z.ZodString;
2610
- id: z.ZodOptional<z.ZodString>;
2611
- }, "strip", z.ZodAny, z.objectOutputType<{
2612
- type: z.ZodString;
2613
- id: z.ZodOptional<z.ZodString>;
2614
- }, z.ZodAny, "strip">, z.objectInputType<{
2615
- type: z.ZodString;
2616
- id: z.ZodOptional<z.ZodString>;
2617
- }, z.ZodAny, "strip">>, "many">
2618
- ]>>;
2619
- evidence: z.ZodOptional<z.ZodUnion<[
2620
- z.ZodObject<{
2621
- id: z.ZodOptional<z.ZodString>;
2622
- type: z.ZodArray<z.ZodString, "atleastone">;
2623
- name: z.ZodOptional<z.ZodString>;
2624
- narrative: z.ZodOptional<z.ZodString>;
2625
- description: z.ZodOptional<z.ZodString>;
2626
- genre: z.ZodOptional<z.ZodString>;
2627
- audience: z.ZodOptional<z.ZodString>;
2628
- }, "strip", z.ZodAny, z.objectOutputType<{
2629
- id: z.ZodOptional<z.ZodString>;
2630
- type: z.ZodArray<z.ZodString, "atleastone">;
2631
- name: z.ZodOptional<z.ZodString>;
2632
- narrative: z.ZodOptional<z.ZodString>;
2633
- description: z.ZodOptional<z.ZodString>;
2634
- genre: z.ZodOptional<z.ZodString>;
2635
- audience: z.ZodOptional<z.ZodString>;
2636
- }, z.ZodAny, "strip">, z.objectInputType<{
2637
- id: z.ZodOptional<z.ZodString>;
2638
- type: z.ZodArray<z.ZodString, "atleastone">;
2639
- name: z.ZodOptional<z.ZodString>;
2640
- narrative: z.ZodOptional<z.ZodString>;
2641
- description: z.ZodOptional<z.ZodString>;
2642
- genre: z.ZodOptional<z.ZodString>;
2643
- audience: z.ZodOptional<z.ZodString>;
2644
- }, z.ZodAny, "strip">>,
2645
- z.ZodArray<z.ZodObject<{
2646
- id: z.ZodOptional<z.ZodString>;
2647
- type: z.ZodArray<z.ZodString, "atleastone">;
2648
- name: z.ZodOptional<z.ZodString>;
2649
- narrative: z.ZodOptional<z.ZodString>;
2650
- description: z.ZodOptional<z.ZodString>;
2651
- genre: z.ZodOptional<z.ZodString>;
2652
- audience: z.ZodOptional<z.ZodString>;
2653
- }, "strip", z.ZodAny, z.objectOutputType<{
2654
- id: z.ZodOptional<z.ZodString>;
2655
- type: z.ZodArray<z.ZodString, "atleastone">;
2656
- name: z.ZodOptional<z.ZodString>;
2657
- narrative: z.ZodOptional<z.ZodString>;
2658
- description: z.ZodOptional<z.ZodString>;
2659
- genre: z.ZodOptional<z.ZodString>;
2660
- audience: z.ZodOptional<z.ZodString>;
2661
- }, z.ZodAny, "strip">, z.objectInputType<{
2662
- id: z.ZodOptional<z.ZodString>;
2663
- type: z.ZodArray<z.ZodString, "atleastone">;
2664
- name: z.ZodOptional<z.ZodString>;
2665
- narrative: z.ZodOptional<z.ZodString>;
2666
- description: z.ZodOptional<z.ZodString>;
2667
- genre: z.ZodOptional<z.ZodString>;
2668
- audience: z.ZodOptional<z.ZodString>;
2669
- }, z.ZodAny, "strip">>, "many">
2670
- ]>>;
2671
- }, {
2672
- proof: z.ZodUnion<[
2673
- z.ZodObject<{
2674
- type: z.ZodString;
2675
- created: z.ZodString;
2676
- challenge: z.ZodOptional<z.ZodString>;
2677
- domain: z.ZodOptional<z.ZodString>;
2678
- nonce: z.ZodOptional<z.ZodString>;
2679
- proofPurpose: z.ZodString;
2680
- verificationMethod: z.ZodString;
2681
- jws: z.ZodOptional<z.ZodString>;
2682
- }, "strip", z.ZodAny, z.objectOutputType<{
2683
- type: z.ZodString;
2684
- created: z.ZodString;
2685
- challenge: z.ZodOptional<z.ZodString>;
2686
- domain: z.ZodOptional<z.ZodString>;
2687
- nonce: z.ZodOptional<z.ZodString>;
2688
- proofPurpose: z.ZodString;
2689
- verificationMethod: z.ZodString;
2690
- jws: z.ZodOptional<z.ZodString>;
2691
- }, z.ZodAny, "strip">, z.objectInputType<{
2692
- type: z.ZodString;
2693
- created: z.ZodString;
2694
- challenge: z.ZodOptional<z.ZodString>;
2695
- domain: z.ZodOptional<z.ZodString>;
2696
- nonce: z.ZodOptional<z.ZodString>;
2697
- proofPurpose: z.ZodString;
2698
- verificationMethod: z.ZodString;
2699
- jws: z.ZodOptional<z.ZodString>;
2700
- }, z.ZodAny, "strip">>,
2701
- z.ZodArray<z.ZodObject<{
2702
- type: z.ZodString;
2703
- created: z.ZodString;
2704
- challenge: z.ZodOptional<z.ZodString>;
2705
- domain: z.ZodOptional<z.ZodString>;
2706
- nonce: z.ZodOptional<z.ZodString>;
2707
- proofPurpose: z.ZodString;
2708
- verificationMethod: z.ZodString;
2709
- jws: z.ZodOptional<z.ZodString>;
2710
- }, "strip", z.ZodAny, z.objectOutputType<{
2711
- type: z.ZodString;
2712
- created: z.ZodString;
2713
- challenge: z.ZodOptional<z.ZodString>;
2714
- domain: z.ZodOptional<z.ZodString>;
2715
- nonce: z.ZodOptional<z.ZodString>;
2716
- proofPurpose: z.ZodString;
2717
- verificationMethod: z.ZodString;
2718
- jws: z.ZodOptional<z.ZodString>;
2719
- }, z.ZodAny, "strip">, z.objectInputType<{
2720
- type: z.ZodString;
2721
- created: z.ZodString;
2722
- challenge: z.ZodOptional<z.ZodString>;
2723
- domain: z.ZodOptional<z.ZodString>;
2724
- nonce: z.ZodOptional<z.ZodString>;
2725
- proofPurpose: z.ZodString;
2726
- verificationMethod: z.ZodString;
2727
- jws: z.ZodOptional<z.ZodString>;
2728
- }, z.ZodAny, "strip">>, "many">
2729
- ]>;
2730
- }>, "strip", z.ZodAny, z.objectOutputType<z.objectUtil.extendShape<{
2731
- "@context": z.ZodArray<z.ZodUnion<[
2732
- z.ZodString,
2733
- z.ZodRecord<z.ZodString, z.ZodAny>
2734
- ]>, "many">;
2735
- id: z.ZodOptional<z.ZodString>;
2736
- type: z.ZodArray<z.ZodString, "atleastone">;
2737
- issuer: z.ZodUnion<[
2738
- z.ZodString,
2739
- z.ZodObject<{
2740
- id: z.ZodOptional<z.ZodString>;
2741
- type: z.ZodUnion<[
2742
- z.ZodString,
2743
- z.ZodOptional<z.ZodArray<z.ZodString, "atleastone">>
2744
- ]>;
2745
- name: z.ZodOptional<z.ZodString>;
2746
- url: z.ZodOptional<z.ZodString>;
2747
- phone: z.ZodOptional<z.ZodString>;
2748
- description: z.ZodOptional<z.ZodString>;
2749
- endorsement: z.ZodOptional<z.ZodArray<z.ZodAny, "many">>;
2750
- image: z.ZodOptional<z.ZodUnion<[
2751
- z.ZodString,
2752
- z.ZodObject<{
2753
- id: z.ZodString;
2754
- type: z.ZodString;
2755
- caption: z.ZodOptional<z.ZodString>;
2756
- }, "strip", z.ZodTypeAny, {
2757
- type: string;
2758
- id: string;
2759
- caption?: string | undefined;
2760
- }, {
2761
- type: string;
2762
- id: string;
2763
- caption?: string | undefined;
2764
- }>
2765
- ]>>;
2766
- email: z.ZodOptional<z.ZodString>;
2767
- address: z.ZodOptional<z.ZodObject<{
2768
- type: z.ZodUnion<[
2769
- z.ZodString,
2770
- z.ZodArray<z.ZodString, "atleastone">
2771
- ]>;
2772
- addressCountry: z.ZodOptional<z.ZodString>;
2773
- addressCountryCode: z.ZodOptional<z.ZodString>;
2774
- addressRegion: z.ZodOptional<z.ZodString>;
2775
- addressLocality: z.ZodOptional<z.ZodString>;
2776
- streetAddress: z.ZodOptional<z.ZodString>;
2777
- postOfficeBoxNumber: z.ZodOptional<z.ZodString>;
2778
- postalCode: z.ZodOptional<z.ZodString>;
2779
- geo: z.ZodOptional<z.ZodObject<{
2780
- type: z.ZodUnion<[
2781
- z.ZodString,
2782
- z.ZodArray<z.ZodString, "atleastone">
2783
- ]>;
2784
- latitude: z.ZodNumber;
2785
- longitude: z.ZodNumber;
2786
- }, "strip", z.ZodTypeAny, {
2787
- type: string | [
2788
- string,
2789
- ...string[]
2790
- ];
2791
- latitude: number;
2792
- longitude: number;
2793
- }, {
2794
- type: string | [
2795
- string,
2796
- ...string[]
2797
- ];
2798
- latitude: number;
2799
- longitude: number;
2800
- }>>;
2801
- }, "strip", z.ZodTypeAny, {
2802
- type: string | [
2803
- string,
2804
- ...string[]
2805
- ];
2806
- addressCountry?: string | undefined;
2807
- addressCountryCode?: string | undefined;
2808
- addressRegion?: string | undefined;
2809
- addressLocality?: string | undefined;
2810
- streetAddress?: string | undefined;
2811
- postOfficeBoxNumber?: string | undefined;
2812
- postalCode?: string | undefined;
2813
- geo?: {
2814
- type: string | [
2815
- string,
2816
- ...string[]
2817
- ];
2818
- latitude: number;
2819
- longitude: number;
2820
- } | undefined;
2821
- }, {
2822
- type: string | [
2823
- string,
2824
- ...string[]
2825
- ];
2826
- addressCountry?: string | undefined;
2827
- addressCountryCode?: string | undefined;
2828
- addressRegion?: string | undefined;
2829
- addressLocality?: string | undefined;
2830
- streetAddress?: string | undefined;
2831
- postOfficeBoxNumber?: string | undefined;
2832
- postalCode?: string | undefined;
2833
- geo?: {
2834
- type: string | [
2835
- string,
2836
- ...string[]
2837
- ];
2838
- latitude: number;
2839
- longitude: number;
2840
- } | undefined;
2841
- }>>;
2842
- otherIdentifier: z.ZodOptional<z.ZodArray<z.ZodObject<{
2843
- type: z.ZodUnion<[
2844
- z.ZodString,
2845
- z.ZodArray<z.ZodString, "atleastone">
2846
- ]>;
2847
- identifier: z.ZodString;
2848
- identifierType: z.ZodUnion<[
2849
- z.ZodEnum<[
2850
- "sourcedId",
2851
- "systemId",
2852
- "productId",
2853
- "userName",
2854
- "accountId",
2855
- "emailAddress",
2856
- "nationalIdentityNumber",
2857
- "isbn",
2858
- "issn",
2859
- "lisSourcedId",
2860
- "oneRosterSourcedId",
2861
- "sisSourcedId",
2862
- "ltiContextId",
2863
- "ltiDeploymentId",
2864
- "ltiToolId",
2865
- "ltiPlatformId",
2866
- "ltiUserId",
2867
- "identifier"
2868
- ]>,
2869
- z.ZodString
2870
- ]>;
2871
- }, "strip", z.ZodTypeAny, {
2872
- type: string | [
2873
- string,
2874
- ...string[]
2875
- ];
2876
- identifier: string;
2877
- identifierType: string;
2878
- }, {
2879
- type: string | [
2880
- string,
2881
- ...string[]
2882
- ];
2883
- identifier: string;
2884
- identifierType: string;
2885
- }>, "many">>;
2886
- official: z.ZodOptional<z.ZodString>;
2887
- parentOrg: z.ZodOptional<z.ZodAny>;
2888
- familyName: z.ZodOptional<z.ZodString>;
2889
- givenName: z.ZodOptional<z.ZodString>;
2890
- additionalName: z.ZodOptional<z.ZodString>;
2891
- patronymicName: z.ZodOptional<z.ZodString>;
2892
- honorificPrefix: z.ZodOptional<z.ZodString>;
2893
- honorificSuffix: z.ZodOptional<z.ZodString>;
2894
- familyNamePrefix: z.ZodOptional<z.ZodString>;
2895
- dateOfBirth: z.ZodOptional<z.ZodString>;
2896
- }, "strip", z.ZodAny, z.objectOutputType<{
2897
- id: z.ZodOptional<z.ZodString>;
2898
- type: z.ZodUnion<[
2899
- z.ZodString,
2900
- z.ZodOptional<z.ZodArray<z.ZodString, "atleastone">>
2901
- ]>;
2902
- name: z.ZodOptional<z.ZodString>;
2903
- url: z.ZodOptional<z.ZodString>;
2904
- phone: z.ZodOptional<z.ZodString>;
2905
- description: z.ZodOptional<z.ZodString>;
2906
- endorsement: z.ZodOptional<z.ZodArray<z.ZodAny, "many">>;
2907
- image: z.ZodOptional<z.ZodUnion<[
2908
- z.ZodString,
2909
- z.ZodObject<{
2910
- id: z.ZodString;
2911
- type: z.ZodString;
2912
- caption: z.ZodOptional<z.ZodString>;
2913
- }, "strip", z.ZodTypeAny, {
2914
- type: string;
2915
- id: string;
2916
- caption?: string | undefined;
2917
- }, {
2918
- type: string;
2919
- id: string;
2920
- caption?: string | undefined;
2921
- }>
2922
- ]>>;
2923
- email: z.ZodOptional<z.ZodString>;
2924
- address: z.ZodOptional<z.ZodObject<{
2925
- type: z.ZodUnion<[
2926
- z.ZodString,
2927
- z.ZodArray<z.ZodString, "atleastone">
2928
- ]>;
2929
- addressCountry: z.ZodOptional<z.ZodString>;
2930
- addressCountryCode: z.ZodOptional<z.ZodString>;
2931
- addressRegion: z.ZodOptional<z.ZodString>;
2932
- addressLocality: z.ZodOptional<z.ZodString>;
2933
- streetAddress: z.ZodOptional<z.ZodString>;
2934
- postOfficeBoxNumber: z.ZodOptional<z.ZodString>;
2935
- postalCode: z.ZodOptional<z.ZodString>;
2936
- geo: z.ZodOptional<z.ZodObject<{
2937
- type: z.ZodUnion<[
2938
- z.ZodString,
2939
- z.ZodArray<z.ZodString, "atleastone">
2940
- ]>;
2941
- latitude: z.ZodNumber;
2942
- longitude: z.ZodNumber;
2943
- }, "strip", z.ZodTypeAny, {
2944
- type: string | [
2945
- string,
2946
- ...string[]
2947
- ];
2948
- latitude: number;
2949
- longitude: number;
2950
- }, {
2951
- type: string | [
2952
- string,
2953
- ...string[]
2954
- ];
2955
- latitude: number;
2956
- longitude: number;
2957
- }>>;
2958
- }, "strip", z.ZodTypeAny, {
2959
- type: string | [
2960
- string,
2961
- ...string[]
2962
- ];
2963
- addressCountry?: string | undefined;
2964
- addressCountryCode?: string | undefined;
2965
- addressRegion?: string | undefined;
2966
- addressLocality?: string | undefined;
2967
- streetAddress?: string | undefined;
2968
- postOfficeBoxNumber?: string | undefined;
2969
- postalCode?: string | undefined;
2970
- geo?: {
2971
- type: string | [
2972
- string,
2973
- ...string[]
2974
- ];
2975
- latitude: number;
2976
- longitude: number;
2977
- } | undefined;
2978
- }, {
2979
- type: string | [
2980
- string,
2981
- ...string[]
2982
- ];
2983
- addressCountry?: string | undefined;
2984
- addressCountryCode?: string | undefined;
2985
- addressRegion?: string | undefined;
2986
- addressLocality?: string | undefined;
2987
- streetAddress?: string | undefined;
2988
- postOfficeBoxNumber?: string | undefined;
2989
- postalCode?: string | undefined;
2990
- geo?: {
2991
- type: string | [
2992
- string,
2993
- ...string[]
2994
- ];
2995
- latitude: number;
2996
- longitude: number;
2997
- } | undefined;
2998
- }>>;
2999
- otherIdentifier: z.ZodOptional<z.ZodArray<z.ZodObject<{
3000
- type: z.ZodUnion<[
3001
- z.ZodString,
3002
- z.ZodArray<z.ZodString, "atleastone">
3003
- ]>;
3004
- identifier: z.ZodString;
3005
- identifierType: z.ZodUnion<[
3006
- z.ZodEnum<[
3007
- "sourcedId",
3008
- "systemId",
3009
- "productId",
3010
- "userName",
3011
- "accountId",
3012
- "emailAddress",
3013
- "nationalIdentityNumber",
3014
- "isbn",
3015
- "issn",
3016
- "lisSourcedId",
3017
- "oneRosterSourcedId",
3018
- "sisSourcedId",
3019
- "ltiContextId",
3020
- "ltiDeploymentId",
3021
- "ltiToolId",
3022
- "ltiPlatformId",
3023
- "ltiUserId",
3024
- "identifier"
3025
- ]>,
3026
- z.ZodString
3027
- ]>;
3028
- }, "strip", z.ZodTypeAny, {
3029
- type: string | [
3030
- string,
3031
- ...string[]
3032
- ];
3033
- identifier: string;
3034
- identifierType: string;
3035
- }, {
3036
- type: string | [
3037
- string,
3038
- ...string[]
3039
- ];
3040
- identifier: string;
3041
- identifierType: string;
3042
- }>, "many">>;
3043
- official: z.ZodOptional<z.ZodString>;
3044
- parentOrg: z.ZodOptional<z.ZodAny>;
3045
- familyName: z.ZodOptional<z.ZodString>;
3046
- givenName: z.ZodOptional<z.ZodString>;
3047
- additionalName: z.ZodOptional<z.ZodString>;
3048
- patronymicName: z.ZodOptional<z.ZodString>;
3049
- honorificPrefix: z.ZodOptional<z.ZodString>;
3050
- honorificSuffix: z.ZodOptional<z.ZodString>;
3051
- familyNamePrefix: z.ZodOptional<z.ZodString>;
3052
- dateOfBirth: z.ZodOptional<z.ZodString>;
3053
- }, z.ZodAny, "strip">, z.objectInputType<{
3054
- id: z.ZodOptional<z.ZodString>;
3055
- type: z.ZodUnion<[
3056
- z.ZodString,
3057
- z.ZodOptional<z.ZodArray<z.ZodString, "atleastone">>
3058
- ]>;
3059
- name: z.ZodOptional<z.ZodString>;
3060
- url: z.ZodOptional<z.ZodString>;
3061
- phone: z.ZodOptional<z.ZodString>;
3062
- description: z.ZodOptional<z.ZodString>;
3063
- endorsement: z.ZodOptional<z.ZodArray<z.ZodAny, "many">>;
3064
- image: z.ZodOptional<z.ZodUnion<[
3065
- z.ZodString,
3066
- z.ZodObject<{
3067
- id: z.ZodString;
3068
- type: z.ZodString;
3069
- caption: z.ZodOptional<z.ZodString>;
3070
- }, "strip", z.ZodTypeAny, {
3071
- type: string;
3072
- id: string;
3073
- caption?: string | undefined;
3074
- }, {
3075
- type: string;
3076
- id: string;
3077
- caption?: string | undefined;
3078
- }>
3079
- ]>>;
3080
- email: z.ZodOptional<z.ZodString>;
3081
- address: z.ZodOptional<z.ZodObject<{
3082
- type: z.ZodUnion<[
3083
- z.ZodString,
3084
- z.ZodArray<z.ZodString, "atleastone">
3085
- ]>;
3086
- addressCountry: z.ZodOptional<z.ZodString>;
3087
- addressCountryCode: z.ZodOptional<z.ZodString>;
3088
- addressRegion: z.ZodOptional<z.ZodString>;
3089
- addressLocality: z.ZodOptional<z.ZodString>;
3090
- streetAddress: z.ZodOptional<z.ZodString>;
3091
- postOfficeBoxNumber: z.ZodOptional<z.ZodString>;
3092
- postalCode: z.ZodOptional<z.ZodString>;
3093
- geo: z.ZodOptional<z.ZodObject<{
3094
- type: z.ZodUnion<[
3095
- z.ZodString,
3096
- z.ZodArray<z.ZodString, "atleastone">
3097
- ]>;
3098
- latitude: z.ZodNumber;
3099
- longitude: z.ZodNumber;
3100
- }, "strip", z.ZodTypeAny, {
3101
- type: string | [
3102
- string,
3103
- ...string[]
3104
- ];
3105
- latitude: number;
3106
- longitude: number;
3107
- }, {
3108
- type: string | [
3109
- string,
3110
- ...string[]
3111
- ];
3112
- latitude: number;
3113
- longitude: number;
3114
- }>>;
3115
- }, "strip", z.ZodTypeAny, {
3116
- type: string | [
3117
- string,
3118
- ...string[]
3119
- ];
3120
- addressCountry?: string | undefined;
3121
- addressCountryCode?: string | undefined;
3122
- addressRegion?: string | undefined;
3123
- addressLocality?: string | undefined;
3124
- streetAddress?: string | undefined;
3125
- postOfficeBoxNumber?: string | undefined;
3126
- postalCode?: string | undefined;
3127
- geo?: {
3128
- type: string | [
3129
- string,
3130
- ...string[]
3131
- ];
3132
- latitude: number;
3133
- longitude: number;
3134
- } | undefined;
3135
- }, {
3136
- type: string | [
3137
- string,
3138
- ...string[]
3139
- ];
3140
- addressCountry?: string | undefined;
3141
- addressCountryCode?: string | undefined;
3142
- addressRegion?: string | undefined;
3143
- addressLocality?: string | undefined;
3144
- streetAddress?: string | undefined;
3145
- postOfficeBoxNumber?: string | undefined;
3146
- postalCode?: string | undefined;
3147
- geo?: {
3148
- type: string | [
3149
- string,
3150
- ...string[]
3151
- ];
3152
- latitude: number;
3153
- longitude: number;
3154
- } | undefined;
3155
- }>>;
3156
- otherIdentifier: z.ZodOptional<z.ZodArray<z.ZodObject<{
3157
- type: z.ZodUnion<[
3158
- z.ZodString,
3159
- z.ZodArray<z.ZodString, "atleastone">
3160
- ]>;
3161
- identifier: z.ZodString;
3162
- identifierType: z.ZodUnion<[
3163
- z.ZodEnum<[
3164
- "sourcedId",
3165
- "systemId",
3166
- "productId",
3167
- "userName",
3168
- "accountId",
3169
- "emailAddress",
3170
- "nationalIdentityNumber",
3171
- "isbn",
3172
- "issn",
3173
- "lisSourcedId",
3174
- "oneRosterSourcedId",
3175
- "sisSourcedId",
3176
- "ltiContextId",
3177
- "ltiDeploymentId",
3178
- "ltiToolId",
3179
- "ltiPlatformId",
3180
- "ltiUserId",
3181
- "identifier"
3182
- ]>,
3183
- z.ZodString
3184
- ]>;
3185
- }, "strip", z.ZodTypeAny, {
3186
- type: string | [
3187
- string,
3188
- ...string[]
3189
- ];
3190
- identifier: string;
3191
- identifierType: string;
3192
- }, {
3193
- type: string | [
3194
- string,
3195
- ...string[]
3196
- ];
3197
- identifier: string;
3198
- identifierType: string;
3199
- }>, "many">>;
3200
- official: z.ZodOptional<z.ZodString>;
3201
- parentOrg: z.ZodOptional<z.ZodAny>;
3202
- familyName: z.ZodOptional<z.ZodString>;
3203
- givenName: z.ZodOptional<z.ZodString>;
3204
- additionalName: z.ZodOptional<z.ZodString>;
3205
- patronymicName: z.ZodOptional<z.ZodString>;
3206
- honorificPrefix: z.ZodOptional<z.ZodString>;
3207
- honorificSuffix: z.ZodOptional<z.ZodString>;
3208
- familyNamePrefix: z.ZodOptional<z.ZodString>;
3209
- dateOfBirth: z.ZodOptional<z.ZodString>;
3210
- }, z.ZodAny, "strip">>
3211
- ]>;
3212
- credentialSubject: z.ZodUnion<[
3213
- z.ZodObject<{
3214
- id: z.ZodOptional<z.ZodString>;
3215
- }, "strip", z.ZodAny, z.objectOutputType<{
3216
- id: z.ZodOptional<z.ZodString>;
3217
- }, z.ZodAny, "strip">, z.objectInputType<{
3218
- id: z.ZodOptional<z.ZodString>;
3219
- }, z.ZodAny, "strip">>,
3220
- z.ZodArray<z.ZodObject<{
3221
- id: z.ZodOptional<z.ZodString>;
3222
- }, "strip", z.ZodAny, z.objectOutputType<{
3223
- id: z.ZodOptional<z.ZodString>;
3224
- }, z.ZodAny, "strip">, z.objectInputType<{
3225
- id: z.ZodOptional<z.ZodString>;
3226
- }, z.ZodAny, "strip">>, "many">
3227
- ]>;
3228
- refreshService: z.ZodOptional<z.ZodUnion<[
3229
- z.ZodObject<{
3230
- id: z.ZodOptional<z.ZodString>;
3231
- type: z.ZodString;
3232
- }, "strip", z.ZodAny, z.objectOutputType<{
3233
- id: z.ZodOptional<z.ZodString>;
3234
- type: z.ZodString;
3235
- }, z.ZodAny, "strip">, z.objectInputType<{
3236
- id: z.ZodOptional<z.ZodString>;
3237
- type: z.ZodString;
3238
- }, z.ZodAny, "strip">>,
3239
- z.ZodArray<z.ZodObject<{
3240
- id: z.ZodOptional<z.ZodString>;
3241
- type: z.ZodString;
3242
- }, "strip", z.ZodAny, z.objectOutputType<{
3243
- id: z.ZodOptional<z.ZodString>;
3244
- type: z.ZodString;
3245
- }, z.ZodAny, "strip">, z.objectInputType<{
3246
- id: z.ZodOptional<z.ZodString>;
3247
- type: z.ZodString;
3248
- }, z.ZodAny, "strip">>, "many">
3249
- ]>>;
3250
- credentialSchema: z.ZodOptional<z.ZodUnion<[
3251
- z.ZodObject<{
3252
- id: z.ZodString;
3253
- type: z.ZodString;
3254
- }, "strip", z.ZodAny, z.objectOutputType<{
3255
- id: z.ZodString;
3256
- type: z.ZodString;
3257
- }, z.ZodAny, "strip">, z.objectInputType<{
3258
- id: z.ZodString;
3259
- type: z.ZodString;
3260
- }, z.ZodAny, "strip">>,
3261
- z.ZodArray<z.ZodObject<{
3262
- id: z.ZodString;
3263
- type: z.ZodString;
3264
- }, "strip", z.ZodAny, z.objectOutputType<{
3265
- id: z.ZodString;
3266
- type: z.ZodString;
3267
- }, z.ZodAny, "strip">, z.objectInputType<{
3268
- id: z.ZodString;
3269
- type: z.ZodString;
3270
- }, z.ZodAny, "strip">>, "many">
3271
- ]>>;
3272
- issuanceDate: z.ZodOptional<z.ZodString>;
3273
- expirationDate: z.ZodOptional<z.ZodString>;
3274
- credentialStatus: z.ZodOptional<z.ZodUnion<[
3275
- z.ZodObject<{
3276
- type: z.ZodString;
3277
- id: z.ZodString;
3278
- }, "strip", z.ZodAny, z.objectOutputType<{
3279
- type: z.ZodString;
3280
- id: z.ZodString;
3281
- }, z.ZodAny, "strip">, z.objectInputType<{
3282
- type: z.ZodString;
3283
- id: z.ZodString;
3284
- }, z.ZodAny, "strip">>,
3285
- z.ZodArray<z.ZodObject<{
3286
- type: z.ZodString;
3287
- id: z.ZodString;
3288
- }, "strip", z.ZodAny, z.objectOutputType<{
3289
- type: z.ZodString;
3290
- id: z.ZodString;
3291
- }, z.ZodAny, "strip">, z.objectInputType<{
3292
- type: z.ZodString;
3293
- id: z.ZodString;
3294
- }, z.ZodAny, "strip">>, "many">
3295
- ]>>;
3296
- name: z.ZodOptional<z.ZodString>;
3297
- description: z.ZodOptional<z.ZodString>;
3298
- validFrom: z.ZodOptional<z.ZodString>;
3299
- validUntil: z.ZodOptional<z.ZodString>;
3300
- status: z.ZodOptional<z.ZodUnion<[
3301
- z.ZodObject<{
3302
- type: z.ZodString;
3303
- id: z.ZodString;
3304
- }, "strip", z.ZodAny, z.objectOutputType<{
3305
- type: z.ZodString;
3306
- id: z.ZodString;
3307
- }, z.ZodAny, "strip">, z.objectInputType<{
3308
- type: z.ZodString;
3309
- id: z.ZodString;
3310
- }, z.ZodAny, "strip">>,
3311
- z.ZodArray<z.ZodObject<{
3312
- type: z.ZodString;
3313
- id: z.ZodString;
3314
- }, "strip", z.ZodAny, z.objectOutputType<{
3315
- type: z.ZodString;
3316
- id: z.ZodString;
3317
- }, z.ZodAny, "strip">, z.objectInputType<{
3318
- type: z.ZodString;
3319
- id: z.ZodString;
3320
- }, z.ZodAny, "strip">>, "many">
3321
- ]>>;
3322
- termsOfUse: z.ZodOptional<z.ZodUnion<[
3323
- z.ZodObject<{
3324
- type: z.ZodString;
3325
- id: z.ZodOptional<z.ZodString>;
3326
- }, "strip", z.ZodAny, z.objectOutputType<{
3327
- type: z.ZodString;
3328
- id: z.ZodOptional<z.ZodString>;
3329
- }, z.ZodAny, "strip">, z.objectInputType<{
3330
- type: z.ZodString;
3331
- id: z.ZodOptional<z.ZodString>;
3332
- }, z.ZodAny, "strip">>,
3333
- z.ZodArray<z.ZodObject<{
3334
- type: z.ZodString;
3335
- id: z.ZodOptional<z.ZodString>;
3336
- }, "strip", z.ZodAny, z.objectOutputType<{
3337
- type: z.ZodString;
3338
- id: z.ZodOptional<z.ZodString>;
3339
- }, z.ZodAny, "strip">, z.objectInputType<{
3340
- type: z.ZodString;
3341
- id: z.ZodOptional<z.ZodString>;
3342
- }, z.ZodAny, "strip">>, "many">
3343
- ]>>;
3344
- evidence: z.ZodOptional<z.ZodUnion<[
3345
- z.ZodObject<{
3346
- id: z.ZodOptional<z.ZodString>;
3347
- type: z.ZodArray<z.ZodString, "atleastone">;
3348
- name: z.ZodOptional<z.ZodString>;
3349
- narrative: z.ZodOptional<z.ZodString>;
3350
- description: z.ZodOptional<z.ZodString>;
3351
- genre: z.ZodOptional<z.ZodString>;
3352
- audience: z.ZodOptional<z.ZodString>;
3353
- }, "strip", z.ZodAny, z.objectOutputType<{
3354
- id: z.ZodOptional<z.ZodString>;
3355
- type: z.ZodArray<z.ZodString, "atleastone">;
3356
- name: z.ZodOptional<z.ZodString>;
3357
- narrative: z.ZodOptional<z.ZodString>;
3358
- description: z.ZodOptional<z.ZodString>;
3359
- genre: z.ZodOptional<z.ZodString>;
3360
- audience: z.ZodOptional<z.ZodString>;
3361
- }, z.ZodAny, "strip">, z.objectInputType<{
3362
- id: z.ZodOptional<z.ZodString>;
3363
- type: z.ZodArray<z.ZodString, "atleastone">;
3364
- name: z.ZodOptional<z.ZodString>;
3365
- narrative: z.ZodOptional<z.ZodString>;
3366
- description: z.ZodOptional<z.ZodString>;
3367
- genre: z.ZodOptional<z.ZodString>;
3368
- audience: z.ZodOptional<z.ZodString>;
3369
- }, z.ZodAny, "strip">>,
3370
- z.ZodArray<z.ZodObject<{
3371
- id: z.ZodOptional<z.ZodString>;
3372
- type: z.ZodArray<z.ZodString, "atleastone">;
3373
- name: z.ZodOptional<z.ZodString>;
3374
- narrative: z.ZodOptional<z.ZodString>;
3375
- description: z.ZodOptional<z.ZodString>;
3376
- genre: z.ZodOptional<z.ZodString>;
3377
- audience: z.ZodOptional<z.ZodString>;
3378
- }, "strip", z.ZodAny, z.objectOutputType<{
3379
- id: z.ZodOptional<z.ZodString>;
3380
- type: z.ZodArray<z.ZodString, "atleastone">;
3381
- name: z.ZodOptional<z.ZodString>;
3382
- narrative: z.ZodOptional<z.ZodString>;
3383
- description: z.ZodOptional<z.ZodString>;
3384
- genre: z.ZodOptional<z.ZodString>;
3385
- audience: z.ZodOptional<z.ZodString>;
3386
- }, z.ZodAny, "strip">, z.objectInputType<{
3387
- id: z.ZodOptional<z.ZodString>;
3388
- type: z.ZodArray<z.ZodString, "atleastone">;
3389
- name: z.ZodOptional<z.ZodString>;
3390
- narrative: z.ZodOptional<z.ZodString>;
3391
- description: z.ZodOptional<z.ZodString>;
3392
- genre: z.ZodOptional<z.ZodString>;
3393
- audience: z.ZodOptional<z.ZodString>;
3394
- }, z.ZodAny, "strip">>, "many">
3395
- ]>>;
3396
- }, {
3397
- proof: z.ZodUnion<[
3398
- z.ZodObject<{
3399
- type: z.ZodString;
3400
- created: z.ZodString;
3401
- challenge: z.ZodOptional<z.ZodString>;
3402
- domain: z.ZodOptional<z.ZodString>;
3403
- nonce: z.ZodOptional<z.ZodString>;
3404
- proofPurpose: z.ZodString;
3405
- verificationMethod: z.ZodString;
3406
- jws: z.ZodOptional<z.ZodString>;
3407
- }, "strip", z.ZodAny, z.objectOutputType<{
3408
- type: z.ZodString;
3409
- created: z.ZodString;
3410
- challenge: z.ZodOptional<z.ZodString>;
3411
- domain: z.ZodOptional<z.ZodString>;
3412
- nonce: z.ZodOptional<z.ZodString>;
3413
- proofPurpose: z.ZodString;
3414
- verificationMethod: z.ZodString;
3415
- jws: z.ZodOptional<z.ZodString>;
3416
- }, z.ZodAny, "strip">, z.objectInputType<{
3417
- type: z.ZodString;
3418
- created: z.ZodString;
3419
- challenge: z.ZodOptional<z.ZodString>;
3420
- domain: z.ZodOptional<z.ZodString>;
3421
- nonce: z.ZodOptional<z.ZodString>;
3422
- proofPurpose: z.ZodString;
3423
- verificationMethod: z.ZodString;
3424
- jws: z.ZodOptional<z.ZodString>;
3425
- }, z.ZodAny, "strip">>,
3426
- z.ZodArray<z.ZodObject<{
3427
- type: z.ZodString;
3428
- created: z.ZodString;
3429
- challenge: z.ZodOptional<z.ZodString>;
3430
- domain: z.ZodOptional<z.ZodString>;
3431
- nonce: z.ZodOptional<z.ZodString>;
3432
- proofPurpose: z.ZodString;
3433
- verificationMethod: z.ZodString;
3434
- jws: z.ZodOptional<z.ZodString>;
3435
- }, "strip", z.ZodAny, z.objectOutputType<{
3436
- type: z.ZodString;
3437
- created: z.ZodString;
3438
- challenge: z.ZodOptional<z.ZodString>;
3439
- domain: z.ZodOptional<z.ZodString>;
3440
- nonce: z.ZodOptional<z.ZodString>;
3441
- proofPurpose: z.ZodString;
3442
- verificationMethod: z.ZodString;
3443
- jws: z.ZodOptional<z.ZodString>;
3444
- }, z.ZodAny, "strip">, z.objectInputType<{
3445
- type: z.ZodString;
3446
- created: z.ZodString;
3447
- challenge: z.ZodOptional<z.ZodString>;
3448
- domain: z.ZodOptional<z.ZodString>;
3449
- nonce: z.ZodOptional<z.ZodString>;
3450
- proofPurpose: z.ZodString;
3451
- verificationMethod: z.ZodString;
3452
- jws: z.ZodOptional<z.ZodString>;
3453
- }, z.ZodAny, "strip">>, "many">
3454
- ]>;
3455
- }>, z.ZodAny, "strip">, z.objectInputType<z.objectUtil.extendShape<{
3456
- "@context": z.ZodArray<z.ZodUnion<[
3457
- z.ZodString,
3458
- z.ZodRecord<z.ZodString, z.ZodAny>
3459
- ]>, "many">;
3460
- id: z.ZodOptional<z.ZodString>;
3461
- type: z.ZodArray<z.ZodString, "atleastone">;
3462
- issuer: z.ZodUnion<[
3463
- z.ZodString,
3464
- z.ZodObject<{
3465
- id: z.ZodOptional<z.ZodString>;
3466
- type: z.ZodUnion<[
3467
- z.ZodString,
3468
- z.ZodOptional<z.ZodArray<z.ZodString, "atleastone">>
3469
- ]>;
3470
- name: z.ZodOptional<z.ZodString>;
3471
- url: z.ZodOptional<z.ZodString>;
3472
- phone: z.ZodOptional<z.ZodString>;
3473
- description: z.ZodOptional<z.ZodString>;
3474
- endorsement: z.ZodOptional<z.ZodArray<z.ZodAny, "many">>;
3475
- image: z.ZodOptional<z.ZodUnion<[
3476
- z.ZodString,
3477
- z.ZodObject<{
3478
- id: z.ZodString;
3479
- type: z.ZodString;
3480
- caption: z.ZodOptional<z.ZodString>;
3481
- }, "strip", z.ZodTypeAny, {
3482
- type: string;
3483
- id: string;
3484
- caption?: string | undefined;
3485
- }, {
3486
- type: string;
3487
- id: string;
3488
- caption?: string | undefined;
3489
- }>
3490
- ]>>;
3491
- email: z.ZodOptional<z.ZodString>;
3492
- address: z.ZodOptional<z.ZodObject<{
3493
- type: z.ZodUnion<[
3494
- z.ZodString,
3495
- z.ZodArray<z.ZodString, "atleastone">
3496
- ]>;
3497
- addressCountry: z.ZodOptional<z.ZodString>;
3498
- addressCountryCode: z.ZodOptional<z.ZodString>;
3499
- addressRegion: z.ZodOptional<z.ZodString>;
3500
- addressLocality: z.ZodOptional<z.ZodString>;
3501
- streetAddress: z.ZodOptional<z.ZodString>;
3502
- postOfficeBoxNumber: z.ZodOptional<z.ZodString>;
3503
- postalCode: z.ZodOptional<z.ZodString>;
3504
- geo: z.ZodOptional<z.ZodObject<{
3505
- type: z.ZodUnion<[
3506
- z.ZodString,
3507
- z.ZodArray<z.ZodString, "atleastone">
3508
- ]>;
3509
- latitude: z.ZodNumber;
3510
- longitude: z.ZodNumber;
3511
- }, "strip", z.ZodTypeAny, {
3512
- type: string | [
3513
- string,
3514
- ...string[]
3515
- ];
3516
- latitude: number;
3517
- longitude: number;
3518
- }, {
3519
- type: string | [
3520
- string,
3521
- ...string[]
3522
- ];
3523
- latitude: number;
3524
- longitude: number;
3525
- }>>;
3526
- }, "strip", z.ZodTypeAny, {
3527
- type: string | [
3528
- string,
3529
- ...string[]
3530
- ];
3531
- addressCountry?: string | undefined;
3532
- addressCountryCode?: string | undefined;
3533
- addressRegion?: string | undefined;
3534
- addressLocality?: string | undefined;
3535
- streetAddress?: string | undefined;
3536
- postOfficeBoxNumber?: string | undefined;
3537
- postalCode?: string | undefined;
3538
- geo?: {
3539
- type: string | [
3540
- string,
3541
- ...string[]
3542
- ];
3543
- latitude: number;
3544
- longitude: number;
3545
- } | undefined;
3546
- }, {
3547
- type: string | [
3548
- string,
3549
- ...string[]
3550
- ];
3551
- addressCountry?: string | undefined;
3552
- addressCountryCode?: string | undefined;
3553
- addressRegion?: string | undefined;
3554
- addressLocality?: string | undefined;
3555
- streetAddress?: string | undefined;
3556
- postOfficeBoxNumber?: string | undefined;
3557
- postalCode?: string | undefined;
3558
- geo?: {
3559
- type: string | [
3560
- string,
3561
- ...string[]
3562
- ];
3563
- latitude: number;
3564
- longitude: number;
3565
- } | undefined;
3566
- }>>;
3567
- otherIdentifier: z.ZodOptional<z.ZodArray<z.ZodObject<{
3568
- type: z.ZodUnion<[
3569
- z.ZodString,
3570
- z.ZodArray<z.ZodString, "atleastone">
3571
- ]>;
3572
- identifier: z.ZodString;
3573
- identifierType: z.ZodUnion<[
3574
- z.ZodEnum<[
3575
- "sourcedId",
3576
- "systemId",
3577
- "productId",
3578
- "userName",
3579
- "accountId",
3580
- "emailAddress",
3581
- "nationalIdentityNumber",
3582
- "isbn",
3583
- "issn",
3584
- "lisSourcedId",
3585
- "oneRosterSourcedId",
3586
- "sisSourcedId",
3587
- "ltiContextId",
3588
- "ltiDeploymentId",
3589
- "ltiToolId",
3590
- "ltiPlatformId",
3591
- "ltiUserId",
3592
- "identifier"
3593
- ]>,
3594
- z.ZodString
3595
- ]>;
3596
- }, "strip", z.ZodTypeAny, {
3597
- type: string | [
3598
- string,
3599
- ...string[]
3600
- ];
3601
- identifier: string;
3602
- identifierType: string;
3603
- }, {
3604
- type: string | [
3605
- string,
3606
- ...string[]
3607
- ];
3608
- identifier: string;
3609
- identifierType: string;
3610
- }>, "many">>;
3611
- official: z.ZodOptional<z.ZodString>;
3612
- parentOrg: z.ZodOptional<z.ZodAny>;
3613
- familyName: z.ZodOptional<z.ZodString>;
3614
- givenName: z.ZodOptional<z.ZodString>;
3615
- additionalName: z.ZodOptional<z.ZodString>;
3616
- patronymicName: z.ZodOptional<z.ZodString>;
3617
- honorificPrefix: z.ZodOptional<z.ZodString>;
3618
- honorificSuffix: z.ZodOptional<z.ZodString>;
3619
- familyNamePrefix: z.ZodOptional<z.ZodString>;
3620
- dateOfBirth: z.ZodOptional<z.ZodString>;
3621
- }, "strip", z.ZodAny, z.objectOutputType<{
12
+ ]>>;
13
+ id: z.ZodOptional<z.ZodString>;
14
+ type: z.ZodArray<z.ZodString>;
15
+ issuer: z.ZodUnion<[
16
+ z.ZodString,
17
+ z.ZodObject<{
3622
18
  id: z.ZodOptional<z.ZodString>;
3623
19
  type: z.ZodUnion<[
3624
20
  z.ZodString,
3625
- z.ZodOptional<z.ZodArray<z.ZodString, "atleastone">>
21
+ z.ZodOptional<z.ZodArray<z.ZodString>>
3626
22
  ]>;
3627
23
  name: z.ZodOptional<z.ZodString>;
3628
24
  url: z.ZodOptional<z.ZodString>;
3629
25
  phone: z.ZodOptional<z.ZodString>;
3630
26
  description: z.ZodOptional<z.ZodString>;
3631
- endorsement: z.ZodOptional<z.ZodArray<z.ZodAny, "many">>;
27
+ endorsement: z.ZodOptional<z.ZodArray<z.ZodAny>>;
3632
28
  image: z.ZodOptional<z.ZodUnion<[
3633
29
  z.ZodString,
3634
30
  z.ZodObject<{
3635
31
  id: z.ZodString;
3636
32
  type: z.ZodString;
3637
33
  caption: z.ZodOptional<z.ZodString>;
3638
- }, "strip", z.ZodTypeAny, {
3639
- type: string;
3640
- id: string;
3641
- caption?: string | undefined;
3642
- }, {
3643
- type: string;
3644
- id: string;
3645
- caption?: string | undefined;
3646
- }>
34
+ }, z.core.$strip>
3647
35
  ]>>;
3648
36
  email: z.ZodOptional<z.ZodString>;
3649
37
  address: z.ZodOptional<z.ZodObject<{
3650
38
  type: z.ZodUnion<[
3651
39
  z.ZodString,
3652
- z.ZodArray<z.ZodString, "atleastone">
40
+ z.ZodArray<z.ZodString>
3653
41
  ]>;
3654
42
  addressCountry: z.ZodOptional<z.ZodString>;
3655
43
  addressCountryCode: z.ZodOptional<z.ZodString>;
@@ -3661,110 +49,42 @@ declare const VCValidator: z.ZodObject<z.objectUtil.extendShape<{
3661
49
  geo: z.ZodOptional<z.ZodObject<{
3662
50
  type: z.ZodUnion<[
3663
51
  z.ZodString,
3664
- z.ZodArray<z.ZodString, "atleastone">
52
+ z.ZodArray<z.ZodString>
3665
53
  ]>;
3666
54
  latitude: z.ZodNumber;
3667
55
  longitude: z.ZodNumber;
3668
- }, "strip", z.ZodTypeAny, {
3669
- type: string | [
3670
- string,
3671
- ...string[]
3672
- ];
3673
- latitude: number;
3674
- longitude: number;
3675
- }, {
3676
- type: string | [
3677
- string,
3678
- ...string[]
3679
- ];
3680
- latitude: number;
3681
- longitude: number;
3682
- }>>;
3683
- }, "strip", z.ZodTypeAny, {
3684
- type: string | [
3685
- string,
3686
- ...string[]
3687
- ];
3688
- addressCountry?: string | undefined;
3689
- addressCountryCode?: string | undefined;
3690
- addressRegion?: string | undefined;
3691
- addressLocality?: string | undefined;
3692
- streetAddress?: string | undefined;
3693
- postOfficeBoxNumber?: string | undefined;
3694
- postalCode?: string | undefined;
3695
- geo?: {
3696
- type: string | [
3697
- string,
3698
- ...string[]
3699
- ];
3700
- latitude: number;
3701
- longitude: number;
3702
- } | undefined;
3703
- }, {
3704
- type: string | [
3705
- string,
3706
- ...string[]
3707
- ];
3708
- addressCountry?: string | undefined;
3709
- addressCountryCode?: string | undefined;
3710
- addressRegion?: string | undefined;
3711
- addressLocality?: string | undefined;
3712
- streetAddress?: string | undefined;
3713
- postOfficeBoxNumber?: string | undefined;
3714
- postalCode?: string | undefined;
3715
- geo?: {
3716
- type: string | [
3717
- string,
3718
- ...string[]
3719
- ];
3720
- latitude: number;
3721
- longitude: number;
3722
- } | undefined;
3723
- }>>;
56
+ }, z.core.$strip>>;
57
+ }, z.core.$strip>>;
3724
58
  otherIdentifier: z.ZodOptional<z.ZodArray<z.ZodObject<{
3725
59
  type: z.ZodUnion<[
3726
60
  z.ZodString,
3727
- z.ZodArray<z.ZodString, "atleastone">
61
+ z.ZodArray<z.ZodString>
3728
62
  ]>;
3729
63
  identifier: z.ZodString;
3730
64
  identifierType: z.ZodUnion<[
3731
- z.ZodEnum<[
3732
- "sourcedId",
3733
- "systemId",
3734
- "productId",
3735
- "userName",
3736
- "accountId",
3737
- "emailAddress",
3738
- "nationalIdentityNumber",
3739
- "isbn",
3740
- "issn",
3741
- "lisSourcedId",
3742
- "oneRosterSourcedId",
3743
- "sisSourcedId",
3744
- "ltiContextId",
3745
- "ltiDeploymentId",
3746
- "ltiToolId",
3747
- "ltiPlatformId",
3748
- "ltiUserId",
3749
- "identifier"
3750
- ]>,
65
+ 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
+ }>,
3751
85
  z.ZodString
3752
86
  ]>;
3753
- }, "strip", z.ZodTypeAny, {
3754
- type: string | [
3755
- string,
3756
- ...string[]
3757
- ];
3758
- identifier: string;
3759
- identifierType: string;
3760
- }, {
3761
- type: string | [
3762
- string,
3763
- ...string[]
3764
- ];
3765
- identifier: string;
3766
- identifierType: string;
3767
- }>, "many">>;
87
+ }, z.core.$strip>>>;
3768
88
  official: z.ZodOptional<z.ZodString>;
3769
89
  parentOrg: z.ZodOptional<z.ZodAny>;
3770
90
  familyName: z.ZodOptional<z.ZodString>;
@@ -3775,38 +95,127 @@ declare const VCValidator: z.ZodObject<z.objectUtil.extendShape<{
3775
95
  honorificSuffix: z.ZodOptional<z.ZodString>;
3776
96
  familyNamePrefix: z.ZodOptional<z.ZodString>;
3777
97
  dateOfBirth: z.ZodOptional<z.ZodString>;
3778
- }, z.ZodAny, "strip">, z.objectInputType<{
98
+ }, z.core.$catchall<z.ZodAny>>
99
+ ]>;
100
+ credentialSubject: z.ZodUnion<[
101
+ z.ZodObject<{
102
+ id: z.ZodOptional<z.ZodString>;
103
+ }, z.core.$catchall<z.ZodAny>>,
104
+ z.ZodArray<z.ZodObject<{
105
+ id: z.ZodOptional<z.ZodString>;
106
+ }, z.core.$catchall<z.ZodAny>>>
107
+ ]>;
108
+ refreshService: z.ZodOptional<z.ZodUnion<[
109
+ z.ZodObject<{
110
+ id: z.ZodOptional<z.ZodString>;
111
+ type: z.ZodString;
112
+ }, z.core.$catchall<z.ZodAny>>,
113
+ z.ZodArray<z.ZodObject<{
114
+ id: z.ZodOptional<z.ZodString>;
115
+ type: z.ZodString;
116
+ }, z.core.$catchall<z.ZodAny>>>
117
+ ]>>;
118
+ credentialSchema: z.ZodOptional<z.ZodUnion<[
119
+ z.ZodObject<{
120
+ id: z.ZodString;
121
+ type: z.ZodString;
122
+ }, z.core.$catchall<z.ZodAny>>,
123
+ z.ZodArray<z.ZodObject<{
124
+ id: z.ZodString;
125
+ type: z.ZodString;
126
+ }, z.core.$catchall<z.ZodAny>>>
127
+ ]>>;
128
+ issuanceDate: z.ZodOptional<z.ZodString>;
129
+ expirationDate: z.ZodOptional<z.ZodString>;
130
+ credentialStatus: z.ZodOptional<z.ZodUnion<[
131
+ z.ZodObject<{
132
+ type: z.ZodString;
133
+ id: z.ZodString;
134
+ }, z.core.$catchall<z.ZodAny>>,
135
+ z.ZodArray<z.ZodObject<{
136
+ type: z.ZodString;
137
+ id: z.ZodString;
138
+ }, z.core.$catchall<z.ZodAny>>>
139
+ ]>>;
140
+ name: z.ZodOptional<z.ZodString>;
141
+ description: z.ZodOptional<z.ZodString>;
142
+ validFrom: z.ZodOptional<z.ZodString>;
143
+ validUntil: z.ZodOptional<z.ZodString>;
144
+ status: z.ZodOptional<z.ZodUnion<[
145
+ z.ZodObject<{
146
+ type: z.ZodString;
147
+ id: z.ZodString;
148
+ }, z.core.$catchall<z.ZodAny>>,
149
+ z.ZodArray<z.ZodObject<{
150
+ type: z.ZodString;
151
+ id: z.ZodString;
152
+ }, z.core.$catchall<z.ZodAny>>>
153
+ ]>>;
154
+ termsOfUse: z.ZodOptional<z.ZodUnion<[
155
+ z.ZodObject<{
156
+ type: z.ZodString;
157
+ id: z.ZodOptional<z.ZodString>;
158
+ }, z.core.$catchall<z.ZodAny>>,
159
+ z.ZodArray<z.ZodObject<{
160
+ type: z.ZodString;
161
+ id: z.ZodOptional<z.ZodString>;
162
+ }, z.core.$catchall<z.ZodAny>>>
163
+ ]>>;
164
+ evidence: z.ZodOptional<z.ZodUnion<readonly [
165
+ z.ZodObject<{
166
+ id: z.ZodOptional<z.ZodString>;
167
+ type: z.ZodArray<z.ZodString>;
168
+ name: z.ZodOptional<z.ZodString>;
169
+ narrative: z.ZodOptional<z.ZodString>;
170
+ description: z.ZodOptional<z.ZodString>;
171
+ genre: z.ZodOptional<z.ZodString>;
172
+ audience: z.ZodOptional<z.ZodString>;
173
+ }, z.core.$catchall<z.ZodAny>>,
174
+ z.ZodArray<z.ZodObject<{
175
+ id: z.ZodOptional<z.ZodString>;
176
+ type: z.ZodArray<z.ZodString>;
177
+ name: z.ZodOptional<z.ZodString>;
178
+ narrative: z.ZodOptional<z.ZodString>;
179
+ description: z.ZodOptional<z.ZodString>;
180
+ genre: z.ZodOptional<z.ZodString>;
181
+ audience: z.ZodOptional<z.ZodString>;
182
+ }, z.core.$catchall<z.ZodAny>>>
183
+ ]>>;
184
+ }, z.core.$catchall<z.ZodAny>>;
185
+ export type UnsignedVC = z.infer<typeof UnsignedVCValidator>;
186
+ declare const VCValidator: z.ZodObject<{
187
+ "@context": z.ZodArray<z.ZodUnion<[
188
+ z.ZodString,
189
+ z.ZodRecord<z.ZodString, z.ZodAny>
190
+ ]>>;
191
+ id: z.ZodOptional<z.ZodString>;
192
+ type: z.ZodArray<z.ZodString>;
193
+ issuer: z.ZodUnion<[
194
+ z.ZodString,
195
+ z.ZodObject<{
3779
196
  id: z.ZodOptional<z.ZodString>;
3780
197
  type: z.ZodUnion<[
3781
198
  z.ZodString,
3782
- z.ZodOptional<z.ZodArray<z.ZodString, "atleastone">>
199
+ z.ZodOptional<z.ZodArray<z.ZodString>>
3783
200
  ]>;
3784
201
  name: z.ZodOptional<z.ZodString>;
3785
202
  url: z.ZodOptional<z.ZodString>;
3786
203
  phone: z.ZodOptional<z.ZodString>;
3787
204
  description: z.ZodOptional<z.ZodString>;
3788
- endorsement: z.ZodOptional<z.ZodArray<z.ZodAny, "many">>;
205
+ endorsement: z.ZodOptional<z.ZodArray<z.ZodAny>>;
3789
206
  image: z.ZodOptional<z.ZodUnion<[
3790
207
  z.ZodString,
3791
208
  z.ZodObject<{
3792
209
  id: z.ZodString;
3793
210
  type: z.ZodString;
3794
211
  caption: z.ZodOptional<z.ZodString>;
3795
- }, "strip", z.ZodTypeAny, {
3796
- type: string;
3797
- id: string;
3798
- caption?: string | undefined;
3799
- }, {
3800
- type: string;
3801
- id: string;
3802
- caption?: string | undefined;
3803
- }>
212
+ }, z.core.$strip>
3804
213
  ]>>;
3805
214
  email: z.ZodOptional<z.ZodString>;
3806
215
  address: z.ZodOptional<z.ZodObject<{
3807
216
  type: z.ZodUnion<[
3808
217
  z.ZodString,
3809
- z.ZodArray<z.ZodString, "atleastone">
218
+ z.ZodArray<z.ZodString>
3810
219
  ]>;
3811
220
  addressCountry: z.ZodOptional<z.ZodString>;
3812
221
  addressCountryCode: z.ZodOptional<z.ZodString>;
@@ -3818,110 +227,42 @@ declare const VCValidator: z.ZodObject<z.objectUtil.extendShape<{
3818
227
  geo: z.ZodOptional<z.ZodObject<{
3819
228
  type: z.ZodUnion<[
3820
229
  z.ZodString,
3821
- z.ZodArray<z.ZodString, "atleastone">
230
+ z.ZodArray<z.ZodString>
3822
231
  ]>;
3823
232
  latitude: z.ZodNumber;
3824
233
  longitude: z.ZodNumber;
3825
- }, "strip", z.ZodTypeAny, {
3826
- type: string | [
3827
- string,
3828
- ...string[]
3829
- ];
3830
- latitude: number;
3831
- longitude: number;
3832
- }, {
3833
- type: string | [
3834
- string,
3835
- ...string[]
3836
- ];
3837
- latitude: number;
3838
- longitude: number;
3839
- }>>;
3840
- }, "strip", z.ZodTypeAny, {
3841
- type: string | [
3842
- string,
3843
- ...string[]
3844
- ];
3845
- addressCountry?: string | undefined;
3846
- addressCountryCode?: string | undefined;
3847
- addressRegion?: string | undefined;
3848
- addressLocality?: string | undefined;
3849
- streetAddress?: string | undefined;
3850
- postOfficeBoxNumber?: string | undefined;
3851
- postalCode?: string | undefined;
3852
- geo?: {
3853
- type: string | [
3854
- string,
3855
- ...string[]
3856
- ];
3857
- latitude: number;
3858
- longitude: number;
3859
- } | undefined;
3860
- }, {
3861
- type: string | [
3862
- string,
3863
- ...string[]
3864
- ];
3865
- addressCountry?: string | undefined;
3866
- addressCountryCode?: string | undefined;
3867
- addressRegion?: string | undefined;
3868
- addressLocality?: string | undefined;
3869
- streetAddress?: string | undefined;
3870
- postOfficeBoxNumber?: string | undefined;
3871
- postalCode?: string | undefined;
3872
- geo?: {
3873
- type: string | [
3874
- string,
3875
- ...string[]
3876
- ];
3877
- latitude: number;
3878
- longitude: number;
3879
- } | undefined;
3880
- }>>;
234
+ }, z.core.$strip>>;
235
+ }, z.core.$strip>>;
3881
236
  otherIdentifier: z.ZodOptional<z.ZodArray<z.ZodObject<{
3882
237
  type: z.ZodUnion<[
3883
238
  z.ZodString,
3884
- z.ZodArray<z.ZodString, "atleastone">
239
+ z.ZodArray<z.ZodString>
3885
240
  ]>;
3886
241
  identifier: z.ZodString;
3887
242
  identifierType: z.ZodUnion<[
3888
- z.ZodEnum<[
3889
- "sourcedId",
3890
- "systemId",
3891
- "productId",
3892
- "userName",
3893
- "accountId",
3894
- "emailAddress",
3895
- "nationalIdentityNumber",
3896
- "isbn",
3897
- "issn",
3898
- "lisSourcedId",
3899
- "oneRosterSourcedId",
3900
- "sisSourcedId",
3901
- "ltiContextId",
3902
- "ltiDeploymentId",
3903
- "ltiToolId",
3904
- "ltiPlatformId",
3905
- "ltiUserId",
3906
- "identifier"
3907
- ]>,
243
+ z.ZodEnum<{
244
+ sourcedId: "sourcedId";
245
+ systemId: "systemId";
246
+ productId: "productId";
247
+ userName: "userName";
248
+ accountId: "accountId";
249
+ emailAddress: "emailAddress";
250
+ nationalIdentityNumber: "nationalIdentityNumber";
251
+ isbn: "isbn";
252
+ issn: "issn";
253
+ lisSourcedId: "lisSourcedId";
254
+ oneRosterSourcedId: "oneRosterSourcedId";
255
+ sisSourcedId: "sisSourcedId";
256
+ ltiContextId: "ltiContextId";
257
+ ltiDeploymentId: "ltiDeploymentId";
258
+ ltiToolId: "ltiToolId";
259
+ ltiPlatformId: "ltiPlatformId";
260
+ ltiUserId: "ltiUserId";
261
+ identifier: "identifier";
262
+ }>,
3908
263
  z.ZodString
3909
264
  ]>;
3910
- }, "strip", z.ZodTypeAny, {
3911
- type: string | [
3912
- string,
3913
- ...string[]
3914
- ];
3915
- identifier: string;
3916
- identifierType: string;
3917
- }, {
3918
- type: string | [
3919
- string,
3920
- ...string[]
3921
- ];
3922
- identifier: string;
3923
- identifierType: string;
3924
- }>, "many">>;
265
+ }, z.core.$strip>>>;
3925
266
  official: z.ZodOptional<z.ZodString>;
3926
267
  parentOrg: z.ZodOptional<z.ZodAny>;
3927
268
  familyName: z.ZodOptional<z.ZodString>;
@@ -3932,67 +273,35 @@ declare const VCValidator: z.ZodObject<z.objectUtil.extendShape<{
3932
273
  honorificSuffix: z.ZodOptional<z.ZodString>;
3933
274
  familyNamePrefix: z.ZodOptional<z.ZodString>;
3934
275
  dateOfBirth: z.ZodOptional<z.ZodString>;
3935
- }, z.ZodAny, "strip">>
276
+ }, z.core.$catchall<z.ZodAny>>
3936
277
  ]>;
3937
278
  credentialSubject: z.ZodUnion<[
3938
279
  z.ZodObject<{
3939
280
  id: z.ZodOptional<z.ZodString>;
3940
- }, "strip", z.ZodAny, z.objectOutputType<{
3941
- id: z.ZodOptional<z.ZodString>;
3942
- }, z.ZodAny, "strip">, z.objectInputType<{
3943
- id: z.ZodOptional<z.ZodString>;
3944
- }, z.ZodAny, "strip">>,
281
+ }, z.core.$catchall<z.ZodAny>>,
3945
282
  z.ZodArray<z.ZodObject<{
3946
283
  id: z.ZodOptional<z.ZodString>;
3947
- }, "strip", z.ZodAny, z.objectOutputType<{
3948
- id: z.ZodOptional<z.ZodString>;
3949
- }, z.ZodAny, "strip">, z.objectInputType<{
3950
- id: z.ZodOptional<z.ZodString>;
3951
- }, z.ZodAny, "strip">>, "many">
284
+ }, z.core.$catchall<z.ZodAny>>>
3952
285
  ]>;
3953
286
  refreshService: z.ZodOptional<z.ZodUnion<[
3954
287
  z.ZodObject<{
3955
288
  id: z.ZodOptional<z.ZodString>;
3956
289
  type: z.ZodString;
3957
- }, "strip", z.ZodAny, z.objectOutputType<{
3958
- id: z.ZodOptional<z.ZodString>;
3959
- type: z.ZodString;
3960
- }, z.ZodAny, "strip">, z.objectInputType<{
3961
- id: z.ZodOptional<z.ZodString>;
3962
- type: z.ZodString;
3963
- }, z.ZodAny, "strip">>,
290
+ }, z.core.$catchall<z.ZodAny>>,
3964
291
  z.ZodArray<z.ZodObject<{
3965
292
  id: z.ZodOptional<z.ZodString>;
3966
293
  type: z.ZodString;
3967
- }, "strip", z.ZodAny, z.objectOutputType<{
3968
- id: z.ZodOptional<z.ZodString>;
3969
- type: z.ZodString;
3970
- }, z.ZodAny, "strip">, z.objectInputType<{
3971
- id: z.ZodOptional<z.ZodString>;
3972
- type: z.ZodString;
3973
- }, z.ZodAny, "strip">>, "many">
294
+ }, z.core.$catchall<z.ZodAny>>>
3974
295
  ]>>;
3975
296
  credentialSchema: z.ZodOptional<z.ZodUnion<[
3976
297
  z.ZodObject<{
3977
298
  id: z.ZodString;
3978
299
  type: z.ZodString;
3979
- }, "strip", z.ZodAny, z.objectOutputType<{
3980
- id: z.ZodString;
3981
- type: z.ZodString;
3982
- }, z.ZodAny, "strip">, z.objectInputType<{
3983
- id: z.ZodString;
3984
- type: z.ZodString;
3985
- }, z.ZodAny, "strip">>,
300
+ }, z.core.$catchall<z.ZodAny>>,
3986
301
  z.ZodArray<z.ZodObject<{
3987
302
  id: z.ZodString;
3988
303
  type: z.ZodString;
3989
- }, "strip", z.ZodAny, z.objectOutputType<{
3990
- id: z.ZodString;
3991
- type: z.ZodString;
3992
- }, z.ZodAny, "strip">, z.objectInputType<{
3993
- id: z.ZodString;
3994
- type: z.ZodString;
3995
- }, z.ZodAny, "strip">>, "many">
304
+ }, z.core.$catchall<z.ZodAny>>>
3996
305
  ]>>;
3997
306
  issuanceDate: z.ZodOptional<z.ZodString>;
3998
307
  expirationDate: z.ZodOptional<z.ZodString>;
@@ -4000,23 +309,11 @@ declare const VCValidator: z.ZodObject<z.objectUtil.extendShape<{
4000
309
  z.ZodObject<{
4001
310
  type: z.ZodString;
4002
311
  id: z.ZodString;
4003
- }, "strip", z.ZodAny, z.objectOutputType<{
4004
- type: z.ZodString;
4005
- id: z.ZodString;
4006
- }, z.ZodAny, "strip">, z.objectInputType<{
4007
- type: z.ZodString;
4008
- id: z.ZodString;
4009
- }, z.ZodAny, "strip">>,
312
+ }, z.core.$catchall<z.ZodAny>>,
4010
313
  z.ZodArray<z.ZodObject<{
4011
314
  type: z.ZodString;
4012
315
  id: z.ZodString;
4013
- }, "strip", z.ZodAny, z.objectOutputType<{
4014
- type: z.ZodString;
4015
- id: z.ZodString;
4016
- }, z.ZodAny, "strip">, z.objectInputType<{
4017
- type: z.ZodString;
4018
- id: z.ZodString;
4019
- }, z.ZodAny, "strip">>, "many">
316
+ }, z.core.$catchall<z.ZodAny>>>
4020
317
  ]>>;
4021
318
  name: z.ZodOptional<z.ZodString>;
4022
319
  description: z.ZodOptional<z.ZodString>;
@@ -4026,99 +323,42 @@ declare const VCValidator: z.ZodObject<z.objectUtil.extendShape<{
4026
323
  z.ZodObject<{
4027
324
  type: z.ZodString;
4028
325
  id: z.ZodString;
4029
- }, "strip", z.ZodAny, z.objectOutputType<{
4030
- type: z.ZodString;
4031
- id: z.ZodString;
4032
- }, z.ZodAny, "strip">, z.objectInputType<{
4033
- type: z.ZodString;
4034
- id: z.ZodString;
4035
- }, z.ZodAny, "strip">>,
326
+ }, z.core.$catchall<z.ZodAny>>,
4036
327
  z.ZodArray<z.ZodObject<{
4037
328
  type: z.ZodString;
4038
329
  id: z.ZodString;
4039
- }, "strip", z.ZodAny, z.objectOutputType<{
4040
- type: z.ZodString;
4041
- id: z.ZodString;
4042
- }, z.ZodAny, "strip">, z.objectInputType<{
4043
- type: z.ZodString;
4044
- id: z.ZodString;
4045
- }, z.ZodAny, "strip">>, "many">
330
+ }, z.core.$catchall<z.ZodAny>>>
4046
331
  ]>>;
4047
332
  termsOfUse: z.ZodOptional<z.ZodUnion<[
4048
333
  z.ZodObject<{
4049
334
  type: z.ZodString;
4050
335
  id: z.ZodOptional<z.ZodString>;
4051
- }, "strip", z.ZodAny, z.objectOutputType<{
4052
- type: z.ZodString;
4053
- id: z.ZodOptional<z.ZodString>;
4054
- }, z.ZodAny, "strip">, z.objectInputType<{
4055
- type: z.ZodString;
4056
- id: z.ZodOptional<z.ZodString>;
4057
- }, z.ZodAny, "strip">>,
336
+ }, z.core.$catchall<z.ZodAny>>,
4058
337
  z.ZodArray<z.ZodObject<{
4059
338
  type: z.ZodString;
4060
339
  id: z.ZodOptional<z.ZodString>;
4061
- }, "strip", z.ZodAny, z.objectOutputType<{
4062
- type: z.ZodString;
4063
- id: z.ZodOptional<z.ZodString>;
4064
- }, z.ZodAny, "strip">, z.objectInputType<{
4065
- type: z.ZodString;
4066
- id: z.ZodOptional<z.ZodString>;
4067
- }, z.ZodAny, "strip">>, "many">
340
+ }, z.core.$catchall<z.ZodAny>>>
4068
341
  ]>>;
4069
- evidence: z.ZodOptional<z.ZodUnion<[
342
+ evidence: z.ZodOptional<z.ZodUnion<readonly [
4070
343
  z.ZodObject<{
4071
344
  id: z.ZodOptional<z.ZodString>;
4072
- type: z.ZodArray<z.ZodString, "atleastone">;
4073
- name: z.ZodOptional<z.ZodString>;
4074
- narrative: z.ZodOptional<z.ZodString>;
4075
- description: z.ZodOptional<z.ZodString>;
4076
- genre: z.ZodOptional<z.ZodString>;
4077
- audience: z.ZodOptional<z.ZodString>;
4078
- }, "strip", z.ZodAny, z.objectOutputType<{
4079
- id: z.ZodOptional<z.ZodString>;
4080
- type: z.ZodArray<z.ZodString, "atleastone">;
4081
- name: z.ZodOptional<z.ZodString>;
4082
- narrative: z.ZodOptional<z.ZodString>;
4083
- description: z.ZodOptional<z.ZodString>;
4084
- genre: z.ZodOptional<z.ZodString>;
4085
- audience: z.ZodOptional<z.ZodString>;
4086
- }, z.ZodAny, "strip">, z.objectInputType<{
4087
- id: z.ZodOptional<z.ZodString>;
4088
- type: z.ZodArray<z.ZodString, "atleastone">;
345
+ type: z.ZodArray<z.ZodString>;
4089
346
  name: z.ZodOptional<z.ZodString>;
4090
347
  narrative: z.ZodOptional<z.ZodString>;
4091
348
  description: z.ZodOptional<z.ZodString>;
4092
349
  genre: z.ZodOptional<z.ZodString>;
4093
350
  audience: z.ZodOptional<z.ZodString>;
4094
- }, z.ZodAny, "strip">>,
351
+ }, z.core.$catchall<z.ZodAny>>,
4095
352
  z.ZodArray<z.ZodObject<{
4096
353
  id: z.ZodOptional<z.ZodString>;
4097
- type: z.ZodArray<z.ZodString, "atleastone">;
4098
- name: z.ZodOptional<z.ZodString>;
4099
- narrative: z.ZodOptional<z.ZodString>;
4100
- description: z.ZodOptional<z.ZodString>;
4101
- genre: z.ZodOptional<z.ZodString>;
4102
- audience: z.ZodOptional<z.ZodString>;
4103
- }, "strip", z.ZodAny, z.objectOutputType<{
4104
- id: z.ZodOptional<z.ZodString>;
4105
- type: z.ZodArray<z.ZodString, "atleastone">;
4106
- name: z.ZodOptional<z.ZodString>;
4107
- narrative: z.ZodOptional<z.ZodString>;
4108
- description: z.ZodOptional<z.ZodString>;
4109
- genre: z.ZodOptional<z.ZodString>;
4110
- audience: z.ZodOptional<z.ZodString>;
4111
- }, z.ZodAny, "strip">, z.objectInputType<{
4112
- id: z.ZodOptional<z.ZodString>;
4113
- type: z.ZodArray<z.ZodString, "atleastone">;
354
+ type: z.ZodArray<z.ZodString>;
4114
355
  name: z.ZodOptional<z.ZodString>;
4115
356
  narrative: z.ZodOptional<z.ZodString>;
4116
357
  description: z.ZodOptional<z.ZodString>;
4117
358
  genre: z.ZodOptional<z.ZodString>;
4118
359
  audience: z.ZodOptional<z.ZodString>;
4119
- }, z.ZodAny, "strip">>, "many">
360
+ }, z.core.$catchall<z.ZodAny>>>
4120
361
  ]>>;
4121
- }, {
4122
362
  proof: z.ZodUnion<[
4123
363
  z.ZodObject<{
4124
364
  type: z.ZodString;
@@ -4129,25 +369,7 @@ declare const VCValidator: z.ZodObject<z.objectUtil.extendShape<{
4129
369
  proofPurpose: z.ZodString;
4130
370
  verificationMethod: z.ZodString;
4131
371
  jws: z.ZodOptional<z.ZodString>;
4132
- }, "strip", z.ZodAny, z.objectOutputType<{
4133
- type: z.ZodString;
4134
- created: z.ZodString;
4135
- challenge: z.ZodOptional<z.ZodString>;
4136
- domain: z.ZodOptional<z.ZodString>;
4137
- nonce: z.ZodOptional<z.ZodString>;
4138
- proofPurpose: z.ZodString;
4139
- verificationMethod: z.ZodString;
4140
- jws: z.ZodOptional<z.ZodString>;
4141
- }, z.ZodAny, "strip">, z.objectInputType<{
4142
- type: z.ZodString;
4143
- created: z.ZodString;
4144
- challenge: z.ZodOptional<z.ZodString>;
4145
- domain: z.ZodOptional<z.ZodString>;
4146
- nonce: z.ZodOptional<z.ZodString>;
4147
- proofPurpose: z.ZodString;
4148
- verificationMethod: z.ZodString;
4149
- jws: z.ZodOptional<z.ZodString>;
4150
- }, z.ZodAny, "strip">>,
372
+ }, z.core.$catchall<z.ZodAny>>,
4151
373
  z.ZodArray<z.ZodObject<{
4152
374
  type: z.ZodString;
4153
375
  created: z.ZodString;
@@ -4157,27 +379,9 @@ declare const VCValidator: z.ZodObject<z.objectUtil.extendShape<{
4157
379
  proofPurpose: z.ZodString;
4158
380
  verificationMethod: z.ZodString;
4159
381
  jws: z.ZodOptional<z.ZodString>;
4160
- }, "strip", z.ZodAny, z.objectOutputType<{
4161
- type: z.ZodString;
4162
- created: z.ZodString;
4163
- challenge: z.ZodOptional<z.ZodString>;
4164
- domain: z.ZodOptional<z.ZodString>;
4165
- nonce: z.ZodOptional<z.ZodString>;
4166
- proofPurpose: z.ZodString;
4167
- verificationMethod: z.ZodString;
4168
- jws: z.ZodOptional<z.ZodString>;
4169
- }, z.ZodAny, "strip">, z.objectInputType<{
4170
- type: z.ZodString;
4171
- created: z.ZodString;
4172
- challenge: z.ZodOptional<z.ZodString>;
4173
- domain: z.ZodOptional<z.ZodString>;
4174
- nonce: z.ZodOptional<z.ZodString>;
4175
- proofPurpose: z.ZodString;
4176
- verificationMethod: z.ZodString;
4177
- jws: z.ZodOptional<z.ZodString>;
4178
- }, z.ZodAny, "strip">>, "many">
382
+ }, z.core.$catchall<z.ZodAny>>>
4179
383
  ]>;
4180
- }>, z.ZodAny, "strip">>;
384
+ }, z.core.$catchall<z.ZodAny>>;
4181
385
  export type VC = z.infer<typeof VCValidator>;
4182
386
  declare const JWEValidator: z.ZodObject<{
4183
387
  protected: z.ZodString;
@@ -4197,145 +401,239 @@ declare const JWEValidator: z.ZodObject<{
4197
401
  y: z.ZodOptional<z.ZodOptional<z.ZodString>>;
4198
402
  n: z.ZodOptional<z.ZodOptional<z.ZodString>>;
4199
403
  d: z.ZodOptional<z.ZodOptional<z.ZodString>>;
4200
- }, "strip", z.ZodTypeAny, {
4201
- kty?: string | undefined;
4202
- crv?: string | undefined;
4203
- x?: string | undefined;
4204
- y?: string | undefined;
4205
- n?: string | undefined;
4206
- d?: string | undefined;
4207
- }, {
4208
- kty?: string | undefined;
4209
- crv?: string | undefined;
4210
- x?: string | undefined;
4211
- y?: string | undefined;
4212
- n?: string | undefined;
4213
- d?: string | undefined;
4214
- }>>;
404
+ }, z.core.$strip>>;
4215
405
  kid: z.ZodOptional<z.ZodString>;
4216
406
  apv: z.ZodOptional<z.ZodString>;
4217
407
  apu: z.ZodOptional<z.ZodString>;
4218
- }, "strip", z.ZodTypeAny, {
4219
- alg: string;
4220
- iv: string;
4221
- tag: string;
4222
- epk?: {
4223
- kty?: string | undefined;
4224
- crv?: string | undefined;
4225
- x?: string | undefined;
4226
- y?: string | undefined;
4227
- n?: string | undefined;
4228
- d?: string | undefined;
4229
- } | undefined;
4230
- kid?: string | undefined;
4231
- apv?: string | undefined;
4232
- apu?: string | undefined;
4233
- }, {
4234
- alg: string;
4235
- iv: string;
4236
- tag: string;
4237
- epk?: {
4238
- kty?: string | undefined;
4239
- crv?: string | undefined;
4240
- x?: string | undefined;
4241
- y?: string | undefined;
4242
- n?: string | undefined;
4243
- d?: string | undefined;
4244
- } | undefined;
4245
- kid?: string | undefined;
4246
- apv?: string | undefined;
4247
- apu?: string | undefined;
4248
- }>;
408
+ }, z.core.$strip>;
4249
409
  encrypted_key: z.ZodString;
4250
- }, "strip", z.ZodTypeAny, {
4251
- header: {
4252
- alg: string;
4253
- iv: string;
4254
- tag: string;
4255
- epk?: {
4256
- kty?: string | undefined;
4257
- crv?: string | undefined;
4258
- x?: string | undefined;
4259
- y?: string | undefined;
4260
- n?: string | undefined;
4261
- d?: string | undefined;
4262
- } | undefined;
4263
- kid?: string | undefined;
4264
- apv?: string | undefined;
4265
- apu?: string | undefined;
4266
- };
4267
- encrypted_key: string;
4268
- }, {
4269
- header: {
4270
- alg: string;
4271
- iv: string;
4272
- tag: string;
4273
- epk?: {
4274
- kty?: string | undefined;
4275
- crv?: string | undefined;
4276
- x?: string | undefined;
4277
- y?: string | undefined;
4278
- n?: string | undefined;
4279
- d?: string | undefined;
4280
- } | undefined;
4281
- kid?: string | undefined;
4282
- apv?: string | undefined;
4283
- apu?: string | undefined;
4284
- };
4285
- encrypted_key: string;
4286
- }>, "many">>;
4287
- }, "strip", z.ZodTypeAny, {
4288
- iv: string;
4289
- tag: string;
4290
- protected: string;
4291
- ciphertext: string;
4292
- aad?: string | undefined;
4293
- recipients?: {
4294
- header: {
4295
- alg: string;
4296
- iv: string;
4297
- tag: string;
4298
- epk?: {
4299
- kty?: string | undefined;
4300
- crv?: string | undefined;
4301
- x?: string | undefined;
4302
- y?: string | undefined;
4303
- n?: string | undefined;
4304
- d?: string | undefined;
4305
- } | undefined;
4306
- kid?: string | undefined;
4307
- apv?: string | undefined;
4308
- apu?: string | undefined;
4309
- };
4310
- encrypted_key: string;
4311
- }[] | undefined;
4312
- }, {
4313
- iv: string;
4314
- tag: string;
4315
- protected: string;
4316
- ciphertext: string;
4317
- aad?: string | undefined;
4318
- recipients?: {
4319
- header: {
4320
- alg: string;
4321
- iv: string;
4322
- tag: string;
4323
- epk?: {
4324
- kty?: string | undefined;
4325
- crv?: string | undefined;
4326
- x?: string | undefined;
4327
- y?: string | undefined;
4328
- n?: string | undefined;
4329
- d?: string | undefined;
4330
- } | undefined;
4331
- kid?: string | undefined;
4332
- apv?: string | undefined;
4333
- apu?: string | undefined;
4334
- };
4335
- encrypted_key: string;
4336
- }[] | undefined;
4337
- }>;
410
+ }, z.core.$strip>>>;
411
+ }, z.core.$strip>;
4338
412
  export type JWE = z.infer<typeof JWEValidator>;
413
+ declare const Providers: {
414
+ filestack: typeof filestack;
415
+ unsplash: typeof unsplash;
416
+ discord: typeof discord;
417
+ };
418
+ export declare const getProvider: (url?: string) => keyof typeof Providers | null;
419
+ export declare const changeQuality: (url: string, quality: number) => string;
420
+ export declare const fixUrl: (url: string, mimetype?: string, webp?: boolean) => string;
421
+ export declare const generateSrcSet: (url: string, resolutions: number[], options?: {
422
+ mimetype?: string;
423
+ fix?: boolean;
424
+ webp?: boolean;
425
+ }) => string;
426
+ export declare const resizeAndChangeQuality: (url: string, size: number, quality: number, options?: {
427
+ mimetype?: string;
428
+ fix?: boolean;
429
+ webp?: boolean;
430
+ }) => string;
431
+ export declare const DEFAULT_RESOLUTIONS: number[];
432
+ /**
433
+ * Gets an array of URLs from a srcSet string
434
+ *
435
+ * @param srcSet HTML srcSet string (e.g. 'test.com/img 100w, test.com/img2 200w')
436
+ *
437
+ * @return URLs
438
+ */
439
+ export declare const getUrlsFromSrcSet: (srcSet: string) => [
440
+ string,
441
+ string
442
+ ][];
443
+ /** Quantizes a number to the closest number in an array of numbers */
444
+ export declare const quantizeValue: (value: number, array: number[]) => number;
445
+ export declare const isNotMaybe: <T>(value?: T | null | undefined) => value is T;
446
+ export declare const filterMaybes: <T>(array?: (T | null | undefined)[]) => T[];
447
+ export declare const capitalizeFirstLetter: (string: string) => string;
448
+ /**
449
+ * Formats a number into a friendlier string i.e. 1,234 becomes 1.2K
450
+ */
451
+ export declare const formatNumber: (num: number) => string;
452
+ export type SetState<T> = Dispatch<SetStateAction<T>>;
453
+ export type UpdaterArgs<T> = T | DraftFunction<T>;
454
+ export type CurriedReturn<ValueArg, Value> = undefined extends ValueArg ? (innerValue: Value) => void : void;
455
+ export type InnerImmerOuterImmer<State> = <Field extends keyof Draft<State>, Value extends UpdaterArgs<Draft<State>[Field]>, ValueArg extends Value | undefined>(field: Field, value?: ValueArg) => CurriedReturn<ValueArg, Value>;
456
+ export type InnerReactOuterImmer<State> = <Field extends keyof Draft<State>, Value extends SetStateAction<Draft<State>[Field]>, ValueArg extends Value | undefined>(field: Field, value?: ValueArg) => CurriedReturn<ValueArg, Value>;
457
+ export type InnerImmerOuterReact<State> = <Field extends keyof State, Value extends UpdaterArgs<State[Field]>, ValueArg extends Value | undefined>(field: Field, value?: ValueArg) => CurriedReturn<ValueArg, Value>;
458
+ export type InnerReactOuterReact<State> = <Field extends keyof State, Value extends SetStateAction<State[Field]>, ValueArg extends Value | undefined>(field: Field, value?: ValueArg) => CurriedReturn<ValueArg, Value>;
459
+ export declare function innerImmerOuterImmer<State, Field extends keyof Draft<State>, Value extends UpdaterArgs<Draft<State>[Field]>>(setState: Updater<State>, field: Field): (innerValue: NonNullable<Value>) => void;
460
+ export declare function innerImmerOuterImmer<State, Field extends keyof Draft<State>, Value extends UpdaterArgs<Draft<State>[Field]>, ValueArg extends Value | undefined>(setState: Updater<State>, field: Field, value: ValueArg): void;
461
+ /**
462
+ * Curry function to allow innerImmerOuterImmer to be used without constantly passing in setState
463
+ *
464
+ * Use like so:
465
+ *
466
+ * [state, setState] = useImmer<{ num: number; string: string; }>({ num: 1, string: 'str' });
467
+ *
468
+ * const updateField = curriedInnerImmerOuterImmer(setState);
469
+ *
470
+ * updateField('num', 3); // Updates state to { num: 3, string: 'str' }
471
+ *
472
+ * updateField(
473
+ * 'num',
474
+ * oldNum => {
475
+ * oldNum += 1;
476
+ * },
477
+ * ); // Updates state to { num: 4, string: 'str' }
478
+ *
479
+ * updateField(setState, 'num', 'three'); // TS Error due to invalid type
480
+ */
481
+ export declare const curriedInnerImmerOuterImmer: <State>(setState: Updater<State>) => InnerImmerOuterImmer<State>;
482
+ export declare function innerReactOuterImmer<State, Field extends keyof Draft<State>, Value extends SetStateAction<Draft<State>[Field]>>(setState: Updater<State>, field: Field): (innerValue: NonNullable<Value>) => void;
483
+ export declare function innerReactOuterImmer<State, Field extends keyof Draft<State>, Value extends SetStateAction<Draft<State>[Field]>, ValueArg extends Value | undefined>(setState: Updater<State>, field: Field, value: ValueArg): void;
484
+ /**
485
+ * Curry function to allow innerReactOuterImmer to be used without constantly passing in setState
486
+ *
487
+ * Use like so:
488
+ *
489
+ * [state, setState] = useImmer<{ num: number; string: string; }>({ num: 1, string: 'str' });
490
+ *
491
+ * const updateField = curriedUpdateImmerSetStateField(setState);
492
+ *
493
+ * updateField('num', 3); // Updates state to { num: 3, string: 'str' }
494
+ *
495
+ * updateField('num', oldNum => oldNum + 1); // Updates state to { num: 4, string: 'str' }
496
+ *
497
+ * updateField(setState, 'num', 'three'); // TS Error due to invalid type
498
+ */
499
+ export declare const curriedInnerReactOuterImmer: <State>(setState: Updater<State>) => InnerReactOuterImmer<State>;
500
+ export declare function innerImmerOuterReact<State, Field extends keyof State, Value extends UpdaterArgs<State[Field]>>(setState: SetState<State>, field: Field): (innerValue: NonNullable<Value>) => void;
501
+ export declare function innerImmerOuterReact<State, Field extends keyof State, Value extends UpdaterArgs<State[Field]>, ValueArg extends Value | undefined>(setState: SetState<State>, field: Field, value: ValueArg): void;
502
+ /**
503
+ * Curry function to allow innerImmerOuterReact to be used without constantly passing in setState
504
+ *
505
+ * Use like so:
506
+ *
507
+ * [state, setState] = useImmer<{ num: number; string: string; }>({ num: 1, string: 'str' });
508
+ *
509
+ * const updateField = curriedInnerImmerOuterImmer(setState);
510
+ *
511
+ * updateField('num', 3); // Updates state to { num: 3, string: 'str' }
512
+ *
513
+ * updateField(
514
+ * 'num',
515
+ * oldNum => {
516
+ * oldNum += 1;
517
+ * },
518
+ * ); // Updates state to { num: 4, string: 'str' }
519
+ *
520
+ * updateField(setState, 'num', 'three'); // TS Error due to invalid type
521
+ */
522
+ export declare const curriedInnerImmerOuterReact: <State>(setState: SetState<State>) => InnerImmerOuterReact<State>;
523
+ export declare function innerReactOuterReact<State, Field extends keyof State, Value extends SetStateAction<State[Field]>>(setState: SetState<State>, field: Field): (innerValue: NonNullable<Value>) => void;
524
+ export declare function innerReactOuterReact<State, Field extends keyof State, Value extends SetStateAction<State[Field]>, ValueArg extends Value | undefined>(setState: SetState<State>, field: Field, value: ValueArg): void;
525
+ /**
526
+ * Curry function to allow updateSetStateField to be used without constantly passing in setState
527
+ *
528
+ * If possible, please consider updating your useState calls to useImmer and using the immer
529
+ * versions of these functions
530
+ *
531
+ * Use like so:
532
+ *
533
+ * [state, setState] = useState<{ num: number; string: string; }>({ num: 1, string: 'str' });
534
+ *
535
+ * const updateField = curriedInnerReactOuterReact(setState);
536
+ *
537
+ * updateField('num', 3); // Updates state to { num: 3, string: 'str' }
538
+ *
539
+ * updateField('num', oldNum => oldNum + 1); // Updates state to { num: 4, string: 'str' }
540
+ *
541
+ * updateField(setState, 'num', 'three'); // TS Error due to invalid type
542
+ */
543
+ export declare const curriedInnerReactOuterReact: <State>(setState: SetState<State>) => InnerReactOuterReact<State>;
544
+ export declare function curriedStateSlice<State>(setState: Updater<State>): InnerImmerOuterImmer<State>;
545
+ export declare function curriedStateSlice<State>(setState: Updater<State>, options: {
546
+ inner: "immer";
547
+ outer: "immer";
548
+ }): InnerImmerOuterImmer<State>;
549
+ export declare function curriedStateSlice<State>(setState: Updater<State>, options: {
550
+ inner: "immer";
551
+ outer: "react";
552
+ }): InnerImmerOuterReact<State>;
553
+ export declare function curriedStateSlice<State>(setState: SetState<State>, options: {
554
+ inner: "react";
555
+ outer: "immer";
556
+ }): InnerReactOuterImmer<State>;
557
+ export declare function curriedStateSlice<State>(setState: SetState<State>, options: {
558
+ inner: "react";
559
+ outer: "react";
560
+ }): InnerReactOuterReact<State>;
561
+ export type UpdateSlice<State> = {
562
+ (index: number): Updater<State>;
563
+ (index: number, value: UpdaterArgs<State>): void;
564
+ };
565
+ export type CurriedArraySlice = {
566
+ <State>(setState: SetState<State[]>): UpdateSlice<State>;
567
+ <State>(setState: SetState<State[]>, index: number): Updater<State>;
568
+ <State>(setState: SetState<State[]>, index: number, value: State): void;
569
+ };
570
+ export declare const curriedArraySlice: CurriedArraySlice;
571
+ export type ImmerArraySlice = {
572
+ <State>(setState: Updater<State[]>): UpdateSlice<State>;
573
+ <State>(setState: Updater<State[]>, index: number): Updater<State>;
574
+ <State>(setState: Updater<State[]>, index: number, value: State): void;
575
+ };
576
+ export declare const immerArraySlice: ImmerArraySlice;
577
+ export declare const ImageResizingValidator: z.ZodObject<{
578
+ type: z.ZodLiteral<"resizing">;
579
+ }, z.core.$strip>;
580
+ export type ImageResizing = z.infer<typeof ImageResizingValidator>;
581
+ export declare const ImageUploadingValidator: z.ZodObject<{
582
+ type: z.ZodLiteral<"uploading">;
583
+ progress: z.ZodOptional<z.ZodNumber>;
584
+ }, z.core.$strip>;
585
+ export type ImageUploading = z.infer<typeof ImageUploadingValidator>;
586
+ export declare const ImageWithLoadingStateValdator: z.ZodObject<{
587
+ image: z.ZodString;
588
+ loading: z.ZodOptional<z.ZodUnion<readonly [
589
+ z.ZodObject<{
590
+ type: z.ZodLiteral<"resizing">;
591
+ }, z.core.$strip>,
592
+ z.ZodObject<{
593
+ type: z.ZodLiteral<"uploading">;
594
+ progress: z.ZodOptional<z.ZodNumber>;
595
+ }, z.core.$strip>
596
+ ]>>;
597
+ }, z.core.$strip>;
598
+ export type ImageWithLoadingState = z.infer<typeof ImageWithLoadingStateValdator>;
599
+ export type FilestackImage = {
600
+ filename: string;
601
+ handle: string;
602
+ mimetype: string;
603
+ originalFile: {
604
+ name: string;
605
+ size: number;
606
+ type: string;
607
+ };
608
+ originalPath: string;
609
+ size: number;
610
+ source: string;
611
+ status: string;
612
+ uploadId: string;
613
+ url: string;
614
+ };
615
+ export type Simplify<T> = {
616
+ [KeyType in keyof T]: T[KeyType];
617
+ };
618
+ export type Maybify<T> = Simplify<{
619
+ [P in keyof T]?: Maybify<T[P]> | null;
620
+ }>;
621
+ /** If Maybify gives you an exceeds maximum length error, try this one! */
622
+ export type PerformantMaybify<T> = {
623
+ [P in keyof T]?: PerformantMaybify<T[P]> | null;
624
+ };
625
+ export type DeepValues<ObjectType extends object> = {
626
+ [Key in keyof ObjectType & (string | number)]: ObjectType[Key] extends object ? DeepValues<ObjectType[Key]> : ObjectType[Key];
627
+ }[keyof ObjectType & (string | number)];
628
+ export interface Nothing {
629
+ }
630
+ export type Other<T> = T & Nothing;
631
+ export type SuggestString<Literals extends string> = Literals | Other<string>;
632
+ export type DeepPartial<T> = T extends Date ? T : T extends object ? {
633
+ [P in keyof T]?: DeepPartial<T[P]>;
634
+ } : T;
635
+ export declare const isNotUndefined: <T>(value: T | null | undefined) => value is T;
636
+ export declare const filterUndefined: <T>(arr: (T | null | undefined)[]) => T[];
4339
637
  /**
4340
638
  * Determines whether or not a string is a valid hexadecimal string
4341
639
  *