@chargetrip/types 1.66.0 → 1.67.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.
@@ -367,12 +367,14 @@ export declare type ChargeSpeedInput = {
367
367
  source?: Maybe<TelemetryInputSource>;
368
368
  };
369
369
  export declare enum ChargeSpeedUnit {
370
- /** Return the charge speed in kilowatt hours. */
370
+ /** Charge speed in kilowatt hours. */
371
371
  KILOWATT_HOUR = "kilowatt_hour",
372
- /** Return the charge speed in kilometers per hour. */
372
+ /** Charge speed in kilometers per hour. */
373
373
  KILOMETERS_PER_HOUR = "kilometers_per_hour",
374
- /** Return the charge speed in miles per hour. */
375
- MILES_PER_HOUR = "miles_per_hour"
374
+ /** Charge speed in miles per hour. */
375
+ MILES_PER_HOUR = "miles_per_hour",
376
+ /** Charge speed in kilowatts. */
377
+ KILOWATT = "kilowatt"
376
378
  }
377
379
  export declare type ChargeTotalInput = {
378
380
  /** Value of the temperature of the battery. */
@@ -1249,7 +1251,7 @@ export declare type CreateRouteInput = {
1249
1251
  departure_time?: Maybe<Scalars["DateTime"]>;
1250
1252
  /** [BETA] Optional list of route features to avoid in a route. This is a best-effort preference; depending on the available routes, some features may not be fully avoidable. */
1251
1253
  avoid?: Maybe<Array<RouteAvoid>>;
1252
- /** Weather configuration for the route. Defined by a preset or custom weather conditions. If not specified, defaults to real-time weather data. */
1254
+ /** Weather configuration for the route. Defined by a preset or custom weather conditions. If not specified, defaults to use real weather data based on the route's `departure_time`. */
1253
1255
  weather?: Maybe<RouteWeatherInput>;
1254
1256
  /** Charging stations preferences for route calculation. */
1255
1257
  station_preferences?: Maybe<RouteStationPreferencesInput>;
@@ -5887,7 +5889,7 @@ export declare type RouteVehicleBattery = {
5887
5889
  current?: Maybe<Scalars["Float"]>;
5888
5890
  /** Battery voltage in volts. */
5889
5891
  voltage?: Maybe<Scalars["Float"]>;
5890
- /** Value of the positive or negative power, in kWh. When negative, the vehicle is charging. */
5892
+ /** Value of the positive or negative power, in kW. When negative, the vehicle is charging. */
5891
5893
  power?: Maybe<Scalars["Float"]>;
5892
5894
  /** Flag indicating if the vehicle is charging. */
5893
5895
  is_charging?: Maybe<Scalars["Boolean"]>;
@@ -5906,7 +5908,7 @@ export declare type RouteVehicleBatteryInput = {
5906
5908
  current?: Maybe<Scalars["Float"]>;
5907
5909
  /** Battery voltage in volts. */
5908
5910
  voltage?: Maybe<Scalars["Float"]>;
5909
- /** Value of the positive or negative power, in kWh. When negative, the vehicle is charging. */
5911
+ /** Value of the positive or negative power, in kW. When negative, the vehicle is charging. */
5910
5912
  power?: Maybe<Scalars["Float"]>;
5911
5913
  /** Flag indicating if the vehicle is charging. */
5912
5914
  is_charging?: Maybe<Scalars["Boolean"]>;
@@ -5926,7 +5928,7 @@ export declare type RouteVehicleCabinInput = {
5926
5928
  export declare type RouteVehicleCharging = {
5927
5929
  /** Mode that indicates if the charging time is optimized or if always charged to the maximum state of charge. */
5928
5930
  mode: ChargeMode;
5929
- /** Minimum desired power of chargers, in kWh. */
5931
+ /** Minimum desired power of chargers, in kW. */
5930
5932
  minimum_power: Scalars["Float"];
5931
5933
  /** Minimum remaining state of charge at charging stops, expressed as a percentage. The value must be between 0 and 60. If not provided, the project configuration value is used. */
5932
5934
  risk_margin: Scalars["Int"];
@@ -7171,18 +7173,18 @@ export declare type VehicleBodyWeightmaximalArgs = {
7171
7173
  export declare type VehicleConnector = {
7172
7174
  /** Connector type, known as connector standard in OCPI. */
7173
7175
  standard: ConnectorType;
7174
- /** Usable electric power. */
7176
+ /** Average charging power. For fast charging connectors, represents the average power from 10% to 80% state of charge. For slow charging connectors, value is identical to `max_electric_power`. */
7175
7177
  power: Scalars["Float"];
7176
- /** Maximum electric power. */
7178
+ /** Peak charging power. For slow charging connectors, value is identical to `power`. */
7177
7179
  max_electric_power: Scalars["Float"];
7178
- /** Time it takes to charge from 10 to 80% with a fast charger, shown in minutes. */
7180
+ /** Time needed to charge, in minutes. For fast charging connectors, represents time from 10% to 80% state of charge. For slow charging connectors, represents time from 0% to 100%. */
7179
7181
  time: Scalars["Int"];
7180
7182
  /**
7181
7183
  * Charging speed.
7182
7184
  * @deprecated In favor of `charge_speed`.
7183
7185
  */
7184
7186
  speed: Scalars["Float"];
7185
- /** Charging speed. */
7187
+ /** Average charging speed. For fast charging connectors, represents average rate from 10% to 80% state of charge. For slow charging connectors, represents average rate from 0% to 100%. */
7186
7188
  charge_speed: Scalars["Float"];
7187
7189
  };
7188
7190
  /** Vehicle plug model. */
@@ -8097,9 +8099,9 @@ export declare type VehiclePremiumPrice = {
8097
8099
  GB?: Maybe<VehiclePremiumPriceValueWithGrant>;
8098
8100
  };
8099
8101
  export declare type VehiclePremiumPriceValueWithGrant = {
8100
- /** Starting price for local market expressed in the currency in the field currency. */
8102
+ /** Starting price for the local market. The value applies to the optional `country` field provided in the query input. If `country` is not specified, it defaults to the Dutch market price. If the unit argument is not provided, the value is returned in the local currency of the selected country. */
8101
8103
  value?: Maybe<Scalars["Float"]>;
8102
- /** Currency in which the value without optional field conversion is expressed. */
8104
+ /** Currency in which the prices of `grant_applied`, `price_delivery` and `price_first_registration_fee` fields are expressed. The value applies to the optional `country` field provided in the query input. If `country` is not specified, defaults to Euro (EUR). */
8103
8105
  currency?: Maybe<CurrencyUnit>;
8104
8106
  /** Indicates if the starting price is based on an estimate. */
8105
8107
  is_estimated?: Maybe<Scalars["Boolean"]>;
@@ -1846,19 +1846,25 @@
1846
1846
  "enumValues": [
1847
1847
  {
1848
1848
  "name": "kilowatt_hour",
1849
- "description": "Return the charge speed in kilowatt hours.",
1849
+ "description": "Charge speed in kilowatt hours.",
1850
1850
  "isDeprecated": false,
1851
1851
  "deprecationReason": null
1852
1852
  },
1853
1853
  {
1854
1854
  "name": "kilometers_per_hour",
1855
- "description": "Return the charge speed in kilometers per hour.",
1855
+ "description": "Charge speed in kilometers per hour.",
1856
1856
  "isDeprecated": false,
1857
1857
  "deprecationReason": null
1858
1858
  },
1859
1859
  {
1860
1860
  "name": "miles_per_hour",
1861
- "description": "Return the charge speed in miles per hour.",
1861
+ "description": "Charge speed in miles per hour.",
1862
+ "isDeprecated": false,
1863
+ "deprecationReason": null
1864
+ },
1865
+ {
1866
+ "name": "kilowatt",
1867
+ "description": "Charge speed in kilowatts.",
1862
1868
  "isDeprecated": false,
1863
1869
  "deprecationReason": null
1864
1870
  }
@@ -6387,7 +6393,7 @@
6387
6393
  },
6388
6394
  {
6389
6395
  "name": "weather",
6390
- "description": "Weather configuration for the route. Defined by a preset or custom weather conditions. If not specified, defaults to real-time weather data.",
6396
+ "description": "Weather configuration for the route. Defined by a preset or custom weather conditions. If not specified, defaults to use real weather data based on the route's `departure_time`.",
6391
6397
  "type": {
6392
6398
  "kind": "INPUT_OBJECT",
6393
6399
  "name": "RouteWeatherInput",
@@ -6405,7 +6411,7 @@
6405
6411
  "name": "RouteStationPreferencesInput",
6406
6412
  "ofType": null
6407
6413
  },
6408
- "defaultValue": null,
6414
+ "defaultValue": "{prefer_highway_charging: false}",
6409
6415
  "isDeprecated": false,
6410
6416
  "deprecationReason": null
6411
6417
  },
@@ -6429,7 +6435,7 @@
6429
6435
  "name": "Boolean",
6430
6436
  "ofType": null
6431
6437
  },
6432
- "defaultValue": null,
6438
+ "defaultValue": "false",
6433
6439
  "isDeprecated": false,
6434
6440
  "deprecationReason": null
6435
6441
  }
@@ -6691,7 +6697,7 @@
6691
6697
  "name": "RouteWeatherInput",
6692
6698
  "ofType": null
6693
6699
  },
6694
- "defaultValue": null,
6700
+ "defaultValue": "{type: actual}",
6695
6701
  "isDeprecated": false,
6696
6702
  "deprecationReason": null
6697
6703
  },
@@ -33180,7 +33186,7 @@
33180
33186
  },
33181
33187
  {
33182
33188
  "name": "power",
33183
- "description": "Value of the positive or negative power, in kWh. When negative, the vehicle is charging.",
33189
+ "description": "Value of the positive or negative power, in kW. When negative, the vehicle is charging.",
33184
33190
  "args": [],
33185
33191
  "type": {
33186
33192
  "kind": "SCALAR",
@@ -33288,7 +33294,7 @@
33288
33294
  },
33289
33295
  {
33290
33296
  "name": "power",
33291
- "description": "Value of the positive or negative power, in kWh. When negative, the vehicle is charging.",
33297
+ "description": "Value of the positive or negative power, in kW. When negative, the vehicle is charging.",
33292
33298
  "type": {
33293
33299
  "kind": "SCALAR",
33294
33300
  "name": "Float",
@@ -33416,7 +33422,7 @@
33416
33422
  },
33417
33423
  {
33418
33424
  "name": "minimum_power",
33419
- "description": "Minimum desired power of chargers, in kWh.",
33425
+ "description": "Minimum desired power of chargers, in kW.",
33420
33426
  "args": [],
33421
33427
  "type": {
33422
33428
  "kind": "NON_NULL",
@@ -40697,7 +40703,7 @@
40697
40703
  },
40698
40704
  {
40699
40705
  "name": "power",
40700
- "description": "Usable electric power.",
40706
+ "description": "Average charging power. For fast charging connectors, represents the average power from 10% to 80% state of charge. For slow charging connectors, value is identical to `max_electric_power`.",
40701
40707
  "args": [
40702
40708
  {
40703
40709
  "name": "unit",
@@ -40726,7 +40732,7 @@
40726
40732
  },
40727
40733
  {
40728
40734
  "name": "max_electric_power",
40729
- "description": "Maximum electric power.",
40735
+ "description": "Peak charging power. For slow charging connectors, value is identical to `power`.",
40730
40736
  "args": [
40731
40737
  {
40732
40738
  "name": "unit",
@@ -40755,7 +40761,7 @@
40755
40761
  },
40756
40762
  {
40757
40763
  "name": "time",
40758
- "description": "Time it takes to charge from 10 to 80% with a fast charger, shown in minutes.",
40764
+ "description": "Time needed to charge, in minutes. For fast charging connectors, represents time from 10% to 80% state of charge. For slow charging connectors, represents time from 0% to 100%.",
40759
40765
  "args": [],
40760
40766
  "type": {
40761
40767
  "kind": "NON_NULL",
@@ -40800,7 +40806,7 @@
40800
40806
  },
40801
40807
  {
40802
40808
  "name": "charge_speed",
40803
- "description": "Charging speed.",
40809
+ "description": "Average charging speed. For fast charging connectors, represents average rate from 10% to 80% state of charge. For slow charging connectors, represents average rate from 0% to 100%.",
40804
40810
  "args": [
40805
40811
  {
40806
40812
  "name": "unit",
@@ -46080,7 +46086,7 @@
46080
46086
  "fields": [
46081
46087
  {
46082
46088
  "name": "value",
46083
- "description": "Starting price for local market expressed in the currency in the field currency.",
46089
+ "description": "Starting price for the local market. The value applies to the optional `country` field provided in the query input. If `country` is not specified, it defaults to the Dutch market price. If the unit argument is not provided, the value is returned in the local currency of the selected country.",
46084
46090
  "args": [
46085
46091
  {
46086
46092
  "name": "unit",
@@ -46105,7 +46111,7 @@
46105
46111
  },
46106
46112
  {
46107
46113
  "name": "currency",
46108
- "description": "Currency in which the value without optional field conversion is expressed.",
46114
+ "description": "Currency in which the prices of `grant_applied`, `price_delivery` and `price_first_registration_fee` fields are expressed. The value applies to the optional `country` field provided in the query input. If `country` is not specified, defaults to Euro (EUR).",
46109
46115
  "args": [],
46110
46116
  "type": {
46111
46117
  "kind": "ENUM",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@chargetrip/types",
3
- "version": "1.66.0",
3
+ "version": "1.67.0",
4
4
  "license": "MIT",
5
5
  "keywords": [
6
6
  "chargetrip",
package/src/graphql.ts CHANGED
@@ -396,12 +396,14 @@ export type ChargeSpeedInput = {
396
396
  };
397
397
 
398
398
  export enum ChargeSpeedUnit {
399
- /** Return the charge speed in kilowatt hours. */
399
+ /** Charge speed in kilowatt hours. */
400
400
  KILOWATT_HOUR = "kilowatt_hour",
401
- /** Return the charge speed in kilometers per hour. */
401
+ /** Charge speed in kilometers per hour. */
402
402
  KILOMETERS_PER_HOUR = "kilometers_per_hour",
403
- /** Return the charge speed in miles per hour. */
404
- MILES_PER_HOUR = "miles_per_hour"
403
+ /** Charge speed in miles per hour. */
404
+ MILES_PER_HOUR = "miles_per_hour",
405
+ /** Charge speed in kilowatts. */
406
+ KILOWATT = "kilowatt"
405
407
  }
406
408
 
407
409
  export type ChargeTotalInput = {
@@ -1325,7 +1327,7 @@ export type CreateRouteInput = {
1325
1327
  departure_time?: Maybe<Scalars["DateTime"]>;
1326
1328
  /** [BETA] Optional list of route features to avoid in a route. This is a best-effort preference; depending on the available routes, some features may not be fully avoidable. */
1327
1329
  avoid?: Maybe<Array<RouteAvoid>>;
1328
- /** Weather configuration for the route. Defined by a preset or custom weather conditions. If not specified, defaults to real-time weather data. */
1330
+ /** Weather configuration for the route. Defined by a preset or custom weather conditions. If not specified, defaults to use real weather data based on the route's `departure_time`. */
1329
1331
  weather?: Maybe<RouteWeatherInput>;
1330
1332
  /** Charging stations preferences for route calculation. */
1331
1333
  station_preferences?: Maybe<RouteStationPreferencesInput>;
@@ -6433,7 +6435,7 @@ export type RouteVehicleBattery = {
6433
6435
  current?: Maybe<Scalars["Float"]>;
6434
6436
  /** Battery voltage in volts. */
6435
6437
  voltage?: Maybe<Scalars["Float"]>;
6436
- /** Value of the positive or negative power, in kWh. When negative, the vehicle is charging. */
6438
+ /** Value of the positive or negative power, in kW. When negative, the vehicle is charging. */
6437
6439
  power?: Maybe<Scalars["Float"]>;
6438
6440
  /** Flag indicating if the vehicle is charging. */
6439
6441
  is_charging?: Maybe<Scalars["Boolean"]>;
@@ -6453,7 +6455,7 @@ export type RouteVehicleBatteryInput = {
6453
6455
  current?: Maybe<Scalars["Float"]>;
6454
6456
  /** Battery voltage in volts. */
6455
6457
  voltage?: Maybe<Scalars["Float"]>;
6456
- /** Value of the positive or negative power, in kWh. When negative, the vehicle is charging. */
6458
+ /** Value of the positive or negative power, in kW. When negative, the vehicle is charging. */
6457
6459
  power?: Maybe<Scalars["Float"]>;
6458
6460
  /** Flag indicating if the vehicle is charging. */
6459
6461
  is_charging?: Maybe<Scalars["Boolean"]>;
@@ -6476,7 +6478,7 @@ export type RouteVehicleCabinInput = {
6476
6478
  export type RouteVehicleCharging = {
6477
6479
  /** Mode that indicates if the charging time is optimized or if always charged to the maximum state of charge. */
6478
6480
  mode: ChargeMode;
6479
- /** Minimum desired power of chargers, in kWh. */
6481
+ /** Minimum desired power of chargers, in kW. */
6480
6482
  minimum_power: Scalars["Float"];
6481
6483
  /** Minimum remaining state of charge at charging stops, expressed as a percentage. The value must be between 0 and 60. If not provided, the project configuration value is used. */
6482
6484
  risk_margin: Scalars["Int"];
@@ -7858,18 +7860,18 @@ export type VehicleBodyWeightmaximalArgs = {
7858
7860
  export type VehicleConnector = {
7859
7861
  /** Connector type, known as connector standard in OCPI. */
7860
7862
  standard: ConnectorType;
7861
- /** Usable electric power. */
7863
+ /** Average charging power. For fast charging connectors, represents the average power from 10% to 80% state of charge. For slow charging connectors, value is identical to `max_electric_power`. */
7862
7864
  power: Scalars["Float"];
7863
- /** Maximum electric power. */
7865
+ /** Peak charging power. For slow charging connectors, value is identical to `power`. */
7864
7866
  max_electric_power: Scalars["Float"];
7865
- /** Time it takes to charge from 10 to 80% with a fast charger, shown in minutes. */
7867
+ /** Time needed to charge, in minutes. For fast charging connectors, represents time from 10% to 80% state of charge. For slow charging connectors, represents time from 0% to 100%. */
7866
7868
  time: Scalars["Int"];
7867
7869
  /**
7868
7870
  * Charging speed.
7869
7871
  * @deprecated In favor of `charge_speed`.
7870
7872
  */
7871
7873
  speed: Scalars["Float"];
7872
- /** Charging speed. */
7874
+ /** Average charging speed. For fast charging connectors, represents average rate from 10% to 80% state of charge. For slow charging connectors, represents average rate from 0% to 100%. */
7873
7875
  charge_speed: Scalars["Float"];
7874
7876
  };
7875
7877
 
@@ -8899,9 +8901,9 @@ export type VehiclePremiumPrice = {
8899
8901
  };
8900
8902
 
8901
8903
  export type VehiclePremiumPriceValueWithGrant = {
8902
- /** Starting price for local market expressed in the currency in the field currency. */
8904
+ /** Starting price for the local market. The value applies to the optional `country` field provided in the query input. If `country` is not specified, it defaults to the Dutch market price. If the unit argument is not provided, the value is returned in the local currency of the selected country. */
8903
8905
  value?: Maybe<Scalars["Float"]>;
8904
- /** Currency in which the value without optional field conversion is expressed. */
8906
+ /** Currency in which the prices of `grant_applied`, `price_delivery` and `price_first_registration_fee` fields are expressed. The value applies to the optional `country` field provided in the query input. If `country` is not specified, defaults to Euro (EUR). */
8905
8907
  currency?: Maybe<CurrencyUnit>;
8906
8908
  /** Indicates if the starting price is based on an estimate. */
8907
8909
  is_estimated?: Maybe<Scalars["Boolean"]>;