@burdenoff/sdk-libs 2026.627.3 → 2026.627.4

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,478 @@
1
+ import { S as SdkModule } from '../../module-JDbvil5h.cjs';
2
+ import 'graphql-request';
3
+
4
+ type EcoSiteType = 'AIRSHED' | 'COASTAL' | 'FACILITY' | 'FARM' | 'FOREST' | 'OTHER' | 'PROTECTED_AREA' | 'WATERSHED' | 'WETLAND';
5
+ type EcoSiteStatus = 'ACTIVE' | 'ARCHIVED' | 'MONITORING_PAUSED';
6
+ type EcoSensorKind = 'ACOUSTIC' | 'AIR_QUALITY' | 'CAMERA_TRAP' | 'ENERGY_METER' | 'FLOW' | 'MANUAL' | 'SOIL' | 'WATER_QUALITY' | 'WEATHER';
7
+ type EcoSensorStatus = 'DEGRADED' | 'MAINTENANCE' | 'OFFLINE' | 'ONLINE' | 'RETIRED';
8
+ type EcoThresholdDirection = 'ABOVE' | 'BELOW' | 'OUTSIDE_RANGE';
9
+ type EcoThresholdSeverity = 'CRITICAL' | 'INFO' | 'WARNING';
10
+ type EcoMeasurementSource = 'CALCULATED' | 'IMPORT' | 'MANUAL' | 'SATELLITE' | 'SENSOR';
11
+ type EcoConservationStatus = 'CRITICALLY_ENDANGERED' | 'DATA_DEFICIENT' | 'ENDANGERED' | 'EXTINCT_IN_WILD' | 'LEAST_CONCERN' | 'NEAR_THREATENED' | 'NOT_EVALUATED' | 'VULNERABLE';
12
+ type EcoTaxonGroup = 'AMPHIBIAN' | 'BIRD' | 'FISH' | 'FUNGI' | 'INSECT' | 'MAMMAL' | 'OTHER' | 'PLANT' | 'REPTILE';
13
+ type EcoObservationMethod = 'ACOUSTIC' | 'CAMERA_TRAP' | 'COMMUNITY_REPORT' | 'DIRECT_SIGHTING' | 'EDNA' | 'TELEMETRY' | 'TRACKS_SIGNS';
14
+ type EcoHabitatProjectStatus = 'CANCELLED' | 'COMPLETED' | 'IN_PROGRESS' | 'MONITORING' | 'ON_HOLD' | 'PLANNED';
15
+ type EcoRestorationActivityType = 'COMMUNITY_ENGAGEMENT' | 'INVASIVE_REMOVAL' | 'PLANTING' | 'REWILDING' | 'SOIL_REMEDIATION' | 'SURVEY' | 'WATER_MANAGEMENT';
16
+ type EcoEmissionScope = 'SCOPE_1' | 'SCOPE_2' | 'SCOPE_3';
17
+ type EcoCarbonEntryStatus = 'ADJUSTED' | 'DRAFT' | 'RECORDED' | 'VERIFIED';
18
+ type EcoReductionTargetStatus = 'ACHIEVED' | 'ACTIVE' | 'MISSED' | 'PROPOSED' | 'RETIRED';
19
+ type EcoReportFramework = 'CDP' | 'CUSTOM' | 'GHG_PROTOCOL' | 'GRI' | 'SASB' | 'TCFD';
20
+ type EcoReportStatus = 'ARCHIVED' | 'DRAFT' | 'IN_REVIEW' | 'PUBLISHED';
21
+ interface EcoPageInfo {
22
+ cursor?: string | null;
23
+ hasMore: boolean;
24
+ }
25
+ interface EcoFileRef {
26
+ id: string;
27
+ }
28
+ interface EcoSite {
29
+ id: string;
30
+ name: string;
31
+ code?: string | null;
32
+ description?: string | null;
33
+ type: EcoSiteType;
34
+ status: EcoSiteStatus;
35
+ region?: string | null;
36
+ country?: string | null;
37
+ latitude?: number | null;
38
+ longitude?: number | null;
39
+ areaHectares?: number | null;
40
+ sensors: EcoSensor[];
41
+ thresholds: EcoAlertThreshold[];
42
+ workspaceId: string;
43
+ createdAt: string;
44
+ updatedAt: string;
45
+ }
46
+ interface EcoSensor {
47
+ id: string;
48
+ name: string;
49
+ siteId: string;
50
+ kind: EcoSensorKind;
51
+ status: EcoSensorStatus;
52
+ unit?: string | null;
53
+ hardwareId?: string | null;
54
+ installedAt?: string | null;
55
+ lastReadingAt?: string | null;
56
+ site?: EcoSite | null;
57
+ workspaceId: string;
58
+ createdAt: string;
59
+ updatedAt: string;
60
+ }
61
+ interface EcoAlertThreshold {
62
+ id: string;
63
+ siteId: string;
64
+ parameter: string;
65
+ direction: EcoThresholdDirection;
66
+ severity: EcoThresholdSeverity;
67
+ unit: string;
68
+ minValue?: number | null;
69
+ maxValue?: number | null;
70
+ limitValue?: number | null;
71
+ isActive: boolean;
72
+ workspaceId: string;
73
+ createdAt: string;
74
+ updatedAt: string;
75
+ }
76
+ interface EcoMeasurement {
77
+ id: string;
78
+ siteId: string;
79
+ sensorId?: string | null;
80
+ parameter: string;
81
+ value: number;
82
+ unit: string;
83
+ source: EcoMeasurementSource;
84
+ isBreach: boolean;
85
+ notes?: string | null;
86
+ recordedAt: string;
87
+ workspaceId: string;
88
+ createdAt: string;
89
+ updatedAt: string;
90
+ }
91
+ interface EcoSpecies {
92
+ id: string;
93
+ commonName: string;
94
+ scientificName?: string | null;
95
+ description?: string | null;
96
+ taxonGroup: EcoTaxonGroup;
97
+ conservationStatus: EcoConservationStatus;
98
+ isPriority: boolean;
99
+ observations: EcoObservation[];
100
+ workspaceId: string;
101
+ createdAt: string;
102
+ updatedAt: string;
103
+ }
104
+ interface EcoObservation {
105
+ id: string;
106
+ speciesId: string;
107
+ siteId?: string | null;
108
+ observerId?: string | null;
109
+ count: number;
110
+ method: EcoObservationMethod;
111
+ latitude?: number | null;
112
+ longitude?: number | null;
113
+ notes?: string | null;
114
+ observedAt: string;
115
+ evidence?: EcoFileRef | null;
116
+ species?: EcoSpecies | null;
117
+ workspaceId: string;
118
+ createdAt: string;
119
+ updatedAt: string;
120
+ }
121
+ interface EcoHabitatProject {
122
+ id: string;
123
+ name: string;
124
+ description?: string | null;
125
+ status: EcoHabitatProjectStatus;
126
+ siteId?: string | null;
127
+ managerId?: string | null;
128
+ budgetAmount: number;
129
+ currency: string;
130
+ targetHectares?: number | null;
131
+ startDate?: string | null;
132
+ endDate?: string | null;
133
+ completedAt?: string | null;
134
+ activities: EcoRestorationActivity[];
135
+ workspaceId: string;
136
+ createdAt: string;
137
+ updatedAt: string;
138
+ }
139
+ interface EcoRestorationActivity {
140
+ id: string;
141
+ projectId: string;
142
+ type: EcoRestorationActivityType;
143
+ summary: string;
144
+ details?: string | null;
145
+ quantity?: number | null;
146
+ unit?: string | null;
147
+ performedAt: string;
148
+ workspaceId: string;
149
+ createdAt: string;
150
+ updatedAt: string;
151
+ }
152
+ interface EcoEmissionFactor {
153
+ id: string;
154
+ name: string;
155
+ scope: EcoEmissionScope;
156
+ activityUnit: string;
157
+ factorKgco2e: number;
158
+ source?: string | null;
159
+ validYear?: number | null;
160
+ isActive: boolean;
161
+ workspaceId: string;
162
+ createdAt: string;
163
+ updatedAt: string;
164
+ }
165
+ interface EcoCarbonEntry {
166
+ id: string;
167
+ scope: EcoEmissionScope;
168
+ category: string;
169
+ activityValue: number;
170
+ activityUnit: string;
171
+ co2eKg: number;
172
+ status: EcoCarbonEntryStatus;
173
+ factorId?: string | null;
174
+ factor?: EcoEmissionFactor | null;
175
+ siteId?: string | null;
176
+ notes?: string | null;
177
+ periodStart: string;
178
+ workspaceId: string;
179
+ createdAt: string;
180
+ updatedAt: string;
181
+ }
182
+ interface EcoReductionTarget {
183
+ id: string;
184
+ name: string;
185
+ description?: string | null;
186
+ metric: string;
187
+ unit: string;
188
+ baselineValue: number;
189
+ baselineYear: number;
190
+ targetValue: number;
191
+ targetYear: number;
192
+ status: EcoReductionTargetStatus;
193
+ workspaceId: string;
194
+ createdAt: string;
195
+ updatedAt: string;
196
+ }
197
+ interface EcoReportLineItem {
198
+ id: string;
199
+ reportId: string;
200
+ carbonEntryId?: string | null;
201
+ category?: string | null;
202
+ label: string;
203
+ value: number;
204
+ unit: string;
205
+ workspaceId: string;
206
+ createdAt: string;
207
+ updatedAt: string;
208
+ }
209
+ interface EcoReport {
210
+ id: string;
211
+ title: string;
212
+ summary?: string | null;
213
+ framework: EcoReportFramework;
214
+ status: EcoReportStatus;
215
+ periodStart: string;
216
+ periodEnd: string;
217
+ publishedAt?: string | null;
218
+ file?: EcoFileRef | null;
219
+ lineItems: EcoReportLineItem[];
220
+ workspaceId: string;
221
+ createdAt: string;
222
+ updatedAt: string;
223
+ }
224
+ interface EcoSiteConnection {
225
+ items: EcoSite[];
226
+ pageInfo: EcoPageInfo;
227
+ }
228
+ interface EcoMeasurementConnection {
229
+ items: EcoMeasurement[];
230
+ pageInfo: EcoPageInfo;
231
+ }
232
+ interface EcoSpeciesConnection {
233
+ items: EcoSpecies[];
234
+ pageInfo: EcoPageInfo;
235
+ }
236
+ interface EcoObservationConnection {
237
+ items: EcoObservation[];
238
+ pageInfo: EcoPageInfo;
239
+ }
240
+ interface EcoCarbonEntryConnection {
241
+ items: EcoCarbonEntry[];
242
+ pageInfo: EcoPageInfo;
243
+ }
244
+ interface EcoReportConnection {
245
+ items: EcoReport[];
246
+ pageInfo: EcoPageInfo;
247
+ }
248
+ interface EcoPaginationInput {
249
+ cursor?: string;
250
+ limit?: number;
251
+ offset?: number;
252
+ }
253
+ interface EcoCreateSiteInput {
254
+ name: string;
255
+ code?: string;
256
+ description?: string;
257
+ type?: EcoSiteType;
258
+ status?: EcoSiteStatus;
259
+ region?: string;
260
+ country?: string;
261
+ latitude?: number;
262
+ longitude?: number;
263
+ areaHectares?: number;
264
+ }
265
+ interface EcoUpdateSiteInput {
266
+ name?: string;
267
+ code?: string;
268
+ description?: string;
269
+ type?: EcoSiteType;
270
+ status?: EcoSiteStatus;
271
+ region?: string;
272
+ country?: string;
273
+ latitude?: number;
274
+ longitude?: number;
275
+ areaHectares?: number;
276
+ }
277
+ interface EcoCreateSensorInput {
278
+ name: string;
279
+ siteId: string;
280
+ kind?: EcoSensorKind;
281
+ status?: EcoSensorStatus;
282
+ unit?: string;
283
+ hardwareId?: string;
284
+ installedAt?: string;
285
+ }
286
+ interface EcoCreateThresholdInput {
287
+ siteId: string;
288
+ parameter: string;
289
+ unit: string;
290
+ direction?: EcoThresholdDirection;
291
+ severity?: EcoThresholdSeverity;
292
+ minValue?: number;
293
+ maxValue?: number;
294
+ limitValue?: number;
295
+ }
296
+ interface EcoRecordMeasurementInput {
297
+ siteId: string;
298
+ parameter: string;
299
+ value: number;
300
+ unit: string;
301
+ recordedAt: string;
302
+ sensorId?: string;
303
+ source?: EcoMeasurementSource;
304
+ notes?: string;
305
+ }
306
+ interface EcoCreateSpeciesInput {
307
+ commonName: string;
308
+ scientificName?: string;
309
+ description?: string;
310
+ taxonGroup?: EcoTaxonGroup;
311
+ conservationStatus?: EcoConservationStatus;
312
+ isPriority?: boolean;
313
+ }
314
+ interface EcoUpdateSpeciesInput {
315
+ commonName?: string;
316
+ scientificName?: string;
317
+ description?: string;
318
+ taxonGroup?: EcoTaxonGroup;
319
+ conservationStatus?: EcoConservationStatus;
320
+ isPriority?: boolean;
321
+ }
322
+ interface EcoRecordObservationInput {
323
+ speciesId: string;
324
+ observedAt: string;
325
+ count?: number;
326
+ method?: EcoObservationMethod;
327
+ siteId?: string;
328
+ latitude?: number;
329
+ longitude?: number;
330
+ notes?: string;
331
+ evidenceFileId?: string;
332
+ }
333
+ interface EcoCreateHabitatProjectInput {
334
+ name: string;
335
+ description?: string;
336
+ siteId?: string;
337
+ managerId?: string;
338
+ budgetAmount?: number;
339
+ currency?: string;
340
+ targetHectares?: number;
341
+ startDate?: string;
342
+ endDate?: string;
343
+ }
344
+ interface EcoLogRestorationActivityInput {
345
+ projectId: string;
346
+ summary: string;
347
+ performedAt: string;
348
+ type?: EcoRestorationActivityType;
349
+ details?: string;
350
+ quantity?: number;
351
+ unit?: string;
352
+ }
353
+ interface EcoRecordCarbonEntryInput {
354
+ category: string;
355
+ activityValue: number;
356
+ activityUnit: string;
357
+ periodStart: string;
358
+ scope?: EcoEmissionScope;
359
+ factorId?: string;
360
+ siteId?: string;
361
+ notes?: string;
362
+ }
363
+ interface EcoCreateEmissionFactorInput {
364
+ name: string;
365
+ activityUnit: string;
366
+ factorKgco2e: number;
367
+ scope?: EcoEmissionScope;
368
+ source?: string;
369
+ validYear?: number;
370
+ }
371
+ interface EcoCreateReductionTargetInput {
372
+ name: string;
373
+ metric: string;
374
+ unit: string;
375
+ baselineValue: number;
376
+ baselineYear: number;
377
+ targetValue: number;
378
+ targetYear: number;
379
+ description?: string;
380
+ }
381
+ interface EcoCreateReportInput {
382
+ title: string;
383
+ periodStart: string;
384
+ periodEnd: string;
385
+ framework?: EcoReportFramework;
386
+ summary?: string;
387
+ }
388
+ interface EcoAddReportLineItemInput {
389
+ reportId: string;
390
+ label: string;
391
+ value: number;
392
+ unit: string;
393
+ carbonEntryId?: string;
394
+ category?: string;
395
+ }
396
+
397
+ interface EcoimpacthubSitesApi {
398
+ get(id: string): Promise<EcoSite | null>;
399
+ list(pagination?: EcoPaginationInput, status?: EcoSiteStatus, type?: EcoSiteType): Promise<EcoSiteConnection>;
400
+ create(input: EcoCreateSiteInput): Promise<EcoSite>;
401
+ update(id: string, input: EcoUpdateSiteInput): Promise<EcoSite>;
402
+ archive(id: string): Promise<boolean>;
403
+ }
404
+ interface EcoimpacthubSensorsApi {
405
+ list(kind?: EcoSensorKind, siteId?: string, status?: EcoSensorStatus): Promise<EcoSensor[]>;
406
+ create(input: EcoCreateSensorInput): Promise<EcoSensor>;
407
+ setStatus(id: string, status: EcoSensorStatus): Promise<EcoSensor>;
408
+ }
409
+ interface EcoimpacthubThresholdsApi {
410
+ list(siteId?: string): Promise<EcoAlertThreshold[]>;
411
+ create(input: EcoCreateThresholdInput): Promise<EcoAlertThreshold>;
412
+ setActive(id: string, isActive: boolean): Promise<EcoAlertThreshold>;
413
+ }
414
+ interface EcoimpacthubMeasurementsApi {
415
+ list(siteId?: string, sensorId?: string, parameter?: string, breachesOnly?: boolean, pagination?: EcoPaginationInput): Promise<EcoMeasurementConnection>;
416
+ record(input: EcoRecordMeasurementInput): Promise<EcoMeasurementConnection['items'][number]>;
417
+ }
418
+ interface EcoimpacthubSpeciesApi {
419
+ get(id: string): Promise<EcoSpecies | null>;
420
+ list(conservationStatus?: EcoConservationStatus, taxonGroup?: EcoTaxonGroup, priorityOnly?: boolean, pagination?: EcoPaginationInput): Promise<EcoSpeciesConnection>;
421
+ create(input: EcoCreateSpeciesInput): Promise<EcoSpecies>;
422
+ update(id: string, input: EcoUpdateSpeciesInput): Promise<EcoSpecies>;
423
+ archive(id: string): Promise<boolean>;
424
+ }
425
+ interface EcoimpacthubObservationsApi {
426
+ list(speciesId?: string, siteId?: string, pagination?: EcoPaginationInput): Promise<EcoObservationConnection>;
427
+ record(input: EcoRecordObservationInput): Promise<EcoObservationConnection['items'][number]>;
428
+ }
429
+ interface EcoimpacthubHabitatProjectsApi {
430
+ get(id: string): Promise<EcoHabitatProject | null>;
431
+ list(status?: EcoHabitatProjectStatus): Promise<EcoHabitatProject[]>;
432
+ create(input: EcoCreateHabitatProjectInput): Promise<EcoHabitatProject>;
433
+ transition(id: string, status: EcoHabitatProjectStatus): Promise<EcoHabitatProject>;
434
+ logActivity(input: EcoLogRestorationActivityInput): Promise<EcoRestorationActivity>;
435
+ }
436
+ interface EcoimpacthubCarbonApi {
437
+ listEntries(scope?: EcoEmissionScope, siteId?: string, status?: EcoCarbonEntryStatus, pagination?: EcoPaginationInput): Promise<EcoCarbonEntryConnection>;
438
+ recordEntry(input: EcoRecordCarbonEntryInput): Promise<EcoCarbonEntry>;
439
+ verifyEntry(id: string): Promise<EcoCarbonEntry>;
440
+ totalKg(scope?: EcoEmissionScope, siteId?: string): Promise<number>;
441
+ }
442
+ interface EcoimpacthubEmissionFactorsApi {
443
+ list(activeOnly?: boolean, scope?: EcoEmissionScope): Promise<EcoEmissionFactor[]>;
444
+ create(input: EcoCreateEmissionFactorInput): Promise<EcoEmissionFactor>;
445
+ }
446
+ interface EcoimpacthubReductionTargetsApi {
447
+ list(status?: EcoReductionTargetStatus): Promise<EcoReductionTarget[]>;
448
+ create(input: EcoCreateReductionTargetInput): Promise<EcoReductionTarget>;
449
+ setStatus(id: string, status: EcoReductionTargetStatus): Promise<EcoReductionTarget>;
450
+ }
451
+ interface EcoimpacthubReportsApi {
452
+ get(id: string): Promise<EcoReport | null>;
453
+ list(pagination?: EcoPaginationInput, status?: EcoReportStatus): Promise<EcoReportConnection>;
454
+ create(input: EcoCreateReportInput): Promise<EcoReport>;
455
+ addLineItem(input: EcoAddReportLineItemInput): Promise<EcoReportLineItem>;
456
+ publish(id: string, fileId?: string): Promise<EcoReport>;
457
+ }
458
+ interface EcoimpacthubSystemApi {
459
+ health(): Promise<string>;
460
+ }
461
+ interface EcoimpacthubApi {
462
+ sites: EcoimpacthubSitesApi;
463
+ sensors: EcoimpacthubSensorsApi;
464
+ thresholds: EcoimpacthubThresholdsApi;
465
+ measurements: EcoimpacthubMeasurementsApi;
466
+ species: EcoimpacthubSpeciesApi;
467
+ observations: EcoimpacthubObservationsApi;
468
+ habitatProjects: EcoimpacthubHabitatProjectsApi;
469
+ carbon: EcoimpacthubCarbonApi;
470
+ emissionFactors: EcoimpacthubEmissionFactorsApi;
471
+ reductionTargets: EcoimpacthubReductionTargetsApi;
472
+ reports: EcoimpacthubReportsApi;
473
+ system: EcoimpacthubSystemApi;
474
+ }
475
+
476
+ declare const ecoimpacthubModule: SdkModule<EcoimpacthubApi>;
477
+
478
+ export { type EcoAddReportLineItemInput, type EcoAlertThreshold, type EcoCarbonEntry, type EcoCarbonEntryConnection, type EcoCarbonEntryStatus, type EcoConservationStatus, type EcoCreateEmissionFactorInput, type EcoCreateHabitatProjectInput, type EcoCreateReductionTargetInput, type EcoCreateReportInput, type EcoCreateSensorInput, type EcoCreateSiteInput, type EcoCreateSpeciesInput, type EcoCreateThresholdInput, type EcoEmissionFactor, type EcoEmissionScope, type EcoFileRef, type EcoHabitatProject, type EcoHabitatProjectStatus, type EcoLogRestorationActivityInput, type EcoMeasurement, type EcoMeasurementConnection, type EcoMeasurementSource, type EcoObservation, type EcoObservationConnection, type EcoObservationMethod, type EcoPageInfo, type EcoPaginationInput, type EcoRecordCarbonEntryInput, type EcoRecordMeasurementInput, type EcoRecordObservationInput, type EcoReductionTarget, type EcoReductionTargetStatus, type EcoReport, type EcoReportConnection, type EcoReportFramework, type EcoReportLineItem, type EcoReportStatus, type EcoRestorationActivity, type EcoRestorationActivityType, type EcoSensor, type EcoSensorKind, type EcoSensorStatus, type EcoSite, type EcoSiteConnection, type EcoSiteStatus, type EcoSiteType, type EcoSpecies, type EcoSpeciesConnection, type EcoTaxonGroup, type EcoThresholdDirection, type EcoThresholdSeverity, type EcoUpdateSiteInput, type EcoUpdateSpeciesInput, type EcoimpacthubApi, type EcoimpacthubCarbonApi, type EcoimpacthubEmissionFactorsApi, type EcoimpacthubHabitatProjectsApi, type EcoimpacthubMeasurementsApi, type EcoimpacthubObservationsApi, type EcoimpacthubReductionTargetsApi, type EcoimpacthubReportsApi, type EcoimpacthubSensorsApi, type EcoimpacthubSitesApi, type EcoimpacthubSpeciesApi, type EcoimpacthubSystemApi, type EcoimpacthubThresholdsApi, ecoimpacthubModule as default };