@chargetrip/types 1.40.0 → 1.41.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/CHANGELOG.md +7 -0
- package/dist/browser/index.js +1 -1
- package/dist/browser/index.js.map +1 -1
- package/dist/node/index.js +8 -0
- package/dist/node/index.js.map +1 -1
- package/dist/react-native/graphql.js +8 -0
- package/dist/react-native/graphql.js.map +1 -1
- package/dist/ts/graphql.d.ts +107 -13
- package/graphql.schema.json +476 -19
- package/package.json +1 -1
- package/src/graphql.ts +116 -13
package/dist/ts/graphql.d.ts
CHANGED
|
@@ -2169,6 +2169,14 @@ export declare type GeometryPoint = {
|
|
|
2169
2169
|
type: PointType;
|
|
2170
2170
|
coordinates: Array<Scalars["Float"]>;
|
|
2171
2171
|
};
|
|
2172
|
+
export declare enum HeatPumpMode {
|
|
2173
|
+
/** Default to the vehicle configuration. */
|
|
2174
|
+
DEFAULT = "default",
|
|
2175
|
+
/** Vehicle has it installed. */
|
|
2176
|
+
INSTALLED = "installed",
|
|
2177
|
+
/** Vehicle doesn't have it installed. */
|
|
2178
|
+
NONE = "none"
|
|
2179
|
+
}
|
|
2172
2180
|
/** Allowed N (EU) types of heavy vehicles. */
|
|
2173
2181
|
export declare enum HeavyVehiclesEUType {
|
|
2174
2182
|
/** Only N1 type of heavy vehicles can be parked at the charging station. N1 vehicles have a maximum mass not exceeding 3.5 tonnes (7,700 lbs). */
|
|
@@ -2210,6 +2218,22 @@ export declare type Isoline = {
|
|
|
2210
2218
|
/** The inputted request data for the isoline used to compute it. */
|
|
2211
2219
|
request_input?: Maybe<IsolineRequestInput>;
|
|
2212
2220
|
};
|
|
2221
|
+
export declare type IsolineCabin = {
|
|
2222
|
+
/** Flag which indicate if the vehicle cabin was preconditioned for the desired temperature. */
|
|
2223
|
+
is_preconditioned?: Maybe<Scalars["Boolean"]>;
|
|
2224
|
+
/** Desired temperature inside the cabin. Default is 20 degrees Celsius or 68 degrees Fahrenheit. */
|
|
2225
|
+
desired_temperature?: Maybe<Scalars["Float"]>;
|
|
2226
|
+
};
|
|
2227
|
+
export declare type IsolineCabindesired_temperatureArgs = {
|
|
2228
|
+
unit?: Maybe<TemperatureUnit>;
|
|
2229
|
+
};
|
|
2230
|
+
/** Information about the cabin of the vehicle. */
|
|
2231
|
+
export declare type IsolineCabinInput = {
|
|
2232
|
+
/** Flag which indicate if the vehicle cabin was preconditioned for the desired temperature. */
|
|
2233
|
+
is_preconditioned?: Maybe<Scalars["Boolean"]>;
|
|
2234
|
+
/** Desired temperature inside the cabin. Default is 20 degrees Celsius or 68 degrees Fahrenheit. */
|
|
2235
|
+
desired_temperature?: Maybe<TemperatureInput>;
|
|
2236
|
+
};
|
|
2213
2237
|
export declare enum IsolineFerryConnectionsType {
|
|
2214
2238
|
/** Ferry connections should not be included. */
|
|
2215
2239
|
NONE = "none",
|
|
@@ -2233,6 +2257,10 @@ export declare type IsolineInput = {
|
|
|
2233
2257
|
total_cargo_weight?: Maybe<TotalCargoWeightInput>;
|
|
2234
2258
|
/** Climate is on. */
|
|
2235
2259
|
climate_control?: Maybe<Scalars["Boolean"]>;
|
|
2260
|
+
/** Vehicle Heat Pump configuration. */
|
|
2261
|
+
heat_pump?: Maybe<HeatPumpMode>;
|
|
2262
|
+
/** Vehicle cabin configuration. */
|
|
2263
|
+
cabin?: Maybe<IsolineCabinInput>;
|
|
2236
2264
|
/** Season to be taken into account when generating the isoline. */
|
|
2237
2265
|
season?: Maybe<RouteSeason>;
|
|
2238
2266
|
/** Polygons precision quality. */
|
|
@@ -2268,6 +2296,10 @@ export declare type IsolineRequestInput = {
|
|
|
2268
2296
|
total_cargo_weight?: Maybe<Scalars["Float"]>;
|
|
2269
2297
|
/** Climate is on. */
|
|
2270
2298
|
climate_control?: Maybe<Scalars["Boolean"]>;
|
|
2299
|
+
/** Vehicle Heat Pump configuration. */
|
|
2300
|
+
heat_pump?: Maybe<HeatPumpMode>;
|
|
2301
|
+
/** Vehicle cabin configuration. */
|
|
2302
|
+
cabin?: Maybe<IsolineCabin>;
|
|
2271
2303
|
/** Season taken into account when isoline was generated. */
|
|
2272
2304
|
season?: Maybe<RouteSeason>;
|
|
2273
2305
|
/** Polygons precision quality. */
|
|
@@ -3502,6 +3534,10 @@ export declare type RequestEv = {
|
|
|
3502
3534
|
minPower?: Maybe<Scalars["Int"]>;
|
|
3503
3535
|
/** Climate is on. The default is true. */
|
|
3504
3536
|
climate?: Maybe<Scalars["Boolean"]>;
|
|
3537
|
+
/** Vehicle Heat Pump configuration. */
|
|
3538
|
+
heatPump?: Maybe<HeatPumpMode>;
|
|
3539
|
+
/** Vehicle cabin configuration. */
|
|
3540
|
+
cabin?: Maybe<RequestEvCabin>;
|
|
3505
3541
|
/** Cargo weight, in kg. */
|
|
3506
3542
|
cargo?: Maybe<Scalars["Float"]>;
|
|
3507
3543
|
/**
|
|
@@ -3548,20 +3584,51 @@ export declare type RequestEvBatteryValue = {
|
|
|
3548
3584
|
/** Type of the desired final amount of energy in a battery. */
|
|
3549
3585
|
type: BatteryInputType;
|
|
3550
3586
|
};
|
|
3587
|
+
/** Vehicle cabin configuration. */
|
|
3588
|
+
export declare type RequestEvCabin = {
|
|
3589
|
+
/** Flag which indicate if the vehicle cabin was preconditioned for the desired temperature. */
|
|
3590
|
+
isPreconditioned?: Maybe<Scalars["Boolean"]>;
|
|
3591
|
+
/** Desired cabin temperature. Default is 20 degrees Celsius or 68 degrees Fahrenheit. */
|
|
3592
|
+
desiredTemperature?: Maybe<Scalars["Float"]>;
|
|
3593
|
+
};
|
|
3594
|
+
/** Vehicle cabin configuration. */
|
|
3595
|
+
export declare type RequestEvCabindesiredTemperatureArgs = {
|
|
3596
|
+
unit?: Maybe<TemperatureUnit>;
|
|
3597
|
+
};
|
|
3598
|
+
/** Vehicle cabin configuration. */
|
|
3599
|
+
export declare type RequestEvCabinInput = {
|
|
3600
|
+
/** Flag which indicate if the vehicle cabin was preconditioned for the desired temperature. */
|
|
3601
|
+
isPreconditioned?: Maybe<Scalars["Boolean"]>;
|
|
3602
|
+
/** Desired cabin temperature. Default is 20 degrees Celsius or 68 degrees Fahrenheit. */
|
|
3603
|
+
desiredTemperature?: Maybe<TemperatureInput>;
|
|
3604
|
+
};
|
|
3551
3605
|
export declare type RequestEvConsumption = {
|
|
3552
|
-
/**
|
|
3606
|
+
/** The amount of energy, in kWh, used by the auxiliary systems of the vehicle in a hour, like media box, etc */
|
|
3607
|
+
auxiliary?: Maybe<Scalars["Float"]>;
|
|
3608
|
+
/**
|
|
3609
|
+
* Consumption, in kWh, of the auxiliaries.
|
|
3610
|
+
* @deprecated In favor of auxiliary
|
|
3611
|
+
*/
|
|
3553
3612
|
aux?: Maybe<CarConsumption>;
|
|
3554
|
-
/**
|
|
3613
|
+
/**
|
|
3614
|
+
* The consumption, in kWh, of the battery management system.
|
|
3615
|
+
* @deprecated In favor of auxiliary
|
|
3616
|
+
*/
|
|
3555
3617
|
bms?: Maybe<CarConsumption>;
|
|
3556
|
-
/**
|
|
3618
|
+
/**
|
|
3619
|
+
* The consumption, in kWh, of the vehicle in idle mode.
|
|
3620
|
+
* @deprecated In favor of auxiliary
|
|
3621
|
+
*/
|
|
3557
3622
|
idle?: Maybe<CarConsumption>;
|
|
3558
3623
|
};
|
|
3559
3624
|
export declare type RequestEvConsumptionInput = {
|
|
3560
|
-
/**
|
|
3625
|
+
/** The amount of energy, in kWh, used by the auxiliary systems of the vehicle in a hour, like media box, etc. */
|
|
3626
|
+
auxiliary?: Maybe<Scalars["Float"]>;
|
|
3627
|
+
/** Deprecated in favor of auxiliary. */
|
|
3561
3628
|
aux?: Maybe<CarConsumptionInput>;
|
|
3562
|
-
/**
|
|
3629
|
+
/** Deprecated in favor of auxiliary. */
|
|
3563
3630
|
bms?: Maybe<CarConsumptionInput>;
|
|
3564
|
-
/**
|
|
3631
|
+
/** Deprecated in favor of auxiliary. */
|
|
3565
3632
|
idle?: Maybe<CarConsumptionInput>;
|
|
3566
3633
|
};
|
|
3567
3634
|
export declare type RequestEvInput = {
|
|
@@ -3577,6 +3644,10 @@ export declare type RequestEvInput = {
|
|
|
3577
3644
|
minPower?: Maybe<Scalars["Int"]>;
|
|
3578
3645
|
/** Flag which indicates if the climate is on. The default is true. */
|
|
3579
3646
|
climate?: Maybe<Scalars["Boolean"]>;
|
|
3647
|
+
/** Vehicle Heat Pump configuration. */
|
|
3648
|
+
heatPump?: Maybe<HeatPumpMode>;
|
|
3649
|
+
/** Vehicle cabin configuration. */
|
|
3650
|
+
cabin?: Maybe<RequestEvCabinInput>;
|
|
3580
3651
|
/** Number of occupants. */
|
|
3581
3652
|
occupants?: Maybe<Scalars["Int"]>;
|
|
3582
3653
|
/** Cargo weight, in kg. */
|
|
@@ -3830,13 +3901,13 @@ export declare type RouteAlternative = {
|
|
|
3830
3901
|
* @deprecated Will be removed in the future
|
|
3831
3902
|
*/
|
|
3832
3903
|
amenityRanking?: Maybe<Scalars["Int"]>;
|
|
3833
|
-
/**
|
|
3904
|
+
/** Display value that indicates the range, in meters, available at the beginning of the trip. This range is calculated using the Chargetrip range, the conditions at the time of planning the route, weather scenario (current or seasonal) and the route input. */
|
|
3834
3905
|
rangeStart?: Maybe<Scalars["Int"]>;
|
|
3835
3906
|
/** Total energy in a battery at the beginning of a trip, in kWh. */
|
|
3836
3907
|
rangeStartKwh?: Maybe<Scalars["Float"]>;
|
|
3837
3908
|
/** Total energy in a battery at the beginning of a trip, in percentage. */
|
|
3838
3909
|
rangeStartPercentage?: Maybe<Scalars["Int"]>;
|
|
3839
|
-
/**
|
|
3910
|
+
/** Display value that indicates the range, in meters, available at the end of the trip. This range is calculated using the Chargetrip range, the conditions at the time of planning the route, weather scenario (current or seasonal) and the route input. Please note: In case of a non BEV where the range end is negative, the value will be 0. */
|
|
3840
3911
|
rangeEnd?: Maybe<Scalars["Int"]>;
|
|
3841
3912
|
/** Remaining range, energy in kWh, at the end of a trip. In the case of a non BEV where the range end is negative, the value will be 0. */
|
|
3842
3913
|
rangeEndKwh?: Maybe<Scalars["Float"]>;
|
|
@@ -4155,13 +4226,13 @@ export declare type RouteLeg = {
|
|
|
4155
4226
|
duration?: Maybe<Scalars["Int"]>;
|
|
4156
4227
|
/** Total energy used in a leg in kWh. */
|
|
4157
4228
|
consumption?: Maybe<Scalars["Float"]>;
|
|
4158
|
-
/**
|
|
4229
|
+
/** Display value that indicates the range, in meters, available at the beginning of the leg. This range is calculated using the Chargetrip range, the conditions at the time of planning the route, weather scenario (current or seasonal) and the route input. */
|
|
4159
4230
|
rangeStart?: Maybe<Scalars["Int"]>;
|
|
4160
4231
|
/** Total energy in a battery at the beginning of a leg, in kWh. */
|
|
4161
4232
|
rangeStartKwh?: Maybe<Scalars["Float"]>;
|
|
4162
4233
|
/** Total energy in a battery at the beginning of a trip, in percentage. */
|
|
4163
4234
|
rangeStartPercentage?: Maybe<Scalars["Int"]>;
|
|
4164
|
-
/**
|
|
4235
|
+
/** Display value that indicates the range, in meters, available at the end of the leg. This range is calculated using the Chargetrip range, the conditions at the time of planning the route, weather scenario (current or seasonal) and the route input. Please note: In case of a non BEV where the range end is negative, the value will be 0. */
|
|
4165
4236
|
rangeEnd?: Maybe<Scalars["Int"]>;
|
|
4166
4237
|
/** Total energy left in a battery at the end of a leg, in kWh. In the case of a non BEV where the range end is negative, the value will be 0. */
|
|
4167
4238
|
rangeEndKwh?: Maybe<Scalars["Float"]>;
|
|
@@ -5347,6 +5418,18 @@ export declare enum TelemetryInputSource {
|
|
|
5347
5418
|
/** Value from the vehicle's telemetry. */
|
|
5348
5419
|
TELEMETRY = "telemetry"
|
|
5349
5420
|
}
|
|
5421
|
+
export declare type Temperature = {
|
|
5422
|
+
/** Value of the temperature. */
|
|
5423
|
+
value: Scalars["Float"];
|
|
5424
|
+
/** Type of temperature. */
|
|
5425
|
+
type: TemperatureUnit;
|
|
5426
|
+
};
|
|
5427
|
+
export declare type TemperatureInput = {
|
|
5428
|
+
/** Value of the temperature. */
|
|
5429
|
+
value: Scalars["Float"];
|
|
5430
|
+
/** Type of temperature. */
|
|
5431
|
+
type: TemperatureUnit;
|
|
5432
|
+
};
|
|
5350
5433
|
export declare enum TemperatureUnit {
|
|
5351
5434
|
/** Return the temperature in Celsius. */
|
|
5352
5435
|
CELSIUS = "Celsius",
|
|
@@ -6449,11 +6532,22 @@ export declare type VehiclePremiumRoutingfuel_consumptionArgs = {
|
|
|
6449
6532
|
unit?: Maybe<FuelConsumptionUnit>;
|
|
6450
6533
|
};
|
|
6451
6534
|
export declare type VehiclePremiumRoutingConsumption = {
|
|
6452
|
-
/**
|
|
6535
|
+
/** The amount of energy, in kWh, used by the auxiliary systems of the vehicle in a hour, like media box, etc */
|
|
6536
|
+
auxiliary?: Maybe<Scalars["Float"]>;
|
|
6537
|
+
/**
|
|
6538
|
+
* Consumption, in kWh, of the auxiliaries.
|
|
6539
|
+
* @deprecated In favor of auxiliary
|
|
6540
|
+
*/
|
|
6453
6541
|
aux?: Maybe<VehiclePremiumRoutingConsumptionValue>;
|
|
6454
|
-
/**
|
|
6542
|
+
/**
|
|
6543
|
+
* Consumption, in kWh, of the battery management system.
|
|
6544
|
+
* @deprecated In favor of auxiliary
|
|
6545
|
+
*/
|
|
6455
6546
|
bms?: Maybe<VehiclePremiumRoutingConsumptionValue>;
|
|
6456
|
-
/**
|
|
6547
|
+
/**
|
|
6548
|
+
* Consumption, in kWh, of the vehicle in idle mode.
|
|
6549
|
+
* @deprecated In favor of auxiliary
|
|
6550
|
+
*/
|
|
6457
6551
|
idle?: Maybe<VehiclePremiumRoutingConsumptionValue>;
|
|
6458
6552
|
};
|
|
6459
6553
|
export declare type VehiclePremiumRoutingConsumptionValue = {
|