@burdenoff/sdk-libs 2026.627.3 → 2026.627.5
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.
- package/dist/modules/cosmicintersection/index.cjs +340 -0
- package/dist/modules/cosmicintersection/index.d.cts +450 -0
- package/dist/modules/cosmicintersection/index.d.ts +450 -0
- package/dist/modules/cosmicintersection/index.js +340 -0
- package/dist/modules/ecoimpacthub/index.cjs +350 -0
- package/dist/modules/ecoimpacthub/index.d.cts +478 -0
- package/dist/modules/ecoimpacthub/index.d.ts +478 -0
- package/dist/modules/ecoimpacthub/index.js +350 -0
- package/dist/modules/govcitizenhub/index.cjs +296 -0
- package/dist/modules/govcitizenhub/index.d.cts +349 -0
- package/dist/modules/govcitizenhub/index.d.ts +349 -0
- package/dist/modules/govcitizenhub/index.js +296 -0
- package/dist/modules/intelwatchtower/index.cjs +406 -0
- package/dist/modules/intelwatchtower/index.d.cts +486 -0
- package/dist/modules/intelwatchtower/index.d.ts +486 -0
- package/dist/modules/intelwatchtower/index.js +406 -0
- package/dist/modules/manufacturedops/index.cjs +335 -0
- package/dist/modules/manufacturedops/index.d.cts +466 -0
- package/dist/modules/manufacturedops/index.d.ts +466 -0
- package/dist/modules/manufacturedops/index.js +335 -0
- package/dist/modules/mybodyshield/index.cjs +259 -0
- package/dist/modules/mybodyshield/index.d.cts +455 -0
- package/dist/modules/mybodyshield/index.d.ts +455 -0
- package/dist/modules/mybodyshield/index.js +259 -0
- package/dist/modules/semanticfed/index.cjs +283 -0
- package/dist/modules/semanticfed/index.d.cts +404 -0
- package/dist/modules/semanticfed/index.d.ts +404 -0
- package/dist/modules/semanticfed/index.js +283 -0
- package/dist/modules/technospam/index.cjs +344 -0
- package/dist/modules/technospam/index.d.cts +436 -0
- package/dist/modules/technospam/index.d.ts +436 -0
- package/dist/modules/technospam/index.js +344 -0
- package/dist/modules/theculturepost/index.cjs +267 -0
- package/dist/modules/theculturepost/index.d.cts +344 -0
- package/dist/modules/theculturepost/index.d.ts +344 -0
- package/dist/modules/theculturepost/index.js +267 -0
- package/dist/modules/theglobalfuel/index.cjs +265 -0
- package/dist/modules/theglobalfuel/index.d.cts +395 -0
- package/dist/modules/theglobalfuel/index.d.ts +395 -0
- package/dist/modules/theglobalfuel/index.js +265 -0
- package/package.json +1 -1
|
@@ -0,0 +1,395 @@
|
|
|
1
|
+
import { S as SdkModule } from '../../module-JDbvil5h.js';
|
|
2
|
+
import 'graphql-request';
|
|
3
|
+
|
|
4
|
+
interface TheFileRef {
|
|
5
|
+
id: string;
|
|
6
|
+
}
|
|
7
|
+
type TheAssetKind = 'GAS_FIELD' | 'MINE' | 'OIL_FIELD' | 'PIPELINE' | 'POWER_PLANT' | 'PROCESSING_PLANT' | 'QUARRY' | 'REFINERY' | 'SOLAR_FARM' | 'STORAGE_TERMINAL' | 'WELL' | 'WIND_FARM';
|
|
8
|
+
type TheAssetStatus = 'APPRAISAL' | 'DECOMMISSIONING' | 'DEVELOPMENT' | 'EXPLORATION' | 'PRODUCING' | 'RETIRED' | 'SUSPENDED';
|
|
9
|
+
type TheCommodityType = 'BAUXITE' | 'BIOFUEL' | 'COAL' | 'COPPER' | 'CRUDE_OIL' | 'ELECTRICITY' | 'GOLD' | 'HYDROGEN' | 'IRON_ORE' | 'LITHIUM' | 'LNG' | 'NATURAL_GAS' | 'RARE_EARTH';
|
|
10
|
+
type TheComplianceCategory = 'CARBON_CREDIT' | 'CHAIN_OF_CUSTODY' | 'EMISSIONS_REPORT' | 'ENVIRONMENTAL_PERMIT' | 'EXPORT_LICENSE' | 'EXTRACTION_LICENSE' | 'SAFETY_AUDIT';
|
|
11
|
+
type TheComplianceStatus = 'APPROVED' | 'EXPIRED' | 'PENDING' | 'REJECTED' | 'REVOKED' | 'SUBMITTED';
|
|
12
|
+
type TheContractSide = 'BUY' | 'SELL';
|
|
13
|
+
type TheContractStatus = 'ACTIVE' | 'COMPLETED' | 'DRAFT' | 'NEGOTIATION' | 'SIGNED' | 'SUSPENDED' | 'TERMINATED';
|
|
14
|
+
type TheEmissionScope = 'SCOPE_1' | 'SCOPE_2' | 'SCOPE_3';
|
|
15
|
+
type TheInventoryStatus = 'AVAILABLE' | 'CONSUMED' | 'IN_TRANSIT' | 'RESERVED' | 'WRITTEN_OFF';
|
|
16
|
+
type ThePricingBasis = 'FIXED' | 'FORMULA' | 'INDEX_LINKED' | 'SPOT';
|
|
17
|
+
type TheReserveCategory = 'CONTINGENT' | 'POSSIBLE' | 'PROBABLE' | 'PROSPECTIVE' | 'PROVED';
|
|
18
|
+
type TheShipmentStatus = 'CANCELLED' | 'DELIVERED' | 'IN_TRANSIT' | 'LOADING' | 'SCHEDULED';
|
|
19
|
+
type TheTransportMode = 'GRID' | 'PIPELINE' | 'RAIL' | 'TANKER' | 'TRUCK' | 'VESSEL_BULK';
|
|
20
|
+
type TheUnit = 'BARRELS' | 'CUBIC_METERS' | 'GJ' | 'KILOGRAMS' | 'MCF' | 'MWH' | 'TONNES';
|
|
21
|
+
interface TheAsset {
|
|
22
|
+
id: string;
|
|
23
|
+
name: string;
|
|
24
|
+
code?: string | null;
|
|
25
|
+
commodity: TheCommodityType;
|
|
26
|
+
kind: TheAssetKind;
|
|
27
|
+
status: TheAssetStatus;
|
|
28
|
+
capacityPerDay: number;
|
|
29
|
+
capacityUnit: TheUnit;
|
|
30
|
+
workingInterestPct: number;
|
|
31
|
+
location?: string | null;
|
|
32
|
+
latitude?: number | null;
|
|
33
|
+
longitude?: number | null;
|
|
34
|
+
operatorLeadId?: string | null;
|
|
35
|
+
commissionedAt?: string | null;
|
|
36
|
+
decommissionedAt?: string | null;
|
|
37
|
+
tags: string[];
|
|
38
|
+
workspaceId: string;
|
|
39
|
+
createdAt: string;
|
|
40
|
+
updatedAt: string;
|
|
41
|
+
productionRecords?: TheProductionRecord[];
|
|
42
|
+
reserveEstimates?: TheReserveEstimate[];
|
|
43
|
+
}
|
|
44
|
+
interface TheProductionRecord {
|
|
45
|
+
id: string;
|
|
46
|
+
assetId: string;
|
|
47
|
+
volume: number;
|
|
48
|
+
unit: TheUnit;
|
|
49
|
+
grade?: number | null;
|
|
50
|
+
downtimeHours: number;
|
|
51
|
+
periodStart: string;
|
|
52
|
+
periodEnd: string;
|
|
53
|
+
notes?: string | null;
|
|
54
|
+
workspaceId: string;
|
|
55
|
+
createdAt: string;
|
|
56
|
+
updatedAt: string;
|
|
57
|
+
asset?: TheAsset | null;
|
|
58
|
+
}
|
|
59
|
+
interface TheReserveEstimate {
|
|
60
|
+
id: string;
|
|
61
|
+
assetId: string;
|
|
62
|
+
category: TheReserveCategory;
|
|
63
|
+
recoverable: number;
|
|
64
|
+
recoveryFactor?: number | null;
|
|
65
|
+
unit: TheUnit;
|
|
66
|
+
asOfDate: string;
|
|
67
|
+
methodology?: string | null;
|
|
68
|
+
notes?: string | null;
|
|
69
|
+
workspaceId: string;
|
|
70
|
+
createdAt: string;
|
|
71
|
+
updatedAt: string;
|
|
72
|
+
asset?: TheAsset | null;
|
|
73
|
+
}
|
|
74
|
+
interface TheOfftakeContract {
|
|
75
|
+
id: string;
|
|
76
|
+
reference: string;
|
|
77
|
+
counterparty: string;
|
|
78
|
+
side: TheContractSide;
|
|
79
|
+
commodity: TheCommodityType;
|
|
80
|
+
status: TheContractStatus;
|
|
81
|
+
contractedVolume: number;
|
|
82
|
+
deliveredVolume: number;
|
|
83
|
+
unit: TheUnit;
|
|
84
|
+
pricingBasis: ThePricingBasis;
|
|
85
|
+
pricePerUnit: number;
|
|
86
|
+
priceIndex?: string | null;
|
|
87
|
+
currency: string;
|
|
88
|
+
deliveryLocation?: string | null;
|
|
89
|
+
startDate?: string | null;
|
|
90
|
+
endDate?: string | null;
|
|
91
|
+
signedAt?: string | null;
|
|
92
|
+
notes?: string | null;
|
|
93
|
+
tags: string[];
|
|
94
|
+
workspaceId: string;
|
|
95
|
+
createdAt: string;
|
|
96
|
+
updatedAt: string;
|
|
97
|
+
shipments?: TheShipment[];
|
|
98
|
+
}
|
|
99
|
+
interface TheShipment {
|
|
100
|
+
id: string;
|
|
101
|
+
reference: string;
|
|
102
|
+
contractId: string;
|
|
103
|
+
status: TheShipmentStatus;
|
|
104
|
+
mode: TheTransportMode;
|
|
105
|
+
volume: number;
|
|
106
|
+
unit: TheUnit;
|
|
107
|
+
origin?: string | null;
|
|
108
|
+
destination?: string | null;
|
|
109
|
+
carrier?: string | null;
|
|
110
|
+
scheduledAt?: string | null;
|
|
111
|
+
departedAt?: string | null;
|
|
112
|
+
deliveredAt?: string | null;
|
|
113
|
+
notes?: string | null;
|
|
114
|
+
workspaceId: string;
|
|
115
|
+
createdAt: string;
|
|
116
|
+
updatedAt: string;
|
|
117
|
+
contract?: TheOfftakeContract | null;
|
|
118
|
+
document?: TheFileRef | null;
|
|
119
|
+
}
|
|
120
|
+
interface TheInventoryLot {
|
|
121
|
+
id: string;
|
|
122
|
+
lotCode: string;
|
|
123
|
+
commodity: TheCommodityType;
|
|
124
|
+
status: TheInventoryStatus;
|
|
125
|
+
quantity: number;
|
|
126
|
+
unit: TheUnit;
|
|
127
|
+
grade?: number | null;
|
|
128
|
+
unitValue: number;
|
|
129
|
+
currency: string;
|
|
130
|
+
location?: string | null;
|
|
131
|
+
assetId?: string | null;
|
|
132
|
+
producedAt?: string | null;
|
|
133
|
+
notes?: string | null;
|
|
134
|
+
workspaceId: string;
|
|
135
|
+
createdAt: string;
|
|
136
|
+
updatedAt: string;
|
|
137
|
+
}
|
|
138
|
+
interface TheEmissionRecord {
|
|
139
|
+
id: string;
|
|
140
|
+
assetId?: string | null;
|
|
141
|
+
scope: TheEmissionScope;
|
|
142
|
+
co2eTonnes: number;
|
|
143
|
+
periodStart: string;
|
|
144
|
+
periodEnd: string;
|
|
145
|
+
source?: string | null;
|
|
146
|
+
methodology?: string | null;
|
|
147
|
+
verified: boolean;
|
|
148
|
+
verifiedAt?: string | null;
|
|
149
|
+
notes?: string | null;
|
|
150
|
+
workspaceId: string;
|
|
151
|
+
createdAt: string;
|
|
152
|
+
updatedAt: string;
|
|
153
|
+
}
|
|
154
|
+
interface TheComplianceCert {
|
|
155
|
+
id: string;
|
|
156
|
+
title: string;
|
|
157
|
+
category: TheComplianceCategory;
|
|
158
|
+
status: TheComplianceStatus;
|
|
159
|
+
certNumber?: string | null;
|
|
160
|
+
authority?: string | null;
|
|
161
|
+
assetId?: string | null;
|
|
162
|
+
ownerId?: string | null;
|
|
163
|
+
issuedAt?: string | null;
|
|
164
|
+
expiresAt?: string | null;
|
|
165
|
+
notes?: string | null;
|
|
166
|
+
tags: string[];
|
|
167
|
+
workspaceId: string;
|
|
168
|
+
createdAt: string;
|
|
169
|
+
updatedAt: string;
|
|
170
|
+
evidence?: TheFileRef | null;
|
|
171
|
+
}
|
|
172
|
+
interface ThePageInfo {
|
|
173
|
+
cursor?: string | null;
|
|
174
|
+
hasMore: boolean;
|
|
175
|
+
}
|
|
176
|
+
interface TheAssetConnection {
|
|
177
|
+
items: TheAsset[];
|
|
178
|
+
pageInfo: ThePageInfo;
|
|
179
|
+
}
|
|
180
|
+
interface TheOfftakeContractConnection {
|
|
181
|
+
items: TheOfftakeContract[];
|
|
182
|
+
pageInfo: ThePageInfo;
|
|
183
|
+
}
|
|
184
|
+
interface TheInventoryLotConnection {
|
|
185
|
+
items: TheInventoryLot[];
|
|
186
|
+
pageInfo: ThePageInfo;
|
|
187
|
+
}
|
|
188
|
+
interface TheProductionRecordConnection {
|
|
189
|
+
items: TheProductionRecord[];
|
|
190
|
+
pageInfo: ThePageInfo;
|
|
191
|
+
}
|
|
192
|
+
interface TheEmissionRecordConnection {
|
|
193
|
+
items: TheEmissionRecord[];
|
|
194
|
+
pageInfo: ThePageInfo;
|
|
195
|
+
}
|
|
196
|
+
interface ThePaginationInput {
|
|
197
|
+
cursor?: string;
|
|
198
|
+
limit?: number;
|
|
199
|
+
offset?: number;
|
|
200
|
+
}
|
|
201
|
+
interface TheCreateAssetInput {
|
|
202
|
+
name: string;
|
|
203
|
+
commodity: TheCommodityType;
|
|
204
|
+
capacityPerDay?: number;
|
|
205
|
+
capacityUnit?: TheUnit;
|
|
206
|
+
code?: string;
|
|
207
|
+
commissionedAt?: string;
|
|
208
|
+
kind?: TheAssetKind;
|
|
209
|
+
latitude?: number;
|
|
210
|
+
location?: string;
|
|
211
|
+
longitude?: number;
|
|
212
|
+
operatorLeadId?: string;
|
|
213
|
+
status?: TheAssetStatus;
|
|
214
|
+
tags?: string[];
|
|
215
|
+
workingInterestPct?: number;
|
|
216
|
+
}
|
|
217
|
+
interface TheUpdateAssetInput {
|
|
218
|
+
name?: string;
|
|
219
|
+
commodity?: TheCommodityType;
|
|
220
|
+
capacityPerDay?: number;
|
|
221
|
+
capacityUnit?: TheUnit;
|
|
222
|
+
code?: string;
|
|
223
|
+
commissionedAt?: string;
|
|
224
|
+
decommissionedAt?: string;
|
|
225
|
+
kind?: TheAssetKind;
|
|
226
|
+
latitude?: number;
|
|
227
|
+
location?: string;
|
|
228
|
+
longitude?: number;
|
|
229
|
+
operatorLeadId?: string;
|
|
230
|
+
tags?: string[];
|
|
231
|
+
workingInterestPct?: number;
|
|
232
|
+
}
|
|
233
|
+
interface TheCreateComplianceCertInput {
|
|
234
|
+
title: string;
|
|
235
|
+
assetId?: string;
|
|
236
|
+
authority?: string;
|
|
237
|
+
category?: TheComplianceCategory;
|
|
238
|
+
certNumber?: string;
|
|
239
|
+
evidenceFileId?: string;
|
|
240
|
+
expiresAt?: string;
|
|
241
|
+
issuedAt?: string;
|
|
242
|
+
notes?: string;
|
|
243
|
+
ownerId?: string;
|
|
244
|
+
tags?: string[];
|
|
245
|
+
}
|
|
246
|
+
interface TheCreateOfftakeContractInput {
|
|
247
|
+
commodity: TheCommodityType;
|
|
248
|
+
counterparty: string;
|
|
249
|
+
reference: string;
|
|
250
|
+
contractedVolume?: number;
|
|
251
|
+
currency?: string;
|
|
252
|
+
deliveryLocation?: string;
|
|
253
|
+
endDate?: string;
|
|
254
|
+
notes?: string;
|
|
255
|
+
priceIndex?: string;
|
|
256
|
+
pricePerUnit?: number;
|
|
257
|
+
pricingBasis?: ThePricingBasis;
|
|
258
|
+
side?: TheContractSide;
|
|
259
|
+
startDate?: string;
|
|
260
|
+
tags?: string[];
|
|
261
|
+
unit?: TheUnit;
|
|
262
|
+
}
|
|
263
|
+
interface TheUpdateOfftakeContractInput {
|
|
264
|
+
contractedVolume?: number;
|
|
265
|
+
counterparty?: string;
|
|
266
|
+
currency?: string;
|
|
267
|
+
deliveryLocation?: string;
|
|
268
|
+
endDate?: string;
|
|
269
|
+
notes?: string;
|
|
270
|
+
priceIndex?: string;
|
|
271
|
+
pricePerUnit?: number;
|
|
272
|
+
pricingBasis?: ThePricingBasis;
|
|
273
|
+
startDate?: string;
|
|
274
|
+
tags?: string[];
|
|
275
|
+
unit?: TheUnit;
|
|
276
|
+
}
|
|
277
|
+
interface TheCreateInventoryLotInput {
|
|
278
|
+
commodity: TheCommodityType;
|
|
279
|
+
lotCode: string;
|
|
280
|
+
quantity: number;
|
|
281
|
+
assetId?: string;
|
|
282
|
+
currency?: string;
|
|
283
|
+
grade?: number;
|
|
284
|
+
location?: string;
|
|
285
|
+
notes?: string;
|
|
286
|
+
producedAt?: string;
|
|
287
|
+
unit?: TheUnit;
|
|
288
|
+
unitValue?: number;
|
|
289
|
+
}
|
|
290
|
+
interface TheCreateReserveEstimateInput {
|
|
291
|
+
asOfDate: string;
|
|
292
|
+
assetId: string;
|
|
293
|
+
recoverable: number;
|
|
294
|
+
category?: TheReserveCategory;
|
|
295
|
+
methodology?: string;
|
|
296
|
+
notes?: string;
|
|
297
|
+
recoveryFactor?: number;
|
|
298
|
+
unit?: TheUnit;
|
|
299
|
+
}
|
|
300
|
+
interface TheCreateShipmentInput {
|
|
301
|
+
contractId: string;
|
|
302
|
+
reference: string;
|
|
303
|
+
volume: number;
|
|
304
|
+
carrier?: string;
|
|
305
|
+
destination?: string;
|
|
306
|
+
documentFileId?: string;
|
|
307
|
+
mode?: TheTransportMode;
|
|
308
|
+
notes?: string;
|
|
309
|
+
origin?: string;
|
|
310
|
+
scheduledAt?: string;
|
|
311
|
+
unit?: TheUnit;
|
|
312
|
+
}
|
|
313
|
+
interface TheRecordEmissionInput {
|
|
314
|
+
co2eTonnes: number;
|
|
315
|
+
periodEnd: string;
|
|
316
|
+
periodStart: string;
|
|
317
|
+
assetId?: string;
|
|
318
|
+
methodology?: string;
|
|
319
|
+
notes?: string;
|
|
320
|
+
scope?: TheEmissionScope;
|
|
321
|
+
source?: string;
|
|
322
|
+
}
|
|
323
|
+
interface TheRecordProductionInput {
|
|
324
|
+
assetId: string;
|
|
325
|
+
periodEnd: string;
|
|
326
|
+
periodStart: string;
|
|
327
|
+
volume: number;
|
|
328
|
+
downtimeHours?: number;
|
|
329
|
+
grade?: number;
|
|
330
|
+
notes?: string;
|
|
331
|
+
unit?: TheUnit;
|
|
332
|
+
}
|
|
333
|
+
|
|
334
|
+
interface TheAssetsApi {
|
|
335
|
+
get(id: string): Promise<TheAsset | null>;
|
|
336
|
+
list(commodity?: TheCommodityType, kind?: TheAssetKind, pagination?: ThePaginationInput, status?: TheAssetStatus): Promise<TheAssetConnection>;
|
|
337
|
+
create(input: TheCreateAssetInput): Promise<TheAsset>;
|
|
338
|
+
update(id: string, input: TheUpdateAssetInput): Promise<TheAsset>;
|
|
339
|
+
transition(id: string, status: TheAssetStatus): Promise<TheAsset>;
|
|
340
|
+
retire(id: string): Promise<boolean>;
|
|
341
|
+
}
|
|
342
|
+
interface TheProductionApi {
|
|
343
|
+
list(assetId?: string, pagination?: ThePaginationInput): Promise<TheProductionRecordConnection>;
|
|
344
|
+
record(input: TheRecordProductionInput): Promise<TheProductionRecord>;
|
|
345
|
+
}
|
|
346
|
+
interface TheReservesApi {
|
|
347
|
+
list(assetId?: string, category?: TheReserveCategory): Promise<TheReserveEstimate[]>;
|
|
348
|
+
create(input: TheCreateReserveEstimateInput): Promise<TheReserveEstimate>;
|
|
349
|
+
}
|
|
350
|
+
interface TheContractsApi {
|
|
351
|
+
get(id: string): Promise<TheOfftakeContract | null>;
|
|
352
|
+
list(commodity?: TheCommodityType, pagination?: ThePaginationInput, side?: TheContractSide, status?: TheContractStatus): Promise<TheOfftakeContractConnection>;
|
|
353
|
+
create(input: TheCreateOfftakeContractInput): Promise<TheOfftakeContract>;
|
|
354
|
+
update(id: string, input: TheUpdateOfftakeContractInput): Promise<TheOfftakeContract>;
|
|
355
|
+
transition(id: string, status: TheContractStatus): Promise<TheOfftakeContract>;
|
|
356
|
+
}
|
|
357
|
+
interface TheShipmentsApi {
|
|
358
|
+
list(contractId?: string, status?: TheShipmentStatus): Promise<TheShipment[]>;
|
|
359
|
+
schedule(input: TheCreateShipmentInput): Promise<TheShipment>;
|
|
360
|
+
deliver(id: string): Promise<TheShipment>;
|
|
361
|
+
}
|
|
362
|
+
interface TheInventoryApi {
|
|
363
|
+
list(commodity?: TheCommodityType, pagination?: ThePaginationInput, status?: TheInventoryStatus): Promise<TheInventoryLotConnection>;
|
|
364
|
+
create(input: TheCreateInventoryLotInput): Promise<TheInventoryLot>;
|
|
365
|
+
setStatus(id: string, status: TheInventoryStatus): Promise<TheInventoryLot>;
|
|
366
|
+
}
|
|
367
|
+
interface TheEmissionsApi {
|
|
368
|
+
list(assetId?: string, pagination?: ThePaginationInput, scope?: TheEmissionScope): Promise<TheEmissionRecordConnection>;
|
|
369
|
+
record(input: TheRecordEmissionInput): Promise<TheEmissionRecord>;
|
|
370
|
+
verify(id: string): Promise<TheEmissionRecord>;
|
|
371
|
+
}
|
|
372
|
+
interface TheComplianceApi {
|
|
373
|
+
get(id: string): Promise<TheComplianceCert | null>;
|
|
374
|
+
list(assetId?: string, category?: TheComplianceCategory, status?: TheComplianceStatus): Promise<TheComplianceCert[]>;
|
|
375
|
+
create(input: TheCreateComplianceCertInput): Promise<TheComplianceCert>;
|
|
376
|
+
transition(id: string, status: TheComplianceStatus): Promise<TheComplianceCert>;
|
|
377
|
+
}
|
|
378
|
+
interface TheSystemApi {
|
|
379
|
+
health(): Promise<string>;
|
|
380
|
+
}
|
|
381
|
+
interface TheglobalfuelApi {
|
|
382
|
+
assets: TheAssetsApi;
|
|
383
|
+
production: TheProductionApi;
|
|
384
|
+
reserves: TheReservesApi;
|
|
385
|
+
contracts: TheContractsApi;
|
|
386
|
+
shipments: TheShipmentsApi;
|
|
387
|
+
inventory: TheInventoryApi;
|
|
388
|
+
emissions: TheEmissionsApi;
|
|
389
|
+
compliance: TheComplianceApi;
|
|
390
|
+
system: TheSystemApi;
|
|
391
|
+
}
|
|
392
|
+
|
|
393
|
+
declare const theglobalfuelModule: SdkModule<TheglobalfuelApi>;
|
|
394
|
+
|
|
395
|
+
export { type TheAsset, type TheAssetConnection, type TheAssetKind, type TheAssetStatus, type TheAssetsApi, type TheCommodityType, type TheComplianceApi, type TheComplianceCategory, type TheComplianceCert, type TheComplianceStatus, type TheContractSide, type TheContractStatus, type TheContractsApi, type TheCreateAssetInput, type TheCreateComplianceCertInput, type TheCreateInventoryLotInput, type TheCreateOfftakeContractInput, type TheCreateReserveEstimateInput, type TheCreateShipmentInput, type TheEmissionRecord, type TheEmissionRecordConnection, type TheEmissionScope, type TheEmissionsApi, type TheFileRef, type TheInventoryApi, type TheInventoryLot, type TheInventoryLotConnection, type TheInventoryStatus, type TheOfftakeContract, type TheOfftakeContractConnection, type ThePageInfo, type ThePaginationInput, type ThePricingBasis, type TheProductionApi, type TheProductionRecord, type TheProductionRecordConnection, type TheRecordEmissionInput, type TheRecordProductionInput, type TheReserveCategory, type TheReserveEstimate, type TheReservesApi, type TheShipment, type TheShipmentStatus, type TheShipmentsApi, type TheSystemApi, type TheTransportMode, type TheUnit, type TheUpdateAssetInput, type TheUpdateOfftakeContractInput, type TheglobalfuelApi, theglobalfuelModule as default };
|
|
@@ -0,0 +1,265 @@
|
|
|
1
|
+
var h=`
|
|
2
|
+
fragment AssetScalars on TheAsset {
|
|
3
|
+
id name code commodity kind status
|
|
4
|
+
capacityPerDay capacityUnit workingInterestPct
|
|
5
|
+
location latitude longitude operatorLeadId
|
|
6
|
+
commissionedAt decommissionedAt
|
|
7
|
+
tags workspaceId createdAt updatedAt
|
|
8
|
+
}
|
|
9
|
+
`,S=`
|
|
10
|
+
fragment ProductionScalars on TheProductionRecord {
|
|
11
|
+
id assetId volume unit grade downtimeHours
|
|
12
|
+
periodStart periodEnd notes workspaceId createdAt updatedAt
|
|
13
|
+
}
|
|
14
|
+
`,I=`
|
|
15
|
+
fragment ReserveScalars on TheReserveEstimate {
|
|
16
|
+
id assetId category recoverable recoveryFactor unit asOfDate
|
|
17
|
+
methodology notes workspaceId createdAt updatedAt
|
|
18
|
+
}
|
|
19
|
+
`,l=`
|
|
20
|
+
fragment ContractScalars on TheOfftakeContract {
|
|
21
|
+
id reference counterparty side commodity status
|
|
22
|
+
contractedVolume deliveredVolume unit pricingBasis pricePerUnit priceIndex
|
|
23
|
+
currency deliveryLocation startDate endDate signedAt notes
|
|
24
|
+
tags workspaceId createdAt updatedAt
|
|
25
|
+
}
|
|
26
|
+
`,A=`
|
|
27
|
+
fragment ShipmentScalars on TheShipment {
|
|
28
|
+
id reference contractId status mode volume unit
|
|
29
|
+
origin destination carrier scheduledAt departedAt deliveredAt notes
|
|
30
|
+
workspaceId createdAt updatedAt
|
|
31
|
+
document { id }
|
|
32
|
+
}
|
|
33
|
+
`,p=`
|
|
34
|
+
fragment InventoryFields on TheInventoryLot {
|
|
35
|
+
id lotCode commodity status quantity unit grade unitValue currency
|
|
36
|
+
location assetId producedAt notes workspaceId createdAt updatedAt
|
|
37
|
+
}
|
|
38
|
+
`,d=`
|
|
39
|
+
fragment EmissionFields on TheEmissionRecord {
|
|
40
|
+
id assetId scope co2eTonnes periodStart periodEnd
|
|
41
|
+
source methodology verified verifiedAt notes
|
|
42
|
+
workspaceId createdAt updatedAt
|
|
43
|
+
}
|
|
44
|
+
`,c=`
|
|
45
|
+
fragment ComplianceFields on TheComplianceCert {
|
|
46
|
+
id title category status certNumber authority assetId ownerId
|
|
47
|
+
issuedAt expiresAt notes tags workspaceId createdAt updatedAt
|
|
48
|
+
evidence { id }
|
|
49
|
+
}
|
|
50
|
+
`,a=`
|
|
51
|
+
${h}
|
|
52
|
+
${S}
|
|
53
|
+
${I}
|
|
54
|
+
fragment AssetFull on TheAsset {
|
|
55
|
+
...AssetScalars
|
|
56
|
+
productionRecords { ...ProductionScalars }
|
|
57
|
+
reserveEstimates { ...ReserveScalars }
|
|
58
|
+
}
|
|
59
|
+
`,E=`
|
|
60
|
+
${S}
|
|
61
|
+
${h}
|
|
62
|
+
fragment ProductionFull on TheProductionRecord {
|
|
63
|
+
...ProductionScalars
|
|
64
|
+
asset { ...AssetScalars }
|
|
65
|
+
}
|
|
66
|
+
`,y=`
|
|
67
|
+
${I}
|
|
68
|
+
${h}
|
|
69
|
+
fragment ReserveFull on TheReserveEstimate {
|
|
70
|
+
...ReserveScalars
|
|
71
|
+
asset { ...AssetScalars }
|
|
72
|
+
}
|
|
73
|
+
`,i=`
|
|
74
|
+
${l}
|
|
75
|
+
${A}
|
|
76
|
+
fragment ContractFull on TheOfftakeContract {
|
|
77
|
+
...ContractScalars
|
|
78
|
+
shipments { ...ShipmentScalars }
|
|
79
|
+
}
|
|
80
|
+
`,u=`
|
|
81
|
+
${A}
|
|
82
|
+
${l}
|
|
83
|
+
fragment ShipmentFull on TheShipment {
|
|
84
|
+
...ShipmentScalars
|
|
85
|
+
contract { ...ContractScalars }
|
|
86
|
+
}
|
|
87
|
+
`,r="pageInfo { cursor hasMore }",R=`
|
|
88
|
+
${a}
|
|
89
|
+
query TheAsset($id: ID!) {
|
|
90
|
+
theAsset(id: $id) { ...AssetFull }
|
|
91
|
+
}
|
|
92
|
+
`,$=`
|
|
93
|
+
${a}
|
|
94
|
+
query TheListAssets(
|
|
95
|
+
$commodity: TheCommodityType
|
|
96
|
+
$kind: TheAssetKind
|
|
97
|
+
$pagination: PaginationInput
|
|
98
|
+
$status: TheAssetStatus
|
|
99
|
+
) {
|
|
100
|
+
theListAssets(commodity: $commodity, kind: $kind, pagination: $pagination, status: $status) {
|
|
101
|
+
items { ...AssetFull }
|
|
102
|
+
${r}
|
|
103
|
+
}
|
|
104
|
+
}
|
|
105
|
+
`,L=`
|
|
106
|
+
${a}
|
|
107
|
+
mutation TheCreateAsset($input: TheCreateAssetInput!) {
|
|
108
|
+
theCreateAsset(input: $input) { ...AssetFull }
|
|
109
|
+
}
|
|
110
|
+
`,g=`
|
|
111
|
+
${a}
|
|
112
|
+
mutation TheUpdateAsset($id: ID!, $input: TheUpdateAssetInput!) {
|
|
113
|
+
theUpdateAsset(id: $id, input: $input) { ...AssetFull }
|
|
114
|
+
}
|
|
115
|
+
`,P=`
|
|
116
|
+
${a}
|
|
117
|
+
mutation TheTransitionAsset($id: ID!, $status: TheAssetStatus!) {
|
|
118
|
+
theTransitionAsset(id: $id, status: $status) { ...AssetFull }
|
|
119
|
+
}
|
|
120
|
+
`,v=`
|
|
121
|
+
mutation TheRetireAsset($id: ID!) {
|
|
122
|
+
theRetireAsset(id: $id)
|
|
123
|
+
}
|
|
124
|
+
`,f=`
|
|
125
|
+
${E}
|
|
126
|
+
query TheListProductionRecords($assetId: ID, $pagination: PaginationInput) {
|
|
127
|
+
theListProductionRecords(assetId: $assetId, pagination: $pagination) {
|
|
128
|
+
items { ...ProductionFull }
|
|
129
|
+
${r}
|
|
130
|
+
}
|
|
131
|
+
}
|
|
132
|
+
`,_=`
|
|
133
|
+
${E}
|
|
134
|
+
mutation TheRecordProduction($input: TheRecordProductionInput!) {
|
|
135
|
+
theRecordProduction(input: $input) { ...ProductionFull }
|
|
136
|
+
}
|
|
137
|
+
`,O=`
|
|
138
|
+
${y}
|
|
139
|
+
query TheListReserveEstimates($assetId: ID, $category: TheReserveCategory) {
|
|
140
|
+
theListReserveEstimates(assetId: $assetId, category: $category) { ...ReserveFull }
|
|
141
|
+
}
|
|
142
|
+
`,N=`
|
|
143
|
+
${y}
|
|
144
|
+
mutation TheCreateReserveEstimate($input: TheCreateReserveEstimateInput!) {
|
|
145
|
+
theCreateReserveEstimate(input: $input) { ...ReserveFull }
|
|
146
|
+
}
|
|
147
|
+
`,D=`
|
|
148
|
+
${i}
|
|
149
|
+
query TheContract($id: ID!) {
|
|
150
|
+
theContract(id: $id) { ...ContractFull }
|
|
151
|
+
}
|
|
152
|
+
`,F=`
|
|
153
|
+
${i}
|
|
154
|
+
query TheListContracts(
|
|
155
|
+
$commodity: TheCommodityType
|
|
156
|
+
$pagination: PaginationInput
|
|
157
|
+
$side: TheContractSide
|
|
158
|
+
$status: TheContractStatus
|
|
159
|
+
) {
|
|
160
|
+
theListContracts(commodity: $commodity, pagination: $pagination, side: $side, status: $status) {
|
|
161
|
+
items { ...ContractFull }
|
|
162
|
+
${r}
|
|
163
|
+
}
|
|
164
|
+
}
|
|
165
|
+
`,x=`
|
|
166
|
+
${i}
|
|
167
|
+
mutation TheCreateContract($input: TheCreateOfftakeContractInput!) {
|
|
168
|
+
theCreateContract(input: $input) { ...ContractFull }
|
|
169
|
+
}
|
|
170
|
+
`,k=`
|
|
171
|
+
${i}
|
|
172
|
+
mutation TheUpdateContract($id: ID!, $input: TheUpdateOfftakeContractInput!) {
|
|
173
|
+
theUpdateContract(id: $id, input: $input) { ...ContractFull }
|
|
174
|
+
}
|
|
175
|
+
`,q=`
|
|
176
|
+
${i}
|
|
177
|
+
mutation TheTransitionContract($id: ID!, $status: TheContractStatus!) {
|
|
178
|
+
theTransitionContract(id: $id, status: $status) { ...ContractFull }
|
|
179
|
+
}
|
|
180
|
+
`,w=`
|
|
181
|
+
${u}
|
|
182
|
+
query TheListShipments($contractId: ID, $status: TheShipmentStatus) {
|
|
183
|
+
theListShipments(contractId: $contractId, status: $status) { ...ShipmentFull }
|
|
184
|
+
}
|
|
185
|
+
`,U=`
|
|
186
|
+
${u}
|
|
187
|
+
mutation TheScheduleShipment($input: TheCreateShipmentInput!) {
|
|
188
|
+
theScheduleShipment(input: $input) { ...ShipmentFull }
|
|
189
|
+
}
|
|
190
|
+
`,M=`
|
|
191
|
+
${u}
|
|
192
|
+
mutation TheDeliverShipment($id: ID!) {
|
|
193
|
+
theDeliverShipment(id: $id) { ...ShipmentFull }
|
|
194
|
+
}
|
|
195
|
+
`,V=`
|
|
196
|
+
${p}
|
|
197
|
+
query TheListInventoryLots(
|
|
198
|
+
$commodity: TheCommodityType
|
|
199
|
+
$pagination: PaginationInput
|
|
200
|
+
$status: TheInventoryStatus
|
|
201
|
+
) {
|
|
202
|
+
theListInventoryLots(commodity: $commodity, pagination: $pagination, status: $status) {
|
|
203
|
+
items { ...InventoryFields }
|
|
204
|
+
${r}
|
|
205
|
+
}
|
|
206
|
+
}
|
|
207
|
+
`,H=`
|
|
208
|
+
${p}
|
|
209
|
+
mutation TheCreateInventoryLot($input: TheCreateInventoryLotInput!) {
|
|
210
|
+
theCreateInventoryLot(input: $input) { ...InventoryFields }
|
|
211
|
+
}
|
|
212
|
+
`,b=`
|
|
213
|
+
${p}
|
|
214
|
+
mutation TheSetInventoryLotStatus($id: ID!, $status: TheInventoryStatus!) {
|
|
215
|
+
theSetInventoryLotStatus(id: $id, status: $status) { ...InventoryFields }
|
|
216
|
+
}
|
|
217
|
+
`,Y=`
|
|
218
|
+
${d}
|
|
219
|
+
query TheListEmissionRecords(
|
|
220
|
+
$assetId: ID
|
|
221
|
+
$pagination: PaginationInput
|
|
222
|
+
$scope: TheEmissionScope
|
|
223
|
+
) {
|
|
224
|
+
theListEmissionRecords(assetId: $assetId, pagination: $pagination, scope: $scope) {
|
|
225
|
+
items { ...EmissionFields }
|
|
226
|
+
${r}
|
|
227
|
+
}
|
|
228
|
+
}
|
|
229
|
+
`,G=`
|
|
230
|
+
${d}
|
|
231
|
+
mutation TheRecordEmission($input: TheRecordEmissionInput!) {
|
|
232
|
+
theRecordEmission(input: $input) { ...EmissionFields }
|
|
233
|
+
}
|
|
234
|
+
`,j=`
|
|
235
|
+
${d}
|
|
236
|
+
mutation TheVerifyEmission($id: ID!) {
|
|
237
|
+
theVerifyEmission(id: $id) { ...EmissionFields }
|
|
238
|
+
}
|
|
239
|
+
`,K=`
|
|
240
|
+
${c}
|
|
241
|
+
query TheComplianceCert($id: ID!) {
|
|
242
|
+
theComplianceCert(id: $id) { ...ComplianceFields }
|
|
243
|
+
}
|
|
244
|
+
`,B=`
|
|
245
|
+
${c}
|
|
246
|
+
query TheListComplianceCerts(
|
|
247
|
+
$assetId: ID
|
|
248
|
+
$category: TheComplianceCategory
|
|
249
|
+
$status: TheComplianceStatus
|
|
250
|
+
) {
|
|
251
|
+
theListComplianceCerts(assetId: $assetId, category: $category, status: $status) {
|
|
252
|
+
...ComplianceFields
|
|
253
|
+
}
|
|
254
|
+
}
|
|
255
|
+
`,z=`
|
|
256
|
+
${c}
|
|
257
|
+
mutation TheCreateComplianceCert($input: TheCreateComplianceCertInput!) {
|
|
258
|
+
theCreateComplianceCert(input: $input) { ...ComplianceFields }
|
|
259
|
+
}
|
|
260
|
+
`,J=`
|
|
261
|
+
${c}
|
|
262
|
+
mutation TheTransitionComplianceCert($id: ID!, $status: TheComplianceStatus!) {
|
|
263
|
+
theTransitionComplianceCert(id: $id, status: $status) { ...ComplianceFields }
|
|
264
|
+
}
|
|
265
|
+
`,Q="query TheHealth { theHealth }";function W(T){let{workspace:s}=T.gql;return {assets:{async get(t){return (await s.request(R,{id:t})).theAsset},async list(t,e,n,o){return (await s.request($,{commodity:t,kind:e,pagination:n,status:o})).theListAssets},async create(t){return (await s.request(L,{input:t})).theCreateAsset},async update(t,e){return (await s.request(g,{id:t,input:e})).theUpdateAsset},async transition(t,e){return (await s.request(P,{id:t,status:e})).theTransitionAsset},async retire(t){return (await s.request(v,{id:t})).theRetireAsset}},production:{async list(t,e){return (await s.request(f,{assetId:t,pagination:e})).theListProductionRecords},async record(t){return (await s.request(_,{input:t})).theRecordProduction}},reserves:{async list(t,e){return (await s.request(O,{assetId:t,category:e})).theListReserveEstimates},async create(t){return (await s.request(N,{input:t})).theCreateReserveEstimate}},contracts:{async get(t){return (await s.request(D,{id:t})).theContract},async list(t,e,n,o){return (await s.request(F,{commodity:t,pagination:e,side:n,status:o})).theListContracts},async create(t){return (await s.request(x,{input:t})).theCreateContract},async update(t,e){return (await s.request(k,{id:t,input:e})).theUpdateContract},async transition(t,e){return (await s.request(q,{id:t,status:e})).theTransitionContract}},shipments:{async list(t,e){return (await s.request(w,{contractId:t,status:e})).theListShipments},async schedule(t){return (await s.request(U,{input:t})).theScheduleShipment},async deliver(t){return (await s.request(M,{id:t})).theDeliverShipment}},inventory:{async list(t,e,n){return (await s.request(V,{commodity:t,pagination:e,status:n})).theListInventoryLots},async create(t){return (await s.request(H,{input:t})).theCreateInventoryLot},async setStatus(t,e){return (await s.request(b,{id:t,status:e})).theSetInventoryLotStatus}},emissions:{async list(t,e,n){return (await s.request(Y,{assetId:t,pagination:e,scope:n})).theListEmissionRecords},async record(t){return (await s.request(G,{input:t})).theRecordEmission},async verify(t){return (await s.request(j,{id:t})).theVerifyEmission}},compliance:{async get(t){return (await s.request(K,{id:t})).theComplianceCert},async list(t,e,n){return (await s.request(B,{assetId:t,category:e,status:n})).theListComplianceCerts},async create(t){return (await s.request(z,{input:t})).theCreateComplianceCert},async transition(t,e){return (await s.request(J,{id:t,status:e})).theTransitionComplianceCert}},system:{async health(){return (await s.request(Q)).theHealth}}}}var Z={id:"theglobalfuel",version:"1.0.0",displayName:"TheGlobalFuel",dependsOn:["auth"],attach(T){return W(T)}},mt=Z;export{mt as default};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@burdenoff/sdk-libs",
|
|
3
|
-
"version": "2026.627.
|
|
3
|
+
"version": "2026.627.5",
|
|
4
4
|
"description": "Modular SDK library shared across all Burdenoff product SDKs (vibecontrols, botlit, fluidgrids, bigconsole, healthybowl, devportal, workspaces). Each module exports an SdkModule contract with attach(ctx) returning a typed API; product SDKs become thin shells that pick which modules to mount. Sister to @burdenoff/cli-sdk.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/index.cjs",
|