@learncard/types 2.2.1 → 3.0.1

Sign up to get free protection for your applications and to get access to all the features.
package/dist/vc.d.ts CHANGED
@@ -27,21 +27,21 @@ export declare const ImageValidator: z.ZodUnion<[z.ZodString, z.ZodObject<{
27
27
  }>]>;
28
28
  export declare type Image = z.infer<typeof ImageValidator>;
29
29
  export declare const GeoCoordinatesValidator: z.ZodObject<{
30
- type: z.ZodArray<z.ZodString, "atleastone">;
30
+ type: z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "atleastone">]>;
31
31
  latitude: z.ZodNumber;
32
32
  longitude: z.ZodNumber;
33
33
  }, "strip", z.ZodTypeAny, {
34
- type: [string, ...string[]];
34
+ type: string | [string, ...string[]];
35
35
  latitude: number;
36
36
  longitude: number;
37
37
  }, {
38
- type: [string, ...string[]];
38
+ type: string | [string, ...string[]];
39
39
  latitude: number;
40
40
  longitude: number;
41
41
  }>;
42
42
  export declare type GeoCoordinates = z.infer<typeof GeoCoordinatesValidator>;
43
43
  export declare const AddressValidator: z.ZodObject<{
44
- type: z.ZodArray<z.ZodString, "atleastone">;
44
+ type: z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "atleastone">]>;
45
45
  addressCountry: z.ZodOptional<z.ZodString>;
46
46
  addressCountryCode: z.ZodOptional<z.ZodString>;
47
47
  addressRegion: z.ZodOptional<z.ZodString>;
@@ -50,15 +50,15 @@ export declare const AddressValidator: z.ZodObject<{
50
50
  postOfficeBoxNumber: z.ZodOptional<z.ZodString>;
51
51
  postalCode: z.ZodOptional<z.ZodString>;
52
52
  geo: z.ZodOptional<z.ZodObject<{
53
- type: z.ZodArray<z.ZodString, "atleastone">;
53
+ type: z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "atleastone">]>;
54
54
  latitude: z.ZodNumber;
55
55
  longitude: z.ZodNumber;
56
56
  }, "strip", z.ZodTypeAny, {
57
- type: [string, ...string[]];
57
+ type: string | [string, ...string[]];
58
58
  latitude: number;
59
59
  longitude: number;
60
60
  }, {
61
- type: [string, ...string[]];
61
+ type: string | [string, ...string[]];
62
62
  latitude: number;
63
63
  longitude: number;
64
64
  }>>;
@@ -71,11 +71,11 @@ export declare const AddressValidator: z.ZodObject<{
71
71
  postOfficeBoxNumber?: string | undefined;
72
72
  postalCode?: string | undefined;
73
73
  geo?: {
74
- type: [string, ...string[]];
74
+ type: string | [string, ...string[]];
75
75
  latitude: number;
76
76
  longitude: number;
77
77
  } | undefined;
78
- type: [string, ...string[]];
78
+ type: string | [string, ...string[]];
79
79
  }, {
80
80
  addressCountry?: string | undefined;
81
81
  addressCountryCode?: string | undefined;
@@ -85,25 +85,25 @@ export declare const AddressValidator: z.ZodObject<{
85
85
  postOfficeBoxNumber?: string | undefined;
86
86
  postalCode?: string | undefined;
87
87
  geo?: {
88
- type: [string, ...string[]];
88
+ type: string | [string, ...string[]];
89
89
  latitude: number;
90
90
  longitude: number;
91
91
  } | undefined;
92
- type: [string, ...string[]];
92
+ type: string | [string, ...string[]];
93
93
  }>;
94
94
  export declare type Address = z.infer<typeof AddressValidator>;
95
95
  export declare const IdentifierTypeValidator: z.ZodUnion<[z.ZodEnum<["sourcedId", "systemId", "productId", "userName", "accountId", "emailAddress", "nationalIdentityNumber", "isbn", "issn", "lisSourcedId", "oneRosterSourcedId", "sisSourcedId", "ltiContextId", "ltiDeploymentId", "ltiToolId", "ltiPlatformId", "ltiUserId", "identifier"]>, z.ZodString]>;
96
96
  export declare type IdentifierType = z.infer<typeof IdentifierTypeValidator>;
97
97
  export declare const IdentifierEntryValidator: z.ZodObject<{
98
- type: z.ZodArray<z.ZodString, "atleastone">;
98
+ type: z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "atleastone">]>;
99
99
  identifier: z.ZodString;
100
100
  identifierType: z.ZodUnion<[z.ZodEnum<["sourcedId", "systemId", "productId", "userName", "accountId", "emailAddress", "nationalIdentityNumber", "isbn", "issn", "lisSourcedId", "oneRosterSourcedId", "sisSourcedId", "ltiContextId", "ltiDeploymentId", "ltiToolId", "ltiPlatformId", "ltiUserId", "identifier"]>, z.ZodString]>;
101
101
  }, "strip", z.ZodTypeAny, {
102
- type: [string, ...string[]];
102
+ type: string | [string, ...string[]];
103
103
  identifier: string;
104
104
  identifierType: string;
105
105
  }, {
106
- type: [string, ...string[]];
106
+ type: string | [string, ...string[]];
107
107
  identifier: string;
108
108
  identifierType: string;
109
109
  }>;
@@ -131,7 +131,7 @@ export declare const ProfileValidator: z.ZodUnion<[z.ZodString, z.ZodObject<{
131
131
  }>]>>;
132
132
  email: z.ZodOptional<z.ZodString>;
133
133
  address: z.ZodOptional<z.ZodObject<{
134
- type: z.ZodArray<z.ZodString, "atleastone">;
134
+ type: z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "atleastone">]>;
135
135
  addressCountry: z.ZodOptional<z.ZodString>;
136
136
  addressCountryCode: z.ZodOptional<z.ZodString>;
137
137
  addressRegion: z.ZodOptional<z.ZodString>;
@@ -140,15 +140,15 @@ export declare const ProfileValidator: z.ZodUnion<[z.ZodString, z.ZodObject<{
140
140
  postOfficeBoxNumber: z.ZodOptional<z.ZodString>;
141
141
  postalCode: z.ZodOptional<z.ZodString>;
142
142
  geo: z.ZodOptional<z.ZodObject<{
143
- type: z.ZodArray<z.ZodString, "atleastone">;
143
+ type: z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "atleastone">]>;
144
144
  latitude: z.ZodNumber;
145
145
  longitude: z.ZodNumber;
146
146
  }, "strip", z.ZodTypeAny, {
147
- type: [string, ...string[]];
147
+ type: string | [string, ...string[]];
148
148
  latitude: number;
149
149
  longitude: number;
150
150
  }, {
151
- type: [string, ...string[]];
151
+ type: string | [string, ...string[]];
152
152
  latitude: number;
153
153
  longitude: number;
154
154
  }>>;
@@ -161,11 +161,11 @@ export declare const ProfileValidator: z.ZodUnion<[z.ZodString, z.ZodObject<{
161
161
  postOfficeBoxNumber?: string | undefined;
162
162
  postalCode?: string | undefined;
163
163
  geo?: {
164
- type: [string, ...string[]];
164
+ type: string | [string, ...string[]];
165
165
  latitude: number;
166
166
  longitude: number;
167
167
  } | undefined;
168
- type: [string, ...string[]];
168
+ type: string | [string, ...string[]];
169
169
  }, {
170
170
  addressCountry?: string | undefined;
171
171
  addressCountryCode?: string | undefined;
@@ -175,22 +175,22 @@ export declare const ProfileValidator: z.ZodUnion<[z.ZodString, z.ZodObject<{
175
175
  postOfficeBoxNumber?: string | undefined;
176
176
  postalCode?: string | undefined;
177
177
  geo?: {
178
- type: [string, ...string[]];
178
+ type: string | [string, ...string[]];
179
179
  latitude: number;
180
180
  longitude: number;
181
181
  } | undefined;
182
- type: [string, ...string[]];
182
+ type: string | [string, ...string[]];
183
183
  }>>;
184
184
  otherIdentifier: z.ZodOptional<z.ZodArray<z.ZodObject<{
185
- type: z.ZodArray<z.ZodString, "atleastone">;
185
+ type: z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "atleastone">]>;
186
186
  identifier: z.ZodString;
187
187
  identifierType: z.ZodUnion<[z.ZodEnum<["sourcedId", "systemId", "productId", "userName", "accountId", "emailAddress", "nationalIdentityNumber", "isbn", "issn", "lisSourcedId", "oneRosterSourcedId", "sisSourcedId", "ltiContextId", "ltiDeploymentId", "ltiToolId", "ltiPlatformId", "ltiUserId", "identifier"]>, z.ZodString]>;
188
188
  }, "strip", z.ZodTypeAny, {
189
- type: [string, ...string[]];
189
+ type: string | [string, ...string[]];
190
190
  identifier: string;
191
191
  identifierType: string;
192
192
  }, {
193
- type: [string, ...string[]];
193
+ type: string | [string, ...string[]];
194
194
  identifier: string;
195
195
  identifierType: string;
196
196
  }>, "many">>;
@@ -228,14 +228,14 @@ export declare const ProfileValidator: z.ZodUnion<[z.ZodString, z.ZodObject<{
228
228
  postOfficeBoxNumber?: string | undefined;
229
229
  postalCode?: string | undefined;
230
230
  geo?: {
231
- type: [string, ...string[]];
231
+ type: string | [string, ...string[]];
232
232
  latitude: number;
233
233
  longitude: number;
234
234
  } | undefined;
235
- type: [string, ...string[]];
235
+ type: string | [string, ...string[]];
236
236
  } | undefined;
237
237
  otherIdentifier?: {
238
- type: [string, ...string[]];
238
+ type: string | [string, ...string[]];
239
239
  identifier: string;
240
240
  identifierType: string;
241
241
  }[] | undefined;
@@ -273,14 +273,14 @@ export declare const ProfileValidator: z.ZodUnion<[z.ZodString, z.ZodObject<{
273
273
  postOfficeBoxNumber?: string | undefined;
274
274
  postalCode?: string | undefined;
275
275
  geo?: {
276
- type: [string, ...string[]];
276
+ type: string | [string, ...string[]];
277
277
  latitude: number;
278
278
  longitude: number;
279
279
  } | undefined;
280
- type: [string, ...string[]];
280
+ type: string | [string, ...string[]];
281
281
  } | undefined;
282
282
  otherIdentifier?: {
283
- type: [string, ...string[]];
283
+ type: string | [string, ...string[]];
284
284
  identifier: string;
285
285
  identifierType: string;
286
286
  }[] | undefined;
@@ -368,7 +368,7 @@ export declare const UnsignedVCValidator: z.ZodObject<{
368
368
  }>]>>;
369
369
  email: z.ZodOptional<z.ZodString>;
370
370
  address: z.ZodOptional<z.ZodObject<{
371
- type: z.ZodArray<z.ZodString, "atleastone">;
371
+ type: z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "atleastone">]>;
372
372
  addressCountry: z.ZodOptional<z.ZodString>;
373
373
  addressCountryCode: z.ZodOptional<z.ZodString>;
374
374
  addressRegion: z.ZodOptional<z.ZodString>;
@@ -377,15 +377,15 @@ export declare const UnsignedVCValidator: z.ZodObject<{
377
377
  postOfficeBoxNumber: z.ZodOptional<z.ZodString>;
378
378
  postalCode: z.ZodOptional<z.ZodString>;
379
379
  geo: z.ZodOptional<z.ZodObject<{
380
- type: z.ZodArray<z.ZodString, "atleastone">;
380
+ type: z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "atleastone">]>;
381
381
  latitude: z.ZodNumber;
382
382
  longitude: z.ZodNumber;
383
383
  }, "strip", z.ZodTypeAny, {
384
- type: [string, ...string[]];
384
+ type: string | [string, ...string[]];
385
385
  latitude: number;
386
386
  longitude: number;
387
387
  }, {
388
- type: [string, ...string[]];
388
+ type: string | [string, ...string[]];
389
389
  latitude: number;
390
390
  longitude: number;
391
391
  }>>;
@@ -398,11 +398,11 @@ export declare const UnsignedVCValidator: z.ZodObject<{
398
398
  postOfficeBoxNumber?: string | undefined;
399
399
  postalCode?: string | undefined;
400
400
  geo?: {
401
- type: [string, ...string[]];
401
+ type: string | [string, ...string[]];
402
402
  latitude: number;
403
403
  longitude: number;
404
404
  } | undefined;
405
- type: [string, ...string[]];
405
+ type: string | [string, ...string[]];
406
406
  }, {
407
407
  addressCountry?: string | undefined;
408
408
  addressCountryCode?: string | undefined;
@@ -412,22 +412,22 @@ export declare const UnsignedVCValidator: z.ZodObject<{
412
412
  postOfficeBoxNumber?: string | undefined;
413
413
  postalCode?: string | undefined;
414
414
  geo?: {
415
- type: [string, ...string[]];
415
+ type: string | [string, ...string[]];
416
416
  latitude: number;
417
417
  longitude: number;
418
418
  } | undefined;
419
- type: [string, ...string[]];
419
+ type: string | [string, ...string[]];
420
420
  }>>;
421
421
  otherIdentifier: z.ZodOptional<z.ZodArray<z.ZodObject<{
422
- type: z.ZodArray<z.ZodString, "atleastone">;
422
+ type: z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "atleastone">]>;
423
423
  identifier: z.ZodString;
424
424
  identifierType: z.ZodUnion<[z.ZodEnum<["sourcedId", "systemId", "productId", "userName", "accountId", "emailAddress", "nationalIdentityNumber", "isbn", "issn", "lisSourcedId", "oneRosterSourcedId", "sisSourcedId", "ltiContextId", "ltiDeploymentId", "ltiToolId", "ltiPlatformId", "ltiUserId", "identifier"]>, z.ZodString]>;
425
425
  }, "strip", z.ZodTypeAny, {
426
- type: [string, ...string[]];
426
+ type: string | [string, ...string[]];
427
427
  identifier: string;
428
428
  identifierType: string;
429
429
  }, {
430
- type: [string, ...string[]];
430
+ type: string | [string, ...string[]];
431
431
  identifier: string;
432
432
  identifierType: string;
433
433
  }>, "many">>;
@@ -465,14 +465,14 @@ export declare const UnsignedVCValidator: z.ZodObject<{
465
465
  postOfficeBoxNumber?: string | undefined;
466
466
  postalCode?: string | undefined;
467
467
  geo?: {
468
- type: [string, ...string[]];
468
+ type: string | [string, ...string[]];
469
469
  latitude: number;
470
470
  longitude: number;
471
471
  } | undefined;
472
- type: [string, ...string[]];
472
+ type: string | [string, ...string[]];
473
473
  } | undefined;
474
474
  otherIdentifier?: {
475
- type: [string, ...string[]];
475
+ type: string | [string, ...string[]];
476
476
  identifier: string;
477
477
  identifierType: string;
478
478
  }[] | undefined;
@@ -510,14 +510,14 @@ export declare const UnsignedVCValidator: z.ZodObject<{
510
510
  postOfficeBoxNumber?: string | undefined;
511
511
  postalCode?: string | undefined;
512
512
  geo?: {
513
- type: [string, ...string[]];
513
+ type: string | [string, ...string[]];
514
514
  latitude: number;
515
515
  longitude: number;
516
516
  } | undefined;
517
- type: [string, ...string[]];
517
+ type: string | [string, ...string[]];
518
518
  } | undefined;
519
519
  otherIdentifier?: {
520
- type: [string, ...string[]];
520
+ type: string | [string, ...string[]];
521
521
  identifier: string;
522
522
  identifierType: string;
523
523
  }[] | undefined;
@@ -626,14 +626,14 @@ export declare const UnsignedVCValidator: z.ZodObject<{
626
626
  postOfficeBoxNumber?: string | undefined;
627
627
  postalCode?: string | undefined;
628
628
  geo?: {
629
- type: [string, ...string[]];
629
+ type: string | [string, ...string[]];
630
630
  latitude: number;
631
631
  longitude: number;
632
632
  } | undefined;
633
- type: [string, ...string[]];
633
+ type: string | [string, ...string[]];
634
634
  } | undefined;
635
635
  otherIdentifier?: {
636
- type: [string, ...string[]];
636
+ type: string | [string, ...string[]];
637
637
  identifier: string;
638
638
  identifierType: string;
639
639
  }[] | undefined;
@@ -699,14 +699,14 @@ export declare const UnsignedVCValidator: z.ZodObject<{
699
699
  postOfficeBoxNumber?: string | undefined;
700
700
  postalCode?: string | undefined;
701
701
  geo?: {
702
- type: [string, ...string[]];
702
+ type: string | [string, ...string[]];
703
703
  latitude: number;
704
704
  longitude: number;
705
705
  } | undefined;
706
- type: [string, ...string[]];
706
+ type: string | [string, ...string[]];
707
707
  } | undefined;
708
708
  otherIdentifier?: {
709
- type: [string, ...string[]];
709
+ type: string | [string, ...string[]];
710
710
  identifier: string;
711
711
  identifierType: string;
712
712
  }[] | undefined;
@@ -789,7 +789,7 @@ export declare const VCValidator: z.ZodObject<z.extendShape<{
789
789
  }>]>>;
790
790
  email: z.ZodOptional<z.ZodString>;
791
791
  address: z.ZodOptional<z.ZodObject<{
792
- type: z.ZodArray<z.ZodString, "atleastone">;
792
+ type: z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "atleastone">]>;
793
793
  addressCountry: z.ZodOptional<z.ZodString>;
794
794
  addressCountryCode: z.ZodOptional<z.ZodString>;
795
795
  addressRegion: z.ZodOptional<z.ZodString>;
@@ -798,15 +798,15 @@ export declare const VCValidator: z.ZodObject<z.extendShape<{
798
798
  postOfficeBoxNumber: z.ZodOptional<z.ZodString>;
799
799
  postalCode: z.ZodOptional<z.ZodString>;
800
800
  geo: z.ZodOptional<z.ZodObject<{
801
- type: z.ZodArray<z.ZodString, "atleastone">;
801
+ type: z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "atleastone">]>;
802
802
  latitude: z.ZodNumber;
803
803
  longitude: z.ZodNumber;
804
804
  }, "strip", z.ZodTypeAny, {
805
- type: [string, ...string[]];
805
+ type: string | [string, ...string[]];
806
806
  latitude: number;
807
807
  longitude: number;
808
808
  }, {
809
- type: [string, ...string[]];
809
+ type: string | [string, ...string[]];
810
810
  latitude: number;
811
811
  longitude: number;
812
812
  }>>;
@@ -819,11 +819,11 @@ export declare const VCValidator: z.ZodObject<z.extendShape<{
819
819
  postOfficeBoxNumber?: string | undefined;
820
820
  postalCode?: string | undefined;
821
821
  geo?: {
822
- type: [string, ...string[]];
822
+ type: string | [string, ...string[]];
823
823
  latitude: number;
824
824
  longitude: number;
825
825
  } | undefined;
826
- type: [string, ...string[]];
826
+ type: string | [string, ...string[]];
827
827
  }, {
828
828
  addressCountry?: string | undefined;
829
829
  addressCountryCode?: string | undefined;
@@ -833,22 +833,22 @@ export declare const VCValidator: z.ZodObject<z.extendShape<{
833
833
  postOfficeBoxNumber?: string | undefined;
834
834
  postalCode?: string | undefined;
835
835
  geo?: {
836
- type: [string, ...string[]];
836
+ type: string | [string, ...string[]];
837
837
  latitude: number;
838
838
  longitude: number;
839
839
  } | undefined;
840
- type: [string, ...string[]];
840
+ type: string | [string, ...string[]];
841
841
  }>>;
842
842
  otherIdentifier: z.ZodOptional<z.ZodArray<z.ZodObject<{
843
- type: z.ZodArray<z.ZodString, "atleastone">;
843
+ type: z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "atleastone">]>;
844
844
  identifier: z.ZodString;
845
845
  identifierType: z.ZodUnion<[z.ZodEnum<["sourcedId", "systemId", "productId", "userName", "accountId", "emailAddress", "nationalIdentityNumber", "isbn", "issn", "lisSourcedId", "oneRosterSourcedId", "sisSourcedId", "ltiContextId", "ltiDeploymentId", "ltiToolId", "ltiPlatformId", "ltiUserId", "identifier"]>, z.ZodString]>;
846
846
  }, "strip", z.ZodTypeAny, {
847
- type: [string, ...string[]];
847
+ type: string | [string, ...string[]];
848
848
  identifier: string;
849
849
  identifierType: string;
850
850
  }, {
851
- type: [string, ...string[]];
851
+ type: string | [string, ...string[]];
852
852
  identifier: string;
853
853
  identifierType: string;
854
854
  }>, "many">>;
@@ -886,14 +886,14 @@ export declare const VCValidator: z.ZodObject<z.extendShape<{
886
886
  postOfficeBoxNumber?: string | undefined;
887
887
  postalCode?: string | undefined;
888
888
  geo?: {
889
- type: [string, ...string[]];
889
+ type: string | [string, ...string[]];
890
890
  latitude: number;
891
891
  longitude: number;
892
892
  } | undefined;
893
- type: [string, ...string[]];
893
+ type: string | [string, ...string[]];
894
894
  } | undefined;
895
895
  otherIdentifier?: {
896
- type: [string, ...string[]];
896
+ type: string | [string, ...string[]];
897
897
  identifier: string;
898
898
  identifierType: string;
899
899
  }[] | undefined;
@@ -931,14 +931,14 @@ export declare const VCValidator: z.ZodObject<z.extendShape<{
931
931
  postOfficeBoxNumber?: string | undefined;
932
932
  postalCode?: string | undefined;
933
933
  geo?: {
934
- type: [string, ...string[]];
934
+ type: string | [string, ...string[]];
935
935
  latitude: number;
936
936
  longitude: number;
937
937
  } | undefined;
938
- type: [string, ...string[]];
938
+ type: string | [string, ...string[]];
939
939
  } | undefined;
940
940
  otherIdentifier?: {
941
- type: [string, ...string[]];
941
+ type: string | [string, ...string[]];
942
942
  identifier: string;
943
943
  identifierType: string;
944
944
  }[] | undefined;
@@ -1107,14 +1107,14 @@ export declare const VCValidator: z.ZodObject<z.extendShape<{
1107
1107
  postOfficeBoxNumber?: string | undefined;
1108
1108
  postalCode?: string | undefined;
1109
1109
  geo?: {
1110
- type: [string, ...string[]];
1110
+ type: string | [string, ...string[]];
1111
1111
  latitude: number;
1112
1112
  longitude: number;
1113
1113
  } | undefined;
1114
- type: [string, ...string[]];
1114
+ type: string | [string, ...string[]];
1115
1115
  } | undefined;
1116
1116
  otherIdentifier?: {
1117
- type: [string, ...string[]];
1117
+ type: string | [string, ...string[]];
1118
1118
  identifier: string;
1119
1119
  identifierType: string;
1120
1120
  }[] | undefined;
@@ -1201,14 +1201,14 @@ export declare const VCValidator: z.ZodObject<z.extendShape<{
1201
1201
  postOfficeBoxNumber?: string | undefined;
1202
1202
  postalCode?: string | undefined;
1203
1203
  geo?: {
1204
- type: [string, ...string[]];
1204
+ type: string | [string, ...string[]];
1205
1205
  latitude: number;
1206
1206
  longitude: number;
1207
1207
  } | undefined;
1208
- type: [string, ...string[]];
1208
+ type: string | [string, ...string[]];
1209
1209
  } | undefined;
1210
1210
  otherIdentifier?: {
1211
- type: [string, ...string[]];
1211
+ type: string | [string, ...string[]];
1212
1212
  identifier: string;
1213
1213
  identifierType: string;
1214
1214
  }[] | undefined;
@@ -1285,7 +1285,7 @@ export declare const UnsignedVPValidator: z.ZodObject<{
1285
1285
  }>]>>;
1286
1286
  email: z.ZodOptional<z.ZodString>;
1287
1287
  address: z.ZodOptional<z.ZodObject<{
1288
- type: z.ZodArray<z.ZodString, "atleastone">;
1288
+ type: z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "atleastone">]>;
1289
1289
  addressCountry: z.ZodOptional<z.ZodString>;
1290
1290
  addressCountryCode: z.ZodOptional<z.ZodString>;
1291
1291
  addressRegion: z.ZodOptional<z.ZodString>;
@@ -1294,15 +1294,15 @@ export declare const UnsignedVPValidator: z.ZodObject<{
1294
1294
  postOfficeBoxNumber: z.ZodOptional<z.ZodString>;
1295
1295
  postalCode: z.ZodOptional<z.ZodString>;
1296
1296
  geo: z.ZodOptional<z.ZodObject<{
1297
- type: z.ZodArray<z.ZodString, "atleastone">;
1297
+ type: z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "atleastone">]>;
1298
1298
  latitude: z.ZodNumber;
1299
1299
  longitude: z.ZodNumber;
1300
1300
  }, "strip", z.ZodTypeAny, {
1301
- type: [string, ...string[]];
1301
+ type: string | [string, ...string[]];
1302
1302
  latitude: number;
1303
1303
  longitude: number;
1304
1304
  }, {
1305
- type: [string, ...string[]];
1305
+ type: string | [string, ...string[]];
1306
1306
  latitude: number;
1307
1307
  longitude: number;
1308
1308
  }>>;
@@ -1315,11 +1315,11 @@ export declare const UnsignedVPValidator: z.ZodObject<{
1315
1315
  postOfficeBoxNumber?: string | undefined;
1316
1316
  postalCode?: string | undefined;
1317
1317
  geo?: {
1318
- type: [string, ...string[]];
1318
+ type: string | [string, ...string[]];
1319
1319
  latitude: number;
1320
1320
  longitude: number;
1321
1321
  } | undefined;
1322
- type: [string, ...string[]];
1322
+ type: string | [string, ...string[]];
1323
1323
  }, {
1324
1324
  addressCountry?: string | undefined;
1325
1325
  addressCountryCode?: string | undefined;
@@ -1329,22 +1329,22 @@ export declare const UnsignedVPValidator: z.ZodObject<{
1329
1329
  postOfficeBoxNumber?: string | undefined;
1330
1330
  postalCode?: string | undefined;
1331
1331
  geo?: {
1332
- type: [string, ...string[]];
1332
+ type: string | [string, ...string[]];
1333
1333
  latitude: number;
1334
1334
  longitude: number;
1335
1335
  } | undefined;
1336
- type: [string, ...string[]];
1336
+ type: string | [string, ...string[]];
1337
1337
  }>>;
1338
1338
  otherIdentifier: z.ZodOptional<z.ZodArray<z.ZodObject<{
1339
- type: z.ZodArray<z.ZodString, "atleastone">;
1339
+ type: z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "atleastone">]>;
1340
1340
  identifier: z.ZodString;
1341
1341
  identifierType: z.ZodUnion<[z.ZodEnum<["sourcedId", "systemId", "productId", "userName", "accountId", "emailAddress", "nationalIdentityNumber", "isbn", "issn", "lisSourcedId", "oneRosterSourcedId", "sisSourcedId", "ltiContextId", "ltiDeploymentId", "ltiToolId", "ltiPlatformId", "ltiUserId", "identifier"]>, z.ZodString]>;
1342
1342
  }, "strip", z.ZodTypeAny, {
1343
- type: [string, ...string[]];
1343
+ type: string | [string, ...string[]];
1344
1344
  identifier: string;
1345
1345
  identifierType: string;
1346
1346
  }, {
1347
- type: [string, ...string[]];
1347
+ type: string | [string, ...string[]];
1348
1348
  identifier: string;
1349
1349
  identifierType: string;
1350
1350
  }>, "many">>;
@@ -1382,14 +1382,14 @@ export declare const UnsignedVPValidator: z.ZodObject<{
1382
1382
  postOfficeBoxNumber?: string | undefined;
1383
1383
  postalCode?: string | undefined;
1384
1384
  geo?: {
1385
- type: [string, ...string[]];
1385
+ type: string | [string, ...string[]];
1386
1386
  latitude: number;
1387
1387
  longitude: number;
1388
1388
  } | undefined;
1389
- type: [string, ...string[]];
1389
+ type: string | [string, ...string[]];
1390
1390
  } | undefined;
1391
1391
  otherIdentifier?: {
1392
- type: [string, ...string[]];
1392
+ type: string | [string, ...string[]];
1393
1393
  identifier: string;
1394
1394
  identifierType: string;
1395
1395
  }[] | undefined;
@@ -1427,14 +1427,14 @@ export declare const UnsignedVPValidator: z.ZodObject<{
1427
1427
  postOfficeBoxNumber?: string | undefined;
1428
1428
  postalCode?: string | undefined;
1429
1429
  geo?: {
1430
- type: [string, ...string[]];
1430
+ type: string | [string, ...string[]];
1431
1431
  latitude: number;
1432
1432
  longitude: number;
1433
1433
  } | undefined;
1434
- type: [string, ...string[]];
1434
+ type: string | [string, ...string[]];
1435
1435
  } | undefined;
1436
1436
  otherIdentifier?: {
1437
- type: [string, ...string[]];
1437
+ type: string | [string, ...string[]];
1438
1438
  identifier: string;
1439
1439
  identifierType: string;
1440
1440
  }[] | undefined;
@@ -1603,14 +1603,14 @@ export declare const UnsignedVPValidator: z.ZodObject<{
1603
1603
  postOfficeBoxNumber?: string | undefined;
1604
1604
  postalCode?: string | undefined;
1605
1605
  geo?: {
1606
- type: [string, ...string[]];
1606
+ type: string | [string, ...string[]];
1607
1607
  latitude: number;
1608
1608
  longitude: number;
1609
1609
  } | undefined;
1610
- type: [string, ...string[]];
1610
+ type: string | [string, ...string[]];
1611
1611
  } | undefined;
1612
1612
  otherIdentifier?: {
1613
- type: [string, ...string[]];
1613
+ type: string | [string, ...string[]];
1614
1614
  identifier: string;
1615
1615
  identifierType: string;
1616
1616
  }[] | undefined;
@@ -1697,14 +1697,14 @@ export declare const UnsignedVPValidator: z.ZodObject<{
1697
1697
  postOfficeBoxNumber?: string | undefined;
1698
1698
  postalCode?: string | undefined;
1699
1699
  geo?: {
1700
- type: [string, ...string[]];
1700
+ type: string | [string, ...string[]];
1701
1701
  latitude: number;
1702
1702
  longitude: number;
1703
1703
  } | undefined;
1704
- type: [string, ...string[]];
1704
+ type: string | [string, ...string[]];
1705
1705
  } | undefined;
1706
1706
  otherIdentifier?: {
1707
- type: [string, ...string[]];
1707
+ type: string | [string, ...string[]];
1708
1708
  identifier: string;
1709
1709
  identifierType: string;
1710
1710
  }[] | undefined;
@@ -1775,7 +1775,7 @@ export declare const UnsignedVPValidator: z.ZodObject<{
1775
1775
  }>]>>;
1776
1776
  email: z.ZodOptional<z.ZodString>;
1777
1777
  address: z.ZodOptional<z.ZodObject<{
1778
- type: z.ZodArray<z.ZodString, "atleastone">;
1778
+ type: z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "atleastone">]>;
1779
1779
  addressCountry: z.ZodOptional<z.ZodString>;
1780
1780
  addressCountryCode: z.ZodOptional<z.ZodString>;
1781
1781
  addressRegion: z.ZodOptional<z.ZodString>;
@@ -1784,15 +1784,15 @@ export declare const UnsignedVPValidator: z.ZodObject<{
1784
1784
  postOfficeBoxNumber: z.ZodOptional<z.ZodString>;
1785
1785
  postalCode: z.ZodOptional<z.ZodString>;
1786
1786
  geo: z.ZodOptional<z.ZodObject<{
1787
- type: z.ZodArray<z.ZodString, "atleastone">;
1787
+ type: z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "atleastone">]>;
1788
1788
  latitude: z.ZodNumber;
1789
1789
  longitude: z.ZodNumber;
1790
1790
  }, "strip", z.ZodTypeAny, {
1791
- type: [string, ...string[]];
1791
+ type: string | [string, ...string[]];
1792
1792
  latitude: number;
1793
1793
  longitude: number;
1794
1794
  }, {
1795
- type: [string, ...string[]];
1795
+ type: string | [string, ...string[]];
1796
1796
  latitude: number;
1797
1797
  longitude: number;
1798
1798
  }>>;
@@ -1805,11 +1805,11 @@ export declare const UnsignedVPValidator: z.ZodObject<{
1805
1805
  postOfficeBoxNumber?: string | undefined;
1806
1806
  postalCode?: string | undefined;
1807
1807
  geo?: {
1808
- type: [string, ...string[]];
1808
+ type: string | [string, ...string[]];
1809
1809
  latitude: number;
1810
1810
  longitude: number;
1811
1811
  } | undefined;
1812
- type: [string, ...string[]];
1812
+ type: string | [string, ...string[]];
1813
1813
  }, {
1814
1814
  addressCountry?: string | undefined;
1815
1815
  addressCountryCode?: string | undefined;
@@ -1819,22 +1819,22 @@ export declare const UnsignedVPValidator: z.ZodObject<{
1819
1819
  postOfficeBoxNumber?: string | undefined;
1820
1820
  postalCode?: string | undefined;
1821
1821
  geo?: {
1822
- type: [string, ...string[]];
1822
+ type: string | [string, ...string[]];
1823
1823
  latitude: number;
1824
1824
  longitude: number;
1825
1825
  } | undefined;
1826
- type: [string, ...string[]];
1826
+ type: string | [string, ...string[]];
1827
1827
  }>>;
1828
1828
  otherIdentifier: z.ZodOptional<z.ZodArray<z.ZodObject<{
1829
- type: z.ZodArray<z.ZodString, "atleastone">;
1829
+ type: z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "atleastone">]>;
1830
1830
  identifier: z.ZodString;
1831
1831
  identifierType: z.ZodUnion<[z.ZodEnum<["sourcedId", "systemId", "productId", "userName", "accountId", "emailAddress", "nationalIdentityNumber", "isbn", "issn", "lisSourcedId", "oneRosterSourcedId", "sisSourcedId", "ltiContextId", "ltiDeploymentId", "ltiToolId", "ltiPlatformId", "ltiUserId", "identifier"]>, z.ZodString]>;
1832
1832
  }, "strip", z.ZodTypeAny, {
1833
- type: [string, ...string[]];
1833
+ type: string | [string, ...string[]];
1834
1834
  identifier: string;
1835
1835
  identifierType: string;
1836
1836
  }, {
1837
- type: [string, ...string[]];
1837
+ type: string | [string, ...string[]];
1838
1838
  identifier: string;
1839
1839
  identifierType: string;
1840
1840
  }>, "many">>;
@@ -1872,14 +1872,14 @@ export declare const UnsignedVPValidator: z.ZodObject<{
1872
1872
  postOfficeBoxNumber?: string | undefined;
1873
1873
  postalCode?: string | undefined;
1874
1874
  geo?: {
1875
- type: [string, ...string[]];
1875
+ type: string | [string, ...string[]];
1876
1876
  latitude: number;
1877
1877
  longitude: number;
1878
1878
  } | undefined;
1879
- type: [string, ...string[]];
1879
+ type: string | [string, ...string[]];
1880
1880
  } | undefined;
1881
1881
  otherIdentifier?: {
1882
- type: [string, ...string[]];
1882
+ type: string | [string, ...string[]];
1883
1883
  identifier: string;
1884
1884
  identifierType: string;
1885
1885
  }[] | undefined;
@@ -1917,14 +1917,14 @@ export declare const UnsignedVPValidator: z.ZodObject<{
1917
1917
  postOfficeBoxNumber?: string | undefined;
1918
1918
  postalCode?: string | undefined;
1919
1919
  geo?: {
1920
- type: [string, ...string[]];
1920
+ type: string | [string, ...string[]];
1921
1921
  latitude: number;
1922
1922
  longitude: number;
1923
1923
  } | undefined;
1924
- type: [string, ...string[]];
1924
+ type: string | [string, ...string[]];
1925
1925
  } | undefined;
1926
1926
  otherIdentifier?: {
1927
- type: [string, ...string[]];
1927
+ type: string | [string, ...string[]];
1928
1928
  identifier: string;
1929
1929
  identifierType: string;
1930
1930
  }[] | undefined;
@@ -2093,14 +2093,14 @@ export declare const UnsignedVPValidator: z.ZodObject<{
2093
2093
  postOfficeBoxNumber?: string | undefined;
2094
2094
  postalCode?: string | undefined;
2095
2095
  geo?: {
2096
- type: [string, ...string[]];
2096
+ type: string | [string, ...string[]];
2097
2097
  latitude: number;
2098
2098
  longitude: number;
2099
2099
  } | undefined;
2100
- type: [string, ...string[]];
2100
+ type: string | [string, ...string[]];
2101
2101
  } | undefined;
2102
2102
  otherIdentifier?: {
2103
- type: [string, ...string[]];
2103
+ type: string | [string, ...string[]];
2104
2104
  identifier: string;
2105
2105
  identifierType: string;
2106
2106
  }[] | undefined;
@@ -2187,14 +2187,14 @@ export declare const UnsignedVPValidator: z.ZodObject<{
2187
2187
  postOfficeBoxNumber?: string | undefined;
2188
2188
  postalCode?: string | undefined;
2189
2189
  geo?: {
2190
- type: [string, ...string[]];
2190
+ type: string | [string, ...string[]];
2191
2191
  latitude: number;
2192
2192
  longitude: number;
2193
2193
  } | undefined;
2194
- type: [string, ...string[]];
2194
+ type: string | [string, ...string[]];
2195
2195
  } | undefined;
2196
2196
  otherIdentifier?: {
2197
- type: [string, ...string[]];
2197
+ type: string | [string, ...string[]];
2198
2198
  identifier: string;
2199
2199
  identifierType: string;
2200
2200
  }[] | undefined;
@@ -2289,14 +2289,14 @@ export declare const UnsignedVPValidator: z.ZodObject<{
2289
2289
  postOfficeBoxNumber?: string | undefined;
2290
2290
  postalCode?: string | undefined;
2291
2291
  geo?: {
2292
- type: [string, ...string[]];
2292
+ type: string | [string, ...string[]];
2293
2293
  latitude: number;
2294
2294
  longitude: number;
2295
2295
  } | undefined;
2296
- type: [string, ...string[]];
2296
+ type: string | [string, ...string[]];
2297
2297
  } | undefined;
2298
2298
  otherIdentifier?: {
2299
- type: [string, ...string[]];
2299
+ type: string | [string, ...string[]];
2300
2300
  identifier: string;
2301
2301
  identifierType: string;
2302
2302
  }[] | undefined;
@@ -2383,14 +2383,14 @@ export declare const UnsignedVPValidator: z.ZodObject<{
2383
2383
  postOfficeBoxNumber?: string | undefined;
2384
2384
  postalCode?: string | undefined;
2385
2385
  geo?: {
2386
- type: [string, ...string[]];
2386
+ type: string | [string, ...string[]];
2387
2387
  latitude: number;
2388
2388
  longitude: number;
2389
2389
  } | undefined;
2390
- type: [string, ...string[]];
2390
+ type: string | [string, ...string[]];
2391
2391
  } | undefined;
2392
2392
  otherIdentifier?: {
2393
- type: [string, ...string[]];
2393
+ type: string | [string, ...string[]];
2394
2394
  identifier: string;
2395
2395
  identifierType: string;
2396
2396
  }[] | undefined;
@@ -2484,14 +2484,14 @@ export declare const UnsignedVPValidator: z.ZodObject<{
2484
2484
  postOfficeBoxNumber?: string | undefined;
2485
2485
  postalCode?: string | undefined;
2486
2486
  geo?: {
2487
- type: [string, ...string[]];
2487
+ type: string | [string, ...string[]];
2488
2488
  latitude: number;
2489
2489
  longitude: number;
2490
2490
  } | undefined;
2491
- type: [string, ...string[]];
2491
+ type: string | [string, ...string[]];
2492
2492
  } | undefined;
2493
2493
  otherIdentifier?: {
2494
- type: [string, ...string[]];
2494
+ type: string | [string, ...string[]];
2495
2495
  identifier: string;
2496
2496
  identifierType: string;
2497
2497
  }[] | undefined;
@@ -2578,14 +2578,14 @@ export declare const UnsignedVPValidator: z.ZodObject<{
2578
2578
  postOfficeBoxNumber?: string | undefined;
2579
2579
  postalCode?: string | undefined;
2580
2580
  geo?: {
2581
- type: [string, ...string[]];
2581
+ type: string | [string, ...string[]];
2582
2582
  latitude: number;
2583
2583
  longitude: number;
2584
2584
  } | undefined;
2585
- type: [string, ...string[]];
2585
+ type: string | [string, ...string[]];
2586
2586
  } | undefined;
2587
2587
  otherIdentifier?: {
2588
- type: [string, ...string[]];
2588
+ type: string | [string, ...string[]];
2589
2589
  identifier: string;
2590
2590
  identifierType: string;
2591
2591
  }[] | undefined;
@@ -2663,7 +2663,7 @@ export declare const VPValidator: z.ZodObject<z.extendShape<{
2663
2663
  }>]>>;
2664
2664
  email: z.ZodOptional<z.ZodString>;
2665
2665
  address: z.ZodOptional<z.ZodObject<{
2666
- type: z.ZodArray<z.ZodString, "atleastone">;
2666
+ type: z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "atleastone">]>;
2667
2667
  addressCountry: z.ZodOptional<z.ZodString>;
2668
2668
  addressCountryCode: z.ZodOptional<z.ZodString>;
2669
2669
  addressRegion: z.ZodOptional<z.ZodString>;
@@ -2672,15 +2672,15 @@ export declare const VPValidator: z.ZodObject<z.extendShape<{
2672
2672
  postOfficeBoxNumber: z.ZodOptional<z.ZodString>;
2673
2673
  postalCode: z.ZodOptional<z.ZodString>;
2674
2674
  geo: z.ZodOptional<z.ZodObject<{
2675
- type: z.ZodArray<z.ZodString, "atleastone">;
2675
+ type: z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "atleastone">]>;
2676
2676
  latitude: z.ZodNumber;
2677
2677
  longitude: z.ZodNumber;
2678
2678
  }, "strip", z.ZodTypeAny, {
2679
- type: [string, ...string[]];
2679
+ type: string | [string, ...string[]];
2680
2680
  latitude: number;
2681
2681
  longitude: number;
2682
2682
  }, {
2683
- type: [string, ...string[]];
2683
+ type: string | [string, ...string[]];
2684
2684
  latitude: number;
2685
2685
  longitude: number;
2686
2686
  }>>;
@@ -2693,11 +2693,11 @@ export declare const VPValidator: z.ZodObject<z.extendShape<{
2693
2693
  postOfficeBoxNumber?: string | undefined;
2694
2694
  postalCode?: string | undefined;
2695
2695
  geo?: {
2696
- type: [string, ...string[]];
2696
+ type: string | [string, ...string[]];
2697
2697
  latitude: number;
2698
2698
  longitude: number;
2699
2699
  } | undefined;
2700
- type: [string, ...string[]];
2700
+ type: string | [string, ...string[]];
2701
2701
  }, {
2702
2702
  addressCountry?: string | undefined;
2703
2703
  addressCountryCode?: string | undefined;
@@ -2707,22 +2707,22 @@ export declare const VPValidator: z.ZodObject<z.extendShape<{
2707
2707
  postOfficeBoxNumber?: string | undefined;
2708
2708
  postalCode?: string | undefined;
2709
2709
  geo?: {
2710
- type: [string, ...string[]];
2710
+ type: string | [string, ...string[]];
2711
2711
  latitude: number;
2712
2712
  longitude: number;
2713
2713
  } | undefined;
2714
- type: [string, ...string[]];
2714
+ type: string | [string, ...string[]];
2715
2715
  }>>;
2716
2716
  otherIdentifier: z.ZodOptional<z.ZodArray<z.ZodObject<{
2717
- type: z.ZodArray<z.ZodString, "atleastone">;
2717
+ type: z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "atleastone">]>;
2718
2718
  identifier: z.ZodString;
2719
2719
  identifierType: z.ZodUnion<[z.ZodEnum<["sourcedId", "systemId", "productId", "userName", "accountId", "emailAddress", "nationalIdentityNumber", "isbn", "issn", "lisSourcedId", "oneRosterSourcedId", "sisSourcedId", "ltiContextId", "ltiDeploymentId", "ltiToolId", "ltiPlatformId", "ltiUserId", "identifier"]>, z.ZodString]>;
2720
2720
  }, "strip", z.ZodTypeAny, {
2721
- type: [string, ...string[]];
2721
+ type: string | [string, ...string[]];
2722
2722
  identifier: string;
2723
2723
  identifierType: string;
2724
2724
  }, {
2725
- type: [string, ...string[]];
2725
+ type: string | [string, ...string[]];
2726
2726
  identifier: string;
2727
2727
  identifierType: string;
2728
2728
  }>, "many">>;
@@ -2760,14 +2760,14 @@ export declare const VPValidator: z.ZodObject<z.extendShape<{
2760
2760
  postOfficeBoxNumber?: string | undefined;
2761
2761
  postalCode?: string | undefined;
2762
2762
  geo?: {
2763
- type: [string, ...string[]];
2763
+ type: string | [string, ...string[]];
2764
2764
  latitude: number;
2765
2765
  longitude: number;
2766
2766
  } | undefined;
2767
- type: [string, ...string[]];
2767
+ type: string | [string, ...string[]];
2768
2768
  } | undefined;
2769
2769
  otherIdentifier?: {
2770
- type: [string, ...string[]];
2770
+ type: string | [string, ...string[]];
2771
2771
  identifier: string;
2772
2772
  identifierType: string;
2773
2773
  }[] | undefined;
@@ -2805,14 +2805,14 @@ export declare const VPValidator: z.ZodObject<z.extendShape<{
2805
2805
  postOfficeBoxNumber?: string | undefined;
2806
2806
  postalCode?: string | undefined;
2807
2807
  geo?: {
2808
- type: [string, ...string[]];
2808
+ type: string | [string, ...string[]];
2809
2809
  latitude: number;
2810
2810
  longitude: number;
2811
2811
  } | undefined;
2812
- type: [string, ...string[]];
2812
+ type: string | [string, ...string[]];
2813
2813
  } | undefined;
2814
2814
  otherIdentifier?: {
2815
- type: [string, ...string[]];
2815
+ type: string | [string, ...string[]];
2816
2816
  identifier: string;
2817
2817
  identifierType: string;
2818
2818
  }[] | undefined;
@@ -2981,14 +2981,14 @@ export declare const VPValidator: z.ZodObject<z.extendShape<{
2981
2981
  postOfficeBoxNumber?: string | undefined;
2982
2982
  postalCode?: string | undefined;
2983
2983
  geo?: {
2984
- type: [string, ...string[]];
2984
+ type: string | [string, ...string[]];
2985
2985
  latitude: number;
2986
2986
  longitude: number;
2987
2987
  } | undefined;
2988
- type: [string, ...string[]];
2988
+ type: string | [string, ...string[]];
2989
2989
  } | undefined;
2990
2990
  otherIdentifier?: {
2991
- type: [string, ...string[]];
2991
+ type: string | [string, ...string[]];
2992
2992
  identifier: string;
2993
2993
  identifierType: string;
2994
2994
  }[] | undefined;
@@ -3075,14 +3075,14 @@ export declare const VPValidator: z.ZodObject<z.extendShape<{
3075
3075
  postOfficeBoxNumber?: string | undefined;
3076
3076
  postalCode?: string | undefined;
3077
3077
  geo?: {
3078
- type: [string, ...string[]];
3078
+ type: string | [string, ...string[]];
3079
3079
  latitude: number;
3080
3080
  longitude: number;
3081
3081
  } | undefined;
3082
- type: [string, ...string[]];
3082
+ type: string | [string, ...string[]];
3083
3083
  } | undefined;
3084
3084
  otherIdentifier?: {
3085
- type: [string, ...string[]];
3085
+ type: string | [string, ...string[]];
3086
3086
  identifier: string;
3087
3087
  identifierType: string;
3088
3088
  }[] | undefined;
@@ -3153,7 +3153,7 @@ export declare const VPValidator: z.ZodObject<z.extendShape<{
3153
3153
  }>]>>;
3154
3154
  email: z.ZodOptional<z.ZodString>;
3155
3155
  address: z.ZodOptional<z.ZodObject<{
3156
- type: z.ZodArray<z.ZodString, "atleastone">;
3156
+ type: z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "atleastone">]>;
3157
3157
  addressCountry: z.ZodOptional<z.ZodString>;
3158
3158
  addressCountryCode: z.ZodOptional<z.ZodString>;
3159
3159
  addressRegion: z.ZodOptional<z.ZodString>;
@@ -3162,15 +3162,15 @@ export declare const VPValidator: z.ZodObject<z.extendShape<{
3162
3162
  postOfficeBoxNumber: z.ZodOptional<z.ZodString>;
3163
3163
  postalCode: z.ZodOptional<z.ZodString>;
3164
3164
  geo: z.ZodOptional<z.ZodObject<{
3165
- type: z.ZodArray<z.ZodString, "atleastone">;
3165
+ type: z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "atleastone">]>;
3166
3166
  latitude: z.ZodNumber;
3167
3167
  longitude: z.ZodNumber;
3168
3168
  }, "strip", z.ZodTypeAny, {
3169
- type: [string, ...string[]];
3169
+ type: string | [string, ...string[]];
3170
3170
  latitude: number;
3171
3171
  longitude: number;
3172
3172
  }, {
3173
- type: [string, ...string[]];
3173
+ type: string | [string, ...string[]];
3174
3174
  latitude: number;
3175
3175
  longitude: number;
3176
3176
  }>>;
@@ -3183,11 +3183,11 @@ export declare const VPValidator: z.ZodObject<z.extendShape<{
3183
3183
  postOfficeBoxNumber?: string | undefined;
3184
3184
  postalCode?: string | undefined;
3185
3185
  geo?: {
3186
- type: [string, ...string[]];
3186
+ type: string | [string, ...string[]];
3187
3187
  latitude: number;
3188
3188
  longitude: number;
3189
3189
  } | undefined;
3190
- type: [string, ...string[]];
3190
+ type: string | [string, ...string[]];
3191
3191
  }, {
3192
3192
  addressCountry?: string | undefined;
3193
3193
  addressCountryCode?: string | undefined;
@@ -3197,22 +3197,22 @@ export declare const VPValidator: z.ZodObject<z.extendShape<{
3197
3197
  postOfficeBoxNumber?: string | undefined;
3198
3198
  postalCode?: string | undefined;
3199
3199
  geo?: {
3200
- type: [string, ...string[]];
3200
+ type: string | [string, ...string[]];
3201
3201
  latitude: number;
3202
3202
  longitude: number;
3203
3203
  } | undefined;
3204
- type: [string, ...string[]];
3204
+ type: string | [string, ...string[]];
3205
3205
  }>>;
3206
3206
  otherIdentifier: z.ZodOptional<z.ZodArray<z.ZodObject<{
3207
- type: z.ZodArray<z.ZodString, "atleastone">;
3207
+ type: z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "atleastone">]>;
3208
3208
  identifier: z.ZodString;
3209
3209
  identifierType: z.ZodUnion<[z.ZodEnum<["sourcedId", "systemId", "productId", "userName", "accountId", "emailAddress", "nationalIdentityNumber", "isbn", "issn", "lisSourcedId", "oneRosterSourcedId", "sisSourcedId", "ltiContextId", "ltiDeploymentId", "ltiToolId", "ltiPlatformId", "ltiUserId", "identifier"]>, z.ZodString]>;
3210
3210
  }, "strip", z.ZodTypeAny, {
3211
- type: [string, ...string[]];
3211
+ type: string | [string, ...string[]];
3212
3212
  identifier: string;
3213
3213
  identifierType: string;
3214
3214
  }, {
3215
- type: [string, ...string[]];
3215
+ type: string | [string, ...string[]];
3216
3216
  identifier: string;
3217
3217
  identifierType: string;
3218
3218
  }>, "many">>;
@@ -3250,14 +3250,14 @@ export declare const VPValidator: z.ZodObject<z.extendShape<{
3250
3250
  postOfficeBoxNumber?: string | undefined;
3251
3251
  postalCode?: string | undefined;
3252
3252
  geo?: {
3253
- type: [string, ...string[]];
3253
+ type: string | [string, ...string[]];
3254
3254
  latitude: number;
3255
3255
  longitude: number;
3256
3256
  } | undefined;
3257
- type: [string, ...string[]];
3257
+ type: string | [string, ...string[]];
3258
3258
  } | undefined;
3259
3259
  otherIdentifier?: {
3260
- type: [string, ...string[]];
3260
+ type: string | [string, ...string[]];
3261
3261
  identifier: string;
3262
3262
  identifierType: string;
3263
3263
  }[] | undefined;
@@ -3295,14 +3295,14 @@ export declare const VPValidator: z.ZodObject<z.extendShape<{
3295
3295
  postOfficeBoxNumber?: string | undefined;
3296
3296
  postalCode?: string | undefined;
3297
3297
  geo?: {
3298
- type: [string, ...string[]];
3298
+ type: string | [string, ...string[]];
3299
3299
  latitude: number;
3300
3300
  longitude: number;
3301
3301
  } | undefined;
3302
- type: [string, ...string[]];
3302
+ type: string | [string, ...string[]];
3303
3303
  } | undefined;
3304
3304
  otherIdentifier?: {
3305
- type: [string, ...string[]];
3305
+ type: string | [string, ...string[]];
3306
3306
  identifier: string;
3307
3307
  identifierType: string;
3308
3308
  }[] | undefined;
@@ -3471,14 +3471,14 @@ export declare const VPValidator: z.ZodObject<z.extendShape<{
3471
3471
  postOfficeBoxNumber?: string | undefined;
3472
3472
  postalCode?: string | undefined;
3473
3473
  geo?: {
3474
- type: [string, ...string[]];
3474
+ type: string | [string, ...string[]];
3475
3475
  latitude: number;
3476
3476
  longitude: number;
3477
3477
  } | undefined;
3478
- type: [string, ...string[]];
3478
+ type: string | [string, ...string[]];
3479
3479
  } | undefined;
3480
3480
  otherIdentifier?: {
3481
- type: [string, ...string[]];
3481
+ type: string | [string, ...string[]];
3482
3482
  identifier: string;
3483
3483
  identifierType: string;
3484
3484
  }[] | undefined;
@@ -3565,14 +3565,14 @@ export declare const VPValidator: z.ZodObject<z.extendShape<{
3565
3565
  postOfficeBoxNumber?: string | undefined;
3566
3566
  postalCode?: string | undefined;
3567
3567
  geo?: {
3568
- type: [string, ...string[]];
3568
+ type: string | [string, ...string[]];
3569
3569
  latitude: number;
3570
3570
  longitude: number;
3571
3571
  } | undefined;
3572
- type: [string, ...string[]];
3572
+ type: string | [string, ...string[]];
3573
3573
  } | undefined;
3574
3574
  otherIdentifier?: {
3575
- type: [string, ...string[]];
3575
+ type: string | [string, ...string[]];
3576
3576
  identifier: string;
3577
3577
  identifierType: string;
3578
3578
  }[] | undefined;
@@ -3748,14 +3748,14 @@ export declare const VPValidator: z.ZodObject<z.extendShape<{
3748
3748
  postOfficeBoxNumber?: string | undefined;
3749
3749
  postalCode?: string | undefined;
3750
3750
  geo?: {
3751
- type: [string, ...string[]];
3751
+ type: string | [string, ...string[]];
3752
3752
  latitude: number;
3753
3753
  longitude: number;
3754
3754
  } | undefined;
3755
- type: [string, ...string[]];
3755
+ type: string | [string, ...string[]];
3756
3756
  } | undefined;
3757
3757
  otherIdentifier?: {
3758
- type: [string, ...string[]];
3758
+ type: string | [string, ...string[]];
3759
3759
  identifier: string;
3760
3760
  identifierType: string;
3761
3761
  }[] | undefined;
@@ -3842,14 +3842,14 @@ export declare const VPValidator: z.ZodObject<z.extendShape<{
3842
3842
  postOfficeBoxNumber?: string | undefined;
3843
3843
  postalCode?: string | undefined;
3844
3844
  geo?: {
3845
- type: [string, ...string[]];
3845
+ type: string | [string, ...string[]];
3846
3846
  latitude: number;
3847
3847
  longitude: number;
3848
3848
  } | undefined;
3849
- type: [string, ...string[]];
3849
+ type: string | [string, ...string[]];
3850
3850
  } | undefined;
3851
3851
  otherIdentifier?: {
3852
- type: [string, ...string[]];
3852
+ type: string | [string, ...string[]];
3853
3853
  identifier: string;
3854
3854
  identifierType: string;
3855
3855
  }[] | undefined;
@@ -3964,14 +3964,14 @@ export declare const VPValidator: z.ZodObject<z.extendShape<{
3964
3964
  postOfficeBoxNumber?: string | undefined;
3965
3965
  postalCode?: string | undefined;
3966
3966
  geo?: {
3967
- type: [string, ...string[]];
3967
+ type: string | [string, ...string[]];
3968
3968
  latitude: number;
3969
3969
  longitude: number;
3970
3970
  } | undefined;
3971
- type: [string, ...string[]];
3971
+ type: string | [string, ...string[]];
3972
3972
  } | undefined;
3973
3973
  otherIdentifier?: {
3974
- type: [string, ...string[]];
3974
+ type: string | [string, ...string[]];
3975
3975
  identifier: string;
3976
3976
  identifierType: string;
3977
3977
  }[] | undefined;
@@ -4058,14 +4058,14 @@ export declare const VPValidator: z.ZodObject<z.extendShape<{
4058
4058
  postOfficeBoxNumber?: string | undefined;
4059
4059
  postalCode?: string | undefined;
4060
4060
  geo?: {
4061
- type: [string, ...string[]];
4061
+ type: string | [string, ...string[]];
4062
4062
  latitude: number;
4063
4063
  longitude: number;
4064
4064
  } | undefined;
4065
- type: [string, ...string[]];
4065
+ type: string | [string, ...string[]];
4066
4066
  } | undefined;
4067
4067
  otherIdentifier?: {
4068
- type: [string, ...string[]];
4068
+ type: string | [string, ...string[]];
4069
4069
  identifier: string;
4070
4070
  identifierType: string;
4071
4071
  }[] | undefined;