@new-project-media/client-frontends-shared-types 3.3.27 → 3.4.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,20 +1,18 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.DataCenterSchema = exports.keyPeopleSchema = exports.documentSchema = exports.signalsSchema = exports.signalTypeSchema = exports.signalSubTypeSchema = exports.signalDocumentSchema = exports.SizeFieldsEnum = exports.RegionLabel = exports.RegionType = void 0;
3
+ exports.dataCenterByLocationListSchemaV1 = exports.dataCenterAPISchemaV1 = exports.dataCenterExportSchemaV1 = exports.dataCenterDetailsSchemaV1 = exports.dataCenterListSchemaV1 = exports.baseDataCenterSchemaV1 = exports.keyPeopleSchema = exports.documentSchema = exports.signalsSchema = exports.signalTypeSchema = exports.signalSubTypeSchema = exports.signalDocumentSchema = exports.SizeFieldsEnum = exports.SizeUnitEnum = exports.PowerUnitEnum = void 0;
4
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.RegionLabel = {
12
- [RegionType.Europe]: 'Europe',
13
- [RegionType.NA]: 'North America',
14
- };
5
+ const entity_1 = require("../entity");
6
+ exports.PowerUnitEnum = entity_1.UnitEnum.extract(['MW', 'MWh', 'kW', 'kWh']);
7
+ exports.SizeUnitEnum = entity_1.UnitEnum.extract([
8
+ 'square_foot',
9
+ 'square_metre',
10
+ 'acre',
11
+ 'hectare',
12
+ ]);
15
13
  const BasePowerFieldSchema = zod_1.z.object({
16
14
  value: zod_1.z.number(),
17
- unit: entity_1.UnitEnum,
15
+ unit: exports.PowerUnitEnum,
18
16
  });
19
17
  const PowerWithStorageSchema = BasePowerFieldSchema.extend({
20
18
  identifier: zod_1.z.enum(['onsiteGeneration', 'backupGeneration']),
@@ -120,20 +118,19 @@ const intelItemSchema = zod_1.z.object({
120
118
  audiences: zod_1.z.array(audienceSchema),
121
119
  id: zod_1.z.string(),
122
120
  });
123
- exports.DataCenterSchema = zod_1.z.object({
121
+ // Base schema
122
+ exports.baseDataCenterSchemaV1 = zod_1.z.object({
123
+ id: zod_1.z.string(),
124
+ });
125
+ // List schema (same as full schema for now, but structured for future extension)
126
+ exports.dataCenterListSchemaV1 = exports.baseDataCenterSchemaV1
127
+ .extend({
124
128
  $organizations: zod_1.z.string().optional(),
125
129
  '#developers': entity_1.OptionalStringArraySchema,
126
130
  '#epcs': entity_1.OptionalStringArraySchema,
127
131
  '#utilities': entity_1.OptionalStringArraySchema,
128
132
  allSectors: entity_1.OptionalStringSchema,
129
133
  audiences: entity_1.EntityItemArraySchema,
130
- backupGeneration: zod_1.z
131
- .object({
132
- powerCapacity: entity_1.OptionalNumberWithUnitAndSectorSchema,
133
- storage: entity_1.OptionalNumberWithUnitSchema,
134
- })
135
- .optional(),
136
- buildingSize: entity_1.OptionalNumberWithUnitSchema,
137
134
  cost: entity_1.OptionalNumberWithUnitSchema,
138
135
  country: entity_1.OptionalStringSchema,
139
136
  created: entity_1.YYYYMMDDRegexOptionalSchema,
@@ -146,10 +143,8 @@ exports.DataCenterSchema = zod_1.z.object({
146
143
  facility: entity_1.OptionalCoordinateSchema,
147
144
  county: entity_1.OptionalCoordinateSchema,
148
145
  }),
149
- id: zod_1.z.string(),
150
- intel: zod_1.z.array(intelItemSchema),
146
+ intel: zod_1.z.array(intelItemSchema).optional(),
151
147
  internalNotes: entity_1.OptionalStringSchema,
152
- landSize: entity_1.OptionalNumberWithUnitSchema,
153
148
  localCity: entity_1.OptionalStringSchema,
154
149
  localCounty: entity_1.OptionalStringSchema,
155
150
  localState: entity_1.OptionalStringSchema,
@@ -159,10 +154,8 @@ exports.DataCenterSchema = zod_1.z.object({
159
154
  organizations: entity_1.OrganizationSchema,
160
155
  plannedOperationalDate: entity_1.YYYYMMDDRegexOptionalSchema,
161
156
  powerFields: zod_1.z.array(PowerFieldSchema).optional(),
162
- powerCapacity: entity_1.OptionalNumberWithUnitAndSectorSchema,
163
157
  projectName: zod_1.z.string().min(2),
164
158
  queueApplications: entity_1.QueueJoinOptionalSchema,
165
- region: zod_1.z.nativeEnum(RegionType),
166
159
  regions: entity_1.EntityItemArraySchema,
167
160
  sectors: entity_1.EntityItemSourceArraySchema.optional(),
168
161
  showProject: zod_1.z.boolean(),
@@ -174,5 +167,17 @@ exports.DataCenterSchema = zod_1.z.object({
174
167
  signals: zod_1.z.array(exports.signalsSchema).optional(),
175
168
  documents: zod_1.z.array(exports.documentSchema).optional(),
176
169
  keyPeople: zod_1.z.array(exports.keyPeopleSchema).optional(),
177
- });
178
- //# sourceMappingURL=dataCenters.js.map
170
+ })
171
+ .strict();
172
+ // Details schema (same as list for now)
173
+ exports.dataCenterDetailsSchemaV1 = exports.dataCenterListSchemaV1;
174
+ // Export schema (same as list for now)
175
+ exports.dataCenterExportSchemaV1 = exports.dataCenterListSchemaV1;
176
+ // API schema (same as details but without createdBy or internalNotes)
177
+ exports.dataCenterAPISchemaV1 = exports.dataCenterDetailsSchemaV1.omit({
178
+ createdBy: true,
179
+ internalNotes: true,
180
+ });
181
+ // By-location schema (same as list for now)
182
+ exports.dataCenterByLocationListSchemaV1 = exports.dataCenterListSchemaV1;
183
+ //# sourceMappingURL=v1.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"v1.js","sourceRoot":"","sources":["../../../../../../../../packages/client-frontends-shared-types/src/lib/dataGrid/api/dataCenters/v1.ts"],"names":[],"mappings":";;;AAAA,6BAAuB;AACvB,sCAckB;AAEL,QAAA,aAAa,GAAG,iBAAQ,CAAC,OAAO,CAAC,CAAC,IAAI,EAAE,KAAK,EAAE,IAAI,EAAE,KAAK,CAAC,CAAC,CAAA;AAE5D,QAAA,YAAY,GAAG,iBAAQ,CAAC,OAAO,CAAC;IAC3C,aAAa;IACb,cAAc;IACd,MAAM;IACN,SAA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E,gCAAuB;IAE1C,OAAO,EAAE,8BAAqB;IAC9B,OAAO,EAAE,oCAA2B,CAAC,QAAQ,EAAE;IAC/C,WAAW,EAAE,OAAC,CAAC,OAAO,EAAE;IACxB,UAAU,EAAE,gBAAgB,CAAC,QAAQ,EAAE;IACvC,MAAM,EAAE,8BAAqB,CAAC,GAAG,CAAC,CAAC,CAAC;IACpC,UAAU,EAAE,6BAAoB;IAChC,OAAO,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IAC9B,MAAM,EAAE,qBAAY;IACpB,OAAO,EAAE,OAAC,CAAC,KAAK,CAAC,qBAAa,CAAC,CAAC,QAAQ,EAAE;IAC1C,SAAS,EAAE,OAAC,CAAC,KAAK,CAAC,sBAAc,CAAC,CAAC,QAAQ,EAAE;IAC7C,SAAS,EAAE,OAAC,CAAC,KAAK,CAAC,uBAAe,CAAC,CAAC,QAAQ,EAAE;CAC/C,CAAC;KACD,MAAM,EAAE,CAAA;AAEX,wCAAwC;AAC3B,QAAA,yBAAyB,GAAG,8BAAsB,CAAA;AAE/D,uCAAuC;AAC1B,QAAA,wBAAwB,GAAG,8BAAsB,CAAA;AAE9D,sEAAsE;AACzD,QAAA,qBAAqB,GAAG,iCAAyB,CAAC,IAAI,CAAC;IAClE,SAAS,EAAE,IAAI;IACf,aAAa,EAAE,IAAI;CACpB,CAAC,CAAA;AAEF,4CAA4C;AAC/B,QAAA,gCAAgC,GAAG,8BAAsB,CAAA"}
@@ -1,8 +1,8 @@
1
1
  import { InfiniteData, QueryObserverResult, UseInfiniteQueryResult, UseQueryResult } from '@tanstack/react-query';
2
2
  import { StaticRange } from 'react-date-range';
3
3
  import { RegionMode } from '@npm-client-frontends/shared-constants';
4
- import { ClientApiListRequestQueryParams, ClientApiListResponse, DataCenter, QueueListType, SignalListType } from './api';
5
- export type Entity = SignalListType | QueueListType | DataCenter;
4
+ import { ClientApiListRequestQueryParams, ClientApiListResponse, DataCenterListType, QueueListType, SignalListType } from './api';
5
+ export type Entity = SignalListType | QueueListType | DataCenterListType;
6
6
  export type InfiniteQueryHook = (queryParams: ClientApiListRequestQueryParams, isEnabled?: boolean, customFilters?: ClientApiListRequestQueryParams['filters']) => UseInfiniteQueryResult<InfiniteData<ClientApiListResponse<Entity>, unknown>, Error>;
7
7
  export type ReportQueryClient = (queryParams: ClientApiListRequestQueryParams, selectedRegionMode: RegionMode | null, customFilters?: ClientApiListRequestQueryParams['filters']) => Promise<ClientApiListResponse<Entity>>;
8
8
  export type CenterpointQueryHook = (queryParams: ClientApiListRequestQueryParams, isEnabled?: boolean, customFilters?: ClientApiListRequestQueryParams['filters']) => UseQueryResult<ClientApiListResponse<Entity>, Error>;
@@ -1,550 +0,0 @@
1
- import { z } from 'zod';
2
- export declare enum RegionType {
3
- Europe = "EUROPE",
4
- NA = "NA"
5
- }
6
- export declare const RegionLabel: {
7
- readonly EUROPE: "Europe";
8
- readonly NA: "North America";
9
- };
10
- declare const PowerWithStorageSchema: z.ZodObject<{
11
- value: z.ZodNumber;
12
- unit: z.ZodEnum<{
13
- kW: "kW";
14
- MW: "MW";
15
- GW: "GW";
16
- kWh: "kWh";
17
- MWh: "MWh";
18
- GWh: "GWh";
19
- acre: "acre";
20
- hectare: "hectare";
21
- square_foot: "square_foot";
22
- square_metre: "square_metre";
23
- usd: "usd";
24
- eur: "eur";
25
- gbp: "gbp";
26
- }>;
27
- identifier: z.ZodEnum<{
28
- onsiteGeneration: "onsiteGeneration";
29
- backupGeneration: "backupGeneration";
30
- }>;
31
- storage: z.ZodOptional<z.ZodObject<{
32
- value: z.ZodNumber;
33
- unit: z.ZodEnum<{
34
- kW: "kW";
35
- MW: "MW";
36
- GW: "GW";
37
- kWh: "kWh";
38
- MWh: "MWh";
39
- GWh: "GWh";
40
- acre: "acre";
41
- hectare: "hectare";
42
- square_foot: "square_foot";
43
- square_metre: "square_metre";
44
- usd: "usd";
45
- eur: "eur";
46
- gbp: "gbp";
47
- }>;
48
- }, z.core.$strip>>;
49
- sectors: z.ZodOptional<z.ZodArray<z.ZodObject<{
50
- identifier: z.ZodString;
51
- id: z.ZodString;
52
- }, z.core.$strip>>>;
53
- description: z.ZodOptional<z.ZodString>;
54
- }, z.core.$strip>;
55
- export type PowerWithStorage = z.infer<typeof PowerWithStorageSchema>;
56
- declare const BuildingSizeSchema: z.ZodObject<{
57
- square_foot: z.ZodNumber;
58
- square_metre: z.ZodNumber;
59
- }, z.core.$strip>;
60
- export type BuildingSize = z.infer<typeof BuildingSizeSchema>;
61
- declare const LandSizeSchema: z.ZodObject<{
62
- acre: z.ZodNumber;
63
- hectare: z.ZodNumber;
64
- }, z.core.$strip>;
65
- export type LandSize = z.infer<typeof LandSizeSchema>;
66
- export declare const SizeFieldsEnum: {
67
- building: "building";
68
- land: "land";
69
- };
70
- export type SizeField = keyof typeof SizeFieldsEnum;
71
- export declare const signalDocumentSchema: z.ZodObject<{
72
- filename: z.ZodString;
73
- size: z.ZodOptional<z.ZodString>;
74
- created: z.ZodOptional<z.ZodString>;
75
- filing_id: z.ZodOptional<z.ZodString>;
76
- mimetype: z.ZodOptional<z.ZodString>;
77
- type: z.ZodOptional<z.ZodArray<z.ZodString>>;
78
- document_id: z.ZodString;
79
- scanResultStatus: z.ZodOptional<z.ZodString>;
80
- key: z.ZodOptional<z.ZodString>;
81
- username: z.ZodOptional<z.ZodString>;
82
- url: z.ZodOptional<z.ZodString>;
83
- }, z.core.$strip>;
84
- export declare const signalSubTypeSchema: z.ZodObject<{
85
- identifier: z.ZodString;
86
- id: z.ZodString;
87
- parentId: z.ZodOptional<z.ZodString>;
88
- }, z.core.$strip>;
89
- export declare const signalTypeSchema: z.ZodObject<{
90
- identifier: z.ZodString;
91
- id: z.ZodString;
92
- }, z.core.$strip>;
93
- export declare const signalsSchema: z.ZodObject<{
94
- documents: z.ZodArray<z.ZodObject<{
95
- filename: z.ZodString;
96
- size: z.ZodOptional<z.ZodString>;
97
- created: z.ZodOptional<z.ZodString>;
98
- filing_id: z.ZodOptional<z.ZodString>;
99
- mimetype: z.ZodOptional<z.ZodString>;
100
- type: z.ZodOptional<z.ZodArray<z.ZodString>>;
101
- document_id: z.ZodString;
102
- scanResultStatus: z.ZodOptional<z.ZodString>;
103
- key: z.ZodOptional<z.ZodString>;
104
- username: z.ZodOptional<z.ZodString>;
105
- url: z.ZodOptional<z.ZodString>;
106
- }, z.core.$strip>>;
107
- subType: z.ZodArray<z.ZodObject<{
108
- identifier: z.ZodString;
109
- id: z.ZodString;
110
- parentId: z.ZodOptional<z.ZodString>;
111
- }, z.core.$strip>>;
112
- id: z.ZodString;
113
- type: z.ZodObject<{
114
- identifier: z.ZodString;
115
- id: z.ZodString;
116
- }, z.core.$strip>;
117
- headline: z.ZodString;
118
- }, z.core.$strip>;
119
- export declare const documentSchema: z.ZodObject<{
120
- filename: z.ZodString;
121
- size: z.ZodOptional<z.ZodString>;
122
- created: z.ZodString;
123
- filing_id: z.ZodString;
124
- mimetype: z.ZodOptional<z.ZodString>;
125
- type: z.ZodArray<z.ZodString>;
126
- document_id: z.ZodString;
127
- scanResultStatus: z.ZodOptional<z.ZodString>;
128
- key: z.ZodOptional<z.ZodString>;
129
- url: z.ZodOptional<z.ZodString>;
130
- username: z.ZodString;
131
- isSignal: z.ZodOptional<z.ZodBoolean>;
132
- }, z.core.$strip>;
133
- export declare const keyPeopleSchema: z.ZodObject<{
134
- identifier: z.ZodString;
135
- fullName: z.ZodString;
136
- id: z.ZodString;
137
- linkedinUrl: z.ZodOptional<z.ZodString>;
138
- roles: z.ZodArray<z.ZodString>;
139
- email: z.ZodString;
140
- source: z.ZodString;
141
- phone: z.ZodString;
142
- }, z.core.$strip>;
143
- export declare const DataCenterSchema: z.ZodObject<{
144
- $organizations: z.ZodOptional<z.ZodString>;
145
- '#developers': z.ZodOptional<z.ZodArray<z.ZodString>>;
146
- '#epcs': z.ZodOptional<z.ZodArray<z.ZodString>>;
147
- '#utilities': z.ZodOptional<z.ZodArray<z.ZodString>>;
148
- allSectors: z.ZodOptional<z.ZodString>;
149
- audiences: z.ZodArray<z.ZodObject<{
150
- identifier: z.ZodString;
151
- id: z.ZodString;
152
- }, z.core.$strip>>;
153
- backupGeneration: z.ZodOptional<z.ZodObject<{
154
- powerCapacity: z.ZodOptional<z.ZodObject<{
155
- value: z.ZodOptional<z.ZodNumber>;
156
- unit: z.ZodEnum<{
157
- kW: "kW";
158
- MW: "MW";
159
- GW: "GW";
160
- kWh: "kWh";
161
- MWh: "MWh";
162
- GWh: "GWh";
163
- acre: "acre";
164
- hectare: "hectare";
165
- square_foot: "square_foot";
166
- square_metre: "square_metre";
167
- usd: "usd";
168
- eur: "eur";
169
- gbp: "gbp";
170
- }>;
171
- sectors: z.ZodOptional<z.ZodArray<z.ZodOptional<z.ZodObject<{
172
- identifier: z.ZodString;
173
- id: z.ZodString;
174
- }, z.core.$strip>>>>;
175
- }, z.core.$strip>>;
176
- storage: z.ZodOptional<z.ZodObject<{
177
- value: z.ZodOptional<z.ZodNumber>;
178
- unit: z.ZodEnum<{
179
- kW: "kW";
180
- MW: "MW";
181
- GW: "GW";
182
- kWh: "kWh";
183
- MWh: "MWh";
184
- GWh: "GWh";
185
- acre: "acre";
186
- hectare: "hectare";
187
- square_foot: "square_foot";
188
- square_metre: "square_metre";
189
- usd: "usd";
190
- eur: "eur";
191
- gbp: "gbp";
192
- }>;
193
- }, z.core.$strip>>;
194
- }, z.core.$strip>>;
195
- buildingSize: z.ZodOptional<z.ZodObject<{
196
- value: z.ZodOptional<z.ZodNumber>;
197
- unit: z.ZodEnum<{
198
- kW: "kW";
199
- MW: "MW";
200
- GW: "GW";
201
- kWh: "kWh";
202
- MWh: "MWh";
203
- GWh: "GWh";
204
- acre: "acre";
205
- hectare: "hectare";
206
- square_foot: "square_foot";
207
- square_metre: "square_metre";
208
- usd: "usd";
209
- eur: "eur";
210
- gbp: "gbp";
211
- }>;
212
- }, z.core.$strip>>;
213
- cost: z.ZodOptional<z.ZodObject<{
214
- value: z.ZodOptional<z.ZodNumber>;
215
- unit: z.ZodEnum<{
216
- kW: "kW";
217
- MW: "MW";
218
- GW: "GW";
219
- kWh: "kWh";
220
- MWh: "MWh";
221
- GWh: "GWh";
222
- acre: "acre";
223
- hectare: "hectare";
224
- square_foot: "square_foot";
225
- square_metre: "square_metre";
226
- usd: "usd";
227
- eur: "eur";
228
- gbp: "gbp";
229
- }>;
230
- }, z.core.$strip>>;
231
- country: z.ZodOptional<z.ZodString>;
232
- created: z.ZodNullable<z.ZodOptional<z.ZodString>>;
233
- createdBy: z.ZodArray<z.ZodObject<{
234
- identifier: z.ZodString;
235
- id: z.ZodString;
236
- }, z.core.$strip>>;
237
- externalNotes: z.ZodOptional<z.ZodString>;
238
- geo: z.ZodObject<{
239
- default: z.ZodOptional<z.ZodObject<{
240
- lat: z.ZodNumber;
241
- lon: z.ZodNumber;
242
- }, z.core.$strip>>;
243
- defaultValue: z.ZodOptional<z.ZodString>;
244
- location: z.ZodOptional<z.ZodObject<{
245
- lat: z.ZodNumber;
246
- lon: z.ZodNumber;
247
- }, z.core.$strip>>;
248
- facility: z.ZodOptional<z.ZodObject<{
249
- lat: z.ZodNumber;
250
- lon: z.ZodNumber;
251
- }, z.core.$strip>>;
252
- county: z.ZodOptional<z.ZodObject<{
253
- lat: z.ZodNumber;
254
- lon: z.ZodNumber;
255
- }, z.core.$strip>>;
256
- }, z.core.$strip>;
257
- id: z.ZodString;
258
- intel: z.ZodArray<z.ZodObject<{
259
- identifier: z.ZodString;
260
- intelSections: z.ZodArray<z.ZodObject<{
261
- identifier: z.ZodString;
262
- id: z.ZodString;
263
- key: z.ZodString;
264
- }, z.core.$strip>>;
265
- regions: z.ZodArray<z.ZodObject<{
266
- identifier: z.ZodString;
267
- id: z.ZodString;
268
- key: z.ZodString;
269
- }, z.core.$strip>>;
270
- publishedTime: z.ZodString;
271
- audiences: z.ZodArray<z.ZodObject<{
272
- identifier: z.ZodString;
273
- id: z.ZodString;
274
- key: z.ZodString;
275
- }, z.core.$strip>>;
276
- id: z.ZodString;
277
- }, z.core.$strip>>;
278
- internalNotes: z.ZodOptional<z.ZodString>;
279
- landSize: z.ZodOptional<z.ZodObject<{
280
- value: z.ZodOptional<z.ZodNumber>;
281
- unit: z.ZodEnum<{
282
- kW: "kW";
283
- MW: "MW";
284
- GW: "GW";
285
- kWh: "kWh";
286
- MWh: "MWh";
287
- GWh: "GWh";
288
- acre: "acre";
289
- hectare: "hectare";
290
- square_foot: "square_foot";
291
- square_metre: "square_metre";
292
- usd: "usd";
293
- eur: "eur";
294
- gbp: "gbp";
295
- }>;
296
- }, z.core.$strip>>;
297
- localCity: z.ZodOptional<z.ZodString>;
298
- localCounty: z.ZodOptional<z.ZodString>;
299
- localState: z.ZodOptional<z.ZodString>;
300
- location: z.ZodArray<z.ZodObject<{
301
- identifier: z.ZodString;
302
- id: z.ZodString;
303
- isApproximate: z.ZodOptional<z.ZodBoolean>;
304
- components: z.ZodOptional<z.ZodObject<{
305
- 'ISO_3166-1_alpha-2': z.ZodOptional<z.ZodString>;
306
- 'ISO_3166-1_alpha-3': z.ZodOptional<z.ZodString>;
307
- 'ISO_3166-2': z.ZodOptional<z.ZodArray<z.ZodString>>;
308
- _category: z.ZodOptional<z.ZodString>;
309
- _normalized_city: z.ZodOptional<z.ZodString>;
310
- _type: z.ZodString;
311
- city: z.ZodOptional<z.ZodString>;
312
- continent: z.ZodOptional<z.ZodString>;
313
- country: z.ZodOptional<z.ZodString>;
314
- country_code: z.ZodOptional<z.ZodString>;
315
- state_code: z.ZodOptional<z.ZodString>;
316
- county: z.ZodOptional<z.ZodString>;
317
- municipality: z.ZodOptional<z.ZodString>;
318
- political_union: z.ZodOptional<z.ZodString>;
319
- state: z.ZodOptional<z.ZodString>;
320
- state_district: z.ZodOptional<z.ZodString>;
321
- }, z.core.$strip>>;
322
- geometry: z.ZodOptional<z.ZodObject<{
323
- lat: z.ZodNumber;
324
- lng: z.ZodNumber;
325
- }, z.core.$strip>>;
326
- override: z.ZodOptional<z.ZodBoolean>;
327
- }, z.core.$strip>>;
328
- modified: z.ZodNullable<z.ZodOptional<z.ZodString>>;
329
- onsiteGeneration: z.ZodOptional<z.ZodObject<{
330
- enabled: z.ZodOptional<z.ZodBoolean>;
331
- description: z.ZodOptional<z.ZodString>;
332
- powerCapacity: z.ZodOptional<z.ZodObject<{
333
- value: z.ZodOptional<z.ZodNumber>;
334
- unit: z.ZodEnum<{
335
- kW: "kW";
336
- MW: "MW";
337
- GW: "GW";
338
- kWh: "kWh";
339
- MWh: "MWh";
340
- GWh: "GWh";
341
- acre: "acre";
342
- hectare: "hectare";
343
- square_foot: "square_foot";
344
- square_metre: "square_metre";
345
- usd: "usd";
346
- eur: "eur";
347
- gbp: "gbp";
348
- }>;
349
- sectors: z.ZodOptional<z.ZodArray<z.ZodOptional<z.ZodObject<{
350
- identifier: z.ZodString;
351
- id: z.ZodString;
352
- }, z.core.$strip>>>>;
353
- }, z.core.$strip>>;
354
- }, z.core.$strip>>;
355
- organizations: z.ZodOptional<z.ZodArray<z.ZodObject<{
356
- identifier: z.ZodString;
357
- id: z.ZodString;
358
- role: z.ZodString;
359
- ref: z.ZodOptional<z.ZodString>;
360
- }, z.core.$strip>>>;
361
- plannedOperationalDate: z.ZodNullable<z.ZodOptional<z.ZodString>>;
362
- powerFields: z.ZodOptional<z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
363
- value: z.ZodNumber;
364
- unit: z.ZodEnum<{
365
- kW: "kW";
366
- MW: "MW";
367
- GW: "GW";
368
- kWh: "kWh";
369
- MWh: "MWh";
370
- GWh: "GWh";
371
- acre: "acre";
372
- hectare: "hectare";
373
- square_foot: "square_foot";
374
- square_metre: "square_metre";
375
- usd: "usd";
376
- eur: "eur";
377
- gbp: "gbp";
378
- }>;
379
- identifier: z.ZodEnum<{
380
- onsiteGeneration: "onsiteGeneration";
381
- backupGeneration: "backupGeneration";
382
- }>;
383
- storage: z.ZodOptional<z.ZodObject<{
384
- value: z.ZodNumber;
385
- unit: z.ZodEnum<{
386
- kW: "kW";
387
- MW: "MW";
388
- GW: "GW";
389
- kWh: "kWh";
390
- MWh: "MWh";
391
- GWh: "GWh";
392
- acre: "acre";
393
- hectare: "hectare";
394
- square_foot: "square_foot";
395
- square_metre: "square_metre";
396
- usd: "usd";
397
- eur: "eur";
398
- gbp: "gbp";
399
- }>;
400
- }, z.core.$strip>>;
401
- sectors: z.ZodOptional<z.ZodArray<z.ZodObject<{
402
- identifier: z.ZodString;
403
- id: z.ZodString;
404
- }, z.core.$strip>>>;
405
- description: z.ZodOptional<z.ZodString>;
406
- }, z.core.$strip>, z.ZodObject<{
407
- identifier: z.ZodEnum<{
408
- operatingCapacity: "operatingCapacity";
409
- }>;
410
- value: z.ZodNumber;
411
- unit: z.ZodEnum<{
412
- kW: "kW";
413
- MW: "MW";
414
- GW: "GW";
415
- kWh: "kWh";
416
- MWh: "MWh";
417
- GWh: "GWh";
418
- acre: "acre";
419
- hectare: "hectare";
420
- square_foot: "square_foot";
421
- square_metre: "square_metre";
422
- usd: "usd";
423
- eur: "eur";
424
- gbp: "gbp";
425
- }>;
426
- }, z.core.$strip>], "identifier">>>;
427
- powerCapacity: z.ZodOptional<z.ZodObject<{
428
- value: z.ZodOptional<z.ZodNumber>;
429
- unit: z.ZodEnum<{
430
- kW: "kW";
431
- MW: "MW";
432
- GW: "GW";
433
- kWh: "kWh";
434
- MWh: "MWh";
435
- GWh: "GWh";
436
- acre: "acre";
437
- hectare: "hectare";
438
- square_foot: "square_foot";
439
- square_metre: "square_metre";
440
- usd: "usd";
441
- eur: "eur";
442
- gbp: "gbp";
443
- }>;
444
- sectors: z.ZodOptional<z.ZodArray<z.ZodOptional<z.ZodObject<{
445
- identifier: z.ZodString;
446
- id: z.ZodString;
447
- }, z.core.$strip>>>>;
448
- }, z.core.$strip>>;
449
- projectName: z.ZodString;
450
- queueApplications: z.ZodOptional<z.ZodArray<z.ZodObject<{
451
- queueKey: z.ZodOptional<z.ZodString>;
452
- applicationId: z.ZodOptional<z.ZodString>;
453
- queueDataset: z.ZodOptional<z.ZodString>;
454
- id: z.ZodString;
455
- identifier: z.ZodString;
456
- }, z.core.$strip>>>;
457
- region: z.ZodEnum<typeof RegionType>;
458
- regions: z.ZodArray<z.ZodObject<{
459
- identifier: z.ZodString;
460
- id: z.ZodString;
461
- }, z.core.$strip>>;
462
- sectors: z.ZodOptional<z.ZodArray<z.ZodObject<{
463
- source: z.ZodOptional<z.ZodString>;
464
- identifier: z.ZodString;
465
- id: z.ZodString;
466
- }, z.core.$strip>>>;
467
- showProject: z.ZodBoolean;
468
- sizeFields: z.ZodOptional<z.ZodObject<{
469
- building: z.ZodOptional<z.ZodObject<{
470
- square_foot: z.ZodNumber;
471
- square_metre: z.ZodNumber;
472
- }, z.core.$strip>>;
473
- land: z.ZodOptional<z.ZodObject<{
474
- acre: z.ZodNumber;
475
- hectare: z.ZodNumber;
476
- }, z.core.$strip>>;
477
- }, z.core.$strip>>;
478
- status: z.ZodArray<z.ZodObject<{
479
- identifier: z.ZodString;
480
- id: z.ZodString;
481
- }, z.core.$strip>>;
482
- substation: z.ZodOptional<z.ZodString>;
483
- totalMw: z.ZodOptional<z.ZodNumber>;
484
- totals: z.ZodOptional<z.ZodObject<{
485
- offtaker: z.ZodOptional<z.ZodNumber>;
486
- projects: z.ZodOptional<z.ZodNumber>;
487
- keyPeople: z.ZodOptional<z.ZodNumber>;
488
- documents: z.ZodOptional<z.ZodNumber>;
489
- organizations: z.ZodOptional<z.ZodNumber>;
490
- queueApplications: z.ZodOptional<z.ZodNumber>;
491
- utility: z.ZodOptional<z.ZodNumber>;
492
- puc: z.ZodOptional<z.ZodNumber>;
493
- epc: z.ZodOptional<z.ZodNumber>;
494
- developer: z.ZodOptional<z.ZodNumber>;
495
- intels: z.ZodOptional<z.ZodNumber>;
496
- signals: z.ZodOptional<z.ZodNumber>;
497
- }, z.core.$strip>>;
498
- signals: z.ZodOptional<z.ZodArray<z.ZodObject<{
499
- documents: z.ZodArray<z.ZodObject<{
500
- filename: z.ZodString;
501
- size: z.ZodOptional<z.ZodString>;
502
- created: z.ZodOptional<z.ZodString>;
503
- filing_id: z.ZodOptional<z.ZodString>;
504
- mimetype: z.ZodOptional<z.ZodString>;
505
- type: z.ZodOptional<z.ZodArray<z.ZodString>>;
506
- document_id: z.ZodString;
507
- scanResultStatus: z.ZodOptional<z.ZodString>;
508
- key: z.ZodOptional<z.ZodString>;
509
- username: z.ZodOptional<z.ZodString>;
510
- url: z.ZodOptional<z.ZodString>;
511
- }, z.core.$strip>>;
512
- subType: z.ZodArray<z.ZodObject<{
513
- identifier: z.ZodString;
514
- id: z.ZodString;
515
- parentId: z.ZodOptional<z.ZodString>;
516
- }, z.core.$strip>>;
517
- id: z.ZodString;
518
- type: z.ZodObject<{
519
- identifier: z.ZodString;
520
- id: z.ZodString;
521
- }, z.core.$strip>;
522
- headline: z.ZodString;
523
- }, z.core.$strip>>>;
524
- documents: z.ZodOptional<z.ZodArray<z.ZodObject<{
525
- filename: z.ZodString;
526
- size: z.ZodOptional<z.ZodString>;
527
- created: z.ZodString;
528
- filing_id: z.ZodString;
529
- mimetype: z.ZodOptional<z.ZodString>;
530
- type: z.ZodArray<z.ZodString>;
531
- document_id: z.ZodString;
532
- scanResultStatus: z.ZodOptional<z.ZodString>;
533
- key: z.ZodOptional<z.ZodString>;
534
- url: z.ZodOptional<z.ZodString>;
535
- username: z.ZodString;
536
- isSignal: z.ZodOptional<z.ZodBoolean>;
537
- }, z.core.$strip>>>;
538
- keyPeople: z.ZodOptional<z.ZodArray<z.ZodObject<{
539
- identifier: z.ZodString;
540
- fullName: z.ZodString;
541
- id: z.ZodString;
542
- linkedinUrl: z.ZodOptional<z.ZodString>;
543
- roles: z.ZodArray<z.ZodString>;
544
- email: z.ZodString;
545
- source: z.ZodString;
546
- phone: z.ZodString;
547
- }, z.core.$strip>>>;
548
- }, z.core.$strip>;
549
- export type DataCenter = z.infer<typeof DataCenterSchema>;
550
- export {};