@chargetrip/types 1.49.0 → 1.51.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. */
@@ -5211,11 +5216,11 @@ export declare type RouteStationOperator = {
5211
5216
  preference_type: OperatorPreferenceType;
5212
5217
  };
5213
5218
  export declare type RouteStationPreferences = {
5214
- /** [BETA] Flag to prioritise charging stations located directly on the highway, avoiding exiting highways to charge. This preference is considered alongside final SOC and operator preferences, and may reduce their influence if they conflict. The preference's weight is configurable in project settings. */
5219
+ /** [BETA] Prioritises charging stations located directly on the highway, avoiding exiting highways to charge. It's considered alongside final SOC and operator preferences, and may reduce their influence if they conflict. */
5215
5220
  prefer_highway_charging?: Maybe<Scalars["Boolean"]>;
5216
5221
  };
5217
5222
  export declare type RouteStationPreferencesInput = {
5218
- /** [BETA] Flag to prioritise charging stations located directly on the highway, avoiding exiting highways to charge. This preference is considered alongside final SOC and operator preferences, and may reduce their influence if they conflict. The preference's weight is configurable in project settings. */
5223
+ /** [BETA] Prioritises charging stations located directly on the highway, avoiding exiting highways to charge. It's considered alongside final SOC and operator preferences, and may reduce their influence if they conflict. This logic may require additional client-specific tuning. Please contact Chargetrip if the behavior seems suboptimal. */
5219
5224
  prefer_highway_charging?: Maybe<Scalars["Boolean"]>;
5220
5225
  };
5221
5226
  export declare type RouteStationWithAmenities = {
@@ -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.",
@@ -28936,7 +28955,7 @@
28936
28955
  "fields": [
28937
28956
  {
28938
28957
  "name": "prefer_highway_charging",
28939
- "description": "[BETA] Flag to prioritise charging stations located directly on the highway, avoiding exiting highways to charge. This preference is considered alongside final SOC and operator preferences, and may reduce their influence if they conflict. The preference's weight is configurable in project settings.",
28958
+ "description": "[BETA] Prioritises charging stations located directly on the highway, avoiding exiting highways to charge. It's considered alongside final SOC and operator preferences, and may reduce their influence if they conflict.",
28940
28959
  "args": [],
28941
28960
  "type": {
28942
28961
  "kind": "SCALAR",
@@ -28960,13 +28979,13 @@
28960
28979
  "inputFields": [
28961
28980
  {
28962
28981
  "name": "prefer_highway_charging",
28963
- "description": "[BETA] Flag to prioritise charging stations located directly on the highway, avoiding exiting highways to charge. This preference is considered alongside final SOC and operator preferences, and may reduce their influence if they conflict. The preference's weight is configurable in project settings.",
28982
+ "description": "[BETA] Prioritises charging stations located directly on the highway, avoiding exiting highways to charge. It's considered alongside final SOC and operator preferences, and may reduce their influence if they conflict. This logic may require additional client-specific tuning. Please contact Chargetrip if the behavior seems suboptimal.",
28964
28983
  "type": {
28965
28984
  "kind": "SCALAR",
28966
28985
  "name": "Boolean",
28967
28986
  "ofType": null
28968
28987
  },
28969
- "defaultValue": "true",
28988
+ "defaultValue": "false",
28970
28989
  "isDeprecated": false,
28971
28990
  "deprecationReason": null
28972
28991
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@chargetrip/types",
3
- "version": "1.49.0",
3
+ "version": "1.51.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. */
@@ -5689,12 +5695,12 @@ export type RouteStationOperator = {
5689
5695
  };
5690
5696
 
5691
5697
  export type RouteStationPreferences = {
5692
- /** [BETA] Flag to prioritise charging stations located directly on the highway, avoiding exiting highways to charge. This preference is considered alongside final SOC and operator preferences, and may reduce their influence if they conflict. The preference's weight is configurable in project settings. */
5698
+ /** [BETA] Prioritises charging stations located directly on the highway, avoiding exiting highways to charge. It's considered alongside final SOC and operator preferences, and may reduce their influence if they conflict. */
5693
5699
  prefer_highway_charging?: Maybe<Scalars["Boolean"]>;
5694
5700
  };
5695
5701
 
5696
5702
  export type RouteStationPreferencesInput = {
5697
- /** [BETA] Flag to prioritise charging stations located directly on the highway, avoiding exiting highways to charge. This preference is considered alongside final SOC and operator preferences, and may reduce their influence if they conflict. The preference's weight is configurable in project settings. */
5703
+ /** [BETA] Prioritises charging stations located directly on the highway, avoiding exiting highways to charge. It's considered alongside final SOC and operator preferences, and may reduce their influence if they conflict. This logic may require additional client-specific tuning. Please contact Chargetrip if the behavior seems suboptimal. */
5698
5704
  prefer_highway_charging?: Maybe<Scalars["Boolean"]>;
5699
5705
  };
5700
5706