@zerocarbon/erp-config-sdk 1.0.16 → 1.0.18
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/index.d.ts +111 -31
- package/dist/index.esm.js +1119 -1703
- package/dist/index.esm.js.map +1 -1
- package/dist/index.js +1119 -1703
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -949,7 +949,7 @@ type Product = {
|
|
|
949
949
|
unit: string;
|
|
950
950
|
type: string;
|
|
951
951
|
calorificValue: number;
|
|
952
|
-
emissionFactor: number;
|
|
952
|
+
emissionFactor: number | string;
|
|
953
953
|
energyConversionFactor?: number;
|
|
954
954
|
};
|
|
955
955
|
type Scope = {
|
|
@@ -964,7 +964,7 @@ type Scope = {
|
|
|
964
964
|
};
|
|
965
965
|
type EmissionItem$k = {
|
|
966
966
|
item: string;
|
|
967
|
-
emissionFactor: number;
|
|
967
|
+
emissionFactor: number | string;
|
|
968
968
|
unit: string;
|
|
969
969
|
};
|
|
970
970
|
type EquipmentCategory$6 = {
|
|
@@ -986,12 +986,12 @@ type BackendProduct = {
|
|
|
986
986
|
unit: string;
|
|
987
987
|
type: string;
|
|
988
988
|
calorificValue: number;
|
|
989
|
-
emissionFactor: number;
|
|
989
|
+
emissionFactor: number | string;
|
|
990
990
|
energyConversionFactor?: number;
|
|
991
991
|
};
|
|
992
992
|
type BackendEmissionItem = {
|
|
993
993
|
item: string;
|
|
994
|
-
emissionFactor: number;
|
|
994
|
+
emissionFactor: number | string;
|
|
995
995
|
unit: string;
|
|
996
996
|
};
|
|
997
997
|
type BackendEquipmentCategory = {
|
|
@@ -1352,19 +1352,28 @@ declare const CCTS_SF6_PRODUCTS: {
|
|
|
1352
1352
|
emissionFactorUnit: string;
|
|
1353
1353
|
type: string;
|
|
1354
1354
|
}[];
|
|
1355
|
-
declare const CCTS_ELECTRICITY_PRODUCTS: {
|
|
1355
|
+
declare const CCTS_ELECTRICITY_PRODUCTS: ({
|
|
1356
1356
|
name: string;
|
|
1357
1357
|
unit: string;
|
|
1358
1358
|
emissionFactor: number;
|
|
1359
1359
|
emissionFactorUnit: string;
|
|
1360
1360
|
type: string;
|
|
1361
|
-
|
|
1361
|
+
source: string;
|
|
1362
|
+
} | {
|
|
1363
|
+
name: string;
|
|
1364
|
+
unit: string;
|
|
1365
|
+
emissionFactor: number;
|
|
1366
|
+
emissionFactorUnit: string;
|
|
1367
|
+
type: string;
|
|
1368
|
+
source?: undefined;
|
|
1369
|
+
})[];
|
|
1362
1370
|
declare const CCTS_PURCHASED_ELECTRICITY: {
|
|
1363
1371
|
name: string;
|
|
1364
1372
|
unit: string;
|
|
1365
1373
|
emissionFactor: number;
|
|
1366
1374
|
emissionFactorUnit: string;
|
|
1367
1375
|
type: string;
|
|
1376
|
+
source: string;
|
|
1368
1377
|
}[];
|
|
1369
1378
|
declare const CCTS_SCOPE1_CEMENT: ({
|
|
1370
1379
|
name: string;
|
|
@@ -1438,13 +1447,21 @@ declare const CCTS_SCOPE2_CEMENT: {
|
|
|
1438
1447
|
icon: react_icons_lib.IconType;
|
|
1439
1448
|
scope: string;
|
|
1440
1449
|
unit: string;
|
|
1441
|
-
subProducts: {
|
|
1450
|
+
subProducts: ({
|
|
1442
1451
|
name: string;
|
|
1443
1452
|
unit: string;
|
|
1444
1453
|
emissionFactor: number;
|
|
1445
1454
|
emissionFactorUnit: string;
|
|
1446
1455
|
type: string;
|
|
1447
|
-
|
|
1456
|
+
source: string;
|
|
1457
|
+
} | {
|
|
1458
|
+
name: string;
|
|
1459
|
+
unit: string;
|
|
1460
|
+
emissionFactor: number;
|
|
1461
|
+
emissionFactorUnit: string;
|
|
1462
|
+
type: string;
|
|
1463
|
+
source?: undefined;
|
|
1464
|
+
})[];
|
|
1448
1465
|
desc: string;
|
|
1449
1466
|
group: string;
|
|
1450
1467
|
}[];
|
|
@@ -2353,16 +2370,29 @@ declare const ALLSCOPES_BATTERY_EV: ({
|
|
|
2353
2370
|
desc: string;
|
|
2354
2371
|
})[];
|
|
2355
2372
|
|
|
2356
|
-
declare const FUEL_COMBUSTION_PYRO_PROCESS_PRODUCTS: {
|
|
2373
|
+
declare const FUEL_COMBUSTION_PYRO_PROCESS_PRODUCTS: ({
|
|
2357
2374
|
name: string;
|
|
2358
2375
|
unit: string;
|
|
2359
2376
|
emissionFactor: number;
|
|
2360
2377
|
calorificValue: number;
|
|
2361
2378
|
type: string;
|
|
2379
|
+
ncv: number;
|
|
2380
|
+
ncvUnit: string;
|
|
2362
2381
|
energyConversionFactor: number;
|
|
2363
2382
|
ch4EmissionFactor: number;
|
|
2364
2383
|
n2oEmissionFactor: number;
|
|
2365
|
-
}
|
|
2384
|
+
} | {
|
|
2385
|
+
name: string;
|
|
2386
|
+
unit: string;
|
|
2387
|
+
emissionFactor: number;
|
|
2388
|
+
calorificValue: number;
|
|
2389
|
+
type: string;
|
|
2390
|
+
ch4EmissionFactor: number;
|
|
2391
|
+
n2oEmissionFactor: number;
|
|
2392
|
+
ncv?: undefined;
|
|
2393
|
+
ncvUnit?: undefined;
|
|
2394
|
+
energyConversionFactor?: undefined;
|
|
2395
|
+
})[];
|
|
2366
2396
|
declare const CALCINATION_PROCESS_PRODUCTS: {
|
|
2367
2397
|
name: string;
|
|
2368
2398
|
unit: string;
|
|
@@ -2370,30 +2400,61 @@ declare const CALCINATION_PROCESS_PRODUCTS: {
|
|
|
2370
2400
|
calorificValue: number;
|
|
2371
2401
|
type: string;
|
|
2372
2402
|
}[];
|
|
2373
|
-
declare const MINING_OPERATIONS_PRODUCTS: {
|
|
2403
|
+
declare const MINING_OPERATIONS_PRODUCTS: ({
|
|
2374
2404
|
name: string;
|
|
2375
2405
|
unit: string;
|
|
2376
2406
|
emissionFactor: number;
|
|
2377
2407
|
calorificValue: number;
|
|
2378
2408
|
type: string;
|
|
2409
|
+
ncv: number;
|
|
2410
|
+
ncvUnit: string;
|
|
2379
2411
|
energyConversionFactor: number;
|
|
2380
|
-
}
|
|
2381
|
-
declare const ON_SITE_POWER_PRODUCTS: {
|
|
2412
|
+
} | {
|
|
2382
2413
|
name: string;
|
|
2383
2414
|
unit: string;
|
|
2384
2415
|
emissionFactor: number;
|
|
2385
2416
|
calorificValue: number;
|
|
2386
2417
|
type: string;
|
|
2418
|
+
ncv?: undefined;
|
|
2419
|
+
ncvUnit?: undefined;
|
|
2420
|
+
energyConversionFactor?: undefined;
|
|
2421
|
+
})[];
|
|
2422
|
+
declare const ON_SITE_POWER_PRODUCTS: ({
|
|
2423
|
+
name: string;
|
|
2424
|
+
unit: string;
|
|
2425
|
+
emissionFactor: number;
|
|
2426
|
+
calorificValue: number;
|
|
2427
|
+
type: string;
|
|
2428
|
+
ncv: number;
|
|
2429
|
+
ncvUnit: string;
|
|
2387
2430
|
energyConversionFactor: number;
|
|
2388
|
-
}
|
|
2389
|
-
declare const ELECTRICITY_CONSUMED_PRODUCTS: {
|
|
2431
|
+
} | {
|
|
2390
2432
|
name: string;
|
|
2391
2433
|
unit: string;
|
|
2392
2434
|
emissionFactor: number;
|
|
2393
2435
|
calorificValue: number;
|
|
2394
2436
|
type: string;
|
|
2395
2437
|
energyConversionFactor: number;
|
|
2396
|
-
|
|
2438
|
+
ncv?: undefined;
|
|
2439
|
+
ncvUnit?: undefined;
|
|
2440
|
+
})[];
|
|
2441
|
+
declare const ELECTRICITY_CONSUMED_PRODUCTS: ({
|
|
2442
|
+
name: string;
|
|
2443
|
+
unit: string;
|
|
2444
|
+
emissionFactor: number;
|
|
2445
|
+
calorificValue: number;
|
|
2446
|
+
type: string;
|
|
2447
|
+
energyConversionFactor: number;
|
|
2448
|
+
source: string;
|
|
2449
|
+
} | {
|
|
2450
|
+
name: string;
|
|
2451
|
+
unit: string;
|
|
2452
|
+
emissionFactor: number;
|
|
2453
|
+
calorificValue: number;
|
|
2454
|
+
type: string;
|
|
2455
|
+
energyConversionFactor: number;
|
|
2456
|
+
source?: undefined;
|
|
2457
|
+
})[];
|
|
2397
2458
|
declare const LPG_PRODUCTS: {
|
|
2398
2459
|
name: string;
|
|
2399
2460
|
unit: string;
|
|
@@ -2438,14 +2499,23 @@ declare const SCOPE2_CEMENT: {
|
|
|
2438
2499
|
icon: react_icons_lib.IconType;
|
|
2439
2500
|
scope: string;
|
|
2440
2501
|
unit: string;
|
|
2441
|
-
subProducts: {
|
|
2502
|
+
subProducts: ({
|
|
2442
2503
|
name: string;
|
|
2443
2504
|
unit: string;
|
|
2444
2505
|
type: string;
|
|
2445
2506
|
renewable: boolean;
|
|
2446
2507
|
calorificValue: number;
|
|
2447
2508
|
emissionFactor: number;
|
|
2448
|
-
|
|
2509
|
+
source: string;
|
|
2510
|
+
} | {
|
|
2511
|
+
name: string;
|
|
2512
|
+
unit: string;
|
|
2513
|
+
type: string;
|
|
2514
|
+
renewable: boolean;
|
|
2515
|
+
calorificValue: number;
|
|
2516
|
+
emissionFactor: number;
|
|
2517
|
+
source?: undefined;
|
|
2518
|
+
})[];
|
|
2449
2519
|
desc: string;
|
|
2450
2520
|
}[];
|
|
2451
2521
|
declare const ALLSCOPES_CEMENT: ({
|
|
@@ -2481,14 +2551,23 @@ declare const ALLSCOPES_CEMENT: ({
|
|
|
2481
2551
|
icon: react_icons_lib.IconType;
|
|
2482
2552
|
scope: string;
|
|
2483
2553
|
unit: string;
|
|
2484
|
-
subProducts: {
|
|
2554
|
+
subProducts: ({
|
|
2485
2555
|
name: string;
|
|
2486
2556
|
unit: string;
|
|
2487
2557
|
type: string;
|
|
2488
2558
|
renewable: boolean;
|
|
2489
2559
|
calorificValue: number;
|
|
2490
2560
|
emissionFactor: number;
|
|
2491
|
-
|
|
2561
|
+
source: string;
|
|
2562
|
+
} | {
|
|
2563
|
+
name: string;
|
|
2564
|
+
unit: string;
|
|
2565
|
+
type: string;
|
|
2566
|
+
renewable: boolean;
|
|
2567
|
+
calorificValue: number;
|
|
2568
|
+
emissionFactor: number;
|
|
2569
|
+
source?: undefined;
|
|
2570
|
+
})[];
|
|
2492
2571
|
desc: string;
|
|
2493
2572
|
})[];
|
|
2494
2573
|
type EmissionItem$g = {
|
|
@@ -3604,23 +3683,23 @@ declare const ALLSCOPES_STEEL: {
|
|
|
3604
3683
|
}[];
|
|
3605
3684
|
desc: string;
|
|
3606
3685
|
}[];
|
|
3607
|
-
declare const
|
|
3686
|
+
declare const WATER_MANAGEMENT_STEEL: {
|
|
3608
3687
|
name: string;
|
|
3609
|
-
displayName: string;
|
|
3610
3688
|
icon: react_icons_lib.IconType;
|
|
3611
3689
|
scope: string;
|
|
3612
3690
|
unit: string;
|
|
3613
3691
|
subProducts: {
|
|
3614
|
-
|
|
3615
|
-
|
|
3616
|
-
|
|
3617
|
-
|
|
3618
|
-
|
|
3619
|
-
}[];
|
|
3692
|
+
name: string;
|
|
3693
|
+
unit: string;
|
|
3694
|
+
type: string;
|
|
3695
|
+
calorificValue: number;
|
|
3696
|
+
emissionFactor: number;
|
|
3620
3697
|
}[];
|
|
3621
3698
|
desc: string;
|
|
3622
|
-
}
|
|
3699
|
+
};
|
|
3700
|
+
declare const ALL_SCOPES_3_STEEL: {
|
|
3623
3701
|
name: string;
|
|
3702
|
+
displayName: string;
|
|
3624
3703
|
icon: react_icons_lib.IconType;
|
|
3625
3704
|
scope: string;
|
|
3626
3705
|
unit: string;
|
|
@@ -3633,8 +3712,7 @@ declare const ALL_SCOPES_3_STEEL: ({
|
|
|
3633
3712
|
}[];
|
|
3634
3713
|
}[];
|
|
3635
3714
|
desc: string;
|
|
3636
|
-
|
|
3637
|
-
})[];
|
|
3715
|
+
}[];
|
|
3638
3716
|
|
|
3639
3717
|
declare const SCOPE1_TELECOMMUNICATIONS: {
|
|
3640
3718
|
name: string;
|
|
@@ -3953,6 +4031,7 @@ declare const index_WATER_DISCHARGE_PRODUCTS: typeof WATER_DISCHARGE_PRODUCTS;
|
|
|
3953
4031
|
declare const index_WATER_MANAGEMENT: typeof WATER_MANAGEMENT;
|
|
3954
4032
|
declare const index_WATER_MANAGEMENT_GAS_LAB: typeof WATER_MANAGEMENT_GAS_LAB;
|
|
3955
4033
|
declare const index_WATER_MANAGEMENT_SCOPE: typeof WATER_MANAGEMENT_SCOPE;
|
|
4034
|
+
declare const index_WATER_MANAGEMENT_STEEL: typeof WATER_MANAGEMENT_STEEL;
|
|
3956
4035
|
declare const index_WATER_PRODUCTS_GAS_LAB: typeof WATER_PRODUCTS_GAS_LAB;
|
|
3957
4036
|
declare const index_WATER_USAGE_POLYMER: typeof WATER_USAGE_POLYMER;
|
|
3958
4037
|
declare const index_WATER_USAGE_PRODUCTS: typeof WATER_USAGE_PRODUCTS;
|
|
@@ -4118,6 +4197,7 @@ declare namespace index {
|
|
|
4118
4197
|
index_WATER_MANAGEMENT as WATER_MANAGEMENT,
|
|
4119
4198
|
index_WATER_MANAGEMENT_GAS_LAB as WATER_MANAGEMENT_GAS_LAB,
|
|
4120
4199
|
index_WATER_MANAGEMENT_SCOPE as WATER_MANAGEMENT_SCOPE,
|
|
4200
|
+
index_WATER_MANAGEMENT_STEEL as WATER_MANAGEMENT_STEEL,
|
|
4121
4201
|
index_WATER_PRODUCTS_GAS_LAB as WATER_PRODUCTS_GAS_LAB,
|
|
4122
4202
|
index_WATER_USAGE_POLYMER as WATER_USAGE_POLYMER,
|
|
4123
4203
|
index_WATER_USAGE_PRODUCTS as WATER_USAGE_PRODUCTS,
|