@chargetrip/types 1.49.0 → 1.50.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.
@@ -1688,6 +1688,9 @@ export declare type EmissionsFactor = {
1688
1688
  /** The base regional emissions factor in CO2e/kWh. */
1689
1689
  value: Scalars["Float"];
1690
1690
  };
1691
+ export declare type EmissionsFactorvalueArgs = {
1692
+ unit?: Maybe<EmissionUnit>;
1693
+ };
1691
1694
  /** Emissions factor type. */
1692
1695
  export declare enum EmissionsFactorType {
1693
1696
  COUNTRY = "country",
@@ -4784,6 +4787,8 @@ export declare type RouteOperationalElectricityEmissionsIntensityinfrastructureA
4784
4787
  };
4785
4788
  /** Energy source models. */
4786
4789
  export declare enum RouteOperationalElectricityEnergySourceModel {
4790
+ /** The current energy mix of the charging station provided by the CPO was used. */
4791
+ OCPI_STATION_ENERGY_MIX = "ocpi_station_energy_mix",
4787
4792
  /** Historical average energy mix for the month. */
4788
4793
  GRID_MONTHLY_AVERAGE = "grid_monthly_average",
4789
4794
  /** Historical average energy mix for the month and hour. */
@@ -8898,7 +8898,20 @@
8898
8898
  {
8899
8899
  "name": "value",
8900
8900
  "description": "The base regional emissions factor in CO2e/kWh.",
8901
- "args": [],
8901
+ "args": [
8902
+ {
8903
+ "name": "unit",
8904
+ "description": "Emission unit.",
8905
+ "type": {
8906
+ "kind": "ENUM",
8907
+ "name": "EmissionUnit",
8908
+ "ofType": null
8909
+ },
8910
+ "defaultValue": "gram",
8911
+ "isDeprecated": false,
8912
+ "deprecationReason": null
8913
+ }
8914
+ ],
8902
8915
  "type": {
8903
8916
  "kind": "NON_NULL",
8904
8917
  "name": null,
@@ -26269,6 +26282,12 @@
26269
26282
  "inputFields": null,
26270
26283
  "interfaces": null,
26271
26284
  "enumValues": [
26285
+ {
26286
+ "name": "ocpi_station_energy_mix",
26287
+ "description": "The current energy mix of the charging station provided by the CPO was used.",
26288
+ "isDeprecated": false,
26289
+ "deprecationReason": null
26290
+ },
26272
26291
  {
26273
26292
  "name": "grid_monthly_average",
26274
26293
  "description": "Historical average energy mix for the month.",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@chargetrip/types",
3
- "version": "1.49.0",
3
+ "version": "1.50.0",
4
4
  "license": "MIT",
5
5
  "keywords": [
6
6
  "chargetrip",
package/src/graphql.ts CHANGED
@@ -1778,6 +1778,10 @@ export type EmissionsFactor = {
1778
1778
  value: Scalars["Float"];
1779
1779
  };
1780
1780
 
1781
+ export type EmissionsFactorvalueArgs = {
1782
+ unit?: Maybe<EmissionUnit>;
1783
+ };
1784
+
1781
1785
  /** Emissions factor type. */
1782
1786
  export enum EmissionsFactorType {
1783
1787
  COUNTRY = "country",
@@ -5210,6 +5214,8 @@ export type RouteOperationalElectricityEmissionsIntensityinfrastructureArgs = {
5210
5214
 
5211
5215
  /** Energy source models. */
5212
5216
  export enum RouteOperationalElectricityEnergySourceModel {
5217
+ /** The current energy mix of the charging station provided by the CPO was used. */
5218
+ OCPI_STATION_ENERGY_MIX = "ocpi_station_energy_mix",
5213
5219
  /** Historical average energy mix for the month. */
5214
5220
  GRID_MONTHLY_AVERAGE = "grid_monthly_average",
5215
5221
  /** Historical average energy mix for the month and hour. */