@chargetrip/types 1.58.0 → 1.60.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 +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 +466 -6
- package/graphql.schema.json +4194 -1194
- package/package.json +1 -1
- package/src/graphql.ts +520 -6
package/dist/ts/graphql.d.ts
CHANGED
|
@@ -146,10 +146,7 @@ export declare enum Amenities {
|
|
|
146
146
|
}
|
|
147
147
|
/** Amenity data. */
|
|
148
148
|
export declare type Amenity = {
|
|
149
|
-
/**
|
|
150
|
-
* Unique amenity ID.
|
|
151
|
-
* @deprecated Will be removed.
|
|
152
|
-
*/
|
|
149
|
+
/** Unique amenity ID. */
|
|
153
150
|
id?: Maybe<Scalars["ID"]>;
|
|
154
151
|
/**
|
|
155
152
|
* ID provided by an amenity data source as the row ID.
|
|
@@ -1251,6 +1248,50 @@ export declare type CreateRouteInput = {
|
|
|
1251
1248
|
/** [BETA] Route should consider current traffic conditions. This feature is disabled by default and requires explicit enablement for your project. Please contact Chargetrip support for more information. */
|
|
1252
1249
|
traffic_aware?: Maybe<Scalars["Boolean"]>;
|
|
1253
1250
|
};
|
|
1251
|
+
export declare type CreateTruckRoute = {
|
|
1252
|
+
/** Vehicle specific input. */
|
|
1253
|
+
vehicle: RouteTruckVehicle;
|
|
1254
|
+
/** Origin of a route. */
|
|
1255
|
+
origin: RouteTruckOriginFeaturePoint;
|
|
1256
|
+
/** Destination of a route. */
|
|
1257
|
+
destination: RouteDestinationFeaturePoint;
|
|
1258
|
+
/** Optional via points of a route. */
|
|
1259
|
+
via?: Maybe<Array<RouteTruckViaFeaturePoint>>;
|
|
1260
|
+
/** Prioritized operators for a route calculation. */
|
|
1261
|
+
operators?: Maybe<RouteOperatorPreferences>;
|
|
1262
|
+
/** Weather configuration for the route. Defined by a preset or custom weather conditions. */
|
|
1263
|
+
weather?: Maybe<RouteWeather>;
|
|
1264
|
+
/** Alternative stations along a route within a specified radius of 500 to 5000 meters, or the equivalent in another unit. If not specified, no alternative stations will be discovered. */
|
|
1265
|
+
alternative_station_radius?: Maybe<AlternativeStationRadius>;
|
|
1266
|
+
/** Route departure time. Used to calculate the expected arrival time and, if set in the past, to apply historical weather data. If not specified, defaults to the current request time. */
|
|
1267
|
+
departure_time?: Maybe<Scalars["DateTime"]>;
|
|
1268
|
+
/** Optional list of route features to avoid in a route. This is a best-effort preference; depending on the available routes, some features may not be fully avoidable. */
|
|
1269
|
+
avoid?: Maybe<Array<RouteTruckAvoid>>;
|
|
1270
|
+
/** Maximum speed to consider when generating the route. In the segments where legal speed is lower than this value, the legal speed will be used instead. */
|
|
1271
|
+
maximum_speed?: Maybe<MaximumSpeed>;
|
|
1272
|
+
};
|
|
1273
|
+
export declare type CreateTruckRouteInput = {
|
|
1274
|
+
/** Vehicle specific input. */
|
|
1275
|
+
vehicle: RouteTruckVehicleInput;
|
|
1276
|
+
/** Origin of a route. */
|
|
1277
|
+
origin: RouteTruckOriginFeaturePointInput;
|
|
1278
|
+
/** Destination of a route. */
|
|
1279
|
+
destination: RouteDestinationFeaturePointInput;
|
|
1280
|
+
/** Optional via points of a route. */
|
|
1281
|
+
via?: Maybe<Array<RouteTruckViaFeaturePointInput>>;
|
|
1282
|
+
/** Prioritized operators for a route calculation. */
|
|
1283
|
+
operators?: Maybe<RouteOperatorPreferencesInput>;
|
|
1284
|
+
/** Weather configuration for the route. Defined by a preset or custom weather conditions. */
|
|
1285
|
+
weather?: Maybe<RouteWeatherInput>;
|
|
1286
|
+
/** Alternative stations along a route within a specified radius of 500 to 5000 meters, or the equivalent in another unit. If not specified, no alternative stations will be discovered. */
|
|
1287
|
+
alternative_station_radius?: Maybe<AlternativeStationRadiusInput>;
|
|
1288
|
+
/** Route departure time. Used to calculate the expected arrival time and, if set in the past, to apply historical weather data. If not specified, defaults to the current request time. */
|
|
1289
|
+
departure_time?: Maybe<Scalars["DateTime"]>;
|
|
1290
|
+
/** Optional list of route features to avoid in a route. This is a best-effort preference; depending on the available routes, some features may not be fully avoidable. */
|
|
1291
|
+
avoid?: Maybe<Array<RouteTruckAvoid>>;
|
|
1292
|
+
/** Maximum speed to consider when generating the route. In the segments where legal speed is lower than this value, the legal speed will be used instead. */
|
|
1293
|
+
maximum_speed?: Maybe<MaximumSpeedInput>;
|
|
1294
|
+
};
|
|
1254
1295
|
/** Currency in the ISO 4217 format. */
|
|
1255
1296
|
export declare enum Currency {
|
|
1256
1297
|
AED = "AED",
|
|
@@ -1593,6 +1634,12 @@ export declare enum DimensionUnit {
|
|
|
1593
1634
|
/** Return the dimension in miles. */
|
|
1594
1635
|
MILE = "mile"
|
|
1595
1636
|
}
|
|
1637
|
+
export declare type DimensionsInput = {
|
|
1638
|
+
/** Value of the dimension */
|
|
1639
|
+
value: Scalars["Float"];
|
|
1640
|
+
/** Dimension unit */
|
|
1641
|
+
type: MeasurementUnit;
|
|
1642
|
+
};
|
|
1596
1643
|
export declare type DistanceInput = {
|
|
1597
1644
|
/** Value of the distance. */
|
|
1598
1645
|
value: Scalars["Float"];
|
|
@@ -2134,6 +2181,8 @@ export declare type Mutation = {
|
|
|
2134
2181
|
newRoute?: Maybe<Scalars["ID"]>;
|
|
2135
2182
|
/** Create a new route from the route input. */
|
|
2136
2183
|
createRoute: Scalars["ID"];
|
|
2184
|
+
/** [ALPHA] Create a new truck route from the route input and its ID. */
|
|
2185
|
+
createTruckRoute: Scalars["ID"];
|
|
2137
2186
|
};
|
|
2138
2187
|
export declare type MutationcreateConnectedVehicleArgs = {
|
|
2139
2188
|
input?: Maybe<CreateConnectedVehicleInput>;
|
|
@@ -2174,6 +2223,9 @@ export declare type MutationnewRouteArgs = {
|
|
|
2174
2223
|
export declare type MutationcreateRouteArgs = {
|
|
2175
2224
|
input: CreateRouteInput;
|
|
2176
2225
|
};
|
|
2226
|
+
export declare type MutationcreateTruckRouteArgs = {
|
|
2227
|
+
input: CreateTruckRouteInput;
|
|
2228
|
+
};
|
|
2177
2229
|
/** Navigation session data. */
|
|
2178
2230
|
export declare type Navigation = {
|
|
2179
2231
|
/** ID of the navigation session. */
|
|
@@ -3416,6 +3468,8 @@ export declare type Query = {
|
|
|
3416
3468
|
getRoute: RouteResponse;
|
|
3417
3469
|
/** [BETA] Search for stations with amenities within a specific time window and distance of a previously calculated route. */
|
|
3418
3470
|
getRouteStationsWithAmenities: RouteStationsWithAmenitiesConnection;
|
|
3471
|
+
/** [ALPHA] Get a e-truck route by ID. */
|
|
3472
|
+
getTruckRoute: TruckRouteResponse;
|
|
3419
3473
|
/** Get information about a station by its ID. */
|
|
3420
3474
|
station?: Maybe<Station>;
|
|
3421
3475
|
/** Get a full list of stations. */
|
|
@@ -3507,6 +3561,9 @@ export declare type QuerygetRouteStationsWithAmenitiesArgs = {
|
|
|
3507
3561
|
first?: Maybe<Scalars["Int"]>;
|
|
3508
3562
|
after?: Maybe<Scalars["String"]>;
|
|
3509
3563
|
};
|
|
3564
|
+
export declare type QuerygetTruckRouteArgs = {
|
|
3565
|
+
id: Scalars["ID"];
|
|
3566
|
+
};
|
|
3510
3567
|
export declare type QuerystationArgs = {
|
|
3511
3568
|
id?: Maybe<Scalars["ID"]>;
|
|
3512
3569
|
evse_id?: Maybe<Scalars["String"]>;
|
|
@@ -3823,9 +3880,9 @@ export declare type Review = {
|
|
|
3823
3880
|
/** Boolean tags for a station review. */
|
|
3824
3881
|
tags?: Maybe<ReviewTags>;
|
|
3825
3882
|
/** Date and time when a review was created. */
|
|
3826
|
-
createdAt?: Maybe<Scalars["
|
|
3883
|
+
createdAt?: Maybe<Scalars["DateTime"]>;
|
|
3827
3884
|
/** Date and time when a review was updated. */
|
|
3828
|
-
updatedAt?: Maybe<Scalars["
|
|
3885
|
+
updatedAt?: Maybe<Scalars["DateTime"]>;
|
|
3829
3886
|
};
|
|
3830
3887
|
/** Form input to add a new review. */
|
|
3831
3888
|
export declare type ReviewAdd = {
|
|
@@ -5597,6 +5654,170 @@ export declare type RouteTimeWindow = {
|
|
|
5597
5654
|
/** Duration in seconds to extend the search on either side of the 'center'. Maximum allowed value is 2700 (45 minutes). If not specified, defaults to 900 seconds (15 minutes). */
|
|
5598
5655
|
margin?: Maybe<Scalars["Int"]>;
|
|
5599
5656
|
};
|
|
5657
|
+
/** Types of route features that can be avoided in truck routing. */
|
|
5658
|
+
export declare enum RouteTruckAvoid {
|
|
5659
|
+
TOLL_ROAD = "toll_road",
|
|
5660
|
+
FERRY = "ferry"
|
|
5661
|
+
}
|
|
5662
|
+
export declare type RouteTruckOriginFeaturePoint = {
|
|
5663
|
+
/** ID of the feature. */
|
|
5664
|
+
id?: Maybe<Scalars["ID"]>;
|
|
5665
|
+
/** Feature type. */
|
|
5666
|
+
type: FeatureType;
|
|
5667
|
+
/** Geometry of the feature. */
|
|
5668
|
+
geometry: Point;
|
|
5669
|
+
/** Additional location and vehicle properties can be specified. */
|
|
5670
|
+
properties?: Maybe<RouteTruckOriginProperties>;
|
|
5671
|
+
};
|
|
5672
|
+
export declare type RouteTruckOriginFeaturePointInput = {
|
|
5673
|
+
/** ID of the feature. */
|
|
5674
|
+
id?: Maybe<Scalars["ID"]>;
|
|
5675
|
+
/** Feature type. */
|
|
5676
|
+
type: FeatureType;
|
|
5677
|
+
/** Geometry of the feature. */
|
|
5678
|
+
geometry: PointInput;
|
|
5679
|
+
/** Additional location and vehicle properties can be specified. */
|
|
5680
|
+
properties?: Maybe<RouteTruckOriginPropertiesInput>;
|
|
5681
|
+
};
|
|
5682
|
+
export declare type RouteTruckOriginProperties = {
|
|
5683
|
+
/** Data about the origin location. */
|
|
5684
|
+
location?: Maybe<RouteTruckPropertiesLocation>;
|
|
5685
|
+
/** Vehicle configuration at this point. Properties defined here are persistent and will be applied to all subsequent via points in the route unless explicitly overridden at a specific point. If not specified, assumes one occupant, with 80kg of mass and no trailers added */
|
|
5686
|
+
vehicle?: Maybe<RouteTruckPropertiesVehicle>;
|
|
5687
|
+
};
|
|
5688
|
+
export declare type RouteTruckOriginPropertiesInput = {
|
|
5689
|
+
/** Data about the origin location. */
|
|
5690
|
+
location?: Maybe<RouteTruckPropertiesLocationInput>;
|
|
5691
|
+
/** Vehicle configuration at this point. Properties defined here are persistent and will be applied to all subsequent via points in the route unless explicitly overridden at a specific point. If not specified, assumes one occupant, with 80kg of mass and no trailers added */
|
|
5692
|
+
vehicle?: Maybe<RouteTruckPropertiesVehicleInput>;
|
|
5693
|
+
};
|
|
5694
|
+
export declare type RouteTruckPropertiesLocation = {
|
|
5695
|
+
/** Name override for the choosen location. */
|
|
5696
|
+
name?: Maybe<Scalars["String"]>;
|
|
5697
|
+
};
|
|
5698
|
+
export declare type RouteTruckPropertiesLocationInput = {
|
|
5699
|
+
/** Name override for the choosen location. */
|
|
5700
|
+
name?: Maybe<Scalars["String"]>;
|
|
5701
|
+
};
|
|
5702
|
+
export declare type RouteTruckPropertiesVehicle = {
|
|
5703
|
+
/** Number of occupants in the vehicle. */
|
|
5704
|
+
occupants: Scalars["Int"];
|
|
5705
|
+
/** Combined weight of the all occupants. Defaults to 80kg if not specified. */
|
|
5706
|
+
total_occupant_weight?: Maybe<TotalOccupantWeight>;
|
|
5707
|
+
/** Total weight of all cargo in the vehicle, including the cargo in any attached trailers. */
|
|
5708
|
+
total_cargo_weight?: Maybe<TotalCargoWeight>;
|
|
5709
|
+
/** The number of axles of the main vehicle (e.g., rigid truck or tractor unit) in contact with the road. Excludes semi-trailer axles, those should be provided in trailer object. If not specified, it assumes main vehicle's all axles (liftable and rigid) are in use. */
|
|
5710
|
+
axles_in_use?: Maybe<Scalars["Int"]>;
|
|
5711
|
+
/** Configuration and dimensions for attached trailers. Required when the choosen vehicle is tractor unit. If not specified, no trailer configuration is set . */
|
|
5712
|
+
trailer?: Maybe<RouteTruckVehicleTrailer>;
|
|
5713
|
+
};
|
|
5714
|
+
export declare type RouteTruckPropertiesVehicleInput = {
|
|
5715
|
+
/** Number of occupants in the vehicle. Defaults to 1 if not specified. */
|
|
5716
|
+
occupants?: Maybe<Scalars["Int"]>;
|
|
5717
|
+
/** Combined weight of the all occupants. Defaults to 80kg if not specified. */
|
|
5718
|
+
total_occupant_weight?: Maybe<TotalOccupantWeightInput>;
|
|
5719
|
+
/** Total weight of all cargo in the vehicle, including the cargo in any attached trailers. */
|
|
5720
|
+
total_cargo_weight?: Maybe<TotalCargoWeightInput>;
|
|
5721
|
+
/** The number of axles of the main vehicle (e.g., rigid truck or tractor unit) in contact with the road. Excludes semi-trailer axles, those should be provided in trailer object. If not specified, it assumes main vehicle's all axles (liftable and rigid) are in use. */
|
|
5722
|
+
axles_in_use?: Maybe<Scalars["Int"]>;
|
|
5723
|
+
/** Configuration and dimensions for attached trailers. Required when the choosen vehicle is tractor unit. If not specified, no trailer configuration is set . */
|
|
5724
|
+
trailer?: Maybe<RouteTruckVehicleTrailerInput>;
|
|
5725
|
+
};
|
|
5726
|
+
export declare type RouteTruckVehicle = {
|
|
5727
|
+
/** ID of the vehicle. */
|
|
5728
|
+
id: Scalars["ID"];
|
|
5729
|
+
/** EV battery specific configuration. */
|
|
5730
|
+
battery: RouteVehicleBattery;
|
|
5731
|
+
/** Charging configuration. */
|
|
5732
|
+
charging: RouteVehicleCharging;
|
|
5733
|
+
/** Value of the auxiliary power consumption of the vehicle. */
|
|
5734
|
+
auxiliary_consumption: AuxiliaryConsumption;
|
|
5735
|
+
/** Flag indicating if climate control is on. */
|
|
5736
|
+
climate: Scalars["Boolean"];
|
|
5737
|
+
/** Vehicle Heat Pump configuration. */
|
|
5738
|
+
heat_pump: HeatPumpMode;
|
|
5739
|
+
/** Vehicle cabin configuration used for the route calculation. Applied only if vehicle.climate is set to true. */
|
|
5740
|
+
cabin: RouteVehicleCabin;
|
|
5741
|
+
/** Tire pressures of all wheels, ordered from front right to front left, then rear left to rear right. */
|
|
5742
|
+
tire_pressure: TirePressure;
|
|
5743
|
+
};
|
|
5744
|
+
export declare type RouteTruckVehicleInput = {
|
|
5745
|
+
/** ID of the vehicle. */
|
|
5746
|
+
id: Scalars["ID"];
|
|
5747
|
+
/** EV battery specific configuration. */
|
|
5748
|
+
battery?: Maybe<RouteVehicleBatteryInput>;
|
|
5749
|
+
/** Charging configuration. */
|
|
5750
|
+
charging?: Maybe<RouteVehicleChargingInput>;
|
|
5751
|
+
/** Value of the auxiliary power consumption of the vehicle. */
|
|
5752
|
+
auxiliary_consumption?: Maybe<AuxiliaryConsumptionInput>;
|
|
5753
|
+
/** Flag indicating if climate control is on. */
|
|
5754
|
+
climate?: Maybe<Scalars["Boolean"]>;
|
|
5755
|
+
/** Vehicle Heat Pump configuration. */
|
|
5756
|
+
heat_pump?: Maybe<HeatPumpMode>;
|
|
5757
|
+
/** Vehicle cabin configuration used for the route calculation. Applied only if vehicle.climate is set to true. */
|
|
5758
|
+
cabin?: Maybe<RouteVehicleCabinInput>;
|
|
5759
|
+
/** Tire pressures of all wheels, ordered from front right to front left, then rear left to rear right. */
|
|
5760
|
+
tire_pressure?: Maybe<TirePressureInput>;
|
|
5761
|
+
};
|
|
5762
|
+
export declare type RouteTruckVehicleTrailer = {
|
|
5763
|
+
/** Number of trailers. */
|
|
5764
|
+
count: Scalars["Int"];
|
|
5765
|
+
/** Number of axles of all attached trailers in contact with the road. This value does not include the main vehicle/tractor unit axles. Will be combined with the main vehicle's known number of axles. */
|
|
5766
|
+
axles_in_use: Scalars["Int"];
|
|
5767
|
+
/** Total unladen (empty) weight of all attached trailers. Will be combined with the main vehicle's known unladen weight. */
|
|
5768
|
+
unladen_weight: Scalars["Float"];
|
|
5769
|
+
/** Total physical dimensions of the vehicle combination of the main vehicle and trailers. */
|
|
5770
|
+
combined_vehicle_dimensions: TruckTrailerCombinedDimensions;
|
|
5771
|
+
};
|
|
5772
|
+
export declare type RouteTruckVehicleTrailerunladen_weightArgs = {
|
|
5773
|
+
unit?: Maybe<WeightUnit>;
|
|
5774
|
+
};
|
|
5775
|
+
export declare type RouteTruckVehicleTrailerInput = {
|
|
5776
|
+
/** Number of trailers. */
|
|
5777
|
+
count: Scalars["Int"];
|
|
5778
|
+
/** Number of axles of all attached trailers in contact with the road. This value does not include the main vehicle/tractor unit axles. Will be combined with the main vehicle's known number of axles. */
|
|
5779
|
+
axles_in_use: Scalars["Int"];
|
|
5780
|
+
/** Total unladen (empty) weight of all attached trailers. Will be combined with the main vehicle's known unladen weight. */
|
|
5781
|
+
unladen_weight: WeightInput;
|
|
5782
|
+
/** Total physical dimensions of the vehicle combination of the main vehicle and trailers. */
|
|
5783
|
+
combined_vehicle_dimensions: TruckTrailerCombinedDimensionsInput;
|
|
5784
|
+
};
|
|
5785
|
+
export declare type RouteTruckViaFeaturePoint = {
|
|
5786
|
+
/** ID of the feature. */
|
|
5787
|
+
id?: Maybe<Scalars["ID"]>;
|
|
5788
|
+
/** Feature type. */
|
|
5789
|
+
type: FeatureType;
|
|
5790
|
+
/** Geometry of the feature. */
|
|
5791
|
+
geometry?: Maybe<Point>;
|
|
5792
|
+
/** Optional object where additional properties can be specified. */
|
|
5793
|
+
properties?: Maybe<RouteTruckViaProperties>;
|
|
5794
|
+
};
|
|
5795
|
+
export declare type RouteTruckViaFeaturePointInput = {
|
|
5796
|
+
/** ID of the feature. */
|
|
5797
|
+
id?: Maybe<Scalars["ID"]>;
|
|
5798
|
+
/** Feature type. */
|
|
5799
|
+
type: FeatureType;
|
|
5800
|
+
/** Geometry of the feature. */
|
|
5801
|
+
geometry?: Maybe<PointInput>;
|
|
5802
|
+
/** Optional object where additional properties can be specified. */
|
|
5803
|
+
properties?: Maybe<RouteTruckViaPropertiesInput>;
|
|
5804
|
+
};
|
|
5805
|
+
export declare type RouteTruckViaProperties = {
|
|
5806
|
+
/** Location data of the via point. */
|
|
5807
|
+
location?: Maybe<RoutePropertiesViaLocation>;
|
|
5808
|
+
/** Vehicle configuration at this point. Properties defined here override previous settings and persist for all subsequent segments of the route until changed again. If not specified, the vehicle state from the previous point remains in effect. */
|
|
5809
|
+
vehicle?: Maybe<RouteTruckPropertiesVehicle>;
|
|
5810
|
+
/** Station data of the via point. */
|
|
5811
|
+
station?: Maybe<RoutePropertiesStation>;
|
|
5812
|
+
};
|
|
5813
|
+
export declare type RouteTruckViaPropertiesInput = {
|
|
5814
|
+
/** Location data of the via point. */
|
|
5815
|
+
location?: Maybe<RoutePropertiesViaLocationInput>;
|
|
5816
|
+
/** Vehicle configuration at this point. Properties defined here override previous settings and persist for all subsequent segments of the route until changed again. If not specified, the vehicle state from the previous point remains in effect. */
|
|
5817
|
+
vehicle?: Maybe<RouteTruckPropertiesVehicleInput>;
|
|
5818
|
+
/** Station data of the via point. */
|
|
5819
|
+
station?: Maybe<RoutePropertiesStationInput>;
|
|
5820
|
+
};
|
|
5600
5821
|
export declare type RouteVehicle = {
|
|
5601
5822
|
/** ID of the vehicle. */
|
|
5602
5823
|
id: Scalars["ID"];
|
|
@@ -6314,6 +6535,8 @@ export declare type Subscription = {
|
|
|
6314
6535
|
routeUpdatedById?: Maybe<Route>;
|
|
6315
6536
|
/** Subscribe to a specific route to receive system event updates. */
|
|
6316
6537
|
route: RouteResponse;
|
|
6538
|
+
/** [ALPHA] Subscribe to e-truck route to receive system event updates. */
|
|
6539
|
+
truckRoute: TruckRouteResponse;
|
|
6317
6540
|
/** [BETA] Subscribe to navigation session system event updates. We strongly recommend using this at all times to not miss any updates. */
|
|
6318
6541
|
navigation?: Maybe<NavigationSubscription>;
|
|
6319
6542
|
/** [BETA] Subscribe to a connected vehicle. */
|
|
@@ -6327,6 +6550,9 @@ export declare type SubscriptionrouteUpdatedByIdArgs = {
|
|
|
6327
6550
|
export declare type SubscriptionrouteArgs = {
|
|
6328
6551
|
id: Scalars["ID"];
|
|
6329
6552
|
};
|
|
6553
|
+
export declare type SubscriptiontruckRouteArgs = {
|
|
6554
|
+
id: Scalars["ID"];
|
|
6555
|
+
};
|
|
6330
6556
|
export declare type SubscriptionnavigationArgs = {
|
|
6331
6557
|
id: Scalars["ID"];
|
|
6332
6558
|
};
|
|
@@ -6551,6 +6777,234 @@ export declare type TrafficCongestionInterval = {
|
|
|
6551
6777
|
/** Congestion level for this specific interval. */
|
|
6552
6778
|
level: CongestionLevel;
|
|
6553
6779
|
};
|
|
6780
|
+
export declare type TruckRouteDetails = {
|
|
6781
|
+
/** ID of a route computation. */
|
|
6782
|
+
id: Scalars["ID"];
|
|
6783
|
+
/** Total distance of a route. */
|
|
6784
|
+
distance: Scalars["Float"];
|
|
6785
|
+
/** Aggregation of all durations of a route. */
|
|
6786
|
+
durations: RouteDetailsDurations;
|
|
6787
|
+
/** Total energy used for a route in kilowatt hours. For HEVs and PHEVs this field will return null. */
|
|
6788
|
+
consumption?: Maybe<Scalars["Float"]>;
|
|
6789
|
+
/** Range available at the start of a trip. The ranges in kilometers and miles are estimates, calculated based on the Chargetrip range, current route conditions, weather scenario (current or seasonal), and the route input at the time of planning. For HEVs and PHEVs this field will return null. */
|
|
6790
|
+
range_at_origin?: Maybe<Scalars["Float"]>;
|
|
6791
|
+
/** Range available at the end of a trip. Note: The ranges in kilometers and miles are estimates, calculated based on the Chargetrip range, current route conditions, weather scenario (current or seasonal), and the route input at the time of planning. For HEVs and PHEVs this field will return null. */
|
|
6792
|
+
range_at_destination?: Maybe<Scalars["Float"]>;
|
|
6793
|
+
/** Polyline containing encoded coordinates. */
|
|
6794
|
+
polyline: Scalars["String"];
|
|
6795
|
+
/** Path elevation, distance, duration, consumption and speed values, grouped into 100 segments. */
|
|
6796
|
+
path_plot: Array<RouteDetailsPathSegment>;
|
|
6797
|
+
/** Details about elevation on a route. */
|
|
6798
|
+
elevation: RouteDetailsElevation;
|
|
6799
|
+
/** Money saving information. */
|
|
6800
|
+
savings?: Maybe<RouteDetailsSavings>;
|
|
6801
|
+
/** Legs of a route. */
|
|
6802
|
+
legs: Array<TruckRouteDetailsLeg>;
|
|
6803
|
+
/** Alternative stations along a route within a specified radius. Will only return stations if alternative_station_radius was specified in the createRoute mutation. */
|
|
6804
|
+
alternative_stations: Array<RouteDetailsAlternativeStation>;
|
|
6805
|
+
/** Aggregation of tags over the current RouteDetails. Tags are available on legs and further subdivided over individual sections and maneuvers. */
|
|
6806
|
+
tags: Array<RouteDetailsTag>;
|
|
6807
|
+
/** Number of charging stops required for this route. */
|
|
6808
|
+
charges: Scalars["Int"];
|
|
6809
|
+
};
|
|
6810
|
+
export declare type TruckRouteDetailsdistanceArgs = {
|
|
6811
|
+
unit?: Maybe<DistanceUnit>;
|
|
6812
|
+
};
|
|
6813
|
+
export declare type TruckRouteDetailsrange_at_originArgs = {
|
|
6814
|
+
unit?: Maybe<StateOfChargeUnit>;
|
|
6815
|
+
};
|
|
6816
|
+
export declare type TruckRouteDetailsrange_at_destinationArgs = {
|
|
6817
|
+
unit?: Maybe<StateOfChargeUnit>;
|
|
6818
|
+
};
|
|
6819
|
+
export declare type TruckRouteDetailspolylineArgs = {
|
|
6820
|
+
decimals?: Maybe<PolylineInputDecimals>;
|
|
6821
|
+
};
|
|
6822
|
+
/** Leg of a route detail. */
|
|
6823
|
+
export declare type TruckRouteDetailsLeg = {
|
|
6824
|
+
/** Distance from the start to the end of a leg. */
|
|
6825
|
+
distance: Scalars["Float"];
|
|
6826
|
+
/** Aggregation of all durations of a route leg. */
|
|
6827
|
+
durations: RouteDetailsDurations;
|
|
6828
|
+
/** Total energy used in a leg in kilowatt hours. For HEVs and PHEVs this field will return null. */
|
|
6829
|
+
consumption?: Maybe<Scalars["Float"]>;
|
|
6830
|
+
/** Origin point location. */
|
|
6831
|
+
origin: TruckRouteDetailsLegFeaturePoint;
|
|
6832
|
+
/** Destination point location. */
|
|
6833
|
+
destination: TruckRouteDetailsLegFeaturePoint;
|
|
6834
|
+
/** Range at the start of a leg. The ranges in kilometers and miles are estimates, calculated based on the Chargetrip range, current route conditions, weather scenario (current or seasonal), and the route input at the time of planning. For HEVs and PHEVs this field will return null. */
|
|
6835
|
+
range_at_origin?: Maybe<Scalars["Float"]>;
|
|
6836
|
+
/** Range available at the end of a leg. The ranges in kilometers and miles are estimates, calculated based on the Chargetrip range, current route conditions, weather scenario (current or seasonal), and the route input at the time of planning. For HEVs and PHEVs this field will return null. */
|
|
6837
|
+
range_at_destination?: Maybe<Scalars["Float"]>;
|
|
6838
|
+
/** Range after charging on the leg. The ranges in kilometers and miles are estimates, calculated based on the Chargetrip range, current route conditions, weather scenario (current or seasonal), and the route input at the time of planning. For HEVs and PHEVs this field will return null. */
|
|
6839
|
+
range_after_charge?: Maybe<Scalars["Float"]>;
|
|
6840
|
+
/** Type of a leg. */
|
|
6841
|
+
type: RouteDetailsLegType;
|
|
6842
|
+
/** Information about the station at the destination of a leg. */
|
|
6843
|
+
station?: Maybe<RouteDetailsLegStation>;
|
|
6844
|
+
/** Polyline containing encoded coordinates. */
|
|
6845
|
+
polyline: Scalars["String"];
|
|
6846
|
+
/** Aggregation of tags over the current leg. Tags are further subdivided over individual sections and maneuvers. */
|
|
6847
|
+
tags: Array<RouteDetailsTag>;
|
|
6848
|
+
/** Maneuvers of a leg - used to generate turn-by-turn instructions. */
|
|
6849
|
+
maneuvers: Array<RouteDetailsManeuver>;
|
|
6850
|
+
/** Road sections of a leg - divided by means of transportation. */
|
|
6851
|
+
sections: Array<TruckRouteDetailsLegSection>;
|
|
6852
|
+
};
|
|
6853
|
+
/** Leg of a route detail. */
|
|
6854
|
+
export declare type TruckRouteDetailsLegdistanceArgs = {
|
|
6855
|
+
unit?: Maybe<DistanceUnit>;
|
|
6856
|
+
};
|
|
6857
|
+
/** Leg of a route detail. */
|
|
6858
|
+
export declare type TruckRouteDetailsLegrange_at_originArgs = {
|
|
6859
|
+
unit?: Maybe<StateOfChargeUnit>;
|
|
6860
|
+
};
|
|
6861
|
+
/** Leg of a route detail. */
|
|
6862
|
+
export declare type TruckRouteDetailsLegrange_at_destinationArgs = {
|
|
6863
|
+
unit?: Maybe<StateOfChargeUnit>;
|
|
6864
|
+
};
|
|
6865
|
+
/** Leg of a route detail. */
|
|
6866
|
+
export declare type TruckRouteDetailsLegrange_after_chargeArgs = {
|
|
6867
|
+
unit?: Maybe<StateOfChargeUnit>;
|
|
6868
|
+
};
|
|
6869
|
+
/** Leg of a route detail. */
|
|
6870
|
+
export declare type TruckRouteDetailsLegpolylineArgs = {
|
|
6871
|
+
decimals?: Maybe<PolylineInputDecimals>;
|
|
6872
|
+
};
|
|
6873
|
+
export declare type TruckRouteDetailsLegFeaturePoint = {
|
|
6874
|
+
/** ID of the feature. */
|
|
6875
|
+
id?: Maybe<Scalars["ID"]>;
|
|
6876
|
+
/** Feature type. */
|
|
6877
|
+
type: FeatureType;
|
|
6878
|
+
/** Geometry of the feature. */
|
|
6879
|
+
geometry: Point;
|
|
6880
|
+
/** Properties of the feature. */
|
|
6881
|
+
properties?: Maybe<TruckRouteDetailsLegFeatureProperties>;
|
|
6882
|
+
};
|
|
6883
|
+
export declare type TruckRouteDetailsLegFeatureProperties = {
|
|
6884
|
+
/** Name of the location. */
|
|
6885
|
+
name?: Maybe<Scalars["String"]>;
|
|
6886
|
+
/** ID of the station. */
|
|
6887
|
+
station_id?: Maybe<Scalars["ID"]>;
|
|
6888
|
+
/** External ID of the station. */
|
|
6889
|
+
external_station_id?: Maybe<Scalars["ID"]>;
|
|
6890
|
+
/** Temperature at the location. */
|
|
6891
|
+
temperature?: Maybe<Scalars["Int"]>;
|
|
6892
|
+
/** Air pressure at the location. */
|
|
6893
|
+
air_pressure?: Maybe<Scalars["Float"]>;
|
|
6894
|
+
/** Solar irradiance at the location. */
|
|
6895
|
+
solar_irradiance?: Maybe<Scalars["Float"]>;
|
|
6896
|
+
/** Duration, in seconds, of time spent at this location. */
|
|
6897
|
+
duration?: Maybe<Scalars["Int"]>;
|
|
6898
|
+
/** Number of occupants present in the vehicle. */
|
|
6899
|
+
occupants: Scalars["Int"];
|
|
6900
|
+
/** Value of the combined weight of the occupants. */
|
|
6901
|
+
total_occupant_weight: Scalars["Float"];
|
|
6902
|
+
/** Value of the current weight of the cargo. */
|
|
6903
|
+
total_cargo_weight?: Maybe<Scalars["Float"]>;
|
|
6904
|
+
/** Number of trailers. */
|
|
6905
|
+
trailer_count: Scalars["Int"];
|
|
6906
|
+
};
|
|
6907
|
+
export declare type TruckRouteDetailsLegFeaturePropertiestemperatureArgs = {
|
|
6908
|
+
unit?: Maybe<TemperatureUnit>;
|
|
6909
|
+
};
|
|
6910
|
+
export declare type TruckRouteDetailsLegFeaturePropertiestotal_occupant_weightArgs = {
|
|
6911
|
+
unit?: Maybe<WeightUnit>;
|
|
6912
|
+
};
|
|
6913
|
+
export declare type TruckRouteDetailsLegFeaturePropertiestotal_cargo_weightArgs = {
|
|
6914
|
+
unit?: Maybe<WeightUnit>;
|
|
6915
|
+
};
|
|
6916
|
+
export declare type TruckRouteDetailsLegSection = {
|
|
6917
|
+
/** Section type. */
|
|
6918
|
+
type: RouteDetailsLegSectionType;
|
|
6919
|
+
/** Origin point. */
|
|
6920
|
+
origin: TruckRouteDetailsLegSectionFeaturePoint;
|
|
6921
|
+
/** Destination point. */
|
|
6922
|
+
destination: TruckRouteDetailsLegSectionFeaturePoint;
|
|
6923
|
+
/** Aggregation of tags over the current section. */
|
|
6924
|
+
tags: Array<RouteDetailsTag>;
|
|
6925
|
+
/** Polyline containing encoded coordinates. */
|
|
6926
|
+
polyline: Scalars["String"];
|
|
6927
|
+
/** Distance from the start to the end of a section. */
|
|
6928
|
+
distance: Scalars["Float"];
|
|
6929
|
+
/** Total duration of a section, in seconds. The value will be 0 for walking sections. */
|
|
6930
|
+
duration: Scalars["Float"];
|
|
6931
|
+
/** Total energy used in a section in kilowatt-hours. The value will be 0 for walking sections. */
|
|
6932
|
+
consumption?: Maybe<Scalars["Float"]>;
|
|
6933
|
+
};
|
|
6934
|
+
export declare type TruckRouteDetailsLegSectionpolylineArgs = {
|
|
6935
|
+
decimals?: Maybe<PolylineInputDecimals>;
|
|
6936
|
+
};
|
|
6937
|
+
export declare type TruckRouteDetailsLegSectiondistanceArgs = {
|
|
6938
|
+
unit?: Maybe<DistanceUnit>;
|
|
6939
|
+
};
|
|
6940
|
+
export declare type TruckRouteDetailsLegSectionFeaturePoint = {
|
|
6941
|
+
/** ID of the feature. */
|
|
6942
|
+
id?: Maybe<Scalars["ID"]>;
|
|
6943
|
+
/** Feature type. */
|
|
6944
|
+
type: FeatureType;
|
|
6945
|
+
/** Geometry of the feature. */
|
|
6946
|
+
geometry: Point;
|
|
6947
|
+
/** Properties of the feature. */
|
|
6948
|
+
properties: TruckRouteDetailsLegSectionFeaturePointProperties;
|
|
6949
|
+
};
|
|
6950
|
+
export declare type TruckRouteDetailsLegSectionFeaturePointProperties = {
|
|
6951
|
+
/** Number of occupants present in the vehicle. */
|
|
6952
|
+
occupants: Scalars["Int"];
|
|
6953
|
+
/** Value of the combined weight of the occupants. */
|
|
6954
|
+
total_occupant_weight?: Maybe<Scalars["Float"]>;
|
|
6955
|
+
/** Value of the current weight of the cargo. */
|
|
6956
|
+
total_cargo_weight?: Maybe<Scalars["Float"]>;
|
|
6957
|
+
/** Number of trailers. */
|
|
6958
|
+
trailer_count: Scalars["Int"];
|
|
6959
|
+
};
|
|
6960
|
+
export declare type TruckRouteDetailsLegSectionFeaturePointPropertiestotal_occupant_weightArgs = {
|
|
6961
|
+
unit?: Maybe<WeightUnit>;
|
|
6962
|
+
};
|
|
6963
|
+
export declare type TruckRouteDetailsLegSectionFeaturePointPropertiestotal_cargo_weightArgs = {
|
|
6964
|
+
unit?: Maybe<WeightUnit>;
|
|
6965
|
+
};
|
|
6966
|
+
export declare type TruckRouteResponse = {
|
|
6967
|
+
/** ID of a route calculation. */
|
|
6968
|
+
id: Scalars["ID"];
|
|
6969
|
+
/** Status of a route. */
|
|
6970
|
+
status: RouteStatus;
|
|
6971
|
+
/** Recommended route. */
|
|
6972
|
+
recommended?: Maybe<TruckRouteDetails>;
|
|
6973
|
+
/** Meta data for a route. */
|
|
6974
|
+
meta: RouteMetadata;
|
|
6975
|
+
/** Route request. */
|
|
6976
|
+
request_input: CreateTruckRoute;
|
|
6977
|
+
};
|
|
6978
|
+
/** Physical dimensions of the vehicle and trailers combination. */
|
|
6979
|
+
export declare type TruckTrailerCombinedDimensions = {
|
|
6980
|
+
/** Maximum height of the combination trailer and main vehicle combination (ground to highest vehicle point). */
|
|
6981
|
+
height: Scalars["Float"];
|
|
6982
|
+
/** Maximum width of the trailers and main vehicle combination. */
|
|
6983
|
+
width: Scalars["Float"];
|
|
6984
|
+
/** Total length of the trailers and main vehicle combination (bumper to bumper). */
|
|
6985
|
+
length: Scalars["Float"];
|
|
6986
|
+
};
|
|
6987
|
+
/** Physical dimensions of the vehicle and trailers combination. */
|
|
6988
|
+
export declare type TruckTrailerCombinedDimensionsheightArgs = {
|
|
6989
|
+
unit?: Maybe<MeasurementUnit>;
|
|
6990
|
+
};
|
|
6991
|
+
/** Physical dimensions of the vehicle and trailers combination. */
|
|
6992
|
+
export declare type TruckTrailerCombinedDimensionswidthArgs = {
|
|
6993
|
+
unit?: Maybe<MeasurementUnit>;
|
|
6994
|
+
};
|
|
6995
|
+
/** Physical dimensions of the vehicle and trailers combination. */
|
|
6996
|
+
export declare type TruckTrailerCombinedDimensionslengthArgs = {
|
|
6997
|
+
unit?: Maybe<MeasurementUnit>;
|
|
6998
|
+
};
|
|
6999
|
+
/** Physical dimensions of the vehicle and trailers combination. */
|
|
7000
|
+
export declare type TruckTrailerCombinedDimensionsInput = {
|
|
7001
|
+
/** Maximum height of the combination trailer and main vehicle combination (ground to highest vehicle point). */
|
|
7002
|
+
height: DimensionsInput;
|
|
7003
|
+
/** Maximum width of the trailers and main vehicle combination. */
|
|
7004
|
+
width: DimensionsInput;
|
|
7005
|
+
/** Total length of the trailers and main vehicle combination (bumper to bumper). */
|
|
7006
|
+
length: DimensionsInput;
|
|
7007
|
+
};
|
|
6554
7008
|
export declare enum TurningCircleUnit {
|
|
6555
7009
|
/** Return the turning circle in meters. */
|
|
6556
7010
|
METER = "meter",
|
|
@@ -7895,6 +8349,12 @@ export declare enum WeatherType {
|
|
|
7895
8349
|
/** Must be used in combination with weather.custom object. */
|
|
7896
8350
|
CUSTOM = "custom"
|
|
7897
8351
|
}
|
|
8352
|
+
export declare type WeightInput = {
|
|
8353
|
+
/** Preferred unit for the weight */
|
|
8354
|
+
type: WeightUnit;
|
|
8355
|
+
/** Value of weight */
|
|
8356
|
+
value: Scalars["Float"];
|
|
8357
|
+
};
|
|
7898
8358
|
export declare enum WeightUnit {
|
|
7899
8359
|
/** Return the weight in kilograms. */
|
|
7900
8360
|
KILOGRAM = "kilogram",
|