@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/dist/ts/graphql.d.ts
CHANGED
|
@@ -7813,6 +7813,8 @@ export declare type VehicleListNaming = {
|
|
|
7813
7813
|
edition?: Maybe<Scalars["String"]>;
|
|
7814
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. */
|
|
7815
7815
|
chargetrip_version: Scalars["String"];
|
|
7816
|
+
/** Top-level general model series identifier. */
|
|
7817
|
+
series?: Maybe<Scalars["String"]>;
|
|
7816
7818
|
};
|
|
7817
7819
|
export declare type VehicleListRange = {
|
|
7818
7820
|
/**
|
|
@@ -7903,6 +7905,8 @@ export declare type VehicleNaming = {
|
|
|
7903
7905
|
edition?: Maybe<Scalars["String"]>;
|
|
7904
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. */
|
|
7905
7907
|
chargetrip_version: Scalars["String"];
|
|
7908
|
+
/** Top-level general model series identifier. */
|
|
7909
|
+
series?: Maybe<Scalars["String"]>;
|
|
7906
7910
|
};
|
|
7907
7911
|
export declare type VehiclePerformance = {
|
|
7908
7912
|
/** Acceleration. */
|
|
@@ -7940,6 +7944,8 @@ export declare type VehiclePremium = {
|
|
|
7940
7944
|
charge: VehiclePremiumCharge;
|
|
7941
7945
|
/** Fast charge details. */
|
|
7942
7946
|
fast_charge: VehiclePremiumFastCharge;
|
|
7947
|
+
/** Manufacturer-stated fast charging specifications. */
|
|
7948
|
+
fast_charge_oem?: Maybe<VehiclePremiumFastChargeOEM>;
|
|
7943
7949
|
/** Adapters of connectors available for a connectors of the vehicle. Please note that for HEVs this will always be an empty array. */
|
|
7944
7950
|
adapters: Array<VehicleConnector>;
|
|
7945
7951
|
/** Battery of the vehicle. */
|
|
@@ -7952,10 +7958,14 @@ export declare type VehiclePremium = {
|
|
|
7952
7958
|
pricing: VehiclePremiumPriceValueWithGrant;
|
|
7953
7959
|
/** Drivetrain of the vehicle. */
|
|
7954
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>;
|
|
7955
7963
|
/** Performance of the vehicle. */
|
|
7956
7964
|
performance?: Maybe<VehiclePremiumPerformance>;
|
|
7957
7965
|
/** Range of the vehicle. */
|
|
7958
7966
|
range: VehiclePremiumRange;
|
|
7967
|
+
/** One-stop range data by climatic condition (mild, average, cold), including durations and rating. */
|
|
7968
|
+
one_stop_range?: Maybe<VehiclePremiumOneStopRange>;
|
|
7959
7969
|
/** Efficiency of the vehicle. */
|
|
7960
7970
|
efficiency: VehiclePremiumEfficiency;
|
|
7961
7971
|
/** Safety of the vehicle. */
|
|
@@ -8012,6 +8022,12 @@ export declare type VehiclePremiumBattery = {
|
|
|
8012
8022
|
nominal_voltage?: Maybe<Scalars["Float"]>;
|
|
8013
8023
|
/** Type of battery. */
|
|
8014
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"]>;
|
|
8015
8031
|
};
|
|
8016
8032
|
export declare type VehiclePremiumBatteryweightArgs = {
|
|
8017
8033
|
unit?: Maybe<WeightUnit>;
|
|
@@ -8251,6 +8267,21 @@ export declare type VehiclePremiumChargeStandardOBCpowerArgs = {
|
|
|
8251
8267
|
export declare type VehiclePremiumChargeStandardOBCcharge_speedArgs = {
|
|
8252
8268
|
unit?: Maybe<ChargeSpeedUnit>;
|
|
8253
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
|
+
};
|
|
8254
8285
|
export declare type VehiclePremiumDrivetrain = {
|
|
8255
8286
|
/** Type of drivetrain. */
|
|
8256
8287
|
type: VehicleDrivetrainType;
|
|
@@ -8301,6 +8332,10 @@ export declare type VehiclePremiumEfficiencyNEDC = {
|
|
|
8301
8332
|
vehicle_fuel_equivalent?: Maybe<Scalars["Float"]>;
|
|
8302
8333
|
/** Rated CO2 emissions in NEDC combined cycle in battery-only mode (NULL if not NEDC rated). */
|
|
8303
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"]>;
|
|
8304
8339
|
};
|
|
8305
8340
|
export declare type VehiclePremiumEfficiencyNEDCvalueArgs = {
|
|
8306
8341
|
unit?: Maybe<ConsumptionUnit>;
|
|
@@ -8317,6 +8352,12 @@ export declare type VehiclePremiumEfficiencyNEDCvehicle_fuel_equivalentArgs = {
|
|
|
8317
8352
|
export declare type VehiclePremiumEfficiencyNEDCco2Args = {
|
|
8318
8353
|
unit?: Maybe<EmissionRateUnit>;
|
|
8319
8354
|
};
|
|
8355
|
+
export declare type VehiclePremiumEfficiencyNEDCbattery_emptyArgs = {
|
|
8356
|
+
unit?: Maybe<FuelConsumptionUnit>;
|
|
8357
|
+
};
|
|
8358
|
+
export declare type VehiclePremiumEfficiencyNEDCbattery_empty_co2Args = {
|
|
8359
|
+
unit?: Maybe<EmissionRateUnit>;
|
|
8360
|
+
};
|
|
8320
8361
|
export declare type VehiclePremiumEfficiencyProvider = {
|
|
8321
8362
|
/** Vehicle efficiency based on RealRange (usable battery/range). */
|
|
8322
8363
|
value?: Maybe<Scalars["Float"]>;
|
|
@@ -8433,6 +8474,25 @@ export declare type VehiclePremiumFastCharge = {
|
|
|
8433
8474
|
export declare type VehiclePremiumFastChargecharge_speedArgs = {
|
|
8434
8475
|
unit?: Maybe<ChargeSpeedUnit>;
|
|
8435
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
|
+
};
|
|
8436
8496
|
export declare type VehiclePremiumFastChargeTable = {
|
|
8437
8497
|
/** Charging details for fast charging (format: ChargerConnector-ChargerPower-AC/DC). */
|
|
8438
8498
|
format?: Maybe<Scalars["String"]>;
|
|
@@ -8486,6 +8546,48 @@ export declare type VehiclePremiumNaming = {
|
|
|
8486
8546
|
length_version?: Maybe<Scalars["String"]>;
|
|
8487
8547
|
/** Vehicle model height version. */
|
|
8488
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>;
|
|
8489
8591
|
};
|
|
8490
8592
|
export declare type VehiclePremiumPerformance = {
|
|
8491
8593
|
/** Acceleration 0-100 km/h. */
|
|
@@ -8781,7 +8883,9 @@ export declare enum VolumeUnit {
|
|
|
8781
8883
|
/** Return the volume in cubic meters. */
|
|
8782
8884
|
CUBIC_METER = "cubic_meter",
|
|
8783
8885
|
/** Return the volume in cubic feet. */
|
|
8784
|
-
CUBIC_FOOT = "cubic_foot"
|
|
8886
|
+
CUBIC_FOOT = "cubic_foot",
|
|
8887
|
+
/** Return the volume in cubic centimeters. */
|
|
8888
|
+
CUBIC_CENTIMETER = "cubic_centimeter"
|
|
8785
8889
|
}
|
|
8786
8890
|
/** Type of weather conditions used in the route calculation. */
|
|
8787
8891
|
export declare enum WeatherType {
|