@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/src/graphql.ts CHANGED
@@ -2304,6 +2304,15 @@ export type GeometryPoint = {
2304
2304
  coordinates: Array<Scalars["Float"]>;
2305
2305
  };
2306
2306
 
2307
+ export enum HeatPumpMode {
2308
+ /** Default to the vehicle configuration. */
2309
+ DEFAULT = "default",
2310
+ /** Vehicle has it installed. */
2311
+ INSTALLED = "installed",
2312
+ /** Vehicle doesn't have it installed. */
2313
+ NONE = "none"
2314
+ }
2315
+
2307
2316
  /** Allowed N (EU) types of heavy vehicles. */
2308
2317
  export enum HeavyVehiclesEUType {
2309
2318
  /** 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). */
@@ -2349,6 +2358,25 @@ export type Isoline = {
2349
2358
  request_input?: Maybe<IsolineRequestInput>;
2350
2359
  };
2351
2360
 
2361
+ export type IsolineCabin = {
2362
+ /** Flag which indicate if the vehicle cabin was preconditioned for the desired temperature. */
2363
+ is_preconditioned?: Maybe<Scalars["Boolean"]>;
2364
+ /** Desired temperature inside the cabin. Default is 20 degrees Celsius or 68 degrees Fahrenheit. */
2365
+ desired_temperature?: Maybe<Scalars["Float"]>;
2366
+ };
2367
+
2368
+ export type IsolineCabindesired_temperatureArgs = {
2369
+ unit?: Maybe<TemperatureUnit>;
2370
+ };
2371
+
2372
+ /** Information about the cabin of the vehicle. */
2373
+ export type IsolineCabinInput = {
2374
+ /** Flag which indicate if the vehicle cabin was preconditioned for the desired temperature. */
2375
+ is_preconditioned?: Maybe<Scalars["Boolean"]>;
2376
+ /** Desired temperature inside the cabin. Default is 20 degrees Celsius or 68 degrees Fahrenheit. */
2377
+ desired_temperature?: Maybe<TemperatureInput>;
2378
+ };
2379
+
2352
2380
  export enum IsolineFerryConnectionsType {
2353
2381
  /** Ferry connections should not be included. */
2354
2382
  NONE = "none",
@@ -2373,6 +2401,10 @@ export type IsolineInput = {
2373
2401
  total_cargo_weight?: Maybe<TotalCargoWeightInput>;
2374
2402
  /** Climate is on. */
2375
2403
  climate_control?: Maybe<Scalars["Boolean"]>;
2404
+ /** Vehicle Heat Pump configuration. */
2405
+ heat_pump?: Maybe<HeatPumpMode>;
2406
+ /** Vehicle cabin configuration. */
2407
+ cabin?: Maybe<IsolineCabinInput>;
2376
2408
  /** Season to be taken into account when generating the isoline. */
2377
2409
  season?: Maybe<RouteSeason>;
2378
2410
  /** Polygons precision quality. */
@@ -2410,6 +2442,10 @@ export type IsolineRequestInput = {
2410
2442
  total_cargo_weight?: Maybe<Scalars["Float"]>;
2411
2443
  /** Climate is on. */
2412
2444
  climate_control?: Maybe<Scalars["Boolean"]>;
2445
+ /** Vehicle Heat Pump configuration. */
2446
+ heat_pump?: Maybe<HeatPumpMode>;
2447
+ /** Vehicle cabin configuration. */
2448
+ cabin?: Maybe<IsolineCabin>;
2413
2449
  /** Season taken into account when isoline was generated. */
2414
2450
  season?: Maybe<RouteSeason>;
2415
2451
  /** Polygons precision quality. */
@@ -3775,6 +3811,10 @@ export type RequestEv = {
3775
3811
  minPower?: Maybe<Scalars["Int"]>;
3776
3812
  /** Climate is on. The default is true. */
3777
3813
  climate?: Maybe<Scalars["Boolean"]>;
3814
+ /** Vehicle Heat Pump configuration. */
3815
+ heatPump?: Maybe<HeatPumpMode>;
3816
+ /** Vehicle cabin configuration. */
3817
+ cabin?: Maybe<RequestEvCabin>;
3778
3818
  /** Cargo weight, in kg. */
3779
3819
  cargo?: Maybe<Scalars["Float"]>;
3780
3820
  /**
@@ -3826,21 +3866,55 @@ export type RequestEvBatteryValue = {
3826
3866
  type: BatteryInputType;
3827
3867
  };
3828
3868
 
3869
+ /** Vehicle cabin configuration. */
3870
+ export type RequestEvCabin = {
3871
+ /** Flag which indicate if the vehicle cabin was preconditioned for the desired temperature. */
3872
+ isPreconditioned?: Maybe<Scalars["Boolean"]>;
3873
+ /** Desired cabin temperature. Default is 20 degrees Celsius or 68 degrees Fahrenheit. */
3874
+ desiredTemperature?: Maybe<Scalars["Float"]>;
3875
+ };
3876
+
3877
+ /** Vehicle cabin configuration. */
3878
+ export type RequestEvCabindesiredTemperatureArgs = {
3879
+ unit?: Maybe<TemperatureUnit>;
3880
+ };
3881
+
3882
+ /** Vehicle cabin configuration. */
3883
+ export type RequestEvCabinInput = {
3884
+ /** Flag which indicate if the vehicle cabin was preconditioned for the desired temperature. */
3885
+ isPreconditioned?: Maybe<Scalars["Boolean"]>;
3886
+ /** Desired cabin temperature. Default is 20 degrees Celsius or 68 degrees Fahrenheit. */
3887
+ desiredTemperature?: Maybe<TemperatureInput>;
3888
+ };
3889
+
3829
3890
  export type RequestEvConsumption = {
3830
- /** Consumption, in kWh, of the auxiliaries. */
3891
+ /** The amount of energy, in kWh, used by the auxiliary systems of the vehicle in a hour, like media box, etc */
3892
+ auxiliary?: Maybe<Scalars["Float"]>;
3893
+ /**
3894
+ * Consumption, in kWh, of the auxiliaries.
3895
+ * @deprecated In favor of auxiliary
3896
+ */
3831
3897
  aux?: Maybe<CarConsumption>;
3832
- /** The consumption, in kWh, of the battery management system. */
3898
+ /**
3899
+ * The consumption, in kWh, of the battery management system.
3900
+ * @deprecated In favor of auxiliary
3901
+ */
3833
3902
  bms?: Maybe<CarConsumption>;
3834
- /** The consumption, in kWh, of the vehicle in idle mode. */
3903
+ /**
3904
+ * The consumption, in kWh, of the vehicle in idle mode.
3905
+ * @deprecated In favor of auxiliary
3906
+ */
3835
3907
  idle?: Maybe<CarConsumption>;
3836
3908
  };
3837
3909
 
3838
3910
  export type RequestEvConsumptionInput = {
3839
- /** Consumption, in kWh, of the auxiliaries. */
3911
+ /** The amount of energy, in kWh, used by the auxiliary systems of the vehicle in a hour, like media box, etc. */
3912
+ auxiliary?: Maybe<Scalars["Float"]>;
3913
+ /** Deprecated in favor of auxiliary. */
3840
3914
  aux?: Maybe<CarConsumptionInput>;
3841
- /** Consumption, in kWh, of the battery management system. */
3915
+ /** Deprecated in favor of auxiliary. */
3842
3916
  bms?: Maybe<CarConsumptionInput>;
3843
- /** Consumption, in kWh, of the vehicle in idle mode. */
3917
+ /** Deprecated in favor of auxiliary. */
3844
3918
  idle?: Maybe<CarConsumptionInput>;
3845
3919
  };
3846
3920
 
@@ -3857,6 +3931,10 @@ export type RequestEvInput = {
3857
3931
  minPower?: Maybe<Scalars["Int"]>;
3858
3932
  /** Flag which indicates if the climate is on. The default is true. */
3859
3933
  climate?: Maybe<Scalars["Boolean"]>;
3934
+ /** Vehicle Heat Pump configuration. */
3935
+ heatPump?: Maybe<HeatPumpMode>;
3936
+ /** Vehicle cabin configuration. */
3937
+ cabin?: Maybe<RequestEvCabinInput>;
3860
3938
  /** Number of occupants. */
3861
3939
  occupants?: Maybe<Scalars["Int"]>;
3862
3940
  /** Cargo weight, in kg. */
@@ -4125,13 +4203,13 @@ export type RouteAlternative = {
4125
4203
  * @deprecated Will be removed in the future
4126
4204
  */
4127
4205
  amenityRanking?: Maybe<Scalars["Int"]>;
4128
- /** Range, in meters, available at the beginning of a trip. */
4206
+ /** 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. */
4129
4207
  rangeStart?: Maybe<Scalars["Int"]>;
4130
4208
  /** Total energy in a battery at the beginning of a trip, in kWh. */
4131
4209
  rangeStartKwh?: Maybe<Scalars["Float"]>;
4132
4210
  /** Total energy in a battery at the beginning of a trip, in percentage. */
4133
4211
  rangeStartPercentage?: Maybe<Scalars["Int"]>;
4134
- /** Remaining range, in meters, at the end of a trip. In the case of a non BEV where the range end is negative, the value will be 0. */
4212
+ /** 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. */
4135
4213
  rangeEnd?: Maybe<Scalars["Int"]>;
4136
4214
  /** 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. */
4137
4215
  rangeEndKwh?: Maybe<Scalars["Float"]>;
@@ -4497,13 +4575,13 @@ export type RouteLeg = {
4497
4575
  duration?: Maybe<Scalars["Int"]>;
4498
4576
  /** Total energy used in a leg in kWh. */
4499
4577
  consumption?: Maybe<Scalars["Float"]>;
4500
- /** Range, in meters, available at the beginning of a leg. */
4578
+ /** 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. */
4501
4579
  rangeStart?: Maybe<Scalars["Int"]>;
4502
4580
  /** Total energy in a battery at the beginning of a leg, in kWh. */
4503
4581
  rangeStartKwh?: Maybe<Scalars["Float"]>;
4504
4582
  /** Total energy in a battery at the beginning of a trip, in percentage. */
4505
4583
  rangeStartPercentage?: Maybe<Scalars["Int"]>;
4506
- /** Range, in meters, available at the end of a leg. In the case of a non BEV where the range end is negative, the value will be 0. */
4584
+ /** 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. */
4507
4585
  rangeEnd?: Maybe<Scalars["Int"]>;
4508
4586
  /** 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. */
4509
4587
  rangeEndKwh?: Maybe<Scalars["Float"]>;
@@ -5807,6 +5885,20 @@ export enum TelemetryInputSource {
5807
5885
  TELEMETRY = "telemetry"
5808
5886
  }
5809
5887
 
5888
+ export type Temperature = {
5889
+ /** Value of the temperature. */
5890
+ value: Scalars["Float"];
5891
+ /** Type of temperature. */
5892
+ type: TemperatureUnit;
5893
+ };
5894
+
5895
+ export type TemperatureInput = {
5896
+ /** Value of the temperature. */
5897
+ value: Scalars["Float"];
5898
+ /** Type of temperature. */
5899
+ type: TemperatureUnit;
5900
+ };
5901
+
5810
5902
  export enum TemperatureUnit {
5811
5903
  /** Return the temperature in Celsius. */
5812
5904
  CELSIUS = "Celsius",
@@ -7041,11 +7133,22 @@ export type VehiclePremiumRoutingfuel_consumptionArgs = {
7041
7133
  };
7042
7134
 
7043
7135
  export type VehiclePremiumRoutingConsumption = {
7044
- /** Consumption, in kWh, of the auxiliaries. */
7136
+ /** The amount of energy, in kWh, used by the auxiliary systems of the vehicle in a hour, like media box, etc */
7137
+ auxiliary?: Maybe<Scalars["Float"]>;
7138
+ /**
7139
+ * Consumption, in kWh, of the auxiliaries.
7140
+ * @deprecated In favor of auxiliary
7141
+ */
7045
7142
  aux?: Maybe<VehiclePremiumRoutingConsumptionValue>;
7046
- /** Consumption, in kWh, of the battery management system. */
7143
+ /**
7144
+ * Consumption, in kWh, of the battery management system.
7145
+ * @deprecated In favor of auxiliary
7146
+ */
7047
7147
  bms?: Maybe<VehiclePremiumRoutingConsumptionValue>;
7048
- /** Consumption, in kWh, of the vehicle in idle mode. */
7148
+ /**
7149
+ * Consumption, in kWh, of the vehicle in idle mode.
7150
+ * @deprecated In favor of auxiliary
7151
+ */
7049
7152
  idle?: Maybe<VehiclePremiumRoutingConsumptionValue>;
7050
7153
  };
7051
7154