@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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@chargetrip/types",
3
- "version": "1.73.0",
3
+ "version": "1.75.0",
4
4
  "license": "MIT",
5
5
  "keywords": [
6
6
  "chargetrip",
package/src/graphql.ts CHANGED
@@ -3176,20 +3176,20 @@ export type NavigationOverviewpolylineArgs = {
3176
3176
  };
3177
3177
 
3178
3178
  export type NavigationPropertiesStation = {
3179
- /** ID of the station. When provided and valid, the coordinates of this station will be used. */
3179
+ /** ID of the station. If specified and valid, the station is used as a mandatory charging stop. */
3180
3180
  station_id?: Maybe<Scalars["ID"]>;
3181
- /** External ID of the station. When provided and valid, the coordinates of this station will be used. */
3181
+ /** External ID of the station. If specified and valid, the station is used as a mandatory charging stop. */
3182
3182
  external_station_id?: Maybe<Scalars["ID"]>;
3183
- /** 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. */
3183
+ /** 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. */
3184
3184
  stop_duration?: Maybe<Scalars["Int"]>;
3185
3185
  };
3186
3186
 
3187
3187
  export type NavigationPropertiesStationInput = {
3188
- /** ID of the station. When provided and valid, the coordinates of this station will be used. */
3188
+ /** ID of the station. If specified and valid, the station is used as a mandatory charging stop. */
3189
3189
  station_id?: Maybe<Scalars["ID"]>;
3190
- /** External ID of the station. When provided and valid, the coordinates of this station will be used. */
3190
+ /** External ID of the station. If specified and valid, the station is used as a mandatory charging stop. */
3191
3191
  external_station_id?: Maybe<Scalars["ID"]>;
3192
- /** 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. */
3192
+ /** 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. */
3193
3193
  stop_duration?: Maybe<Scalars["Int"]>;
3194
3194
  };
3195
3195
 
@@ -3406,7 +3406,7 @@ export type NavigationViaFeaturePoint = {
3406
3406
  type: FeatureType;
3407
3407
  /** Geometry of the feature. */
3408
3408
  geometry: Point;
3409
- /** 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. */
3409
+ /** 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`. */
3410
3410
  properties?: Maybe<NavigationViaProperties>;
3411
3411
  };
3412
3412
 
@@ -3417,7 +3417,7 @@ export type NavigationViaFeaturePointInput = {
3417
3417
  type: FeatureType;
3418
3418
  /** Geometry of the feature. */
3419
3419
  geometry: PointInput;
3420
- /** 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. */
3420
+ /** 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`. */
3421
3421
  properties?: Maybe<NavigationViaPropertiesInput>;
3422
3422
  };
3423
3423
 
@@ -5394,6 +5394,8 @@ export enum RouteDetailsLegWarningCode {
5394
5394
  STATION_CLOSING_SOON = "station_closing_soon",
5395
5395
  /** Specified stop duration at the via charging station is insufficient to start a charging session. */
5396
5396
  VIA_INSUFFICIENT_CHARGING_TIME = "via_insufficient_charging_time",
5397
+ /** The stop duration at the station was extended to meet the charging mode for this route. */
5398
+ VIA_CHARGING_DURATION_EXTENDED = "via_charging_duration_extended",
5397
5399
  /** 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. */
5398
5400
  VIA_STATION_BELOW_MINIMUM_POWER = "via_station_below_minimum_power",
5399
5401
  /** Charging station at the destination does not have any connectors compatible with the selected vehicle. */
@@ -6508,20 +6510,20 @@ export type RoutePropertiesLocationInput = {
6508
6510
  };
6509
6511
 
6510
6512
  export type RoutePropertiesStation = {
6511
- /** ID of the station. When provided and valid, the coordinates of this station will be used. */
6513
+ /** ID of the station. If specified and valid, the station is used as a mandatory charging stop. */
6512
6514
  station_id?: Maybe<Scalars["ID"]>;
6513
- /** External ID of the station. When provided and valid, the coordinates of this station will be used. */
6515
+ /** External ID of the station. If specified and valid, the station is used as a mandatory charging stop. */
6514
6516
  external_station_id?: Maybe<Scalars["ID"]>;
6515
- /** Duration to stay at the station, in seconds. */
6517
+ /** 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. */
6516
6518
  stop_duration?: Maybe<Scalars["Int"]>;
6517
6519
  };
6518
6520
 
6519
6521
  export type RoutePropertiesStationInput = {
6520
- /** ID of the station. When provided and valid, the coordinates of this station will be used. */
6522
+ /** ID of the station. If specified and valid, the station is used as a mandatory charging stop. */
6521
6523
  station_id?: Maybe<Scalars["ID"]>;
6522
- /** External ID of the station. When provided and valid, the coordinates of this station will be used. */
6524
+ /** External ID of the station. If specified and valid, the station is used as a mandatory charging stop. */
6523
6525
  external_station_id?: Maybe<Scalars["ID"]>;
6524
- /** Duration to stay at the station, in seconds. */
6526
+ /** 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. */
6525
6527
  stop_duration?: Maybe<Scalars["Int"]>;
6526
6528
  };
6527
6529
 
@@ -6899,7 +6901,7 @@ export type RouteTruckViaPropertiesInput = {
6899
6901
  location?: Maybe<RoutePropertiesViaLocationInput>;
6900
6902
  /** 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. */
6901
6903
  vehicle?: Maybe<RouteTruckPropertiesVehicleInput>;
6902
- /** Station data of the via point. */
6904
+ /** 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. */
6903
6905
  station?: Maybe<RoutePropertiesStationInput>;
6904
6906
  };
6905
6907
 
@@ -7144,7 +7146,7 @@ export type RouteViaFeaturePoint = {
7144
7146
  type: FeatureType;
7145
7147
  /** Geometry of the feature. */
7146
7148
  geometry?: Maybe<Point>;
7147
- /** 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. */
7149
+ /** 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`. */
7148
7150
  properties?: Maybe<RouteViaProperties>;
7149
7151
  };
7150
7152
 
@@ -7155,7 +7157,7 @@ export type RouteViaFeaturePointInput = {
7155
7157
  type: FeatureType;
7156
7158
  /** Geometry of the feature. */
7157
7159
  geometry?: Maybe<PointInput>;
7158
- /** 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. */
7160
+ /** 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`. */
7159
7161
  properties?: Maybe<RouteViaPropertiesInput>;
7160
7162
  };
7161
7163
 
@@ -8581,6 +8583,8 @@ export type VehicleListNaming = {
8581
8583
  edition?: Maybe<Scalars["String"]>;
8582
8584
  /** 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. */
8583
8585
  chargetrip_version: Scalars["String"];
8586
+ /** Top-level general model series identifier. */
8587
+ series?: Maybe<Scalars["String"]>;
8584
8588
  };
8585
8589
 
8586
8590
  export type VehicleListRange = {
@@ -8681,6 +8685,8 @@ export type VehicleNaming = {
8681
8685
  edition?: Maybe<Scalars["String"]>;
8682
8686
  /** 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. */
8683
8687
  chargetrip_version: Scalars["String"];
8688
+ /** Top-level general model series identifier. */
8689
+ series?: Maybe<Scalars["String"]>;
8684
8690
  };
8685
8691
 
8686
8692
  export type VehiclePerformance = {
@@ -8723,6 +8729,8 @@ export type VehiclePremium = {
8723
8729
  charge: VehiclePremiumCharge;
8724
8730
  /** Fast charge details. */
8725
8731
  fast_charge: VehiclePremiumFastCharge;
8732
+ /** Manufacturer-stated fast charging specifications. */
8733
+ fast_charge_oem?: Maybe<VehiclePremiumFastChargeOEM>;
8726
8734
  /** Adapters of connectors available for a connectors of the vehicle. Please note that for HEVs this will always be an empty array. */
8727
8735
  adapters: Array<VehicleConnector>;
8728
8736
  /** Battery of the vehicle. */
@@ -8735,10 +8743,14 @@ export type VehiclePremium = {
8735
8743
  pricing: VehiclePremiumPriceValueWithGrant;
8736
8744
  /** Drivetrain of the vehicle. */
8737
8745
  drivetrain: VehiclePremiumDrivetrain;
8746
+ /** Internal combustion engine (ICE) and fuel storage specifications for hybrid and plug-in hybrid vehicles. This field is null for battery electric vehicles. */
8747
+ combustion?: Maybe<VehiclePremiumCombustion>;
8738
8748
  /** Performance of the vehicle. */
8739
8749
  performance?: Maybe<VehiclePremiumPerformance>;
8740
8750
  /** Range of the vehicle. */
8741
8751
  range: VehiclePremiumRange;
8752
+ /** One-stop range data by climatic condition (mild, average, cold), including durations and rating. */
8753
+ one_stop_range?: Maybe<VehiclePremiumOneStopRange>;
8742
8754
  /** Efficiency of the vehicle. */
8743
8755
  efficiency: VehiclePremiumEfficiency;
8744
8756
  /** Safety of the vehicle. */
@@ -8797,6 +8809,12 @@ export type VehiclePremiumBattery = {
8797
8809
  nominal_voltage?: Maybe<Scalars["Float"]>;
8798
8810
  /** Type of battery. */
8799
8811
  type?: Maybe<VehicleBatteryType>;
8812
+ /** Form factor of the battery cells. */
8813
+ form_factor?: Maybe<Scalars["String"]>;
8814
+ /** Battery pack name or reference code. */
8815
+ name?: Maybe<Scalars["String"]>;
8816
+ /** Battery and drivetrain platform system voltage architecture. */
8817
+ architecture?: Maybe<Scalars["String"]>;
8800
8818
  };
8801
8819
 
8802
8820
  export type VehiclePremiumBatteryweightArgs = {
@@ -9072,6 +9090,24 @@ export type VehiclePremiumChargeStandardOBCcharge_speedArgs = {
9072
9090
  unit?: Maybe<ChargeSpeedUnit>;
9073
9091
  };
9074
9092
 
9093
+ /** Specifications for internal combustion engine (ICE) systems. */
9094
+ export type VehiclePremiumCombustion = {
9095
+ /** Fuel tank capacity of the vehicle. */
9096
+ fuel_tank_capacity?: Maybe<Scalars["Float"]>;
9097
+ /** Engine displacement. */
9098
+ displacement?: Maybe<Scalars["Float"]>;
9099
+ };
9100
+
9101
+ /** Specifications for internal combustion engine (ICE) systems. */
9102
+ export type VehiclePremiumCombustionfuel_tank_capacityArgs = {
9103
+ unit?: Maybe<VolumeUnit>;
9104
+ };
9105
+
9106
+ /** Specifications for internal combustion engine (ICE) systems. */
9107
+ export type VehiclePremiumCombustiondisplacementArgs = {
9108
+ unit?: Maybe<VolumeUnit>;
9109
+ };
9110
+
9075
9111
  export type VehiclePremiumDrivetrain = {
9076
9112
  /** Type of drivetrain. */
9077
9113
  type: VehicleDrivetrainType;
@@ -9127,6 +9163,10 @@ export type VehiclePremiumEfficiencyNEDC = {
9127
9163
  vehicle_fuel_equivalent?: Maybe<Scalars["Float"]>;
9128
9164
  /** Rated CO2 emissions in NEDC combined cycle in battery-only mode (NULL if not NEDC rated). */
9129
9165
  co2?: Maybe<Scalars["Float"]>;
9166
+ /** Fuel efficiency under the NEDC cycle when the hybrid battery is completely empty. Only applicable to PHEVs. */
9167
+ battery_empty?: Maybe<Scalars["Float"]>;
9168
+ /** CO2 emissions under the NEDC cycle when the hybrid battery is completely empty. Only applicable to PHEVs. */
9169
+ battery_empty_co2?: Maybe<Scalars["Float"]>;
9130
9170
  };
9131
9171
 
9132
9172
  export type VehiclePremiumEfficiencyNEDCvalueArgs = {
@@ -9149,6 +9189,14 @@ export type VehiclePremiumEfficiencyNEDCco2Args = {
9149
9189
  unit?: Maybe<EmissionRateUnit>;
9150
9190
  };
9151
9191
 
9192
+ export type VehiclePremiumEfficiencyNEDCbattery_emptyArgs = {
9193
+ unit?: Maybe<FuelConsumptionUnit>;
9194
+ };
9195
+
9196
+ export type VehiclePremiumEfficiencyNEDCbattery_empty_co2Args = {
9197
+ unit?: Maybe<EmissionRateUnit>;
9198
+ };
9199
+
9152
9200
  export type VehiclePremiumEfficiencyProvider = {
9153
9201
  /** Vehicle efficiency based on RealRange (usable battery/range). */
9154
9202
  value?: Maybe<Scalars["Float"]>;
@@ -9286,6 +9334,29 @@ export type VehiclePremiumFastChargecharge_speedArgs = {
9286
9334
  unit?: Maybe<ChargeSpeedUnit>;
9287
9335
  };
9288
9336
 
9337
+ export type VehiclePremiumFastChargeOEM = {
9338
+ /** Manufacturer-stated maximum power for a fast charging session. */
9339
+ maximum_power?: Maybe<Scalars["Float"]>;
9340
+ /** Manufacturer-stated charge time in seconds for a fast charging session. */
9341
+ charge_time?: Maybe<Scalars["Int"]>;
9342
+ /** Manufacturer-stated start state of charge for a fast charging session. */
9343
+ start_state_of_charge?: Maybe<Scalars["Float"]>;
9344
+ /** Manufacturer-stated end state of charge for a fast charging session. */
9345
+ end_state_of_charge?: Maybe<Scalars["Float"]>;
9346
+ };
9347
+
9348
+ export type VehiclePremiumFastChargeOEMmaximum_powerArgs = {
9349
+ unit?: Maybe<PowerUnit>;
9350
+ };
9351
+
9352
+ export type VehiclePremiumFastChargeOEMstart_state_of_chargeArgs = {
9353
+ unit?: Maybe<StateOfChargeUnit>;
9354
+ };
9355
+
9356
+ export type VehiclePremiumFastChargeOEMend_state_of_chargeArgs = {
9357
+ unit?: Maybe<StateOfChargeUnit>;
9358
+ };
9359
+
9289
9360
  export type VehiclePremiumFastChargeTable = {
9290
9361
  /** Charging details for fast charging (format: ChargerConnector-ChargerPower-AC/DC). */
9291
9362
  format?: Maybe<Scalars["String"]>;
@@ -9342,6 +9413,53 @@ export type VehiclePremiumNaming = {
9342
9413
  length_version?: Maybe<Scalars["String"]>;
9343
9414
  /** Vehicle model height version. */
9344
9415
  height_version?: Maybe<Scalars["String"]>;
9416
+ /** Top-level general model series identifier. */
9417
+ series?: Maybe<Scalars["String"]>;
9418
+ };
9419
+
9420
+ /** 1-stop range data by climatic condition (mild, average, cold), including durations and rating. */
9421
+ export type VehiclePremiumOneStopRange = {
9422
+ /** 1-stop range metrics in mild conditions. */
9423
+ mild?: Maybe<VehiclePremiumOneStopRangeCondition>;
9424
+ /** 1-stop range metrics in average conditions. */
9425
+ average?: Maybe<VehiclePremiumOneStopRangeCondition>;
9426
+ /** 1-stop range metrics in cold conditions. */
9427
+ cold?: Maybe<VehiclePremiumOneStopRangeCondition>;
9428
+ /** Long-distance rating in stars based on 1-stop range performance. */
9429
+ rating_stars?: Maybe<Scalars["Float"]>;
9430
+ };
9431
+
9432
+ /** 1-stop range metrics under specific climatic conditions. */
9433
+ export type VehiclePremiumOneStopRangeCondition = {
9434
+ /** Distance for first driving leg under specific climatic conditions. */
9435
+ first_leg_distance?: Maybe<Scalars["Float"]>;
9436
+ /** Distance for second driving leg under specific climatic conditions. */
9437
+ second_leg_distance?: Maybe<Scalars["Float"]>;
9438
+ /** Total distance for 1-stop trip under specific climatic conditions. */
9439
+ total_distance?: Maybe<Scalars["Float"]>;
9440
+ /** Driving duration in seconds for first leg under specific climatic conditions. */
9441
+ first_leg_duration?: Maybe<Scalars["Int"]>;
9442
+ /** Charging duration in seconds for stop under specific climatic conditions. */
9443
+ charging_duration?: Maybe<Scalars["Int"]>;
9444
+ /** Driving duration in seconds for second leg under specific climatic conditions. */
9445
+ second_leg_duration?: Maybe<Scalars["Int"]>;
9446
+ /** Total trip duration in seconds for 1-stop trip under specific climatic conditions. */
9447
+ total_duration?: Maybe<Scalars["Int"]>;
9448
+ };
9449
+
9450
+ /** 1-stop range metrics under specific climatic conditions. */
9451
+ export type VehiclePremiumOneStopRangeConditionfirst_leg_distanceArgs = {
9452
+ unit?: Maybe<DistanceUnit>;
9453
+ };
9454
+
9455
+ /** 1-stop range metrics under specific climatic conditions. */
9456
+ export type VehiclePremiumOneStopRangeConditionsecond_leg_distanceArgs = {
9457
+ unit?: Maybe<DistanceUnit>;
9458
+ };
9459
+
9460
+ /** 1-stop range metrics under specific climatic conditions. */
9461
+ export type VehiclePremiumOneStopRangeConditiontotal_distanceArgs = {
9462
+ unit?: Maybe<DistanceUnit>;
9345
9463
  };
9346
9464
 
9347
9465
  export type VehiclePremiumPerformance = {
@@ -9677,7 +9795,9 @@ export enum VolumeUnit {
9677
9795
  /** Return the volume in cubic meters. */
9678
9796
  CUBIC_METER = "cubic_meter",
9679
9797
  /** Return the volume in cubic feet. */
9680
- CUBIC_FOOT = "cubic_foot"
9798
+ CUBIC_FOOT = "cubic_foot",
9799
+ /** Return the volume in cubic centimeters. */
9800
+ CUBIC_CENTIMETER = "cubic_centimeter"
9681
9801
  }
9682
9802
 
9683
9803
  /** Type of weather conditions used in the route calculation. */