@chargetrip/types 1.47.2 → 1.48.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.
@@ -142,7 +142,9 @@ export declare enum Amenities {
142
142
  BATHROOM = "bathroom",
143
143
  SUPERMARKET = "supermarket",
144
144
  PLAYGROUND = "playground",
145
- PHARMACY = "pharmacy"
145
+ PHARMACY = "pharmacy",
146
+ BAKERY = "bakery",
147
+ CONVENIENCE_STORE = "convenience_store"
146
148
  }
147
149
  /** Amenity data. */
148
150
  export declare type Amenity = {
@@ -159,7 +161,7 @@ export declare type Amenity = {
159
161
  /** ID provided by an amenity data source as the row ID. */
160
162
  external_id: Scalars["String"];
161
163
  /** Name of the amenity. */
162
- name?: Maybe<Scalars["String"]>;
164
+ name: Scalars["String"];
163
165
  /** Geo location coordinates. This is a GeoJSON Point. */
164
166
  location: Point;
165
167
  /** Address of the amenity. */
@@ -256,7 +258,9 @@ export declare enum AmenityType {
256
258
  BATHROOM = "bathroom",
257
259
  SUPERMARKET = "supermarket",
258
260
  PLAYGROUND = "playground",
259
- PHARMACY = "pharmacy"
261
+ PHARMACY = "pharmacy",
262
+ BAKERY = "bakery",
263
+ CONVENIENCE_STORE = "convenience_store"
260
264
  }
261
265
  /** Type of wheelchair accessibility at the amenity. */
262
266
  export declare enum AmenityWheelchairAccessibilityType {
@@ -3594,21 +3598,6 @@ export declare type ReviewTagsInput = {
3594
3598
  export declare type ReviewUser = {
3595
3599
  /** User full name. If a review was added by an anonymous user, this will be null. */
3596
3600
  name?: Maybe<Scalars["String"]>;
3597
- /**
3598
- * User ID.
3599
- * @deprecated Not sent back anymore, will be null
3600
- */
3601
- id?: Maybe<Scalars["ID"]>;
3602
- /**
3603
- * First name.
3604
- * @deprecated In favor of name.
3605
- */
3606
- firstName?: Maybe<Scalars["String"]>;
3607
- /**
3608
- * Last name.
3609
- * @deprecated In favor of name
3610
- */
3611
- lastName?: Maybe<Scalars["String"]>;
3612
3601
  };
3613
3602
  export declare type Route = {
3614
3603
  /** Recommended route. */
@@ -3806,6 +3795,8 @@ export declare type RouteDetails = {
3806
3795
  tags: Array<RouteDetailsTag>;
3807
3796
  /** Number of charging stops required for this route. */
3808
3797
  charges: Scalars["Int"];
3798
+ /** [BETA] Warnings that certain conditions specified in a route mutation are not respected. */
3799
+ warnings?: Maybe<Array<RouteWarning>>;
3809
3800
  };
3810
3801
  export declare type RouteDetailsdistanceArgs = {
3811
3802
  unit?: Maybe<DistanceUnit>;
@@ -3913,6 +3904,8 @@ export declare type RouteDetailsLeg = {
3913
3904
  maneuvers: Array<RouteDetailsManeuver>;
3914
3905
  /** Road sections of a leg - divided by means of transportation. */
3915
3906
  sections: Array<RouteDetailsLegSection>;
3907
+ /** [BETA] Warnings that certain conditions specified in a route mutation are not respected. */
3908
+ warnings?: Maybe<Array<RouteDetailsLegWarning>>;
3916
3909
  };
3917
3910
  /** Leg of a route detail. */
3918
3911
  export declare type RouteDetailsLegdistanceArgs = {
@@ -4086,6 +4079,25 @@ export declare enum RouteDetailsLegType {
4086
4079
  /** This leg ends at the destination, and is the last leg of the route. */
4087
4080
  FINAL = "final"
4088
4081
  }
4082
+ export declare type RouteDetailsLegWarning = {
4083
+ /** The code of the warning. */
4084
+ code: RouteDetailsLegWarningCode;
4085
+ };
4086
+ /** Types of warnings that can be encountered in a route leg. */
4087
+ export declare enum RouteDetailsLegWarningCode {
4088
+ /** The via location cannot be reached by vehicle. */
4089
+ VIA_NOT_VEHICLE_ACCESSIBLE = "via_not_vehicle_accessible",
4090
+ /** The leg could not use stations from the preferred operator(s). */
4091
+ OPERATORS_PREFERRED_NOT_AVAILABLE = "operators_preferred_not_available",
4092
+ /** Vehicle's load may exceed the maximum supported weight of the vehicle. */
4093
+ MAXIMUM_WEIGHT_EXCEEDED = "maximum_weight_exceeded",
4094
+ /** The leg includes sections requested to be avoided. */
4095
+ SEGMENT_UNAVOIDABLE = "segment_unavoidable",
4096
+ /** The charging station used in the leg has limited opening hours. */
4097
+ STATION_LIMITED_OPEN_HOURS = "station_limited_open_hours",
4098
+ /** The specified stop duration at the via charging station is insufficient to start a charging session. */
4099
+ VIA_INSUFFICIENT_CHARGING_TIME = "via_insufficient_charging_time"
4100
+ }
4089
4101
  export declare type RouteDetailsManeuver = {
4090
4102
  /** Type of instruction. */
4091
4103
  type: RouteDetailsLegManeuverType;
@@ -4908,7 +4920,7 @@ export declare type RouteOperatorPreferencesRanking = {
4908
4920
  levels?: Maybe<RouteOperatorPreferencesRankingLevels>;
4909
4921
  };
4910
4922
  export declare type RouteOperatorPreferencesRankingInput = {
4911
- /** Ranking enforcement type: preferred (applies ranking levels), required (routes only via ranked operators), or none (no ranking applied). */
4923
+ /** Determines how operator preferences are applied to stations during route calculation. If no ranking is provided through 'levels' or project settings, no operator preference is applied. */
4912
4924
  type: RouteOperatorsType;
4913
4925
  /** Priority levels for operator ranking. If not specified, applies the specified enforcement type to the project-configured operator ranking. */
4914
4926
  levels?: Maybe<RouteOperatorPreferencesRankingLevelsInput>;
@@ -5509,6 +5521,29 @@ export declare type RouteViaPropertiesInput = {
5509
5521
  /** 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. */
5510
5522
  station?: Maybe<RoutePropertiesStationInput>;
5511
5523
  };
5524
+ export declare type RouteWarning = {
5525
+ /** The code of the warning. */
5526
+ code: RouteWarningCode;
5527
+ };
5528
+ /** Types of warnings that can be encountered in a route. */
5529
+ export declare enum RouteWarningCode {
5530
+ /** The selected vehicle model is unavailable on one or more regions along the route. */
5531
+ EV_UNAVAILABLE_IN_REGION = "ev_unavailable_in_region",
5532
+ /** Route excludes charging stations as a hybrid vehicle does not require external charging. */
5533
+ HEV_NO_CHARGING_STATIONS = "hev_no_charging_stations",
5534
+ /** Route is calculated using only the battery range of the extended-range vehicle. */
5535
+ EREV_BATTERY_ONLY_RANGE = "erev_battery_only_range",
5536
+ /** The origin location cannot be reached by vehicle and requires a walking section to reach the point. */
5537
+ ORIGIN_NOT_VEHICLE_ACCESSIBLE = "origin_not_vehicle_accessible",
5538
+ /** The destination location cannot be reached by vehicle and requires a walking section to reach the point. */
5539
+ DESTINATION_NOT_VEHICLE_ACCESSIBLE = "destination_not_vehicle_accessible",
5540
+ /** The requested final state of charge cannot be achieved. */
5541
+ FINAL_SOC_NOT_POSSIBLE = "final_soc_not_possible",
5542
+ /** The set maximum speed is too low (below 50 km/h) and may result in an inefficient route. */
5543
+ LOW_SPEED = "low_speed",
5544
+ /** Operator preferences were ignored because they have not been configured for this project nor provided in the route create request. */
5545
+ OPERATOR_PREFERENCES_NOT_FOUND = "operator_preferences_not_found"
5546
+ }
5512
5547
  export declare type RouteWeather = {
5513
5548
  /** Weather configuration applied to the route. */
5514
5549
  type: WeatherType;
@@ -5686,18 +5721,8 @@ export declare type Station = {
5686
5721
  properties?: Maybe<Scalars["JSON"]>;
5687
5722
  /** A flag that indicates if a station has real-time information about the availability of its connectors. */
5688
5723
  realtime?: Maybe<Scalars["Boolean"]>;
5689
- /**
5690
- * A flag that indicates if a station is on private property.
5691
- * @deprecated In favor of access_type.
5692
- */
5693
- private?: Maybe<Scalars["Boolean"]>;
5694
5724
  /** Connectors grouped by power. */
5695
5725
  power?: Maybe<Scalars["JSON"]>;
5696
- /**
5697
- * Station availability.
5698
- * @deprecated predicted_availability, no value will be sent. Deprecated in favor of predicted_occupancy.
5699
- */
5700
- predicted_availability?: Maybe<Array<Maybe<StationPredictedAvailability>>>;
5701
5726
  /** Predicted station occupancy. */
5702
5727
  predicted_occupancy?: Maybe<Array<Maybe<StationPredictedOccupancy>>>;
5703
5728
  /** Charging speed for a station. */
@@ -5784,41 +5809,11 @@ export declare type StationAroundQuery = {
5784
5809
  amenities?: Maybe<Array<Maybe<Scalars["String"]>>>;
5785
5810
  };
5786
5811
  export declare type StationCustomProperties = {
5787
- /**
5788
- * List of eMSP cards accepted at a charging station.
5789
- * @deprecated In favor of station.roaming.
5790
- */
5791
- roaming?: Maybe<Array<Maybe<StationRoaming>>>;
5792
- /**
5793
- * Phone number for assistance at a charging station.
5794
- * @deprecated In favor of station.support_phone_number.
5795
- */
5796
- support_phone_number?: Maybe<Scalars["String"]>;
5797
- /**
5798
- * Charging behavior of a station.
5799
- * @deprecated In favor of station.charging_behaviour.
5800
- */
5801
- charging_behaviour?: Maybe<ChargingBehaviour>;
5802
5812
  /**
5803
5813
  * Shows how reliable a charging station is (1 to 5; 1 = unreliable, 5 = reliable), taking into account the charging behaviour history and error values.
5804
5814
  * @deprecated In favor of station.reliability_score.
5805
5815
  */
5806
5816
  reliability_score?: Maybe<Scalars["Int"]>;
5807
- /**
5808
- * List of available ad hoc payment methods.
5809
- * @deprecated In favor of station.adhoc_authorisation_payment_method.
5810
- */
5811
- adhoc_authorisation_method?: Maybe<Array<Maybe<AdhocAuthorisationMethod>>>;
5812
- /**
5813
- * Predicted station occupancy.
5814
- * @deprecated In favor of station.predicted_occupancy.
5815
- */
5816
- predicted_occupancy?: Maybe<Array<Maybe<StationPredictedOccupancy>>>;
5817
- /**
5818
- * Type of access to the charging station.
5819
- * @deprecated In favor of station.access_type.
5820
- */
5821
- access_type?: Maybe<AccessType>;
5822
5817
  /** Custom station properties for OICP databases such as the global Hubject database. Station databases that not follow the OICP standard return null values. */
5823
5818
  oicp?: Maybe<OICPStationCustomProperties>;
5824
5819
  };
@@ -6698,11 +6693,6 @@ export declare type VehiclePremium = {
6698
6693
  body: VehiclePremiumBody;
6699
6694
  /** Availability of the vehicle. */
6700
6695
  availability: VehiclePremiumAvailability;
6701
- /**
6702
- * Pricing of the vehicle.
6703
- * @deprecated In favor of pricing.
6704
- */
6705
- price: VehiclePremiumPrice;
6706
6696
  /** Starting price in the currency defined in the field argument. If not defined, it will return the starting price in the currency returned in the currency field. */
6707
6697
  pricing: VehiclePremiumPriceValueWithGrant;
6708
6698
  /** Drivetrain of the vehicle. */
@@ -6800,11 +6790,6 @@ export declare type VehiclePremiumBody = {
6800
6790
  weight_is_estimated?: Maybe<Scalars["Boolean"]>;
6801
6791
  /** Maximum payload allowed for the vehicle. */
6802
6792
  weight_max_payload?: Maybe<Scalars["Float"]>;
6803
- /**
6804
- * Gross Vehicle Weight (GVWR) - (max allowed vehicle weight with payload).
6805
- * @deprecated In favor of weight_gvwr.nominal
6806
- */
6807
- max_gross_vehicle_weight?: Maybe<Scalars["Float"]>;
6808
6793
  /** Standard luggage capacity. */
6809
6794
  boot_capacity?: Maybe<Scalars["Float"]>;
6810
6795
  /** Storage capacity of front trunk/under the hood (frunk). */
@@ -6859,9 +6844,6 @@ export declare type VehiclePremiumBodyground_clearanceArgs = {
6859
6844
  export declare type VehiclePremiumBodyweight_max_payloadArgs = {
6860
6845
  unit?: Maybe<WeightUnit>;
6861
6846
  };
6862
- export declare type VehiclePremiumBodymax_gross_vehicle_weightArgs = {
6863
- unit?: Maybe<WeightUnit>;
6864
- };
6865
6847
  export declare type VehiclePremiumBodyboot_capacityArgs = {
6866
6848
  unit?: Maybe<VolumeUnit>;
6867
6849
  };
@@ -7368,37 +7350,10 @@ export declare type VehiclePremiumRoutingfuel_consumptionArgs = {
7368
7350
  export declare type VehiclePremiumRoutingConsumption = {
7369
7351
  /** The amount of energy, in kWh, used by the auxiliary systems of the vehicle in an hour, like media box, etc */
7370
7352
  auxiliary?: Maybe<Scalars["Float"]>;
7371
- /**
7372
- * Consumption, in kWh, of the auxiliaries.
7373
- * @deprecated In favor of auxiliary
7374
- */
7375
- aux?: Maybe<VehiclePremiumRoutingConsumptionValue>;
7376
- /**
7377
- * Consumption, in kWh, of the battery management system.
7378
- * @deprecated In favor of auxiliary
7379
- */
7380
- bms?: Maybe<VehiclePremiumRoutingConsumptionValue>;
7381
- /**
7382
- * Consumption, in kWh, of the vehicle in idle mode.
7383
- * @deprecated In favor of auxiliary
7384
- */
7385
- idle?: Maybe<VehiclePremiumRoutingConsumptionValue>;
7386
7353
  };
7387
7354
  export declare type VehiclePremiumRoutingConsumptionauxiliaryArgs = {
7388
7355
  unit?: Maybe<AuxiliaryConsumptionUnit>;
7389
7356
  };
7390
- export declare type VehiclePremiumRoutingConsumptionValue = {
7391
- /** Best (lowest) consumption in summer. */
7392
- best?: Maybe<Scalars["Float"]>;
7393
- /** Best (lowest) consumption in winter. */
7394
- worst?: Maybe<Scalars["Float"]>;
7395
- };
7396
- export declare type VehiclePremiumRoutingConsumptionValuebestArgs = {
7397
- unit?: Maybe<ConsumptionUnit>;
7398
- };
7399
- export declare type VehiclePremiumRoutingConsumptionValueworstArgs = {
7400
- unit?: Maybe<ConsumptionUnit>;
7401
- };
7402
7357
  export declare type VehiclePremiumSafety = {
7403
7358
  /** Number of seats equipped with ISOFIX. */
7404
7359
  isofix_seats?: Maybe<Scalars["Int"]>;