@new-project-media/client-frontends-shared-types 2.0.30 → 2.1.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -2,112 +2,52 @@ import { z } from 'zod';
2
2
  export declare const EntityItemSchema: z.ZodObject<{
3
3
  identifier: z.ZodString;
4
4
  id: z.ZodString;
5
- }, "strip", z.ZodTypeAny, {
6
- id?: string;
7
- identifier?: string;
8
- }, {
9
- id?: string;
10
- identifier?: string;
11
- }>;
5
+ }, z.core.$strip>;
12
6
  export declare const IdentifierOnlyEntityItemSchema: z.ZodObject<{
13
7
  identifier: z.ZodString;
14
- }, "strip", z.ZodTypeAny, {
15
- identifier?: string;
16
- }, {
17
- identifier?: string;
18
- }>;
8
+ }, z.core.$strip>;
19
9
  export declare const OrganizationItemSchema: z.ZodObject<{
20
10
  identifier: z.ZodString;
21
11
  id: z.ZodString;
22
- } & {
23
12
  role: z.ZodString;
24
13
  ref: z.ZodOptional<z.ZodString>;
25
- }, "strip", z.ZodTypeAny, {
26
- id?: string;
27
- identifier?: string;
28
- role?: string;
29
- ref?: string;
30
- }, {
31
- id?: string;
32
- identifier?: string;
33
- role?: string;
34
- ref?: string;
35
- }>;
14
+ }, z.core.$strip>;
36
15
  export declare const EntityItemSourceSchema: z.ZodObject<{
37
16
  source: z.ZodOptional<z.ZodString>;
38
17
  identifier: z.ZodString;
39
18
  id: z.ZodString;
40
- }, "strip", z.ZodTypeAny, {
41
- id?: string;
42
- identifier?: string;
43
- source?: string;
44
- }, {
45
- id?: string;
46
- identifier?: string;
47
- source?: string;
48
- }>;
19
+ }, z.core.$strip>;
49
20
  export type OrganizationItemType = z.infer<typeof OrganizationItemSchema>;
50
21
  export declare const OrganizationSchema: z.ZodOptional<z.ZodArray<z.ZodObject<{
51
22
  identifier: z.ZodString;
52
23
  id: z.ZodString;
53
- } & {
54
24
  role: z.ZodString;
55
25
  ref: z.ZodOptional<z.ZodString>;
56
- }, "strip", z.ZodTypeAny, {
57
- id?: string;
58
- identifier?: string;
59
- role?: string;
60
- ref?: string;
61
- }, {
62
- id?: string;
63
- identifier?: string;
64
- role?: string;
65
- ref?: string;
66
- }>, "many">>;
26
+ }, z.core.$strip>>>;
67
27
  export type OrganizationType = z.infer<typeof OrganizationSchema>;
68
28
  export declare const EntityItemArraySchema: z.ZodArray<z.ZodObject<{
69
29
  identifier: z.ZodString;
70
30
  id: z.ZodString;
71
- }, "strip", z.ZodTypeAny, {
72
- id?: string;
73
- identifier?: string;
74
- }, {
75
- id?: string;
76
- identifier?: string;
77
- }>, "many">;
31
+ }, z.core.$strip>>;
78
32
  export type EntityItemArrayType = z.infer<typeof EntityItemArraySchema>;
79
33
  export declare const EntityItemSourceArraySchema: z.ZodArray<z.ZodObject<{
80
34
  source: z.ZodOptional<z.ZodString>;
81
35
  identifier: z.ZodString;
82
36
  id: z.ZodString;
83
- }, "strip", z.ZodTypeAny, {
84
- id?: string;
85
- identifier?: string;
86
- source?: string;
87
- }, {
88
- id?: string;
89
- identifier?: string;
90
- source?: string;
91
- }>, "many">;
37
+ }, z.core.$strip>>;
92
38
  export type EntityItemSourceArrayType = z.infer<typeof EntityItemSourceArraySchema>;
93
39
  export declare const EntityItemArrayOptionalSchema: z.ZodOptional<z.ZodArray<z.ZodObject<{
94
40
  identifier: z.ZodString;
95
41
  id: z.ZodString;
96
- }, "strip", z.ZodTypeAny, {
97
- id?: string;
98
- identifier?: string;
99
- }, {
100
- id?: string;
101
- identifier?: string;
102
- }>, "many">>;
42
+ }, z.core.$strip>>>;
103
43
  export type EntityItemArrayOptionalSchemaType = z.infer<typeof EntityItemArrayOptionalSchema>;
104
44
  export declare const OptionalStringSchema: z.ZodOptional<z.ZodString>;
105
45
  export declare const OptionalNumberSchema: z.ZodOptional<z.ZodNumber>;
106
- export declare const OptionalStringArraySchema: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
46
+ export declare const OptionalStringArraySchema: z.ZodOptional<z.ZodArray<z.ZodString>>;
107
47
  export declare const ComponentsSchema: z.ZodObject<{
108
48
  'ISO_3166-1_alpha-2': z.ZodOptional<z.ZodString>;
109
49
  'ISO_3166-1_alpha-3': z.ZodOptional<z.ZodString>;
110
- 'ISO_3166-2': z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
50
+ 'ISO_3166-2': z.ZodOptional<z.ZodArray<z.ZodString>>;
111
51
  _category: z.ZodOptional<z.ZodString>;
112
52
  _normalized_city: z.ZodOptional<z.ZodString>;
113
53
  _type: z.ZodString;
@@ -121,60 +61,19 @@ export declare const ComponentsSchema: z.ZodObject<{
121
61
  political_union: z.ZodOptional<z.ZodString>;
122
62
  state: z.ZodOptional<z.ZodString>;
123
63
  state_district: z.ZodOptional<z.ZodString>;
124
- }, "strip", z.ZodTypeAny, {
125
- state?: string;
126
- county?: string;
127
- 'ISO_3166-1_alpha-2'?: string;
128
- 'ISO_3166-1_alpha-3'?: string;
129
- 'ISO_3166-2'?: string[];
130
- _category?: string;
131
- _normalized_city?: string;
132
- _type?: string;
133
- city?: string;
134
- continent?: string;
135
- country?: string;
136
- country_code?: string;
137
- state_code?: string;
138
- municipality?: string;
139
- political_union?: string;
140
- state_district?: string;
141
- }, {
142
- state?: string;
143
- county?: string;
144
- 'ISO_3166-1_alpha-2'?: string;
145
- 'ISO_3166-1_alpha-3'?: string;
146
- 'ISO_3166-2'?: string[];
147
- _category?: string;
148
- _normalized_city?: string;
149
- _type?: string;
150
- city?: string;
151
- continent?: string;
152
- country?: string;
153
- country_code?: string;
154
- state_code?: string;
155
- municipality?: string;
156
- political_union?: string;
157
- state_district?: string;
158
- }>;
64
+ }, z.core.$strip>;
159
65
  export declare const GeometrySchema: z.ZodObject<{
160
66
  lat: z.ZodNumber;
161
67
  lng: z.ZodNumber;
162
- }, "strip", z.ZodTypeAny, {
163
- lat?: number;
164
- lng?: number;
165
- }, {
166
- lat?: number;
167
- lng?: number;
168
- }>;
68
+ }, z.core.$strip>;
169
69
  export declare const LocationItemSchema: z.ZodObject<{
170
70
  identifier: z.ZodString;
171
71
  id: z.ZodString;
172
- } & {
173
72
  isApproximate: z.ZodOptional<z.ZodBoolean>;
174
73
  components: z.ZodOptional<z.ZodObject<{
175
74
  'ISO_3166-1_alpha-2': z.ZodOptional<z.ZodString>;
176
75
  'ISO_3166-1_alpha-3': z.ZodOptional<z.ZodString>;
177
- 'ISO_3166-2': z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
76
+ 'ISO_3166-2': z.ZodOptional<z.ZodArray<z.ZodString>>;
178
77
  _category: z.ZodOptional<z.ZodString>;
179
78
  _normalized_city: z.ZodOptional<z.ZodString>;
180
79
  _type: z.ZodString;
@@ -188,117 +87,22 @@ export declare const LocationItemSchema: z.ZodObject<{
188
87
  political_union: z.ZodOptional<z.ZodString>;
189
88
  state: z.ZodOptional<z.ZodString>;
190
89
  state_district: z.ZodOptional<z.ZodString>;
191
- }, "strip", z.ZodTypeAny, {
192
- state?: string;
193
- county?: string;
194
- 'ISO_3166-1_alpha-2'?: string;
195
- 'ISO_3166-1_alpha-3'?: string;
196
- 'ISO_3166-2'?: string[];
197
- _category?: string;
198
- _normalized_city?: string;
199
- _type?: string;
200
- city?: string;
201
- continent?: string;
202
- country?: string;
203
- country_code?: string;
204
- state_code?: string;
205
- municipality?: string;
206
- political_union?: string;
207
- state_district?: string;
208
- }, {
209
- state?: string;
210
- county?: string;
211
- 'ISO_3166-1_alpha-2'?: string;
212
- 'ISO_3166-1_alpha-3'?: string;
213
- 'ISO_3166-2'?: string[];
214
- _category?: string;
215
- _normalized_city?: string;
216
- _type?: string;
217
- city?: string;
218
- continent?: string;
219
- country?: string;
220
- country_code?: string;
221
- state_code?: string;
222
- municipality?: string;
223
- political_union?: string;
224
- state_district?: string;
225
- }>>;
90
+ }, z.core.$strip>>;
226
91
  geometry: z.ZodOptional<z.ZodObject<{
227
92
  lat: z.ZodNumber;
228
93
  lng: z.ZodNumber;
229
- }, "strip", z.ZodTypeAny, {
230
- lat?: number;
231
- lng?: number;
232
- }, {
233
- lat?: number;
234
- lng?: number;
235
- }>>;
94
+ }, z.core.$strip>>;
236
95
  override: z.ZodOptional<z.ZodBoolean>;
237
- }, "strip", z.ZodTypeAny, {
238
- id?: string;
239
- identifier?: string;
240
- isApproximate?: boolean;
241
- components?: {
242
- state?: string;
243
- county?: string;
244
- 'ISO_3166-1_alpha-2'?: string;
245
- 'ISO_3166-1_alpha-3'?: string;
246
- 'ISO_3166-2'?: string[];
247
- _category?: string;
248
- _normalized_city?: string;
249
- _type?: string;
250
- city?: string;
251
- continent?: string;
252
- country?: string;
253
- country_code?: string;
254
- state_code?: string;
255
- municipality?: string;
256
- political_union?: string;
257
- state_district?: string;
258
- };
259
- geometry?: {
260
- lat?: number;
261
- lng?: number;
262
- };
263
- override?: boolean;
264
- }, {
265
- id?: string;
266
- identifier?: string;
267
- isApproximate?: boolean;
268
- components?: {
269
- state?: string;
270
- county?: string;
271
- 'ISO_3166-1_alpha-2'?: string;
272
- 'ISO_3166-1_alpha-3'?: string;
273
- 'ISO_3166-2'?: string[];
274
- _category?: string;
275
- _normalized_city?: string;
276
- _type?: string;
277
- city?: string;
278
- continent?: string;
279
- country?: string;
280
- country_code?: string;
281
- state_code?: string;
282
- municipality?: string;
283
- political_union?: string;
284
- state_district?: string;
285
- };
286
- geometry?: {
287
- lat?: number;
288
- lng?: number;
289
- };
290
- override?: boolean;
291
- }>;
96
+ }, z.core.$strip>;
292
97
  export type LocationItemType = z.infer<typeof LocationItemSchema>;
293
98
  export declare const LocationItemArraySchema: z.ZodArray<z.ZodObject<{
294
99
  identifier: z.ZodString;
295
100
  id: z.ZodString;
296
- } & {
297
101
  isApproximate: z.ZodOptional<z.ZodBoolean>;
298
102
  components: z.ZodOptional<z.ZodObject<{
299
103
  'ISO_3166-1_alpha-2': z.ZodOptional<z.ZodString>;
300
104
  'ISO_3166-1_alpha-3': z.ZodOptional<z.ZodString>;
301
- 'ISO_3166-2': z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
105
+ 'ISO_3166-2': z.ZodOptional<z.ZodArray<z.ZodString>>;
302
106
  _category: z.ZodOptional<z.ZodString>;
303
107
  _normalized_city: z.ZodOptional<z.ZodString>;
304
108
  _type: z.ZodString;
@@ -312,152 +116,34 @@ export declare const LocationItemArraySchema: z.ZodArray<z.ZodObject<{
312
116
  political_union: z.ZodOptional<z.ZodString>;
313
117
  state: z.ZodOptional<z.ZodString>;
314
118
  state_district: z.ZodOptional<z.ZodString>;
315
- }, "strip", z.ZodTypeAny, {
316
- state?: string;
317
- county?: string;
318
- 'ISO_3166-1_alpha-2'?: string;
319
- 'ISO_3166-1_alpha-3'?: string;
320
- 'ISO_3166-2'?: string[];
321
- _category?: string;
322
- _normalized_city?: string;
323
- _type?: string;
324
- city?: string;
325
- continent?: string;
326
- country?: string;
327
- country_code?: string;
328
- state_code?: string;
329
- municipality?: string;
330
- political_union?: string;
331
- state_district?: string;
332
- }, {
333
- state?: string;
334
- county?: string;
335
- 'ISO_3166-1_alpha-2'?: string;
336
- 'ISO_3166-1_alpha-3'?: string;
337
- 'ISO_3166-2'?: string[];
338
- _category?: string;
339
- _normalized_city?: string;
340
- _type?: string;
341
- city?: string;
342
- continent?: string;
343
- country?: string;
344
- country_code?: string;
345
- state_code?: string;
346
- municipality?: string;
347
- political_union?: string;
348
- state_district?: string;
349
- }>>;
119
+ }, z.core.$strip>>;
350
120
  geometry: z.ZodOptional<z.ZodObject<{
351
121
  lat: z.ZodNumber;
352
122
  lng: z.ZodNumber;
353
- }, "strip", z.ZodTypeAny, {
354
- lat?: number;
355
- lng?: number;
356
- }, {
357
- lat?: number;
358
- lng?: number;
359
- }>>;
123
+ }, z.core.$strip>>;
360
124
  override: z.ZodOptional<z.ZodBoolean>;
361
- }, "strip", z.ZodTypeAny, {
362
- id?: string;
363
- identifier?: string;
364
- isApproximate?: boolean;
365
- components?: {
366
- state?: string;
367
- county?: string;
368
- 'ISO_3166-1_alpha-2'?: string;
369
- 'ISO_3166-1_alpha-3'?: string;
370
- 'ISO_3166-2'?: string[];
371
- _category?: string;
372
- _normalized_city?: string;
373
- _type?: string;
374
- city?: string;
375
- continent?: string;
376
- country?: string;
377
- country_code?: string;
378
- state_code?: string;
379
- municipality?: string;
380
- political_union?: string;
381
- state_district?: string;
382
- };
383
- geometry?: {
384
- lat?: number;
385
- lng?: number;
386
- };
387
- override?: boolean;
388
- }, {
389
- id?: string;
390
- identifier?: string;
391
- isApproximate?: boolean;
392
- components?: {
393
- state?: string;
394
- county?: string;
395
- 'ISO_3166-1_alpha-2'?: string;
396
- 'ISO_3166-1_alpha-3'?: string;
397
- 'ISO_3166-2'?: string[];
398
- _category?: string;
399
- _normalized_city?: string;
400
- _type?: string;
401
- city?: string;
402
- continent?: string;
403
- country?: string;
404
- country_code?: string;
405
- state_code?: string;
406
- municipality?: string;
407
- political_union?: string;
408
- state_district?: string;
409
- };
410
- geometry?: {
411
- lat?: number;
412
- lng?: number;
413
- };
414
- override?: boolean;
415
- }>, "many">;
125
+ }, z.core.$strip>>;
416
126
  export declare const YYYYMMDDRegex: RegExp;
417
- export declare const YYYYMMDDRegexSchema: z.ZodEffects<z.ZodString, string, string>;
418
- export declare const YYYYMMDDRegexOptionalSchema: z.ZodNullable<z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>>;
419
- export declare const FlexibleDateRegexSchema: z.ZodEffects<z.ZodString, string, string>;
420
- export declare const FlexibleDateRegexOptionalSchema: z.ZodNullable<z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>>;
421
- export declare const ISODateTimeSchema: z.ZodUnion<[z.ZodString, z.ZodString, z.ZodEffects<z.ZodString, string, string>]>;
422
- export declare const ISODateTimeOptionalSchema: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodString, z.ZodEffects<z.ZodString, string, string>]>>;
127
+ export declare const YYYYMMDDRegexSchema: z.ZodString;
128
+ export declare const YYYYMMDDRegexOptionalSchema: z.ZodNullable<z.ZodOptional<z.ZodString>>;
129
+ export declare const FlexibleDateRegexSchema: z.ZodString;
130
+ export declare const FlexibleDateRegexOptionalSchema: z.ZodNullable<z.ZodOptional<z.ZodString>>;
131
+ export declare const ISODateTimeSchema: z.ZodUnion<readonly [z.ZodString, z.ZodString, z.ZodString]>;
132
+ export declare const ISODateTimeOptionalSchema: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodString, z.ZodString]>>;
423
133
  export declare const QueueJoinSchema: z.ZodArray<z.ZodObject<{
424
134
  queueKey: z.ZodOptional<z.ZodString>;
425
135
  applicationId: z.ZodOptional<z.ZodString>;
426
136
  queueDataset: z.ZodOptional<z.ZodString>;
427
137
  id: z.ZodString;
428
138
  identifier: z.ZodString;
429
- }, "strip", z.ZodTypeAny, {
430
- id?: string;
431
- identifier?: string;
432
- queueKey?: string;
433
- applicationId?: string;
434
- queueDataset?: string;
435
- }, {
436
- id?: string;
437
- identifier?: string;
438
- queueKey?: string;
439
- applicationId?: string;
440
- queueDataset?: string;
441
- }>, "many">;
139
+ }, z.core.$strip>>;
442
140
  export declare const QueueJoinOptionalSchema: z.ZodOptional<z.ZodArray<z.ZodObject<{
443
141
  queueKey: z.ZodOptional<z.ZodString>;
444
142
  applicationId: z.ZodOptional<z.ZodString>;
445
143
  queueDataset: z.ZodOptional<z.ZodString>;
446
144
  id: z.ZodString;
447
145
  identifier: z.ZodString;
448
- }, "strip", z.ZodTypeAny, {
449
- id?: string;
450
- identifier?: string;
451
- queueKey?: string;
452
- applicationId?: string;
453
- queueDataset?: string;
454
- }, {
455
- id?: string;
456
- identifier?: string;
457
- queueKey?: string;
458
- applicationId?: string;
459
- queueDataset?: string;
460
- }>, "many">>;
146
+ }, z.core.$strip>>>;
461
147
  export type QueueJoinOptionalSchemaType = z.infer<typeof QueueJoinOptionalSchema>;
462
148
  export declare const LinkedPeopleSchema: z.ZodArray<z.ZodObject<{
463
149
  id: z.ZodOptional<z.ZodString>;
@@ -468,25 +154,7 @@ export declare const LinkedPeopleSchema: z.ZodArray<z.ZodObject<{
468
154
  email: z.ZodOptional<z.ZodString>;
469
155
  phone: z.ZodOptional<z.ZodString>;
470
156
  source: z.ZodOptional<z.ZodString>;
471
- }, "strip", z.ZodTypeAny, {
472
- id?: string;
473
- identifier?: string;
474
- role?: string;
475
- source?: string;
476
- linkedinUrl?: string;
477
- fullName?: string;
478
- email?: string;
479
- phone?: string;
480
- }, {
481
- id?: string;
482
- identifier?: string;
483
- role?: string;
484
- source?: string;
485
- linkedinUrl?: string;
486
- fullName?: string;
487
- email?: string;
488
- phone?: string;
489
- }>, "many">;
157
+ }, z.core.$strip>>;
490
158
  export declare const LinkedPeopleOptionalSchema: z.ZodOptional<z.ZodArray<z.ZodObject<{
491
159
  id: z.ZodOptional<z.ZodString>;
492
160
  identifier: z.ZodOptional<z.ZodString>;
@@ -496,25 +164,7 @@ export declare const LinkedPeopleOptionalSchema: z.ZodOptional<z.ZodArray<z.ZodO
496
164
  email: z.ZodOptional<z.ZodString>;
497
165
  phone: z.ZodOptional<z.ZodString>;
498
166
  source: z.ZodOptional<z.ZodString>;
499
- }, "strip", z.ZodTypeAny, {
500
- id?: string;
501
- identifier?: string;
502
- role?: string;
503
- source?: string;
504
- linkedinUrl?: string;
505
- fullName?: string;
506
- email?: string;
507
- phone?: string;
508
- }, {
509
- id?: string;
510
- identifier?: string;
511
- role?: string;
512
- source?: string;
513
- linkedinUrl?: string;
514
- fullName?: string;
515
- email?: string;
516
- phone?: string;
517
- }>, "many">>;
167
+ }, z.core.$strip>>>;
518
168
  export type LinkedPeopleOptionalSchemaType = z.infer<typeof LinkedPeopleOptionalSchema>;
519
169
  export declare const AddressSchema: z.ZodObject<{
520
170
  full: z.ZodOptional<z.ZodString>;
@@ -526,27 +176,7 @@ export declare const AddressSchema: z.ZodObject<{
526
176
  country: z.ZodOptional<z.ZodString>;
527
177
  latitude: z.ZodOptional<z.ZodNumber>;
528
178
  longitude: z.ZodOptional<z.ZodNumber>;
529
- }, "strip", z.ZodTypeAny, {
530
- state?: string;
531
- city?: string;
532
- country?: string;
533
- full?: string;
534
- street?: string;
535
- street2?: string;
536
- zip?: string;
537
- latitude?: number;
538
- longitude?: number;
539
- }, {
540
- state?: string;
541
- city?: string;
542
- country?: string;
543
- full?: string;
544
- street?: string;
545
- street2?: string;
546
- zip?: string;
547
- latitude?: number;
548
- longitude?: number;
549
- }>;
179
+ }, z.core.$strip>;
550
180
  export declare const OptionalAddressSchema: z.ZodOptional<z.ZodObject<{
551
181
  full: z.ZodOptional<z.ZodString>;
552
182
  city: z.ZodOptional<z.ZodString>;
@@ -557,311 +187,144 @@ export declare const OptionalAddressSchema: z.ZodOptional<z.ZodObject<{
557
187
  country: z.ZodOptional<z.ZodString>;
558
188
  latitude: z.ZodOptional<z.ZodNumber>;
559
189
  longitude: z.ZodOptional<z.ZodNumber>;
560
- }, "strip", z.ZodTypeAny, {
561
- state?: string;
562
- city?: string;
563
- country?: string;
564
- full?: string;
565
- street?: string;
566
- street2?: string;
567
- zip?: string;
568
- latitude?: number;
569
- longitude?: number;
570
- }, {
571
- state?: string;
572
- city?: string;
573
- country?: string;
574
- full?: string;
575
- street?: string;
576
- street2?: string;
577
- zip?: string;
578
- latitude?: number;
579
- longitude?: number;
580
- }>>;
190
+ }, z.core.$strip>>;
581
191
  export type OptionalAddressType = z.infer<typeof OptionalAddressSchema>;
582
192
  export declare const CoordinateSchema: z.ZodObject<{
583
193
  lat: z.ZodNumber;
584
194
  lon: z.ZodNumber;
585
- }, "strip", z.ZodTypeAny, {
586
- lat?: number;
587
- lon?: number;
588
- }, {
589
- lat?: number;
590
- lon?: number;
591
- }>;
195
+ }, z.core.$strip>;
592
196
  export declare const OptionalCoordinateSchema: z.ZodOptional<z.ZodObject<{
593
197
  lat: z.ZodNumber;
594
198
  lon: z.ZodNumber;
595
- }, "strip", z.ZodTypeAny, {
596
- lat?: number;
597
- lon?: number;
598
- }, {
599
- lat?: number;
600
- lon?: number;
601
- }>>;
199
+ }, z.core.$strip>>;
200
+ export declare const DocumentS3ItemSchema: z.ZodObject<{
201
+ filename: z.ZodString;
202
+ created: z.ZodString;
203
+ document_id: z.ZodString;
204
+ mimetype: z.ZodString;
205
+ scanResultStatus: z.ZodOptional<z.ZodString>;
206
+ type: z.ZodOptional<z.ZodArray<z.ZodString>>;
207
+ key: z.ZodOptional<z.ZodString>;
208
+ userName: z.ZodOptional<z.ZodString>;
209
+ }, z.core.$strip>;
602
210
  export declare const DocumentS3RecordSchema: z.ZodArray<z.ZodObject<{
603
211
  filename: z.ZodString;
604
- created: z.ZodEffects<z.ZodString, string, string>;
212
+ created: z.ZodString;
605
213
  document_id: z.ZodString;
606
214
  mimetype: z.ZodString;
607
215
  scanResultStatus: z.ZodOptional<z.ZodString>;
608
- type: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
216
+ type: z.ZodOptional<z.ZodArray<z.ZodString>>;
609
217
  key: z.ZodOptional<z.ZodString>;
610
218
  userName: z.ZodOptional<z.ZodString>;
611
- }, "strip", z.ZodTypeAny, {
612
- type?: string[];
613
- key?: string;
614
- filename?: string;
615
- created?: string;
616
- document_id?: string;
617
- mimetype?: string;
618
- scanResultStatus?: string;
619
- userName?: string;
620
- }, {
621
- type?: string[];
622
- key?: string;
623
- filename?: string;
624
- created?: string;
625
- document_id?: string;
626
- mimetype?: string;
627
- scanResultStatus?: string;
628
- userName?: string;
629
- }>, "many">;
219
+ }, z.core.$strip>>;
630
220
  export declare const OptionalS3DocumentSchema: z.ZodOptional<z.ZodArray<z.ZodObject<{
631
221
  filename: z.ZodString;
632
- created: z.ZodEffects<z.ZodString, string, string>;
222
+ created: z.ZodString;
633
223
  document_id: z.ZodString;
634
224
  mimetype: z.ZodString;
635
225
  scanResultStatus: z.ZodOptional<z.ZodString>;
636
- type: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
226
+ type: z.ZodOptional<z.ZodArray<z.ZodString>>;
637
227
  key: z.ZodOptional<z.ZodString>;
638
228
  userName: z.ZodOptional<z.ZodString>;
639
- }, "strip", z.ZodTypeAny, {
640
- type?: string[];
641
- key?: string;
642
- filename?: string;
643
- created?: string;
644
- document_id?: string;
645
- mimetype?: string;
646
- scanResultStatus?: string;
647
- userName?: string;
648
- }, {
649
- type?: string[];
650
- key?: string;
651
- filename?: string;
652
- created?: string;
653
- document_id?: string;
654
- mimetype?: string;
655
- scanResultStatus?: string;
656
- userName?: string;
657
- }>, "many">>;
229
+ }, z.core.$strip>>>;
658
230
  export type OptionalS3DocumentType = z.infer<typeof OptionalS3DocumentSchema>;
231
+ export declare const DocumentLinkItemSchema: z.ZodObject<{
232
+ file: z.ZodOptional<z.ZodString>;
233
+ url: z.ZodString;
234
+ created: z.ZodOptional<z.ZodString>;
235
+ type: z.ZodArray<z.ZodString>;
236
+ scanResultStatus: z.ZodOptional<z.ZodString>;
237
+ documentDate: z.ZodString;
238
+ source: z.ZodOptional<z.ZodString>;
239
+ id: z.ZodOptional<z.ZodString>;
240
+ }, z.core.$strip>;
659
241
  export declare const DocumentLinkSchema: z.ZodArray<z.ZodObject<{
660
242
  file: z.ZodOptional<z.ZodString>;
661
243
  url: z.ZodString;
662
244
  created: z.ZodOptional<z.ZodString>;
663
- type: z.ZodArray<z.ZodString, "many">;
245
+ type: z.ZodArray<z.ZodString>;
664
246
  scanResultStatus: z.ZodOptional<z.ZodString>;
665
- documentDate: z.ZodEffects<z.ZodString, string, string>;
247
+ documentDate: z.ZodString;
666
248
  source: z.ZodOptional<z.ZodString>;
667
249
  id: z.ZodOptional<z.ZodString>;
668
- }, "strip", z.ZodTypeAny, {
669
- type?: string[];
670
- id?: string;
671
- source?: string;
672
- created?: string;
673
- scanResultStatus?: string;
674
- file?: string;
675
- url?: string;
676
- documentDate?: string;
677
- }, {
678
- type?: string[];
679
- id?: string;
680
- source?: string;
681
- created?: string;
682
- scanResultStatus?: string;
683
- file?: string;
684
- url?: string;
685
- documentDate?: string;
686
- }>, "many">;
250
+ }, z.core.$strip>>;
687
251
  export declare const OptionalDocumentLinkSchema: z.ZodOptional<z.ZodArray<z.ZodObject<{
688
252
  file: z.ZodOptional<z.ZodString>;
689
253
  url: z.ZodString;
690
254
  created: z.ZodOptional<z.ZodString>;
691
- type: z.ZodArray<z.ZodString, "many">;
255
+ type: z.ZodArray<z.ZodString>;
692
256
  scanResultStatus: z.ZodOptional<z.ZodString>;
693
- documentDate: z.ZodEffects<z.ZodString, string, string>;
257
+ documentDate: z.ZodString;
694
258
  source: z.ZodOptional<z.ZodString>;
695
259
  id: z.ZodOptional<z.ZodString>;
696
- }, "strip", z.ZodTypeAny, {
697
- type?: string[];
698
- id?: string;
699
- source?: string;
700
- created?: string;
701
- scanResultStatus?: string;
702
- file?: string;
703
- url?: string;
704
- documentDate?: string;
705
- }, {
706
- type?: string[];
707
- id?: string;
708
- source?: string;
709
- created?: string;
710
- scanResultStatus?: string;
711
- file?: string;
712
- url?: string;
713
- documentDate?: string;
714
- }>, "many">>;
260
+ }, z.core.$strip>>>;
715
261
  export type OptionalDocumentLinkType = z.infer<typeof OptionalDocumentLinkSchema>;
716
- export declare const DocumentRecordSchema: z.ZodOptional<z.ZodUnion<[z.ZodArray<z.ZodObject<{
262
+ export declare const DocumentItemSchema: z.ZodUnion<readonly [z.ZodObject<{
717
263
  filename: z.ZodString;
718
- created: z.ZodEffects<z.ZodString, string, string>;
264
+ created: z.ZodString;
719
265
  document_id: z.ZodString;
720
266
  mimetype: z.ZodString;
721
267
  scanResultStatus: z.ZodOptional<z.ZodString>;
722
- type: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
268
+ type: z.ZodOptional<z.ZodArray<z.ZodString>>;
723
269
  key: z.ZodOptional<z.ZodString>;
724
270
  userName: z.ZodOptional<z.ZodString>;
725
- }, "strip", z.ZodTypeAny, {
726
- type?: string[];
727
- key?: string;
728
- filename?: string;
729
- created?: string;
730
- document_id?: string;
731
- mimetype?: string;
732
- scanResultStatus?: string;
733
- userName?: string;
734
- }, {
735
- type?: string[];
736
- key?: string;
737
- filename?: string;
738
- created?: string;
739
- document_id?: string;
740
- mimetype?: string;
741
- scanResultStatus?: string;
742
- userName?: string;
743
- }>, "many">, z.ZodArray<z.ZodObject<{
271
+ }, z.core.$strip>, z.ZodObject<{
744
272
  file: z.ZodOptional<z.ZodString>;
745
273
  url: z.ZodString;
746
274
  created: z.ZodOptional<z.ZodString>;
747
- type: z.ZodArray<z.ZodString, "many">;
275
+ type: z.ZodArray<z.ZodString>;
748
276
  scanResultStatus: z.ZodOptional<z.ZodString>;
749
- documentDate: z.ZodEffects<z.ZodString, string, string>;
277
+ documentDate: z.ZodString;
750
278
  source: z.ZodOptional<z.ZodString>;
751
279
  id: z.ZodOptional<z.ZodString>;
752
- }, "strip", z.ZodTypeAny, {
753
- type?: string[];
754
- id?: string;
755
- source?: string;
756
- created?: string;
757
- scanResultStatus?: string;
758
- file?: string;
759
- url?: string;
760
- documentDate?: string;
761
- }, {
762
- type?: string[];
763
- id?: string;
764
- source?: string;
765
- created?: string;
766
- scanResultStatus?: string;
767
- file?: string;
768
- url?: string;
769
- documentDate?: string;
770
- }>, "many">]>>;
280
+ }, z.core.$strip>]>;
281
+ export declare const DocumentRecordSchema: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
282
+ filename: z.ZodString;
283
+ created: z.ZodString;
284
+ document_id: z.ZodString;
285
+ mimetype: z.ZodString;
286
+ scanResultStatus: z.ZodOptional<z.ZodString>;
287
+ type: z.ZodOptional<z.ZodArray<z.ZodString>>;
288
+ key: z.ZodOptional<z.ZodString>;
289
+ userName: z.ZodOptional<z.ZodString>;
290
+ }, z.core.$strip>, z.ZodObject<{
291
+ file: z.ZodOptional<z.ZodString>;
292
+ url: z.ZodString;
293
+ created: z.ZodOptional<z.ZodString>;
294
+ type: z.ZodArray<z.ZodString>;
295
+ scanResultStatus: z.ZodOptional<z.ZodString>;
296
+ documentDate: z.ZodString;
297
+ source: z.ZodOptional<z.ZodString>;
298
+ id: z.ZodOptional<z.ZodString>;
299
+ }, z.core.$strip>]>>>;
771
300
  export type DocumentRecordType = z.infer<typeof DocumentRecordSchema>;
772
301
  export type DocumentS3RecordType = z.infer<typeof DocumentS3RecordSchema>[number];
773
302
  export declare const defaultValue: z.ZodString;
774
303
  export declare const geoPoint: z.ZodObject<{
775
304
  lon: z.ZodNumber;
776
305
  lat: z.ZodNumber;
777
- }, "strip", z.ZodTypeAny, {
778
- lat?: number;
779
- lon?: number;
780
- }, {
781
- lat?: number;
782
- lon?: number;
783
- }>;
306
+ }, z.core.$strip>;
784
307
  export declare const GeoSchema: z.ZodObject<{
785
308
  defaultValue: z.ZodOptional<z.ZodString>;
786
309
  default: z.ZodOptional<z.ZodObject<{
787
310
  lon: z.ZodNumber;
788
311
  lat: z.ZodNumber;
789
- }, "strip", z.ZodTypeAny, {
790
- lat?: number;
791
- lon?: number;
792
- }, {
793
- lat?: number;
794
- lon?: number;
795
- }>>;
312
+ }, z.core.$strip>>;
796
313
  project: z.ZodOptional<z.ZodObject<{
797
314
  lon: z.ZodNumber;
798
315
  lat: z.ZodNumber;
799
- }, "strip", z.ZodTypeAny, {
800
- lat?: number;
801
- lon?: number;
802
- }, {
803
- lat?: number;
804
- lon?: number;
805
- }>>;
316
+ }, z.core.$strip>>;
806
317
  county: z.ZodOptional<z.ZodObject<{
807
318
  lon: z.ZodNumber;
808
319
  lat: z.ZodNumber;
809
- }, "strip", z.ZodTypeAny, {
810
- lat?: number;
811
- lon?: number;
812
- }, {
813
- lat?: number;
814
- lon?: number;
815
- }>>;
320
+ }, z.core.$strip>>;
816
321
  facility: z.ZodOptional<z.ZodObject<{
817
322
  lon: z.ZodNumber;
818
323
  lat: z.ZodNumber;
819
- }, "strip", z.ZodTypeAny, {
820
- lat?: number;
821
- lon?: number;
822
- }, {
823
- lat?: number;
824
- lon?: number;
825
- }>>;
826
- }, "strip", z.ZodTypeAny, {
827
- county?: {
828
- lat?: number;
829
- lon?: number;
830
- };
831
- defaultValue?: string;
832
- default?: {
833
- lat?: number;
834
- lon?: number;
835
- };
836
- project?: {
837
- lat?: number;
838
- lon?: number;
839
- };
840
- facility?: {
841
- lat?: number;
842
- lon?: number;
843
- };
844
- }, {
845
- county?: {
846
- lat?: number;
847
- lon?: number;
848
- };
849
- defaultValue?: string;
850
- default?: {
851
- lat?: number;
852
- lon?: number;
853
- };
854
- project?: {
855
- lat?: number;
856
- lon?: number;
857
- };
858
- facility?: {
859
- lat?: number;
860
- lon?: number;
861
- };
862
- }>;
324
+ }, z.core.$strip>>;
325
+ }, z.core.$strip>;
863
326
  export type GeoType = z.infer<typeof GeoSchema>;
864
- export declare const TotalsSchema: z.ZodOptional<z.ZodEffects<z.ZodObject<{
327
+ export declare const TotalsSchema: z.ZodOptional<z.ZodObject<{
865
328
  offtaker: z.ZodOptional<z.ZodNumber>;
866
329
  projects: z.ZodOptional<z.ZodNumber>;
867
330
  keyPeople: z.ZodOptional<z.ZodNumber>;
@@ -874,164 +337,108 @@ export declare const TotalsSchema: z.ZodOptional<z.ZodEffects<z.ZodObject<{
874
337
  developer: z.ZodOptional<z.ZodNumber>;
875
338
  intels: z.ZodOptional<z.ZodNumber>;
876
339
  signals: z.ZodOptional<z.ZodNumber>;
877
- }, "strip", z.ZodTypeAny, {
878
- keyPeople?: number;
879
- offtaker?: number;
880
- projects?: number;
881
- documents?: number;
882
- organizations?: number;
883
- queueApplications?: number;
884
- utility?: number;
885
- puc?: number;
886
- epc?: number;
887
- developer?: number;
888
- intels?: number;
889
- signals?: number;
890
- }, {
891
- keyPeople?: number;
892
- offtaker?: number;
893
- projects?: number;
894
- documents?: number;
895
- organizations?: number;
896
- queueApplications?: number;
897
- utility?: number;
898
- puc?: number;
899
- epc?: number;
900
- developer?: number;
901
- intels?: number;
902
- signals?: number;
903
- }>, {
904
- keyPeople?: number;
905
- offtaker?: number;
906
- projects?: number;
907
- documents?: number;
908
- organizations?: number;
909
- queueApplications?: number;
910
- utility?: number;
911
- puc?: number;
912
- epc?: number;
913
- developer?: number;
914
- intels?: number;
915
- signals?: number;
916
- }, {
917
- keyPeople?: number;
918
- offtaker?: number;
919
- projects?: number;
920
- documents?: number;
921
- organizations?: number;
922
- queueApplications?: number;
923
- utility?: number;
924
- puc?: number;
925
- epc?: number;
926
- developer?: number;
927
- intels?: number;
928
- signals?: number;
929
- }>>;
340
+ }, z.core.$strip>>;
930
341
  export declare const FingerprintSchema: z.ZodString;
931
- export declare const UnitEnum: z.ZodEnum<["kW", "MW", "GW", "kWh", "MWh", "GWh", "acre", "hectare", "square_foot", "square_metre", "usd", "eur", "gbp"]>;
342
+ export declare const UnitEnum: z.ZodEnum<{
343
+ kW: "kW";
344
+ MW: "MW";
345
+ GW: "GW";
346
+ kWh: "kWh";
347
+ MWh: "MWh";
348
+ GWh: "GWh";
349
+ acre: "acre";
350
+ hectare: "hectare";
351
+ square_foot: "square_foot";
352
+ square_metre: "square_metre";
353
+ usd: "usd";
354
+ eur: "eur";
355
+ gbp: "gbp";
356
+ }>;
932
357
  export declare const NumberWithUnitSchema: z.ZodObject<{
933
358
  value: z.ZodOptional<z.ZodNumber>;
934
- unit: z.ZodEnum<["kW", "MW", "GW", "kWh", "MWh", "GWh", "acre", "hectare", "square_foot", "square_metre", "usd", "eur", "gbp"]>;
935
- }, "strip", z.ZodTypeAny, {
936
- value?: number;
937
- unit?: "kW" | "MW" | "GW" | "kWh" | "MWh" | "GWh" | "acre" | "hectare" | "square_foot" | "square_metre" | "usd" | "eur" | "gbp";
938
- }, {
939
- value?: number;
940
- unit?: "kW" | "MW" | "GW" | "kWh" | "MWh" | "GWh" | "acre" | "hectare" | "square_foot" | "square_metre" | "usd" | "eur" | "gbp";
941
- }>;
359
+ unit: z.ZodEnum<{
360
+ kW: "kW";
361
+ MW: "MW";
362
+ GW: "GW";
363
+ kWh: "kWh";
364
+ MWh: "MWh";
365
+ GWh: "GWh";
366
+ acre: "acre";
367
+ hectare: "hectare";
368
+ square_foot: "square_foot";
369
+ square_metre: "square_metre";
370
+ usd: "usd";
371
+ eur: "eur";
372
+ gbp: "gbp";
373
+ }>;
374
+ }, z.core.$strip>;
942
375
  export declare const OptionalNumberWithUnitSchema: z.ZodOptional<z.ZodObject<{
943
376
  value: z.ZodOptional<z.ZodNumber>;
944
- unit: z.ZodEnum<["kW", "MW", "GW", "kWh", "MWh", "GWh", "acre", "hectare", "square_foot", "square_metre", "usd", "eur", "gbp"]>;
945
- }, "strip", z.ZodTypeAny, {
946
- value?: number;
947
- unit?: "kW" | "MW" | "GW" | "kWh" | "MWh" | "GWh" | "acre" | "hectare" | "square_foot" | "square_metre" | "usd" | "eur" | "gbp";
948
- }, {
949
- value?: number;
950
- unit?: "kW" | "MW" | "GW" | "kWh" | "MWh" | "GWh" | "acre" | "hectare" | "square_foot" | "square_metre" | "usd" | "eur" | "gbp";
951
- }>>;
377
+ unit: z.ZodEnum<{
378
+ kW: "kW";
379
+ MW: "MW";
380
+ GW: "GW";
381
+ kWh: "kWh";
382
+ MWh: "MWh";
383
+ GWh: "GWh";
384
+ acre: "acre";
385
+ hectare: "hectare";
386
+ square_foot: "square_foot";
387
+ square_metre: "square_metre";
388
+ usd: "usd";
389
+ eur: "eur";
390
+ gbp: "gbp";
391
+ }>;
392
+ }, z.core.$strip>>;
952
393
  export type OptionalNumberWithUnit = z.infer<typeof OptionalNumberWithUnitSchema>;
953
394
  export declare const OptionalNumberWithUnitAndSectorSchema: z.ZodOptional<z.ZodObject<{
954
395
  value: z.ZodOptional<z.ZodNumber>;
955
- unit: z.ZodEnum<["kW", "MW", "GW", "kWh", "MWh", "GWh", "acre", "hectare", "square_foot", "square_metre", "usd", "eur", "gbp"]>;
396
+ unit: z.ZodEnum<{
397
+ kW: "kW";
398
+ MW: "MW";
399
+ GW: "GW";
400
+ kWh: "kWh";
401
+ MWh: "MWh";
402
+ GWh: "GWh";
403
+ acre: "acre";
404
+ hectare: "hectare";
405
+ square_foot: "square_foot";
406
+ square_metre: "square_metre";
407
+ usd: "usd";
408
+ eur: "eur";
409
+ gbp: "gbp";
410
+ }>;
956
411
  sectors: z.ZodOptional<z.ZodArray<z.ZodOptional<z.ZodObject<{
957
412
  identifier: z.ZodString;
958
413
  id: z.ZodString;
959
- }, "strip", z.ZodTypeAny, {
960
- id?: string;
961
- identifier?: string;
962
- }, {
963
- id?: string;
964
- identifier?: string;
965
- }>>, "many">>;
966
- }, "strip", z.ZodTypeAny, {
967
- sectors?: {
968
- id?: string;
969
- identifier?: string;
970
- }[];
971
- value?: number;
972
- unit?: "kW" | "MW" | "GW" | "kWh" | "MWh" | "GWh" | "acre" | "hectare" | "square_foot" | "square_metre" | "usd" | "eur" | "gbp";
973
- }, {
974
- sectors?: {
975
- id?: string;
976
- identifier?: string;
977
- }[];
978
- value?: number;
979
- unit?: "kW" | "MW" | "GW" | "kWh" | "MWh" | "GWh" | "acre" | "hectare" | "square_foot" | "square_metre" | "usd" | "eur" | "gbp";
980
- }>>;
414
+ }, z.core.$strip>>>>;
415
+ }, z.core.$strip>>;
981
416
  export declare const OnsiteGenerationSchema: z.ZodObject<{
982
417
  enabled: z.ZodOptional<z.ZodBoolean>;
983
418
  description: z.ZodOptional<z.ZodString>;
984
419
  powerCapacity: z.ZodOptional<z.ZodObject<{
985
420
  value: z.ZodOptional<z.ZodNumber>;
986
- unit: z.ZodEnum<["kW", "MW", "GW", "kWh", "MWh", "GWh", "acre", "hectare", "square_foot", "square_metre", "usd", "eur", "gbp"]>;
421
+ unit: z.ZodEnum<{
422
+ kW: "kW";
423
+ MW: "MW";
424
+ GW: "GW";
425
+ kWh: "kWh";
426
+ MWh: "MWh";
427
+ GWh: "GWh";
428
+ acre: "acre";
429
+ hectare: "hectare";
430
+ square_foot: "square_foot";
431
+ square_metre: "square_metre";
432
+ usd: "usd";
433
+ eur: "eur";
434
+ gbp: "gbp";
435
+ }>;
987
436
  sectors: z.ZodOptional<z.ZodArray<z.ZodOptional<z.ZodObject<{
988
437
  identifier: z.ZodString;
989
438
  id: z.ZodString;
990
- }, "strip", z.ZodTypeAny, {
991
- id?: string;
992
- identifier?: string;
993
- }, {
994
- id?: string;
995
- identifier?: string;
996
- }>>, "many">>;
997
- }, "strip", z.ZodTypeAny, {
998
- sectors?: {
999
- id?: string;
1000
- identifier?: string;
1001
- }[];
1002
- value?: number;
1003
- unit?: "kW" | "MW" | "GW" | "kWh" | "MWh" | "GWh" | "acre" | "hectare" | "square_foot" | "square_metre" | "usd" | "eur" | "gbp";
1004
- }, {
1005
- sectors?: {
1006
- id?: string;
1007
- identifier?: string;
1008
- }[];
1009
- value?: number;
1010
- unit?: "kW" | "MW" | "GW" | "kWh" | "MWh" | "GWh" | "acre" | "hectare" | "square_foot" | "square_metre" | "usd" | "eur" | "gbp";
1011
- }>>;
1012
- }, "strip", z.ZodTypeAny, {
1013
- enabled?: boolean;
1014
- description?: string;
1015
- powerCapacity?: {
1016
- sectors?: {
1017
- id?: string;
1018
- identifier?: string;
1019
- }[];
1020
- value?: number;
1021
- unit?: "kW" | "MW" | "GW" | "kWh" | "MWh" | "GWh" | "acre" | "hectare" | "square_foot" | "square_metre" | "usd" | "eur" | "gbp";
1022
- };
1023
- }, {
1024
- enabled?: boolean;
1025
- description?: string;
1026
- powerCapacity?: {
1027
- sectors?: {
1028
- id?: string;
1029
- identifier?: string;
1030
- }[];
1031
- value?: number;
1032
- unit?: "kW" | "MW" | "GW" | "kWh" | "MWh" | "GWh" | "acre" | "hectare" | "square_foot" | "square_metre" | "usd" | "eur" | "gbp";
1033
- };
1034
- }>;
439
+ }, z.core.$strip>>>>;
440
+ }, z.core.$strip>>;
441
+ }, z.core.$strip>;
1035
442
  export declare enum SectorSources {
1036
443
  onsiteGeneration = "Onsite Generation",
1037
444
  backupGeneration = "Backup Generation",