@new-project-media/client-frontends-shared-types 2.0.13 → 2.0.14

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.
@@ -0,0 +1,55 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.DataCenterSchema = exports.RegionType = void 0;
4
+ const zod_1 = require("zod");
5
+ const entity_1 = require("./entity");
6
+ var RegionType;
7
+ (function (RegionType) {
8
+ RegionType["Europe"] = "EUROPE";
9
+ RegionType["NA"] = "NA";
10
+ })(RegionType || (exports.RegionType = RegionType = {}));
11
+ exports.DataCenterSchema = zod_1.z.object({
12
+ id: zod_1.z.string(),
13
+ audiences: entity_1.EntityItemArraySchema,
14
+ projectName: zod_1.z.string().min(2),
15
+ substation: entity_1.OptionalStringSchema,
16
+ internalNotes: entity_1.OptionalStringSchema,
17
+ externalNotes: entity_1.OptionalStringSchema,
18
+ geo: zod_1.z.object({
19
+ default: entity_1.OptionalCoordinateSchema,
20
+ defaultValue: entity_1.OptionalStringSchema,
21
+ location: entity_1.OptionalCoordinateSchema,
22
+ facility: entity_1.OptionalCoordinateSchema,
23
+ county: entity_1.OptionalCoordinateSchema,
24
+ }),
25
+ region: zod_1.z.nativeEnum(RegionType),
26
+ powerCapacity: entity_1.OptionalNumberWithUnitAndSectorSchema,
27
+ buildingSize: entity_1.OptionalNumberWithUnitSchema,
28
+ landSize: entity_1.OptionalNumberWithUnitSchema,
29
+ cost: entity_1.OptionalNumberWithUnitSchema,
30
+ backupGeneration: zod_1.z
31
+ .object({
32
+ powerCapacity: entity_1.OptionalNumberWithUnitAndSectorSchema,
33
+ storage: entity_1.OptionalNumberWithUnitSchema,
34
+ })
35
+ .optional(),
36
+ onsiteGeneration: zod_1.z
37
+ .object({
38
+ enabled: zod_1.z.boolean().optional(),
39
+ description: entity_1.OptionalStringSchema,
40
+ powerCapacity: entity_1.OptionalNumberWithUnitAndSectorSchema,
41
+ })
42
+ .optional(),
43
+ totals: entity_1.TotalsSchema,
44
+ regions: entity_1.EntityItemArraySchema,
45
+ plannedOperationalDate: entity_1.YYYYMMDDRegexOptionalSchema,
46
+ organizations: entity_1.OrganizationSchema,
47
+ queueApplications: entity_1.QueueJoinOptionalSchema,
48
+ intel: entity_1.EntityItemArraySchema,
49
+ location: entity_1.LocationItemArraySchema.min(1),
50
+ status: entity_1.EntityItemArraySchema.min(1),
51
+ created: entity_1.YYYYMMDDRegexOptionalSchema,
52
+ createdBy: entity_1.EntityItemArraySchema,
53
+ modified: entity_1.YYYYMMDDRegexOptionalSchema,
54
+ });
55
+ //# sourceMappingURL=dataCenters.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"dataCenters.js","sourceRoot":"","sources":["../../../../../../../packages/client-frontends-shared-types/src/lib/dataGrid/api/dataCenters.ts"],"names":[],"mappings":";;;AAAA,6BAAuB;AACvB,qCAWiB;AAEjB,IAAY,UAGX;AAHD,WAAY,UAAU;IACpB,+BAAiB,CAAA;IACjB,uBAAS,CAAA;AACX,CAAC,EAHW,UAAU,0BAAV,UAAU,QAGrB;AAEY,QAAA,gBAAgB,GAAG,OAAC,CAAC,MAAM,CAAC;IACvC,EAAE,EAAE,OAAC,CAAC,MAAM,EAAE;IACd,SAAS,EAAE,8BAAqB;IAChC,WAAW,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC;IAC9B,UAAU,EAAE,6BAAoB;IAChC,aAAa,EAAE,6BAAoB;IACnC,aAAa,EAAE,6BAAoB;IACnC,GAAG,EAAE,OAAC,CAAC,MAAM,CAAC;QACZ,OAAO,EAAE,iCAAwB;QACjC,YAAY,EAAE,6BAAoB;QAClC,QAAQ,EAAE,iCAAwB;QAClC,QAAQ,EAAE,iCAAwB;QAClC,MAAM,EAAE,iCAAwB;KACjC,CAAC;IACF,MAAM,EAAE,OAAC,CAAC,UAAU,CAAC,UAAU,CAAC;IAChC,aAAa,EAAE,8CAAqC;IACpD,YAAY,EAAE,qCAA4B;IAC1C,QAAQ,EAAE,qCAA4B;IACtC,IAAI,EAAE,qCAA4B;IAClC,gBAAgB,EAAE,OAAC;SAChB,MAAM,CAAC;QACN,aAAa,EAAE,8CAAqC;QACpD,OAAO,EAAE,qCAA4B;KACtC,CAAC;SACD,QAAQ,EAAE;IACb,gBAAgB,EAAE,OAAC;SAChB,MAAM,CAAC;QACN,OAAO,EAAE,OAAC,CAAC,OAAO,EAAE,CAAC,QAAQ,EAAE;QAC/B,WAAW,EAAE,6BAAoB;QACjC,aAAa,EAAE,8CAAqC;KACrD,CAAC;SACD,QAAQ,EAAE;IACb,MAAM,EAAE,qBAAY;IACpB,OAAO,EAAE,8BAAqB;IAC9B,sBAAsB,EAAE,oCAA2B;IACnD,aAAa,EAAE,2BAAkB;IACjC,iBAAiB,EAAE,gCAAuB;IAC1C,KAAK,EAAE,8BAAqB;IAC5B,QAAQ,EAAE,gCAAuB,CAAC,GAAG,CAAC,CAAC,CAAC;IACxC,MAAM,EAAE,8BAAqB,CAAC,GAAG,CAAC,CAAC,CAAC;IACpC,OAAO,EAAE,oCAA2B;IACpC,SAAS,EAAE,8BAAqB;IAChC,QAAQ,EAAE,oCAA2B;CACtC,CAAC,CAAA"}
@@ -76,19 +76,190 @@ export declare const EntityItemArrayOptionalSchema: z.ZodOptional<z.ZodArray<z.Z
76
76
  export type EntityItemArrayOptionalSchemaType = z.infer<typeof EntityItemArrayOptionalSchema>;
77
77
  export declare const OptionalStringSchema: z.ZodOptional<z.ZodString>;
78
78
  export declare const OptionalNumberSchema: z.ZodOptional<z.ZodNumber>;
79
+ export declare const ComponentsSchema: z.ZodObject<{
80
+ 'ISO_3166-1_alpha-2': z.ZodOptional<z.ZodString>;
81
+ 'ISO_3166-1_alpha-3': z.ZodOptional<z.ZodString>;
82
+ 'ISO_3166-2': z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
83
+ _category: z.ZodOptional<z.ZodString>;
84
+ _normalized_city: z.ZodOptional<z.ZodString>;
85
+ _type: z.ZodString;
86
+ city: z.ZodOptional<z.ZodString>;
87
+ continent: z.ZodOptional<z.ZodString>;
88
+ country: z.ZodOptional<z.ZodString>;
89
+ country_code: z.ZodOptional<z.ZodString>;
90
+ state_code: z.ZodOptional<z.ZodString>;
91
+ county: z.ZodOptional<z.ZodString>;
92
+ municipality: z.ZodOptional<z.ZodString>;
93
+ political_union: z.ZodOptional<z.ZodString>;
94
+ state: z.ZodOptional<z.ZodString>;
95
+ state_district: z.ZodOptional<z.ZodString>;
96
+ }, "strip", z.ZodTypeAny, {
97
+ state?: string;
98
+ county?: string;
99
+ 'ISO_3166-1_alpha-2'?: string;
100
+ 'ISO_3166-1_alpha-3'?: string;
101
+ 'ISO_3166-2'?: string[];
102
+ _category?: string;
103
+ _normalized_city?: string;
104
+ _type?: string;
105
+ city?: string;
106
+ continent?: string;
107
+ country?: string;
108
+ country_code?: string;
109
+ state_code?: string;
110
+ municipality?: string;
111
+ political_union?: string;
112
+ state_district?: string;
113
+ }, {
114
+ state?: string;
115
+ county?: string;
116
+ 'ISO_3166-1_alpha-2'?: string;
117
+ 'ISO_3166-1_alpha-3'?: string;
118
+ 'ISO_3166-2'?: string[];
119
+ _category?: string;
120
+ _normalized_city?: string;
121
+ _type?: string;
122
+ city?: string;
123
+ continent?: string;
124
+ country?: string;
125
+ country_code?: string;
126
+ state_code?: string;
127
+ municipality?: string;
128
+ political_union?: string;
129
+ state_district?: string;
130
+ }>;
131
+ export declare const GeometrySchema: z.ZodObject<{
132
+ lat: z.ZodNumber;
133
+ lng: z.ZodNumber;
134
+ }, "strip", z.ZodTypeAny, {
135
+ lat?: number;
136
+ lng?: number;
137
+ }, {
138
+ lat?: number;
139
+ lng?: number;
140
+ }>;
79
141
  export declare const LocationItemSchema: z.ZodObject<{
80
142
  identifier: z.ZodString;
81
143
  id: z.ZodString;
82
144
  } & {
83
145
  isApproximate: z.ZodOptional<z.ZodBoolean>;
146
+ components: z.ZodOptional<z.ZodObject<{
147
+ 'ISO_3166-1_alpha-2': z.ZodOptional<z.ZodString>;
148
+ 'ISO_3166-1_alpha-3': z.ZodOptional<z.ZodString>;
149
+ 'ISO_3166-2': z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
150
+ _category: z.ZodOptional<z.ZodString>;
151
+ _normalized_city: z.ZodOptional<z.ZodString>;
152
+ _type: z.ZodString;
153
+ city: z.ZodOptional<z.ZodString>;
154
+ continent: z.ZodOptional<z.ZodString>;
155
+ country: z.ZodOptional<z.ZodString>;
156
+ country_code: z.ZodOptional<z.ZodString>;
157
+ state_code: z.ZodOptional<z.ZodString>;
158
+ county: z.ZodOptional<z.ZodString>;
159
+ municipality: z.ZodOptional<z.ZodString>;
160
+ political_union: z.ZodOptional<z.ZodString>;
161
+ state: z.ZodOptional<z.ZodString>;
162
+ state_district: z.ZodOptional<z.ZodString>;
163
+ }, "strip", z.ZodTypeAny, {
164
+ state?: string;
165
+ county?: string;
166
+ 'ISO_3166-1_alpha-2'?: string;
167
+ 'ISO_3166-1_alpha-3'?: string;
168
+ 'ISO_3166-2'?: string[];
169
+ _category?: string;
170
+ _normalized_city?: string;
171
+ _type?: string;
172
+ city?: string;
173
+ continent?: string;
174
+ country?: string;
175
+ country_code?: string;
176
+ state_code?: string;
177
+ municipality?: string;
178
+ political_union?: string;
179
+ state_district?: string;
180
+ }, {
181
+ state?: string;
182
+ county?: string;
183
+ 'ISO_3166-1_alpha-2'?: string;
184
+ 'ISO_3166-1_alpha-3'?: string;
185
+ 'ISO_3166-2'?: string[];
186
+ _category?: string;
187
+ _normalized_city?: string;
188
+ _type?: string;
189
+ city?: string;
190
+ continent?: string;
191
+ country?: string;
192
+ country_code?: string;
193
+ state_code?: string;
194
+ municipality?: string;
195
+ political_union?: string;
196
+ state_district?: string;
197
+ }>>;
198
+ geometry: z.ZodOptional<z.ZodObject<{
199
+ lat: z.ZodNumber;
200
+ lng: z.ZodNumber;
201
+ }, "strip", z.ZodTypeAny, {
202
+ lat?: number;
203
+ lng?: number;
204
+ }, {
205
+ lat?: number;
206
+ lng?: number;
207
+ }>>;
208
+ override: z.ZodOptional<z.ZodBoolean>;
84
209
  }, "strip", z.ZodTypeAny, {
85
210
  id?: string;
86
211
  identifier?: string;
87
212
  isApproximate?: boolean;
213
+ components?: {
214
+ state?: string;
215
+ county?: string;
216
+ 'ISO_3166-1_alpha-2'?: string;
217
+ 'ISO_3166-1_alpha-3'?: string;
218
+ 'ISO_3166-2'?: string[];
219
+ _category?: string;
220
+ _normalized_city?: string;
221
+ _type?: string;
222
+ city?: string;
223
+ continent?: string;
224
+ country?: string;
225
+ country_code?: string;
226
+ state_code?: string;
227
+ municipality?: string;
228
+ political_union?: string;
229
+ state_district?: string;
230
+ };
231
+ geometry?: {
232
+ lat?: number;
233
+ lng?: number;
234
+ };
235
+ override?: boolean;
88
236
  }, {
89
237
  id?: string;
90
238
  identifier?: string;
91
239
  isApproximate?: boolean;
240
+ components?: {
241
+ state?: string;
242
+ county?: string;
243
+ 'ISO_3166-1_alpha-2'?: string;
244
+ 'ISO_3166-1_alpha-3'?: string;
245
+ 'ISO_3166-2'?: string[];
246
+ _category?: string;
247
+ _normalized_city?: string;
248
+ _type?: string;
249
+ city?: string;
250
+ continent?: string;
251
+ country?: string;
252
+ country_code?: string;
253
+ state_code?: string;
254
+ municipality?: string;
255
+ political_union?: string;
256
+ state_district?: string;
257
+ };
258
+ geometry?: {
259
+ lat?: number;
260
+ lng?: number;
261
+ };
262
+ override?: boolean;
92
263
  }>;
93
264
  export type LocationItemType = z.infer<typeof LocationItemSchema>;
94
265
  export declare const LocationItemArraySchema: z.ZodArray<z.ZodObject<{
@@ -96,14 +267,123 @@ export declare const LocationItemArraySchema: z.ZodArray<z.ZodObject<{
96
267
  id: z.ZodString;
97
268
  } & {
98
269
  isApproximate: z.ZodOptional<z.ZodBoolean>;
270
+ components: z.ZodOptional<z.ZodObject<{
271
+ 'ISO_3166-1_alpha-2': z.ZodOptional<z.ZodString>;
272
+ 'ISO_3166-1_alpha-3': z.ZodOptional<z.ZodString>;
273
+ 'ISO_3166-2': z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
274
+ _category: z.ZodOptional<z.ZodString>;
275
+ _normalized_city: z.ZodOptional<z.ZodString>;
276
+ _type: z.ZodString;
277
+ city: z.ZodOptional<z.ZodString>;
278
+ continent: z.ZodOptional<z.ZodString>;
279
+ country: z.ZodOptional<z.ZodString>;
280
+ country_code: z.ZodOptional<z.ZodString>;
281
+ state_code: z.ZodOptional<z.ZodString>;
282
+ county: z.ZodOptional<z.ZodString>;
283
+ municipality: z.ZodOptional<z.ZodString>;
284
+ political_union: z.ZodOptional<z.ZodString>;
285
+ state: z.ZodOptional<z.ZodString>;
286
+ state_district: z.ZodOptional<z.ZodString>;
287
+ }, "strip", z.ZodTypeAny, {
288
+ state?: string;
289
+ county?: string;
290
+ 'ISO_3166-1_alpha-2'?: string;
291
+ 'ISO_3166-1_alpha-3'?: string;
292
+ 'ISO_3166-2'?: string[];
293
+ _category?: string;
294
+ _normalized_city?: string;
295
+ _type?: string;
296
+ city?: string;
297
+ continent?: string;
298
+ country?: string;
299
+ country_code?: string;
300
+ state_code?: string;
301
+ municipality?: string;
302
+ political_union?: string;
303
+ state_district?: string;
304
+ }, {
305
+ state?: string;
306
+ county?: string;
307
+ 'ISO_3166-1_alpha-2'?: string;
308
+ 'ISO_3166-1_alpha-3'?: string;
309
+ 'ISO_3166-2'?: string[];
310
+ _category?: string;
311
+ _normalized_city?: string;
312
+ _type?: string;
313
+ city?: string;
314
+ continent?: string;
315
+ country?: string;
316
+ country_code?: string;
317
+ state_code?: string;
318
+ municipality?: string;
319
+ political_union?: string;
320
+ state_district?: string;
321
+ }>>;
322
+ geometry: z.ZodOptional<z.ZodObject<{
323
+ lat: z.ZodNumber;
324
+ lng: z.ZodNumber;
325
+ }, "strip", z.ZodTypeAny, {
326
+ lat?: number;
327
+ lng?: number;
328
+ }, {
329
+ lat?: number;
330
+ lng?: number;
331
+ }>>;
332
+ override: z.ZodOptional<z.ZodBoolean>;
99
333
  }, "strip", z.ZodTypeAny, {
100
334
  id?: string;
101
335
  identifier?: string;
102
336
  isApproximate?: boolean;
337
+ components?: {
338
+ state?: string;
339
+ county?: string;
340
+ 'ISO_3166-1_alpha-2'?: string;
341
+ 'ISO_3166-1_alpha-3'?: string;
342
+ 'ISO_3166-2'?: string[];
343
+ _category?: string;
344
+ _normalized_city?: string;
345
+ _type?: string;
346
+ city?: string;
347
+ continent?: string;
348
+ country?: string;
349
+ country_code?: string;
350
+ state_code?: string;
351
+ municipality?: string;
352
+ political_union?: string;
353
+ state_district?: string;
354
+ };
355
+ geometry?: {
356
+ lat?: number;
357
+ lng?: number;
358
+ };
359
+ override?: boolean;
103
360
  }, {
104
361
  id?: string;
105
362
  identifier?: string;
106
363
  isApproximate?: boolean;
364
+ components?: {
365
+ state?: string;
366
+ county?: string;
367
+ 'ISO_3166-1_alpha-2'?: string;
368
+ 'ISO_3166-1_alpha-3'?: string;
369
+ 'ISO_3166-2'?: string[];
370
+ _category?: string;
371
+ _normalized_city?: string;
372
+ _type?: string;
373
+ city?: string;
374
+ continent?: string;
375
+ country?: string;
376
+ country_code?: string;
377
+ state_code?: string;
378
+ municipality?: string;
379
+ political_union?: string;
380
+ state_district?: string;
381
+ };
382
+ geometry?: {
383
+ lat?: number;
384
+ lng?: number;
385
+ };
386
+ override?: boolean;
107
387
  }>, "many">;
108
388
  export declare const YYYYMMDDRegex: RegExp;
109
389
  export declare const YYYYMMDDRegexSchema: z.ZodEffects<z.ZodString, string, string>;
@@ -220,22 +500,22 @@ export declare const AddressSchema: z.ZodObject<{
220
500
  longitude: z.ZodOptional<z.ZodNumber>;
221
501
  }, "strip", z.ZodTypeAny, {
222
502
  state?: string;
223
- full?: string;
224
503
  city?: string;
504
+ country?: string;
505
+ full?: string;
225
506
  street?: string;
226
507
  street2?: string;
227
508
  zip?: string;
228
- country?: string;
229
509
  latitude?: number;
230
510
  longitude?: number;
231
511
  }, {
232
512
  state?: string;
233
- full?: string;
234
513
  city?: string;
514
+ country?: string;
515
+ full?: string;
235
516
  street?: string;
236
517
  street2?: string;
237
518
  zip?: string;
238
- country?: string;
239
519
  latitude?: number;
240
520
  longitude?: number;
241
521
  }>;
@@ -251,22 +531,22 @@ export declare const OptionalAddressSchema: z.ZodOptional<z.ZodObject<{
251
531
  longitude: z.ZodOptional<z.ZodNumber>;
252
532
  }, "strip", z.ZodTypeAny, {
253
533
  state?: string;
254
- full?: string;
255
534
  city?: string;
535
+ country?: string;
536
+ full?: string;
256
537
  street?: string;
257
538
  street2?: string;
258
539
  zip?: string;
259
- country?: string;
260
540
  latitude?: number;
261
541
  longitude?: number;
262
542
  }, {
263
543
  state?: string;
264
- full?: string;
265
544
  city?: string;
545
+ country?: string;
546
+ full?: string;
266
547
  street?: string;
267
548
  street2?: string;
268
549
  zip?: string;
269
- country?: string;
270
550
  latitude?: number;
271
551
  longitude?: number;
272
552
  }>>;
@@ -564,6 +844,7 @@ export declare const TotalsSchema: z.ZodOptional<z.ZodEffects<z.ZodObject<{
564
844
  puc: z.ZodOptional<z.ZodNumber>;
565
845
  epc: z.ZodOptional<z.ZodNumber>;
566
846
  developer: z.ZodOptional<z.ZodNumber>;
847
+ intels: z.ZodOptional<z.ZodNumber>;
567
848
  }, "strip", z.ZodTypeAny, {
568
849
  keyPeople?: number;
569
850
  offtaker?: number;
@@ -575,6 +856,7 @@ export declare const TotalsSchema: z.ZodOptional<z.ZodEffects<z.ZodObject<{
575
856
  puc?: number;
576
857
  epc?: number;
577
858
  developer?: number;
859
+ intels?: number;
578
860
  }, {
579
861
  keyPeople?: number;
580
862
  offtaker?: number;
@@ -586,6 +868,7 @@ export declare const TotalsSchema: z.ZodOptional<z.ZodEffects<z.ZodObject<{
586
868
  puc?: number;
587
869
  epc?: number;
588
870
  developer?: number;
871
+ intels?: number;
589
872
  }>, {
590
873
  keyPeople?: number;
591
874
  offtaker?: number;
@@ -597,6 +880,7 @@ export declare const TotalsSchema: z.ZodOptional<z.ZodEffects<z.ZodObject<{
597
880
  puc?: number;
598
881
  epc?: number;
599
882
  developer?: number;
883
+ intels?: number;
600
884
  }, {
601
885
  keyPeople?: number;
602
886
  offtaker?: number;
@@ -608,5 +892,44 @@ export declare const TotalsSchema: z.ZodOptional<z.ZodEffects<z.ZodObject<{
608
892
  puc?: number;
609
893
  epc?: number;
610
894
  developer?: number;
895
+ intels?: number;
611
896
  }>>;
612
897
  export declare const FingerprintSchema: z.ZodString;
898
+ export declare const OptionalNumberWithUnitSchema: z.ZodOptional<z.ZodObject<{
899
+ value: z.ZodOptional<z.ZodNumber>;
900
+ unit: z.ZodEnum<["kW", "MW", "GW", "kWh", "MWh", "GWh", "acre", "hectare", "square_foot", "square_metre", "usd", "eur", "gbp"]>;
901
+ }, "strip", z.ZodTypeAny, {
902
+ value?: number;
903
+ unit?: "kW" | "MW" | "GW" | "kWh" | "MWh" | "GWh" | "acre" | "hectare" | "square_foot" | "square_metre" | "usd" | "eur" | "gbp";
904
+ }, {
905
+ value?: number;
906
+ unit?: "kW" | "MW" | "GW" | "kWh" | "MWh" | "GWh" | "acre" | "hectare" | "square_foot" | "square_metre" | "usd" | "eur" | "gbp";
907
+ }>>;
908
+ export declare const OptionalNumberWithUnitAndSectorSchema: z.ZodOptional<z.ZodObject<{
909
+ value: z.ZodOptional<z.ZodNumber>;
910
+ unit: z.ZodEnum<["kW", "MW", "GW", "kWh", "MWh", "GWh", "acre", "hectare", "square_foot", "square_metre", "usd", "eur", "gbp"]>;
911
+ sectors: z.ZodOptional<z.ZodArray<z.ZodOptional<z.ZodObject<{
912
+ identifier: z.ZodString;
913
+ id: z.ZodString;
914
+ }, "strip", z.ZodTypeAny, {
915
+ id?: string;
916
+ identifier?: string;
917
+ }, {
918
+ id?: string;
919
+ identifier?: string;
920
+ }>>, "many">>;
921
+ }, "strip", z.ZodTypeAny, {
922
+ sectors?: {
923
+ id?: string;
924
+ identifier?: string;
925
+ }[];
926
+ value?: number;
927
+ unit?: "kW" | "MW" | "GW" | "kWh" | "MWh" | "GWh" | "acre" | "hectare" | "square_foot" | "square_metre" | "usd" | "eur" | "gbp";
928
+ }, {
929
+ sectors?: {
930
+ id?: string;
931
+ identifier?: string;
932
+ }[];
933
+ value?: number;
934
+ unit?: "kW" | "MW" | "GW" | "kWh" | "MWh" | "GWh" | "acre" | "hectare" | "square_foot" | "square_metre" | "usd" | "eur" | "gbp";
935
+ }>>;
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.FingerprintSchema = exports.TotalsSchema = exports.GeoSchema = exports.geoPoint = exports.defaultValue = exports.DocumentRecordSchema = exports.OptionalDocumentLinkSchema = exports.DocumentLinkSchema = exports.OptionalS3DocumentSchema = exports.DocumentS3RecordSchema = exports.OptionalCoordinateSchema = exports.CoordinateSchema = exports.OptionalAddressSchema = exports.AddressSchema = exports.LinkedPeopleOptionalSchema = exports.LinkedPeopleSchema = exports.QueueJoinOptionalSchema = exports.QueueJoinSchema = exports.ISODateTimeOptionalSchema = exports.ISODateTimeSchema = exports.FlexibleDateRegexOptionalSchema = exports.FlexibleDateRegexSchema = exports.YYYYMMDDRegexOptionalSchema = exports.YYYYMMDDRegexSchema = exports.YYYYMMDDRegex = exports.LocationItemArraySchema = exports.LocationItemSchema = exports.OptionalNumberSchema = exports.OptionalStringSchema = exports.EntityItemArrayOptionalSchema = exports.EntityItemArraySchema = exports.OrganizationSchema = exports.OrganizationItemSchema = exports.IdentifierOnlyEntityItemSchema = exports.EntityItemSchema = void 0;
3
+ exports.OptionalNumberWithUnitAndSectorSchema = exports.OptionalNumberWithUnitSchema = exports.FingerprintSchema = exports.TotalsSchema = exports.GeoSchema = exports.geoPoint = exports.defaultValue = exports.DocumentRecordSchema = exports.OptionalDocumentLinkSchema = exports.DocumentLinkSchema = exports.OptionalS3DocumentSchema = exports.DocumentS3RecordSchema = exports.OptionalCoordinateSchema = exports.CoordinateSchema = exports.OptionalAddressSchema = exports.AddressSchema = exports.LinkedPeopleOptionalSchema = exports.LinkedPeopleSchema = exports.QueueJoinOptionalSchema = exports.QueueJoinSchema = exports.ISODateTimeOptionalSchema = exports.ISODateTimeSchema = exports.FlexibleDateRegexOptionalSchema = exports.FlexibleDateRegexSchema = exports.YYYYMMDDRegexOptionalSchema = exports.YYYYMMDDRegexSchema = exports.YYYYMMDDRegex = exports.LocationItemArraySchema = exports.LocationItemSchema = exports.GeometrySchema = exports.ComponentsSchema = exports.OptionalNumberSchema = exports.OptionalStringSchema = exports.EntityItemArrayOptionalSchema = exports.EntityItemArraySchema = exports.OrganizationSchema = exports.OrganizationItemSchema = exports.IdentifierOnlyEntityItemSchema = exports.EntityItemSchema = void 0;
4
4
  const zod_1 = require("zod");
5
5
  exports.EntityItemSchema = zod_1.z.object({
6
6
  identifier: zod_1.z.string().min(1),
@@ -18,8 +18,33 @@ exports.EntityItemArraySchema = zod_1.z.array(exports.EntityItemSchema);
18
18
  exports.EntityItemArrayOptionalSchema = exports.EntityItemArraySchema.optional();
19
19
  exports.OptionalStringSchema = zod_1.z.string().optional();
20
20
  exports.OptionalNumberSchema = zod_1.z.number().optional();
21
+ exports.ComponentsSchema = zod_1.z.object({
22
+ 'ISO_3166-1_alpha-2': zod_1.z.string().optional(),
23
+ 'ISO_3166-1_alpha-3': zod_1.z.string().optional(),
24
+ 'ISO_3166-2': zod_1.z.array(zod_1.z.string()).optional(),
25
+ _category: zod_1.z.string().optional(),
26
+ _normalized_city: zod_1.z.string().optional(),
27
+ _type: zod_1.z.string(),
28
+ city: zod_1.z.string().optional(),
29
+ continent: zod_1.z.string().optional(),
30
+ country: zod_1.z.string().optional(),
31
+ country_code: zod_1.z.string().optional(),
32
+ state_code: zod_1.z.string().optional(),
33
+ county: zod_1.z.string().optional(),
34
+ municipality: zod_1.z.string().optional(),
35
+ political_union: zod_1.z.string().optional(),
36
+ state: zod_1.z.string().optional(),
37
+ state_district: zod_1.z.string().optional(),
38
+ });
39
+ exports.GeometrySchema = zod_1.z.object({
40
+ lat: zod_1.z.number(),
41
+ lng: zod_1.z.number(),
42
+ });
21
43
  exports.LocationItemSchema = exports.EntityItemSchema.extend({
22
44
  isApproximate: zod_1.z.boolean().optional(),
45
+ components: exports.ComponentsSchema.optional(),
46
+ geometry: exports.GeometrySchema.optional(),
47
+ override: zod_1.z.boolean().optional(),
23
48
  });
24
49
  exports.LocationItemArraySchema = zod_1.z.array(exports.LocationItemSchema);
25
50
  exports.YYYYMMDDRegex = /([12]\d{3}-(0[1-9]|1[0-2])-(0[1-9]|[12]\d|3[01]))/;
@@ -143,6 +168,7 @@ exports.TotalsSchema = zod_1.z
143
168
  puc: zod_1.z.number().optional(),
144
169
  epc: zod_1.z.number().optional(),
145
170
  developer: zod_1.z.number().optional(),
171
+ intels: zod_1.z.number().optional(),
146
172
  })
147
173
  .refine((obj) => Object.keys(obj).length > 0, {
148
174
  message: 'At least one property must be present if totals object exists',
@@ -153,4 +179,32 @@ exports.FingerprintSchema = zod_1.z
153
179
  .string()
154
180
  .regex(base64Regex, 'Invalid Base64 string')
155
181
  .min(1, 'Fingerprint cannot be empty');
182
+ const UnitEnum = zod_1.z.enum([
183
+ 'kW',
184
+ 'MW',
185
+ 'GW',
186
+ 'kWh',
187
+ 'MWh',
188
+ 'GWh',
189
+ 'acre',
190
+ 'hectare',
191
+ 'square_foot',
192
+ 'square_metre',
193
+ 'usd',
194
+ 'eur',
195
+ 'gbp',
196
+ ]);
197
+ const NumberWithUnitSchema = zod_1.z.object({
198
+ value: zod_1.z.number().optional(),
199
+ unit: UnitEnum,
200
+ });
201
+ exports.OptionalNumberWithUnitSchema = NumberWithUnitSchema.optional();
202
+ const NumberWithUnitAndSectorSchema = zod_1.z.object({
203
+ value: zod_1.z.number().optional(),
204
+ unit: UnitEnum,
205
+ sectors: zod_1.z
206
+ .array(zod_1.z.object({ identifier: zod_1.z.string(), id: zod_1.z.string() }).optional())
207
+ .optional(),
208
+ });
209
+ exports.OptionalNumberWithUnitAndSectorSchema = NumberWithUnitAndSectorSchema.optional();
156
210
  //# sourceMappingURL=entity.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"entity.js","sourceRoot":"","sources":["../../../../../../../packages/client-frontends-shared-types/src/lib/dataGrid/api/entity.ts"],"names":[],"mappings":";;;AAAA,6BAAiC;AAEpB,QAAA,gBAAgB,GAAG,OAAC,CAAC,MAAM,CAAC;IACvC,UAAU,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC;IAC7B,EAAE,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC;CACtB,CAAC,CAAA;AAEW,QAAA,8BAA8B,GAAG,OAAC,CAAC,MAAM,CAAC;IACrD,UAAU,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC;CAC9B,CAAC,CAAA;AAEW,QAAA,sBAAsB,GAAG,wBAAgB,CAAC,MAAM,CAAC;IAC5D,IAAI,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC;IACvB,GAAG,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;CAC3B,CAAC,CAAA;AAIW,QAAA,kBAAkB,GAAG,OAAC,CAAC,KAAK,CAAC,8BAAsB,CAAC,CAAC,QAAQ,EAAE,CAAA;AAG/D,QAAA,qBAAqB,GAAG,OAAC,CAAC,KAAK,CAAC,wBAAgB,CAAC,CAAA;AAGjD,QAAA,6BAA6B,GAAG,6BAAqB,CAAC,QAAQ,EAAE,CAAA;AAKhE,QAAA,oBAAoB,GAAG,OAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE,CAAA;AAC5C,QAAA,oBAAoB,GAAG,OAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE,CAAA;AAE5C,QAAA,kBAAkB,GAAG,wBAAgB,CAAC,MAAM,CAAC;IACxD,aAAa,EAAE,OAAC,CAAC,OAAO,EAAE,CAAC,QAAQ,EAAE;C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