@chargetrip/types 1.74.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/dist/browser/index.js +1 -1
- package/dist/browser/index.js.map +1 -1
- package/dist/node/index.js +1 -0
- package/dist/node/index.js.map +1 -1
- package/dist/react-native/graphql.js +1 -0
- package/dist/react-native/graphql.js.map +1 -1
- package/dist/ts/graphql.d.ts +105 -1
- package/graphql.schema.json +529 -1
- package/package.json +1 -1
- package/src/graphql.ts +119 -1
package/src/graphql.ts
CHANGED
|
@@ -8583,6 +8583,8 @@ export type VehicleListNaming = {
|
|
|
8583
8583
|
edition?: Maybe<Scalars["String"]>;
|
|
8584
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. */
|
|
8585
8585
|
chargetrip_version: Scalars["String"];
|
|
8586
|
+
/** Top-level general model series identifier. */
|
|
8587
|
+
series?: Maybe<Scalars["String"]>;
|
|
8586
8588
|
};
|
|
8587
8589
|
|
|
8588
8590
|
export type VehicleListRange = {
|
|
@@ -8683,6 +8685,8 @@ export type VehicleNaming = {
|
|
|
8683
8685
|
edition?: Maybe<Scalars["String"]>;
|
|
8684
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. */
|
|
8685
8687
|
chargetrip_version: Scalars["String"];
|
|
8688
|
+
/** Top-level general model series identifier. */
|
|
8689
|
+
series?: Maybe<Scalars["String"]>;
|
|
8686
8690
|
};
|
|
8687
8691
|
|
|
8688
8692
|
export type VehiclePerformance = {
|
|
@@ -8725,6 +8729,8 @@ export type VehiclePremium = {
|
|
|
8725
8729
|
charge: VehiclePremiumCharge;
|
|
8726
8730
|
/** Fast charge details. */
|
|
8727
8731
|
fast_charge: VehiclePremiumFastCharge;
|
|
8732
|
+
/** Manufacturer-stated fast charging specifications. */
|
|
8733
|
+
fast_charge_oem?: Maybe<VehiclePremiumFastChargeOEM>;
|
|
8728
8734
|
/** Adapters of connectors available for a connectors of the vehicle. Please note that for HEVs this will always be an empty array. */
|
|
8729
8735
|
adapters: Array<VehicleConnector>;
|
|
8730
8736
|
/** Battery of the vehicle. */
|
|
@@ -8737,10 +8743,14 @@ export type VehiclePremium = {
|
|
|
8737
8743
|
pricing: VehiclePremiumPriceValueWithGrant;
|
|
8738
8744
|
/** Drivetrain of the vehicle. */
|
|
8739
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>;
|
|
8740
8748
|
/** Performance of the vehicle. */
|
|
8741
8749
|
performance?: Maybe<VehiclePremiumPerformance>;
|
|
8742
8750
|
/** Range of the vehicle. */
|
|
8743
8751
|
range: VehiclePremiumRange;
|
|
8752
|
+
/** One-stop range data by climatic condition (mild, average, cold), including durations and rating. */
|
|
8753
|
+
one_stop_range?: Maybe<VehiclePremiumOneStopRange>;
|
|
8744
8754
|
/** Efficiency of the vehicle. */
|
|
8745
8755
|
efficiency: VehiclePremiumEfficiency;
|
|
8746
8756
|
/** Safety of the vehicle. */
|
|
@@ -8799,6 +8809,12 @@ export type VehiclePremiumBattery = {
|
|
|
8799
8809
|
nominal_voltage?: Maybe<Scalars["Float"]>;
|
|
8800
8810
|
/** Type of battery. */
|
|
8801
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"]>;
|
|
8802
8818
|
};
|
|
8803
8819
|
|
|
8804
8820
|
export type VehiclePremiumBatteryweightArgs = {
|
|
@@ -9074,6 +9090,24 @@ export type VehiclePremiumChargeStandardOBCcharge_speedArgs = {
|
|
|
9074
9090
|
unit?: Maybe<ChargeSpeedUnit>;
|
|
9075
9091
|
};
|
|
9076
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
|
+
|
|
9077
9111
|
export type VehiclePremiumDrivetrain = {
|
|
9078
9112
|
/** Type of drivetrain. */
|
|
9079
9113
|
type: VehicleDrivetrainType;
|
|
@@ -9129,6 +9163,10 @@ export type VehiclePremiumEfficiencyNEDC = {
|
|
|
9129
9163
|
vehicle_fuel_equivalent?: Maybe<Scalars["Float"]>;
|
|
9130
9164
|
/** Rated CO2 emissions in NEDC combined cycle in battery-only mode (NULL if not NEDC rated). */
|
|
9131
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"]>;
|
|
9132
9170
|
};
|
|
9133
9171
|
|
|
9134
9172
|
export type VehiclePremiumEfficiencyNEDCvalueArgs = {
|
|
@@ -9151,6 +9189,14 @@ export type VehiclePremiumEfficiencyNEDCco2Args = {
|
|
|
9151
9189
|
unit?: Maybe<EmissionRateUnit>;
|
|
9152
9190
|
};
|
|
9153
9191
|
|
|
9192
|
+
export type VehiclePremiumEfficiencyNEDCbattery_emptyArgs = {
|
|
9193
|
+
unit?: Maybe<FuelConsumptionUnit>;
|
|
9194
|
+
};
|
|
9195
|
+
|
|
9196
|
+
export type VehiclePremiumEfficiencyNEDCbattery_empty_co2Args = {
|
|
9197
|
+
unit?: Maybe<EmissionRateUnit>;
|
|
9198
|
+
};
|
|
9199
|
+
|
|
9154
9200
|
export type VehiclePremiumEfficiencyProvider = {
|
|
9155
9201
|
/** Vehicle efficiency based on RealRange (usable battery/range). */
|
|
9156
9202
|
value?: Maybe<Scalars["Float"]>;
|
|
@@ -9288,6 +9334,29 @@ export type VehiclePremiumFastChargecharge_speedArgs = {
|
|
|
9288
9334
|
unit?: Maybe<ChargeSpeedUnit>;
|
|
9289
9335
|
};
|
|
9290
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
|
+
|
|
9291
9360
|
export type VehiclePremiumFastChargeTable = {
|
|
9292
9361
|
/** Charging details for fast charging (format: ChargerConnector-ChargerPower-AC/DC). */
|
|
9293
9362
|
format?: Maybe<Scalars["String"]>;
|
|
@@ -9344,6 +9413,53 @@ export type VehiclePremiumNaming = {
|
|
|
9344
9413
|
length_version?: Maybe<Scalars["String"]>;
|
|
9345
9414
|
/** Vehicle model height version. */
|
|
9346
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>;
|
|
9347
9463
|
};
|
|
9348
9464
|
|
|
9349
9465
|
export type VehiclePremiumPerformance = {
|
|
@@ -9679,7 +9795,9 @@ export enum VolumeUnit {
|
|
|
9679
9795
|
/** Return the volume in cubic meters. */
|
|
9680
9796
|
CUBIC_METER = "cubic_meter",
|
|
9681
9797
|
/** Return the volume in cubic feet. */
|
|
9682
|
-
CUBIC_FOOT = "cubic_foot"
|
|
9798
|
+
CUBIC_FOOT = "cubic_foot",
|
|
9799
|
+
/** Return the volume in cubic centimeters. */
|
|
9800
|
+
CUBIC_CENTIMETER = "cubic_centimeter"
|
|
9683
9801
|
}
|
|
9684
9802
|
|
|
9685
9803
|
/** Type of weather conditions used in the route calculation. */
|