@chargetrip/types 1.73.0 → 1.75.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.
@@ -2929,19 +2929,19 @@ export declare type NavigationOverviewpolylineArgs = {
2929
2929
  decimals?: Maybe<PolylineInputDecimals>;
2930
2930
  };
2931
2931
  export declare type NavigationPropertiesStation = {
2932
- /** ID of the station. When provided and valid, the coordinates of this station will be used. */
2932
+ /** ID of the station. If specified and valid, the station is used as a mandatory charging stop. */
2933
2933
  station_id?: Maybe<Scalars["ID"]>;
2934
- /** External ID of the station. When provided and valid, the coordinates of this station will be used. */
2934
+ /** External ID of the station. If specified and valid, the station is used as a mandatory charging stop. */
2935
2935
  external_station_id?: Maybe<Scalars["ID"]>;
2936
- /** Duration to stay at the station, in seconds. Includes charging time and charging penalty. When not provided, the duration is optimized based on the vehicle’s charging needs and selected charging mode. */
2936
+ /** Minimum duration of the stop at the station, in seconds. This duration can be extended based on the chosen charging mode. Under `ALWAYS_TO_MAX_CHARGE`, the duration is extended until the defined maximum state of charge of the vehicle is achieved. Under `OPTIMIZE_TRAVEL_TIME`, the duration is extended only if a longer stay optimizes the overall travel time, otherwise, the vehicle charges only for the specified duration. If not specified, the duration is solely determined by the charging mode specified in `vehicle.charging.mode` or configured in the project settings. */
2937
2937
  stop_duration?: Maybe<Scalars["Int"]>;
2938
2938
  };
2939
2939
  export declare type NavigationPropertiesStationInput = {
2940
- /** ID of the station. When provided and valid, the coordinates of this station will be used. */
2940
+ /** ID of the station. If specified and valid, the station is used as a mandatory charging stop. */
2941
2941
  station_id?: Maybe<Scalars["ID"]>;
2942
- /** External ID of the station. When provided and valid, the coordinates of this station will be used. */
2942
+ /** External ID of the station. If specified and valid, the station is used as a mandatory charging stop. */
2943
2943
  external_station_id?: Maybe<Scalars["ID"]>;
2944
- /** Duration to stay at the station, in seconds. Includes charging time and charging penalty. When not provided, the duration is optimized based on the vehicle’s charging needs and selected charging mode. */
2944
+ /** Minimum duration of the stop at the station, in seconds. This duration can be extended based on the chosen charging mode. Under `ALWAYS_TO_MAX_CHARGE`, the duration is extended until the defined maximum state of charge of the vehicle is achieved. Under `OPTIMIZE_TRAVEL_TIME`, the duration is extended only if a longer stay optimizes the overall travel time, otherwise, the vehicle charges only for the specified duration. If not specified, the duration is solely determined by the charging mode specified in `vehicle.charging.mode` or configured in the project settings. */
2945
2945
  stop_duration?: Maybe<Scalars["Int"]>;
2946
2946
  };
2947
2947
  export declare type NavigationPropertiesVehicle = {
@@ -3136,7 +3136,7 @@ export declare type NavigationViaFeaturePoint = {
3136
3136
  type: FeatureType;
3137
3137
  /** Geometry of the feature. */
3138
3138
  geometry: Point;
3139
- /** Additional feature properties for via. If a `station.id` or `station.external_id` are provided, it will be treated as a charging stop. If omitted or `location.name` is provided, the stop is treated as a non-charging stop location. */
3139
+ /** Properties of the via point. Used to designate the via point as a charging stop, configure vehicle occupancy and cargo details, or set optional location parameters. If both `properties.station.id` and `properties.station.external_id` are omitted, the via point is treated as a non-charging stop at `geometry`. */
3140
3140
  properties?: Maybe<NavigationViaProperties>;
3141
3141
  };
3142
3142
  export declare type NavigationViaFeaturePointInput = {
@@ -3146,7 +3146,7 @@ export declare type NavigationViaFeaturePointInput = {
3146
3146
  type: FeatureType;
3147
3147
  /** Geometry of the feature. */
3148
3148
  geometry: PointInput;
3149
- /** Additional feature properties for via. If a `station.id` or `station.external_id` are provided, it will be treated as a charging stop. If omitted or `location.name` is provided, the stop is treated as a non-charging stop location. */
3149
+ /** Properties of the via point. Used to designate the via point as a charging stop, configure vehicle occupancy and cargo details, or set optional location parameters. If both `properties.station.id` and `properties.station.external_id` are omitted, the via point is treated as a non-charging stop at `geometry`. */
3150
3150
  properties?: Maybe<NavigationViaPropertiesInput>;
3151
3151
  };
3152
3152
  export declare type NavigationViaProperties = {
@@ -4946,6 +4946,8 @@ export declare enum RouteDetailsLegWarningCode {
4946
4946
  STATION_CLOSING_SOON = "station_closing_soon",
4947
4947
  /** Specified stop duration at the via charging station is insufficient to start a charging session. */
4948
4948
  VIA_INSUFFICIENT_CHARGING_TIME = "via_insufficient_charging_time",
4949
+ /** The stop duration at the station was extended to meet the charging mode for this route. */
4950
+ VIA_CHARGING_DURATION_EXTENDED = "via_charging_duration_extended",
4949
4951
  /** Selected via station does not have compatible connectors that meet the minimum power threshold. The route still includes this charging stop, but charging will be slower than requested. */
4950
4952
  VIA_STATION_BELOW_MINIMUM_POWER = "via_station_below_minimum_power",
4951
4953
  /** Charging station at the destination does not have any connectors compatible with the selected vehicle. */
@@ -5938,19 +5940,19 @@ export declare type RoutePropertiesLocationInput = {
5938
5940
  name?: Maybe<Scalars["String"]>;
5939
5941
  };
5940
5942
  export declare type RoutePropertiesStation = {
5941
- /** ID of the station. When provided and valid, the coordinates of this station will be used. */
5943
+ /** ID of the station. If specified and valid, the station is used as a mandatory charging stop. */
5942
5944
  station_id?: Maybe<Scalars["ID"]>;
5943
- /** External ID of the station. When provided and valid, the coordinates of this station will be used. */
5945
+ /** External ID of the station. If specified and valid, the station is used as a mandatory charging stop. */
5944
5946
  external_station_id?: Maybe<Scalars["ID"]>;
5945
- /** Duration to stay at the station, in seconds. */
5947
+ /** Minimum duration of the stop at the station, in seconds. This duration can be extended based on the chosen charging mode. Under `ALWAYS_TO_MAX_CHARGE`, the duration is extended until the defined maximum state of charge of the vehicle is achieved. Under `OPTIMIZE_TRAVEL_TIME`, the duration is extended only if a longer stay optimizes the overall travel time, otherwise, the vehicle charges only for the specified duration. If not specified, the duration is solely determined by the charging mode specified in `vehicle.charging.mode` or configured in the project settings. */
5946
5948
  stop_duration?: Maybe<Scalars["Int"]>;
5947
5949
  };
5948
5950
  export declare type RoutePropertiesStationInput = {
5949
- /** ID of the station. When provided and valid, the coordinates of this station will be used. */
5951
+ /** ID of the station. If specified and valid, the station is used as a mandatory charging stop. */
5950
5952
  station_id?: Maybe<Scalars["ID"]>;
5951
- /** External ID of the station. When provided and valid, the coordinates of this station will be used. */
5953
+ /** External ID of the station. If specified and valid, the station is used as a mandatory charging stop. */
5952
5954
  external_station_id?: Maybe<Scalars["ID"]>;
5953
- /** Duration to stay at the station, in seconds. */
5955
+ /** Minimum duration of the stop at the station, in seconds. This duration can be extended based on the chosen charging mode. Under `ALWAYS_TO_MAX_CHARGE`, the duration is extended until the defined maximum state of charge of the vehicle is achieved. Under `OPTIMIZE_TRAVEL_TIME`, the duration is extended only if a longer stay optimizes the overall travel time, otherwise, the vehicle charges only for the specified duration. If not specified, the duration is solely determined by the charging mode specified in `vehicle.charging.mode` or configured in the project settings. */
5954
5956
  stop_duration?: Maybe<Scalars["Int"]>;
5955
5957
  };
5956
5958
  export declare type RoutePropertiesVehicle = {
@@ -6289,7 +6291,7 @@ export declare type RouteTruckViaPropertiesInput = {
6289
6291
  location?: Maybe<RoutePropertiesViaLocationInput>;
6290
6292
  /** Vehicle configuration at this point. Properties defined here override previous settings and persist for all subsequent segments of the route until changed again. If not specified, the vehicle state from the previous point remains in effect. */
6291
6293
  vehicle?: Maybe<RouteTruckPropertiesVehicleInput>;
6292
- /** Station data of the via point. */
6294
+ /** Specifies a charging station at the via. If a known station is provided, it will be used as charging stop. Any configured operator preferences are ignored for this stop. */
6293
6295
  station?: Maybe<RoutePropertiesStationInput>;
6294
6296
  };
6295
6297
  export declare type RouteVehicle = {
@@ -6513,7 +6515,7 @@ export declare type RouteViaFeaturePoint = {
6513
6515
  type: FeatureType;
6514
6516
  /** Geometry of the feature. */
6515
6517
  geometry?: Maybe<Point>;
6516
- /** Additional feature properties for via. If a `station.id` or `station.external_id` are provided, it will be treated as a charging stop. If omitted or `location.name` is provided, the stop is treated as a non-charging stop location. */
6518
+ /** Properties of the via point. Used to designate the via point as a charging stop, configure vehicle occupancy and cargo details, or set optional location parameters. If both `properties.station.id` and `properties.station.external_id` are omitted, the via point is treated as a non-charging stop at `geometry`. */
6517
6519
  properties?: Maybe<RouteViaProperties>;
6518
6520
  };
6519
6521
  export declare type RouteViaFeaturePointInput = {
@@ -6523,7 +6525,7 @@ export declare type RouteViaFeaturePointInput = {
6523
6525
  type: FeatureType;
6524
6526
  /** Geometry of the feature. */
6525
6527
  geometry?: Maybe<PointInput>;
6526
- /** Additional feature properties for via. If a `station.id` or `station.external_id` are provided, it will be treated as a charging stop. If omitted or `location.name` is provided, the stop is treated as a non-charging stop location. */
6528
+ /** Properties of the via point. Used to designate the via point as a charging stop, configure vehicle occupancy and cargo details, or set optional location parameters. If both `properties.station.id` and `properties.station.external_id` are omitted, the via point is treated as a non-charging stop at `geometry`. */
6527
6529
  properties?: Maybe<RouteViaPropertiesInput>;
6528
6530
  };
6529
6531
  export declare type RouteViaProperties = {
@@ -7811,6 +7813,8 @@ export declare type VehicleListNaming = {
7811
7813
  edition?: Maybe<Scalars["String"]>;
7812
7814
  /** Vehicle model version. Added by Chargetrip as an alternative for when a vehicle manufacturer does not provide a version name, or uses the same version name across all trims or consecutive years. */
7813
7815
  chargetrip_version: Scalars["String"];
7816
+ /** Top-level general model series identifier. */
7817
+ series?: Maybe<Scalars["String"]>;
7814
7818
  };
7815
7819
  export declare type VehicleListRange = {
7816
7820
  /**
@@ -7901,6 +7905,8 @@ export declare type VehicleNaming = {
7901
7905
  edition?: Maybe<Scalars["String"]>;
7902
7906
  /** Vehicle model version. Added by Chargetrip as an alternative for when a vehicle manufacturer does not provide a version name, or uses the same version name across all trims or consecutive years. */
7903
7907
  chargetrip_version: Scalars["String"];
7908
+ /** Top-level general model series identifier. */
7909
+ series?: Maybe<Scalars["String"]>;
7904
7910
  };
7905
7911
  export declare type VehiclePerformance = {
7906
7912
  /** Acceleration. */
@@ -7938,6 +7944,8 @@ export declare type VehiclePremium = {
7938
7944
  charge: VehiclePremiumCharge;
7939
7945
  /** Fast charge details. */
7940
7946
  fast_charge: VehiclePremiumFastCharge;
7947
+ /** Manufacturer-stated fast charging specifications. */
7948
+ fast_charge_oem?: Maybe<VehiclePremiumFastChargeOEM>;
7941
7949
  /** Adapters of connectors available for a connectors of the vehicle. Please note that for HEVs this will always be an empty array. */
7942
7950
  adapters: Array<VehicleConnector>;
7943
7951
  /** Battery of the vehicle. */
@@ -7950,10 +7958,14 @@ export declare type VehiclePremium = {
7950
7958
  pricing: VehiclePremiumPriceValueWithGrant;
7951
7959
  /** Drivetrain of the vehicle. */
7952
7960
  drivetrain: VehiclePremiumDrivetrain;
7961
+ /** Internal combustion engine (ICE) and fuel storage specifications for hybrid and plug-in hybrid vehicles. This field is null for battery electric vehicles. */
7962
+ combustion?: Maybe<VehiclePremiumCombustion>;
7953
7963
  /** Performance of the vehicle. */
7954
7964
  performance?: Maybe<VehiclePremiumPerformance>;
7955
7965
  /** Range of the vehicle. */
7956
7966
  range: VehiclePremiumRange;
7967
+ /** One-stop range data by climatic condition (mild, average, cold), including durations and rating. */
7968
+ one_stop_range?: Maybe<VehiclePremiumOneStopRange>;
7957
7969
  /** Efficiency of the vehicle. */
7958
7970
  efficiency: VehiclePremiumEfficiency;
7959
7971
  /** Safety of the vehicle. */
@@ -8010,6 +8022,12 @@ export declare type VehiclePremiumBattery = {
8010
8022
  nominal_voltage?: Maybe<Scalars["Float"]>;
8011
8023
  /** Type of battery. */
8012
8024
  type?: Maybe<VehicleBatteryType>;
8025
+ /** Form factor of the battery cells. */
8026
+ form_factor?: Maybe<Scalars["String"]>;
8027
+ /** Battery pack name or reference code. */
8028
+ name?: Maybe<Scalars["String"]>;
8029
+ /** Battery and drivetrain platform system voltage architecture. */
8030
+ architecture?: Maybe<Scalars["String"]>;
8013
8031
  };
8014
8032
  export declare type VehiclePremiumBatteryweightArgs = {
8015
8033
  unit?: Maybe<WeightUnit>;
@@ -8249,6 +8267,21 @@ export declare type VehiclePremiumChargeStandardOBCpowerArgs = {
8249
8267
  export declare type VehiclePremiumChargeStandardOBCcharge_speedArgs = {
8250
8268
  unit?: Maybe<ChargeSpeedUnit>;
8251
8269
  };
8270
+ /** Specifications for internal combustion engine (ICE) systems. */
8271
+ export declare type VehiclePremiumCombustion = {
8272
+ /** Fuel tank capacity of the vehicle. */
8273
+ fuel_tank_capacity?: Maybe<Scalars["Float"]>;
8274
+ /** Engine displacement. */
8275
+ displacement?: Maybe<Scalars["Float"]>;
8276
+ };
8277
+ /** Specifications for internal combustion engine (ICE) systems. */
8278
+ export declare type VehiclePremiumCombustionfuel_tank_capacityArgs = {
8279
+ unit?: Maybe<VolumeUnit>;
8280
+ };
8281
+ /** Specifications for internal combustion engine (ICE) systems. */
8282
+ export declare type VehiclePremiumCombustiondisplacementArgs = {
8283
+ unit?: Maybe<VolumeUnit>;
8284
+ };
8252
8285
  export declare type VehiclePremiumDrivetrain = {
8253
8286
  /** Type of drivetrain. */
8254
8287
  type: VehicleDrivetrainType;
@@ -8299,6 +8332,10 @@ export declare type VehiclePremiumEfficiencyNEDC = {
8299
8332
  vehicle_fuel_equivalent?: Maybe<Scalars["Float"]>;
8300
8333
  /** Rated CO2 emissions in NEDC combined cycle in battery-only mode (NULL if not NEDC rated). */
8301
8334
  co2?: Maybe<Scalars["Float"]>;
8335
+ /** Fuel efficiency under the NEDC cycle when the hybrid battery is completely empty. Only applicable to PHEVs. */
8336
+ battery_empty?: Maybe<Scalars["Float"]>;
8337
+ /** CO2 emissions under the NEDC cycle when the hybrid battery is completely empty. Only applicable to PHEVs. */
8338
+ battery_empty_co2?: Maybe<Scalars["Float"]>;
8302
8339
  };
8303
8340
  export declare type VehiclePremiumEfficiencyNEDCvalueArgs = {
8304
8341
  unit?: Maybe<ConsumptionUnit>;
@@ -8315,6 +8352,12 @@ export declare type VehiclePremiumEfficiencyNEDCvehicle_fuel_equivalentArgs = {
8315
8352
  export declare type VehiclePremiumEfficiencyNEDCco2Args = {
8316
8353
  unit?: Maybe<EmissionRateUnit>;
8317
8354
  };
8355
+ export declare type VehiclePremiumEfficiencyNEDCbattery_emptyArgs = {
8356
+ unit?: Maybe<FuelConsumptionUnit>;
8357
+ };
8358
+ export declare type VehiclePremiumEfficiencyNEDCbattery_empty_co2Args = {
8359
+ unit?: Maybe<EmissionRateUnit>;
8360
+ };
8318
8361
  export declare type VehiclePremiumEfficiencyProvider = {
8319
8362
  /** Vehicle efficiency based on RealRange (usable battery/range). */
8320
8363
  value?: Maybe<Scalars["Float"]>;
@@ -8431,6 +8474,25 @@ export declare type VehiclePremiumFastCharge = {
8431
8474
  export declare type VehiclePremiumFastChargecharge_speedArgs = {
8432
8475
  unit?: Maybe<ChargeSpeedUnit>;
8433
8476
  };
8477
+ export declare type VehiclePremiumFastChargeOEM = {
8478
+ /** Manufacturer-stated maximum power for a fast charging session. */
8479
+ maximum_power?: Maybe<Scalars["Float"]>;
8480
+ /** Manufacturer-stated charge time in seconds for a fast charging session. */
8481
+ charge_time?: Maybe<Scalars["Int"]>;
8482
+ /** Manufacturer-stated start state of charge for a fast charging session. */
8483
+ start_state_of_charge?: Maybe<Scalars["Float"]>;
8484
+ /** Manufacturer-stated end state of charge for a fast charging session. */
8485
+ end_state_of_charge?: Maybe<Scalars["Float"]>;
8486
+ };
8487
+ export declare type VehiclePremiumFastChargeOEMmaximum_powerArgs = {
8488
+ unit?: Maybe<PowerUnit>;
8489
+ };
8490
+ export declare type VehiclePremiumFastChargeOEMstart_state_of_chargeArgs = {
8491
+ unit?: Maybe<StateOfChargeUnit>;
8492
+ };
8493
+ export declare type VehiclePremiumFastChargeOEMend_state_of_chargeArgs = {
8494
+ unit?: Maybe<StateOfChargeUnit>;
8495
+ };
8434
8496
  export declare type VehiclePremiumFastChargeTable = {
8435
8497
  /** Charging details for fast charging (format: ChargerConnector-ChargerPower-AC/DC). */
8436
8498
  format?: Maybe<Scalars["String"]>;
@@ -8484,6 +8546,48 @@ export declare type VehiclePremiumNaming = {
8484
8546
  length_version?: Maybe<Scalars["String"]>;
8485
8547
  /** Vehicle model height version. */
8486
8548
  height_version?: Maybe<Scalars["String"]>;
8549
+ /** Top-level general model series identifier. */
8550
+ series?: Maybe<Scalars["String"]>;
8551
+ };
8552
+ /** 1-stop range data by climatic condition (mild, average, cold), including durations and rating. */
8553
+ export declare type VehiclePremiumOneStopRange = {
8554
+ /** 1-stop range metrics in mild conditions. */
8555
+ mild?: Maybe<VehiclePremiumOneStopRangeCondition>;
8556
+ /** 1-stop range metrics in average conditions. */
8557
+ average?: Maybe<VehiclePremiumOneStopRangeCondition>;
8558
+ /** 1-stop range metrics in cold conditions. */
8559
+ cold?: Maybe<VehiclePremiumOneStopRangeCondition>;
8560
+ /** Long-distance rating in stars based on 1-stop range performance. */
8561
+ rating_stars?: Maybe<Scalars["Float"]>;
8562
+ };
8563
+ /** 1-stop range metrics under specific climatic conditions. */
8564
+ export declare type VehiclePremiumOneStopRangeCondition = {
8565
+ /** Distance for first driving leg under specific climatic conditions. */
8566
+ first_leg_distance?: Maybe<Scalars["Float"]>;
8567
+ /** Distance for second driving leg under specific climatic conditions. */
8568
+ second_leg_distance?: Maybe<Scalars["Float"]>;
8569
+ /** Total distance for 1-stop trip under specific climatic conditions. */
8570
+ total_distance?: Maybe<Scalars["Float"]>;
8571
+ /** Driving duration in seconds for first leg under specific climatic conditions. */
8572
+ first_leg_duration?: Maybe<Scalars["Int"]>;
8573
+ /** Charging duration in seconds for stop under specific climatic conditions. */
8574
+ charging_duration?: Maybe<Scalars["Int"]>;
8575
+ /** Driving duration in seconds for second leg under specific climatic conditions. */
8576
+ second_leg_duration?: Maybe<Scalars["Int"]>;
8577
+ /** Total trip duration in seconds for 1-stop trip under specific climatic conditions. */
8578
+ total_duration?: Maybe<Scalars["Int"]>;
8579
+ };
8580
+ /** 1-stop range metrics under specific climatic conditions. */
8581
+ export declare type VehiclePremiumOneStopRangeConditionfirst_leg_distanceArgs = {
8582
+ unit?: Maybe<DistanceUnit>;
8583
+ };
8584
+ /** 1-stop range metrics under specific climatic conditions. */
8585
+ export declare type VehiclePremiumOneStopRangeConditionsecond_leg_distanceArgs = {
8586
+ unit?: Maybe<DistanceUnit>;
8587
+ };
8588
+ /** 1-stop range metrics under specific climatic conditions. */
8589
+ export declare type VehiclePremiumOneStopRangeConditiontotal_distanceArgs = {
8590
+ unit?: Maybe<DistanceUnit>;
8487
8591
  };
8488
8592
  export declare type VehiclePremiumPerformance = {
8489
8593
  /** Acceleration 0-100 km/h. */
@@ -8779,7 +8883,9 @@ export declare enum VolumeUnit {
8779
8883
  /** Return the volume in cubic meters. */
8780
8884
  CUBIC_METER = "cubic_meter",
8781
8885
  /** Return the volume in cubic feet. */
8782
- CUBIC_FOOT = "cubic_foot"
8886
+ CUBIC_FOOT = "cubic_foot",
8887
+ /** Return the volume in cubic centimeters. */
8888
+ CUBIC_CENTIMETER = "cubic_centimeter"
8783
8889
  }
8784
8890
  /** Type of weather conditions used in the route calculation. */
8785
8891
  export declare enum WeatherType {